Re: Stopping and restarting Oracle
| From: | maxim | Date: | Fri, 12 Apr 2002 13:50:39 +0000 |
| Subject: | Re: Stopping and restarting Oracle | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-18455@lists.php.net to get a copy of this message | ||
Just try to run it in the background. I have been using it even such way:
exec("$command >csa.log 2>&1 &");
> exec("sudo /etc/rc.d/init.d/dbora stop");
>
> Everything works EXCEPT I cannot get it to return from the 'dbora start'
> command. The PHP script just sits there and won't budge. I've tried
> putting an exit command into the dbora script to make it die when it's
> finished but that doesn't seem to work either.
--------------------------------
Best regards,
Maxim Bubnov,
Software Engineer,
Stelt Telecom NN
maxim@nnov.stelt.ru