Binding problems on installation (same server)

Read 4609 times
We have a Centova 2.2.7 server running on a Directadmin server, works great.
We can reach the webinterface by using http://centova.mydomain.nl so far so good.
I would like to install v3 on http://centova3.mydomain.nl but as of yet I don't know how to do this.

Now we want to upgrade to V3. We reissued the license key, downloaded the install.sh as in the guide and ran it from root (ssh) as follow:
./install.sh --shoutcast1

Now a lot is going on, but I cant reach the server on port 2199. Got the following errors:
Quote
/etc/rc.d/init.d/centovacast restart
Stopping Centova Cast: cc-ftpd (not running) cc-web (not running) cc-appserver (not running) cc-control (not running) cc-imaged (not running)
Starting Centova Cast: cc-control cc-appserver cc-web nginx: [emerg] bind() to 0.0.0.0:2199 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:2199 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:2199 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:2199 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:2199 failed (98: Address already in use)
nginx: [emerg] still could not bind()
- failed
cc-control

So I went looking for what is running on port 2199 which seems to be my v2 server:
Code: [Select]
COMMAND   PID        USER   FD   TYPE    DEVICE SIZE/OFF NODE NAME
castd   24986 centovacast    0u  IPv4 792106571      0t0  TCP *:onehome-help (LISTEN)

I can't kill that process, because I need to upgrade a running V2 to V3, which should be possible according to the manuals.
But to convert from v2 to v3 I need a running v3. Which is not possible this way.

Please advise how to fix this

P.s. The uninstall script does not remove the /etc/rc.d/init.d/ and /etc/rc.d/rcX.d/ scripts.
Last Edit: May 31, 2013, 03:32:52 pm by Hostingfun
Your Apache server is probably using SuPHP and you need to follow the procedure described here:
http://www.centova.com/doc/cast/internals/advanced_configurations

After that you should be able to start Centova Cast using:
/etc/init.d/centovacast start
Hello.

We were not using SuPHP but mod_ruid2 which has similarity's to SuPHP.
The advanced configurations you pointed to also work for systems with mod_ruid2, so we were able to install and migrate from v2.

At this moment it looks as if everything is running fine, so if it keeps working this way, we will remove the V2 version this week.

Thank you for your help!