Thursday, May 28, 2015

Prosedur Mengatasi Webmail Postfix Hang

Perintah baris yang digunakan :
# ipcs -s | grep apache
# ipcs -s | grep apache | perl -e 'while () { @a=split(/\s+/); print `ipcrm sem $a[1]`}'
# 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 () { @a=split(/\s+/); print `ipcrm sem $a[1]`}'
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...


Lihat juga : http://msmunir-ina.blogspot.com/2014/07/mail-server.html

No comments:

Post a Comment