Software update problem

Bob ubuntu-qygzanxc at listemail.net
Wed Oct 26 19:33:34 UTC 2016


** Reply to message from Oliver Grawert <ogra at ubuntu.com> on Tue, 25 Oct 2016
13:13:16 +0200

> hi,
> On Di, 2016-10-25 at 08:10 +0100, Colin Law wrote:
> > 
> > Are we sure this is a packaging error?  The log has:
> > Setting up samba (2:4.3.11+dfsg-0ubuntu0.16.04.1) ...
> > insserv: script ups-monitor: service ups-monitor already provided!
> > Job for smbd.service failed because the control process exited with
> > error code. See "systemctl status smbd.service" and "journalctl -xe"
> > for details.
> > invoke-rc.d: initscript smbd, action "start" failed.
> > 
> > That sounds to me more like a configuration problem with samba, hence
> > my suggestion that the OP ran testparm.
>> yeah, this is definitely some issue with the config (or filesystem
> corruption or some such)
> 
> bob: did you actually do what the error tells you ?
> 
> systemctl status smbd.service

bob1 at Jupiter:~$ systemctl status smbd.service
?ùÅ smbd.service - LSB: start Samba SMB/CIFS daemon (smbd)
   Loaded: loaded (/etc/init.d/smbd; bad; vendor preset: enabled)
   Active: failed (Result: exit-code) since Wed 2016-10-26 11:26:39 PDT; 12min
ago
     Docs: man:systemd-sysv-generator(8)
  Process: 2376 ExecStart=/etc/init.d/smbd start (code=exited, status=1/FAILURE)

Oct 26 11:26:39 Jupiter systemd[1]: Starting LSB: start Samba SMB/CIFS daemon
(smbd)...
Oct 26 11:26:39 Jupiter smbd[2376]:  * Starting SMB/CIFS daemon smbd
Oct 26 11:26:39 Jupiter smbd[2376]:    ...fail!
Oct 26 11:26:39 Jupiter systemd[1]: smbd.service: Control process exited,
code=exited status=1
Oct 26 11:26:39 Jupiter systemd[1]: Failed to start LSB: start Samba SMB/CIFS
daemon (smbd).
Oct 26 11:26:39 Jupiter systemd[1]: smbd.service: Unit entered failed state.
Oct 26 11:26:39 Jupiter systemd[1]: smbd.service: Failed with result
'exit-code'.
bob1 at Jupiter:~$


> and
> 
> journalctl -xe

I connected to the Buffalo disk drive then executed the journalctl command.

bob1 at Jupiter:~$ journalctl -xe
-- 
-- Unit systemd-tmpfiles-clean.service has finished starting up.
-- 
-- The start-up result is done.
Oct 26 11:40:56 Jupiter apcupsd[909]:
119.6,121.5,120.2,27.13,60.00,20.2,54.4,000.0,000.0,120.2,100.0,1
Oct 26 11:41:02 Jupiter apcupsd[909]:
119.6,121.5,120.2,27.13,60.00,20.2,54.4,000.0,000.0,120.2,100.0,0
Oct 26 11:41:08 Jupiter apcupsd[909]:
119.6,121.5,120.2,27.13,60.00,20.2,54.4,000.0,000.0,120.2,100.0,1
Oct 26 11:41:15 Jupiter apcupsd[909]:
119.6,120.9,120.2,27.13,60.00,20.2,54.4,000.0,000.0,120.2,100.0,0
Oct 26 11:41:21 Jupiter apcupsd[909]:
119.6,121.5,120.2,27.13,60.00,20.2,54.4,000.0,000.0,120.2,100.0,1
Oct 26 11:41:27 Jupiter apcupsd[909]:
120.2,121.5,120.2,27.13,60.00,20.2,54.4,000.0,000.0,120.2,100.0,0
Oct 26 11:41:33 Jupiter apcupsd[909]:
119.6,121.5,120.2,27.13,60.00,20.2,54.4,000.0,000.0,120.2,100.0,1
Oct 26 11:41:39 Jupiter apcupsd[909]:
119.6,121.5,120.2,27.13,60.00,20.2,54.4,000.0,000.0,120.2,100.0,0
Oct 26 11:41:45 Jupiter apcupsd[909]:
120.2,121.5,120.2,27.13,60.00,20.2,54.4,000.0,000.0,120.2,100.0,1
Oct 26 11:41:51 Jupiter apcupsd[909]:
119.6,121.5,120.2,27.13,60.00,20.2,54.4,000.0,000.0,120.2,100.0,0
Oct 26 11:41:57 Jupiter apcupsd[909]:
120.2,121.5,120.2,27.13,60.00,20.2,54.4,000.0,000.0,120.2,100.0,1
Oct 26 11:42:04 Jupiter apcupsd[909]:
120.2,121.5,120.2,27.13,60.00,20.2,54.4,000.0,000.0,120.2,100.0,0
Oct 26 11:42:10 Jupiter apcupsd[909]:
120.2,121.5,120.2,27.13,60.00,20.2,54.4,000.0,000.0,120.2,100.0,1
Oct 26 11:42:14 Jupiter dbus[869]: [system] Activating via systemd: service
name='org.freedesktop.hostname1' unit='dbus-org.freed
Oct 26 11:42:14 Jupiter systemd[1]: Starting Hostname Service...
-- Subject: Unit systemd-hostnamed.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit systemd-hostnamed.service has begun starting up.
Oct 26 11:42:14 Jupiter dbus[869]: [system] Successfully activated service
'org.freedesktop.hostname1'
Oct 26 11:42:14 Jupiter systemd[1]: Started Hostname Service.
-- Subject: Unit systemd-hostnamed.service has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit systemd-hostnamed.service has finished starting up.
-- 
-- The start-up result is done.
Oct 26 11:42:14 Jupiter org.gtk.vfs.Daemon[2523]: WARNING: Ignoring invalid
value 'share' for parameter 'security'
Oct 26 11:42:15 Jupiter gnome-session[2652]: Nautilus-Share-Message: Called
"net usershare info" but it failed: 'net usershare' r
Oct 26 11:42:15 Jupiter gnome-session[2652]: Can't load /etc/samba/smb.conf -
run testparm to debug it
Oct 26 11:42:16 Jupiter apcupsd[909]:
120.2,121.5,120.2,27.13,60.00,20.2,54.4,000.0,000.0,120.2,100.0,0
Oct 26 11:42:22 Jupiter apcupsd[909]:
120.2,121.5,120.2,27.13,60.00,20.2,54.4,000.0,000.0,120.2,100.0,1
Oct 26 11:42:27 Jupiter org.gtk.vfs.Daemon[2523]: ** (gvfsd:2577): WARNING **:
dbus_mount_reply: Error from org.gtk.vfs.Mountable
Oct 26 11:42:27 Jupiter org.gtk.vfs.Daemon[2523]: WARNING: Ignoring invalid
value 'share' for parameter 'security'
Oct 26 11:42:27 Jupiter org.gtk.vfs.Daemon[2523]: ** (process:4181): WARNING
**: Couldn't create directory monitor on smb://x-gno
Oct 26 11:42:28 Jupiter apcupsd[909]:
120.2,121.5,120.2,27.13,60.00,20.2,54.4,000.0,000.0,120.2,100.0,0
Oct 26 11:42:34 Jupiter apcupsd[909]:
120.2,121.5,120.2,27.13,60.00,20.2,54.4,000.0,000.0,120.2,100.0,1
Oct 26 11:42:36 Jupiter org.gtk.vfs.Daemon[2523]: WARNING: Ignoring invalid
value 'share' for parameter 'security'
Oct 26 11:42:39 Jupiter org.gtk.vfs.Daemon[2523]: ** (gvfsd:2577): WARNING **:
dbus_mount_reply: Error from org.gtk.vfs.Mountable
Oct 26 11:42:39 Jupiter org.gtk.vfs.Daemon[2523]: ** (process:4184): WARNING
**: Couldn't create directory monitor on smb://x-gno
Oct 26 11:42:40 Jupiter gnome-session[2652]: (nautilus:2844): Gtk-WARNING **:
Refusing to add non-unique action 'TerminalNautilus
Oct 26 11:42:40 Jupiter apcupsd[909]:
120.2,121.5,120.2,27.13,60.00,19.2,54.4,000.0,000.0,120.2,100.0,0
Oct 26 11:42:46 Jupiter apcupsd[909]:
120.2,121.5,120.2,27.13,60.00,19.2,54.4,000.0,000.0,120.2,100.0,1


> should get you some more info ...
> 
> calling testparm as colin suggests should also tell you something about
> the state of the samba config ...

bob1 at Jupiter:~$ testparm
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
WARNING: The "syslog" option is deprecated
WARNING: Ignoring invalid value 'share' for parameter 'security'
Error loading services.
bob1 at Jupiter:~$

-- 
Robert Blair


In general, the art of government consists of taking as much money as possible from one party of the citizens to give to the other.  -- Voltaire  (1764)




More information about the ubuntu-users mailing list