LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Centos6 .2 and glusterfs-3.2 (https://www.linuxquestions.org/questions/linux-newbie-8/centos6-2-and-glusterfs-3-2-a-937238/)

prayag_pjs 03-30-2012 04:35 AM

Centos6 .2 and glusterfs-3.2
 
Hi,

I have created two node glusterfs cluster. I have Centos6 .2 and glusterfs-3.2 on both the peers.

Both working fine, but when I restart the one of the peer node glusterd remains stop and i have to manually start it, even though its added in chkconfig list.
After reboot when I check status using /etc/init.d/glusterd status it says server dead but pid exists.

When I start /etc/init.d/glusterd restart everything works fine.

Is there any bug or it does'nt work for Centos 6.2?

Please let me kno

Satyaveer Arya 03-30-2012 06:30 AM

Look if pid is out there of glusterd service with pidof command:

Code:

# pidof glusterd
If there is one then kill it and restart the glusterd service.

prayag_pjs 03-30-2012 08:48 AM

Quote:

Originally Posted by Satyaveer Arya (Post 4640545)
Look if pid is out there of glusterd service with pidof command:

Code:

# pidof glusterd
If there is one then kill it and restart the glusterd service.

Thanks!! but I don't want to check and kill PID every time I restart the server. It happens all the time, I have to restart glusterd whenever I reboot server.

Satyaveer Arya 03-30-2012 10:15 AM

Check /var/run for a file with glusterd.pid and remove it. And then again try to restart the service.

Maybe this file isn't getting deleted?

prayag_pjs 04-02-2012 01:40 PM

I have told already that I dont want to kill the pid and restart the server agian and again.. I am missing just a small thing
what I don't know!


All times are GMT -5. The time now is 05:34 PM.