On Mon, Aug 15, 2011 at 8:50 AM, Muhammad Faiz Chishti <[email protected]> wrote: > I have looked in to my /home/opensrf/.bashrc and found that the following > command was missing > > > export PERL5LIB=/openils/lib/perl5:$PERL5LIB > > > And manually added the path > > export PATH=/openils/bin:$PATH > > export PERL5LIB=/openils/lib/perl5:$PERL5LIB > > NOW the command > > ./autogen.sh -c /openils/conf/opensrf_core.xml –u > > Is giving error > > Can't call method "opac_visible" on an undefined value at > org_tree_html_options.pl line 54. > > From: [email protected] > [mailto:[email protected]] On Behalf Of > Muhammad Faiz Chishti > Sent: Monday, August 15, 2011 4:59 PM > To: [email protected] > Cc: [email protected] > Subject: [OPEN-ILS-GENERAL] ***SPAM*** Urgent help required please > > > Hi I have installed new evergreen server and it gives error on this command > > > > ./autogen.sh -c > /openils/conf/opensrf_core.xml –u > > > > opensrf@lmstest:/openils/bin$ ./autogen.sh -c /openils/conf/opensrf_core.xml > -u > > Updating Evergreen organization tree and IDL using > '/openils/conf/opensrf_core.xml' > > > > Updating fieldmapper > > Can't locate OpenILS/Utils/Fieldmapper.pm in @INC (@INC contains: /etc/perl > /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 > /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 > /usr/local/lib/site_perl .) at fieldmapper.pl line 4. > > BEGIN failed--compilation aborted at fieldmapper.pl line 4. > > > > > > settings-tester.pl tester result > > > > > > opensrf@lmstest:~$ > /home/opensrf/Evergreen-ILS-2.0.8/Open-ILS/src/support-scripts/settings-tester.pl > > LWP::UserAgent version 5.829 > > XML::LibXML version 1.69 > > XML::LibXML::XPathContext version 1.69 > > XML::LibXSLT version 1.68 > > Net::Server::PreFork version 0.97 > > Cache::Memcached version 1.26 > > Class::DBI version 3.0.17 > > Class::DBI::AbstractSearch version 0.07 > > Template version 2.20 > > DBD::Pg version 2.13.1 > > Net::Z3950::ZOOM version 1.25 > > MARC::Record version 2.0.3 > > MARC::Charset version 1.33 > > MARC::File::XML version 0.93 > > Text::Aspell version 0.04 > > CGI version 3.29 > > DateTime::TimeZone version 0.91 > > DateTime version 0.49 > > DateTime::Format::ISO8601 version 0.06 > > DateTime::Format::Mail version 0.3001 > > Unix::Syslog version 1.1 > > GD::Graph3d version 0.63 > > JavaScript::SpiderMonkey version 0.20 > > Log::Log4perl version 1.23 > > Email::Send version 2.197 > > Text::CSV version 1.12 > > Text::CSV_XS version 0.65 > > Spreadsheet::WriteExcel::Big version 2.22 > > Tie::IxHash version 1.21 > > Parse::RecDescent version 1.96.0 > > SRU version 0.99 > > JSON::XS version 2.32 > > > > Checking Jabber connection for user opensrf, domain private.localhost > > * Jabber successfully connected > > > > Checking Jabber connection for user opensrf, domain public.localhost > > * Jabber successfully connected > > > > Checking Jabber connection for user router, domain public.localhost > > * Jabber successfully connected > > > > Checking Jabber connection for user router, domain private.localhost > > * Jabber successfully connected > > > > Checking database connections > > * /opensrf/default/reporter/setup :: Successfully connected to database > dbi:Pg:dbname=evergreen;host=localhost;port=5432 > > * Database has the expected server encoding UTF8. > > * /opensrf/default/apps/open-ils.storage/app_settings/databases :: > Successfully connected to database > dbi:Pg:dbname=evergreen;host=localhost;port=5432 > > * Database has the expected server encoding UTF8. > > * /opensrf/default/apps/open-ils.cstore/app_settings :: Successfully > connected to database dbi:Pg:dbname=evergreen;host=localhost;port=5432 > > * Database has the expected server encoding UTF8. > > * /opensrf/default/apps/open-ils.pcrud/app_settings :: Successfully > connected to database dbi:Pg:dbname=evergreen;host=localhost;port=5432 > > * Database has the expected server encoding UTF8. > > DBI connect('dbname=evergreen;host=localhost;port=5432','postgres',...) > failed: FATAL: password authentication failed for user "postgres" > > FATAL: password authentication failed for user "postgres" at > /home/opensrf/Evergreen-ILS-2.0.8/Open-ILS/src/support-scripts/settings-tester.pl > line 235 > > * /opensrf/default/apps/open-ils.qstore/app_settings :: Unable to connect to > database dbi:Pg:dbname=evergreen;host=localhost;port=5432, user=postgres, > password=postgres > > * /opensrf/default/apps/open-ils.reporter-store/app_settings :: Successfully > connected to database dbi:Pg:dbname=evergreen;host=localhost;port=5432 > > * Database has the expected server encoding UTF8. > > > > Checking database drivers to ensure <driver> matches <language> > > * ERROR: Unknown driver SIP in /opensrf/default/notifications/telephony > > * ERROR: Unknown driver SIP in /opensrf/default/notifications/telephony > > * OK: Pg language is undefined for reporter base configuration > > * OK: Pg language is undefined for reporter base configuration > > * OK: Pg language is perl in /opensrf/default/apps/open-ils.storage/language > > * OK: pgsql language is C in /opensrf/default/apps/open-ils.cstore/language > > * OK: pgsql language is C in /opensrf/default/apps/open-ils.pcrud/language > > * OK: pgsql language is C in /opensrf/default/apps/open-ils.qstore/language > > * OK: pgsql language is C in > /opensrf/default/apps/open-ils.reporter-store/language > > > > Checking libdbi and libdbi-drivers > > * OK - found locally installed libdbi.so and libdbdpgsql.so in shared > library path > > > > Checking hostname > > * OK: found hostname 'localhost' in <hosts> section of opensrf.xml > > > > > > > > And when I run srfsh the following error occurs > > srfsh# login admin leo > > > > Received Data: "4ca997a2c289ed413cbd285983aa2e10" > > > > ------------------------------------ > > Request Completed Successfully > > Request Time in seconds: 0.002809 > > ------------------------------------ > > > > Received Data: { > > "ilsevent":1000, > > "textcode":"LOGIN_FAILED", > > "desc":"User login failed", > > "pid":1385, > > "stacktrace":"oils_auth.c:565" > > } > > > > ------------------------------------ > > Request Completed Successfully > > Request Time in seconds: 0.005666 > > ------------------------------------ > > Login Session: (none). Session timeout: 0.000000 > > > > As I have created the database schema and configured the system using > command > > > > perl Open-ILS/src/support-scripts/eg_db_config.pl --update-config \ > > --service all --create-schema --create-offline \ > > --user evergreen --password evergreen --hostname localhost --port > 5432 \ > > --database evergreen --admin-user admin --admin-pass leo > > > > > > > > Pleae help me in this as ii am totally stuck and cant seem to get > through,,,,,,,,,,,,,,,,,,
Muhammad Faiz Chishti Did this instance ever work? Is the /openils directory tree owned by user opensrf? When you added the /openils directory to opensrf's path, were you acting as that user, or did you add those directories to root's path? Also, I believe it is a mistake to make the admin user something other than evergreen (or postgres) -- This Apt Has Super Cow Powers - http://sourcefreedom.com
