# ipcs -s | grep apache
# ipcs -s | grep apache | perl -e 'while (
# cd /var/lock/subsys && rm httpd
# service httpd restart
# /etc/init.d/httpd status
[root@webmail ~]# ipcs -s | grep apache
0x00000000 41549825 apache 600 1
0x00000000 41582594 apache 600 1
0x00000000 41615363 apache 600 1
0x00000000 41648132 apache 600 1
0x00000000 41680901 apache 600 1
0x00000000 41713670 apache 600 1
0x00000000 41746439 apache 600 1
[root@webmail ~]# ipcs -s | grep apache | perl -e 'while (
resource(s) deleted
resource(s) deleted
resource(s) deleted
resource(s) deleted
resource(s) deleted
resource(s) deleted
resource(s) deleted
[root@webmail ~]# cd /var/lock/subsys && rm httpd
rm: remove regular empty file `httpd'? y
[root@webmail subsys]# service httpd restart
Stopping httpd: [FAILED]
Starting httpd: [ OK ]
[root@webmail subsys]# /etc/init.d/httpd status
httpd (pid 14113) is running...
No comments:
Post a Comment