Oracle Solaris System Administration (MOSC)

MOSC Banner

service went to maintenance state

edited Jun 19, 2012 4:47AM in Oracle Solaris System Administration (MOSC) 2 commentsAnswered ✓
Hi experts,
I'm having problem with a service I wrote. It goes to maintenance state whenever the server is rebooted. But it goes to "online" as soon as I run "svcadm clear".
Below is what appears in the log:

Starting TMPMON...
/lib/svc/method/svc-tmpmon: /dev/null: cannot open
[ Jun 14 12:57:24 Method "start" exited with status 0 ]
[ Jun 14 12:57:24 Stopping because all processes in service exited. ]
[ Jun 14 12:57:24 Executing stop method (:kill) ]
[ Jun 14 12:57:24 Restarting too quickly, changing state to maintenance ]

It's a simple service, below is the manifest:

# cat tmpmon.xml
<?xml version="1.0"?>
<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center