service went to maintenance state
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">
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">
0