MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Technical Helps => Topic started by: jtaco263 on 2016-03-21, 02:53:32

Title: domain without files after update
Post by: jtaco263 on 2016-03-21, 02:53:32
hi mustafa i upgraded kloxo to 7.0 but  since all domains have their files but instead of load the websites loads the default page
how do i fix this?
i already tried
Code: [Select]
sh /script/fixweb
Code: [Select]
sh /script/cleanupso i reconfigure webserver config

Title: Re: domain without files after update
Post by: MRatWork on 2016-03-21, 03:18:26
What's you mean, upgrade from 6.5 to 7.0 or just update 7.0?.

If you upgrade, need re-setting for web/dns/mail/php/php/php-type.
Title: Re: domain without files after update
Post by: jtaco263 on 2016-03-21, 03:26:41
What's you mean, upgrade from 6.5 to 7.0 or just update 7.0?.

If you upgrade, need re-setting for web/dns/mail/php/php/php-type.

i did this:
B.2. update from 6.5.0 to 7.0.0

    yum replace kloxomr --replace-with=kloxomr7 -y
   
    # '-y' mean force
    sh /script/upcp -y

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

this solved he problem with ports but now i cant see websites
Title: Re: domain without files after update
Post by: jtaco263 on 2016-03-21, 03:27:47
another problem is this:

[root@sv1 ~]# service httpd start
Starting httpd: httpd: Syntax error on line 63 of /etc/httpd/conf/httpd.conf: Syntax error on line 2 of /etc/httpd/conf.d/perl.conf: Cannot load /etc/httpd/modules/mod_perl.so into server: /etc/httpd/modules/mod_perl.so: cannot open shared object file: No such file or directory
                                                           [FAILED]
Title: Re: domain without files after update
Post by: MRatWork on 2016-03-21, 03:35:00
another problem is this:

[root@sv1 ~]# service httpd start
Starting httpd: httpd: Syntax error on line 63 of /etc/httpd/conf/httpd.conf: Syntax error on line 2 of /etc/httpd/conf.d/perl.conf: Cannot load /etc/httpd/modules/mod_perl.so into server: /etc/httpd/modules/mod_perl.so: cannot open shared object file: No such file or directory
                                                           [FAILED]

Two options:
1. Delete perl.conf with 'rm -f /etc/httpd/conf.d/perl.conf' --> recommended
2. Install perl module with 'yum install mod_perl -y'
Title: Re: domain without files after update
Post by: jtaco263 on 2016-03-21, 03:38:46
i did it but still exist the error and all the sites are looking like default web page but i reconfigured all that u said to me
Title: Re: domain without files after update
Post by: MRatWork on 2016-03-21, 04:06:58
Inform here 'sh /script/sysinfo; sh /script/restart-all -y'.
Title: Re: domain without files after update
Post by: jtaco263 on 2016-03-21, 04:17:13
Inform here 'sh /script/sysinfo; sh /script/restart-all -y'.

(http://i.imgur.com/nRvM2xg.png)
(http://i.imgur.com/rM5EHF6.png)

Title: Re: domain without files after update
Post by: jtaco263 on 2016-03-21, 04:22:20
(http://i.imgur.com/mAeDRWW.png)
ths is what i mean, all the files are stored but only shows this
Title: Re: domain without files after update
Post by: MRatWork on 2016-03-21, 04:29:49
1. Php-branch is php 5.4 but ioncube still for php 5.3. Try 'yum remove php*-ioncube* -y; yum install php54-ioncube-loader -y'
2. Look like trouble with ssl. Try 'sh /script/fixssl; sh /script/fixphp; sh /script/fixweb; sh /script/restart-web y'.
Title: Re: domain without files after update
Post by: jtaco263 on 2016-03-21, 04:34:23
1. Php-branch is php 5.4 but ioncube still for php 5.3. Try 'yum remove php*-ioncube* -y; yum install php54-ioncube-loader -y'
2. Look like trouble with ssl. Try 'sh /script/fixssl; sh /script/fixphp; sh /script/fixweb; sh /script/restart-web y'.

Stopping httpd:                                            [FAILED]
Starting httpd: httpd: Syntax error on line 13 of /etc/httpd/conf/httpd.conf: Cannot load modules/mod_authn_alias.so into server: /etc/httpd/modules/mod_authn_alias.so: cannot open shared object file: No such file or directory
                                                           [FAILED]

and still have the problem with the domains and the default page
Title: Re: domain without files after update
Post by: jtaco263 on 2016-03-21, 04:37:25
*** Process for NGINX service ***
Starting nginx: nginx: [emerg] open() "/opt/configs/nginx/conf/globals/switch_standard_ssl.conf" failed (2: No such file or directory) in /opt/configs/nginx/conf/defaults/init.conf:59
Title: Re: domain without files after update
Post by: MRatWork on 2016-03-21, 04:39:27
Did you change web server from nginx to httpd 2.4?. If yes, try select 'nginx' first and enable 'apache 2.4'. After that, change to 'apache' with enable 'apache 2.4'.

TO make sure, run 'sh /script/fixweb; sh /script/restart-web -y'.
Title: Re: domain without files after update
Post by: jtaco263 on 2016-03-21, 04:48:59
Did you change web server from nginx to httpd 2.4?. If yes, try select 'nginx' first and enable 'apache 2.4'. After that, change to 'apache' with enable 'apache 2.4'.

TO make sure, run 'sh /script/fixweb; sh /script/restart-web -y'.

Stopping httpd:                                            [FAILED]
Starting httpd: (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
AH00015: Unable to open logs
                                                           [FAILED]

and still having the problem with default page
Title: Re: domain without files after update
Post by: MRatWork on 2016-03-21, 04:55:22
Try reinstall with 'yum reinstall httpd* -y; sh /script/restart-web -y'.
Title: Re: domain without files after update
Post by: jtaco263 on 2016-03-21, 04:58:31
Try reinstall with 'yum reinstall httpd* -y; sh /script/restart-web -y'.
Stopping php-fpm:                                          [  OK  ]
Starting php-fpm: Failed loading /usr/lib/php/modules/ioncube_loader_lin_5.3.so:  /usr/lib/php/modules/ioncube_loader_lin_5.3.so: undefined symbol: php_body_write
                                                           [  OK  ]
-------------------------------------------------------------------

Stopping httpd:                                            [FAILED]
Starting httpd: (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
AH00015: Unable to open logs
                                                           [FAILED]

why isnt fixing?
Title: Re: domain without files after update
Post by: MRatWork on 2016-03-21, 05:22:21
Try reinstall with 'yum reinstall httpd* -y; sh /script/restart-web -y'.
Stopping php-fpm:                                          [  OK  ]
Starting php-fpm: Failed loading /usr/lib/php/modules/ioncube_loader_lin_5.3.so:  /usr/lib/php/modules/ioncube_loader_lin_5.3.so: undefined symbol: php_body_write
                                                           [  OK  ]
-------------------------------------------------------------------

Stopping httpd:                                            [FAILED]
Starting httpd: (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
AH00015: Unable to open logs
                                                           [FAILED]

why isnt fixing?
Look like you didn't remove ioncube as my advice above. You need php-fpm and webserver start smoothly. Without it, that why your website still trouble.
Title: Re: domain without files after update
Post by: jtaco263 on 2016-03-21, 05:28:06
i removed ioncube but still having trouble and showing
Title: Re: domain without files after update
Post by: jtaco263 on 2016-03-21, 05:34:06
(http://i.imgur.com/L1FBJLb.png)
ioncube isnt in the directory
Title: Re: domain without files after update
Post by: MRatWork on 2016-03-21, 05:40:39
Remove .conf with 'rm -f /etc/php.d/*ioncube*'
Title: Re: domain without files after update
Post by: jtaco263 on 2016-03-21, 05:42:55
i did but still default page screen
Title: Re: domain without files after update
Post by: MRatWork on 2016-03-21, 05:45:39
What's about 'sh /script/restart-all -y'?. Without error now?.
Title: Re: domain without files after update
Post by: jtaco263 on 2016-03-21, 05:48:39
What's about 'sh /script/restart-all -y'?. Without error now?.
Stopping httpd:                                            [FAILED]
Starting httpd: (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
AH00015: Unable to open logs
Title: Re: domain without files after update
Post by: MRatWork on 2016-03-21, 05:58:41
Did you using nginx-proxy or apache/httpd standalone?. Inform here 'sh /script/sysinfo'.
Title: Re: domain without files after update
Post by: jtaco263 on 2016-03-21, 06:03:13
Did you using nginx-proxy or apache/httpd standalone?. Inform here 'sh /script/sysinfo'.
(http://i.imgur.com/ufEF6uj.png)
Title: Re: domain without files after update
Post by: MRatWork on 2016-03-21, 06:15:29
Inform here 'dir -l /etc/httpd/conf.d' but try reinstall first 'yum reinstall httpd* -y; sh /script/fixweb'.
Title: Re: domain without files after update
Post by: jtaco263 on 2016-03-21, 06:18:17
Inform here 'dir -l /etc/httpd/conf.d' but try reinstall first 'yum reinstall httpd* -y; sh /script/fixweb'.

i reinstalled httpd and here is the inform:
(http://i.imgur.com/RXTcaeF.png)
Title: Re: domain without files after update
Post by: jtaco263 on 2016-03-21, 06:19:37
still having this problem:

Stopping httpd:                                            [FAILED]
Starting httpd: (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
AH00015: Unable to open logs
                                                           [FAILED]
Title: Re: domain without files after update
Post by: MRatWork on 2016-03-21, 06:28:58
Try 'pkill -9 httpd; sh /script/restart-web -y; sh /script/restart-web -y'.
Title: Re: domain without files after update
Post by: jtaco263 on 2016-03-21, 06:42:26
thanks 4 the help now it works what was the problem?

another errors i found apart from httpd,ftp and webmail doesnot working how do i fix that
Title: Re: domain without files after update
Post by: MRatWork on 2016-03-21, 07:19:32
For ftp, go to 'admin > ftp configure' and click update. To make sure, run 'sh /script/restart-ftp -y' from ssh or 'command center' in panel.
Title: Re: domain without files after update
Post by: jtaco263 on 2016-03-21, 07:35:30
For ftp, go to 'admin > ftp configure' and click update. To make sure, run 'sh /script/restart-ftp -y' from ssh or 'command center' in panel.
and for webmail?
Title: Re: domain without files after update
Post by: MRatWork on 2016-03-21, 08:11:08
For webmail, depend on applications. But, for to make sure, change mysql root password in panel or from ssh and then run 'sh /script/fixmail-all -y'.
Title: Re: domain without files after update
Post by: jtaco263 on 2016-03-21, 08:23:24
thanks a lot for your help im wondering what was the error in here?