View previous topic :: View next topic |
Author |
Message |
zaiyon Apprentice
Joined: 19 May 2004 Posts: 219 Location: Germany
|
Posted: Thu Jul 01, 2004 3:14 pm Post subject: problems with apache2 and dyndns |
|
|
Hope this thread is not TOO n00b, but I'm running through this problem since a long time right now, and I finally want to get rid of it.
If my apache2 daemon is running, and I connect to some sides (for example http://forums.gentoo .org ), it searches for the site on the localhost (where the apache is running), not where it should. This problem is only there for the box running the apache Server, I'm going to post my /etc/hosts and /etc/dnsdomainname:
/etc/hosts
Code: |
127.0.0.1 localhost
192.168.0.1 router.lan.mynet router
192.168.0.2 gentoo.lan.mynet gentoo
# IPV6 versions of localhost and co
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
|
/etc/dnsdomainname
(while xxx means my dyndns account)
Is there anything I have to check beside this too files? Couldn't find anything on myself,
thx in advance
thx in advance |
|
Back to top |
|
|
golloza Guru
Joined: 14 Mar 2004 Posts: 427
|
Posted: Thu Jul 01, 2004 5:53 pm Post subject: |
|
|
Sounds weird.
What does netstat -ltp say? |
|
Back to top |
|
|
zaiyon Apprentice
Joined: 19 May 2004 Posts: 219 Location: Germany
|
Posted: Fri Jul 02, 2004 9:23 am Post subject: |
|
|
First: thx for help now my netstat -ltp:
Code: |
root@zion zaiyon # netstat -ltp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 *:4000 *:* LISTEN 1831/mlnet
tcp 0 0 *:1312 *:* LISTEN 1490/giftd
tcp 0 0 *:4001 *:* LISTEN 1831/mlnet
tcp 0 0 *:6881 *:* LISTEN 1831/mlnet
tcp 0 0 *:4002 *:* LISTEN 1831/mlnet
tcp 0 0 *:6882 *:* LISTEN 1831/mlnet
tcp 0 0 localhost:mysql *:* LISTEN 6813/mysqld
tcp 0 0 *:netbios-ssn *:* LISTEN 7149/smbd
tcp 0 0 *:4140 *:* LISTEN 1490/giftd
tcp 0 0 *:4080 *:* LISTEN 1831/mlnet
tcp 0 0 *:www *:* LISTEN 901/apache2
tcp 0 0 *:2258 *:* LISTEN 1490/giftd
tcp 0 0 *:ftp *:* LISTEN 7258/vsftpd
tcp 0 0 *:4662 *:* LISTEN 1831/mlnet
tcp 0 0 *:ssh *:* LISTEN 6820/sshd
tcp 0 0 localhost:6010 *:* LISTEN 11966/1
tcp 0 0 *:8699 *:* LISTEN 1831/mlnet
tcp 0 0 *:https *:* LISTEN 901/apache2
tcp 0 0 *:1213 *:* LISTEN 1490/giftd
tcp 0 0 *:microsoft-ds *:* LISTEN 7149/smbd
tcp 0 0 *:1214 *:* LISTEN 1490/giftd
|
At this point it stops without returning a prompter, no idea why.... another "hint" probably, on "ping fjkldf" or something like that with a length (not over 6 chars), it pings my own Network in case of the server "fjkldf" it should try to ping... could that be a reason? |
|
Back to top |
|
|
zaiyon Apprentice
Joined: 19 May 2004 Posts: 219 Location: Germany
|
Posted: Fri Jul 02, 2004 3:06 pm Post subject: |
|
|
sorry for the double-post...
got a clean netstat -ltp output now, it says:
Code: |
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 localhost:mysql *:* LISTEN 6614/mysqld
tcp 0 0 *:netbios-ssn *:* LISTEN 6904/smbd
tcp 0 0 *:www *:* LISTEN 7602/apache2
tcp 0 0 *:ftp *:* LISTEN 6995/vsftpd
tcp 0 0 *:ssh *:* LISTEN 6618/sshd
tcp 0 0 *:https *:* LISTEN 7602/apache2
tcp 0 0 *:microsoft-ds *:* LISTEN 6904/smbd
|
|
|
Back to top |
|
|
|