vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   HTTP 500 error when trying to create new thread (https://vborg.vbsupport.ru/showthread.php?t=323910)

XYZ500 11-22-2016 10:43 PM

HTTP 500 error when trying to create new thread
 
Moved to a new VPS.
Everything else seems to be working fine. Whenever I try to post a new thread, it gives HTTP error 500 on Chrome. On Firefox, it just displays a blank (white) page.

On Chrome, the error is:
The website.com page isn't working
website.com is currently unable to handle this request.
HTTP ERROR 500

When I try to reply to a thread from 'Go Advanced' option. Same error. However, the 'quick reply' option is working.

The host says they cannot help with this (can't diagnose the problem) as this is not covered by the support. Until I can tell them what exactly is wrong in the VPS.

What is causing this? And how to fix this?

Dave 11-22-2016 11:19 PM

Take a look at the PHP or Apache/nginx error logs (somewhere in /var/logs on the server), that will tell you exactly why it's causing the 500 internal server error.

XYZ500 11-22-2016 11:29 PM

Quote:

Originally Posted by Dave (Post 2578572)
Take a look at the PHP or Apache/nginx error logs (somewhere in /var/logs on the server), that will tell you exactly why it's causing the 500 internal server error.

Thank you. Can you tell me in a little bit more detail what exactly I should be looking for in the logs directory?

DivisionByZero 11-22-2016 11:34 PM

the reason text of the error.

XYZ500 11-22-2016 11:40 PM

Quote:

Originally Posted by Dave (Post 2578572)
Take a look at the PHP or Apache/nginx error logs (somewhere in /var/logs on the server), that will tell you exactly why it's causing the 500 internal server error.

Found two error log files in /var/log/httpd.
No file that contains the word 'error' found in /var/log/

The two files found in /var/log/httpd are named "error_log" and "error_log-20161121". I downloaded them. Changed the extension to .txt so I could open them. They have the following text in them.

error_log file:
Code:

[Mon Nov 21 04:02:01 2016] [notice] Digest: generating secret for digest authentication ...
[Mon Nov 21 04:02:01 2016] [notice] Digest: done
[Mon Nov 21 04:02:01 2016] [notice] Apache/2.2.15 (Unix) DAV/2 configured -- resuming normal operations
[Mon Nov 21 20:26:13 2016] [error] [client 94.102.49.xxx] File does not exist: /etc/zpanel/panel/sitemap.xml
[Tue Nov 22 17:59:27 2016] [error] [client 191.96.249.xxx] File does not exist: /etc/zpanel/panel/phpmyadmin

error_log-20161121 file:
Code:

[Tue Aug 05 22:12:27 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Aug 05 22:12:27 2014] [notice] Digest: generating secret for digest authentication ...
[Tue Aug 05 22:12:27 2014] [notice] Digest: done
[Tue Aug 05 22:12:27 2014] [notice] Apache/2.2.15 (Unix) DAV/2 configured -- resuming normal operations
[Tue Aug 05 22:16:21 2014] [error] [client 37.58.100.146] File does not exist: /var/www/html/calendar
[Tue Aug 05 22:18:44 2014] [notice] caught SIGTERM, shutting down
[Tue Aug 05 22:18:44 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Aug 05 22:18:44 2014] [notice] Digest: generating secret for digest authentication ...
[Tue Aug 05 22:18:44 2014] [notice] Digest: done
[Tue Aug 05 22:18:44 2014] [notice] Apache/2.2.15 (Unix) DAV/2 configured -- resuming normal operations
[Tue Aug 05 22:31:39 2014] [error] [client 37.58.100.91] File does not exist: /var/www/html/featured-events
[Tue Aug 05 22:35:10 2014] [error] [client 37.58.100.135] File does not exist: /var/www/html/schedule
[Tue Aug 05 23:23:43 2014] [notice] caught SIGTERM, shutting down
[Tue Aug 05 23:23:50 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Aug 05 23:23:50 2014] [notice] Digest: generating secret for digest authentication ...
[Tue Aug 05 23:23:50 2014] [notice] Digest: done
[Tue Aug 05 23:23:50 2014] [notice] Apache/2.2.15 (Unix) DAV/2 configured -- resuming normal operations
[Tue Aug 05 23:32:52 2014] [notice] SIGHUP received.  Attempting to restart
[Tue Aug 05 23:32:52 2014] [notice] Digest: generating secret for digest authentication ...
[Tue Aug 05 23:32:52 2014] [notice] Digest: done
[Tue Aug 05 23:32:52 2014] [notice] Apache/2.2.15 (Unix) DAV/2 configured -- resuming normal operations
[Tue Aug 05 23:32:53 2014] [notice] caught SIGTERM, shutting down
[Tue Aug 05 23:32:53 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Aug 05 23:32:53 2014] [notice] Digest: generating secret for digest authentication ...
[Tue Aug 05 23:32:53 2014] [notice] Digest: done
[Tue Aug 05 23:32:53 2014] [notice] Apache/2.2.15 (Unix) DAV/2 configured -- resuming normal operations
[Tue Aug 05 23:34:09 2014] [error] [client 37.58.100.75] File does not exist: /etc/zpanel/panel/photo-gallery
[Tue Aug 05 23:35:14 2014] [error] [client 37.58.100.234] File does not exist: /etc/zpanel/panel/calendar
[Wed Aug 06 00:35:46 2014] [error] [client 37.58.100.135] File does not exist: /etc/zpanel/panel/calendar
[Wed Aug 06 00:51:30 2014] [error] [client 37.58.100.148] File does not exist: /etc/zpanel/panel/calendar
[Wed Aug 06 01:02:52 2014] [error] [client 37.58.100.93] File does not exist: /etc/zpanel/panel/schedule
[Wed Aug 06 01:21:39 2014] [error] [client 37.58.100.135] File does not exist: /etc/zpanel/panel/schedule
[Wed Aug 06 01:51:38 2014] [error] [client 37.58.100.148] File does not exist: /etc/zpanel/panel/featured-events
[Wed Aug 06 02:02:59 2014] [error] [client 37.58.100.234] File does not exist: /etc/zpanel/panel/schedule
[Wed Aug 06 03:06:37 2014] [error] [client 37.58.100.75] File does not exist: /etc/zpanel/panel/schedule
[Wed Aug 06 03:44:43 2014] [error] [client 37.58.100.184] File does not exist: /etc/zpanel/panel/schedule
[Wed Aug 06 03:45:05 2014] [error] [client 37.58.100.234] File does not exist: /etc/zpanel/panel/secreteve
[Wed Aug 06 04:00:37 2014] [error] [client 37.58.100.132] File does not exist: /etc/zpanel/panel/schedule
[Wed Aug 06 04:05:22 2014] [error] [client 37.58.100.234] File does not exist: /etc/zpanel/panel/schedule
[Wed Aug 06 05:15:44 2014] [error] [client 37.58.100.142] File does not exist: /etc/zpanel/panel/calendar
[Wed Aug 06 05:32:39 2014] [error] [client 37.58.100.79] File does not exist: /etc/zpanel/panel/meters-2
[Wed Aug 06 05:35:53 2014] [error] [client 37.58.100.153] File does not exist: /etc/zpanel/panel/calendar
[Wed Aug 06 06:02:50 2014] [error] [client 37.58.100.234] File does not exist: /etc/zpanel/panel/schedule
[Wed Aug 06 07:13:50 2014] [error] [client 37.58.100.142] File does not exist: /etc/zpanel/panel/schedule
[Wed Aug 06 08:15:15 2014] [error] [client 37.58.100.93] File does not exist: /etc/zpanel/panel/home
[Wed Aug 06 08:34:15 2014] [error] [client 37.58.100.91] File does not exist: /etc/zpanel/panel/calendar
[Wed Aug 06 08:48:12 2014] [error] [client 37.58.100.142] File does not exist: /etc/zpanel/panel/calendar
[Wed Aug 06 09:44:14 2014] [error] [client 37.58.100.75] File does not exist: /etc/zpanel/panel/schedule
[Wed Aug 06 10:25:07 2014] [error] [client 37.58.100.75] File does not exist: /etc/zpanel/panel/schedule
[Wed Aug 06 10:39:50 2014] [error] [client 37.58.100.135] File does not exist: /etc/zpanel/panel/schedule
[Wed Aug 06 11:03:36 2014] [error] [client 37.58.100.234] File does not exist: /etc/zpanel/panel/schedule
[Wed Aug 06 11:55:04 2014] [error] [client 37.58.100.132] File does not exist: /etc/zpanel/panel/schedule
[Wed Aug 06 11:57:07 2014] [error] [client 37.58.100.184] File does not exist: /etc/zpanel/panel/home
[Wed Aug 06 15:13:10 2014] [error] [client 37.58.100.236] File does not exist: /etc/zpanel/panel/about
[Wed Aug 06 15:30:40 2014] [error] [client 37.58.100.236] File does not exist: /etc/zpanel/panel/meters
[Thu Aug 07 22:35:11 2014] [error] [client 195.2.240.103] File does not exist: /etc/zpanel/panel/calendar
[Thu Aug 07 23:03:43 2014] [error] [client 195.2.240.103] File does not exist: /etc/zpanel/panel/component
[Thu Aug 07 23:33:54 2014] [error] [client 82.221.109.194] File does not exist: /etc/zpanel/panel/api
[Fri Aug 08 17:40:31 2014] [error] [client 222.190.118.224] File does not exist: /etc/zpanel/panel/manager
[Fri Aug 08 20:53:24 2014] [notice] caught SIGTERM, shutting down
[Sun Nov 20 17:42:09 2016] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sun Nov 20 17:42:09 2016] [notice] Digest: generating secret for digest authentication ...
[Sun Nov 20 17:42:09 2016] [notice] Digest: done
[Sun Nov 20 17:42:09 2016] [notice] Apache/2.2.15 (Unix) DAV/2 configured -- resuming normal operations
[Sun Nov 20 17:44:54 2016] [notice] caught SIGTERM, shutting down
[Sun Nov 20 17:44:54 2016] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sun Nov 20 17:44:54 2016] [notice] Digest: generating secret for digest authentication ...
[Sun Nov 20 17:44:54 2016] [notice] Digest: done
[Sun Nov 20 17:44:54 2016] [notice] Apache/2.2.15 (Unix) DAV/2 configured -- resuming normal operations
[Sun Nov 20 18:40:10 2016] [error] [client 108.162.238.xxx] script '/etc/zpanel/panel/forumdisplay.php' not found or unable to stat
[Sun Nov 20 18:45:02 2016] [notice] SIGHUP received.  Attempting to restart
[Sun Nov 20 18:45:02 2016] [notice] Digest: generating secret for digest authentication ...
[Sun Nov 20 18:45:02 2016] [notice] Digest: done
[Sun Nov 20 18:45:02 2016] [notice] Apache/2.2.15 (Unix) DAV/2 configured -- resuming normal operations
[Sun Nov 20 18:50:01 2016] [notice] SIGHUP received.  Attempting to restart
[Sun Nov 20 18:50:01 2016] [notice] Digest: generating secret for digest authentication ...
[Sun Nov 20 18:50:01 2016] [notice] Digest: done
[Sun Nov 20 18:50:01 2016] [notice] Apache/2.2.15 (Unix) DAV/2 configured -- resuming normal operations
[Sun Nov 20 18:55:01 2016] [notice] SIGHUP received.  Attempting to restart
[Sun Nov 20 18:55:01 2016] [notice] Digest: generating secret for digest authentication ...
[Sun Nov 20 18:55:01 2016] [notice] Digest: done
[Sun Nov 20 18:55:01 2016] [notice] Apache/2.2.15 (Unix) DAV/2 configured -- resuming normal operations
[Sun Nov 20 19:10:01 2016] [notice] SIGHUP received.  Attempting to restart
[Sun Nov 20 19:10:01 2016] [notice] Digest: generating secret for digest authentication ...
[Sun Nov 20 19:10:01 2016] [notice] Digest: done
[Sun Nov 20 19:10:01 2016] [notice] Apache/2.2.15 (Unix) DAV/2 configured -- resuming normal operations
[Sun Nov 20 19:10:10 2016] [error] [client 108.162.238.xx] script '/etc/zpanel/panel/forumdisplay.php' not found or unable to stat
[Sun Nov 20 19:10:35 2016] [error] [client 162.158.167.xx] script '/etc/zpanel/panel/wp-login.php' not found or unable to stat
[Sun Nov 20 19:17:16 2016] [error] [client 162.158.51.xx] script '/etc/zpanel/panel/wp-login.php' not found or unable to stat
[Sun Nov 20 19:20:01 2016] [notice] SIGHUP received.  Attempting to restart
[Sun Nov 20 19:20:01 2016] [notice] Digest: generating secret for digest authentication ...
[Sun Nov 20 19:20:01 2016] [notice] Digest: done
[Sun Nov 20 19:20:01 2016] [notice] Apache/2.2.15 (Unix) DAV/2 configured -- resuming normal operations
[Sun Nov 20 20:22:02 2016] [error] [client 64.207.238.xxx] PHP Fatal error:  Maximum execution time of 60 seconds exceeded in Unknown on line 0, referer: http://104.168.xxx.xxx/etc/apps/phpmyadmin/
[Sun Nov 20 23:49:12 2016] [error] server reached MaxClients setting, consider raising the MaxClients setting
[Mon Nov 21 04:02:01 2016] [notice] SIGHUP received.  Attempting to restart

I purchased the server on November 20th 2016 so any errors dated before that can be ignored I guess. After looking at these logs, can you tell me what exactly is wrong so I can tell my host to fix it?

P.S. I crossed out some IPs as this is a public forum.

DivisionByZero 11-22-2016 11:42 PM

ok so what's the timestamp closest to when you encountered the error?

XYZ500 11-22-2016 11:51 PM

Quote:

Originally Posted by DivisionByZero (Post 2578576)
ok so what's the timestamp closest to when you encountered the error?

I am not sure what time zone the server is using. But I encountered this error 10 minutes before I created this thread. So you can say I encountered this error at 12:30 PM Melbourne time. I really can't tell you what the closest time of the server would be. But I think you can assume that the server is in CST time zone as the host operates in CST time zone as well.

Dave 11-22-2016 11:58 PM

Do you use some kind of control panel to manage your server? Maybe there's a PHP error log viewer somewhere.
The log files you pasted here don't really contain anything related to your error.

XYZ500 11-23-2016 12:10 AM

Quote:

Originally Posted by Dave (Post 2578578)
Do you use some kind of control panel to manage your server? Maybe there's a PHP error log viewer somewhere.
The log files you pasted here don't really contain anything related to your error.

zPanel is used on the server.

I just created a new user account and tried creating a thread. This account is being able to create threads without any problem. But at the same time, the admin account is giving the error I mentioned. Seems like this error is exclusive to the admin account. Any ideas?

Paul M 11-23-2016 01:09 PM

Enable debug more and then try, see if any error is displayed.


All times are GMT. The time now is 08:09 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02955 seconds
  • Memory Usage 1,781KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete