httpd dead but subsys locked, but pid exists

kalo nemu error kayak gini ini artinya http nya mati tapi secara paksa. http mati kalo ngak di flood atau memang trafficnya tinggi ke website horeeee. ini obatnya


rm -f /var/lock/subsys/httpd
/etc/init.d/httpd restart

kalo ngak mempan juga pake cara dibawah ini


# ipcs -s 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

coding diatas boleh nemu di internet aq main copas aja. intinya itu seh

ipcs -s | grep apache | perl -e 'while () { @a=split(/\s+/);print `echo $a[1]`}'
>> ini akan list semid nya. nah semid nya di bunuh pake perintah

ipcrm sem

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s