I've used Samba on my pink Pogoplug for a couple of months now and never had any problem. Until a few weeks ago, my pogoplug was acting strange. Turned out that my hostname was changed from 'Arch Linux ARM install' to 'Arch Linux ARM'. I still haven't found out how that happened, but I changed it back to 'Arch Linux ARM install' again. However, from that moment my Samba daemon refuses to start. I get the following output:
$this->bbcode_second_pass_code('', '
[root@Arch Linux ARM install ~]# /etc/rc.d/samba start
:: Starting Samba Server [BUSY]
/usr/sbin/smbd: error while loading shared libraries: /lib/libpopt.so.0: invalid ELF header
/usr/sbin/nmbd: error while loading shared libraries: /lib/libpopt.so.0: invalid ELF header
[FAIL]
')
My smb.conf looks like this:
$this->bbcode_second_pass_code('', '
[global]
workgroup = my_workgroup_name
server string = Arch Linux ARM install
netbios name = Arch Linux ARM install
security = share
load printers = no
printing = bsd
printcap name = /dev/null
disable spools = yes
log file = /var/log/samba/%m.log
max log size = 50
dns proxy = no
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=131072 SO_SNDBUF=131072 SO_KEEPALIVE
[my_share_name]
path = /media/my_path_name
read only = no
public = yes
writable = yes
force user = root
')
The path leads to an folder on a USB hard drive. Things I've already tried:
- Changing my hostname back to 'Arch Linux ARM' and also updated the smb.conf with the new hostname.
- Updated Samba through Pacman
Can anybody help me with this, because I can't figure out how to solve this.