Re: Mersenne: W2K service installation problems

2002-07-30 Thread Helmut Zeisel

On Thu, Jul 25, 2002 at 02:55:48PM -0400, George Woltman wrote:
> Hi,
> 
> >Any hints what went wrong?
> 
> Not really.
> 
> Please try ftp://mersenne.org/gimps/p95v227.zip
> The GUI version can now be installed as an NT service.  Just
> check the "Start at Bootup" menu option.
> 
> This is a new feature so let me know of any problems.
>

This did not help.
Prime95 runs fine, "Start at Bootup" is checked,
but after rebooting no is running 
(The task manager shows CPU 99% System idle process)

In Control Panel / Administrative Tools / Services
I find an Entry  "Prime95 Service" sith Startup Type "Automatic";
Control Panel /  Administrative Tools / Event Viewer contains the message:

The Prime95 Service service failed to start due to the following error: 
Access is denied.  

Stating from "Servies" again gives

Error 5: Access is denied

Manually starting from the Windows Explorer works fine.

It seems that some W2K security mechanism is working against me.

Any ideas?

Helmut
_
Unsubscribe & list info -- http://www.ndatech.com/mersenne/signup.htm
Mersenne Prime FAQ  -- http://www.tasam.com/~lrwiman/FAQ-mers



RE: Mersenne: W2K service installation problems

2002-07-29 Thread Aaron

Well sure, I mean you could, in theory, take the gui part of prime95 and
make it a standalone thing, perhaps getting the vitals using snmp or wmi
or some other such thing.

The service part though, especially for multi-cpu, does need to be paid
attention to in the code itself, allowing multiple instances to run,
with certain cpu affinities being set, etc.

Since most of those functions for the practical operation are in place,
I doubt George has *that* much extra work (although it is tricky, and we
all appreciate it).

It would be cool to have the stats available via some other method, so
other "front-ends", as you say, could read that info and display it in
some creative way.  Nothing like the SETI screen saver, although hey,
why not, if someone wanted to.  Yeah, screen savers reduce how much cpu
time is available for calculations, but if it gets someone to run
Prime95 that wouldn't have before, *some* cpu time is better than none
at least.


> -Original Message-
> From: Gareth Randall [mailto:[EMAIL PROTECTED]] 
> Sent: Monday, July 29, 2002 3:59 PM
> To: George Woltman; [EMAIL PROTECTED]
> Cc: Aaron
> Subject: Re: Mersenne: W2K service installation problems
> 
> 
> Hi,
> 
> I'm no expert on windows programming, but take a generally 
> downbeat view of the 
> amount of ongoing time and effort required to code for the 
> "proprietary API of 
> the week" that seems to characterise this OS.
> 
> Consequently, is it possible for someone to code a service 
> "wrapper" that spawns 
> the prime service as an additional process? In other words, 
> separate out the 
> service management and icon code into a separate process, 
> which can be developed 
> by a larger public group, rather than have all this code in 
> prime.exe itself 
> with the corresponding requirement that the coding effort all 
> fall on the 
> shoulders of one person.
> 
> This would allow outside parties to develop the most fancy 
> and functional 
> frontends, and be able to do all the compilation steps 
> themselves while 
> circumventing the need to have access to the necessarily 
> secret encryption 
> algorithm that protects the authenticity of results.
> 
> Can this be done? Surely this one's a runner?
> 
> Yours,
> 
> Gareth

_
Unsubscribe & list info -- http://www.ndatech.com/mersenne/signup.htm
Mersenne Prime FAQ  -- http://www.tasam.com/~lrwiman/FAQ-mers



Re: Mersenne: W2K service installation problems

2002-07-29 Thread Gareth Randall

Hi,

I'm no expert on windows programming, but take a generally downbeat view of the 
amount of ongoing time and effort required to code for the "proprietary API of 
the week" that seems to characterise this OS.

Consequently, is it possible for someone to code a service "wrapper" that spawns 
the prime service as an additional process? In other words, separate out the 
service management and icon code into a separate process, which can be developed 
by a larger public group, rather than have all this code in prime.exe itself 
with the corresponding requirement that the coding effort all fall on the 
shoulders of one person.

This would allow outside parties to develop the most fancy and functional 
frontends, and be able to do all the compilation steps themselves while 
circumventing the need to have access to the necessarily secret encryption 
algorithm that protects the authenticity of results.

Can this be done? Surely this one's a runner?

Yours,

Gareth


George Woltman wrote:
> At 10:46 AM 7/29/2002 -0700, Aaron wrote:
> 
>> I suppose it's probably documented somewhere, but it seems that Prime95
>> ignores any service name settings in the existing NTPrime local.ini
>> file...
>>
>> So I'm still using NTPrime on my dual CPU machines...  Any chance of
>> getting prime95 to honor the service name settings in the local.ini file
>> just like ntprime did?
> 
> 
> Already coded and tested.  Look for the fix next time I upload a new 
> prime95


-- 
=== Gareth Randall ===

_
Unsubscribe & list info -- http://www.ndatech.com/mersenne/signup.htm
Mersenne Prime FAQ  -- http://www.tasam.com/~lrwiman/FAQ-mers



RE: Mersenne: W2K service installation problems

2002-07-29 Thread George Woltman

At 10:46 AM 7/29/2002 -0700, Aaron wrote:
>I suppose it's probably documented somewhere, but it seems that Prime95
>ignores any service name settings in the existing NTPrime local.ini
>file...
>
>So I'm still using NTPrime on my dual CPU machines...  Any chance of
>getting prime95 to honor the service name settings in the local.ini file
>just like ntprime did?

Already coded and tested.  Look for the fix next time I upload a new prime95

_
Unsubscribe & list info -- http://www.ndatech.com/mersenne/signup.htm
Mersenne Prime FAQ  -- http://www.tasam.com/~lrwiman/FAQ-mers



RE: Mersenne: W2K service installation problems

2002-07-29 Thread Aaron

Speaking of problems, I had problems getting the Prime95 working as an
NT service on a dual-processor machine.

I suppose it's probably documented somewhere, but it seems that Prime95
ignores any service name settings in the existing NTPrime local.ini
file...

So I'm still using NTPrime on my dual CPU machines...  Any chance of
getting prime95 to honor the service name settings in the local.ini file
just like ntprime did?

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED]] On Behalf Of 
> Jean-Yves Canart
> Sent: Monday, July 29, 2002 9:38 AM
> To: George Woltman
> Cc: [EMAIL PROTECTED]
> Subject: Re: Mersenne: W2K service installation problems
> 
> 
> Hi George,
> 
> I have tested this new feature (using W2K + prime95 V22.7)
> I have found that when logging off and logging on again, the 
> small red icon is not coming back (while prime95 is still running)
> 
> Regards, Jean-Yves
> 
> - Original Message -
> From: "George Woltman" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> Sent: Thursday, July 25, 2002 20:55
> Subject: Re: Mersenne: W2K service installation problems
> 
> 
> > Hi,
> >
> > At 09:22 AM 7/25/2002 +0200, Helmut Zeisel wrote:
> > >I recently upgraded from WinNT to W2K and now want to install the 
> > >service version of mprime again.
> > >
> > >Since I previously used ntprime, I tried  "ntprime -install". This 
> > >worked, but starting the service exits with
> > >
> > >Could not start the Prime Service service on Local 
> Computer. Error 5: 
> > >Access is denied.
> > >
> > >I have administrator rights, so this should not be the cause.
> > >
> > >Anyway, I downloaded FireDaemon-Light-1_5-BRC1.exe and installed 
> > >Prime95. Starting FiredDaemonService: prime95 now exits with
> > >
> > >Could not start the FireDaemon Service: prime 95 service on Local
> Computer.
> > >Error 1: Incorrect function.
> > >
> > >Any hints what went wrong?
> >
> > Not really.
> >
> > Please try ftp://mersenne.org/gimps/p95v227.zip
> > The GUI version can now be installed as an NT service.  
> Just check the 
> > "Start at Bootup" menu option.
> >
> > This is a new feature so let me know of any problems.
> >
> > Thanks,
> > George
> >
> > 
> __
> > ___
> > Unsubscribe & list info -- 
> http://www.ndatech.com/mersenne/signup.htm
> > Mersenne Prime 
> FAQ  -- http://www.tasam.com/~lrwiman/FAQ-mers
> >
> 
> __
> ___
> Unsubscribe & list info -- http://www.ndatech.com/mersenne/signup.htm
> Mersenne Prime FAQ  -- http://www.tasam.com/~lrwiman/FAQ-mers
> 

_
Unsubscribe & list info -- http://www.ndatech.com/mersenne/signup.htm
Mersenne Prime FAQ  -- http://www.tasam.com/~lrwiman/FAQ-mers



Re: Mersenne: W2K service installation problems

2002-07-29 Thread Jean-Yves Canart

Hi George,

I have tested this new feature (using W2K + prime95 V22.7)
I have found that when logging off and logging on again, the small red icon
is not coming back (while prime95 is still running)

Regards, Jean-Yves

- Original Message -
From: "George Woltman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, July 25, 2002 20:55
Subject: Re: Mersenne: W2K service installation problems


> Hi,
>
> At 09:22 AM 7/25/2002 +0200, Helmut Zeisel wrote:
> >I recently upgraded from WinNT to W2K and now want to install
> >the service version of mprime again.
> >
> >Since I previously used ntprime, I tried  "ntprime -install".
> >This worked, but starting the service exits with
> >
> >Could not start the Prime Service service on Local Computer.
> >Error 5: Access is denied.
> >
> >I have administrator rights, so this should not be the cause.
> >
> >Anyway, I downloaded FireDaemon-Light-1_5-BRC1.exe and installed Prime95.
> >Starting FiredDaemonService: prime95 now exits with
> >
> >Could not start the FireDaemon Service: prime 95 service on Local
Computer.
> >Error 1: Incorrect function.
> >
> >Any hints what went wrong?
>
> Not really.
>
> Please try ftp://mersenne.org/gimps/p95v227.zip
> The GUI version can now be installed as an NT service.  Just
> check the "Start at Bootup" menu option.
>
> This is a new feature so let me know of any problems.
>
> Thanks,
> George
>
> _
> Unsubscribe & list info -- http://www.ndatech.com/mersenne/signup.htm
> Mersenne Prime FAQ  -- http://www.tasam.com/~lrwiman/FAQ-mers
>

_
Unsubscribe & list info -- http://www.ndatech.com/mersenne/signup.htm
Mersenne Prime FAQ  -- http://www.tasam.com/~lrwiman/FAQ-mers



Re: Mersenne: W2K service installation problems

2002-07-25 Thread George Woltman

Hi,

At 09:22 AM 7/25/2002 +0200, Helmut Zeisel wrote:
>I recently upgraded from WinNT to W2K and now want to install
>the service version of mprime again.
>
>Since I previously used ntprime, I tried  "ntprime -install".
>This worked, but starting the service exits with
>
>Could not start the Prime Service service on Local Computer.
>Error 5: Access is denied.
>
>I have administrator rights, so this should not be the cause.
>
>Anyway, I downloaded FireDaemon-Light-1_5-BRC1.exe and installed Prime95.
>Starting FiredDaemonService: prime95 now exits with
>
>Could not start the FireDaemon Service: prime 95 service on Local Computer.
>Error 1: Incorrect function.
>
>Any hints what went wrong?

Not really.

Please try ftp://mersenne.org/gimps/p95v227.zip
The GUI version can now be installed as an NT service.  Just
check the "Start at Bootup" menu option.

This is a new feature so let me know of any problems.

Thanks,
George

_
Unsubscribe & list info -- http://www.ndatech.com/mersenne/signup.htm
Mersenne Prime FAQ  -- http://www.tasam.com/~lrwiman/FAQ-mers