I’m in a pickle, just broken my serial/activation system by upgrading it.
I keep getting these message in the server log, I’ve renamed the application name for security.
[quote][Sat Feb 25 07:05:56 2017] [error] [client 118.233.62.92] Script timed out before returning headers: xxxxx.cgi
[Sat Feb 25 07:06:56 2017] [warn] [client 118.233.62.92] Timeout waiting for output from CGI script /home/ow1537a/cgi-bin/xxxxx/xxxxx.cgi[/quote]
I’ve even reverted the code back to what it was, gone back to the previous Xojo version and re-built (so it will be the same as before).
I’ve removed the cgi file and then SSH in and killed the processes, then replaced them and ensured that all files have the ‘executable’ bit set.
If I do a ps -ef -f on the server, I can see multiple copies of the cgi running and one copy of the application running.
On launch the app connects to it’s database an writes a log entry indicating that the application is up and running. If I remove the cgi file and wait for a minute or so, it writes another entry indicating that it’s noticed the file is missing and shuts down. So IMHO the application is running.
Suggestions, please? I’m a bit desperate.
Tried it with both Xojo 2016r1.1 and 2016r4.1.
Used Time Machine to restore original source code and I’m still getting the same issue.
Boy, I can’t think of anything off the top of my head.
Those two errors you cited are typically from an app that’s hung or so busy that it can’t respond fast enough. Do you have the ability to see how much CPU your app is consuming?
When I used “ps -ef -f” it showed 00:00:00 CPU time.
Because of my bad planning and I simply overwrote the original app with the new one, I’ve devised a update protocol that I must follow in the future, at least it should prevent my from borking my system without testing it on the actual server first!!!
This also means that I’m now in the position to try to figure out why the hello world program doesn’t run, if I can get enough information from the server.