Installer fails

Read 18198 times
Hello,

so i removed the /usr/local/centovacast folder and ran the installer which failed for me, out put included below. i have tried to make the folders mentioned in the output and ran the fixperms script which dint work.

also i notice a helper script to migrate accounts, in theory is this a working script... i have just 2 accounts on the v2 i can test this on :)

thanks in advance for any pointers

Code: [Select]
root@radio:/tmp# ./install.sh --shoutcast-all --channel=unstable



===== Centova Cast Installation ==========================================

Installing package dependencies ...
Reading package lists... Done
Building dependency tree       
Reading state information... Done
build-essential is already the newest version.
debianutils is already the newest version.
findutils is already the newest version.
grep is already the newest version.
gzip is already the newest version.
sed is already the newest version.
unzip is already the newest version.
wget is already the newest version.
icecast2 is already the newest version.
mysql-server is already the newest version.
rsync is already the newest version.
tar is already the newest version.
ia32-libs is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.



===== Centova Cast Installation ==========================================

Downloading installation system ...
Verifying archive integrity ...                                               
Unpacking archive ...
Beginning installation ...

Checking Centova Cast Common Files ...
Downloading Centova Cast Common Files ...                                     

Verifying archive integrity ...                                               
Unpacking archive ...

Installing Centova Cast Common Files ...

Installation successful

Checking Centova Cast Application Server ...
Downloading Centova Cast Application Server ...                               

Verifying archive integrity ...                                               
Unpacking archive ...

Installing Centova Cast Application Server ...

Creating account centovacast ...
groupadd: group 'centovacast' already exists
useradd: user 'centovacast' already exists
Installation successful
Starting Centova Cast application server service...
Attempting to start app: cc-appserver Can't create lock file "/usr/local/centovacast/var/lock/cc-appserver.lock": No such file or directory
- failed

Checking Centova Cast Image Daemon ...
Downloading Centova Cast Image Daemon ...                                     

Verifying archive integrity ...                                               
Unpacking archive ...

Installing Centova Cast Image Daemon ...

chmod: cannot access `/usr/local/centovacast/var/lock': No such file or directory
chmod: cannot access `/usr/local/centovacast/var/log': No such file or directory
chmod: cannot access `/usr/local/centovacast/var/run': No such file or directory
chown: cannot access `/usr/local/centovacast/var/run': No such file or directory
chown: cannot access `/usr/local/centovacast/var/lock': No such file or directory
chown: cannot access `/usr/local/centovacast/var/backups': No such file or directory
chmod: cannot access `/usr/local/centovacast/var/backups/*': No such file or directory
chmod: cannot access `/usr/local/centovacast/var/backups/*': No such file or directory
chown: cannot access `/usr/local/centovacast/var/backups/web': No such file or directory
chown: cannot access `/usr/local/centovacast/var/backups/control': No such file or directory
chgrp: cannot access `/usr/local/centovacast/var/www': No such file or directory
Installation successful
Starting Centova Cast image daemon...
Attempting to start img: cc-imaged - failed

Checking Centova Cast Web Server ...
Downloading Centova Cast Web Server ...                                       

Verifying archive integrity ...                                               
Unpacking archive ...

Installing Centova Cast Web Server ...

Installation successful
Starting Centova Cast web service...
Attempting to start web: cc-web /usr/local/centovacast/centovacast: line 162: /usr/local/centovacast/sbin/cc-web: No such file or directory
- failed

Checking Centova Cast Control Daemon ...
Downloading Centova Cast Control Daemon ...                                   

Verifying archive integrity ...                                               
Unpacking archive ...

Installing Centova Cast Control Daemon ...

chmod: cannot access `/usr/local/centovacast/var/lock': No such file or directory
chmod: cannot access `/usr/local/centovacast/var/log': No such file or directory
chmod: cannot access `/usr/local/centovacast/var/run': No such file or directory
chown: cannot access `/usr/local/centovacast/var/run': No such file or directory
chown: cannot access `/usr/local/centovacast/var/lock': No such file or directory
chown: cannot access `/usr/local/centovacast/var/backups': No such file or directory
chmod: cannot access `/usr/local/centovacast/var/backups/*': No such file or directory
chmod: cannot access `/usr/local/centovacast/var/backups/*': No such file or directory
chown: cannot access `/usr/local/centovacast/var/backups/web': No such file or directory
chown: cannot access `/usr/local/centovacast/var/backups/control': No such file or directory
Installation successful
Starting Centova Cast control daemon...
Attempting to start ccd: cc-control Fatal error: /usr/local/centovacast/usr/local/centovacast/var/vhosts does not exist, exiting
- failed

Checking Centova Cast FTP Server ...
Downloading Centova Cast FTP Server ...                                       

Verifying archive integrity ...                                               
Unpacking archive ...

Installing Centova Cast FTP Server ...

chmod: cannot access `/usr/local/centovacast/var/lock': No such file or directory
chmod: cannot access `/usr/local/centovacast/var/log': No such file or directory
chmod: cannot access `/usr/local/centovacast/var/run': No such file or directory
chown: cannot access `/usr/local/centovacast/var/run': No such file or directory
chown: cannot access `/usr/local/centovacast/var/lock': No such file or directory
chown: cannot access `/usr/local/centovacast/var/backups': No such file or directory
chmod: cannot access `/usr/local/centovacast/var/backups/*': No such file or directory
chmod: cannot access `/usr/local/centovacast/var/backups/*': No such file or directory
chown: cannot access `/usr/local/centovacast/var/backups/web': No such file or directory
chown: cannot access `/usr/local/centovacast/var/backups/control': No such file or directory
Installation successful
Starting Centova Cast FTP service...
Attempting to start ftp: cc-ftpd /usr/local/centovacast/centovacast: line 281: /usr/local/centovacast/sbin/cc-ftpd: No such file or directory
- failed


===== Supplementary Software Installation ================================

Installing shoutcast2 ...
                                                                             
Checking Centova Cast Common Files ...
Not updated, skipping                                                         


Checking shoutcast2 ...
Downloading shoutcast2 ...                                                   

Verifying archive integrity ...                                               
Unpacking archive ...

Installing shoutcast2 ...

Registering application in configuration files ...                           
Attempting to notify web control panel of software update ...
Connecting to 127.0.0.1:2199. failed: Connection refused.                     
  > Download error details:                                                   
  > --2012-04-09 01:05:56--  http://127.0.0.1:2199/api.php
  > Connecting to 127.0.0.1:2199... failed: Connection refused.
Error contacting your web control panel
ShoutCast DNAS v2.x was installed successfully but could not be enabled in Centova Cast
Updating permissions ...
chmod: cannot access `/usr/local/centovacast/var/lock': No such file or directory
chmod: cannot access `/usr/local/centovacast/var/log': No such file or directory
chmod: cannot access `/usr/local/centovacast/var/run': No such file or directory
chown: cannot access `/usr/local/centovacast/var/run': No such file or directory
chown: cannot access `/usr/local/centovacast/var/lock': No such file or directory
chown: cannot access `/usr/local/centovacast/var/backups': No such file or directory
chmod: cannot access `/usr/local/centovacast/var/backups/*': No such file or directory
chmod: cannot access `/usr/local/centovacast/var/backups/*': No such file or directory
chown: cannot access `/usr/local/centovacast/var/backups/web': No such file or directory
chown: cannot access `/usr/local/centovacast/var/backups/control': No such file or directory
Installation successful
Installing sctrans2 ...
                                                                             
Checking Centova Cast Common Files ...
Not updated, skipping                                                         


Checking sc_trans v2.x ...
Downloading sc_trans v2.x ...                                                 

Verifying archive integrity ...                                               
Unpacking archive ...

Installing sc_trans v2.x ...

Registering application in configuration files ...                           
Attempting to notify web control panel of software update ...
Connecting to 127.0.0.1:2199. failed: Connection refused.                     
  > Download error details:                                                   
  > --2012-04-09 01:06:01--  http://127.0.0.1:2199/api.php
  > Connecting to 127.0.0.1:2199... failed: Connection refused.
Error contacting your web control panel
sc_trans v2.x was installed successfully but could not be enabled in Centova Cast
Updating permissions ...
chmod: cannot access `/usr/local/centovacast/var/lock': No such file or directory
chmod: cannot access `/usr/local/centovacast/var/log': No such file or directory
chmod: cannot access `/usr/local/centovacast/var/run': No such file or directory
chown: cannot access `/usr/local/centovacast/var/run': No such file or directory
chown: cannot access `/usr/local/centovacast/var/lock': No such file or directory
chown: cannot access `/usr/local/centovacast/var/backups': No such file or directory
chmod: cannot access `/usr/local/centovacast/var/backups/*': No such file or directory
chmod: cannot access `/usr/local/centovacast/var/backups/*': No such file or directory
chown: cannot access `/usr/local/centovacast/var/backups/web': No such file or directory
chown: cannot access `/usr/local/centovacast/var/backups/control': No such file or directory
Installation successful


===== Installation Complete ==============================================

To complete your installation, please launch the web interface at:

Paul from KL Web Consultants KL Web Consultant
I just got the same error, have you managed to fix this?

I gave up, looked like there was a issue with the installer so waiting for an update from centova...
Paul from KL Web Consultants KL Web Consultant
Don't give up guys, the latest version has even more features, song request widget, running very stable also.

What os are you installing this on? I just installed a second v3 this morning , I had to install both SC1,2 and ices_cc , sc_trans by hand but it's so far doing great. Are you installing on a server with the old Centova on it?
I had problems when I tried that, Centova V3 has everything needed other than MYSQL, I think that it's best if you install on a fresh machine with only Centova and MYSQL, I use CentOS 5.5 x64 MySQL
My Auto DJ
Orlando, FL USA
Quality SHOUTcast Hosting http://myautodj.com
SHOUTcast Widgets http://shoutcastwidgets.com
well i just fired up a VM with rackspace and it works.

with the radio i stoped using cloud hosting due to SAN issues with diffrent providers, so using normal VPS's... would prefer not to buy a new server and move... so i guess time to have a look
Paul from KL Web Consultants KL Web Consultant
Yes I had my provider suspend my account before because it was causing the load to get so high -- and after more tests I see it still has that problem, it was running so good too till I started uploading more mp3's the load just gets higher and higher were your not even able to run a command to see what the problem is :(
My Auto DJ
Orlando, FL USA
Quality SHOUTcast Hosting http://myautodj.com
SHOUTcast Widgets http://shoutcastwidgets.com
ok, thats odd... it just installed... guess the avalible copy got fixed...

only got a licence error that makes sense and know how to fix it :) got the installer screen again... fingers crossed!

Code: [Select]
License validation failed; log:
   Could not open license key file /usr/local/centovacast//etc/license/license.key
   
Trying to update license (this may take a minute or two) ...
License update failed at http://license1.centova.com/license/ (ERR VIOLATION): Unlicensed script path; trying next server ...
License update failed at http://license2.centova.com/license/ (ERR VIOLATION): Unlicensed script path; trying next server ...
License update failed at http://license3.centova.com/license/ (ERR VIOLATION): Unlicensed script path; trying next server ...
No more licensing servers to try
Failed to obtain license update from any licensing server; license update failed
License update failed; product not licensed

   Trying to update license (this may take a minute or two) ...
   License update failed at http://license1.centova.com/license/ (ERR VIOLATION): Unlicensed script path; trying next server ...
   License update failed at http://license2.centova.com/license/ (ERR VIOLATION): Unlicensed script path; trying next server ...
   License update failed at http://license3.centova.com/license/ (ERR VIOLATION): Unlicensed script path; trying next server ...
   No more licensing servers to try
   Failed to obtain license update from any licensing server; license update failed
   License update failed; product not licensed
   


**** WARNING ****
License validation failed.  Daemon will reject all connections until a valid
license is installed
**** WARNING ****
Paul from KL Web Consultants KL Web Consultant
I think you just need to go in to centova account and re-issue the key
My Auto DJ
Orlando, FL USA
Quality SHOUTcast Hosting http://myautodj.com
SHOUTcast Widgets http://shoutcastwidgets.com
had to restart centova via the init.d script after doing the licence thing but...

Account created successfully.

:D
Paul from KL Web Consultants KL Web Consultant
hey,

i was wondering if you would be so kind and post the steps or a url on how to get shoutcast2 and centova installed... i get "Could not start server: Application binary has not been configured for ShoutCast2 " when trying to start the autoDJ.

love this new version... way better
Paul from KL Web Consultants KL Web Consultant
hey,

I have a problem with the installation of V3 shows me the same mistakes that you, as I tried to install on a VPS with CentOS 5.8 and there is no way. I have an installation made ​​of VPS v3 in another few months ago and works perfectly. What operating system as used to install?
Yes I had that problem also I do not think centova is able to automatically install anything, you can easily do it by hand though, had to do each one, SHOUTcast 1 , SHOUTcast 2.... sc_trans and ices_cc -- if you do it right you will see the check mark automatically be checked in the Centova ADMIN under server & auto dj software tabs under the host manager


http://www.centova.com/doc/manuals/centovacast/quickref/addsoftware.html#manually_installed
My Auto DJ
Orlando, FL USA
Quality SHOUTcast Hosting http://myautodj.com
SHOUTcast Widgets http://shoutcastwidgets.com
clopezmoreno - that is what I am running also, do you have anything else on the server such as Centova v2 or another SC control panel?


KL Web Consultants -
The problem I have always had is the server load, I think as long as you upload mp3's without any stream running it is fine, only when I try to upload mp3's (either web based or FTP) and a stream is running at the same time (which will always be the case) the server load goes up very high and I must reboot. Please check that on yours once you get it streaming and see if the load gets out of control while FTPing

 I also am having problem with the YP hash I just set it to private stream and it is not required.
My Auto DJ
Orlando, FL USA
Quality SHOUTcast Hosting http://myautodj.com
SHOUTcast Widgets http://shoutcastwidgets.com
No, it is just a VPS with CentOS 5.8 with no panel or anything
Are you sure your using a valid key?
I m sorry I was wrong I am running CentOS 5.4 x64 but yours should still work I do not thank that matters
My Auto DJ
Orlando, FL USA
Quality SHOUTcast Hosting http://myautodj.com
SHOUTcast Widgets http://shoutcastwidgets.com