Tech List

[index] [prev] [next] [options] [help]
See the Mailing Lists Page for how to subscribe and unsubscribe.

eprints_tech messages

Please note: this page shows emails that have been sent to the eprints_tech mailing list. Some of these may be spam emails we have failed to filter.

[EP-tech] database creation

From: "Faine, Mark" <Mark.Faine AT msfc.nasa.gov>
Date: Wed, 9 May 2001 12:58:20 -0500


Threading:      • This Message
             Re: [EP-tech] database creation from cjg AT ecs.soton.ac.uk


Ok, I've gottent the apache with mod_perl operational and all is good on the
web server front.

I decided earlier to re-install manually the eprints software. I'm to the
point where I need to 
run scripts that update/create the database, specificaly the cron tab
scripts but really none of the scripts will work.

I just get somehting like:

[root AT trs]296[/usr/local/apache/eprints/bin]# ./subs_daily 
DBI->connect(database=eprints) failed: Access denied for user:
'eprints AT localhost' (Using password: YES) at
/usr/local/apache/eprints/perl_lib/EPrints/Database.pm line 134
TRS has encountered an error:

Failed to connect to database

Can't call method "retrieve_fields" on an undefined value at
/usr/local/apache/eprints/perl_lib/EPrints/Subscription.pm line 338.

-------------------------------------------------------------------

I would like to change the username the scripts are using to "nobody" 
but I
can't figure out how, except a direct hack on the Database.pm file, and I've
tried, nobody can't connect either.   $EPrintSite::SiteInfo::username is set
to "nobody" but still it tries to connect as eprints.

I know the grants and users are set up right because I can connect as nobody
or eprints from the command line.


Basically if I get through this database problem that should be the last
hurdle to clear as that is the only thing holding back a completed
installation at this point.

Any help would be appreciated?

-Mark



_____________________________________ 
Mark Faine 
Computer Programmer III/MTRS Administration 
Lesco/MSFC 
256-961-1295 

[index] [prev] [next] [options] [help]