Theo Schmidt <[EMAIL PROTECTED]> writes:
> Here follows the parts of the log from startup to the conclusion of an
> unsuccessful wwwoffle sectio
>
> Feb 13 21:40:25 linux syslogd 1.4.1: restart.
> Feb 13 21:40:26 linux wwwoffled[415]: WWWOFFLE Demon Version 2.6d (with zlib,with
>ipv6) started.
> Feb 13 21:40:26 linux wwwoffled[415]: Failed to bind IPv4 server socket [Address
>already in use].
> Feb 13 21:40:26 linux wwwoffled[415]: Failed to bind IPv4 server socket [Address
>already in use].
> Feb 13 21:40:26 linux wwwoffled[417]: Detached from terminal and changed pid to 417.
This error message is slightly confusing, but does not indicate that
it has failed. The error messages for the socket connection were
confusing because the socket connection procedure was as follows:
1) Connect the IPv6 socket
Give an error if it failed.
2) Connect the IPv4 socket
Give an error if it failed.
3) Give a confirmation message that the IPv4 failure is not a problem
if the IPv6 socket is connected to all addresses (::) and the IPv4
socket would have been connected to all addresses (0.0.0.0).
The final message would not always be printed since it has a lower
priority. In this case I can tell that it worked since the program
would have exited if none of the sockets could be created.
> Feb 13 21:51:04 linux pppd[2522]: local IP address 213.3.26.21
> Feb 13 21:51:04 linux pppd[2522]: remote IP address 213.3.24.1
> Feb 13 21:51:04 linux pppd[2522]: primary DNS address 195.186.4.110
> Feb 13 21:51:04 linux pppd[2522]: secondary DNS address 195.186.1.110
> Feb 13 21:51:04 linux pppd[2522]: Script /etc/ppp/ip-up started (pid 2534)
> Feb 13 21:51:05 linux modify_resolvconf: Service pppd modified /etc/resolv.conf. See
>info block in this file
Here the pppd has changed the contents of the file /etc/resolv.conf ...
> Feb 13 21:51:05 linux wwwoffled[417]: WWWOFFLE Connection from host localhost (::1).
> Feb 13 21:51:05 linux wwwoffled[417]: WWWOFFLE Online.
> Feb 13 21:53:23 linux wwwoffles[2628]: Unknown host 'www.umwelteinsatz.ch'
> for server [Name or service not known]. (What I wanted to fetch, Theo)
> Feb 13 21:53:23 linux wwwoffles[2628]: Cannot open the HTTP connection to
>www.umwelteinsatz.ch port 80; [Name or service not known].
... and WWWOFFLE fails to do a name lookup.
This is because of the common problem with UNIX where changing the DNS
servers listed in the /etc/resolv.conf file will not have any effect
on programs that are already running. A more fuller description is
given in the WWWOFFLE FAQ.
The solution is to stop the /etc/resolv.conf file from changing or you
will need to restart WWWOFFLE each time that the file is changed.
--
Andrew.
----------------------------------------------------------------------
Andrew M. Bishop [EMAIL PROTECTED]
http://www.gedanken.demon.co.uk/
WWWOFFLE users page:
http://www.gedanken.demon.co.uk/wwwoffle/version-2.7/user.html