Dear All.
VO-box-proxyrenewal service is started by VOsgm in VOBOX,
...
for AGENT in `ls ${VOBOX_VODIR}/start 2>/dev/null`; do
su - "$VOADMIN" -c "${VOBOX_VODIR}/start/${AGENT} start"
done
su - "$VOADMIN" -c "${LCG_LOCATION}/sbin/vobox-renewd ${VONAME}
${VOADMIN} ${VOBOX_ROOTDIR} &" || do_failure "St
arting ProxyRenewal Daemon: vobox-renewd"
...
but PID of the process belong to root.
...
getpid ${LCG_LOCATION}/sbin/vobox-renewd ${VONAME} ${VOADMIN}
${VOBOX_ROOTDIR} > $PID_FILE
...
[root@gliocl root]# ll /var/run/vobox_*
-rw-r--r-- 1 root root 0 Dec 11 22:14
/var/run/vobox_alice_renewd.pid
-rw-r--r-- 1 root root 6 Dec 11 22:14
/var/run/vobox_atlas_renewd.pid
-rw-r--r-- 1 root root 6 Dec 11 22:14
/var/run/vobox_cms_renewd.pid
-rw-r--r-- 1 root root 6 Dec 11 22:14
/var/run/vobox_lhcb_renewd.pid
-rw-r--r-- 1 root root 12 Dec 11 22:14
/var/run/vobox_photon_renewd.pid
-rw-r--r-- 1 root root 6 Dec 11 22:14
/var/run/vobox_rdteam_renewd.pid
And VOsgm gets as result -
[alicesgm@gliocl alicesgm]$ /etc/init.d/alice-box-proxyrenewal status
Service running in pid: 2713
alicesgm 2713 0.0 0.1 4216 1076 ? S Dec11 0:00 /bin/bash
/opt/lcg/sbin/vobox-renewd alice alicesgm /opt/vobox
[alicesgm@gliocl alicesgm]$ /etc/init.d/alice-box-proxyrenewal stop
rm: cannot remove `/var/run/vobox_alice_renewd.pid': Permission denied
Stopping vobox-renewd [ OK ]
[alicesgm@gliocl alicesgm]$ /etc/init.d/alice-box-proxyrenewal start
PID file already eists : /var/run/vobox_alice_renewd.pid [FAILED]
[alicesgm@gliocl alicesgm]$
Please, do the corrections of script for run of this service in LCG 2_7.
Best regards. Yevgeniy.
|