Error 500 While Loading Perl File
Mar 24, 2009We have a perl script that is located under cgi-bin/yabb/
Everytime it's loaded is causing an error 500, suexec logs shows everything correct but error_log shows this: ...
We have a perl script that is located under cgi-bin/yabb/
Everytime it's loaded is causing an error 500, suexec logs shows everything correct but error_log shows this: ...
I'm getting a internal 500 on a test perl file that I placed inside cgi-bin
This is a cpanel box with suphp enabled ....
--> Populating transaction set with selected packages. Please wait.
---> Package cadaver.i386 0:0.22.5-1.el5.rf set to be updated
---> Package mtr.i386 2:0.72-1.el5.rf set to be updated
---> Package rsync.i386 0:3.0.2-1.el5.rf set to be updated
---> Package nmap.i386 2:4.20-1.el5.rf set to be updated
---> Package lftp.i386 0:3.7.1-1.el5.rf set to be updated
---> Package syslinux.i386 0:3.63-1.el5.rf set to be updated
---> Package dkms.noarch 0:2.0.19-2.el5.rf set to be updated
---> Package subversion.i386 0:1.4.6-0.1.el5.rf set to be updated
--> Running transaction check
--> Processing Dependency: perl(Crypt:asswdMD5) for package: syslinux
--> Finished Dependency Resolution
Error: Missing Dependency: perl(Crypt:asswdMD5) is needed by package syslinux
when I run yum update
How can pervent users ro run scripts start with #!/usr/bin/perl in anywhere.
Its a big security issue for run shell.
I've been trying to figure this out for about the past week and haven't had any success.
Can't locate funcs.pl in @INC (@INC contains: lib/perl . /usr/lib/perl5/5.8.8/i686-linux /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/i686-linux /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl) at ./terr.pl line 28.
I'm trying to run perl magick.
i use the following perl script(created by me) to save server load every 30 minutes to a log file i just keep it running in the background(probably would be more effective using cron)
#!/usr/bin/perl
while(1) {
$w = `w`;
#print $w;
$w =~ /load average: (.+)
/;
$log = $1;
my ($sec, $min, $hour, $mday, $mon, $year) = localtime;
my $rightnow = sprintf("%04d-%02d-%02d %02d:%02d:%02d ", $year + 1900, $mon + 1, $mday, $hour, $min, $sec);
$log = $rightnow . ": " . $log ."
";
open (OUTFILE, ">>top_logfile.txt");
print OUTFILE "$log
";
close (OUTFILE);
#sleep for 30 minutes
sleep(1800);
}
I have some web space but the other day all the folders in my folder manager disappeared and I cant upload any files to me web space.
When I click on the only folder left a box pops up saying "error loading callback data"? (SEE pic below)
[url]
My server is working fine for the last 13 months but since lst tuesday (may 20) it throws error 500. Here is the complete error message
======
Error Summary
HTTP Error 500.0 - Internal Server Error
File monitoring is enabled for a file which could not be found
Detailed Error Information
ModuleFastCgiModule
NotificationExecuteRequestHandler
HandlerPHP5-FastCGI-php
Error Code0x80070003
Requested URLhttp://mydomain:80/index.php
Physical PathC:Inetpubvhostsmydomainhttpdocsindex.php
Logon MethodAnonymous
Logon UserAnonymous
=======
My Server Details
Panel version11.0.9 Update #61, last updated at May 5, 2014 12:52 AM
Windows Server 2008 Service pack 1 64bit
Intel Xeon 2.3 with 24GB Ram
=======
For self diagnostic I delete all files on my root directory (C:Inetpubvhostsmydomainhttpdocs) and put only 2 files
index.php and index.html
When I browse for index.html. It display properly. When I browse for index.php the error persist. What could be wrong?
I have a very strange error with mod_ext_filter (apache 2.2/php5.2.4)
Filter is defined with
ExtFilterDefine output_filter mode=output intype=text/html
outtype=text/html cmd="path_to_filter_file"
and called with
<Directory "/home/users/">
SetOutputFilter output_filter
filter file
------
use strict;
$_ = join('',<STDIN>);
$_=$_.'test';
print $_;
--------------
And now the problem. I want to automatically add extra html code with this
filter. On most sites working fine without problem. PhpBB3 working just fine, for example.
But on other php scripts like vBulletin, SMF, Nuke, IPB it brokes entire site.
IE6 have unterminable refreshes, IE7 displays an error page, Firefox retunrs a blank page if extra code is placed on header. With Opera errors are minimal but sometimes it displays some strange code.
These errors are only related to vBulletin, SMF, Nuke, IPB and few others.
Removing this line
$_=$_.'test';
everything is back to the normal without extra code
After upgrading to cPanel 11 ( did all steps in the checklist ) i can not login using site.com/cpanel & site.com/webmail , but i can login using [url]and [url], same as webmail at 2095 and 2096.
Im using RHEL 4 and latest cp v11 RELEASE
I have been having soooo many issues with this new server
It is nothing against my host; but now the videos aren't loading or loading so slow
What could be the issue? It would have to be a server issue, correct?
The site is nsfw but it is ftw (hint hint) , it is an adult site and I don't know if
About every three weeks my error_log file reaches its 2G limit with hundreds of thousands of lines with this error
Quote:
[Thu Jul 12 19:30:38 2007] [notice] child pid 31972 exit signal File size limit exceeded (25)
What in the world does this mean?
Does anyone know what the following events in /var/log/messages mean. It looks like some sort of failure on the ata bus. Does the last line mean that it successfully wrote all data using the cache, or could there be data loss?
The output of smartctl looks ok for the disk.
Code:
Jul 26 16:44:35 server1 kernel: ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
Jul 26 16:44:35 server1 kernel: ata1.00: cmd c8/00:08:9d:e2:8a/00:00:00:00:00/ec tag 0 cdb 0x0 data 4096 in
Jul 26 16:44:35 server1 kernel: res 40/00:01:00:4f:c2/00:00:00:00:00/00 Emask 0x4 (timeout)
Jul 26 16:44:42 server1 kernel: ata1: port is slow to respond, please be patient (Status 0xd0)
Jul 26 16:45:05 server1 kernel: ata1: port failed to respond (30 secs, Status 0xd0)
Jul 26 16:45:05 server1 kernel: ata1: soft resetting port
Jul 26 16:45:10 server1 kernel: ata1.00: revalidation failed (errno=-2)
Jul 26 16:45:10 server1 kernel: ata1: failed to recover some devices, retrying in 5 secs
Jul 26 16:45:15 server1 kernel: ata1: soft resetting port
Jul 26 16:45:15 server1 kernel: ata1.00: configured for UDMA/133
Jul 26 16:45:15 server1 kernel: ata1: EH complete
Jul 26 16:45:15 server1 kernel: SCSI device sda: 976773168 512-byte hdwr sectors (500108 MB)
Jul 26 16:45:15 server1 kernel: SCSI device sda: drive cache: write back
just noticed these errors
could this be a hacker or something?
Code:
[Sat Feb 17 16:37:51 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/phpmyadmin/main.php
[Sat Feb 17 16:37:51 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/404.shtml
[Sat Feb 17 16:37:51 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/phpMyAdmin/main.php
[Sat Feb 17 16:37:51 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/404.shtml
[Sat Feb 17 16:37:52 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/PHPMYADMIN/main.php
[Sat Feb 17 16:37:52 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/404.shtml
[Sat Feb 17 16:37:52 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/pHpMyAdMiN/main.php
[Sat Feb 17 16:37:52 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/404.shtml
[Sat Feb 17 16:37:52 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/PhPmYaDmIn/main.php
[Sat Feb 17 16:37:52 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/404.shtml
[Sat Feb 17 16:37:52 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/PHPmyadmin/main.php
[Sat Feb 17 16:37:52 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/404.shtml
[Sat Feb 17 16:37:52 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/PHPMYadmin/main.php
[Sat Feb 17 16:37:52 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/404.shtml
[Sat Feb 17 16:37:52 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/phpMYadmin/main.php
[Sat Feb 17 16:37:52 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/404.shtml
[Sat Feb 17 16:37:52 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/phpmyADMIN/main.php
[Sat Feb 17 16:37:52 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/404.shtml
[Sat Feb 17 16:37:53 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/pmamy/main.php
[Sat Feb 17 16:37:53 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/404.shtml
[Sat Feb 17 16:37:53 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/pma/main.php
[Sat Feb 17 16:37:53 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/404.shtml
[Sat Feb 17 16:37:53 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/PMA/main.php
[Sat Feb 17 16:37:53 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/404.shtml
[Sat Feb 17 16:37:53 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/myadmin/main.php
[Sat Feb 17 16:37:53 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/404.shtml
[Sat Feb 17 16:37:53 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/MYADMIN/main.php
[Sat Feb 17 16:37:53 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/404.shtml
[Sat Feb 17 16:37:53 2007] [error] PHP Fatal error: Uncaught exception 'Exception' with message 'Unable to connect to database on localhost' in /home/lavals/public_html/auth1/wifidog-auth/wifidog/classes/AbstractDb.php:96
Stack trace:
#0 /home/lavals/public_html/auth1/wifidog-auth/wifidog/classes/AbstractDb.php(321): AbstractDb->connect(NULL)
#1 /home/lavals/public_html/auth1/wifidog-auth/wifidog/classes/Server.php(227): AbstractDb->execSqlUniqueRes('SELECT server_i...', NULL, false, true)
#2 /home/lavals/public_html/auth1/wifidog-auth/wifidog/include/common.php(107): Server::getCurrentServer(true)
#3 /home/lavals/public_html/auth1/wifidog-auth/wifidog/ping/index.php(50): require_once('/home/lavals/pu...')
#4 {main}
thrown in /home/lavals/public_html/auth1/wifidog-auth/wifidog/classes/AbstractDb.php on line 96
[Sat Feb 17 16:37:53 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/MYadmin/main.php
[Sat Feb 17 16:37:53 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/404.shtml
[Sat Feb 17 16:37:53 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/myADMIN/main.php
[Sat Feb 17 16:37:53 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/404.shtml
[Sat Feb 17 16:37:54 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/MyAdmin/main.php
[Sat Feb 17 16:37:54 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/404.shtml
[Sat Feb 17 16:37:54 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/PMA/main.phpmain.php
[Sat Feb 17 16:37:54 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/404.shtml
[Sat Feb 17 16:37:54 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/phpmyadmin/main.phpmain.php
[Sat Feb 17 16:37:54 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/404.shtml
[Sat Feb 17 16:37:54 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/mysql/main.phpmain.php
[Sat Feb 17 16:37:54 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/404.shtml
[Sat Feb 17 16:37:54 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/admin/main.phpmain.php
[Sat Feb 17 16:37:54 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/404.shtml
[Sat Feb 17 16:37:54 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/db/main.phpmain.php
[Sat Feb 17 16:37:54 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/404.shtml
[Sat Feb 17 16:37:54 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/dbadmin/main.phpmain.php
[Sat Feb 17 16:37:54 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/404.shtml
[Sat Feb 17 16:37:55 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/web/phpMyAdmin/main.phpmain.php
[Sat Feb 17 16:37:55 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/404.shtml
[Sat Feb 17 16:37:55 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/admin/pma/main.phpmain.php
[Sat Feb 17 16:37:55 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/404.shtml
[Sat Feb 17 16:37:55 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/admin/phpmyadmin/main.phpmain.php
[Sat Feb 17 16:37:55 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/404.shtml
[Sat Feb 17 16:37:55 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/admin/mysql/main.phpmain.php
[Sat Feb 17 16:37:55 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/404.shtml
[Sat Feb 17 16:37:55 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/mysql-admin/main.phpmain.php
[Sat Feb 17 16:37:55 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/404.shtml
[Sat Feb 17 16:37:55 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/phpmyadmin2/main.phpmain.php
[Sat Feb 17 16:37:55 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/404.shtml
[Sat Feb 17 16:37:55 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/mysqladmin/main.phpmain.php
[Sat Feb 17 16:37:55 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/404.shtml
[Sat Feb 17 16:37:56 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/mysql-admin/main.phpmain.php
[Sat Feb 17 16:37:56 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/404.shtml
[Sat Feb 17 16:37:56 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/main.phpmain.php
[Sat Feb 17 16:37:56 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/404.shtml
[Sat Feb 17 16:37:56 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/phpMyAdmin-2.5.6/main.phpmain.php
[Sat Feb 17 16:37:56 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/404.shtml
[Sat Feb 17 16:37:56 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/phpMyAdmin-2.5.4/main.phpmain.php
[Sat Feb 17 16:37:56 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/404.shtml
[Sat Feb 17 16:37:56 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/phpMyAdmin-2.5.1/main.phpmain.php
[Sat Feb 17 16:37:56 2007] [error] [client 67.94.163.210] File does not
we are getting the following error messages in the apache log file.
*** glibc detected *** free(): invalid next size (normal): 0xb8efe1d8 ***
[Tue Mar 20 12:36:20 2007] [notice] child pid 18070 exit signal Aborted (6
I have this Strange problem with the server.
Whenever i try to wget a file onto server it gives ERROR
Quote:
Resolving superb-west.dl.sourceforge.net... failed: Name or service not known.
If i use the FTP command on SSH. It still gives ERROR
Quote:
"ftp: xxxx.xxxx.net unknown host
Not connected.
Not connected.
Interactive mode off.
Not connected."
Even Paypal cant call back. Some users are facing problems where they have billing Scripts and scripts cant trace callback from Paypal
When some jobs done via php scripts which use file get contents , page gives internal server error without waiting.
View 3 Replies View RelatedI was checking my error_log today and found thousands of 404 errors for these 2 files:
/flashtalking/ftlocal.html
/doubleclick/DARTIframe.html
I assume they are file requests made from ads on the site.
Right now I've just added those directories and files to appease the error logs, but can I fake their existence somehow without having to clutter up my file structure?
I'm having a problem in my cPanel/WHM on a RHEL3. I installed a webcam and I'm trying to upload the images to an specific directory. The process is simple: the webcam uploads a temporary file to avoid not having a correct JPG version of the image and then renames the temporary file to the JPG. Problem is PureFTD won't premit this last step, renaming, but does permit overwriting an existing file at upload time.
I've been looking in hte PureFTD documentation and can't seem to find the correct configuration flag. I'm probably missing something, any ideas?
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE
Parallels Plesk Panel 12.0.18 MU #51 CentOS 6.6 (Final)
PROBLEM DESCRIPTION
The following error has started to appear on our server: New configuration files for the Apache web server were not created due to the errors in configuration templates: Template processing failed: file = /usr/local/psa/admin/conf/templates/default/nginxDomainVhost.php, error = Template_Exception: Empty content was provided for config file /var/www/vhosts/system/domain/conf/nginx.conf file: /usr/local/psa/admin/plib/Template/Writer/Webserver/Abstract.php line: 47 code: 0. Detailed error descriptions were sent to you by email. Please resolve the issues and click here to generate broken configuration files once again or here to generate all configuration files.
STEPS TO REPRODUCE
Appears on the plesk home page
ACTUAL RESULT
Error displaying as above
EXPECTED RESULT
No error should be displaying, I haven't seen this before and we didn't receive an email with error descriptions. Is it safe to regenerate the broken config files / all of them? t
I got this message now for the second time:
Template processing failed: file = /usr/local/psa/admin/conf/templates/default/domainWebmail.php, error = Template_Exception: No data. file: /usr/local/psa/admin/plib/Template/Processor.php line: 28 code: 0 Previous error: Template_Variable_Exception: No data. file: /usr/local/psa/admin/plib/Template/Variable/AbstractCachedData.php line: 67 code: 0.
How can this happen and how to solve this?
Recently,Mysql has been a problem that is going down.So,I have to restart Mysql Service everyday. You can see for further information at here
Quote:
ERROR
Couldn't connect to database.
Please contact admin about this err. Back
DETAIL
2002 : Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
This is the error when i restart Mysql Service via SSH
Quote:
ERROR! MySQL manager or server PID file could not be found!
Starting MySQL SUCCESS!
what i should do and give me a solution to kill this error
one of my site shows this error
MySQL Error: Can't create/write to file '/dev/shm/MYxQT8lz'
I checked space on the server is still 25 GB free,
Code:
[Wed May 23 15:58:24 2007] [error] [client ::1] File does not exist: /htdocs
[Wed May 23 15:58:25 2007] [error] [client ::1] File does not exist: /htdocs
[Wed May 23 15:58:26 2007] [error] [client ::1] File does not exist: /htdocs
[Wed May 23 15:58:27 2007] [error] [client ::1] File does not exist: /htdocs
I'm getting a TON of these in my Apache Error log. Is this just bots? Any way to stop them?
We use Apache as part of a 'consumer' software which as been working fine with Apache 2.0.64 (running as a 'regular' user). We want to transition to version 2.4, but it seems to be working a little bit differently than the 2.0 version.
In httpd.conf, we have "ErrorLog logs/error.log". With version 2.0, the error.log file is created in the "...AppDataLocalVirtualStore..." path (since user cannot write to 'Program Files (x86)' were it is installed), but with version 2.4.10 we only get an "Access is denied. AH00015: Unable to open logs" error.Is this a known difference between 2.0 and 2.4.