Thursday, January 25, 2007

End of File Issues

If you install IGOR and get 'premature end of script headers' or something similar when you try to log in, make sure that the perl files (*.pl) are executable. Then run

./login.pl

to see if that works. If you get errors here, either the perl interpreter isn't at /usr/bin/perl, or you may have DOS end of line characters instead of unix ones on the files. This is easy to do when you use FTP. You can use

dos2unix *.pl
chmod a+x *.pl

to switch them over. That should fix it.

0 Comments:

Post a Comment

<< Home