Why do I see a "500 Internal Server Error" when accessing the MIDAS installer in my browser?If you receive an "Internal Server" (500) error when initially accessing the self-hosted MIDAS system installer through your web browser, the cause is potentially due to one of the following reasons:
- The "install.pl" file (and/or the server directory in which you've uploaded the MIDAS software installer to) does not have sufficient permission to allow execution of Perl (.pl) scripts.
- The "install.pl" file (and/or the server directory in which you've uploaded the MIDAS software installer to) has been granted excessive permissions. (Some servers will block execution of Perl scripts if the file/folder permissions have been set to allow public writing)
- Perl is located on your server at a different location to the one specified in the MIDAS installer.
To verify whether the above are causing your Internal Server Error issue, please check the following:
- Ensure that the install.pl file and the server directory it's located in have been granted "execute" permissions (CHMOD 755)
- Ensure that the install.pl file and the folder its in have not been granted CHMOD 0777 permissions. If so, changing these to CHMOD 0755 may should resolve this issue)
- 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 adjust the very first line of the install.pl file accordingly and save changes.
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:
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 self-hosted MIDAS scheduling system.
← Return to Knowledgebase