Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2017-11-08, 00:48:06

Author Topic: Problems after upgrading from kloxo to kloxo-mr  (Read 5447 times)

0 Members and 1 Guest are viewing this topic.

Offline RucLinux

  • Valuable Member
  • *
  • Posts: 78
  • Karma: +0/-0
    • View Profile
Problems after upgrading from kloxo to kloxo-mr
« on: 2014-02-01, 23:38:29 »
Mr. MRatWork?
I was upgraded from kloxo to Kloxo-MR 6.5.0.f-2014013101?But apache and lighttpd can not start. nginx can start, but css, js, png ... file could not be loaded, blog publishing disorder. iptables can not start.
url http://jiayu.mybabya.com/
I need your help, thank you


[root@v01 ~]# service lighttpd restart
stop lighttpd?                                            [Failure]
start lighttpd?2014-02-01 19:19:35: (configfile.c.949) source: /home/lighttpd/conf/globals/awstats.conf line: 6 pos: 110 parser failed somehow near here: url
2014-02-01 19:19:35: (configfile.c.949) source: cat /home/lighttpd/conf/domains/*.conf line: 25 pos: 25 parser failed somehow near here: (EOL)
2014-02-01 19:19:35: (configfile.c.949) source: /etc/lighttpd/conf.d/~lxcenter.conf line: 3 pos: 14 parser failed somehow near here: (EOL)
2014-02-01 19:19:35: (configfile.c.949) source: /etc/lighttpd/lighttpd.conf line: 119 pos: 1 parser failed somehow near here: (EOL)
                                                           [Failure]



[root@v01 ~]# service httpd restart
stop httpd?                                               [Failure]
start httpd?httpd: Syntax error on line 63 of /etc/httpd/conf/httpd.conf: Syntax error on line 3 of /etc/httpd/conf.d/rpaf.conf: Cannot load /etc/httpd/modules/mod_rpaf-2.0.so into server: /etc/httpd/modules/mod_rpaf-2.0.so: cannot open shared object file: No such file or directory
                                                           [Failure]
« Last Edit: 2014-02-01, 23:48:03 by RucLinux »

Offline RucLinux

  • Valuable Member
  • *
  • Posts: 78
  • Karma: +0/-0
    • View Profile
Re: Problems after upgrading from kloxo to kloxo-mr
« Reply #1 on: 2014-02-01, 23:47:14 »
buyvm company's technical customer service gave me a patch script, I use this script to upgrade.
http://central.buyvm.net/updates/scripts/kloxoupgrade.sh.txt

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Problems after upgrading from kloxo to kloxo-mr
« Reply #2 on: 2014-02-02, 04:50:15 »
Update from Kloxo sometimes not smooth. Need extra action. Use this trick where change apache to other and then change back to apache in 'switch program. The same ways with 'dns', 'php-branch' and 'php-type'.

For Apache issue, run 'yum install mod_ssl mod_ruid2 mod_rpaf mod_fastcgi mod_fcgid; sh /script/cleanup'.

Good job for ByVM. Their code is to make sure their user use KLoxo-MR!.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Problems after upgrading from kloxo to kloxo-mr
« Reply #3 on: 2014-02-02, 06:32:08 »
Need clarify. Did you update Kloxo to Kloxo-MR OR install Kloxo-MR and then restore your data?.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline RucLinux

  • Valuable Member
  • *
  • Posts: 78
  • Karma: +0/-0
    • View Profile
Re: Problems after upgrading from kloxo to kloxo-mr
« Reply #4 on: 2014-02-02, 11:27:49 »
I did not recover my data, because I direct upgrade. Restore the data you need?


Setting up Update Process
Resolving Dependencies
--> Running transaction check
--> Processing Dependency: lighttpd = 1.4.32-1.el5 for package: lighttpd-mod_geoip
---> Package lighttpd.i386 0:1.4.33-1 set to be updated
--> Finished Dependency Resolution
lighttpd-mod_geoip-1.4.32-1.el5.i386 from installed has depsolving problems
  --> Missing Dependency: lighttpd = 1.4.32-1.el5 is needed by package lighttpd-mod_geoip-1.4.32-1.el5.i386 (installed)
Error: Missing Dependency: lighttpd = 1.4.32-1.el5 is needed by package lighttpd-mod_geoip-1.4.32-1.el5.i386 (installed)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest
[root@v01 ~]# service lighttpd start
start lighttpd?2014-02-02 10:20:14: (network.c.260) warning: please use server.use-ipv6 only for hostnames, not without server.bind / empty address; your config will break if the kernel default for IPV6_V6ONLY changes
2014-02-02 10:20:14: (network.c.379) can't bind to port:  80 Address already in use

Offline RucLinux

  • Valuable Member
  • *
  • Posts: 78
  • Karma: +0/-0
    • View Profile
Re: Problems after upgrading from kloxo to kloxo-mr
« Reply #5 on: 2014-02-02, 11:36:52 »
Need clarify. Did you update Kloxo to Kloxo-MR OR install Kloxo-MR and then restore your data?.
Thank you for your help, the site can be opened using apache, but it can not be opened using nginx web site. Lighttpd does not start.

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Problems after upgrading from kloxo to kloxo-mr
« Reply #6 on: 2014-02-02, 11:58:40 »
Nginx alone not able read .htaccess (most applications using it for rewrite-rules). Try nginx-proxy (nginx in front and apache in backend) where most applications running well in apache alone possible running well in nginx-proxy too.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline RucLinux

  • Valuable Member
  • *
  • Posts: 78
  • Karma: +0/-0
    • View Profile
Re: Problems after upgrading from kloxo to kloxo-mr
« Reply #7 on: 2014-02-02, 16:24:07 »
lighttpd can not start, is not it, and php version conflict? Thank you

Offline RucLinux

  • Valuable Member
  • *
  • Posts: 78
  • Karma: +0/-0
    • View Profile
Re: Problems after upgrading from kloxo to kloxo-mr
« Reply #8 on: 2014-02-02, 20:34:15 »
I use kloxo-mr encountered many failures, I use kloxo are no encounter. Can you help me? Thank you
System Information?https://www.dropbox.com/s/koz7ppi1xouz7a6/Information.txt



[root@vps ~]# cd eaccelerator-0.9.5.3
[root@vps eaccelerator-0.9.5.3]# phpize
Cannot find build files at '/usr/lib/php/build'. Please check your PHP installation.

[root@vps eaccelerator-0.9.5.3]# ./configure --enable-eaccelerator=shared --with-php-config=/usr/bin/php-config --with-eaccelerator-shared-memory
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc and cc understand -c and -o together... yes
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
./configure: line 3580: /usr/bin/php-config: No such file or directory
./configure: line 3581: /usr/bin/php-config: No such file or directory
configure: error: Cannot find php-config. Please use --with-php-config=PATH
 
[root@vps ~]# php -v
PHP Warning:  PHP Startup: eAccelerator: Unable to initialize module
Module compiled with module API=20060613
PHP    compiled with module API=20090626
These options need to match
 in Unknown on line 0
PHP 5.3.28 (cli) (built: Dec 18 2013 20:33:28)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2013 Zend Technologies

php
PHP Warning:  PHP Startup: eAccelerator: Unable to initialize module
Module compiled with module API=20060613
PHP    compiled with module API=20090626
These options need to match
 in Unknown on line 0

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Problems after upgrading from kloxo to kloxo-mr
« Reply #9 on: 2014-02-03, 04:38:48 »
Don't use lighttpd but using nginx or hiawatha (only in 6.5.1). It's because nginx and hiawatha already have DDOS ban.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Problems after upgrading from kloxo to kloxo-mr
« Reply #10 on: 2014-02-03, 04:40:07 »
For eaccelerator, try 'yum install php53u-eaccelerator' (change php53u to php54 if using php54 branch).
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline RucLinux

  • Valuable Member
  • *
  • Posts: 78
  • Karma: +0/-0
    • View Profile
Re: Problems after upgrading from kloxo to kloxo-mr
« Reply #11 on: 2014-02-03, 09:32:08 »
Don't use lighttpd but using nginx or hiawatha (only in 6.5.1). It's because nginx and hiawatha already have DDOS ban.

I like lighttpd lightweight, apache take up too much resources, nginx configuration I do not know. Thank You
nginx rewrite rule I do not know which file to add, nginx.conf file can not see server ().
I switched the program after nginx, web pages all messed up and you can tell me rewrite rules wordpress it? Nginx.conf file in which to write?

Offline RucLinux

  • Valuable Member
  • *
  • Posts: 78
  • Karma: +0/-0
    • View Profile
Re: Problems after upgrading from kloxo to kloxo-mr
« Reply #12 on: 2014-02-03, 09:34:38 »
Too many problems, I need a one groping solve, but still want to praise You, kloxo can be continued.

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Problems after upgrading from kloxo to kloxo-mr
« Reply #13 on: 2014-02-03, 09:47:04 »
Like lighttpd, nginx not able to read .htaccess.

See /home/nginx/conf/defaults and /home/nginx/conf/domains.

If you want modified nginx config (also for apache and lighttpd) copy /home/<webserver>/tpl/defaults.conf.tpl to custom.defaults.conf.tpl and domains.conf.tpl to custom.domains.conf.tpl.

Generic config also found inside /home/<webserver>/conf/globals. If want modified, copy to custom file also.

After that, modified this custom files and then run 'sh /script/fixweb; sh /script/restart-web'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo
Click Here

Page created in 0.039 seconds with 17 queries.

web stats analysis
 
Mirror created by MasterkinG32.CoM