Page 1 of 4

CLOSED: Samba won't start

Posted: Sun Aug 17, 2014 8:02 pm
by thomasps
After a new install of Amahi 7, my samba server won't start.
I'm not sure how to troubleshoot. Thanks.
Image

Re: Samba won't start

Posted: Mon Aug 18, 2014 2:33 am
by bigfoot65
Check via command line to see why.

Code: Select all

systemctl status smb
Also take a look at the /var/log/samba/smbd.log file.

Re: Samba won't start

Posted: Mon Aug 18, 2014 8:41 pm
by thomasps
Check via command line to see why.

Code: Select all

systemctl status smb
Also take a look at the /var/log/samba/smbd.log file.
Here's the result... seems like something is missing:

Code: Select all

smb.service - Samba SMB Daemon Loaded: loaded (/usr/lib/systemd/system/smb.service; enabled) Active: failed (Result: exit-code) since Mon 2014-08-18 21:37:32 MDT; 44s ago Process: 8600 ExecStart=/usr/sbin/smbd $SMBDOPTIONS (code=exited, status=1/FAILURE) Aug 18 21:37:32 h185.speidel.ca smbd[8600]: /usr/sbin/smbd: /usr/lib64/samba/libndr-samba.so: version `SAMBA_4.0.8' not found (required by /usr/sbin/smbd) Aug 18 21:37:32 h185.speidel.ca smbd[8600]: /usr/sbin/smbd: /usr/lib64/samba/libsmbd_shim.so: version `SAMBA_4.0.8' not found (required by /usr/sbin/smbd) Aug 18 21:37:32 h185.speidel.ca smbd[8600]: /usr/sbin/smbd: /usr/lib64/samba/libsecrets3.so: version `SAMBA_4.0.8' not found (required by /usr/sbin/smbd) Aug 18 21:37:32 h185.speidel.ca smbd[8600]: /usr/sbin/smbd: /usr/lib64/samba/libpopt_samba3.so: version `SAMBA_4.0.8' not found (required by /usr/sbin/smbd) Aug 18 21:37:32 h185.speidel.ca smbd[8600]: /usr/sbin/smbd: /usr/lib64/samba/libcliauth.so: version `SAMBA_4.0.8' not found (required by /usr/sbin/smbd) Aug 18 21:37:32 h185.speidel.ca smbd[8600]: /usr/sbin/smbd: /usr/lib64/samba/libsamba3-util.so: version `SAMBA_4.0.8' not found (required by /usr/sbin/smbd) Aug 18 21:37:32 h185.speidel.ca smbd[8600]: /usr/sbin/smbd: /usr/lib64/samba/libsmbd_base.so: version `SAMBA_4.0.8' not found (required by /usr/sbin/smbd) Aug 18 21:37:32 h185.speidel.ca systemd[1]: smb.service: control process exited, code=exited status=1 Aug 18 21:37:32 h185.speidel.ca systemd[1]: Failed to start Samba SMB Daemon. Aug 18 21:37:32 h185.speidel.ca systemd[1]: Unit smb.service entered failed state.

Re: Samba won't start

Posted: Wed Aug 20, 2014 6:19 pm
by thomasps
:?: Anyone?

Re: Samba won't start

Posted: Sat Aug 30, 2014 12:49 pm
by thomasps
I found the problem to be the VNC app. I did a fresh reinstall and confimed the Samba server was working. As soon as I installed VNC, samba stops working. It looks like there is a problem with the VNC app.

Re: Samba won't start

Posted: Sun Aug 31, 2014 3:39 pm
by thomasps
This is frustrating... After yet another fresh install of Amahi I gave it another try to install VNC. First time, it returned errors. Second time around it installed it by, again, broke Samba.

Here's the log: http://ur1.ca/i3gxj
Notice how shellinabox also failed...

Re: Samba won't start

Posted: Tue Nov 25, 2014 2:54 pm
by TLS
I too had Samba crash after installing VNC. Finally had to re-install Amahi 7 express. (twice)

gave up trying to find a fix.

I think VNC is a nice feature for headless system but it needs to work and not crash samba file server.

Re: Samba won't start

Posted: Tue Nov 25, 2014 3:14 pm
by bigfoot65
This needs further investigation. I have tested VNC and not had it crash Samba. Please provide some log entries to help determine the root cause.

Check in /var/log/amahi-app-isntaller.log or any other log that you thin may be relevant.

Re: Samba won't start

Posted: Tue Nov 25, 2014 4:00 pm
by TLS
It's pointless to look at the log file at this time since it was erased when I re-installed amahi 7 express. However the smb status prior to re-install looked identical to one posted above.


smb.service - Samba SMB Daemon
Loaded: loaded (/usr/lib/systemd/system/smb.service; enabled)
Active: failed (Result: exit-code) since Mon 2014-08-18 21:37:32 MDT; 44s ago
Process: 8600 ExecStart=/usr/sbin/smbd $SMBDOPTIONS (code=exited, status=1/FAILURE)

Aug 18 21:37:32 h185.speidel.ca smbd[8600]: /usr/sbin/smbd: /usr/lib64/samba/libndr-samba.so: version `SAMBA_4.0.8' not found (required by /usr/sbin/smbd)
Aug 18 21:37:32 h185.speidel.ca smbd[8600]: /usr/sbin/smbd: /usr/lib64/samba/libsmbd_shim.so: version `SAMBA_4.0.8' not found (required by /usr/sbin/smbd)
Aug 18 21:37:32 h185.speidel.ca smbd[8600]: /usr/sbin/smbd: /usr/lib64/samba/libsecrets3.so: version `SAMBA_4.0.8' not found (required by /usr/sbin/smbd)
Aug 18 21:37:32 h185.speidel.ca smbd[8600]: /usr/sbin/smbd: /usr/lib64/samba/libpopt_samba3.so: version `SAMBA_4.0.8' not found (required by /usr/sbin/smbd)
Aug 18 21:37:32 h185.speidel.ca smbd[8600]: /usr/sbin/smbd: /usr/lib64/samba/libcliauth.so: version `SAMBA_4.0.8' not found (required by /usr/sbin/smbd)
Aug 18 21:37:32 h185.speidel.ca smbd[8600]: /usr/sbin/smbd: /usr/lib64/samba/libsamba3-util.so: version `SAMBA_4.0.8' not found (required by /usr/sbin/smbd)
Aug 18 21:37:32 h185.speidel.ca smbd[8600]: /usr/sbin/smbd: /usr/lib64/samba/libsmbd_base.so: version `SAMBA_4.0.8' not found (required by /usr/sbin/smbd)
Aug 18 21:37:32 h185.speidel.ca systemd[1]: smb.service: control process exited, code=exited status=1
Aug 18 21:37:32 h185.speidel.ca systemd[1]: Failed to start Samba SMB Daemon.
Aug 18 21:37:32 h185.speidel.ca systemd[1]: Unit smb.service entered failed state.

Re: Samba won't start

Posted: Tue Nov 25, 2014 5:39 pm
by bigfoot65
I would not say it's pointless, but rather not possible since you reinstalled. We would like to help diagnose the problem should this happen again.

We have had very few complaints with this app, so there must be something causing the issue that is not routine.