• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

Command run adding domain

jas8522

Basic Pleskian
Hello,

Whenever a domain is added the following command is run:

sh -c for pid in `/bin/ps axc -opid,command|/bin/grep -E "[0-9] named$"|/usr/bin/awk '{print $1}' -` ; do /bin/kill -1 $pid ; done

followed by:
/usr/bin/awk {print $1} -

The problem is that these both give syntax errors when I run them, and when the CP runs them it causes the processes to hang. So if I run ps aux | grep awk I will get tons and tons of hung processes.

Anyone know why this would be happening?

Thanks,

Jordan

EDIT:

When I remove awk using 'rpm -e --nodeps --force gawk' then reinstall it with 'yum install gawk' it works for a day or so, then the processes start hanging again. WTF?
 
Back
Top