Need help discovering what's using a port (for cvsd)
A few years ago I was working on a programming project. I installed a
cvsd server on our server box and checked in/checked out the project
whenever I felt like working on it (it would have gotten majorly screwed
up if the only copy of the project lived on my personal workstation -
hence using cvsd). Anyway, I got busy with other things and forgot
about that particular programming project. At some point over the last
few years, cvsd got unmerged. I remerged it today and have been trying
to get it to work. I checked the repository directory and the files I
need are still there. I can't get the server to start. I tried
running /etc/init.d/cvsd start and it failed with the [!!] thing. I
catted the script and saw that the executable for the cvsd server lives
at /usr/sbin/cvsd, so I tried calling it directly:
carter log # /usr/sbin/cvsd --debug
cvsd: debug: reading config file (/etc/cvsd/cvsd.conf)
cvsd: debug: done reading config file
cvsd: debug: cvscmd: /bin/cvs
cvsd: debug: cvsargs: cvs
cvsd: debug: cvsargs: -f
cvsd: debug: cvsargs: --allow-root=/root
cvsd: debug: cvsargs: pserver
cvsd: debug: cvsenv: HOME=/
cvsd: debug: cvsenv: PATH=/bin
cvsd: debug: cvsenv: SHELL=/bin/sh
cvsd: debug: cvsenv: TMPDIR=/tmp
cvsd: debug: cvsenv: CVSUMASK=027
cvsd: version 1.0.7 starting
cvsd: debug: binding 0.0.0.0 2401 family=2 socktype=1 protocol=6
cvsd: listening on 0.0.0.0 2401
cvsd: debug: binding :: 2401 family=10 socktype=1 protocol=6
cvsd: bind() failed: Address already in use
cvsd: version 1.0.7 bailing out
carter log # netstat -anp | grep 2401
carter log #
Nothing. I hope I'm using the netstat command correctly. I wrote in to
a linux list years ago asking how to find out which process is using a
port, and they said to grep `netstat -anp` for whatever port I was
looking for. Anyway, when I ran netstat -anpv, I got some errors:
netstat: no support for `AF IPX' on this system.
netstat: no support for `AF AX25' on this system.
netstat: no support for `AF X25' on this system.
netstat: no support for `AF NETROM' on this system.
I assume these are kernel options, but without knowing specific symbol
names, I'm not sure how to compile them into the kernel. Can anyone
give me any advice on this situation?
|All times are GMT. The time now is 06:18 PM.|
VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.