I did have all the required repositories, so I did the update 
--install to let it update the various modules.

The end result is that the console starts up normally and shuts down 
normally - with no errors, and interestingly, it shuts down QUICKLY - 
whereas shuttnig down ASSP used to take in excess of a couple of 
minutes, it now shuts down (cleanly) within about 30 seconds or so of 
the CTRL-C being received in the console.

The main (serious) problem I now have however is that I am unable to 
run ASSP as a service anymore. Attempting to start ASSP as a service, 
it sits at "starting service" for 30 seconds, then fails. Nothing is 
logged in the ASSP log file, however the event viewer records this 
entry in the service event log:

Timeout (30000 milliseconds) waiting for the Anti-Spam Smtp Proxy 
service to connect


Attempting to uninstall and reinstall the ASSP service, I get:

D:\ASSP>perl addservice.pl -u
Can't locate Win32/Daemon.pm in @INC (@INC contains: C:/Perl/site/lib 
C:/Perl/lib .) at addservice.pl line 1.

Doing a PPM list I show it is definitely installed, and with the 
current version:

Win32-Daemon 20110117

I tried reverting to an older version of Win32-Daemon (from 2008) but 
that made no difference.

Looking in my Perl directory, I find only two instances of a 
Daemon.pm, and neither of them appears to be associated with Win32:

C:\Perl\lib\HTTP\Daemon.pm
C:\Perl\site\lib\Mail\SRS\Daemon.pm

I assume these are web and mail daemons respectively.

I see where Win32-Daemon has been installed, in 
C:\Perl\site\lib\auto\Win32\Daemon however the only files there are:

.packlist
Daemon.bs
Daemon.exp
Daemon.lib

...no Daemon.pm.

The .packlist file contains:

C:/Perl/html/site/lib/Win32/Daemon.html
C:/Perl/site/lib/Win32/Daemon.pm
C:/Perl/site/lib/auto/Win32/Daemon/Daemon.bs
C:/Perl/site/lib/auto/Win32/Daemon/Daemon.dll
C:/Perl/site/lib/auto/Win32/Daemon/Daemon.exp
C:/Perl/site/lib/auto/Win32/Daemon/Daemon.lib

However there is most certainly no C:/Perl/site/lib/Win32/Daemon.pm, 
nor is there a C:/Perl/site/lib/auto/Win32/Daemon/Daemon.dll in my 
perl install. I suspect this is the problem. I'm assuming this is 
also what is preventing my ASSP from starting as a service.

Any hints or ideas? I'm nowhere near a Perl expert, and I'm at about 
my limits here.

At 02:59 PM 12/21/2011, Thomas Eckardt wrote:

>stop all perl processes
>start a cmd window
>start 'ppm-shell'
>start 'rep'
>start 'update --install'  - hope the repos are all registered
>
>
>
>add repos if missing from commandline
>ppm rep add trouchelle.510 http://trouchelle.com/ppm10/
>ppm rep add trouch-act http://trouchelle.com/ppm10/activestate/1000/
>ppm rep add uni_winnipeg.510 http://cpan.uwinnipeg.ca/PPMPackages/10xx/
>ppm rep add bribes.org http://www.bribes.org/perl/ppm/
>ppm rep add c:\assp\assp.mod
>ppm rep add 'http://downloads.sourceforge.net/project/assp/ASSP V2
>multithreading/packages/' ASSP2
>
>Thomas
>
>
>
>Von:    Scott MacLean <[email protected]>
>An:     ASSP development mailing list <[email protected]>
>Datum:  21.12.2011 20:43
>Betreff:        Re: [Assp-test] Antwort:  ASSP hangs on shut down
>
>
>
>
>It is running on Perl 5.10.1 on Windows 2003 Server with SP2 (x86).
>
>At 02:02 PM 12/21/2011, Thomas Eckardt wrote:
>
> >Scott,
> >
> >these all looks very stange.
> >
> > >Attempt to free non-existent shared string 'ActiveConnection', Perl
> > >Attempt to free non-existent shared string 'CommandType', Perl
> > >Attempt to free non-existent shared string 'CommandText', Perl
> >
> >ASSP is not using variables with such names.
> >
> >What Perl version is used on which OS?
> >
> >Thomas
> >
> >
> >
> >Von:    Scott MacLean <[email protected]>
> >An:     ASSP development mailing list <[email protected]>
> >Datum:  21.12.2011 16:16
> >Betreff:        [Assp-test] ASSP hangs on shut down
> >
> >
> >
> >
> >This has been a longstanding problem on my server - whenever I shut
> >down the ASSP service, it works at it for a few minutes, then just
> >hangs, and I have to manually kill the Perl process. This is running
> >11355 (current build).
> >
> >Today I ran it in the console to see just what it is doing, and
> >here's what I saw:
> >
> >Dec-21-11 10:10:55 [Shutdown] High workers finished work
> >Dec-21-11 10:10:55 [Shutdown] Info: saving Stats in file asspstats.sav
> >Dec-21-11 10:10:55 [Shutdown] Info: synchronizing and compacting all
> >BerkeleyDB hashes to disk
> >Dec-21-11 10:10:55 [Shutdown] Closing all databases
> >Dec-21-11 10:10:55 [Worker_1] Info: Worker_1 is interrupted to get
> >new connection
> >Dec-21-11 10:10:55 [Worker_1] Error: Worker_1 accept to client failed
> >IO::Socket::INET=GLOB(0x143e9ac4) (timeout: 2 s) : Unknown error
> >Dec-21-11 10:10:55 [Worker_1] Worker_1 has active connections. Will
> >wait until all connections are finished but max 45 seconds!
> >Dec-21-11 10:10:55 [Shutdown] Info: removing all WEB listeners
> >Dec-21-11 10:10:55 [Shutdown] ASSP finished work
> >Attempt to free non-existent shared string 'ActiveConnection', Perl
> >interpreter: 0x223ae4 at (eval 729) line 1.
> >Attempt to free non-existent shared string 'CommandType', Perl
> >interpreter: 0x223ae4 at (eval 729) line 1.
> >Attempt to free non-existent shared string 'CommandText', Perl
> >interpreter: 0x223ae4 at (eval 729) line 1.
> >Free to wrong pool 225b00 not 12f78b30 at (eval 729) line 1.
> >
> >At this point it just hung and stopped responding to anything,
> >including ^C from the console.
> >
> >------------------------------------------------------------------- 
> -----------
> >Write once. Port to many.
> >Get the SDK and tools to simplify cross-platform app development. Create
> >new or port existing apps to sell to consumers worldwide. Explore the
> >Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
> >http://p.sf.net/sfu/intel-appdev
> >_______________________________________________
> >Assp-test mailing list
> >[email protected]
> >https://lists.sourceforge.net/lists/listinfo/assp-test
> >
> >
> >
> >
> >DISCLAIMER:
> >*******************************************************
> >This email and any files transmitted with it may be confidential, legally
> >privileged and protected in law and are intended solely for the use of
>the
> >
> >individual to whom it is addressed.
> >This email was multiple times scanned for viruses. There should be no
> >known virus in this email!
> >*******************************************************
> >
> >
> >
> >------------------------------------------------------------------- 
> -----------
> >Write once. Port to many.
> >Get the SDK and tools to simplify cross-platform app development. Create
> >new or port existing apps to sell to consumers worldwide. Explore the
> >Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
> >http://p.sf.net/sfu/intel-appdev
> >_______________________________________________
> >Assp-test mailing list
> >[email protected]
> >https://lists.sourceforge.net/lists/listinfo/assp-test
>
>------------------------------------------------------------------------------
>Write once. Port to many.
>Get the SDK and tools to simplify cross-platform app development. Create
>new or port existing apps to sell to consumers worldwide. Explore the
>Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
>http://p.sf.net/sfu/intel-appdev
>_______________________________________________
>Assp-test mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/assp-test
>
>
>
>
>DISCLAIMER:
>*******************************************************
>This email and any files transmitted with it may be confidential, legally
>privileged and protected in law and are intended solely for the use of the
>
>individual to whom it is addressed.
>This email was multiple times scanned for viruses. There should be no
>known virus in this email!
>*******************************************************
>
>
>
>------------------------------------------------------------------------------
>Write once. Port to many.
>Get the SDK and tools to simplify cross-platform app development. Create
>new or port existing apps to sell to consumers worldwide. Explore the
>Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
>http://p.sf.net/sfu/intel-appdev
>_______________________________________________
>Assp-test mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/assp-test

------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Assp-test mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-test

Reply via email to