CLOSED: Samba won't start

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

Re: Samba won't start

Postby TLS » Wed Nov 26, 2014 8:02 am

OK I tried to install VNC one last time with the same result. Except both samba server and VNC sever not running and can not start them thru dashboard.

I can access the HDA sever thru ShellinAbox. but not being an expert on fedora, don't know what command to use to view the log file

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

Re: Samba won't start

Postby bigfoot65 » Wed Nov 26, 2014 12:55 pm

Please check the following log files for errors:

A. /var/log/amahi-app-installer.log
B. /var/log/samba/smbd.log
C. /var/log/samba/log.smbd

Share any errors here, but do not post the entire log. There is something not installing correctly that is causing the issue.
ßî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 » Wed Nov 26, 2014 1:28 pm

Sorry, but I am not very computer literate. and don't know how to view a file from terminal mode.

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

Re: Samba won't start

Postby bigfoot65 » Wed Nov 26, 2014 1:38 pm

You can do the following:

Code: Select all

cat /var/log/amahi-app-installer.log |more
ßî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 » Wed Nov 26, 2014 2:25 pm

Thanks for your reply. Since I keep my files on the server I can't afford to spend much more time trying to sort this out. I re-installed Amahi 7 express. I loaded gnome manually in terminal prior to installing VNC. This procedure didn't crash samba. However VNC sever couldn't be started for some reason. I un-installed VNC and am currently rebuilding my files. about 450gig.

I like the headless feature in Amahi 7. But I also liked being able to install "Lucky Backup" and use a USB drive for my backups since LuckyBackup has a sync feature keeping duplicates of my files and where if the server fails I can just plug the drive into another computer and have access to all my files without any additional software.

Here is info from samba log

[root@localhost TLS]# cat /var/log/samba/smbd.log |more
[2014/11/26 12:01:23.851557, 0] ../source3/smbd/server.c:1280(main)
standard input is not a socket, assuming -D option
DBI connect('database=hda_production;host=localhost','amahihda',...) failed: Can't connect to local MySQL server th
rough socket '/var/lib/mysql/mysql.sock' (2) at /usr/share/hda-platform/hda-usermap line 68.
[2014/11/26 12:01:26.280102, 0] ../source3/printing/print_cups.c:151(cups_connect)
Unable to connect to CUPS server localhost:631 - Transport endpoint is not connected
[2014/11/26 12:01:26.280617, 0] ../source3/printing/print_cups.c:528(cups_async_callback)
failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL
[2014/11/26 12:14:26.879707, 0] ../source3/printing/print_cups.c:151(cups_connect)
Unable to connect to CUPS server localhost:631 - Transport endpoint is not connected
[2014/11/26 12:14:26.880179, 0] ../source3/printing/print_cups.c:528(cups_async_callback)
failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL
[2014/11/26 12:27:27.576746, 0] ../source3/printing/print_cups.c:151(cups_connect)
Unable to connect to CUPS server localhost:631 - Transport endpoint is not connected
[2014/11/26 12:27:27.577215, 0] ../source3/printing/print_cups.c:528(cups_async_callback)
failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL
[2014/11/26 12:40:28.271048, 0] ../source3/printing/print_cups.c:151(cups_connect)
Unable to connect to CUPS server localhost:631 - Transport endpoint is not connected
[2014/11/26 12:40:28.271541, 0] ../source3/printing/print_cups.c:528(cups_async_callback)
failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL
[2014/11/26 12:44:52.950521, 0] ../lib/util/pidfile.c:153(pidfile_unlink)
Failed to delete pidfile /run/smbd.pid. Error was No such file or directory
[2014/11/26 12:45:36.611552, 0] ../source3/smbd/server.c:1280(main)
standard input is not a socket, assuming -D option
DBI connect('database=hda_production;host=localhost','amahihda',...) failed: Can't connect to local MySQL server th
rough socket '/var/lib/mysql/mysql.sock' (2) at /usr/share/hda-platform/hda-usermap line 68.
[2014/11/26 12:45:38.219619, 0] ../source3/printing/print_cups.c:151(cups_connect)
Unable to connect to CUPS server localhost:631 - Transport endpoint is not connected
[2014/11/26 12:45:38.220172, 0] ../source3/printing/print_cups.c:528(cups_async_callback)
failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL
[2014/11/26 12:52:16.605363, 0] ../lib/util/pidfile.c:153(pidfile_unlink)
Failed to delete pidfile /run/smbd.pid. Error was No such file or directory
[2014/11/26 12:52:59.435179, 0] ../source3/smbd/server.c:1280(main)
standard input is not a socket, assuming -D option
DBI connect('database=hda_production;host=localhost','amahihda',...) failed: Can't connect to local MySQL server th
rough socket '/var/lib/mysql/mysql.sock' (2) at /usr/share/hda-platform/hda-usermap line 68.
[2014/11/26 12:53:00.370108, 0] ../source3/printing/print_cups.c:151(cups_connect)
Unable to connect to CUPS server localhost:631 - Transport endpoint is not connected
[2014/11/26 12:53:00.370827, 0] ../source3/printing/print_cups.c:528(cups_async_callback)
failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL
[2014/11/26 13:06:01.192027, 0] ../source3/printing/print_cups.c:151(cups_connect)
Unable to connect to CUPS server localhost:631 - Transport endpoint is not connected
[2014/11/26 13:06:01.212590, 0] ../source3/printing/print_cups.c:528(cups_async_callback)
failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL
[2014/11/26 13:19:01.806070, 0] ../source3/printing/print_cups.c:151(cups_connect)
Unable to connect to CUPS server localhost:631 - Transport endpoint is not connected
[2014/11/26 13:19:01.806562, 0] ../source3/printing/print_cups.c:528(cups_async_callback)
failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL
[2014/11/26 13:29:37.296127, 0] ../lib/util/pidfile.c:153(pidfile_unlink)
Failed to delete pidfile /run/smbd.pid. Error was No such file or directory
[2014/11/26 13:29:38.148692, 0] ../source3/smbd/server.c:1286(main)
standard input is not a socket, assuming -D option
[2014/11/26 13:29:40.069087, 0] ../source3/printing/print_cups.c:151(cups_connect)
Unable to connect to CUPS server localhost:631 - Transport endpoint is not connected
[2014/11/26 13:29:40.070446, 0] ../source3/printing/print_cups.c:528(cups_async_callback)
failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL
[2014/11/26 13:30:40.131659, 0] ../source3/printing/print_cups.c:151(cups_connect)
Unable to connect to CUPS server localhost:631 - Transport endpoint is not connected
[2014/11/26 13:30:40.134436, 0] ../source3/printing/print_cups.c:528(cups_async_callback)
failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL
[2014/11/26 13:33:45.045792, 0] ../source3/printing/print_cups.c:151(cups_connect)
Unable to connect to CUPS server localhost:631 - Transport endpoint is not connected
[2014/11/26 13:33:45.049457, 0] ../source3/printing/print_cups.c:528(cups_async_callback)
failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL
[2014/11/26 13:34:06.448259, 0] ../source3/printing/print_cups.c:151(cups_connect)
Unable to connect to CUPS server localhost:631 - Transport endpoint is not connected
[2014/11/26 13:34:06.448694, 0] ../source3/printing/print_cups.c:528(cups_async_callback)
failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL
[2014/11/26 13:37:08.723718, 0] ../lib/util/pidfile.c:153(pidfile_unlink)
Failed to delete pidfile /run/smbd.pid. Error was No such file or directory
[2014/11/26 13:38:01.586485, 0] ../source3/smbd/server.c:1286(main)
standard input is not a socket, assuming -D option
DBI connect('database=hda_production;host=localhost','amahihda',...) failed: Can't connect to local MySQL server th
rough socket '/var/lib/mysql/mysql.sock' (2) at /usr/share/hda-platform/hda-usermap line 68.
[2014/11/26 13:38:02.465141, 0] ../source3/printing/print_cups.c:151(cups_connect)
Unable to connect to CUPS server localhost:631 - Transport endpoint is not connected
[2014/11/26 13:38:02.468642, 0] ../source3/printing/print_cups.c:528(cups_async_callback)
failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL
[2014/11/26 13:43:21.949710, 0] ../lib/util/pidfile.c:153(pidfile_unlink)
Failed to delete pidfile /run/smbd.pid. Error was No such file or directory
[2014/11/26 13:44:11.267686, 0] ../source3/smbd/server.c:1286(main)
standard input is not a socket, assuming -D option
DBI connect('database=hda_production;host=localhost','amahihda',...) failed: Can't connect to local MySQL server th
rough socket '/var/lib/mysql/mysql.sock' (2) at /usr/share/hda-platform/hda-usermap line 68.
[2014/11/26 13:44:11.566120, 0] ../source3/printing/print_cups.c:151(cups_connect)
Unable to connect to CUPS server localhost:631 - Transport endpoint is not connected
[2014/11/26 13:44:11.567713, 0] ../source3/printing/print_cups.c:528(cups_async_callback)
failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL
[2014/11/26 13:44:49.559873, 0] ../lib/util/pidfile.c:153(pidfile_unlink)
Failed to delete pidfile /run/smbd.pid. Error was No such file or directory
[2014/11/26 13:45:37.933202, 0] ../source3/smbd/server.c:1286(main)
standard input is not a socket, assuming -D option
DBI connect('database=hda_production;host=localhost','amahihda',...) failed: Can't connect to local MySQL server th
rough socket '/var/lib/mysql/mysql.sock' (2) at /usr/share/hda-platform/hda-usermap line 68.
[2014/11/26 13:45:39.308507, 0] ../source3/printing/print_cups.c:151(cups_connect)
Unable to connect to CUPS server localhost:631 - Transport endpoint is not connected
[2014/11/26 13:45:39.311074, 0] ../source3/printing/print_cups.c:528(cups_async_callback)
failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL
[2014/11/26 13:58:40.016570, 0] ../source3/printing/print_cups.c:151(cups_connect)
Unable to connect to CUPS server localhost:631 - Transport endpoint is not connected
[2014/11/26 13:58:40.017044, 0] ../source3/printing/print_cups.c:528(cups_async_callback)
failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL
[2014/11/26 14:04:37.000220, 0] ../lib/util/pidfile.c:153(pidfile_unlink)
Failed to delete pidfile /run/smbd.pid. Error was No such file or directory
[2014/11/26 14:05:29.935408, 0] ../source3/smbd/server.c:1286(main)
standard input is not a socket, assuming -D option
DBI connect('database=hda_production;host=localhost','amahihda',...) failed: Can't connect to local MySQL server th
rough socket '/var/lib/mysql/mysql.sock' (2) at /usr/share/hda-platform/hda-usermap line 68.
[2014/11/26 14:05:31.586987, 0] ../source3/printing/print_cups.c:151(cups_connect)
Unable to connect to CUPS server localhost:631 - Transport endpoint is not connected
[2014/11/26 14:05:31.590040, 0] ../source3/printing/print_cups.c:528(cups_async_callback)
failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL
[2014/11/26 14:13:58.464286, 0] ../lib/util/pidfile.c:153(pidfile_unlink)
Failed to delete pidfile /run/smbd.pid. Error was No such file or directory
[2014/11/26 14:14:48.844151, 0] ../source3/smbd/server.c:1286(main)
standard input is not a socket, assuming -D option
DBI connect('database=hda_production;host=localhost','amahihda',...) failed: Can't connect to local MySQL server th
rough socket '/var/lib/mysql/mysql.sock' (2) at /usr/share/hda-platform/hda-usermap line 68.
[2014/11/26 14:14:49.794104, 0] ../source3/printing/print_cups.c:151(cups_connect)
Unable to connect to CUPS server localhost:631 - Transport endpoint is not connected
[2014/11/26 14:14:49.796950, 0] ../source3/printing/print_cups.c:528(cups_async_callback)
failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL
[2014/11/26 14:22:50.735948, 0] ../lib/util/pidfile.c:153(pidfile_unlink)
Failed to delete pidfile /run/smbd.pid. Error was No such file or directory
[2014/11/26 14:23:45.250290, 0] ../source3/smbd/server.c:1286(main)
standard input is not a socket, assuming -D option
DBI connect('database=hda_production;host=localhost','amahihda',...) failed: Can't connect to local MySQL server th
rough socket '/var/lib/mysql/mysql.sock' (2) at /usr/share/hda-platform/hda-usermap line 68.
[2014/11/26 14:23:46.025956, 0] ../source3/printing/print_cups.c:151(cups_connect)
Unable to connect to CUPS server localhost:631 - Transport endpoint is not connected
[2014/11/26 14:23:46.028730, 0] ../source3/printing/print_cups.c:528(cups_async_callback)
failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL
[2014/11/26 14:36:46.785970, 0] ../source3/printing/print_cups.c:151(cups_connect)
Unable to connect to CUPS server localhost:631 - Transport endpoint is not connected
[2014/11/26 14:36:46.787735, 0] ../source3/printing/print_cups.c:528(cups_async_callback)
failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL
[2014/11/26 14:49:47.373608, 0] ../source3/printing/print_cups.c:151(cups_connect)
Unable to connect to CUPS server localhost:631 - Transport endpoint is not connected
[2014/11/26 14:49:47.375328, 0] ../source3/printing/print_cups.c:528(cups_async_callback)
failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL

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

Re: Samba won't start

Postby bigfoot65 » Wed Nov 26, 2014 2:51 pm

I loaded gnome manually in terminal prior to installing VNC. This procedure didn't crash samba. However VNC sever couldn't be started for some reason.
There's your problem. You cannot mix the manual method with the VNC application. They are two different concepts for a desktop.

Unfortunately, there is no easy way to uninstall the manual method. You may have to start over.

If you seek a desktop, your best option would be to follow the Fedora 19 USB install guidance. Although not officially supported, it has been successfully used by many.

BTW, Greyhole will provide the same capability for duplicate files. It is installed with Amahi and can provide easily for file replication.
ßî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 » Wed Nov 26, 2014 3:03 pm

I only installed gnome manually the 4th time I re-installed amahi 7 express because that's what was stated in WiKi.
NOTE: there is now a one-click VNC App.
If you have problems with installing this app on Amahi 7, try running this first, then install the app:
yum install @gnome

When I did this, it was the only time samba didn't break. all other installations cause samba server to fail.

Anyway thanks for your response. I will find other ways to do my backups or I will go back to amahi 6.

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

Re: Samba won't start

Postby bigfoot65 » Wed Nov 26, 2014 3:13 pm

No problem. Sorry this is not working out easily for you.

Might I suggest you do an OS update before installing the VNC app. I installed it on my test machine with no issues. I did not install the gnome package either.
ßîgƒσστ65
Applications Manager

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

forty7
Posts: 1
Joined: Sat Nov 29, 2014 12:24 pm

Re: Samba won't start

Postby forty7 » Sat Nov 29, 2014 12:25 pm

Same here, installing vnc breaks samba. I eventually got samba working again by uninstalling vnc and reinstalling samba.

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

Re: Samba won't start

Postby bigfoot65 » Sat Nov 29, 2014 7:01 pm

Would you be willing to help sort out this issue? I have been unable to duplicate it.

If so, please check /var/log/amahi-app-installer.log for errors. Secondly, what apps were already installed when you installed VNC? Were OS updates completed?
ßî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 37 guests