.:: Bots United ::.  
filebase forums discord server github wiki web
cubebot epodbot fritzbot gravebot grogbot hpbbot ivpbot jkbotti joebot
meanmod podbotmm racc rcbot realbot sandbot shrikebot soulfathermaps yapb

Go Back   .:: Bots United ::. > Enhancement Workshop > (mEAn) Bot.Admin Mod / ServerLoader > (mEAn) ServerLoader > General Forum - ServerLoader
General Forum - ServerLoader Post your questions, comments, solutions and suggestions for the ServerLoader in here

Reply
 
Thread Tools
Perl script problem
Old
  (#1)
Falco
Member
 
Status: Offline
Posts: 2
Join Date: Sep 2005
Default Perl script problem - 29-09-2005

Quote:
[Process_0]
ProcessName = hlstats
AppName = F:\Apache Group\Apache2\htdocs\hlstats\perl\hlstats.pl
CommandLine =
StartPause = 1000
StopPause = 1000
UserInterface = Yes
AutoRestart = Yes
Priority = normal
Paused = No
Window = ShowNormal
Quote:
Wed Sep 28 22:06:29 2005 :: ServiceName = (mEAn) Server Loader
Wed Sep 28 22:06:29 2005 :: UserInterface = Yes
Wed Sep 28 22:06:29 2005 :: RestartInterval = 5000
Wed Sep 28 22:06:29 2005 :: Loading process values from ini file ...
Wed Sep 28 22:06:29 2005 ::
Wed Sep 28 22:06:29 2005 :: [Process_0]
Wed Sep 28 22:06:29 2005 :: AppName = F:\Apache Group\Apache2\htdocs\hlstats\perl\hlstats.pl
Wed Sep 28 22:06:29 2005 :: ProcessName = hlstats
Wed Sep 28 22:06:29 2005 :: CommandLine =
Wed Sep 28 22:06:29 2005 :: Priority = normal
Wed Sep 28 22:06:29 2005 :: Window = ShowNormal
Wed Sep 28 22:06:29 2005 :: AutoRestart = Yes
Wed Sep 28 22:06:29 2005 :: Paused = No
Wed Sep 28 22:06:29 2005 :: StartPause = 1000
Wed Sep 28 22:06:29 2005 :: StopPause = 1000
Wed Sep 28 22:06:29 2005 ::
Wed Sep 28 22:06:29 2005 :: Load completed.
Wed Sep 28 22:06:29 2005 :: The service is now running the main thread.
Wed Sep 28 22:06:29 2005 :: Attempting to start processes ...
Wed Sep 28 22:06:29 2005 :: Error ( 193 ): Failed to start program F:\Apache Group\Apache2\htdocs\hlstats\perl\hlstats.pl
Wed Sep 28 22:06:30 2005 :: Process (0): Attempting to restart program: F:\Apache Group\Apache2\htdocs\hlstats\perl\hlstats.pl
Wed Sep 28 22:06:30 2005 :: Error ( 193 ): Failed to start program F:\Apache Group\Apache2\htdocs\hlstats\perl\hlstats.pl
Wed Sep 28 22:06:30 2005 :: The program could not be restarted at this time.
Any ideas on how I can get this to run. Have tried putting perl in the CommandLine = with no luck.

Last edited by Falco; 29-09-2005 at 06:06..
  
Reply With Quote
Re: Perl script problem
Old
  (#2)
botmeister
Ex-Council Member
 
botmeister's Avatar
 
Status: Offline
Posts: 1,090
Join Date: Nov 2003
Location: Canada
Default Re: Perl script problem - 30-09-2005

The perl script is not an executable file and that's why it's failing.

Try this (change path to point to where perl.exe resides)

Code:
AppName = C:/Perl/bin/perl.exe F:/Apache/Group/Apache2/htdocs/hlstats/perl/hlstats.pl
Perl will run, but the script may fail if it cannot locate paths to the files it uses. So, you may have to configure a few things with perl and/or the script to get it working.


Maker of the (mEAn) Bot.Admin Manager

"In theory, there is no difference between theory and practice. But, in practice, there is." - Jan L.A. van de Snepscheut

Last edited by botmeister; 30-09-2005 at 05:03..
  
Reply With Quote
Re: Perl script problem
Old
  (#3)
Falco
Member
 
Status: Offline
Posts: 2
Join Date: Sep 2005
Default Re: Perl script problem - 02-10-2005

Thanks for the reply. The switch you posted does not work as it looks at it as one address. I will play around with it. If I do find a solution I will definitely post back.
  
Reply With Quote
Re: Perl script problem
Old
  (#4)
botmeister
Ex-Council Member
 
botmeister's Avatar
 
Status: Offline
Posts: 1,090
Join Date: Nov 2003
Location: Canada
Default Re: Perl script problem - 02-10-2005

Just a note, you have to reverse the "/" to a forward slash. I don't know how to get this forum to accept the forward slash so I reversed them without telling you (oops).

What I did to run a perl script for psycostats was to create a .BAT or .CMD file that looked like this (reverse slashes).

cd C:/psychostats
start C:/Perl/bin/perl stats.pl

In order for the perl script to run, I had to CD (change directory) to the folder that had the perl script in it or it would not work.

So far, I have not found a way to get the server loader to run a bat/cmd file, so you'll have to find a way to get perl to accept commnd line arguments in a way where the scrip will run properly.


Maker of the (mEAn) Bot.Admin Manager

"In theory, there is no difference between theory and practice. But, in practice, there is." - Jan L.A. van de Snepscheut
  
Reply With Quote
Re: Perl script problem
Old
  (#5)
botmeister
Ex-Council Member
 
botmeister's Avatar
 
Status: Offline
Posts: 1,090
Join Date: Nov 2003
Location: Canada
Default Re: Perl script problem - 27-10-2005

Falco, try this

Quote:
AppName = C:\Perl\bin\perl.exe
CommandLine = F:\Apache Group\Apache2\htdocs\hlstats\perl\hlstats.pl
StartDir = F:\Apache Group\Apache2\htdocs\hlstats\perl


Maker of the (mEAn) Bot.Admin Manager

"In theory, there is no difference between theory and practice. But, in practice, there is." - Jan L.A. van de Snepscheut
  
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com