You are not logged in.

#1 2009-08-25 01:05:09

Smith oo4
Member
From: Calgary, Alberta, Canada
Registered: 2007-12-30
Posts: 42

[solved] Stop, Start and Restart of Daemons Always [FAIL]

Every time I try to stop, start or restart a daemon it always fails as show below:

[morgan@Server-Arch ~]$ /etc/rc.d/samba restart

:: Stopping Samba Server                                                 [FAIL] 

:: Starting Samba Server                                                 [FAIL] 

[morgan@Server-Arch ~]$ /etc/rc.d/cups restart

:: Stopping CUPS Daemon                                                  [FAIL] 

:: Starting CUPS Daemon                                                  [FAIL] 
 

[morgan@Server-Arch ~]$ /etc/rc.d/fam restart

:: Stopping File Alteration Monitor                                      [FAIL] 

:: Starting File Alteration Monitor                                      [FAIL]

The daemons do not appeared to be working as I can't access samba shares and the CUPS web page.  I am not having any luck resolving this on my own and would appreciate any help.

Thank you

Last edited by Smith oo4 (2009-08-26 23:43:39)

Offline

#2 2009-08-25 01:11:17

arkham
Member
From: Stockholm
Registered: 2008-10-26
Posts: 516
Website

Re: [solved] Stop, Start and Restart of Daemons Always [FAIL]

Although I can't help you, I sense that this thread is headed for an epic fail.


"I'm Winston Wolfe. I solve problems."

~ Need moar games? [arch-games] ~ [aurcheck] AUR haz updates? ~

Offline

#3 2009-08-25 03:19:52

NVS
Member
Registered: 2007-12-30
Posts: 29

Re: [solved] Stop, Start and Restart of Daemons Always [FAIL]

Have to ask: are you trying those as root?

Offline

#4 2009-08-25 07:04:05

moljac024
Member
From: Serbia
Registered: 2008-01-29
Posts: 2,676

Re: [solved] Stop, Start and Restart of Daemons Always [FAIL]

It seems you're trying those commands as a regular user, that's your problem.
You need to start/stop daemons as root


The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...

Offline

#5 2009-08-25 07:17:09

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,224
Website

Re: [solved] Stop, Start and Restart of Daemons Always [FAIL]

moljac024 wrote:

It seems you're trying those commands as a regular user, that's your problem.
You need to start/stop daemons as root

Yes. If you install and configure sudo, then you can prepend the commands with 'sudo' to temporarily gain root privs.

Offline

#6 2009-08-26 23:42:39

Smith oo4
Member
From: Calgary, Alberta, Canada
Registered: 2007-12-30
Posts: 42

Re: [solved] Stop, Start and Restart of Daemons Always [FAIL]

I have checked by bash history and you are right I have been trying to restart daemons without root privileges.  I can't believe that was my problem and that I could be that stupid.  Thank you for your help.

Offline

Board footer

Powered by FluxBB