• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Samba error problem with plesk 12.5 - Centos 7

jeanpaul

Basic Pleskian
When i try to start samba with command line "service smbd start", i get an error like

Code:
Redirecting to /bin/systemctl start  smbd.service
Failed to issue method call: Unit smbd.service failed to load: No such file or directory.

in message

Code:
Oct 28 17:11:43 smbd[23670]: [2015/10/28 17:11:43.426135,  0] ../source3/printing/print_cups.c:151(cups_connect)
Oct 28 17:11:43 smbd[23670]: Unable to connect to CUPS server localhost:631 - Transport endpoint is not connected
Oct 28 17:11:43 smbd[23550]: [2015/10/28 17:11:43.426267,  0] ../source3/printing/print_cups.c:528(cups_async_callback)
Oct 28 17:11:43 smbd[23550]: failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL

Code:
Oct 28 17:18:44 systemd: Reloading.
Oct 28 17:18:44 systemd: [/usr/lib/systemd/system/dm-event.socket:10] Unknown lvalue 'RemoveOnStop' in section 'Socket'
Oct 28 17:18:44 systemd: [/usr/lib/systemd/system/lvm2-lvmetad.socket:9] Unknown lvalue 'RemoveOnStop' in section 'Socket'
Oct 28 17:18:44 systemd: Stopping Samba SMB Daemon...
Oct 28 17:18:44 smbd[23549]: STATUS=daemon 'smbd' finished starting up and ready to serve connectionsFailed to delete pidfile /run/smbd.pid. Error was No such file or directory
Oct 28 17:18:44 systemd: Starting Samba SMB Daemon...
Oct 28 17:18:44 smbd[23938]: [2015/10/28 17:18:44.766907,  0] ../source3/smbd/server.c:1269(main)
Oct 28 17:18:44 smbd[23938]: standard input is not a socket, assuming -D option
Oct 28 17:18:44 systemd: smb.service: Supervising process 23939 which is not our child. We'll most likely not notice when it exits.
Oct 28 17:18:44 smbd[23939]: [2015/10/28 17:18:44.770755,  0] ../lib/util/become_daemon.c:136(daemon_ready)
Oct 28 17:18:44 systemd: Started Samba SMB Daemon.
Oct 28 17:18:44 smbd[23941]: STATUS=daemon 'smbd' finished starting up and ready to serve connectionsUnable to connect to CUPS server localhost:631 - Transport endpoint is not connected
Oct 28 17:18:44 smbd[23940]: STATUS=daemon 'smbd' finished starting up and ready to serve connectionsfailed to retrieve printer list: NT_STATUS_UNSUCCESSFUL
Oct 28 17:18:53 systemd: Starting Session c27950 of user root.
Oct 28 17:18:53 systemd-logind: New session c27950 of user root.
Oct 28 17:18:53 systemd: Started Session c27950 of user root.

in log.smbd

Code:
[2015/10/28 17:10:43,  0] ../source3/smbd/server.c:1189(main)
  smbd version 4.1.12 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2013
[2015/10/28 17:10:43.358989,  0] ../source3/smbd/server.c:1269(main)
  standard input is not a socket, assuming -D option
[2015/10/28 17:10:43.362805,  0] ../lib/util/become_daemon.c:136(daemon_ready)
  STATUS=daemon 'smbd' finished starting up and ready to serve connectionsUnable to connect to CUPS server localhost:631 - Transport endpoint is not connected
  STATUS=daemon 'smbd' finished starting up and ready to serve connectionsfailed to retrieve printer list: NT_STATUS_UNSUCCESSFUL
[2015/10/28 17:11:43.426135,  0] ../source3/printing/print_cups.c:151(cups_connect)
  Unable to connect to CUPS server localhost:631 - Transport endpoint is not connected
[2015/10/28 17:11:43.426267,  0] ../source3/printing/print_cups.c:528(cups_async_callback)
  failed to retrieve printer list: NT_STATUS_UNSUCCESSFUL




How can i solve this ?
 
Samba packages comes from OS vendor repository. I'd suggest you re-install them with yum.
 
Ok, but i don't understand, i installed from Plesk interface "admin/update/product/"

upload_2015-10-29_8-32-36.png
I need to uninstall complety ?
 
Back
Top