Ticket #4336 (closed defect: fixed)
webservice SMF method fails due to mis-named shell script
|Reported by:||jmcp||Owned by:|
VBox 3.0.0 final, Solaris Express Community Edition build snv_117.
I noticed that there is a svc:/application/virtualbox/webservice:default in the 3.0.0 version and thought I should enable it.
As shipped, this service goes immediately to maintenance mode because the shell script the manifest refers to is missing.
[ Jul 1 13:24:47 Executing start method ("/opt/VirtualBox/smf-vboxwebsrv start"). ]
/sbin/sh: /opt/VirtualBox/smf-vboxwebsrv: not found
[ Jul 1 13:24:47 Stopping because all processes in service exited. ]
[ Jul 1 13:24:47 Restarting too quickly, changing state to maintenance. ]
The file that is shipped with SUNWvbox is /opt/VirtualBox/smf-vboxwebserv.sh.
Symlinking this file to /opt/VirtualBox/smf-vboxwebserv and running "svcadm clear" for the webservice allows the webservice to start.