egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Perl script is not executable or doesn't exist.

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help
View previous topic :: View next topic  
Author Message
necroslave
Voice


Joined: 13 May 2009
Posts: 9

PostPosted: Sat Nov 07, 2009 10:18 am    Post subject: Perl script is not executable or doesn't exist. Reply with quote

Hi there, I have add a sysinfo.tcl wich use a perl script and when crontab strarts my eggdrop, the bot tells me "Perl script is not executable or doesn't exist.", but when I start my bot manually with command "./eggdrop" then the perl script of sysinfo.tcl works fine. Can anybody help me? Thanks.
Back to top
View user's profile Send private message
raider2k
Op


Joined: 01 Jan 2008
Posts: 140

PostPosted: Sat Nov 07, 2009 9:34 pm    Post subject: Reply with quote

maybe - just a rough guess - you are running eggdrop using ./eggdrop with a different user that has the privileges to access the file and the user you are using to run eggdrop from crontab doesnt?
Back to top
View user's profile Send private message
necroslave
Voice


Joined: 13 May 2009
Posts: 9

PostPosted: Sun Nov 08, 2009 6:10 pm    Post subject: Reply with quote

No, I am sure, I have ran eggdrop with my account and the crontab is owned by my accout. So when Ilogin with root and type crontab -u myaccaout i see the cronjob of my account? Any suggestions?
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Sun Nov 08, 2009 6:31 pm    Post subject: Reply with quote

Different environments? ie path setting not including the path to the perl interpreter?
Cronjobs usually only have the environment set from /etc/rc unless other data is explicitly included in the different crontab files...
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber