- 1 Vapor IO Brings OpenDCRE to General Availability
- 2 VMware Takes the Wraps Off vRealize Automation and vRealize Business
- 3 Microsoft Previews Hyper-V Containers for Windows Server 2016
- 4 Mirantis Led FUEL Project Gets Installed Under OpenStack Big Tent
- 5 Red Hat Enterprise Linux 7.2 Adds Security, DR Features
Trouble Shooting Page 7
The best thing to do is to first try and determine where your error occurred. Did it occur when you tried to execute the script? If so, make sure that you transferred the file in ASCII or text format. Then check that you set the appropriate permissions for the script.sFinally, see that the first line of your program points to your Perl interpreter. If the error occurred after you edited some variables, odds are that you made a typo or specified an invalid path.s
Things to remember:s
- Scalar variables should look like this:
s$VariableName = "String";
sMake sure you have the string surrounded in quotation marks and the line is terminatedswith a semi-colon.
- Make sure you check with your ISP to find out your server path and tossee where/whether you are allowed to execute Perl scripts.
- Always transfer your files in ASCII or text mode.
- When in doubt consult your servers log files. They will oftenscontain important messages that can help you debug a program.
Common Server Errors and what they mean:s
This is tells you that the file/directory permissions, are most likely, set incorrectly.
"404 File Not Found"
This means that you are trying to access a file that does not exist on the server. Double check your URL and where you put the file. Remember some servers are case sensitive (Unix).
"500 Server Error"
This is the bad one. This means that your program is producing output that your server cannot understand. Check your servers log files to see if they help at all, and more importantly, look over your variables again to make sure that you did not make any typos.