Hi, I'm having a problem when adding my service to my desktop. I'm adding it via a package that I have built.
Here is what I get: ----------------------------------------------------------- % pkgadd -d <pkg_dir>/packages/i386/nightly-nd SUNWipmi Processing package instance <SUNWipmi> from </<pkg_dir>/packages/i386/nightly-nd> ipmitool, (usr)(i386) 11.11.0,REV=2006.10.19.16.47 Copyright 2004 Sun Microsystems, Inc. All rights reserved. [ ... ] Do you want to continue with the installation of <SUNWipmi> [y,n,?] y Installing ipmitool, (usr) as <SUNWipmi> ## Installing part 1 of 1. /lib/svc/method/svc-ipmievd /usr/lib/ipmievd /usr/sbin/ipmitool /usr/sfw/bin/ipmitool <symbolic link> [ verifying class <none> ] [ verifying class <manifest> ] Installation of <SUNWipmi> was successful. -------------------------------------------------------------- It seems as if everything ran successfully. However, I do not see my package registered when I do "svcs -a". I try to import the package manually, and I get an error that I do not understand: % svcs -a | grep ipmievd % ps -aef | grep svc root 7 1 0 Oct 05 ? 0:12 /lib/svc/bin/svc.startd root 9 1 0 Oct 05 ? 0:31 /lib/svc/bin/svc.configd root 236 1 0 Oct 05 ? 0:00 /usr/lib/netsvc/yp/ypbind \ -broadcast % svcadm enable svc:/network/ipmievd:default svcadm: Pattern 'svc:/network/ipmievd:default' doesn't match any instances % svccfg import /var/svc/manifest/network/ipmievd.xml svccfg: Scope "localhost" changed unexpectedly (service "network/ipmievd" added). svccfg: Could not refresh svc:/network/ipmievd:default (deleted). I do not know what "localhost" refers to in this error - ? Also, I tried tweaking some things in the xml manifest and the start/stop method directly on my desktop in the files: /var/svc/manifest/network/ipmievd.xml /lib/svc/method/svc-ipmievd and then running "svccfg import" manually, but I still got the same error message. Is it ok to do what I did? --- change the manifest/method on the machine itself and re-run svccfg, or must the method/manifest always be inserted via a pkgadd because some "other" SMF commands run in the background which update the repository? Is there a way to check what is in the repository (repository.db)? Is there a log file someplace where I can see more info on the commands that I run? Thanks for any help on what I should try next - Cathy -------------- next part -------------- A non-text attachment was scrubbed... Name: ipmievd.xml Type: text/xml Size: 3167 bytes Desc: not available URL: <http://mail.opensolaris.org/pipermail/smf-discuss/attachments/20061023/9864fddf/attachment.xml> -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: svc-ipmievd URL: <http://mail.opensolaris.org/pipermail/smf-discuss/attachments/20061023/9864fddf/attachment.ksh>