Sponsored Content
Full Discussion: 500 internal server error
Top Forums Shell Programming and Scripting 500 internal server error Post 302479568 by KenJackson on Saturday 11th of December 2010 01:43:09 PM
Old 12-11-2010
You have not given much information to help us help you.

Let's start with something simple.
Copy this text to a file named simple.html or similar and copy it to the root directory of your site:
Code:
<html>
  <head>
    <title>Test</title>
  </head>
  <body>
    <h1>This is a simple test</h1>
  </body>
</html>

Then, assuming your domain is example.com, enter example.com/simple.html in your browser.

If you get an error, the problem has nothing to do with perl.
If you see big bold letters This is a simple test, then you know the site is at least minimally functional.
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Mail fail to find internal server

I am getting a "connection to the server has failed" error when trying send out internal email. this will be like this for maybe four hours then it will start working for no reason. then it will stop again. the only constant i have is if i reboot the server the send mail will work for about an... (1 Reply)
Discussion started by: jrblanton
1 Replies

2. UNIX for Dummies Questions & Answers

Server Error 500. Total Newbie. Ugh.

Hi everybody... I'm trying to run some very simple cgi scripts on my server whilst I learn perl. Today is day 3 of that process, so I apologize in advance for not having enough knowledge to ask the right questions. Any program I try to execute gives me an Internal Server Error (500) message.... (4 Replies)
Discussion started by: paqi the black
4 Replies

3. Shell Programming and Scripting

500 Internal Server Error

:)Hi, I am working on perl-cgi script which i wrote on unix server, and now i want to run it from windows. Have put DNS entry, sybase and apache is running... But still I am getting 500 Internal Server Error!!! what could be the reason? (2 Replies)
Discussion started by: darshakraut
2 Replies

4. Web Development

weird 500 Internal server error

Hi All, I am seeking some help. While trying to access my website: EDITED (hosted on private server somewhere - don't want to publicize names) - I have a weird behaviour: I can always get to the site - but some applications get a 500 Internal error. If I use FireBug (mozilla addon) I can... (2 Replies)
Discussion started by: saariko
2 Replies

5. Shell Programming and Scripting

Fill the values between -500 to 500 -awk

input -200 2.4 0 2.6 30 2.8 output -500 0 -499 0 -488 0 .......... .......... .... -200 2.4 .... ... 0 2.6 (6 Replies)
Discussion started by: quincyjones
6 Replies

6. UNIX for Dummies Questions & Answers

Wget retry on 500 internal error

Hello Guys, I am trying to generate static site, I have perl script that wget the url, so the problem is sometimes wget has 500 internal error, this is failing to get that page. So I am thinking of retrying that url with 500 response. system $command = 'wget ... -i inputfile -o outfile" Is... (2 Replies)
Discussion started by: neal
2 Replies

7. Linux

CentOS release 6.7 - Internal Server Error

Hi #cat /etc/redhat-release CentOS release 6.7 (Final) 1. Installed one application and when access from web browser http..... it returns below error. ------------------------------------------------------- Internal Server Error The server encountered an internal error or... (1 Reply)
Discussion started by: iqtan
1 Replies

8. Shell Programming and Scripting

Bash Script to pull ipa server name on 500 servers

Hello All, I need help writing a bash script that will run on 500 LINUX servers and do the following: 1. Capture the ipa_server name from /etc/sssd/sssd.conf on a list of 500 servers in the ipahosts file. 2. Write to a file outputing only server name and IPA server name. Root ssh keys... (3 Replies)
Discussion started by: vtowntechy
3 Replies
PMDASIMPLE(1)						      General Commands Manual						     PMDASIMPLE(1)

NAME
pmdasimple - simple performance metrics domain agent (PMDA) SYNOPSIS
$PCP_PMDAS_DIR/simple/pmdasimple [-d domain] [-i port] [-l logfile] [-p] [-u socket] [-U username] DESCRIPTION
pmdasimple is a simple Performance Metrics Domain Agent (PMDA) which exports a small number of synthetic performance metrics. The simple PMDA is shipped as source code and is designed to be an aid for PMDA developers. In terms of code size and features, it is more complex than the trivial PMDA, about the same as the txmon PMDA and less complex than the sample PMDA. The source for the simple PMDA is a good template from which production, customized PMDAs can be developed. A brief description of the pmdasimple command line options follows: -d It is absolutely crucial that the performance metrics domain number specified here is unique and consistent. That is, domain should be different for every PMDA on the one host, and the same domain number should be used for the same PMDA on all hosts. -i Expect PMCD to connect to pmdasimple on the specified TCP/IP port. port may be a port number or port name. -l Location of the log file. By default, a log file named simple.log is written in the current directory of pmcd(1) when pmdasimple is started, i.e. $PCP_LOG_DIR/pmcd. If the log file cannot be created or is not writable, output is written to the standard error instead. -p Expect PMCD to create a pipe and the connection to pmdasimple is via standard input and standard output. This is the default connec- tion mode. -u Expect PMCD to connect to pmdasimple on the Unix domain socket named socket. -U User account under which to run the agent. The default is the unprivileged "pcp" account in current versions of PCP, but in older versions the superuser account ("root") was used by default. At most one of the options -i, -p and -u may be specified. INSTALLATION
If you want access the names, help text and values for the simple performance metrics, do the following as root: # cd $PCP_PMDAS_DIR/simple # ./Install If you want to undo the installation, do the following as root: # cd $PCP_PMDAS_DIR/simple # ./Remove pmdasimple is launched by pmcd(1) and should never be executed directly. The Install and Remove scripts notify pmcd(1) when the agent is installed or removed. FILES
$PCP_PMCDCONF_PATH command line options used to launch pmdasimple $PCP_PMDAS_DIR/simple/help default help text file for the simple metrics $PCP_PMDAS_DIR/simple/Install installation script for the pmdasimple agent $PCP_PMDAS_DIR/simple/Remove undo installation script for the pmdasimple agent $PCP_PMDAS_DIR/simple/simple.conf configuration file for the dynamic instance domain that underlies the simple.now performance metric. For a description, refer to the help text file, or run the command $ pminfo -T simple.now $PCP_PMDAS_DIR/simple/*.pmda_simple.so The DSO version of the PMDA. The same source is used to create both the DSO and the daemon versions of the simple PMDA, and one or the other may be installed as part of the dialog in the Install script. $PCP_LOG_DIR/pmcd/simple.log default log file for error messages and other information from pmdasimple PCP ENVIRONMENT
Environment variables with the prefix PCP_ are used to parameterize the file and directory names used by PCP. On each installation, the file /etc/pcp.conf contains the local values for these variables. The $PCP_CONF variable may be used to specify an alternative configura- tion file, as described in pcp.conf(5). SEE ALSO
PCPIntro(1), pmcd(1), pmdasample(1), pmdatrivial(1), pmdatxmon(1), PMDA(3), pcp.conf(5) and pcp.env(5). Performance Co-Pilot PCP PMDASIMPLE(1)
All times are GMT -4. The time now is 02:32 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy