DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2009-05-04 21:36:09

ewantoo
New member
Registered: 2009-05-04
Posts: 2

Samba restarting every 5 minutes

Hi, I'm getting very confused by Samba on my DNS-323.

I've tried upgrading to the ffp extra-packages version of Samba, which seems to run fine, but I've found that every 5 minutes my dns-323 is running smb restart, killing the ffp samba and restarting the original samba.

The reason why I was upgrading was to try and resolve an issue where Samba file copies over a few minutes long get killed off, which makes me think it was happening even on the original version of Samba.

Does anyone have any idea why, it seems to be init that's restarting the Samba processes but I'm struggling to figure out why.

Thanks,
Ewan

Offline

 

#2 2009-05-04 22:12:44

ewantoo
New member
Registered: 2009-05-04
Posts: 2

Re: Samba restarting every 5 minutes

For now I've renamed /usr/bin/smb to /usr/bin/smb.orig and Samba has stopped being re-started, but it would obviously good to find out the real cause

Offline

 

#3 2009-05-27 15:55:50

erickous
New member
Registered: 2009-05-26
Posts: 2

Re: Samba restarting every 5 minutes

I'm having the same problem.  Has anyone had luck coming up with a solution to this yet?

Offline

 

#4 2009-05-28 00:02:08

michalzxc
Member
Registered: 2008-08-04
Posts: 9

Re: Samba restarting every 5 minutes

I have firmware version 1.08 and my samba was killed after each addons installation/start/stop.
So I added that to my fun_plug.local:
rm /usr/bin/smbd
rm /usr/bin/nmbd
mkdir /tmp/empty
mount -o bind /tmp/empty/ /usr/sbin/samba/

Removing /usr/bin/smbd and /usr/bin/nmbd wasn't enough

Last edited by michalzxc (2009-05-28 00:16:46)

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB