lists.arthurdejong.org
RSS feed

Two 'Listen' lines in csvd.conf after apt-get install on Ubuntu 10.10

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

Two 'Listen' lines in csvd.conf after apt-get install on Ubuntu 10.10



Hi guys,

  Just a quick note to hopefully save someone else some time.

In the /var/log/daemon.log I would find...

Jan 23 12:39:56 TURD cvsd[2181]: version 1.0.18 starting
Jan 23 12:39:56 TURD cvsd[2181]: listening on 0.0.0.0 2401
Jan 23 12:39:56 TURD cvsd[2181]: bind() failed: Address already in use
Jan 23 12:39:56 TURD cvsd[2181]: version 1.0.18 bailing out

After changing the listen line in my cvsd.conf file from

Listen * 2401

to

Listen 192.168.1.150 2401

I was still seeing the same error in the daemon.log and cvsd would not start
listening
at 192.168.1.150:2401

Running 'cvsd -d' as root revealed the problem...

cvsd: version 1.0.18 starting
cvsd: debug: binding 192.168.1.150 2401 family=2 socktype=1 protocol=6
cvsd: listening on 192.168.1.150 2401
cvsd: debug: binding 0.0.0.0 2401 family=2 socktype=1 protocol=6
cvsd: bind() failed: Address already in use
cvsd: version 1.0.18 bailing out


Upon further digging, I found the curses setup script run by apt-get install
added an -extra- listen line just above the list of repo's I had specified
during the apt-get install.

Removing the extra 'Listen * 2401' makes it so cvsd will operate under Ubuntu
10.10

An annoying simple oversight - grrr... 

Cheers
  Jeff




--
To unsubscribe send an email to
cvsd-users-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/cvsd-users