[Solved] initctl question regarding error

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
Cito
Level 1
Level 1
Posts: 23
Joined: Fri Jun 15, 2018 12:20 pm

[Solved] initctl question regarding error

Post by Cito » Fri Jun 15, 2018 12:38 pm

I was looking to disable lvm2 service as its one of the slower items on the system-analyze blame list and I don't use it.
I also was looking to get a list using the command 'initctl list'

I get an error that I have had no problem finding tons of pages of solutions, but the problem is every solution says to uninstall virtualbox or virtualbox guest additions.

Thing is, There are no signs of virtualbox on my system, never used it as I already have a proxmox server I can fire up whatever. So normally I'd dig around and usually find the problem but I thought I'd just toss this out and see if anyone has seen this themselves and resolved it, which would save me time hunting and digging and such hehe.

I'd be immensely grateful if anyone wouldn't mind lending a hand.

As mentioned it began when I just wanted to disable lvm2-monitor which is at top of the system-analyze blame list. I didn't run any other commands I just ran a initctl list to get a look at that when I got the error that it failed to connect/connection refused.

cito ~ # initctl list
initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused

This pc I built from spare parts but mint flies on it :) just trying to "iron a few kinks" out.

cito ~ # inxi -F
System: Host: cito Kernel: 4.13.0-45-generic x86_64 (64 bit) Desktop: Cinnamon 3.6.7
Distro: Linux Mint 18.3 Sylvia
Machine: Mobo: ASRock model: A785GM-LE serial: E80-2A026601197
Bios: American Megatrends v: P1.30 date: 08/29/2011
CPU: Quad core AMD Phenom II X4 965 (-MCP-) cache: 2048 KB
clock speeds: max: 3570 MHz 1: 3570 MHz 2: 3570 MHz 3: 3570 MHz 4: 3570 MHz
Graphics: Card: NVIDIA GF110 [GeForce GTX 580]
Display Server: X.org 1.18.4 drivers: nvidia (unloaded: fbdev,vesa,nouveau)
tty size: 115x40 Advanced Data: N/A for root
Audio: Card-1 NVIDIA GF110 High Definition Audio Controller driver: snd_hda_intel
Card-2 Advanced Micro Devices [AMD/ATI] SBx00 Azalia (Intel HDA) driver: snd_hda_intel
Sound: Advanced Linux Sound Architecture v: k4.13.0-45-generic
Network: Card: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller driver: r8169
IF: enp2s0 state: up speed: 1000 Mbps duplex: full mac: bc:5f:f4:79:64:3a
Drives: HDD Total Size: 1448.3GB (7.0% used)
ID-1: /dev/sda model: ADATA_SU800 size: 128.0GB
ID-2: /dev/sdb model: WDC_WD3200AVVS size: 320.1GB
ID-3: USB /dev/sdc model: External_USB_3.0 size: 1000.2GB
Partition: ID-1: / size: 58G used: 15G (27%) fs: ext4 dev: /dev/sda1
ID-2: /home size: 147G used: 67G (48%) fs: ext4 dev: /dev/sdb1
ID-3: swap-1 size: 2.05GB used: 0.00GB (0%) fs: swap dev: /dev/sda5
RAID: No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors: System Temperatures: cpu: 42.9C mobo: N/A gpu: 50C
Fan Speeds (in rpm): cpu: N/A
Info: Processes: 197 Uptime: 48 min Memory: 1172.6/7976.0MB Client: Shell (bash) inxi: 2.2.35


Since every page I could find on this 'initctl list' exact error all gave answer as remove virtualbox which the original posters would reply that it fixed them. I on other hand don't have virtualbox or it's guest additions since I run mint on metal.


cito ~ # apt-get purge virtualbox*
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'virtualbox-source' for glob 'virtualbox*'
Note, selecting 'virtualbox-guest-utils' for glob 'virtualbox*'
Note, selecting 'virtualbox-ose' for glob 'virtualbox*'
Note, selecting 'virtualbox-guest-modules' for glob 'virtualbox*'
Note, selecting 'virtualbox-guest-additions-iso' for glob 'virtualbox*'
Note, selecting 'virtualbox-guest-dkms' for glob 'virtualbox*'
Note, selecting 'virtualbox-dkms' for glob 'virtualbox*'
Note, selecting 'virtualbox-guest-dkms-hwe' for glob 'virtualbox*'
Note, selecting 'virtualbox-ext-pack' for glob 'virtualbox*'
Note, selecting 'virtualbox' for glob 'virtualbox*'
Note, selecting 'virtualbox-guest-modules-hwe' for glob 'virtualbox*'
Note, selecting 'virtualbox-guest-x11-hwe' for glob 'virtualbox*'
Note, selecting 'virtualbox-guest-source' for glob 'virtualbox*'
Note, selecting 'virtualbox-ose-fuse' for glob 'virtualbox*'
Note, selecting 'virtualbox-qt' for glob 'virtualbox*'
Note, selecting 'virtualbox-guest-source-hwe' for glob 'virtualbox*'
Note, selecting 'virtualbox-2.0' for glob 'virtualbox*'
Note, selecting 'virtualbox-2.1' for glob 'virtualbox*'
Note, selecting 'virtualbox-2.2' for glob 'virtualbox*'
Note, selecting 'virtualbox-modules' for glob 'virtualbox*'
Note, selecting 'virtualbox-3.0' for glob 'virtualbox*'
Note, selecting 'virtualbox-3.1' for glob 'virtualbox*'
Note, selecting 'virtualbox-3.2' for glob 'virtualbox*'
Note, selecting 'virtualbox-4.0' for glob 'virtualbox*'
Note, selecting 'virtualbox-4.1' for glob 'virtualbox*'
Note, selecting 'virtualbox-4.2' for glob 'virtualbox*'
Note, selecting 'virtualbox-4.3' for glob 'virtualbox*'
Note, selecting 'virtualbox-5.0' for glob 'virtualbox*'
Note, selecting 'virtualbox-5.1' for glob 'virtualbox*'
Note, selecting 'virtualbox-guest-utils-hwe' for glob 'virtualbox*'
Note, selecting 'virtualbox-dbg' for glob 'virtualbox*'
Note, selecting 'virtualbox-guest-x11' for glob 'virtualbox*'
Note, selecting 'virtualbox-guest-additions' for glob 'virtualbox*'
Package 'virtualbox-ose' is not installed, so not removed
Package 'virtualbox-ose-fuse' is not installed, so not removed
Note, selecting 'virtualbox-dkms' instead of 'virtualbox-modules'
Package 'virtualbox-2.0' is not installed, so not removed
Package 'virtualbox-2.1' is not installed, so not removed
Package 'virtualbox-2.2' is not installed, so not removed
Package 'virtualbox-3.0' is not installed, so not removed
Package 'virtualbox-3.1' is not installed, so not removed
Package 'virtualbox-3.2' is not installed, so not removed
Package 'virtualbox-4.0' is not installed, so not removed
Package 'virtualbox-4.1' is not installed, so not removed
Package 'virtualbox-4.2' is not installed, so not removed
Package 'virtualbox-4.3' is not installed, so not removed
Package 'virtualbox-5.0' is not installed, so not removed
Package 'virtualbox-guest-additions' is not installed, so not removed
Package 'virtualbox-5.1' is not installed, so not removed
Package 'virtualbox-guest-modules-hwe' is not installed, so not removed
Package 'virtualbox' is not installed, so not removed
Package 'virtualbox-dbg' is not installed, so not removed
Package 'virtualbox-dkms' is not installed, so not removed
Package 'virtualbox-ext-pack' is not installed, so not removed
Package 'virtualbox-guest-additions-iso' is not installed, so not removed
Package 'virtualbox-guest-dkms' is not installed, so not removed
Package 'virtualbox-guest-dkms-hwe' is not installed, so not removed
Package 'virtualbox-guest-source' is not installed, so not removed
Package 'virtualbox-guest-source-hwe' is not installed, so not removed
Package 'virtualbox-guest-utils' is not installed, so not removed
Package 'virtualbox-guest-utils-hwe' is not installed, so not removed
Package 'virtualbox-guest-x11' is not installed, so not removed
Package 'virtualbox-guest-x11-hwe' is not installed, so not removed
Package 'virtualbox-qt' is not installed, so not removed
Package 'virtualbox-source' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

I greatly appreciate any help on this.
Last edited by Cito on Fri Jun 15, 2018 3:32 pm, edited 1 time in total.

rene
Level 8
Level 8
Posts: 2085
Joined: Sun Mar 27, 2016 6:58 pm

Re: initctl question regarding error

Post by rene » Fri Jun 15, 2018 3:30 pm

Cito wrote:
Fri Jun 15, 2018 12:38 pm
initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused
Mint 18.x does not use upstart but systemd; use systemctl list-units (or simply systemctl; list-units is the default command).

Cito
Level 1
Level 1
Posts: 23
Joined: Fri Jun 15, 2018 12:20 pm

Re: initctl question regarding error

Post by Cito » Fri Jun 15, 2018 3:31 pm

Well now I just look like a dunce, hahaha


Thank you, and yup makes perfect sense.

Post Reply

Return to “Newbie Questions”