Login | Register
My pages Projects Community openCollabNet
Project highlights: Stable Version: 1.6.1, Development Version: 1.7.6

current
Reply to message

* = Required fields
* Subject
* Body
Attachments
Send reply to
Topic
Author (directly in email)
Please type the letters in the image above.

Original message

Author bzhu
Full name bill
Date 2007-06-19 06:56:07 PDT
Message Hi, Jack,

I wander if current 1.7.6 can work on RH5 64BIT OS? I found out the path
always point to 32bit path. And if other members can let their current
running, could you please give me your OS version and database type and
version? I want to compare if we can follow your way.

Sincerely

Bill

-----Original Message-----
From: Jack Neely [mailto:jjneely at gmail dot com]
Sent: Monday, June 18, 2007 5:32 PM
To: users at current dot tigris dot org
Subject: Re: FW: err about cadmin.py

Bill,

Check your postgresql logs as well. This traceback looks like there
was an error opening a connection to the postgres database.

If you are using a local socket connection (rather than tcp) you need to use

   db_host =

rather than

   db_host = 127.0.0.1

Jack

On 6/18/07, Jared Greenwald <jared.greenwald@​oracle.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> This looks like an error in the pgdb cursor method.
>
> I personally use this on Oracle Enterprise Linux 4 with an Oracle DB
> backend. So, I'm not too familiar with pgsql.
>
> - -Jared
>
> Bill Zhu wrote:
> > In fact, we have some problems when we installed current 1.7.6 on rh5
x86_64
> > with postgresql 8.2.4.
> >
> > 1. need to add the path of rpcServer.py manually to site.py.
> > 2. Add postgresql-PyGreSQL package.
> >
> > Hope someone use the same environment to share the knowledge together.
> >
> > Sincerely
> >
> > Bill
> >
> >
> >
> > -----Original Message-----
> > From: Bill Zhu [mailto:bzhu at sitesell dot com]
> > Sent: Monday, June 18, 2007 4:36 PM
> > To: users at current dot tigris dot org
> > Subject: RE: FW: err about cadmin.py
> >
> > Hi, Jared,
> >
> > Yes, indeed, and no error at all. I also confirmed the current database
> > tables are created. The database type is postgresql in current.conf.
> > postgresql-8.2.4-1PGDG.ss.
> >
> > Here is the current.conf
> >
> > [current]
> > log_file = /var/log/current.log
> > log_level = 7
> > apache_config_file = /etc/httpd/conf.d/cu​rrent.httpd.conf
> > access_type = user
> > access_arg = apache
> > current_dir = /var/spool/current
> > # The 'db' is which backend we're using
> > # db_type=pysqlite
> > db_type = postgres
> > # db_user and db_pass should be obvious
> > db_user = current
> > db_pass = xxxxxx
> > # db_name is the name of the database - what oracle calls a 'SID'
> > db_name = current
> > db_host = 127.0.0.1
> >
> > # These are some text messages that the server can return to the clients
> > # in various API calls.
> > ## The period is there to provide a "blank line". Sheesh.
> > welcome_message = "Welcome to current, an open source server for
up2date."
> > privacy_statement = "Privacy Statement:
> > This is site specific, and you should change this message to
match
> > your actual site."
> >
> > server_id = CurrentServer
> > server_secret = xxxxxxxxxxxxxxxxxxxxxxxxxx
> >
> > Thanks.
> >
> > Bill
> >
> > -----Original Message-----
> > From: Jared Greenwald [mailto:jared.greenw​ald at oracle dot com]
> > Sent: Monday, June 18, 2007 4:30 PM
> > To: users at current dot tigris dot org
> > Subject: Re: FW: err about cadmin.py
> >
> > Did you run the setup script steps (cinstall, etc)? You would also have
> > to set the db type in the current config file...
> >
> > -Jared
> >
> > Bill Zhu wrote:
> >> Jun 18 15:50:48 DEBUG: Dispatching: cadmin.createChannel
> >> Jun 18 15:50:48 CRITICAL: ERROR: Recognized function
cadmin.createChannel
> >> blew up with undefined error
> >> Jun 18 15:50:48 CRITICAL: EXCEPTION (File:
> >> /usr/lib64/python2.4​/site-packages/curre​nt/current_apache.py​, Method:
> >> callAPIMethod(), Line: 321): [logException()]
> >
> >> Jun 18 15:50:48 CRITICAL: Traceback (most recent call last):
> >> Jun 18 15:50:48 CRITICAL: File
> >> "/usr/lib64/python2.​4/site-packages/curr​ent/current_apache.p​y", line
298,
> > in
> >> callAPIMethod
> >> result = apply(func, params)
> >> Jun 18 15:50:48 CRITICAL: File
> >> "/usr/lib64/python2.​4/site-packages/curr​ent/api/cadmin.py", line 85, in
> >> createChannel
> >> u = SessionUser(sess)
> >> Jun 18 15:50:48 CRITICAL: File
> >> "/usr/lib64/python2.​4/site-packages/curr​ent/users.py", line 107, in
> > __init__
> >> self.session = Session(sess, configure.config['se​rver_secret'])
> >> Jun 18 15:50:48 CRITICAL: File
> >> "/usr/lib64/python2.​4/site-packages/curr​ent/sessions.py", line 39, in
> >> __init__
> >> self.db = sessions.SessionDB()
> >> Jun 18 15:50:48 CRITICAL: File
> >> "/usr/lib64/python2.​4/site-packages/curr​ent/db/sessions.py",​ line 41,
in
> >> __init__
> >> self.cursor = db.sdb.getCursor()
> >> Jun 18 15:50:48 CRITICAL: File
> >> "/usr/lib64/python2.​4/site-packages/curr​ent/db/postgres/post​gres.py",
line
> >> 43, in getCursor
> >> c = self.conn.cursor()
> >> Jun 18 15:50:48 CRITICAL: AttributeError: 'NoneType' object has no
> > attribute
> >> 'cursor'
> >> Jun 18 15:50:48 DEBUG2: API Result = <Fault 1000: u'Function
createChannel
> >> call blew up. Bad week.'>
> >> Jun 18 15:50:48 WARNING: Fault: <Fault 1000: u'Function createChannel
call
> >> blew up. Bad week.'>
> >> Jun 18 15:50:48 TRACE: (File:
> >> /usr/lib64/python2.4​/site-packages/curre​nt/current_apache.py​, Method:
> >> sendClientResult(), Line: 244) Data sent.
> >> Jun 18 15:50:48 DEBUG: sendClientResult() finished
> >
> >> -----Original Message-----
> >> From: Jared Greenwald [mailto:greenwaldjar​ed at gmail dot com]
> >> Sent: Monday, June 18, 2007 4:24 PM
> >> To: users at current dot tigris dot org
> >> Subject: Re: FW: err about cadmin.py
> >
> >> what does the log have to say?
> >
> >> On 6/18/07, Bill Zhu <bzhu at sitesell dot com> wrote:
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>> ____________________​____________
> >>>
> >>>
> >>> From: Bill Zhu [mailto:bzhu at sitesell dot com]
> >>> Sent: Monday, June 18, 2007 3:53 PM
> >>> To: users at current dot tigris dot org
> >>> Subject: err about cadmin.py
> >>>
> >>>
> >>>
> >>>
> >>> [root@new-ops1 ~]# cadmin.py create_channel -n new-ops1 -l
> >>> rhel-x86_64-server-5 -a x86_64 -r 5Server
> >>>
> >>> CADMIN - Current Administration Text Interface
> >>>
> >>> Licensed under the GNU GPL version 2.0 or greater.
> >>>
> >>>
> >>>
> >>> A server error occured: <Fault 1000: 'Function createChannel call blew
> > up.
> >>> Bad week.'>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>> If you have any idea about this error message?
> >>>
> >>>
> >>>
> >>> Env:
> >>>
> >>> RH5 X86_64
> >>>
> >>> Current 1.7.6
> >>>
> >>> python-2.4.3-19.el5
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>> Sincerely
> >>>
> >>>
> >>>
> >>>
> >>>
> >>> Bill Zhu
> >>>
> >>>
> >>> System Administrator
> >>>
> >>>
> >>> SiteSell Inc.
> >>>
> >>>
> >>> Tel: 514-380-2700 ext. 3378
> >>>
> >>>
> >>>
> >> --------------------​--------------------​--------------------​---------
> >> To unsubscribe, e-mail: users-unsubscribe@cu​rrent.tigris.org
> >> For additional commands, e-mail: users-help at current dot tigris dot org
> >
> >
> >
> >
> >> --------------------​--------------------​--------------------​---------
> >> To unsubscribe, e-mail: users-unsubscribe@cu​rrent.tigris.org
> >> For additional commands, e-mail: users-help at current dot tigris dot org
> >
>
> - --------------------​--------------------​--------------------​---------
> To unsubscribe, e-mail: users-unsubscribe@cu​rrent.tigris.org
> For additional commands, e-mail: users-help at current dot tigris dot org
>
>
>
>
> - --------------------​--------------------​--------------------​---------
> To unsubscribe, e-mail: users-unsubscribe@cu​rrent.tigris.org
> For additional commands, e-mail: users-help at current dot tigris dot org
>
>
>
>
> - --------------------​--------------------​--------------------​---------
> To unsubscribe, e-mail: users-unsubscribe@cu​rrent.tigris.org
> For additional commands, e-mail: users-help at current dot tigris dot org
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFGdvJ7u4z7Xptg​TUYRAmRqAKCR9YN+FYuC​n4XA6LgHdY7hhx5xMACg​m7eB
> cakKcVs83hTvzu5EtD/MbMs=
> =Q514
> -----END PGP SIGNATURE-----
>
> --------------------​--------------------​--------------------​---------
> To unsubscribe, e-mail: users-unsubscribe@cu​rrent.tigris.org
> For additional commands, e-mail: users-help at current dot tigris dot org
>
>

--------------------​--------------------​--------------------​---------
To unsubscribe, e-mail: users-unsubscribe@cu​rrent.tigris.org
For additional commands, e-mail: users-help at current dot tigris dot org