Login | Register
My pages Projects Community openCollabNet

Discussions > users > Re: Current - cadmin create_channel error

Project highlights: Stable Version: 1.6.1, Development Version: 1.7.6

current
Discussion topic

Back to topic list

Re: Current - cadmin create_channel error

Reply

Author theslack
Full name Jack Neely
Date 2006-08-26 08:48:37 PDT
Message John,

Let's do this on the users at current dot tigris dot org list as the issues list
is mainly for Tigris' issue tracking tool.

This error is usually a mysql permissions problem. While the initial
setup is done as root, the Current server connects from the apache
user. Also, as this is RHEL 4, don't forget to turn off SELinux or at
least the apache rule set.

Does the exception give a more exact error message?

Jack

On 8/25/06, Carroll, John <John dot Carroll at usap dot gov> wrote:
> I am having trouble getting my Current implementation to work. I get
> through the initdb, create_apache_config, and create_certificate without
> any errors in the current.log file, but once I try to create a channel
> using "cadmin create_channel", I get the following in the current.log:
> Current v1.6.1 log file
> Aug 25 16:06:53 Current v1.6.1 starting up
> Aug 25 16:06:53 Could not get DB connection!
> Aug 25 16:06:53 Error initializing data base! Current will not function
> Aug 25 16:0653 : EXCEPTION in /usr/share/current/c​urrent_apache.py,
> init_backend(), 91 [logException()]
> *snip*
>
> # more /etc/current/current.conf
> [current]
> log_file = /var/log/current.log
> log_level = 1
> apache_config_file = /etc/httpd/conf.d/current.conf
> access_type = group
> access_arg = apache
> current_dir = /data/current
> # The 'db' is which backend we're using
> db_type = mysql
> # db_user and db_pass should be obvious
> db_user = usapnoc
> db_pass =
> # db_name is the name of the database - what oracle calls a 'SID'
> db_name = up2date
> db_host = localhost
>
> Any idea why this might be?
> I am running RHEL ES4, with MySQL 4.1.20, Current 1.6.1, Apache 2.0.52.
>
> thanks,
> John
>
> John Patrick Carroll
> Systems Administrator
> Raytheon Polar Services Company
>
> --------------------​--------------------​--------------------​---------
> To unsubscribe, e-mail: issues-unsubscribe@c​urrent.tigris.org
> For additional commands, e-mail: issues-help at current dot tigris dot org
>
>

« Previous message in topic | 1 of 2 | Next message in topic »

Messages

Show all messages in topic

Re: Current - cadmin create_channel error theslack Jack Neely 2006-08-26 08:48:37 PDT
     RE: Current - cadmin create_channel error johncusap John Carroll 2006-09-12 16:50:43 PDT
Messages per page: