Gentoo newbie - linode newbie - Problems connection refused
I have PHP, mySQL and Apache running, I believe I installed the virtual hosts according to the forums I found. I fixed the virtual console C21 problem. I have tested mySQL and so on. But I can't get the server to ping on my secondary IP, not even if I reboot. I also can't open my http daemon (through the browser or telnet), nor I can get the vnc server to connect, despite the fact that I have installed according to another discussion.
I am using gentoo 2005.0 - kernel 2.6. would anyone be brave enough to help.
Regards.
2 Replies
# ifconfig
# netstat -nr
# lsof -i :80
If you don't already have lsof then you'll need to do 'emerge lsof'.
Also, are you running the web server on port 80 alone? Or 80 and 443 (SSL)?
Even if the web page doesn't come up – does the web server at least start up -- does it show up in 'ps -ef' output?
Thanks!
# /etc/init.d/apache2 status
# ps -ef|grep vnc
# ps -ef|grep http
# ps -ef|grep apache
(I am assuming that by 'Apache', you're referring to 2.x. If you are running 1.3, please say so. If you're running 1.3, change '/etc/init.d/apache2' to '/etc/init.d/apache' above.)