XFileSharing Pro - 500 Internal Server error while trying to Download a file

Message
Author
knsshetty
Posts: 28
Joined: Jun 08, 2012 10:21 am

500 Internal Server error while trying to Download a file

#1 Postby knsshetty » Jun 13, 2012 3:34 am

Hello,

I am getting 500 Internal Server error if I try to download a file from my site.

I have tried the below but no luck. Please help.

1. set 777 on Uploads and 00000 folders & Files.
2. Disabled Perl Mod in Apache
3. Repaired IP2Files Table
4. Did not find any errors in Apache Logs


Error:
-----------------------------------------------------------------------------------
Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator to inform of the time the error occurred and of anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

-----------------------------------------------------------------------------------

stdio
Posts: 65
Joined: Mar 27, 2012 4:05 pm

#2 Postby stdio » Jun 13, 2012 10:43 am

Post the error_log so we can see what is causing this.

knsshetty
Posts: 28
Joined: Jun 08, 2012 10:21 am

#3 Postby knsshetty » Jun 14, 2012 5:32 pm

error log below

------------------------------------------------------------------------------------
[Thu Jun 14 03:34:54 2012] [notice] caught SIGTERM, shutting down
[Thu Jun 14 03:34:55 2012] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Jun 14 03:34:55 2012] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
[Thu Jun 14 03:34:55 2012] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
[Thu Jun 14 03:34:55 2012] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
[Thu Jun 14 03:34:55 2012] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Thu Jun 14 03:34:55 2012] [notice] Digest: generating secret for digest authentication ...
[Thu Jun 14 03:34:55 2012] [notice] Digest: done
PHP Warning: Directive 'safe_mode' is deprecated in PHP 5.3 and greater in Unknown on line 0
[Thu Jun 14 03:34:55 2012] [error] python_init: Python version mismatch, expected '2.6.5', found '2.6.6'.
[Thu Jun 14 03:34:55 2012] [error] python_init: Python executable found '/usr/bin/python'.
[Thu Jun 14 03:34:55 2012] [error] python_init: Python path being used '/usr/lib64/python26.zip:/usr/lib64/python2.6/:/usr/lib64/python2.6/plat-linux2:/usr/lib64/python
2.6/lib-tk:/usr/lib64/python2.6/lib-old:/usr/lib64/python2.6/lib-dynload'.
[Thu Jun 14 03:34:55 2012] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
[Thu Jun 14 03:34:55 2012] [notice] mod_python: using mutex_directory /tmp
[Thu Jun 14 03:34:55 2012] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
[Thu Jun 14 03:34:55 2012] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
[Thu Jun 14 03:34:55 2012] [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?
[Thu Jun 14 03:34:55 2012] [warn] Init: Name-based SSL virtual hosts only work for clients with TLS server name indication support (RFC 4366)
[Thu Jun 14 03:34:55 2012] [notice] Apache/2.2.15 (Unix) DAV/2 mod_fcgid/2.3.6 mod_python/3.3.1 Python/2.6.6 mod_ssl/2.2.15 OpenSSL/1.0.0-fips configured -- resuming no
rmal operations

Silfro
Posts: 48
Joined: May 16, 2012 1:31 am

#4 Postby Silfro » Jun 14, 2012 9:07 pm

[Thu Jun 14 03:34:55 2012] [error] python_init: Python version mismatch, expected '2.6.5', found '2.6.6'.
[Thu Jun 14 03:34:55 2012] [error] python_init: Python executable found '/usr/bin/python'.
[Thu Jun 14 03:34:55 2012] [error] python_init: Python path being used '/usr/lib64/python26.zip:/usr/lib64/python2.6/:/usr/lib64/python2.6/plat-linux2:/usr/lib64/python
2.6/lib-tk:/usr/lib64/python2.6/lib-old:/usr/lib64/python2.6/lib-dynload'.

fix it.
Reinstall python.

stdio
Posts: 65
Joined: Mar 27, 2012 4:05 pm

#5 Postby stdio » Jun 15, 2012 12:26 am

Does XFS use python? I doubt that's the cause. The error logs don't show anything specifically. Did you post the apache error_log or the domain error log?

knsshetty
Posts: 28
Joined: Jun 08, 2012 10:21 am

#6 Postby knsshetty » Jun 16, 2012 10:06 am

I Disabled Python but still showing same error. 500 Internal server error. Rest all the features are working on my site except download error. Please help.

oldmanman
Posts: 20
Joined: Jun 01, 2012 9:00 am

#7 Postby oldmanman » Jun 17, 2012 12:23 pm

hello!

i am facing the same problem.. 500 error when downloading file.. however! when i use a premium account to download the file, it downloads it perfectly with no errors.. have u tried to download with a premium account? or do you face the same issue regardless of premium or non-premium

knsshetty
Posts: 28
Joined: Jun 08, 2012 10:21 am

#8 Postby knsshetty » Jun 17, 2012 2:02 pm

I did some investigation and found that CGI-Carp was missing. I executed the below commands and the issue is Resolved..!!! :)

perl -MCPAN -e shell

install CGI::Carp

Hope it helps you guys.. :)