MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Technical Helps => Topic started by: zecompadre on 2014-02-01, 02:01:38

Title: Problem adding Domains
Post by: zecompadre on 2014-02-01, 02:01:38
When i try to add a domain it gives this error

Quote
Alert: could_not_add_mail [Error - no authentication database connection. Initial open.]

i've alread run 'sh /script/cleanup' and reboot

can anyone help ?

tks
Title: Re: Problem adding Domains
Post by: zecompadre on 2014-02-01, 18:11:03
fixed with

/script/fixvpop


but still having problem

all domains giving:

Quote
Forbidden

You don't have permission to access / on this server.

Apache/2.2.26 (CentOS) Server at xxxxxxxxxxxxx Port 80

every domain root has "index.html/index.php"

anyone can help ?

tks
Title: Re: Problem adding Domains
Post by: MRatWork on 2014-02-01, 18:13:25
Change your apache to other (better lighttpd) and change back to apache/nginx-proxy. To make sure, run 'sh /script/fixweb; sh /script/restart-web'.
Title: Re: Problem adding Domains
Post by: zecompadre on 2014-02-01, 18:22:28
done that but still no luck :(
Title: Re: Problem adding Domains
Post by: zecompadre on 2014-02-02, 01:45:29
I'm so frustrated, I can not solve this

Quote
sh /script/fixweb; sh /script/restart-web

still 403 :(
Title: Re: Problem adding Domains
Post by: MRatWork on 2014-02-02, 04:41:17
Try 'sh /script/fix-chownchmod'.

Error 403 usually related to no index.html/index.php inside document root.

How about when access cp.domain.com or website.domain.com?.
Title: Re: Problem adding Domains
Post by: zecompadre on 2014-02-02, 13:33:37
done that and still no luck

i dont have cp. and website. subs
Title: Re: Problem adding Domains
Post by: MRatWork on 2014-02-02, 14:01:19
Inform here your domain where have a problem like you said.
Title: Re: Problem adding Domains
Post by: zecompadre on 2014-02-02, 14:24:40
http://bimbyworld.tk
Title: Re: Problem adding Domains
Post by: MRatWork on 2014-02-02, 14:54:44
You make wrong setting in cloudflare and or in your dns manage/template in Kloxo-MR panel.
Title: Re: Problem adding Domains
Post by: MRatWork on 2014-02-02, 14:57:17
And also look like no index.html/index.php file inside document root of domain.
Title: Re: Problem adding Domains
Post by: zecompadre on 2014-02-02, 15:06:47
The cloudflare settings  is the same since ever, when i install oficial kloxo the websites works, i've made the same install in kloxomr and can't make it work, the root of every website have at least a index.php
Title: Re: Problem adding Domains
Post by: zecompadre on 2014-02-02, 20:02:05
i've reinstall the server ... again

all websites appear to be fine (at least the default page appears, just waiting to all files to be uploaded)

but ... no Kloxo-MR new theme :( just the Kloxo default :(
Title: Re: Problem adding Domains
Post by: MRatWork on 2014-02-03, 04:16:30
What you mean 'reinstall the server'.

Check your Kloxo-MR in 'Update Home' or 'sh /script/version'.

New theme (simplicity) only exist in 6.5.1.
Title: Re: Problem adding Domains
Post by: zecompadre on 2014-02-03, 10:12:12
yes, i've reinstall the VPS and reinstall the KoxoMR

but on Update Home just have the 6.5.0 and default kloxo theme :(
Title: Re: Problem adding Domains
Post by: MRatWork on 2014-02-03, 10:22:36
Need modified /etc/yum.repos.d/mratwork.repo. Read again https://github.com/mustafaramadhan/kloxo/blob/dev/how-to-install.txt in step b.1.2
Title: Re: Problem adding Domains
Post by: zecompadre on 2014-02-03, 10:29:10
i'll try later when i came back from work.

tks
Title: Re: Problem adding Domains
Post by: zecompadre on 2014-02-06, 01:08:59
i dont't know what i'm doing wrong

avery domain that i had it gives

Forbidden - You don't have permission to access / on this server.

i've already run

sh /script/fix-chownchmod
sh /script/restart-all
sh /script/fixweb; sh /script/restart-web

every domain have index.html / index.php

before i've installed the 6.5.0 version it was ok, but when i've updated to 6.5.1 i began to have this problem

i've reinstall the server from scratch with 6.5.1 and still the same.

any help ?

tks
Title: Re: Problem adding Domains
Post by: MRatWork on 2014-02-06, 04:03:34
Go to 'switch program' and 'webserver configure' and then resetting for web, dns, php branch and php type.
Title: Re: Problem adding Domains
Post by: henry on 2014-02-06, 06:30:09
My current KloxoMr is 6.5.0.f-2014020301

Looks like you need to upload a clean .htaccess file:

Quote
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress
Title: Re: Problem adding Domains
Post by: henry on 2014-02-06, 06:42:06
http://bimbyworld.tk

I have just visited your site.
I never seen any of my domain with only KloxoMr logo appears.
From my past experienced, I saw Apache page or Hiawatha page.

Can you shot screen your services on KloxoMr and also Webserver config?
Title: Re: Problem adding Domains
Post by: zecompadre on 2014-02-06, 08:47:05
http://cdn.zecompadre.com is no Wordpress and has a .htaccess default from kloxo

Title: Re: Problem adding Domains
Post by: MRatWork on 2014-02-06, 09:40:13
Googling about 'dns delegate'.

Also read http://forum.mratwork.com/kloxo-mr-tips-and-tricks/(tip)-how-to-set-dns/
Title: Re: Problem adding Domains
Post by: zecompadre on 2014-02-06, 10:09:37
the dns template is the same that i have in 6.50 version and has working fine, i just have this after i've put the 6.5.1 :(

Title: Re: Problem adding Domains
Post by: henry on 2014-02-06, 10:29:56
Hmm...mine DNS is simple :)

(http://unmanagedvps.freeserver.me/images/DNS-Template-2014-02-06_1724.png)
Title: Re: Problem adding Domains
Post by: zecompadre on 2014-02-06, 10:32:34
do you have 403 problems too ?
Title: Re: Problem adding Domains
Post by: MRatWork on 2014-02-06, 10:34:17
affiliateproductfreereview.com is your own domain?.

What's happens if you run 'sh /script/restart-dns'.
Title: Re: Problem adding Domains
Post by: henry on 2014-02-06, 10:35:59
do you have 403 problems too ?

Nope..everything running smoothly.

Update: This is my current server services
(http://unmanagedvps.freeserver.me/images/Server-services2014-02-06_1738.png)

I didn't know why.. at first Changed httpd from red to green at start.
Then I run.
Quote
yum update
sh /script/cleanup
sh /script/fix-all
sh /script/restart-all

That Hiawatha changed to red automatically. ironically, everything goes well...

Title: Re: Problem adding Domains
Post by: zecompadre on 2014-02-06, 10:47:06
what version do you have ?

6.5.0 or 6.5.1 ?

tks
Title: Re: Problem adding Domains
Post by: henry on 2014-02-06, 10:49:29
My current KloxoMr is 6.5.0.f-2014020301

I did mention in the above post.
Title: Re: Problem adding Domains
Post by: MRatWork on 2014-02-06, 10:58:34
Hiawatha must be red, except (in 6.5.1) if you select hiawatha/hiawatha-proxy as webserver.
Title: Re: Problem adding Domains
Post by: zecompadre on 2014-02-06, 11:03:03
My current KloxoMr is 6.5.0.f-2014020301

I did mention in the above post.

ok !

sorry :( didnĀ“t see that :)

i'm on 6.5.1 :(

Hiawatha must be red, except (in 6.5.1) if you select hiawatha/hiawatha-proxy as webserver.

mine is red
Title: Re: Problem adding Domains
Post by: henry on 2014-02-06, 11:18:06
So, when I run
yum clean all;
yum update

Will it update to 6.5.1  :-\

After I finished backup 2 domains in my own domain, I will run
sh /script/restart-dns

brb
Title: Re: Problem adding Domains
Post by: zecompadre on 2014-02-06, 11:21:39
i'm trying to reinstall, on 6.5.0 my VPS

and give me this

Quote
Creating Vpopmail database...
Prepare /home/kloxo/httpd...
error reading information on service hiawatha: No such file or directory
hiawatha: unrecognized service

Title: Re: Problem adding Domains
Post by: henry on 2014-02-06, 11:24:24
BTW,
Please do take note that my OS is Centos 5.9 - 32bit


Title: Re: Problem adding Domains
Post by: zecompadre on 2014-02-06, 11:26:18
:) i'm trying to take a note of every feedback for a sucess install :)

tks
Title: Re: Problem adding Domains
Post by: MRatWork on 2014-02-06, 11:29:01
In 6.5.0 will be delete /etc/rc.d/init.d/hiawatha file. In 6.5.1, no delete but running 'chkconfig hiawatha off; service hiawatha stop'.
Title: Re: Problem adding Domains
Post by: henry on 2014-02-06, 11:32:35
Well, I did have another successful VPS installed with OS Centos 6 -32bit.
That Hiawatha signs - no red , no green either. It is in grey color.

Kloxo fork by Mustafa Ramadhan
Latest Version:   6.5.0.f-2014013101

Could be a useful ref though  :)
Title: Re: Problem adding Domains
Post by: zecompadre on 2014-02-06, 11:37:40
i'm reinstalling the 6.5.0

give me this after reboot and no kloxo start

Quote
[root@server ~]# service kloxo restart
/etc/init.d/kloxo: line 43:  1194 Segmentation fault      lxphp.exe -f ../init/changeport.php
/usr/sbin/hiawatha not found.
[root@server ~]#
[root@server ~]# yum install hiawatha
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
 * base: mirror.agmn.ca
 * extras: less.cogeco.net
 * mratwork-epel: fedora-epel.mirror.lstn.net
 * mratwork-ius: ord.mirror.rackspace.com
 * updates: less.cogeco.net
Excluding Packages from MRatWork - centalt - arch
Finished
Excluding Packages from MRatWork - IUS Community Packages for EL 5 - arch
Finished
Reducing MRatWork - IUS Community Packages for EL 5 (special) - arch to included packages only
Finished
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package hiawatha.x86_64 0:9.3.1-1.mr.el5 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package     Arch      Version           Repository                        Size
================================================================================
Installing:
 hiawatha    x86_64    9.3.1-1.mr.el5    mratwork-release-version-arch    623 k

Transaction Summary
================================================================================
Install       1 Package(s)
Upgrade       0 Package(s)

Total download size: 623 k
Is this ok [y/N]: y
Downloading Packages:
hiawatha-9.3.1-1.mr.el5.x86_64.rpm                       | 623 kB     00:00
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : hiawatha                                                 1/1

Installed:
  hiawatha.x86_64 0:9.3.1-1.mr.el5

Complete!
[root@server ~]# service kloxo restart
/etc/init.d/kloxo: line 43:  1211 Segmentation fault      lxphp.exe -f ../init/changeport.php
[FAILED] kloxo-phpcgi: [FAILED]
Starting kloxo-phpcgi: [  OK  ]
../bin/common/function.sh: line 22: /usr/local/lxlabs/kloxo/pid/wrapper.pid: No such file or directory
Stopping kloxo-hiawatha: [FAILED]
Starting kloxo-hiawatha: Error loading RSA private key (-0x2E00): PK - Read/write of file failed
[FAILED]
[root@server ~]#

i'm so so so frustrated with 5 VPS reinstalls and no sucessefull domain install

on normal Kloxo everytime was at first time :(

what i'm doing wrong ?

tks
Title: Re: Problem adding Domains
Post by: MRatWork on 2014-02-06, 11:52:13
Before install Kloxo-MR, run 'yum clean all; yum update'. Kloxo-MR may run perfectly for old version (example need 5.6+ for Centos 5).
Title: Re: Problem adding Domains
Post by: zecompadre on 2014-02-06, 11:54:46
i've installed by the install page

https://github.com/mustafaramadhan/kloxo/blob/release/how-to-install.txt

every step:

A. pre-install
B.2. For Final Release:

:(
Title: Re: Problem adding Domains
Post by: henry on 2014-02-06, 12:00:15
I made a tutorial for this before.
I installed this tutorial on Centos 6 - 32bit even Centos 6 - 64bit
Quote
http://getunlimitedwebhosting.com/tutorial/kloxovps/installing-kloxomr-on-centos/

See, I walk the talk  :)
Title: Re: Problem adding Domains
Post by: MRatWork on 2014-02-06, 12:03:54
Try again 'sh /script/upcp -y'. Maybe something wrong previous install.

In certain OpenVZ, burst memory make a trouble in install process.
Title: Re: Problem adding Domains
Post by: henry on 2014-02-06, 12:06:00
i've installed by the install page

https://github.com/mustafaramadhan/kloxo/blob/release/how-to-install.txt

every step:

A. pre-install
B.2. For Final Release:

:(

FYI, I rebuild the OS every time I want to make a fresh KloxoMr install.
Title: Re: Problem adding Domains
Post by: zecompadre on 2014-02-06, 12:12:29
me to !

now i'm doing the steps on the link u send :)

fingers crossed :)
Title: Re: Problem adding Domains
Post by: henry on 2014-02-06, 12:19:47
You might:
1) Change
# yum install kloxomr
to
# yum install kloxomr -y

2) Change
# sh /script/upcp
to
# sh /script/upcp -y

Looks like -y is for KloxoMr , thus, play around with it :)
Title: Re: Problem adding Domains
Post by: zecompadre on 2014-02-06, 12:30:07
tks
Title: Re: Problem adding Domains
Post by: henry on 2014-02-06, 12:44:37
affiliateproductfreereview.com is your own domain?.

What's happens if you run 'sh /script/restart-dns'.

After backup 2 domains - my memory usage
(http://unmanagedvps.freeserver.me/images/BVM-After-Backup-2dmains-2014-02-06_1932.png)

Then, restarted the VPS: Approx Memory usage
(http://unmanagedvps.freeserver.me/images/BVM-After-Backup-And-Rebooted-2dmains-2014-02-06_1932.png)

Login into SSH and run:
# sh /script/restart-dns

Results:
Stopping named: .[  OK  ]
Starting named:

Everything same - No Problem
Title: Re: Problem adding Domains
Post by: zecompadre on 2014-02-06, 14:58:36
Quote
Error Downloading Packages:
  php52s-5.2.17-11.mr.el6.i386: failure: php52s-5.2.17-11.mr.el6.i386.rpm from mratwork-release-version-arch: [Errno 256] No more mirrors to try.

and stops the installation :(

i'm cursed :(
Title: Re: Problem adding Domains
Post by: henry on 2014-02-06, 16:06:49
What is your VPS configurations?
Such as memory...128M / 256M / 512M etc
Title: Re: Problem adding Domains
Post by: zecompadre on 2014-02-06, 16:08:53
Dedicated 512 MB
Swap 1024 MB
Title: Re: Problem adding Domains
Post by: MRatWork on 2014-02-06, 17:05:43
If found 'Error Downloading Packages: php52s-5.2.17-11.mr.el6.i386: failure: php52s-5.2.17-11.mr.el6.i386.rpm from mratwork-release-version-arch: [Errno 256] No more mirrors to try.' usually have a problem with github. Try next 1-2 hours.
Title: Re: Problem adding Domains
Post by: zecompadre on 2014-02-06, 17:09:00
i think was because i'm trying to install on CentoOs 32bit version
Title: Re: Problem adding Domains
Post by: MRatWork on 2014-02-06, 17:11:42
i think was because i'm trying to install on CentoOs 32bit version
Maybe yes maybe not. Again, install Kloxo-MR in Centos 5 version < 5.6 possible have a trouble (maybe bug in yum packages) and then better update Centos 5 with 'yum clear all; yum update' before install Kloxo-MR.
Title: Re: Problem adding Domains
Post by: zecompadre on 2014-02-06, 17:18:45
I've reinstalled the VPS .... again, now i have a CentoOS 6 64bits + KloxoMR 6.5.0 Working fine ..... i think .... later i'll give more feedback.

http://server.zecompadre.com
Title: Re: Problem adding Domains
Post by: MRatWork on 2014-02-06, 17:25:33
Most install issues related to OpenVZ VPS and Centos 5.

Install process work hard in Centos 5 rather than Centos 6.
Title: Re: Problem adding Domains
Post by: zecompadre on 2014-02-06, 17:27:19
i've a XEN :)
Title: Re: Problem adding Domains
Post by: MRatWork on 2014-02-06, 17:33:38
Certain OS template for VPS not good enough and have a trouble with Kloxo-MR.
Title: Re: Problem adding Domains
Post by: zecompadre on 2014-02-06, 17:37:55
now i think is working on 6.5.0 version