Satyajit Ranjeev

My rants on development and design

Samba stuck on service smb start

with one comment

I had set up a CentOS server last year, if you remember with a RAID setup. Things had been going on very well for more than a year and a half. A few weeks back one of the hard disks issue warning that it had bad sectors and needed replacement. Thus we bought a new hard disk and replaced it. And thankfully to the RAID system I did not have to get it offline. 

After the replacement of the HDD I had a strange problem today. The samba service I had setup suddenly failed. The Samba server would just not start. I tried restarting it and trying all tricks but just in vain. Then I logged into freenode #samba and asked for help. And thankfully one of them was able to direct me to solving the issue.

The problem I had was when I tried starting samba using service smb start the command would just hang there. After looking through the strace smbd -i command he was able to tell me that the problem was due to the cups service. It had not been started, strangely.

Any ways that led me to update my samba to 3.5 from 3.1. So if you guys face similar issue try checking the cups service.

Advertisement

Written by Ranjeev Satyajit

December 13, 2010 at 8:34 am

Posted in Trouble-shooting

One Response

Subscribe to comments with RSS.

  1. Thanks for your tip
    /etc/init.d/cups start

    and smb is working fine

    nitin

    September 16, 2011 at 10:08 am


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.