Process in maintenance mode, why?


 
Thread Tools Search this Thread
Operating Systems Solaris Process in maintenance mode, why?
# 1  
Old 08-25-2009
Process in maintenance mode, why?

Hi,

I have installed Hudson on a Solaris 11 server, using the installation instructions available at Paul Oswald: Hudson Solaris SMF Manifest.

When I perform svcs -l hudson, I get:

Code:
fmri         svc:/application/hudson:default
name         Hudson Continuous Build Server
enabled      true
state        maintenance
next_state   none
state_time   Fri Jul 31 15:35:39 2009
logfile      /var/svc/log/application-hudson:default.log
restarter    svc:/system/svc/restarter:default
dependency   require_all/none svc:/milestone/multi-user-server (online)

The log file contains:
Code:
[ Jul 31 12:57:57 Disabled. ]
[ Jul 31 12:57:57 Rereading configuration. ]
[ Jul 31 12:58:33 Enabled. ]
[ Jul 31 14:42:56 Leaving maintenance because disable requested. ]
[ Jul 31 14:42:56 Disabled. ]
[ Jul 31 15:35:32 Enabled. ]
[ Aug 25 07:57:22 Rereading configuration. ]

Does anyone know why my Hudson service is not 'online'? I have also posted this issue on a Hudson forum, because I do not know what is causing it (Hudson or Solaris).

Thanks,

JVerstry
# 2  
Old 08-25-2009
Try
Code:
svcs clear hudson
svcs -xv hudson

# 3  
Old 08-25-2009
'svcs clear hudson' gives:
Code:
svcs: Pattern 'clear' doesn't match any instances
STATE          STIME    FMRI
maintenance    Jul_31   svc:/application/hudson:default

'svcs -xv hudson' gives:
Code:
svc:/application/hudson:default (Hudson Continuous Build Server)
 State: maintenance since Fri Jul 31 15:35:39 2009
Reason: Method failed.
   See: http://sun.com/msg/SMF-8000-8Q
   See: http://hudson.dev.java.net
   See: /var/svc/log/application-hudson:default.log
Impact: This service is not running.

Does it mean my server is in maintenance or Hudson is in maintenance? If it is Hudson, how can this be since I have just installed it with the latest downloadable files?

Thanks for your help anyway,

JVerstry

P.S.: I have tried 'svcadm clear hudson' instead of 'svcs clear hudson'. The command returns nothing. When I perform 'svcs -xv hudson' after it, I get:

Code:
svc:/application/hudson:default (Hudson Continuous Build Server)
 State: maintenance since Tue Aug 25 09:46:39 2009
Reason: Method failed.
   See: http://sun.com/msg/SMF-8000-8Q
   See: http://hudson.dev.java.net
   See: /var/svc/log/application-hudson:default.log
Impact: This service is not running.


Last edited by JVerstry; 08-25-2009 at 01:49 PM.. Reason: Using svcadm clear
# 4  
Old 08-25-2009
Your service (hudson) is in maintenance mode because it failed to start on July 31.

Did you try to restart it ?
Code:
svcadm disable hudson
svcadm enable hudson

# 5  
Old 08-25-2009
After I performed the 2 above commands, I tried svcs -l hudson again and got:

Code:
fmri         svc:/application/hudson:default
name         Hudson Continuous Build Server
enabled      true
state        maintenance
next_state   none
state_time   Tue Aug 25 09:58:24 2009
logfile      /var/svc/log/application-hudson:default.log
restarter    svc:/system/svc/restarter:default
dependency   require_all/none svc:/milestone/multi-user-server (online)

The log file contains:

Code:
[ Jul 31 12:57:57 Disabled. ]
[ Jul 31 12:57:57 Rereading configuration. ]
[ Jul 31 12:58:33 Enabled. ]
[ Jul 31 14:42:56 Leaving maintenance because disable requested. ]
[ Jul 31 14:42:56 Disabled. ]
[ Jul 31 15:35:32 Enabled. ]
[ Aug 25 07:57:22 Rereading configuration. ]
[ Aug 25 09:46:39 Leaving maintenance because clear requested. ]
[ Aug 25 09:46:39 Enabled. ]
[ Aug 25 09:58:14 Leaving maintenance because disable requested. ]
[ Aug 25 09:58:14 Disabled. ]
[ Aug 25 09:58:24 Enabled. ]

Do it mean the issue is with Hudson?

Thanks,

JVerstry
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Maintenance mode

i booted into maintenance mode boot -- -s from the console I got the Root password for system maintenance (control-d to bypass) I did control -d and then logged in it told me that I was booting into boot -s but after I did a control -d and logged in who -r shows ... (9 Replies)
Discussion started by: goya
9 Replies

2. AIX

How to put VIOS in Maintenance mode?

Hi this may be a easy question to answer but thanks in advance. So I was able to download the VIOS media from IBM and currently I am burning it to a cd/dvd right now. The steps I've collected so far are from the net. can you please confirm and add on to the steps if there are any steps... (0 Replies)
Discussion started by: Adnans2k
0 Replies

3. Solaris

/network/smb/server goes into maintenance mode.

All I'm running an OpenSolaris system (Nexenta). When doing a svcs I see that/network/smb/server is in maintenance mode. I have run a clear on the service and restarted. I see the same service show online* for a bit but then, enters maintenance every time. In the service log I... (2 Replies)
Discussion started by: dcpatriot
2 Replies

4. Solaris

DNS service is in maintenance mode. How to bring it back to online mode?

:confused: when i tried to look the status of DNS-client, it is in maintenance mode..... Please tell me how to bring it back to online mode...PLEASE TELL ME STEP BY STEP.... PLEASE... :wall: (2 Replies)
Discussion started by: vamshigvk475
2 Replies

5. Solaris

Solaris 10 system boots into Maintenance mode

I have seen similar threads on this issue, but I have not seen a fix. Basically I am getting a lot of rcp bind errors. Below find the output of "svcs -xv". not sure where to begin: # svcs -xv svc:/network/rpc/bind:default (RPC bindings) State: maintenance since Fri May 25 14:13:18 2012... (14 Replies)
Discussion started by: brownwrap
14 Replies

6. Solaris

System booting to maintenance mode

Hi Guys, I have a sunblade 1500. I booted the system and it booted to maintenance mode. How can I fix this? Thanks lots (8 Replies)
Discussion started by: cjashu
8 Replies

7. Solaris

Samba service in maintenance mode ???

I have a Solaris 10 SunFire v880 machine and I'm having trouble with Samba. Samba has worked on this machine but since the machine has been re-booted Samba has not worked. Machine details are: cat /etc/release Solaris 10 10/08 s10s_u6wos_07b SPARC Copyright 2008... (2 Replies)
Discussion started by: KenLynch
2 Replies

8. Solaris

FTP is in maintenance mode always

Hello All, On solaris 10 server i could see the FTP service is in maintenance mode always :mad: Could some assist? svcs -xv svc:/network/nfs/nlockmgr:default (NFS lock manager) State: maintenance since Tue 28 Jul 2009 11:47:55 AM BST Reason: Restarting too quickly. See: Sun... (5 Replies)
Discussion started by: bullz26
5 Replies

9. Solaris

Machine is booting to maintenance mode.

I had a power failure the other day and when my relatively new Solaris 10 machine rebooted it is thrown into maintenance mode. I've found the following lines in the /var/adm/messages file, I'm assuming this is the root cause of the problem. However, I don't have the slightest idea on how to... (9 Replies)
Discussion started by: cheetobandito
9 Replies

10. HP-UX

Maintenance mode boot(MMB) and recovery

hi, i figured why i need to boot in MMB,some of which are missing or corrupt LABEL (LIF labeL ,i guess) on the boot disk. To explicitly corrupt this entry i think a simple dd will work. ok let me elaborate this issue: i need to check this functionality. so i have one LVM boot disk and one... (0 Replies)
Discussion started by: mxms755
0 Replies
Login or Register to Ask a Question