Re: Invalid Argument?

Hunter Matthews <[email protected]>
Newsgroups gmane.network.up2date.current.devel
Message-ID <1012598886.9706.172.camel@jade>
On Fri, 2002-02-01 at 15:59, Brian Lalor wrote:
> I just grabbed the current 0.9.4 rpm and put it on my RH6.2 box.  I went 
> through the installation instructions, ran 'cadmin -v create 
> insight-i386-6.2' which completed without issue, and tried to start up 
> current:
> 
> 	# current -l - -n -v -v
> 	Removing stale pid_file /var/run/current.pid
> 	Starting up Backend
> 	Traceback (innermost last):
> 	  File "/usr/sbin/current", line 162, in ?
> 	    main()
> 	  File "/usr/sbin/current", line 117, in main
> 	    packagedb.db.addChannel(db_dir)
> 	  File "/usr/share/current/packagedb.py", line 50, in addChannel
> 	    tmp.open(db_dir)
> 	  File "/usr/share/current/channel.py", line 300, in open
> 	    'rpm_index.wdb'), mode)
> 	bsddb.error: (22, 'Invalid argument')
> 
> Anyone what's causing this?  I'm using python 1.5.2.

add a 
print "mode = %s" % mode 
line RIGHT BEFORE that errored out line. That "can't" happen.


> 
> Thanks,
> B
> 
> --
> Brian Lalor
> [email protected]
> 
> _______________________________________________
> Current-server mailing list
> [email protected]
> http://lists.dulug.duke.edu/mailman/listinfo/current-server
> 
> 
-- 
Hunter Matthews                          Unix / Network Administrator
Office: BioScience 145/244               Duke Univ. Biology Department
Key: F0F88438 / FFB5 34C0 B350 99A4 BB02  9779 A5DB 8B09 F0F8 8438
Never take candy from strangers. Especially on the internet.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.