Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

pmwebd binaries and init scripts missing from Solaris 11 package #57

Open
gkoh opened this Issue Dec 12, 2015 · 2 comments

Comments

Projects
None yet
2 participants

gkoh commented Dec 12, 2015

Just downloaded and installed provided binaries for PCP 3.10.8 for Solaris 11.
Although the SMF entry for pmwebd exists:

# svcs '*pmwebd*'
STATE          STIME    FMRI
disabled       Dec_12   svc:/application/pcp/pmwebd:default

The service fails to start because the pmwebd binary and init files are not included in the package:

[ Dec 12 15:43:17 Method "start" exited with status 127. ]
[ Dec 12 15:43:17 Executing start method ("/etc/init.d/pmwebd start"). ]
/sbin/sh[1]: exec: /etc/init.d/pmwebd: not found
[ Dec 12 15:43:17 Method "start" exited with status 127. ]

I'm not sure if this is deliberate or a bug.

Contributor

natoscott commented Dec 14, 2015

The pmwebd binary is not built there because a libmicrohttpd build (needed by pmwebd) was not readily available for Solaris, IIRC. The existence of the SMF entry is an oversight - the fix would be to build build/sun/pcp.xml using conditionally-included XML fragments based on state from configure.ac - rather than simply hard-coding everything in there (including filesystem paths, hmm).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment