The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
.
google unix.com



SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
FTP is in maintenance mode always bullz26 SUN Solaris 5 07-30-2009 07:00 AM
Convet Linux OS from text mode to graphic mode s_linux SuSE 6 02-07-2009 11:18 PM
Machine is booting to maintenance mode. cheetobandito SUN Solaris 9 07-28-2008 12:50 PM
my process is going to sleep mode after 12 hours but i need my process in in firsy pr mukesh_rakesh1 UNIX for Advanced & Expert Users 0 09-05-2006 03:43 AM
Maintenance mode boot(MMB) and recovery mxms755 HP-UX 0 07-13-2006 09:24 AM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 08-25-2009
JVerstry JVerstry is offline
Registered User
  
 

Join Date: Aug 2009
Posts: 16
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 (permalink)  
Old 08-25-2009
jlliagre jlliagre is offline Forum Advisor  
ɹǝsn sıɹɐlosuǝdo
  
 

Join Date: Dec 2007
Location: Paris
Posts: 1,477
Try
Code:
svcs clear hudson
svcs -xv hudson

  #3 (permalink)  
Old 08-25-2009
JVerstry JVerstry is offline
Registered User
  
 

Join Date: Aug 2009
Posts: 16
'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 (permalink)  
Old 08-25-2009
jlliagre jlliagre is offline Forum Advisor  
ɹǝsn sıɹɐlosuǝdo
  
 

Join Date: Dec 2007
Location: Paris
Posts: 1,477
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 (permalink)  
Old 08-25-2009
JVerstry JVerstry is offline
Registered User
  
 

Join Date: Aug 2009
Posts: 16
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
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 08:29 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0