Community
 
 
 

CloudPlatform 3.x

343 seguidores
 
Avatar
Pankaj Paliwal

Unable to start cloud-management service

Avatar

Unable to start cloud-management service

This is a new installation of CCP 3.0.6-x on CentOS 6.2 , the installation completes OK with no errors but the cloud-management service does not come up, when I check it with *service cloud-management status* I get this message:

service cloud-management status
cloud-management dead but pid file exists
The pid file locates at /var/run/cloud-management.pid and lock file at /var/lock/subsys/cloud-management.
Starting cloud-management will take care of them or you can manually clean up.
root@cpman ~#

I tried deleting the pid file and restarting the service, still no go

Any ideas ?

-Oded


Oded Nahum CITRIX EMPLOYEES
7 comentários
0

iniciar sessão para comentar.

 
 

Previous 7 comentários

Avatar
Pankaj Paliwal
Avatar

Unable to start cloud-management service

This usually indicates that the java process has failed to start or died before fully starting. I would take a look at management-server.log and catalina.out in /var/log/cloud/management. Look for any errors especially around the database.

I've seem a lot of folks miss the mysql grants portion of the install, which can cause the behavior you're seeing.

--Mike


Mike Little MEMBERS
Ações de comentário Permalink
Avatar
Pankaj Paliwal
Avatar

the management-server.log file never gets created since the process never starts, catalina.out only has 3 lines:

/usr/sbin/tomcat6: line 30: /usr/share/cloud/management/logs/catalina.out: Permission denied
/usr/sbin/tomcat6: line 30: /usr/share/cloud/management/logs/catalina.out: Permission denied
/usr/sbin/tomcat6: line 30: /usr/share/cloud/management/logs/catalina.out: Permission denied

-Oded


Oded Nahum CITRIX EMPLOYEES
Ações de comentário Permalink
Avatar
Pankaj Paliwal
Avatar

i have the exact same problem ...
tried it with centos 6.2 and 6.4, even on vmware workstation and virtualbox. always the same effect. all goes well with status ok and when i do cloud-setup-management its says OK too but i cant see the ui, even the tomcat is not running, with netstat -plnt | grep 8080 i see nothing listening. if i do a service tomcat6 start, tomcat is running, but on http://<ip>:8080 and http://<ip>:8080/client i only get a blank page, no content ...
i tried installing without mysql password and with password ... nothing changes, setup goes all well and then at the end no UI ...
with the command service cloud-management statis i get exact same output as oded ...

i am trying it with this release of cloudplatform: CloudStack-3.0.6.1-trial-rhel6.2.tar.gz

i am new to linux so i am limited in doing research, but a friend of mine tried to help me but he couldnt help me out. he thinks that its somethin with the apache maybe, but we could no indicate an error ...


Martin Slowikowski MEMBERS
Ações de comentário Permalink
Avatar
Pankaj Paliwal
Avatar

while googleing just found this:
http://www.mail-archive.com/issues@cloudstack.apache.org/msg06550.html

they did:
chmod 777 /usr/share/cloud/management/logs/catalina.out

helped me too, entered this cmd and did cloud-setup-management and tada, netstat showed listening connection on 8080 and UI came up ... dont know, what the error was nor why this cmd fixed it ... maybe it also helps you


Martin Slowikowski MEMBERS
Ações de comentário Permalink
Avatar
Pankaj Paliwal
Avatar

Okay, this is starting to make more sense. CloudPlatform runs tomcat as the 'cloud' user, it that use doesn't have the ability to write to catalina.out, that would be a problem.

The chmod command gives everyone read, write, and execute permissions to that file. Execute permissions shouldn't be required, so 'chmod 666' would actually be better. Even better, would be ensure that the 'cloud' user owns the file. I guessing that it is currently owned by the 'root' user.

I'm note sure this will solve the original question, in this thread, but it is worth taking a look that the permissions of catalina.out.

--Mike


Mike Little MEMBERS
Ações de comentário Permalink
Avatar
Pankaj Paliwal
Avatar

Was also having problems with this until I changed permission on Catalina.out - Just changed the owner to cloud, seems OK at the moment.


Sean Corrigan MEMBERS
Ações de comentário Permalink
Avatar
Pankaj Paliwal
Avatar

Hello folks,

same problem as above, same solution. Changing to 777 and the service is up and running.

Cheers Olaf


Olaf Schäfer MEMBERS
Ações de comentário Permalink

Top Contributors