(01-03-2011 05:06 PM)motokochan Wrote: Ignore ceciliaerickson, it's a signature spammer. I've reported their post.
What happens when you run "apachectl checkconfig"? I believe on Debian-based systems it's "apache2ctl checkconfig". That should at least help if there is an error in the configuration file, which your post seems to indicate.
well...here is what i did...
i ran pache2ctl status a nd here is what i get...
Code:
root@epsilon-computers:/home/errikos# apache2ctl status
Looking up localhost
Making HTTP connection to localhost
Alert!: Unable to connect to remote host.
lynx: Can't access startfile http://localhost/server-status
'www-browser -dump http://localhost:80/server-status' failed.
Maybe you need to install a package providing www-browser or you
need to adjust the APACHE_LYNX variable in /etc/apache2/envvars
root@epsilon-computers:/home/errikos# apache2ctl start
root@epsilon-computers:/home/errikos# apache2ctl start
httpd (pid 1467) already running
now,apache is running....
i tried to make some changes like set magic quotes off because my applications say so...then restarted the hole machine and tada!
apache dies!
after that,i try 'apache2ctl fullstatus' command and here we got...
Code:
root@epsilon-computers:/home/errikos# apache2ctl fullstatus
Looking up localhost
Making HTTP connection to localhost
Alert!: Unable to connect to remote host.
lynx: Can't access startfile http://localhost/server-status
'www-browser -dump http://localhost:80/server-status' failed.
Maybe you need to install a package providing www-browser or you
need to adjust the APACHE_LYNX variable in /etc/apache2/envvars
if i restart my server,apache does not run...
what can i do in case i need to make some changes in php.ini?
it's really bad if i have to start apache manually in case of power down!!!