[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: can not start apache in lenny



Bhasker,

Issue resolved.  Apache starts up.
Thank you very much for your response, which got me thinking in another direction:
To answer your questions, the virtual hosts are enabled.  The ip address did not change; I am using the same /etc/hosts file.

I modified my /etc/hosts file. In particular, I commented out the line with sbcglobal in it. Now apache works!
This is how my /etc/hosts looks now:
----------
127.0.0.1 localhost <machine name>
#127.0.1.1 <name>.sbcglobal.net <name>
192.168.1.2 <alias>
192.168.1.3 <other host>

IPv6 stuff here...
----------------------

But, I don't understand why it works now, or why it would't work with the line in!  It worked in Etch.
I guess, I will have to let go of it for now. It is late in California  :-)

Thanks again,

Vazrik


From: Bhasker C V <bhasker@unixindia.com>
To: Vazrik Israelian <vazrik@yahoo.com>
Cc: debian-user@lists.debian.org
Sent: Saturday, May 2, 2009 12:38:42 AM
Subject: Re: can not start apache in lenny


Do you have virtual hosts enabled ?
did you bind the machine to a particular ip (which may have
changed now) ?
the reason i am asking is looks like getaddrinfo is failing
and i am assuming this may be because it is not able to bind
to an interface

On Fri, 1 May 2009, Vazrik Israelian wrote:

> I recently upgraded to lenny (stable), and I can not get apache to start.  It fails at
> boot time, and when starting it manually, it fails the same way:
>
> #/etc/init.d/apache2 start
>
> Starting web server: apache2apache2: ../sysdeps/posix/getaddrinfo.c:1463: rfc3484_sort:
> Assertion `src->results[i].native == -1 || src->results[i].native == a2_native' failed.
> /usr/sbin/apache2ctl: line 83:  4369 Aborted                 $HTTPD ${APACHE_ARGUMENTS}
> -k $ARGV
>  failed!
>
> I have been at this for a while.  All my searches, and readings did not result to any
> solution.
>
> sources.list:
> deb http://ftp.us.debian.org/debian stable main contrib non-free
> # deb-src http://ftp.debian.org/debian/ stable main non-free contrib
> deb http://security.debian.org/ stable/updates main contrib non-free
> deb http://www.debian-multimedia.org/ stable main
>
> Any help is appreciated.
>
> Thanks,
>
> Vazrik
>
>

Bhasker C V
Registered linux user #306349

Reply to: