Notes |
|
(0000626)
|
user2
|
2013-01-08 07:48
|
|
Those are weird permissions, but identical to those used by httpd. I can't duplicate the problem -- it looks like the PID file is written as root before permissions are dropped back to webconfig (?) |
|
|
|
Hmm...weird thing is, I set permissions back to original, and everything works OK...However, I'm 100% sure this was broken for some reason...here is the session log:
[root@chambers ~]# ps afxw | grep webconfig
25092 pts/0 S+ 0:00 \_ grep webconfig
24820 ? Ss 0:00 /usr/sbin/webconfig
24822 ? S 0:00 \_ /usr/sbin/webconfig
24823 ? S 0:00 \_ /usr/sbin/webconfig
24824 ? S 0:00 \_ /usr/sbin/webconfig
[root@chambers ~]# ls /var/run/webconfig/webconfig.pid
ls: cannot access /var/run/webconfig/webconfig.pid: No such file or directory
[root@chambers ~]# vi /etc/rc.d/init.d/webconfig
[root@chambers ~]# /etc/rc.d/init.d/webconfig stop
Stopping webconfig: [FAILED]
[root@chambers ~]# ls /var/run/webconfig/webconfig.pid
ls: cannot access /var/run/webconfig/webconfig.pid: No such file or directory
[root@chambers ~]# ls -l /var/run/ | grep webconfig
drwx--x---. 2 root webconfig 4096 Jan 8 09:19 webconfig
[root@chambers ~]# chmod 770 /var/run/webconfig
[root@chambers ~]# ls -l /var/run/ | grep webconfig
drwxrwx---. 2 root webconfig 4096 Jan 8 09:19 webconfig
[root@chambers ~]# ps afxw | grep webconfig
25092 pts/0 S+ 0:00 \_ grep webconfig
24820 ? Ss 0:00 /usr/sbin/webconfig
24822 ? S 0:00 \_ /usr/sbin/webconfig
24823 ? S 0:00 \_ /usr/sbin/webconfig
24824 ? S 0:00 \_ /usr/sbin/webconfig
[root@chambers ~]# kill 24820
[root@chambers ~]# ps afxw | grep webconfig
25094 pts/0 S+ 0:00 \_ grep webconfig
[root@chambers ~]# /etc/rc.d/init.d/webconfig start
Starting webconfig: [ OK ]
[root@chambers ~]# ls /var/run/webconfig/
webconfig.pid
[root@chambers ~]# ls /var/run/webconfig/webconfig.pid
/var/run/webconfig/webconfig.pid
[root@chambers ~]# /etc/rc.d/init.d/webconfig stop
Stopping webconfig: [ OK ]
Mark as not reproducible for now, I guess. |
|
|
(0000653)
|
user2
|
2013-01-29 13:10
|
|
Closing for now. Please re-open if issue re-appears. |
|