error-logging

“[notice] child pid XXXX exit signal Segmentation fault (11)” in apache error.log [closed]

余生颓废 提交于 2019-11-26 03:55:28
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 8 years ago . I am using Apache/PHP/MySQL stack. Using as framework CakePHP. Every now and then I get a blank white page. I can\'t debug it through Cake, so I peek in the apache error.log and here\'s what I get: [Wed Oct 12 15:27:23 2011] [notice] child pid 3580 exit signal Segmentation fault (11) [Wed Oct 12 15:27:34 2011]

Error handling in Bash

天大地大妈咪最大 提交于 2019-11-26 02:31:51
What is your favorite method to handle errors in Bash? The best example of handling errors I have found on the web was written by William Shotts, Jr at http://www.linuxcommand.org . He suggests using the following function for error handling in Bash: #!/bin/bash # A slicker error handling routine # I put a variable in my scripts named PROGNAME which # holds the name of the program being run. You can get this # value from the first item on the command line ($0). # Reference: This was copied from <http://www.linuxcommand.org/wss0150.php> PROGNAME=$(basename $0) function error_exit { # ----------

Error handling in Bash

半腔热情 提交于 2019-11-26 01:09:51
问题 What is your favorite method to handle errors in Bash? The best example of handling errors I have found on the web was written by William Shotts, Jr at http://www.linuxcommand.org. He suggests using the following function for error handling in Bash: #!/bin/bash # A slicker error handling routine # I put a variable in my scripts named PROGNAME which # holds the name of the program being run. You can get this # value from the first item on the command line ($0). # Reference: This was copied