Chkconfig <service name> on

deaner

Senior member
Mar 13, 2009
632
1
81
Ok,

So I have Citrix CloudPlatform Management and NFS running on Centos 6.3 No issues with the install except it does not matter for the life of me, why when setting the Cloudstack-Management service to start at boot - its always dead?

Second.. some pointers on troubleshooting the service as a whole - it likes to stop randomly.

Thanks.
 

mv2devnull

Golden Member
Apr 13, 2010
1,503
145
106
1. You should update. 6.3 is not the latest 6.x any more.

2. Does that service have any kind of debugging options? Verbosity setting? /var/log/messages?
 

Scarpozzi

Lifer
Jun 13, 2000
26,389
1,778
126
1. You should update. 6.3 is not the latest 6.x any more.

2. Does that service have any kind of debugging options? Verbosity setting? /var/log/messages?

If you install 6.3, as long as the packages are compatible with the applications you're running and you don't need a newer version of something, they'll get all the security patches... I don't see a need to upgrade to 6.5.

I don't know much about that particular app, but there's a chance that it's starting too soon or in the wrong runlevel. I've not played with Cloudstack-Management, but what you could do is go to the startup script and throw a delay in it to see if that helps.

Definitely check /var/log/cloud/management and look at the management-server.log

I believe that's a tomcat app, so make sure the startup script in /etc/init.d/ is citing the correct install location and settings. I typically have all of my tomcat apps set to manually start simply because they require database connections and have other dependencies that may keep them from starting up. For that reason, I typically script my own startup/shutdown scripts to control all systems required for a particular app to function.
 

deaner

Senior member
Mar 13, 2009
632
1
81
If you install 6.3, as long as the packages are compatible with the applications you're running and you don't need a newer version of something, they'll get all the security patches... I don't see a need to upgrade to 6.5.

I don't know much about that particular app, but there's a chance that it's starting too soon or in the wrong runlevel. I've not played with Cloudstack-Management, but what you could do is go to the startup script and throw a delay in it to see if that helps.

Definitely check /var/log/cloud/management and look at the management-server.log

I believe that's a tomcat app, so make sure the startup script in /etc/init.d/ is citing the correct install location and settings. I typically have all of my tomcat apps set to manually start simply because they require database connections and have other dependencies that may keep them from starting up. For that reason, I typically script my own startup/shutdown scripts to control all systems required for a particular app to function.

Appreciate the direction - good points here, thank you.
 

deaner

Senior member
Mar 13, 2009
632
1
81
1. You should update. 6.3 is not the latest 6.x any more.

2. Does that service have any kind of debugging options? Verbosity setting? /var/log/messages?

Yes, I have been oggleing through some logs but nothing definitive as of yet -
 

mv2devnull

Golden Member
Apr 13, 2010
1,503
145
106
they'll get all the security patches... I don't see a need to upgrade to 6.5.
6.5 is the security patch for 6.3. If you somehow have 6.3 and do
Code:
yum update
The yum will fetch from repository packages for 6 and for a while still they are 6.5 packages. When 6.6 is released, there will be no more patches for 6.5 (or any previous version). The only way to avoid this default behaviour is to explicitly lock to (archived) older repository branches.
 

Red Squirrel

No Lifer
May 24, 2003
67,917
12,379
126
www.anyf.ca
I've seen this happen for whatever reason a service wont start properly at start even if it's set.

I usually end up just putting service [nnn] start in /etc/rc.local. Kind of dirty but it works.

Has anyone played with CentOS 7 yet? I'm not sure if I'm a fan of it, they changed quite a lot of stuff. They seem to want to depricate the service and chkconfig commands, among other things and replace with a new command called systemctl.
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |