LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-04-2014, 02:59 PM   #1
jyunker
Member
 
Registered: Aug 2009
Posts: 167

Rep: Reputation: 0
restarting the dbus system service


I tried to run the command in my Centos 6.5, 64 bit system

parted /dev/sda 'print'

and the output was

** ERROR ** This program cannpt start until you start the dbus system service

aborting...
Aborted


So I learned the way I thought that I could start the dbus system service
which was:

service messagebus restart

but when I ran that command I got the command

** ERROR ** This program cannpt start until you start the dbus system service

aborting...
Aborted

So how to I start the dbus system service? I cannot run anything until I started the dbus system service.


R,

jyunker
 
Old 11-04-2014, 09:07 PM   #2
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,819

Rep: Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144
Can you simply start it with the following?
Code:
service messagebus start
Check the status with
Code:
chkconfig messagebus
If necessary do
Code:
chkconfig messagebus on

Last edited by ferrari; 11-04-2014 at 09:25 PM.
 
Old 11-05-2014, 08:34 AM   #3
jyunker
Member
 
Registered: Aug 2009
Posts: 167

Original Poster
Rep: Reputation: 0
I will give it a try

Thanks very much. i will try it.

R,

jyunker
 
Old 11-05-2014, 03:37 PM   #4
jyunker
Member
 
Registered: Aug 2009
Posts: 167

Original Poster
Rep: Reputation: 0
No fsck in filesystem

Okay, service start gives the response:

service messagebus start
sh: service command not found

chkconfig messagebus gives

sh: /sbin/runlevel : No such file or directory

chkconfig messagebus on
give no response at all.

but simply typing chkconfig

chkconfig

gives

Code:
abrtd            0:off   1:off  2:off  3:on  4:off  5:on  6:off     
std              0:off   1:off  2:off  3:on  4:on   5:on  6:off     
audtd            0:off   1:off  2:on   3:on  4:on   5:off 6:off   
avahi-daemon     0:off   1:off  2:off  3:on  4:on   5:on  6:off 
centrify-kcm     0:off   1:off  2:on   3:on  4:on   5:off 6:off 
centrify-sshd    0:off   1:off  2:on   3:on  4:on   5:off 6:off 
centrifyda       0:off   1:off  2:on   3:on  4:on   5:off 6:off 
centrifydc       0:off   1:off  2:on   3:on  4:on   5:off 6:off 
dropbox          0:off   1:off  2:on   3:on  4:on   5:off 6:off 
irqbalance       0:off   1:off  2:on   3:on  4:on   5:off 6:off 
jexec            0:on    1:on   2:off  3:on  4:on   5:on  6:off
messagebus       0:off   1:off  2:on   3:on  4:on   5:on  6:off 
portreserve      0:off   1:off  2:on   3:on  4:on   5:off 6:off 
psacct           0:off   1:off  2:off  3:on  4:on   5:off 6:off  
qemu-ga          0:off   1:off  2:on   3:on  4:on   5:on  6:off 
sanlock          0:off   1:off  2:on   3:on  4:on   5:on  6:off 
wdaemon          0:off   1:off  2:off  3:off 4:off  5:off 6:off 
wlmd             0:off   1:off  2:on   3:on  4:on   5:on  6:off
If I copied them down correctly.

There is no fsck on my system, but there is fsck.ext2 in /sbin which I presume is for files of ext2 type only.

There is also an fack.ext3, fsck.ext4 and fsck.extdev all in the sbin directory.

What they are is the equivalent og fsck, but for specific files.


Are these last statements correct?

Please guide me on the next step.

Any help appreciated.

R,


jyunker
 
Old 11-05-2014, 04:39 PM   #5
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,819

Rep: Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144
Assuming you're at runlevel 2,3,4, or 5 messagebus is set to be active
Code:
messagebus       0:off   1:off  2:on   3:on  4:on   5:on  6:off
You could always check that the daemon is running
Code:
ps -A|grep dbus
 
Old 11-05-2014, 04:43 PM   #6
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,819

Rep: Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144
Quote:
There is no fsck on my system, but there is fsck.ext2 in /sbin which I presume is for files of ext2 type only.

There is also an fack.ext3, fsck.ext4 and fsck.extdev all in the sbin directory.
Refer to 'man fsck'

http://linux.die.net/man/8/fsck

Quote:
What they are is the equivalent og fsck, but for specific files.
No, specific partition types.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
System hangs when dbus service is restarted Kaustubh Dhokte Linux - Kernel 2 03-07-2014 06:01 AM
Restarting Network Service carlosinfl Debian 8 08-05-2012 09:37 AM
Regarding dbus service files rijutha Linux - Networking 0 02-10-2012 11:31 PM
Objec and service registration in dbus. deepa@tcs Linux - Newbie 0 12-12-2011 04:25 AM
How to obtain the dependencies of a dbus service? ajaygarg Linux - Newbie 0 10-26-2011 01:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration