starting httpd during system startup - problems - HELP!
When the system reboots, httpd does not startup.
Apache is running as a deamon. I have tried the following: 1) Editing the rc.local and adding: /etc/rc.d/init.d/httpd start or httpd & or httpd -k start none work :( (NOTE: rc.local works correctly as vsfptd starts up clean) Quote:
Quote:
Quote:
help - please. |
Quote:
Code:
fp3la:~ # ps aux |grep http Code:
apache 5855 0.0 0.9 16224 10172 ? S Jan04 0:28 /usr/sbin/httpd -k start |
thanks -
but I can start/stop httpd fine once I am logged in. Only problem is that it does not start automatically at startup. also - after startup, when I check status of httpd, it gives me: [root@localhost ~]# service httpd status httpd dead but subsys locked ---edited --- well clearly is permissions...any ideas ? [Ninja@localhost ~]$ /etc/rc.d/init.d/httpd start bash: /etc/rc.d/init.d/httpd: Permission denied [Ninja@localhost ~]$ chmod 700 /etc/rc.d/init.d/httpd [Ninja@localhost ~]$ /etc/rc.d/init.d/httpd start Starting httpd: (13)Permission denied: make_sock: could not bind to address [::]:81 (13)Permission denied: make_sock: could not bind to address 0.0.0.0:81 no listening sockets available, shutting down Unable to open logs [FAILED] touch: cannot touch `/var/lock/subsys/httpd': Permission denied [Ninja@localhost ~]$ |
All times are GMT -5. The time now is 11:37 PM. |