Summary: | Default Apache won't load | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Bobb Shields <shieldsr2> |
Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | jmbsvicetto, pchrist, xmw |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Bobb Shields
2010-10-29 16:43:31 UTC
Which apache2 version do you use? (please comment the output of `emerge -pv www-servers/apache`) (In reply to comment #1) > Which apache2 version do you use? (please comment the output of `emerge -pv > www-servers/apache`) > Asterisk_Extra htdocs # emerge -pv apache These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] www-servers/apache-2.2.16 USE="ssl -debug -doc -ldap (-selinux) -static -suexec -threads" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_gro upfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav _lock deflate dir disk_cache env expires ext_filter file_cache filter headers in clude info log_config logio mem_cache mime mime_magic negotiation rewrite setenv if speling status unique_id userdir usertrack vhost_alias -asis -auth_digest -au thn_dbd -cern_meta -charset_lite -dbd -dumpio -ident -imagemap -log_forensic -pr oxy -proxy_ajp -proxy_balancer -proxy_connect -proxy_ftp -proxy_http -substitute -version" APACHE2_MPMS="-event -itk -peruser -prefork -worker" 0 kB (In reply to comment #0) > I had two issues with the default config. First it couldn't determine the > server name, so it defaulted to localhost. Putting an entry into /etc/hosts > for the server's ip fixed this issue. This is a user configuration issue. It's up to the user to set the hostname for a box and configure the system accordingly. > The second issue is shown by the following commands: Asterisk_Extra apache2 # > /etc/init.d/apache2 restart > * Stopping apache2 ... > httpd (no pid file) not running > [ ok ] > * Starting apache2 ... > [ ok ] > Asterisk_Extra apache2 # apache2 > no listening sockets available, shutting down > Unable to open logs > > This was fixed by setting "Listen *:80" in vhosts.d/00_default_vhost.conf (it > didn't have the '*:'.) Did you enable DEFAULT_VHOST on APACHE2_OPTS - /etc/conf.d/apache2? This seems to be another user configuration issue. I just tried it and it worked flawlessly for me. I resolve this bug as WORKSFORME. Please reopen if you still experience problems. Thank you for your report. |