IOError: [Errno 2] No such file or directory: '/home/weasel/mixminion/keys/key_0001/ServerDesc'
[Moved from bugzilla] Reporter: peter@palfrader.org (Peter Palfrader) Description: Opened: 2003-10-19 23:36
after generating keys failed (see bug#12), another ivocation of server-start gives the following traceback. Maybe a missing ServerDesc file should be handled more gracefully, or different.
weasel@valiant:~/mixminion/bin$ ./mixminion server-start -f ../etc/mixminiond.conf Mixminion version 0.0.6alpha1 This software is for testing purposes only. Anonymity is not guaranteed. Reading configuration from ../etc/mixminiond.conf Oct 19 23:33:58.246 [WARN] Mode specification is not yet supported. Oct 19 23:33:58.252 [WARN] Dangerously low MixInterval Oct 19 23:33:58.256 [DEBUG] Configuring server Oct 19 23:33:58.258 [INFO] Enabling statistics logging Oct 19 23:33:58.270 [DEBUG] Syncing statistics to disk Oct 19 23:33:58.284 [INFO] Statistics logging enabled Oct 19 23:33:58.286 [INFO] Setting entropy source to '/dev/urandom' Oct 19 23:33:58.299 [DEBUG] Initializing server Oct 19 23:33:58.304 [DEBUG] Scanning server keystore at /home/weasel/mixminion/keys Oct 19 23:33:58.311 [FATAL] Exception while configuring server Oct 19 23:33:58.345 [FATAL] Traceback (most recent call last): File "/home/weasel/mixminion/lib/python2.3/site-packages/mixminion/server/ServerMain.py", line 1093, in runServer server = MixminionServer(config) File "/home/weasel/mixminion/lib/python2.3/site-packages/mixminion/server/ServerMain.py", line 647, in init self.keyring = mixminion.server.ServerKeys.ServerKeyring(config) File "/home/weasel/mixminion/lib/python2.3/site-packages/mixminion/server/ServerKeys.py", line 78, in init self.configure(config) File "/home/weasel/mixminion/lib/python2.3/site-packages/mixminion/server/ServerKeys.py", line 89, in configure self.checkKeys() File "/home/weasel/mixminion/lib/python2.3/site-packages/mixminion/server/ServerKeys.py", line 130, in checkKeys t1, t2 = keyset.getLiveness() File "/home/weasel/mixminion/lib/python2.3/site-packages/mixminion/server/ServerKeys.py", line 629, in getLiveness info = self.getServerDescriptor() File "/home/weasel/mixminion/lib/python2.3/site-packages/mixminion/server/ServerKeys.py", line 621, in getServerDescriptor self.serverinfo = ServerInfo(fname=self.descFile) File "/home/weasel/mixminion/lib/python2.3/site-packages/mixminion/ServerInfo.py", line 137, in init mixminion.Config._ConfigFile.init(self, fname, string, assumeValid) File "/home/weasel/mixminion/lib/python2.3/site-packages/mixminion/Config.py", line 651, in init contents = mixminion.Common.readPossiblyGzippedFile(filename) File "/home/weasel/mixminion/lib/python2.3/site-packages/mixminion/Common.py", line 1392, in readPossiblyGzippedFile f = open(fname, 'r') IOError: [Errno 2] No such file or directory: '/home/weasel/mixminion/keys/key_0001/ServerDesc' Oct 19 23:33:58.352 [FATAL] Shutting down because of exception: exceptions.IOError
------- Additional Comments From Nick Mathewson 2003-10-20 20:49 -------
Hm. This is probably because generating keys last time failed in between making a key directory and writing the server descriptor. I think I have a fix in CVS now.
[Automatically added by flyspray2trac: Operating System: Linux]