LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 03-30-2012, 04:35 AM   #1
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: Fedora,RedHat,CentOS,Gentoo
Posts: 1,138
Blog Entries: 4

Rep: Reputation: 147Reputation: 147
Question 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
 
Old 03-30-2012, 06:30 AM   #2
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Dehradun, Uttarakhand, India
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,413

Rep: Reputation: 303Reputation: 303Reputation: 303Reputation: 303
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.
 
1 members found this post helpful.
Old 03-30-2012, 08:48 AM   #3
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: Fedora,RedHat,CentOS,Gentoo
Posts: 1,138
Blog Entries: 4

Original Poster
Rep: Reputation: 147Reputation: 147
Post

Quote:
Originally Posted by Satyaveer Arya View Post
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.
 
Old 03-30-2012, 10:15 AM   #4
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Dehradun, Uttarakhand, India
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,413

Rep: Reputation: 303Reputation: 303Reputation: 303Reputation: 303
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?
 
Old 04-02-2012, 01:40 PM   #5
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: Fedora,RedHat,CentOS,Gentoo
Posts: 1,138
Blog Entries: 4

Original Poster
Rep: Reputation: 147Reputation: 147
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!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
CentOS6.2 + p3scan 3.0-1 : no work ??? chengli Linux - Server 1 10-04-2012 06:21 AM
encfs will not configure on centos6 unkie888 Linux - Software 1 02-09-2012 10:44 AM
Win7 - VirtualBox - CentOS6 jtt89 Linux - Virtualization and Cloud 1 11-20-2011 04:22 PM
Building gcc 4.5 on CentOS6 Dan1 Linux - Software 6 10-18-2011 02:28 PM
How to use Samba in centos6 arnold1070 Linux - Newbie 9 10-06-2011 11:04 PM


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

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration