1
Yesterday I started this post but since StackExchange's login system is so strange, I can't seem to log into my account, even using the same exact email and password combo (just treating me as a whole new user). Anyways I'm referencing that post in this new question.
The answer that @Patches gave me was very thorough and helpful, however when I ran the netstat I saw nothing like @Patches described. I saw no tcp/www record on port 80; in fact, my port 80 isn't being used at all! I've modified my httpd.conf several times, changing the Listen
directive to all sorts of values: 8080, 8081, 38, 984, etc. and I get the same error (see other post) every single time!!! Here's what my netstat dump looks like:
myUser@myMachine:/etc$ sudo netstat --tcp --udp --listening --program
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 localhost.localdo:mysql *:* LISTEN 1188/mysqld
tcp 0 0 localhost.localdoma:ipp *:* LISTEN 1115/cupsd
tcp6 0 0 myMachine:ipp [::]:* LISTEN 1115/cupsd
udp 0 0 *:mdns *:* 888/avahi-daemon: r
udp 0 0 *:bootpc *:* 1770/dhclient
udp 0 0 *:51367 *:* 888/avahi-daemon: r
udp6 0 0 [::]:mdns [::]:* 888/avahi-daemon: r
udp6 0 0 [::]:53539 [::]:* 888/avahi-daemon: r
So as you can see, no lighttpd or anything else listening on 80, 8080, or any of the other ports I mentioned trying.
Please help! About to abandon Linux altogether - on Windows I'd already have PHP and CodeIgniter up and running...
thanks for the encouragement, here's my httpd; thanks for any help!
– Pam – 2011-04-19T10:55:16.330Could this be a permissions issue? I installed via Synaptic (possibly "as root"). Even though I am using sudo to start apachectl I wanted to throw this out there because I'm still learning Linux permissions. – Pam – 2011-04-19T10:57:37.263
@Pam You need to install and run it using
sudo
, that should be fine. As long as you've installed it from the Ubuntu repositories that's the normal procedure. – slhck – 2011-04-19T12:59:15.977@slhck - Thanks for your suggestion, but I have already ruled that out as a culprit. I am starting Apache using
sudo apachectl start
and am getting the error you see in my original post from yesterday which is linked to up above. – Pam – 2011-04-19T13:04:43.803