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. 2024-04-19, 19:04:04

Author Topic: lxphp.exe: command not found  (Read 24105 times)

0 Members and 1 Guest are viewing this topic.

Offline djscooby

  • Valuable Member
  • *
  • Posts: 119
  • Karma: +0/-0
    • View Profile
Re: lxphp.exe: command not found
« Reply #15 on: 2013-08-09, 01:56:49 »
nginx error.log :
Code: [Select]
2013/08/08 22:40:44 [emerg] 448#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
2013/08/08 22:40:44 [emerg] 448#0: bind() to [::]:80 failed (98: Address already in use)
2013/08/08 22:40:44 [emerg] 448#0: bind() to 0.0.0.0:443 failed (98: Address already in use)
2013/08/08 22:40:44 [emerg] 448#0: bind() to [::]:443 failed (98: Address already in use)
2013/08/08 22:40:44 [emerg] 448#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
2013/08/08 22:40:44 [emerg] 448#0: bind() to [::]:80 failed (98: Address already in use)
2013/08/08 22:40:44 [emerg] 448#0: bind() to 0.0.0.0:443 failed (98: Address already in use)
2013/08/08 22:40:44 [emerg] 448#0: bind() to [::]:443 failed (98: Address already in use)
2013/08/08 22:40:44 [emerg] 448#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
2013/08/08 22:40:44 [emerg] 448#0: bind() to [::]:80 failed (98: Address already in use)
2013/08/08 22:40:44 [emerg] 448#0: bind() to 0.0.0.0:443 failed (98: Address already in use)
2013/08/08 22:40:44 [emerg] 448#0: bind() to [::]:443 failed (98: Address already in use)
2013/08/08 22:40:44 [emerg] 448#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
2013/08/08 22:40:44 [emerg] 448#0: bind() to [::]:80 failed (98: Address already in use)
2013/08/08 22:40:44 [emerg] 448#0: bind() to 0.0.0.0:443 failed (98: Address already in use)
2013/08/08 22:40:44 [emerg] 448#0: bind() to [::]:443 failed (98: Address already in use)
2013/08/08 22:40:44 [emerg] 448#0: bind() to 0.0.0.0:80 failed (98: Address already in use)
2013/08/08 22:40:44 [emerg] 448#0: bind() to [::]:80 failed (98: Address already in use)
2013/08/08 22:40:44 [emerg] 448#0: bind() to 0.0.0.0:443 failed (98: Address already in use)
2013/08/08 22:40:44 [emerg] 448#0: bind() to [::]:443 failed (98: Address already in use)
2013/08/08 22:40:44 [emerg] 448#0: still could not bind()

Then saw that httpd was still running !
So i restarted the server and just in case i did
Code: [Select]
service httpd status
httpd is stopped <--correct now

sh script/fixweb
service php-fpm restart
service nginx restart

Then it seems from error log that nginx was running (*but only when i acessed from browser [ip adress]:80)
here is the log output:
Code: [Select]
2013/08/08 22:43:14 [warn] 551#0: *36 using uninitialized "rootdir" variable, client: 208.xx.x.xxxx, server: _, request: "GET /apple-touch-icon.png HTTP/1.1", host: "xxxx.xxxxxxx.info"

But when i access a domain then nothing on the log and still 502 error on browser...


Any idea ?
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: lxphp.exe: command not found
« Reply #16 on: 2013-08-09, 10:54:12 »
Depend on using apache, nginx or nginx-proxy (nginx as frontend and apache in backed).

Frontend (also apache and nginx alone) using port 80 and backend using port 30080. If you found issue for port conflict it's maybe this port try to use by more then 1 applications.

Another issue, Kloxo-MR using 'special' /etc/httpd/conf/httpd.conf and /etc/nginx/nginx.conf where taken from /home/apache/etc/conf and /home/nginx/etc/conf.  Running /script/cleanup will be fix this issue. If still not fixed after, need reboot or stop apache and or nginx manually with 'service httpd stop' and 'service nginx stop' before running 'sh /script/restart-services'.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline suplover

  • Junior Member
  • *
  • Posts: 42
  • Karma: +0/-0
    • View Profile
Re: lxphp.exe: command not found
« Reply #17 on: 2013-08-09, 12:12:04 »
on me it was like this;

Code: [Select]
# service httpd status
httpd: unrecognized service

then i run

Code: [Select]
yum update
yum install httpd nginx

switched between nginx and apache and run

Code: [Select]
sh /script/fix-chownchmod
script/cleanup
sh /script/restart-all

now i again  have same;
Code: [Select]
# service httpd status
httpd: unrecognized service
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: lxphp.exe: command not found
« Reply #18 on: 2013-08-09, 12:48:44 »
Inform here 'cat /usr/local/lxlabs/kloxo/etc/slavedb/driver'
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline suplover

  • Junior Member
  • *
  • Posts: 42
  • Karma: +0/-0
    • View Profile
Re: lxphp.exe: command not found
« Reply #19 on: 2013-08-09, 13:04:00 »
Quote from: "MRatWork"
Inform here 'cat /usr/local/lxlabs/kloxo/etc/slavedb/driver'

Code: [Select]
# cat /usr/local/lxlabs/kloxo/etc/slavedb/driver
O:6:"Remote":1:{s:4:"data";a:4:{s:3:"web";s:6:"apache";s:3:"dns";s:4:"bind";s:4:"spam";s:12:"spamassassin";s:7:"pserver";s:9:"localhost";}}[root@simonov ~]#
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: lxphp.exe: command not found
« Reply #20 on: 2013-08-09, 13:07:52 »
So, you see that.

Your setting using apache/httpd as web server. Install/reinstall httpd and nginx and then running clean will be remove nginx and update httpd config.

That it.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline suplover

  • Junior Member
  • *
  • Posts: 42
  • Karma: +0/-0
    • View Profile
Re: lxphp.exe: command not found
« Reply #21 on: 2013-08-09, 13:46:44 »
Quote from: "MRatWork"
So, you see that.

Your setting using apache/httpd as web server. Install/reinstall httpd and nginx and then running clean will be remove nginx and update httpd config.

That it.

Ok i did

Code: [Select]
yum install httpd
yum install nginx
script/cleanup
sh /script/restart-all

and i get;

Code: [Select]
Stopping named: .                                          [  OK  ]
Starting named:                                            [  OK  ]
Stopping httpd:                                            [FAILED]
Starting httpd: httpd: Syntax error on line 63 of /etc/httpd/conf/httpd.conf: Sy                            ntax error on line 3 of /etc/httpd/conf.d/suphp52.conf: Cannot load /etc/httpd/m                            odules/mod_suphp.so into server: /etc/httpd/modules/mod_suphp.so: cannot open sh                            ared object file: No such file or directory
                                                           [FAILED]
Restarting qmail:
* Stopping qmail-smtpd.
* Sending qmail-send SIGTERM and restarting.
* Restarting qmail-smtpd.
Stopping xinetd:                                           [  OK  ]
Starting xinetd:                                           [  OK  ]
Stopping mysqld:                                           [  OK  ]
Starting mysqld:                                           [  OK  ]
Stopping kloxo-phpcgi:                                     [  OK  ]
Starting kloxo-phpcgi:                                     [  OK  ]
Stopping kloxo-hiawatha:                                   [  OK  ]
Starting kloxo-hiawatha:                                   [  OK  ]
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: lxphp.exe: command not found
« Reply #22 on: 2013-08-09, 14:09:05 »
Try running 'sh /script/cleanup'.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline suplover

  • Junior Member
  • *
  • Posts: 42
  • Karma: +0/-0
    • View Profile
Re: lxphp.exe: command not found
« Reply #23 on: 2013-08-09, 14:30:54 »
Quote from: "MRatWork"
Try running 'sh /script/cleanup'.

ok this time i only get this error

Code: [Select]
cp: cannot stat `/home/kloxo/httpd/webmail/horde/scripts/sql/horde_groupware.mys                                               ql.sql': No such file or directory
sh: /home/kloxo/httpd/webmail/horde/scripts/sql/groupware.mysql.sql: No such fil                                               e or directory
cp: cannot stat `/home/kloxo/httpd/webmail/horde/config/horde_conf.php': No such                                                file or directory
cp: cannot stat `/home/kloxo/httpd/webmail/t-dah/inc/config/t-dah_config.mail.ph                                               p': No such file or directory
cp: cannot stat `/home/kloxo/httpd/webmail/t-dah/inc/config/t-dah_config.paths.p                                               hp': No such file or directory
cp: cannot stat `/home/kloxo/httpd/webmail/t-dah/inc/config/t-dah_config.php': N                                               o such file or directory

and sh /script/restart-all gives me;

Code: [Select]
Stopping httpd:                                            [FAILED]
Starting httpd: httpd: Syntax error on line 63 of /etc/httpd/conf/httpd.conf: Syntax error on line 3 of /etc/httpd/conf.d/suphp52.conf: Cannot load /etc/httpd/modules/mod_suphp.so into server: /etc/httpd/modules/mod_suphp.so: cannot open shared object file: No such file or directory
                                                           [FAILED]
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: lxphp.exe: command not found
« Reply #24 on: 2013-08-09, 14:38:36 »
Horde and t-dah already remove from Kloxo-MR. delete /home/kloxo/webmail/horde and /home/kloxo/webmail/t-dah.

For httpd issue, try change to another web server (say it lighttpd) and change back to previous (say it apache or nginx-proxy) on 'switch applications'.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline suplover

  • Junior Member
  • *
  • Posts: 42
  • Karma: +0/-0
    • View Profile
Re: lxphp.exe: command not found
« Reply #25 on: 2013-08-09, 15:14:19 »
Quote from: "MRatWork"
Horde and t-dah already remove from Kloxo-MR. delete /home/kloxo/webmail/horde and /home/kloxo/webmail/t-dah.

For httpd issue, try change to another web server (say it lighttpd) and change back to previous (say it apache or nginx-proxy) on 'switch applications'.

ok i did it and then i run these commands to see if i can get back web server working but didn't helped;

Code: [Select]
sh /script/fix-chownchmod
sh /script/fixweb
sh /script/fixdns
sh /script/fixphp
sh /script/cleanup
sh /script/restart-all

and restart i get again same error;

Code: [Select]
Stopping httpd:                                            [FAILED]
Starting httpd: httpd: Syntax error on line 63 of /etc/httpd/conf/httpd.conf: Syntax error on line 3 of /etc/httpd/conf.d/suphp52.conf: Cannot load /etc/httpd/modules/mod_suphp.so into server: /etc/httpd/modules/mod_suphp.so: cannot open shared object file: No such file or directory
                                                           [FAILED]

now playing with Php Branch and Php Type
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: lxphp.exe: command not found
« Reply #26 on: 2013-08-09, 15:16:34 »
Try disable secondary php. And then enable again.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline suplover

  • Junior Member
  • *
  • Posts: 42
  • Karma: +0/-0
    • View Profile
Re: lxphp.exe: command not found
« Reply #27 on: 2013-08-09, 15:25:42 »
Quote from: "MRatWork"
Try disable secondary php. And then enable again.

I don't able to disable, it says; Alert: httpd_restart_failed and remain as enabled.
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline suplover

  • Junior Member
  • *
  • Posts: 42
  • Karma: +0/-0
    • View Profile
Re: lxphp.exe: command not found
« Reply #28 on: 2013-08-09, 15:39:00 »
and also don't able to change Php Type it stuck as php-fpm_event every time i try i get same alert "httpd_restart_failed" but i able to play with Php Branch
« Last Edit: 1970-01-01, 01:00:00 by Guest »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: lxphp.exe: command not found
« Reply #29 on: 2013-08-09, 15:51:58 »
Try copy /home/apache/etc/conf/httpd.conf to /etc/httpd/conf/httpd.conf. It's because because use 'modified' httpd.conf and Kloxo-MR think this 'modified' file already overwrite 'original' httpd.conf.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo

Page created in 0.047 seconds with 18 queries.

web stats analysis