Installation error with ports

5 posts / 0 new
Last post
#1 Thu, 12/17/2009 - 12:41
Owdy

Installation error with ports

I get this error when installing: Web server port (default 20000): ERROR: TCP port 20000 is already in use by another program

Thu, 12/17/2009 - 12:47
andreychek

Hmm, what is it you're doing exactly, and how are you going about doing it?

It sounds like the installer is complaining that something is already running on port 20000, the Usermin port... but I'm not sure what to make of that if you're performing a Usermin installation for the first time.

-Eric

Thu, 12/17/2009 - 13:07
Owdy

I have installed it before and removed it. i try it like this:

servu:~# apt-get install usermin
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  usermin
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/6040kB of archives.
After this operation, 27.9MB of additional disk space will be used.
(Reading database ... 37082 files and directories currently installed.)
Unpacking usermin (from .../archives/usermin_1.430_all.deb) ...
Port 20000 is already in use
dpkg: error processing /var/cache/apt/archives/usermin_1.430_all.deb (--unpack):
subprocess pre-installation script returned error exit status 2
Errors were encountered while processing:
/var/cache/apt/archives/usermin_1.430_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Mon, 12/21/2009 - 11:21
andreychek

Hrm... what do these two commands show:

  1. dpkg -l 'usermin*'

  2. netstat -an | grep :20000

It sounds like something may be running on port 20000 at the moment -- so we just need to figure out what that is and kill that process.

-Eric

Mon, 12/21/2009 - 11:25
Owdy

This isnt issue anymore. I reisntalled whole server.

Topic locked