Upstart 'service' tool contradicts itself

Bug #1485934 reported by Cefn
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
upstart (Ubuntu)
New
Undecided
Unassigned

Bug Description

I was trying to run mongodb after an install of the official packages from mongodb.org
 ( see http://docs.mongodb.org/master/tutorial/install-mongodb-on-ubuntu/?_ga=1.185710826.237376734.1439890300 )

However, when trying to run the service, it reports the job is unknown...

(trusty)cefn@localhost:~$ sudo service mongod start
[sudo] password for cefn:
start: Unknown job: mongod

However, it is even listed by the status report from the service utility, so therefore cannot be an unknown job.

(trusty)cefn@localhost:~$ service --status-all
 [ - ] acpid
 [ - ] anacron
 [ - ] apparmor
 [ ? ] apport
 [ - ] atd
 [ - ] avahi-daemon
 [ - ] bluetooth
 [ ? ] console-setup
 [ - ] cron
 [ + ] cups
 [ - ] cups-browsed
 [ - ] dbus
 [ - ] kerneloops
 [ ? ] killprocs
 [ ? ] kmod
 [ ? ] lightdm
 [ - ] lm-sensors
 [ - ] lxdm
 [ - ] mongod
 [ ? ] networking
 [ - ] nmbd
 [ - ] ntp
 [ ? ] ondemand
 [ ? ] pppd-dns
 [ - ] procps
 [ - ] pulseaudio
 [ ? ] rc.local
 [ + ] resolvconf
 [ - ] rsync
 [ - ] rsyslog
 [ - ] samba
 [ - ] samba-ad-dc
 [ + ] saned
 [ ? ] sendsigs
 [ - ] smbd
 [ - ] sudo
 [ + ] udev
 [ ? ] umountfs
 [ ? ] umountnfs.sh
 [ ? ] umountroot
 [ - ] unattended-upgrades
 [ - ] urandom
 [ - ] x11-common

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: upstart 1.12.1-0ubuntu4.2
Uname: Linux 3.10.18 x86_64
ApportVersion: 2.14.1-0ubuntu3.11
Architecture: amd64
Date: Tue Aug 18 10:28:30 2015
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 SHELL=/bin/bash
ProcKernelCmdline: cros_secure console= loglevel=7 init=/sbin/init cros_secure oops=panic panic=-1 root=/dev/dm-0 rootwait ro dm_verity.error_behavior=3 dm_verity.max_bios=-1 dm_verity.dev_wait=1 dm="1 vroot none ro 1,0 2506752 verity payload=PARTUUID=53f1dd78-d512-d54e-ab32-e6551aaac164/PARTNROFF=1 hashtree=PARTUUID=53f1dd78-d512-d54e-ab32-e6551aaac164/PARTNROFF=1 hashstart=2506752 alg=sha1 root_hexdigest=b49ab79e9ac8c6ca7cb3af1cc56845582a004604 salt=9dd439b7d85194ada9426af268d20f887c61899ad2f2391b3a448fabb5929858" noinitrd vt.global_cursor_default=0 kern_guid=53f1dd78-d512-d54e-ab32-e6551aaac164 add_efi_memmap boot=local noresume noswap i915.modeset=1 tpm_tis.force=1 tpm_tis.interrupts=0 nmi_watchdog=panic,lapic
SourcePackage: upstart
UpgradeStatus: No upgrade log present (probably fresh install)
UpstartBugCategory: System
UpstartRunningSystemJobs:
 Error: command ['initctl', '--system', 'list'] failed with exit code 1: initctl: Name "com.ubuntu.Upstart" does not exist
UpstartRunningSystemVersion: Error: command ['initctl', '--system', 'version'] failed with exit code 1: initctl: Name "com.ubuntu.Upstart" does not exist
modified.conffile..etc.default.cups: [modified]
modified.conffile..etc.sysctl.conf: [modified]
modified.conffile..etc.upstart.xsessions: [modified]
mtime.conffile..etc.default.cups: 2015-03-20T15:17:29.993185
mtime.conffile..etc.sysctl.conf: 2015-08-09T11:50:59.391029
mtime.conffile..etc.upstart.xsessions: 2015-08-04T09:54:51.379979

Revision history for this message
Cefn (6-launchpad-net-cefn-com) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.