Webroy Posted December 28, 2011 Share Posted December 28, 2011 Hi all, I wunder if someone has it working Plesk 10.4 with WHMCS 5. When i put i a new order het makes everything fine in plesk but the site gives a 500 error page not found. The helpdesk said to me: this just appears to be a configuration issue with Plesk. Perhaps there is an option in Plesk to not restart apache immediately after creating a new account On advise on the helpdesk i changed the websrvmng Unfortunatly no result. Thisis the line i use for plesk 10.4.4 /websrvmng #!/usr/bin/perl # rebuild command line; my $commandline=''; foreach $argnum (0 .. $#ARGV) { $commandline .= ' ' . $ARGV[$argnum]; } if( $commandline =~ /--restart/ ){ system("(sleep 10; /usr/local/psa/admin/sbin/websrvmng.ORIG -r) &"); } else { $cmd="/usr/local/psa/admin/sbin/websrvmng.ORIG $commandline"; system $cmd; } Does anyone have any ideas how to resolve this problem? 0 Quote Link to comment Share on other sites More sharing options...
Webroy Posted December 28, 2011 Author Share Posted December 28, 2011 I have also tried to upgrade it to: sleep 30; /usr/local/psa/admin/sbin/websrvmng.ORIG -r 0 Quote Link to comment Share on other sites More sharing options...
tkalfaoglu Posted May 12, 2012 Share Posted May 12, 2012 There are two things - one there is a 1-line SQL code to insert an option into psa for graceful restarts -- google it. two, go into the control panel and change the restart interval to say 600.. 0 Quote Link to comment Share on other sites More sharing options...
aleccs Posted August 8, 2012 Share Posted August 8, 2012 open your psa database and insert this INSERT INTO misc VALUES ('restart_apache_gracefully', 'true'); solved my problem getting the 500 error page 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.