Local Ports Started Twice on Boot with 6-Stable

Seth Hieronymus shieronymus at gmail.com
Wed Dec 26 16:12:20 PST 2007


I just noticed this today:

With 6-Stable (6.3-PRERELEASE csuped and built today), it appears that my
local ports are started multiple times as part of the boot process.  I have
not been able to find anything obvious.  Anyone have any ideas?

Thanks for the help,
Seth Hieronymus

*********************
Here's an excerpt from the console log that shows pureftpd, postfix, apache,
and postgresql being started twice, failing the second time:

Dec 26 23:47:23 hts3 kernel: savecore: no dumps found
Dec 26 23:47:23 hts3 kernel: ELF ldconfig path: /lib /usr/lib
/usr/lib/compat /usr/X11R6/lib /usr/local/lib /usr/local/lib/compat/pkg
/usr/local/lib/compat/pkg /usr/local/lib/compat/pkg
Dec 26 23:47:23 hts3 kernel: a.out ldconfig path: /usr/lib/aout
/usr/lib/compat/aout
Dec 26 23:47:23 hts3 kernel: Initial i386 initialization:
Dec 26 23:47:23 hts3 kernel: .
Dec 26 23:47:23 hts3 kernel: Additional ABI support:
Dec 26 23:47:23 hts3 kernel: .
Dec 26 23:47:23 hts3 kernel: Starting pureftpd.
Dec 26 23:47:24 hts3 kernel: Running: /usr/local/sbin/pure-ftpd -A -c50 -B
-C8 -E -fftp -H -I15 -lpuredb:/usr/local/etc/pureftpd.pdb -L2000:8 -m4
-p15000:20000 -s -U133:022 -u100 -x -X -i -k99 -Z
Dec 26 23:47:24 hts3 kernel: Clearing /tmp (X related).
Dec 26 23:47:24 hts3 kernel: Starting pureftpd.
Dec 26 23:47:24 hts3 kernel: Running: /usr/local/sbin/pure-ftpd -A -c50 -B
-C8 -E -fftp -H -I15 -lpuredb:/usr/local/etc/pureftpd.pdb -L2000:8 -m4
-p15000:20000 -s -U133:022 -u100 -x -X -i -k99 -Z
Dec 26 23:47:24 hts3 kernel: Dec 26 23:47:24 hts3 pure-ftpd: (?@?) [ERROR]
Unable to start a standalone server: [Address already in use]
Dec 26 23:47:24 hts3 kernel: Starting local daemons:
Dec 26 23:47:24 hts3 kernel: .
Dec 26 23:47:24 hts3 kernel: Updating motd
Dec 26 23:47:24 hts3 kernel: .
Dec 26 23:47:24 hts3 kernel: Mounting late file systems:
Dec 26 23:47:24 hts3 kernel: .
Dec 26 23:47:24 hts3 kernel: Starting ntpd.
Dec 26 23:47:29 hts3 kernel: postfix/postfix-script: starting the Postfix
mail system
Dec 26 23:47:29 hts3 kernel: Performing sanity check on apache22
configuration:
Dec 26 23:47:30 hts3 kernel: Syntax OK
Dec 26 23:47:30 hts3 kernel: Starting apache22.
Dec 26 23:47:34 hts3 kernel: pg_ctl: another server may be running; trying
to start server anyway
Dec 26 23:47:35 hts3 kernel: Dec 26 23:47:35 hts3 postgres[668]: [1-1]
FATAL:  lock file "postmaster.pid" already exists
Dec 26 23:47:35 hts3 kernel: Dec 26 23:47:35 hts3 postgres[668]: [1-2]
HINT:  Is another postmaster (PID 582) running in data directory
"/usr/local/postgres/data"?
Dec 26 23:47:36 hts3 kernel: pg_ctl: could not start server
Dec 26 23:47:36 hts3 kernel: Examine the log output.
Dec 26 23:47:36 hts3 kernel: postfix/postfix-script: fatal: the Postfix mail
system is already running
Dec 26 23:47:36 hts3 kernel: Dec 26 23:47:36 hts3
postfix/postfix-script[676]: fatal: the Postfix mail system is already
running
Dec 26 23:47:36 hts3 kernel: Performing sanity check on apache22
configuration:
Dec 26 23:47:36 hts3 kernel: Syntax OK
Dec 26 23:47:36 hts3 kernel: Starting apache22.
Dec 26 23:47:36 hts3 kernel: (48)Address already in use: make_sock: could
not bind to address 0.0.0.0:80
Dec 26 23:47:36 hts3 kernel: no listening sockets available, shutting down
Dec 26 23:47:36 hts3 kernel: Unable to open logs
Dec 26 23:47:36 hts3 kernel: Configuring syscons:
Dec 26 23:47:36 hts3 kernel: font8x16
Dec 26 23:47:36 hts3 kernel: font8x8
Dec 26 23:47:36 hts3 kernel: blanktime
Dec 26 23:47:36 hts3 kernel: screensaver
Dec 26 23:47:36 hts3 kernel: .
Dec 26 23:47:37 hts3 kernel: Starting sshd.
Dec 26 23:47:37 hts3 kernel: Starting cron.
Dec 26 23:47:37 hts3 kernel: Local package initialization:
Dec 26 23:47:37 hts3 kernel: .
Dec 26 23:47:37 hts3 kernel:
Dec 26 23:47:37 hts3 kernel: Wed Dec 26 23:47:37 UTC 2007


More information about the freebsd-questions mailing list