odd samba issue

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

odd samba issue

Postby evilhomer » Mon Apr 30, 2012 10:36 pm

Hello,

I installed Archlinux on my v2 pink Pogoplug this weekend. I've been feeling my way around, and everything's been steadily progressing. I'm having an odd samba issue, I can't seem to pin down.

I reboot, and my usb hard drive is mounted. Samba's set to share the /media directory.

But samba's not answering on 445 or 139. I check the service, and it's running. So I restart samba. Then everything is fine.

This is repeatable every time. I can't figure out why I have to log in and restart samba each time. I'm not seeing anything useful in /var/log/samba/*

Any ideas? Or other places I could be checking for clues?

Thanks.
evilhomer
 
Posts: 9
Joined: Mon Apr 30, 2012 10:29 pm

Re: odd samba issue

Postby xenoxaos » Tue May 01, 2012 11:03 am

I had that same issue last year....it doesn't do it anymore for me since i wiped the drive. But for a workaround I just added /etc/rc.d/samba restart to my rc.local, I know it's a lazy way to do it and doesn't actually address what's wrong...but it worked.
Arch Linux ARM exists and continues to grow through community support, please donate today!
xenoxaos
Developer
 
Posts: 323
Joined: Thu Jan 06, 2011 1:45 am

Re: odd samba issue

Postby evilhomer » Tue May 01, 2012 12:31 pm

Thank you xenoxaos. I actually tried the same thing. But the restart seems to occur too early to help me. I would need it to occur later in the boot process (apparently).

Lazy's ok, as long as it works!

Thanks.
evilhomer
 
Posts: 9
Joined: Mon Apr 30, 2012 10:29 pm

Re: odd samba issue

Postby evilhomer » Tue May 01, 2012 8:03 pm

Actually it's inconsistent. This time it worked. I don't plan to reboot it often, but would be great to not have to worry about it.

Thanks.
evilhomer
 
Posts: 9
Joined: Mon Apr 30, 2012 10:29 pm

Re: odd samba issue

Postby xenoxaos » Tue May 01, 2012 9:03 pm

Then add a

$this->bbcode_second_pass_code('', 'sleep 30')

to you rc.local before the samba restart.
Arch Linux ARM exists and continues to grow through community support, please donate today!
xenoxaos
Developer
 
Posts: 323
Joined: Thu Jan 06, 2011 1:45 am

Re: odd samba issue

Postby evilhomer » Wed May 02, 2012 6:46 pm

Perfect, thank you!
evilhomer
 
Posts: 9
Joined: Mon Apr 30, 2012 10:29 pm


Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 2 guests