On Sun, November 29, 2015 6:03 am, Michael Resnick wrote:
This is on a server with no Internet access, so I copied the 3 rpms as
shown below.
relevant portion seems to beÂ
Error in PREIN scriptlet in rpm package xymon-client-4.3.24-1.el6.x86_64
xymon logfetch requires group 'adm' to be present first
error: %pre(xymon-client-4.3.24-1.el6.x86_64) scriptlet failed, exit
status 1
error:Â Â install: %pre scriptlet failed (2), skipping
xymon-client-4.3.24-1.el6
Any help appreciated.
Hi,
When creating the 'xymon' user, the RPM adds it to the 'adm' group
(traditionally used for administrative log scanning). If the standard
'adm' group has been removed from the system it'll fail, so it's scanned
for in %pre.
To remove this check, rebuild the SRPM with the "--without logreader"
option: rpmbuild -ba --without logreader xymon-4.3.24-1.el6.src.rpm. You
can also adjust the 'logReaderGroup' value to something appropriate for
your system.
If it's just a one-off or test, you can also add the group, do the
install, then remove it as well.
HTH,
-jc