[Opendnssec-develop] Re: [Opendnssec-user] Signer Engine?

Matthijs Mekking matthijs at NLnetLabs.nl
Tue Sep 1 08:53:37 UTC 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Brett,

In python 2.4 and older, The exception inherits from StandardError
instead of BaseException, so it might be accidentally caught by code
that catches Exception.

See
http://docs.python.org/library/exceptions.html#exceptions.SystemExit

I have applied a patch, that should fix this problem (or get the latest
trunk).

Best regards,

Matthijs

B C wrote:
> On Mon, Aug 31, 2009 at 1:14 PM, Matthijs Mekking<matthijs at nlnetlabs.nl> wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Hi Brett,
>>
>> With the current information, I have not been able to solve the issue. I
>> have two suggestions left:
>>
>> * Which version of Python do you use? The SystemExit exception has
>>  changed to inherit from BaseException instead of StandardError since
>>  version 2.5.
> 
> rpm reports:
> 
> python-2.4.3-24.el5_3.6
> 
> Python reports
> 
> Python 2.4.3 (#1, Jul 27 2009, 17:56:30)
> [GCC 4.1.2 20080704 (Red Hat 4.1.2-44)] on linux2
> 
> Should I be running 2.5 ? I don't see this as a req in the docs?
> 
>> * Could it be that there is an old engine running that outputs the log
>>  messages?
>>        # ps waux | grep Engine
>>
> 
> There was only one copy running. To be sure I killed that one, and
> started a new one:
> 
> [root at dnssigner2 ~]# /opt/opendnssec2/sbin/signer_engine
> Python engine proof of concept, v 0.0002 alpha
> Zone list updated: 0 removed, 1 added, 0 updated
> running as pid 24065
> Unable to continue, stopping:
> Unexpected error: exceptions.SystemExit
> 
> However again the process is still running:
> 
> root     24065  0.3  0.7 308020  7264 ?        Sl   22:27   0:00
> python /opt/opendnssec2/lib/opendnssec/signer/Engine.py
> 
> Brett

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQEcBAEBAgAGBQJKnOEPAAoJEA8yVCPsQCW5zMIIAMt1Y1SV9x3/UgoVjZM13cSq
aQItwUQgr53B+sTvVlOHMvb/ogP4gguB5Mh3NVXp95CHwU6ud2TSGKv16d2vlE7k
fn3Cn+/39sjr91X8zlqvrA2k/N7g8EpgCb0/gNUPVOKlb3vZTbedwT4YJthVfGsC
ahFM+2Imu9j7VjHTCdDO9vQlraLE+ZXSi9NnAybsUsJwCKP/RaMy9MUp1j3Fx/e1
sCv/fNBX7Qd61oK81q4GcbhdPs0F4kzOUL4NSVXpuVgiUSVemg0nHyw0+vZJWOnP
efNLKUQUWHL0BLXXHrQNDqqa18SadKdXORt1UA8XiULn9LPOd1dDYDqc2IUkSqI=
=Rt6v
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: systemexit.patch
Type: text/x-patch
Size: 642 bytes
Desc: not available
URL: <http://lists.opendnssec.org/pipermail/opendnssec-develop/attachments/20090901/93f232cd/attachment.bin>


More information about the Opendnssec-develop mailing list