MIDAS KnowledgebaseMIDAS Knowledgebase

I'm seeing a "500 Internal Server Error" when trying to initially access the installer script via my browser

If you receive an "Internal Server" (500) error when initially accessing the MIDAS installer through your web browser, the cause is likely to be due to one of the following:

  1. The "install.pl" file (and/or its parent directory) does not have sufficient permission to be able to execute. (.pl files should be granted "execute" permissions (CHMOD 755))
  2. Perl is located on your server at a different location to the one specified in the MIDAS installer. Open the install.pl file in a regular text editor, and check that the first line of this file points to the correct location of Perl on your server (commonly #!/usr/bin/perl on Unix servers, or #!C:/Perl/bin/perl.exe on Windows servers). If Perl is installed at a different location on your particular server, you will need to update the first line of this file and save changes accordingly.

If you're still receiving an "Internal Server Error" after verifying both of the above, then there may be an issue with your Perl installation itself.

A quick way to verify whether Perl is working correctly on your server is to create a very simple test .pl file containing the following two lines:

#!/usr/bin/perl
print "Content-Type:text/html\n\nHello World";

(Note the first line should be adjusted to reflect the particular location of Perl on your server)

Save this Perl test file as "test.pl" to the same directory on your server from where you're trying to run the MIDAS installer, making sure it's been granted "Execute" permission (CHMOD 755).

Now, try accessing this test.pl file via your web browser. If Perl is configured correctly on your server, you should see the words "Hello World" appear in your web browser.

If however, even with this simple test of Perl, you're still seeing an "Internal Server Error" in your browser, then it's likely that Perl has not been correctly configured on your server, which you will need to address in order to install your MIDAS system.

You might also be interested in...
» » »

← Return to Knowledgebase