Samba Issues on new/clean install
Posted: Fri Mar 10, 2017 8:43 am
Hi Everyone -
I (finally!) reinstalled Amahi to the latest clean platform this past weekend on F23.
Everything seemed to be working great at first, but I've run into issues where Samba would slowly stop working. It would almost seem to degrade. Looking at systemctl status it appeared to create more and more processes until finally (typically overnight) it grinds to a halt affecting Plex Media server etc etc.
So I've been rebooting it pretty much daily (not a solution).
I've also noticed that the mount_shares_locally script doesn't function all the time, and now it won't stop.
System paste info is here: https://da.gd/bLp0
I took a look at the smbd.log file and notice the following error that keeps occuring:
[2017/03/08 16:28:46.766557, 0] ../lib/util/become_daemon.c:124(daemon_ready) STATUS=daemon 'smbd' finished starting up and ready to serve connections
DBI connect('database=hda_production;host=localhost','amahihda',...) failed: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2 "No such file or directory") at /usr/share/hda-platform/hda-usermap line 68.
Can someone point me in the right direction to correct this MySQL issue w.r.t. Samba?
Thanks!
I (finally!) reinstalled Amahi to the latest clean platform this past weekend on F23.
Everything seemed to be working great at first, but I've run into issues where Samba would slowly stop working. It would almost seem to degrade. Looking at systemctl status it appeared to create more and more processes until finally (typically overnight) it grinds to a halt affecting Plex Media server etc etc.
So I've been rebooting it pretty much daily (not a solution).
I've also noticed that the mount_shares_locally script doesn't function all the time, and now it won't stop.
System paste info is here: https://da.gd/bLp0
I took a look at the smbd.log file and notice the following error that keeps occuring:
[2017/03/08 16:28:46.766557, 0] ../lib/util/become_daemon.c:124(daemon_ready) STATUS=daemon 'smbd' finished starting up and ready to serve connections
DBI connect('database=hda_production;host=localhost','amahihda',...) failed: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2 "No such file or directory") at /usr/share/hda-platform/hda-usermap line 68.
Can someone point me in the right direction to correct this MySQL issue w.r.t. Samba?
Thanks!