Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 148872 - Starting apache2 - could not bind to address [::]:443
Summary: Starting apache2 - could not bind to address [::]:443
Status: VERIFIED DUPLICATE of bug 148871
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-23 16:36 UTC by Joseph
Modified: 2006-09-23 16:53 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joseph 2006-09-23 16:36:34 UTC
Latest upgrade screwup my apache on AMD64, when I try to start it I get:
* Starting apache2 ...
(98)Address already in use: make_sock: could not bind to address [::]:443
no listening sockets available, shutting down
Unable to open logs

output of "netstat -natp"
Active Internet connections (servers and established)
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      6483/mysqld
tcp        0      0 0.0.0.0:139             0.0.0.0:*               LISTEN      7037/smbd
tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN      6845/cupsd
tcp        0      0 127.0.0.1:5432          0.0.0.0:*               LISTEN      6566/postmaster
tcp        0      0 0.0.0.0:25              0.0.0.0:*               LISTEN      6971/master
tcp        0      0 0.0.0.0:445             0.0.0.0:*               LISTEN      7037/smbd
tcp        0      0 :::80                   :::*                    LISTEN      20800/apache2
tcp        0      0 :::443                  :::*                    LISTEN      20800/apache2
tcp      415      0 ::ffff:127.0.0.1:80     ::ffff:127.0.0.1:51199  CLOSE_WAIT  -

In addition when I try to start sshd I get: 
/etc/init.d/sshd start 
/etc/init.d/sshd: line 17: 7470 Segmentation fault ${SSHD_BINARY} -t ${myopts}

I re-emerged, apache, openssh did revdep-rebuild
Nothing helps.  
The upgraded worked OK on both x86 boxes but my AMD64 got screwed up.
Appreciate any help (I couldn't find anything on the forum).

#Joseph

Portage 2.1.1 (default-linux/amd64/2005.0, gcc-4.1.1, glibc-2.4-r3, 2.6.15-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.5
Last Sync: Sat, 23 Sep 2006 16:30:01 +0000
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.2.11-r1
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -pipe -O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=athlon64 -pipe -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo ftp://mirror.iawnet.sandia.gov/pub/gentoo/ ftp://sunsite.ualberta.ca/pub/unix/Linux/gentoo/ rsync://linux.rz.ruhr-uni-bochum.de/gentoo/ rsync://planetmirror.com/gentoo/"
LINGUAS=""
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X acl alsa apache2 arts avi berkdb bitmap-fonts cdr cgi cli crypt cups dlloader dri dvd eds elibc_glibc emboss encode fam foomaticdb fortran gif gimp gimpprint gpm gstreamer gtk gtk2 imlib input_devices_keyboard input_devices_mouse ipv6 isdnlog java jpeg kde kernel_linux lzw lzw-tiff mp3 mpeg mysql ncurses nls nptl nptlonly ogg opengl pam pcre pdflib perl png ppds pppd python qt qt3 qt4 quicktime readline reflection scanner sdl session spell spl ssl tcpd tiff truetype-fonts type1-fonts usb userland_GNU video_cards_fbdev video_cards_nv video_cards_tdfx video_cards_vesa vorbis xorg xpm xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Joseph 2006-09-23 16:42:36 UTC
If this can be of help, during upgrade 23 pacakges were emerged and one of them is the culprit:

emerged                   /        unmerged

openssl-0.9.8c-r2    /        openssl-0.9.8c
libsdl-1.2.11             /        libsdl-1.2.8-r1
libutempter-1.1.4.1 /        libutempter-1.1.2.1
mplayer-1.0_pre8    /         
sdl-image-1.2.5-r1  /        sdl-image-1.2.3-r1
apache-2.0.58-r2   /         
nano-1.3.12-r1       /       nano-1.3.11-r2
graphviz-2.8-r1      /       graphviz-2.8
eject-2.1.5             /       eject-2.1.0-r1
lzo-2.02-r1 		/
libtasn1-0.3.5        /       libtasn1-0.2.18
gnutls-1.4.4-r1     /	     gnutls-1.2.10
nspr-4.6.3    	       /  	nspr-4.6.1-r2
zip-2.31-r1           /		zip-2.31
nss-3.11.3    	     /         nss-3.11-r1
openssh-4.3_p2-r4  	  /	openssh-4.3_p2-r1
gnome-doc-utils-0.6.1    / 	
seamonkey-1.0.3   	   /	
startup-notification-0.8   /	
yelp-2.14.2-r2                  /	yelp-2.6.5
gzip-1.3.5-r9                    /	gzip-1.3.5-r8
fribidi-0.10.7   	           /      fribidi-0.10.4
mozilla-firefox-1.5.0.7      /	mozilla-firefox-1.5.0.5

#Joseph
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-09-23 16:53:37 UTC
*** This bug has been marked as a duplicate of 148871 ***
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-09-23 16:53:51 UTC
Dupe.