• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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