Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

error in perl

Status
Not open for further replies.

MartijnSander

Programmer
Joined
Feb 1, 2007
Messages
2
Location
NL
Hello all,

As a newbie in perl I installed a script. I installed it according to the user manual (reamdme file). After setting a crontab in Plesk i received to emails with the following text.

dos2unix: converting file /tmp/groupdata.xml to UNIX format ...
dos2unix: problems converting file /tmp/groupdata.xml
/usr/bin/md5sum: /tmp/groupdata.xml: No such file or directory
Can't exec "/usr/bin/touch": No such file or directory at /var/ line 209.
/usr/bin/md5sum: /tmp/groupdata.xml: No such file or directory
Unable to wordcount /tmp/groupdata.xml :-( No such file or directory at /var/ line 224.

/bin/sh: /Ledenlijsten/binvar/ No such file or directory

Can anyone inform me how I should solve this problem. I is possible to send you the files if requested
Kind Regards

Martijn
 
Hello Martijn,

Does it run ok if you run the script by hand, rather than under the control of cron?

Mike

The options are: fast, cheap and right - pick any two.. [orientalbow] & [anakin]

Want great answers to your Tek-Tips questions? Have a look at faq219-2884
 
I'm terribly sorry but how do I start a script by hand. My hostingprovider doesn't support shell.

 
Hmmm, not very helpful.

It looks as if it's failing at the first step, dos2unix fails and then nothing will work after that. Can you look at that stage more closely? Is the file it's trying to convert really there? Does your script have the right to read it? Does your script have the rights to write to its output directory?

Mike

The options are: fast, cheap and right - pick any two.. [orientalbow] & [anakin]

Want great answers to your Tek-Tips questions? Have a look at faq219-2884
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top