CLOSED: Samba won't start

thomasps
Posts: 138
Joined: Fri Feb 18, 2011 1:49 pm

CLOSED: Samba won't start

Postby thomasps » Sun Aug 17, 2014 8:02 pm

After a new install of Amahi 7, my samba server won't start.
I'm not sure how to troubleshoot. Thanks.
Image

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Samba won't start

Postby bigfoot65 » Mon Aug 18, 2014 2:33 am

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.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

thomasps
Posts: 138
Joined: Fri Feb 18, 2011 1:49 pm

Re: Samba won't start

Postby thomasps » Mon Aug 18, 2014 8:41 pm

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.

thomasps
Posts: 138
Joined: Fri Feb 18, 2011 1:49 pm

Re: Samba won't start

Postby thomasps » Wed Aug 20, 2014 6:19 pm

:?: Anyone?

thomasps
Posts: 138
Joined: Fri Feb 18, 2011 1:49 pm

Re: Samba won't start

Postby thomasps » Sat Aug 30, 2014 12:49 pm

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.

thomasps
Posts: 138
Joined: Fri Feb 18, 2011 1:49 pm

Re: Samba won't start

Postby thomasps » Sun Aug 31, 2014 3:39 pm

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...

TLS
Posts: 6
Joined: Tue Nov 25, 2014 2:48 pm

Re: Samba won't start

Postby TLS » Tue Nov 25, 2014 2:54 pm

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.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Samba won't start

Postby bigfoot65 » Tue Nov 25, 2014 3:14 pm

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.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

TLS
Posts: 6
Joined: Tue Nov 25, 2014 2:48 pm

Re: Samba won't start

Postby TLS » Tue Nov 25, 2014 4:00 pm

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.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Samba won't start

Postby bigfoot65 » Tue Nov 25, 2014 5:39 pm

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.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Who is online

Users browsing this forum: No registered users and 21 guests