Screencasts - Hilfsvideos

We had the same "runonce" problem

Created: 07 März 2013 • Aktualisiert: 03 Mai 2013 | 1 Kommentar
Dieses Problem wurde gelöst. Siehe Lösung.

We had the same problem as this post: https://www-secure.symantec.com/connect/forums/solaris-111-sfha-603-svcsystemvrtsperl-runoncedefault-maintenance

I also understand the technical procedure to disable/delete the service.   I also searched for the "runonce" script/executable but didn't find anything...

My question is how do we confirm that whatever needed to "runonce" actually ran and succeeded or if nothing really needed to run? and this really is just residue

here is the log output I have:

svc:/system/VRTSperl-runonce:default (?)
 State: maintenance since March  6, 2013 12:14:28 PM CST
Reason: Start method failed repeatedly, last exited with status 127.
   See: http://support.oracle.com/msg/SMF-8000-KS
   See: /var/svc/log/system-VRTSperl-runonce:default.log
Impact: This service is not running.

root@host:/var/adm# cat /var/svc/log/system-VRTSperl-runonce:default.log
[ Mar  6 11:21:30 Enabled. ]
[ Mar  6 11:21:30 Rereading configuration. ]
[ Mar  6 11:21:30 Executing start method ("/opt/VRTSperl/bin/runonce"). ]
/usr/sbin/sh[1]: exec: /opt/VRTSperl/bin/runonce: not found
[ Mar  6 11:21:30 Method "start" exited with status 127. ]
[ Mar  6 11:21:30 Executing start method ("/opt/VRTSperl/bin/runonce"). ]
/usr/sbin/sh[1]: exec: /opt/VRTSperl/bin/runonce: not found
[ Mar  6 11:21:30 Method "start" exited with status 127. ]
[ Mar  6 11:21:30 Executing start method ("/opt/VRTSperl/bin/runonce"). ]
/usr/sbin/sh[1]: exec: /opt/VRTSperl/bin/runonce: not found
[ Mar  6 11:21:30 Method "start" exited with status 127. ]
[ Mar  6 12:14:28 Executing start method ("/opt/VRTSperl/bin/runonce"). ]
/usr/sbin/sh[1]: exec: /opt/VRTSperl/bin/runonce: not found
[ Mar  6 12:14:28 Method "start" exited with status 127. ]
[ Mar  6 12:14:28 Executing start method ("/opt/VRTSperl/bin/runonce"). ]
/usr/sbin/sh[1]: exec: /opt/VRTSperl/bin/runonce: not found
[ Mar  6 12:14:28 Method "start" exited with status 127. ]
[ Mar  6 12:14:28 Executing start method ("/opt/VRTSperl/bin/runonce"). ]
/usr/sbin/sh[1]: exec: /opt/VRTSperl/bin/runonce: not found
[ Mar  6 12:14:28 Method "start" exited with status 127. ]
 

Thanks-

-John

Operating Systems:
Kategorien für Diskussion:

Kommentare 1 CommentZum neuesten Kommentar

das Bild der TonyGriffithss

Hi

Just to give you some background

www.symantec.com/docs/TECH203162

The service issue was introduced in 6.0.3 and only occurs on Solaris 11 SARC. The cause is that the runonce script was not packaged. This is not be an issue because the purpose of the script (remove a library) is achieved by IPS as part of the upgrade.

Cheers

tony

LÖSUNG