• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

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