Cannot start SAMBA Daemon: Daemon script samba does not exis

Ask questions about Arch Linux ARM. Please search before making a new topic.

Cannot start SAMBA Daemon: Daemon script samba does not exis

Postby chris5h » Tue Jan 29, 2013 3:02 pm

Hello all,

My Samba share are not working. I booted up my PC this morning and my network drives I map to a pair of SAmba shares from my pogoplug are not there. I rebooted my Pogoplug and no luck. Oddly, I cannot start Samba now. This is what it says:

$this->bbcode_second_pass_code('', '
[root@alarm samba]# rc.d start samba
:: Daemon script samba does not exist or is not executable.
[root@alarm samba]# rc.d list
[STOPPED][ ] avahi-daemon
[STOPPED][ ] avahi-dnsconfd
[STARTED][AUTO] crond
[STOPPED][ ] dbus
[STOPPED][ ] ftpd
[STOPPED][ ] hwclock
[STOPPED][ ] ip6tables
[STOPPED][ ] iptables
[STOPPED][ ] krb5-kadmind
[STOPPED][ ] krb5-kdc
[STOPPED][ ] krb5-kpropd
[STOPPED][ ] mdadm
[STARTED][ ] minidlna
[STARTED][AUTO] netfs
[STARTED][AUTO] network
[STARTED][AUTO] nginx
[STARTED][AUTO] openntpd
[STOPPED][ ] ppp
[STARTED][AUTO] sshd
[STOPPED][AUTO] syslog-ng
[STARTED][AUTO] transmissiond
[STARTED][AUTO] webmin
[root@alarm samba]#
')

Samba is still installed, and my config is there, but it is like it can no longer be executed. I am not sure what I did other than last night I was trying out Mediatomb instead of Minidlna and switched back but I cannot imagine that would hurt it. I tried uninstalling/reinstalling Samba and I get the same result. I checked the guides here http://archlinuxarm.org/support/guides/ ... ions/samba and here https://wiki.archlinux.org/index.php/Samba and nothing.

Please help.

TIA everyone.
chris5h
 
Posts: 44
Joined: Mon May 14, 2012 1:18 pm

Re: Cannot start SAMBA Daemon: Daemon script samba does not

Postby WarheadsSE » Tue Jan 29, 2013 3:40 pm

Which pogoplug do you have? It may be time to move to systemd, if you haven't already, and the device supports it.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Cannot start SAMBA Daemon: Daemon script samba does not

Postby chris5h » Tue Jan 29, 2013 4:54 pm

I believe a Pogoplug v2. I hate to ask a dumb question, but what is systemd? I usually do not mess with my Pogoplug as it really just works and I am happy with it so I am a little behind on things?

Thanks you so much for the help.
chris5h
 
Posts: 44
Joined: Mon May 14, 2012 1:18 pm

Re: Cannot start SAMBA Daemon: Daemon script samba does not

Postby BinaryJay » Tue Jan 29, 2013 7:10 pm

Ran into the same thing, I copied the script from another plug to get it going again as a downgrade didn't work.

I also haven't looked into systemd or how it replaces the statup scripts in rc.conf?
BinaryJay
 
Posts: 87
Joined: Mon Dec 06, 2010 10:27 pm

Re: Cannot start SAMBA Daemon: Daemon script samba does not

Postby pepedog » Tue Jan 29, 2013 8:31 pm

I hated the thought of systemd, now I wonder why it hasn't always been that way.
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Cannot start SAMBA Daemon: Daemon script samba does not

Postby chris5h » Tue Jan 29, 2013 10:59 pm

How do I upgrade to systemd?
chris5h
 
Posts: 44
Joined: Mon May 14, 2012 1:18 pm

Re: Cannot start SAMBA Daemon: Daemon script samba does not

Postby pepedog » Tue Jan 29, 2013 11:19 pm

Read whole thread
viewtopic.php?f=18&t=4961
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Cannot start SAMBA Daemon: Daemon script samba does not

Postby chris5h » Tue Jan 29, 2013 11:44 pm

Did I do something wrong?

$this->bbcode_second_pass_code('', '

[root@localhost ~]# systemd
Failed to make us a subreaper: Invalid argument
Perhaps the kernel version is too old (< 3.4?)
Failed to open private bus connection: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11

')
chris5h
 
Posts: 44
Joined: Mon May 14, 2012 1:18 pm

Re: Cannot start SAMBA Daemon: Daemon script samba does not

Postby pepedog » Wed Jan 30, 2013 12:04 am

I hope you don't have an OXNAS device, ie pro,v3
What is your kernel version?
uname -a
Basically you are installing systemd-sysvcompat, putting in 2 symlinks to bring up network and ssh server,systemd doesn't work until reboot. Nothing fatal until initscripts removed, that removes rc.conf
If you do this you can see what it is going to be once rebooted
ls -l /sbin/init
Read this $this->bbcode_second_pass_code('', 'https://wiki.archlinux.org/index.php/SystemD')

Don't do it if kernel is 2.x
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Cannot start SAMBA Daemon: Daemon script samba does not

Postby chris5h » Wed Jan 30, 2013 5:14 am

$this->bbcode_second_pass_quote('pepedog', 'I') hope you don't have an OXNAS device, ie pro,v3
What is your kernel version?
uname -a
Basically you are installing systemd-sysvcompat, putting in 2 symlinks to bring up network and ssh server,systemd doesn't work until reboot. Nothing fatal until initscripts removed, that removes rc.conf
If you do this you can see what it is going to be once rebooted
ls -l /sbin/init
Read this $this->bbcode_second_pass_code('', 'https://wiki.archlinux.org/index.php/SystemD')

Don't do it if kernel is 2.x

$this->bbcode_second_pass_code('', '
Linux localhost 3.1.10-15-ARCH #1 PREEMPT Wed Dec 12 15:25:18 UTC 2012 armv5tel GNU/Linux
')

$this->bbcode_second_pass_code('', '
lrwxrwxrwx 1 root root 26 Jan 16 10:38 /sbin/init -> ../usr/lib/systemd/systemd
')

I have a Pogoplug V2. I am really appreciative of the help. I do not know what I am doing worng here, I jsut wish I could get my Samba to work :(
chris5h
 
Posts: 44
Joined: Mon May 14, 2012 1:18 pm

Next

Return to User Questions

Who is online

Users browsing this forum: No registered users and 43 guests