Re: module packagedb
John Berninger <[email protected]>
| Newsgroups | gmane.network.up2date.current.devel |
|---|---|
| Message-ID | <[email protected]> |
First thing to check is to ensure the packagedb.py file exists in /var/www/html (the default directory for HTML documents - if you've changed this, this directory will be different) and has a minimum of 755 permissions with owner of either apache or root. I got import problems like that a few times when the permissions were set incorrectly. Did you install this from tarball or from RPM? On Fri, 07 Jun 2002, Moritz Amort wrote: > Hi > > I'm testing current-1.3.0. > When I'm trying to register the client (rhn_register), i get the error > (client side): > "Fatal error retrieving welcome message; Broken response from the server" > > -The RHNS-CA-CERT are the same on client and server > -The client and the server are time-syncronized > - I've made cadmin create $(Channel) > > Client and server are running under RedHat 7.3 with the standard apache, > mod_ssl and mod_python > > The log's: > > /var/log/httpd/error.log: > [Fri Jun 7 15:33:55 2002] [error] PythonHandler apache: Traceback (innermost > last): > [Fri Jun 7 15:33:55 2002] [error] PythonHandler apache: File > "/usr/lib/python1.5/site-packages/mod_python/apache.py", line 173, in Dispatch > module = import_module(module_name, _req) > [Fri Jun 7 15:33:55 2002] [error] PythonHandler apache: File > "/usr/lib/python1.5/site-packages/mod_python/apache.py", line 334, in > import_module > module = imp.load_module(mname, f, p, d) > [Fri Jun 7 15:33:55 2002] [error] PythonHandler apache: File > "/var/www/html/apache.py", line 12, in ? > import packagedb > [Fri Jun 7 15:33:55 2002] [error] PythonHandler apache: ImportError: No > module named packagedb > > > /var/log/httpd/ssl_request_log: > [07/Jun/2002:15:33:55 +0200] 138.232.3.70 TLSv1 EDH-RSA-DES-CBC3-SHA "POST > https://c102-luxt.uibk.ac.at:443/XMLRPC HTTP/1.0" 452 > > It seems that python can't find the module packagedb... > Can anyone give me a hint, what i could trying to solve the problem? > > Thank You > > Moritz > > _______________________________________________ > Current-server mailing list > [email protected] > http://lists.dulug.duke.edu/mailman/listinfo/current-server -- Thank you, John Berninger Systems Administrator [email protected] Department of Mathematics Box 8205, Harrelson Hall NC State University Raleigh, NC 27695 Phone: (919)515-6315 Fax: (919)515-3798 GPG Key ID: A8C1D45C Fingerprint: B1BB 90CB 5314 3113 CF22 66AE 822D 42A8 A8C1 D45C --