Custom Query (23721 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (10 - 12 of 23721)

1 2 3 4 5 6 7 8 9 10 11 12 13 14
Ticket Resolution Summary Owner Reporter
#12 Fixed AttributeError: 'module' object has no attribute 'getIPs' nickm weasel
Description

[Moved from bugzilla] Reporter: peter@… (Peter Palfrader) Description: Opened: 2003-10-19 23:33

Fresh cvs installation as of Sun, 19 Oct 2003 23:31:30 +0200

copying etc/mixminiond.conf file from minion/cvs, changed nickname, identitykeybits, homedir, and loglevel:

weasel@valiant:~/mixminion/bin$ ./mixminion server-upgrade -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:28:36.986 [WARN] Mode specification is not yet supported. Oct 19 23:28:36.988 [WARN] Dangerously low MixInterval No server keys to upgrade. Dropping obsolete messages from queues (no upgrade; sorry!) Homedir is upgraded 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:28:40.720 [WARN] Mode specification is not yet supported. Oct 19 23:28:40.721 [WARN] Dangerously low MixInterval Oct 19 23:28:40.726 [DEBUG] Configuring server Oct 19 23:28:40.733 [INFO] Enabling statistics logging Oct 19 23:28:40.743 [DEBUG] Syncing statistics to disk Oct 19 23:28:40.753 [INFO] Statistics logging enabled Oct 19 23:28:40.755 [INFO] Setting entropy source to '/dev/urandom' Oct 19 23:28:40.758 [DEBUG] Initializing server Oct 19 23:28:40.765 [DEBUG] Scanning server keystore at /home/weasel/mixminion/keys Oct 19 23:28:40.772 [INFO] Creating server keystore at /home/weasel/mixminion/keys Oct 19 23:28:40.778 [DEBUG] Found 0 keys. Oct 19 23:28:40.779 [INFO] Creating 1 keys Oct 19 23:28:40.781 [INFO] Generating key 0001 to run from 2003/10/19 through 2003/11/08 (GMT) Oct 19 23:28:40.782 [INFO] Generating identity key. (This may take a while.) Oct 19 23:30:21.266 [INFO] Generated 4096-bit identity key. Oct 19 23:30:27.700 [WARN] No IP configured; guessing 172.22.118.2 Oct 19 23:30:27.704 [WARN] No Hostname configured; guessing valiant Oct 19 23:30:27.705 [FATAL] Exception while configuring server Oct 19 23:30:27.719 [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 664, in init

self.keyring.createKeysAsNeeded() File

"/home/weasel/mixminion/lib/python2.3/site-packages/mixminion/server/ServerKeys.py", line 271, in createKeysAsNeeded

self.createKeys(num=nKeys) File

"/home/weasel/mixminion/lib/python2.3/site-packages/mixminion/server/ServerKeys.py", line 314, in createKeys

validAt=startAt) File

"/home/weasel/mixminion/lib/python2.3/site-packages/mixminion/server/ServerKeys.py", line 968, in generateServerDescriptor AndKeys

_checkHostnameIsLocal(fieldsHostname?) File

"/home/weasel/mixminion/lib/python2.3/site-packages/mixminion/server/ServerKeys.py", line 1148, in _checkHostnameIsLocal

r = mixminion.server.DNSFarm.getIPs(name)

AttributeError: 'module' object has no attribute 'getIPs'

Oct 19 23:30:27.722 [FATAL] Shutting down because of exception: exceptions.AttributeError


Oops; I moved a function from DNSFarm.py to NetUtils.py, and missed one of its users.

Should be fixed now.

[Automatically added by flyspray2trac: Operating System: Linux]

#13 Fixed IOError: [Errno 2] No such file or directory: '/home/weasel/mixminion/keys/key_0001/ServerDesc' nickm weasel
Description

[Moved from bugzilla] Reporter: peter@… (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


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]

#14 Fixed This server's files are stored in an older format nickm weasel
Description

[Moved from bugzilla] Reporter: peter@… (Peter Palfrader) Description: Opened: 2003-10-19 23:46

After copying the mixminiond.conf config file from the etc directory of the tarball and modifying it to set local settings, when one tried to start the server one is told to run server-upgrade.

weasel@valiant:~/mixminion/bin$ ./mixminion server-start -f ../etc/mixminiond.conf Mixminion version 0.0.5.1 This software is for testing purposes only. Anonymity is not guaranteed. Reading configuration from ../etc/mixminiond.conf Oct 19 23:44:42.841 [WARN] Mode specification is not yet supported. Oct 19 23:44:42.842 [WARN] Dangerously low MixInterval This server's files are stored in an older format, and are not compatible with this version of the mixminion server. To upgrade, run:

'mixminion server-upgrade'.

Same happens with current CVS.

Maybe the shipped sample mixminiond.conf file should have a current format.


Actually, this is not the bug you think it is. The problem isn't with mixminiond.conf, but with a file named 'version' in your server's homedir: it is supposed to contain the current version of the directory layout. Currently, this is the string "1001". It has been "1001" since about 0.0.4, IIRC.

One of two things is the case:

1) You are upgrading from 0.0.3. (Not too likely.) 2) You somehow managed to get a directory created with no version file. (More

likely; I'll try to figure out how this could happen.)

Also, it is definitely the case that you got an error message not helpful to you. Can you suggest a more useful one?


Ah, now I know what I was doing.

I was starting from scratch, so there was nothing in that dir before. Only a bin, lib and etc file. I didn't realize that mixminion expected an empty dir as its homedir.

Here's transcript of what I did: weasel@valiant:~$ mkdir mixminion2 weasel@valiant:~$ ( cd projects/mixminion/src/minion; make install PREFIX=/home/weasel/mixminion2 ) (...) weasel@valiant:~$ cd mixminion2 weasel@valiant:~/mixminion2$ mkdir etc weasel@valiant:~/mixminion2$ cp ~/projects/mixminion/src/minion/etc/mixminiond.c etc <edit config file> weasel@valiant:~/mixminion2$ grep \^Homedir etc/mixminiond.conf Homedir: /home/weasel/mixminion2 weasel@valiant:~/mixminion2$ 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 This server's files are stored in an older format, and are not compatible with this version of the mixminion server. To upgrade, run:

'mixminion server-upgrade'.

weasel@valiant:~/mixminion2$ ls -l total 12 drwxr-xr-x 2 weasel weasel 4096 Oct 20 20:52 bin/ drwxrwxr-x 2 weasel weasel 4096 Oct 20 20:54 etc/ drwxr-xr-x 3 weasel weasel 4096 Oct 20 20:52 lib/

Maybe mixminion should say that it expects an empty directory as serverhome, or a directory with a version file if none is found.


Okay. The bug seemed to be:

1 User configures server. 2 User creates home directory for server. 3 User starts server for the first time. 4 Server starts, notices that the directory doesn't have a "version" file 5 Server decides that it is looking at an obsolete directory. 6 Server freaks out and tells user to upgrade. 7 Recursively, user freaks out.

Now, there is a new step:

4.5 Since there is no version file, the server checks for "work" and "keys"

directories. If they were there, it would decide that it had an obsolete direcotry. But since thay aren't, it decides that it just has an uninitialized empty directory.

5' The server goes on to initialized a new file layout.

So I can't make the bug happen anymore, and I think it's gone.

[Automatically added by flyspray2trac: Operating System: All]

1 2 3 4 5 6 7 8 9 10 11 12 13 14
Note: See TracQuery for help on using queries.