Public bug reported:

I tried installing smokeping on my Ubuntu Feisty (newly upgraded from
Hoary) and I got the following error message.

Starting smokeping: ERROR: /etc/smokeping/config, line 11: File 
'/usr/sbin/sendmail' does not exist
invoke-rc.d: initscript smokeping, action "start" failed.

I think the problem is that smokeping ought to depend on sendmail.
Anyway here is everything.

[niels:~]% sudo apt-get install smokeping
Password:
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  linux-headers-2.6.20-15-generic linux-headers-2.6.20-15
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  librrd2 librrds-perl libsnmp-session-perl speedy-cgi-perl
Suggested packages:
  libauthen-radius-perl libnet-ldap-perl libnet-dns-perl ssh
  libio-socket-ssl-perl libnet-telnet-perl
Recommended packages:
  libsocket6-perl libio-socket-inet6-perl
The following NEW packages will be installed:
  librrd2 librrds-perl libsnmp-session-perl smokeping speedy-cgi-perl
0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 954kB of archives.
After unpacking 3195kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://c.archive.ubuntu.com feisty/main librrd2 1.2.15-0.3ubuntu1 [257kB]
Get:2 http://c.archive.ubuntu.com feisty/universe speedy-cgi-perl 2.22-4 [116kB]
Get:3 http://c.archive.ubuntu.com feisty/main librrds-perl 1.2.15-0.3ubuntu1 
[42.2kB]
Get:4 http://c.archive.ubuntu.com feisty/main libsnmp-session-perl 1.08-1 
[69.6kB]
Get:5 http://c.archive.ubuntu.com feisty/universe smokeping 2.0.9-2ubuntu2 
[468kB]
Fetched 954kB in 1s (786kB/s) 
Selecting previously deselected package librrd2.
(Reading database ... 258240 files and directories currently installed.)
Unpacking librrd2 (from .../librrd2_1.2.15-0.3ubuntu1_i386.deb) ...
Selecting previously deselected package speedy-cgi-perl.
Unpacking speedy-cgi-perl (from .../speedy-cgi-perl_2.22-4_i386.deb) ...
Selecting previously deselected package librrds-perl.
Unpacking librrds-perl (from .../librrds-perl_1.2.15-0.3ubuntu1_i386.deb) ...
Selecting previously deselected package libsnmp-session-perl.
Unpacking libsnmp-session-perl (from .../libsnmp-session-perl_1.08-1_all.deb) 
...
Selecting previously deselected package smokeping.
Unpacking smokeping (from .../smokeping_2.0.9-2ubuntu2_all.deb) ...
Setting up librrd2 (1.2.15-0.3ubuntu1) ...

Setting up speedy-cgi-perl (2.22-4) ...

Setting up librrds-perl (1.2.15-0.3ubuntu1) ...
Setting up libsnmp-session-perl (1.08-1) ...

Setting up smokeping (2.0.9-2ubuntu2) ...
Adding system user `smokeping' (UID 114) ...
Adding new group `smokeping' (GID 122) ...
Adding new user `smokeping' (UID 114) with group `smokeping' ...
Not creating home directory `/var/lib/smokeping'.
Starting smokeping: ERROR: /etc/smokeping/config, line 11: File 
'/usr/sbin/sendmail' does not exist
invoke-rc.d: initscript smokeping, action "start" failed.
dpkg: error processing smokeping (--configure):
 subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
 smokeping
E: Sub-process /usr/bin/dpkg returned an error code (1)
[niels:~]% sudo apt-get install smokeping
Reading package lists... Done
Building dependency tree       
Reading state information... Done
smokeping is already the newest version.
The following packages were automatically installed and are no longer required:
  linux-headers-2.6.20-15-generic linux-headers-2.6.20-15
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Setting up smokeping (2.0.9-2ubuntu2) ...
Starting smokeping: ERROR: /etc/smokeping/config, line 11: File 
'/usr/sbin/sendmail' does not exist
invoke-rc.d: initscript smokeping, action "start" failed.
dpkg: error processing smokeping (--configure):
 subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
 smokeping
E: Sub-process /usr/bin/dpkg returned an error code (1)
[niels:~]% which sendmail
sendmail not found
[niels:~]% locate sendmail
/windows/windows/system32/dllcache/sendmail.dll
/windows/windows/system32/sendmail.dll
/windows/windows/ServicePackFiles/i386/sendmail.dll
/usr/lib/evolution-data-server-1.2/camel-providers-10/libcamelsendmail.urls
/usr/lib/evolution-data-server-1.2/camel-providers-10/libcamelsendmail.so
/usr/sbin/hulasendmail
/usr/share/doc/gnus/contrib/sendmail.el.gz
/usr/share/emacs/21.4/lisp/mail/sendmail.elc
/usr/share/gnome-pilot/conduits/sendmail.conduit
/usr/share/man/man8/hulasendmail.8.gz
/usr/share/xemacs21/xemacs-packages/lisp/mail-lib/sendmail.elc
[niels:~]% apt-gein install sendmail
zsh: correct 'apt-gein' to 'patgen' [nyae]? n
zsh: command not found: apt-gein
[niels:~]% apt-get install sendmail
E: Could not open lock file /var/lib/dpkg/lock - open (13 Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
[niels:~]% sudo apt-get install sendmail
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  linux-headers-2.6.20-15-generic linux-headers-2.6.20-15
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  procmail rmail sendmail-base sendmail-bin sendmail-cf sensible-mda
Suggested packages:
  sendmail-doc logcheck sasl2-bin cyrus-common
Recommended packages:
  resolvconf
The following packages will be REMOVED:
  hula-manager
The following NEW packages will be installed:
  procmail rmail sendmail sendmail-base sendmail-bin sendmail-cf sensible-mda
0 upgraded, 7 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 2224kB of archives.
After unpacking 4026kB of additional disk space will be used.
Do you want to continue [Y/n]? 
Get:1 http://c.archive.ubuntu.com feisty/universe sendmail-base 8.13.8-3 [346kB]
Get:2 http://c.archive.ubuntu.com feisty/universe sendmail-cf 8.13.8-3 [284kB]
Get:3 http://c.archive.ubuntu.com feisty/universe sendmail-bin 8.13.8-3 [825kB]
Get:4 http://c.archive.ubuntu.com feisty/main procmail 3.22-16ubuntu3 [143kB]
Get:5 http://c.archive.ubuntu.com feisty/universe rmail 8.13.8-3 [227kB]
Get:6 http://c.archive.ubuntu.com feisty/universe sensible-mda 8.13.8-3 [202kB]
Get:7 http://c.archive.ubuntu.com feisty/universe sendmail 8.13.8-3 [197kB]
Fetched 2224kB in 3s (598kB/s)   
(Reading database ... 258531 files and directories currently installed.)
Removing hula-manager ...
Stopping hula mail and calendar server: invoke-rc.d: initscript hula-manager, 
action "stop" failed.
Selecting previously deselected package sendmail-base.
(Reading database ... 258513 files and directories currently installed.)
Unpacking sendmail-base (from .../sendmail-base_8.13.8-3_all.deb) ...
Selecting previously deselected package sendmail-cf.
Unpacking sendmail-cf (from .../sendmail-cf_8.13.8-3_all.deb) ...
Selecting previously deselected package sendmail-bin.
Unpacking sendmail-bin (from .../sendmail-bin_8.13.8-3_i386.deb) ...
Selecting previously deselected package procmail.
Unpacking procmail (from .../procmail_3.22-16ubuntu3_i386.deb) ...
Selecting previously deselected package rmail.
Unpacking rmail (from .../rmail_8.13.8-3_i386.deb) ...
Selecting previously deselected package sensible-mda.
Unpacking sensible-mda (from .../sensible-mda_8.13.8-3_i386.deb) ...
Selecting previously deselected package sendmail.
Unpacking sendmail (from .../sendmail_8.13.8-3_all.deb) ...
Setting up sendmail-base (8.13.8-3) ...
adduser: Warning: that home directory does not belong to the user you are 
currently creating.
adduser: Warning: that home directory does not belong to the user you are 
currently creating.

Setting up sendmail-cf (8.13.8-3) ...
Setting up sendmail-bin (8.13.8-3) ...

You are doing a new install, or have erased /etc/mail/sendmail.mc.
If you've accidentaly erased /etc/mail/sendmail.mc, check /var/backups.

I am creating a safe, default sendmail.mc for you and you can
run sendmailconfig later if you need to change the defaults.

Stopping Mail Transport Agent: sendmail.
Updating sendmail environment ...
Validating configuration.
Writing configuration to /etc/mail/sendmail.conf.
Writing /etc/cron.d/sendmail.
Could not open /etc/mail/databases(No such file or directory), creating it.
Could not open /etc/mail/sendmail.mc(No such file or directory)
Reading configuration from /etc/mail/sendmail.conf.
Validating configuration.
Writing configuration to /etc/mail/sendmail.conf.
Writing /etc/cron.d/sendmail.
Turning off Host Status collection
Could not open /etc/mail/databases(No such file or directory), creating it.
Reading configuration from /etc/mail/sendmail.conf.
Validating configuration.
Creating /etc/mail/databases...

Checking filesystem, this may take some time - it will not hang!
  ...   Done.
 
Checking for installed MDAs...
Adding link for newly extant program (mail.local)
Adding link for newly extant program (procmail)
hostname: Unknown host
hostname: Unknown host
 
Updating /etc/hosts.allow, adding "sendmail: all".

Please edit /etc/hosts.allow and check the rules location to
make sure your security measures have not been overridden -
it is common to move the sendmail:all line to the *end* of
the file, so your more selective rules take precedence.
Checking {sendmail,submit}.mc and related databases...
Reading configuration from /etc/mail/sendmail.conf.
Validating configuration.
Creating /etc/mail/databases...
Reading configuration from /etc/mail/sendmail.conf.
Validating configuration.
Creating /etc/mail/databases...
Reading configuration from /etc/mail/sendmail.conf.
Validating configuration.
Creating /etc/mail/Makefile...
Reading configuration from /etc/mail/sendmail.conf.
Validating configuration.
Writing configuration to /etc/mail/sendmail.conf.
Writing /etc/cron.d/sendmail.
Disabling HOST statistics file(/var/lib/sendmail/host_status).
Creating /etc/mail/sendmail.cf...
Creating /etc/mail/submit.cf...
Informational: confCR_FILE file empty: /etc/mail/relay-domains
Warning: confCT_FILE source file not found: /etc/mail/trusted-users
 it was created
Informational: confCT_FILE file empty: /etc/mail/trusted-users
Warning: confCW_FILE source file not found: /etc/mail/local-host-names
 it was created
hostname: Unknown host
Warning: access_db source file not found: /etc/mail/access
 it was created
Updating /etc/mail/access...
Linking /etc/aliases to /etc/mail/aliases
Updating /etc/mail/aliases...
WARNING: local host name (niels) is not qualified; see cf/README: WHO AM I?
/etc/mail/aliases: 2 aliases, longest 5 bytes, 22 bytes total
 
Warning: 3 database(s) sources
        were not found, (but were created)
        please investigate.
Starting Mail Transport Agent: sendmail.

Setting up smokeping (2.0.9-2ubuntu2) ...
Starting smokeping: ### fping seems to report in 1 milliseconds
Note: logging to syslog as local0/info.
Daemonizing /usr/sbin/smokeping ...
smokeping.

Setting up procmail (3.22-16ubuntu3) ...
Setting up rmail (8.13.8-3) ...
Setting up sensible-mda (8.13.8-3) ...
Setting up sendmail (8.13.8-3) ...
[niels:~]% dpkg-reconfigure smokeping   
/usr/sbin/dpkg-reconfigure must be run as root
[niels:~]% sudo dpkg-reconfigure smokeping
Stopping smokeping: smokeping.
Starting smokeping: ### fping seems to report in 1 milliseconds
Note: logging to syslog as local0/info.
Daemonizing /usr/sbin/smokeping ...
smokeping.

** Affects: smokeping (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
Error '/usr/sbin/sendmail' does not exist
https://bugs.launchpad.net/bugs/118363
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to