[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[EP-tech] apache fails to start eprints
Hi John
> >From your email, you've got two archives: bin and eprints3 (is that
> >correct?).
> If you test each individually, is either OK?
> >bin/epadmin test bin
> >bin/epadmin test eprints3
"bin" is a leftover which I removed.
eprints at mycomputer:/opt/eprints3/bin> ./epadmin test eprints3
Everything seems OK.
> Are the timestamps on any of the files in ~/archives/*/cfg/, or
> ~/lib/ recent (has anyone changed anything / added anything through
> the Bazaar)?
from /storage/plus/archives/eprints3/cfg/cfg.d:
4. Jul 2012 field_property_defaults.pl
> I think this additional piece of error message:
> "Use of uninitialized value in concatenation (.) or string at (eval
> 90) line 13." is useful, but trying to get from there, to the exact
> problem is tricky.
>
> As this looks to be related to a metafield, you could try something
> like:
> > grep -rin 'field' lib archives/*/cfg/ | grep '13:'
> Which will find 'field' in config files, and show any that appear on
> line 13 of a config file.
I attach a file with the output of this command.
sneep_dataset.pl, search.pl and default.xml all have a 2012 timestamp.
> If you're familiar with the Perl debugger, you could run the 'epadmin
> test' command with that?
Sorry, but this is beyond my expertise.
Incidentally, when I initially ran "epadmin test
eprints3". I got the following output:
eprints at phaidon:/opt/eprints3/bin> ./epadmin test eprints
Failed to load repository: eprints
eprints at phaidon:/opt/eprints3/bin> ./epadmin test eprints3
Problem loading plugin EPrints::Plugin::Export::UserPDF
[/opt/eprints3/lib/plugins/EPrints/Plugin/Export/UserPDF.pm]: Can't
locate PDF/API2.pm in @INC (@INC
contains: /opt/eprints3/perl_lib /opt/eprints3/site_lib/plugins /opt/eprints3/lib/plugins /opt/eprints3/bin/../perl_lib /usr/lib/perl5/site_perl/5.12.1/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.12.1 /usr/lib/perl5/vendor_perl/5.12.1/i586-linux-thread-multi /usr/lib/perl5/vendor_perl/5.12.1 /usr/lib/perl5/5.12.1/i586-linux-thread-multi /usr/lib/perl5/5.12.1 .)
at /opt/eprints3/lib/plugins/EPrints/Plugin/Export/UserPDF.pm line 9.
BEGIN failed--compilation aborted
at /opt/eprints3/lib/plugins/EPrints/Plugin/Export/UserPDF.pm line 9.
Compilation failed in require at (eval 488) line 1. BEGIN
failed--compilation aborted at (eval 488) line 1.
After installing the PDF::API2 module this error was gone - see the
output of epadmin above.
My apache errors have not changed from yesterday to today:
Use of uninitialized value in concatenation (.) or string at (eval 92)
line 13. [Tue Sep 06 10:11:37 2016] [error] Can't use an undefined
value as a HASH reference
at /opt/eprints3/perl_lib/EPrints/MetaField.pm line 252.\nCompilation
failed in require at (eval 2) line 1.\n [Tue Sep 06 10:11:37 2016]
[error] Can't load Perl file: /opt/eprints3/bin/startup.pl for server
sammelpunkt.philo.at:8080, exiting...
...
Use of uninitialized value in concatenation (.) or string at (eval 92)
line 13. [Wed Sep 07 14:46:46 2016] [error] Can't use an undefined
value as a HASH reference
at /opt/eprints3/perl_lib/EPrints/MetaField.pm line 252.\nCompilation
failed in require at (eval 2) line 1.\n [Wed Sep 07 14:46:46 2016]
[error] Can't load Perl file: /opt/eprints3/bin/startup.pl for server
sammelpunkt.philo.at:8080, exiting...
As to apache:
./httpd -M
Loaded Modules:
core_module (static)
authn_file_module (static)
authn_default_module (static)
authz_host_module (static)
authz_groupfile_module (static)
authz_user_module (static)
authz_default_module (static)
auth_basic_module (static)
include_module (static)
filter_module (static)
log_config_module (static)
env_module (static)
setenvif_module (static)
mpm_prefork_module (static)
http_module (static)
mime_module (static)
status_module (static)
autoindex_module (static)
asis_module (static)
cgi_module (static)
negotiation_module (static)
dir_module (static)
actions_module (static)
userdir_module (static)
alias_module (static)
so_module (static)
perl_module (shared)
Syntax OK
And, as I indicated, nothing on this machine (OpenSuSE) was recently
changed.
Thanks for pursuing this puzzle ...
h.h.
>
> -----Original Message-----
> From: eprints-tech-bounces at ecs.soton.ac.uk
> [mailto:eprints-tech-bounces at ecs.soton.ac.uk] On Behalf Of Herbert
> Hrachovec Sent: 07 September 2016 10:36 To:
> eprints-tech at ecs.soton.ac.uk Subject: Re: [EP-tech] apache fails to
> start eprints
>
>
> Hello John,
>
> thanks for your quick response.
>
> > The config field_defaults is normally in
> > ~/archives/ARCHIVEID/cfg/cfg.d/field_property_defaults.pl Does this
> > file exist - and is it OK (the default version is in
> > ~/lib/defaultcfg/cfg.d/ )?
> >
>
>
>
> mycomputer # locate field_property_defaults.pl
>
> /opt/eprints3/lib/defaultcfg/cfg.d/field_property_defaults.pl
> /storage/plus/archives/bin/cfg/cfg.d/field_property_defaults.pl
> /storage/plus/archives/eprints3/cfg/cfg.d/field_property_defaults.pl
>
> Those files are identical, even though the first one comes from the
> most recent eprints version.
>
> I should perhaps mention that I symlink my eprints3 archive
> to the /storage partition from /opt.
>
>
> > What happens if you run:
> > ~/bin/epadmin test
>
> That's similar to what the apache logs tell me
>
> Use of uninitialized value in concatenation (.) or string at (eval 90)
> line 13. Can't use an undefined value as a HASH reference
> at /opt/eprints3/bin/../perl_lib/EPrints/MetaField.pm line 252.
>
> Best,
>
> h.h.
>
>
> > -----Original Message-----
> > From: eprints-tech-bounces at ecs.soton.ac.uk
> > [mailto:eprints-tech-bounces at ecs.soton.ac.uk] On Behalf Of Herbert
> > Hrachovec Sent: 06 September 2016 17:32 To:
> > eprints-tech at ecs.soton.ac.uk Subject: [EP-tech] apache fails to
> > start eprints
> >
> >
> > Hello,
> >
> > I have been running eprints 3.3.15 on Open SuSE till this morning
> > when I suddenly hit on the following error:
> >
> > [error] Can't use an undefined value as a
> > HASH reference at /opt/eprints3/perl_lib/EPrints/MetaField.pm line
> > 252. Compilation failed in require at (eval 2) line 1.\n [Tue Sep 06
> >
> > [error] Can't load Perl file: /opt/eprints3/bin/startup.pl for
> > server xxx:8080, exiting...
> >
> > Neither the system, nor the eprints package was changed. Can you
> > please advice?
> >
> > Best,
> >
> > h.h.
> >
> > ----
> > Hochschullehrer, Philosophie, Wien
> > *** Options:
> > http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech ***
> > Archive: http://www.eprints.org/tech.php/ *** EPrints community
> > wiki: http://wiki.eprints.org/ *** EPrints developers Forum:
> > http://forum.eprints.org/
> >
> > *** Options:
> > http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech ***
> > Archive: http://www.eprints.org/tech.php/ *** EPrints community
> > wiki: http://wiki.eprints.org/ *** EPrints developers Forum:
> > http://forum.eprints.org/
>
>
>
> ----
> Hochschullehrer, Philosophie, Wien
> *** Options:
> http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech ***
> Archive: http://www.eprints.org/tech.php/ *** EPrints community wiki:
> http://wiki.eprints.org/ *** EPrints developers Forum:
> http://forum.eprints.org/
>
> *** Options:
> http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech ***
> Archive: http://www.eprints.org/tech.php/ *** EPrints community wiki:
> http://wiki.eprints.org/ *** EPrints developers Forum:
> http://forum.eprints.org/
----
Hochschullehrer, Philosophie, Wien