Httpd + Expect Script Fail (no more ptys) if httpd is not run through cli

Posted by Apostolis on Server Fault See other posts from Server Fault or by Apostolis
Published on 2012-04-04T09:16:31Z Indexed on 2012/04/04 11:31 UTC
Read the original article Hit count: 851

Filed under:
|
|

I have a CentOS virtual server through Vmware. The server runs an httpd daemon which serves an php page with a form. The users complete the form, and by clicking submit the php page calls an expect scripts. If i run the httpd throught the default init.d script i get a "no more ptys" error, but if i run httpd through root terminal the script runs without problems. How can i make the httpd run the expect scripts without having to run the httpd daemon by hand.

© Server Fault or respective owner

Related posts about centos

Related posts about httpd