davidm wrote:First things first, is that the correct IP and is there something already binding to port 80 (use netstat to check)? And just to check what are some details about this server and how it is connected. Also it's not able to open the logs which is strange. Do you have root on this server and have you done anything with the configuration files yet? How are you invoking apache?
netstat -ltnp:
Code: Select all
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 16422/mysqld
tcp 0 0 0.0.0.0:10000 0.0.0.0:* LISTEN 14731/perl
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 19646/sshd
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 15017/cupsd
tcp 0 0 0.0.0.0:17500 0.0.0.0:* LISTEN 10692/dropbox
tcp6 0 0 :::22 :::* LISTEN 19646/sshd
tcp6 0 0 ::1:631 :::* LISTEN 15017/cupsd
tcp6 0 0 :::25565 :::* LISTEN 22273/java
Nothing on port 80.
My previous config broke for some reason, and was giving the same errors. I then deleted all apache conf files are re-emerged apache. I did this to delete the config files:
rm -r /etc/apache2/
rm /etc/conf.d/apache2
The server after emerge ran fine but still gave this error:
Code: Select all
* Starting apache2 ...
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
After adding a Listen option which I told to attach to my server IP and port 80, this happens. When I just have it listen on port 80 alone it does this:
"Could not bind to port: 80" or something similar.
Also before editing the conf files, localhost can access the server on 127.0.0.1 and the local ip: 192.168.1.101, but other people on LAN cannot access it on 192.168.1.101
I know my ISP is not blocking port 80, and I'm 100% positive that's my IP, I use it for other services I use daily.
Also, is that Zorak from The Brak Show?
Thanks,
Dragos240