EPrints Technical Mailing List Archive

Message: #05912


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

Re: [EP-tech] apache fails to start eprints


Hi Herbert,
>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

Are the timestamps on any of the files in ~/archives/*/cfg/, or ~/lib/ recent (has anyone changed anything / added anything through the Bazaar)?

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.

If you're familiar with the Perl debugger, you could run the 'epadmin test'  command with that?

Cheers,
John


-----Original Message-----
From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Herbert Hrachovec
Sent: 07 September 2016 10:36
To: eprints-tech@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@ecs.soton.ac.uk
> [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Herbert
> Hrachovec Sent: 06 September 2016 17:32 To:
> eprints-tech@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/