Softaculous


Topic : Apache not working after server restart


1

Posted By: irfiii on December 18, 2013, 6:18 pm
Hell Sir,
apache on my vps is not working after i restarted my VPS now i am unable to start/restart from my webuzu CP and and i restarted my vps many time but its not running my webuzo vesrion is latest 2.1.6
now how to start apachi?
also nothing working in ssh putty after successfull login when i put any command nothing happed no error or any thing


Posted By: irfiii on December 18, 2013, 6:43 pm | Post: 1
*sorry ssh command are working

Posted By: irfiii on December 18, 2013, 6:43 pm | Post: 2
*sorry ssh command are working

Posted By: valley on December 19, 2013, 4:35 am | Post: 3
Could you provide the output of the following command :

Root > lsof -i :80

Root > ls -lha /etc/init.d/httpd

-----------------------
Webuzo : Single User Control Panel
Join Webuzo :
Facebook
Twitter


Posted By: irfiii on December 19, 2013, 5:43 am | Post: 4
[root@server ~]# Root > lsof -i :80
-bash: Root: command not found


Posted By: irfiii on December 19, 2013, 5:46 am | Post: 5
screenshot

Posted By: irfiii on December 19, 2013, 5:47 am | Post: 6
Quote From : irfiii December 19, 2013, 5:43 am
[root@server ~]# Root > lsof -i :80
-bash: Root: command not found


Posted By: divij on December 19, 2013, 6:01 am | Post: 7
Hi,

Sir run the following command:
Root > yum install lsof

Root > lsof -i :80

Posted By: irfiii on December 19, 2013, 6:25 am | Post: 8
[root@server ~]# yum install lsof
Loaded plugins: fastestmirror
Determining fastest mirrors
* base: mirror.de.leaseweb.net
* extras: mirror.de.leaseweb.net
* updates: mirror.de.leaseweb.net
Softaculous                                              |  951 B    00:00
base                                                    | 3.7 kB    00:00
base/primary_db                                          | 4.4 MB    00:00
extras                                                  | 3.4 kB    00:00
extras/primary_db                                        |  18 kB    00:00
updates                                                  | 3.4 kB    00:00
updates/primary_db                                      | 785 kB    00:00
vz-base                                                  |  951 B    00:00
vz-updates                                              |  951 B    00:00
Setting up Install Process
Package lsof-4.82-4.el6.x86_64 already installed and latest version
Nothing to do
[root@server ~]# lsof -i :80
[root@server ~]#


Posted By: irfiii on December 19, 2013, 6:27 am | Post: 9
it says already installed but no info with this command
lsof -i :80

Posted By: irfiii on December 19, 2013, 6:34 am | Post: 10
result after running commands

lsof -i :80



ls -lha /etc/init.d/httpd
   
   

[root@server ~]# lsof -i :80
[root@server ~]# ls -lha /etc/init.d/httpd
lrwxrwxrwx 1 root root 36 Aug 27 12:40 /etc/init.d/httpd -> /usr/local/apps/apache/bin/apachectl
[root@server ~]#


Posted By: divij on December 19, 2013, 6:35 am | Post: 11
Hi,

Restart apache service.

Root > service httpd restart

Posted By: irfiii on December 19, 2013, 6:40 am | Post: 12
Quote From : divij December 19, 2013, 6:35 am
Hi,

Restart apache service.

Root > service httpd restart


restart command not working

Quote

login as: root
root@185.19.219.172's password:
Last login: Thu Dec 19 01:30:59 2013 from 39.42.33.167
[root@server ~]# service httpd restart
httpd: Syntax error on line 188 of /usr/local/apps/apache/etc/httpd.conf: Cannot load /usr/local/apps/apache/modules/mod_proxy.so into server: /usr/local/apps/apache/modules/mod_proxy.so: cannot open shared object file: No such file or directory
[root@server ~]#



Posted By: valley on December 19, 2013, 7:05 am | Post: 13
Quote From : irfiii December 19, 2013, 6:40 am
Quote From : divij December 19, 2013, 6:35 am
Hi,

Restart apache service.

Root > service httpd restart


restart command not working

Quote

login as: root
root@185.19.219.172's password:
Last login: Thu Dec 19 01:30:59 2013 from 39.42.33.167
[root@server ~]# service httpd restart
httpd: Syntax error on line 188 of /usr/local/apps/apache/etc/httpd.conf: Cannot load /usr/local/apps/apache/modules/mod_proxy.so into server: /usr/local/apps/apache/modules/mod_proxy.so: cannot open shared object file: No such file or directory
[root@server ~]#




Sir you can remove and install Apache again to resolve your issue.
The latest version of Apache has mod_proxy compiled.

Guide : http://www.webuzo.com/wiki/Install_System_Apps

Hope it helps \m/


-----------------------
Webuzo : Single User Control Panel
Join Webuzo :
Facebook
Twitter


Posted By: irfiii on December 19, 2013, 7:45 am | Post: 14
OK sir please give  me commands for remove/uninstall apache and install command

Powered By AEF 1.0.8 © 2007-2008 Electron Inc.