Well, if you've been following along, I found the problem on the Win2k
box, though I'm not sure why this 'fix' is needed.

The service has to run as an administrator so that it can read a config file.

Running as system/local it was unable to open the file..

My fault - that directory contains sensitive data, and all perms 
(except mine) been revoked.  Regranting perms to SYSTEM 
fixed that problem.

As for running a service on XP, still don't know why that doesn't work.

Jared



On Mon, 11 Oct 2004 19:11:36 -0700, Jared Still <[EMAIL PROTECTED]> wrote:
> A little more info:  I've tried daemon.pl, callback.pl and
> daemon_template.pl as services on my XP box, to
> no avail.
> 
> The same message occurs when attempting to start the service.
> 
> It's past the point where I can troubleshoot this, as these tests
> are pretty much the bare essentials.  No logging can take place
> to troubleshoot, I've tried.  It's as if the svc manager just refuses
> to run the script.
> 
> This Perl 5.8.3 build 809 on Windows XP Pro SP1, running
> on a Dell Inspiron 8600.
> 
> Any ideas are welcome.  Are there any critical services that need
> to be running in order for Win32::Daemon to work?
> 
> Thanks,
> 
> Jared
> 
> 
> 
> 
> On Mon, 11 Oct 2004 17:15:58 +0100, Jared Still <[EMAIL PROTECTED]> wrote:
> > Thanks for the reply Steven.
> >
> > Already checked the script with perl -cw:  no problems there.
> >
> > Just reinstalled 5.8.3 Perl and Win32::Daemon on both the XP
> > and Win2k boxes.
> >
> >  I had forgot about the test service code that is installed with
> > Win32::Daemon, so I installed that on both boxes.
> >
> > Win2k:  works with no problems
> >
> > XP SP 1:  same problem - error 1053
> >
> > Jared
> >
> >
> >
> >
> > On Mon, 11 Oct 2004 08:45:22 -0700, Steven Manross <[EMAIL PROTECTED]> wrote:
> > > That's why we need to see some code...
> > >
> > > Win32::Daemon is happily running on XP for me.  :)
> > >
> > > I'm guessing that there's a compile error that you are not seeing
> > > because it's in the service context.
> > >
> > > Running perl -c script.pl may tell you what the issue is.
> > >
> > > I could be wrong.  It happens now and again.  :)
> > >
> > > If that doesn't fix it, send the smallest test case (or run Roth's
> > > dirmon.pl example to see if it has the same errors -- which I am
> > > guessing that it will work, and then send code to the list.)
> > >
> > > Steven
> > >
> > >
> > >
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED]
> > > [mailto:[EMAIL PROTECTED] On Behalf Of
> > > Jared Still
> > > Sent: Monday, October 11, 2004 12:02 AM
> > > To: $Bill Luebkert
> > > Cc: [EMAIL PROTECTED]
> > > Subject: Re: Win32::Daemon on XP
> > >
> > > On Sun, 10 Oct 2004 22:59:43 -0700, $Bill Luebkert
> > > <[EMAIL PROTECTED]> wrote:
> > >
> > > > A small failing test case would help resolve it.
> > > Yes, it would.  A win32::daemon test case is probably not small.
> > >
> > > It appears I may have to retract my earlier statements, as another
> > > service
> > > that uses Win32::Daemoni *is* working, but as of yet I have no idea why.
> > >
> > > Hmmm....
> > >
> > > --
> > > Jared Still
> > > Certifiable Oracle DBA and Part Time Perl Evangelist
> > > _______________________________________________
> > > Perl-Win32-Admin mailing list
> > > [EMAIL PROTECTED]
> > > To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
> > >
> >
> >
> >
> >
> > --
> > Jared Still
> > Certifiable Oracle DBA and Part Time Perl Evangelist
> >
> 
> 
> 
> 
> --
> Jared Still
> Certifiable Oracle DBA and Part Time Perl Evangelist
> 


-- 
Jared Still
Certifiable Oracle DBA and Part Time Perl Evangelist
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to