EPrints Technical Mailing List Archive

Message: #02938


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

[EP-tech] Re: Apache restart does not work ... - Debugging mode for EPrints?


Just to comment on invalid xml… I recommend using xmlinit to check.

 

xmllinit –vaild ~/archives/*ARCHIVE_ID*/cfg/lang/en/static/*

 

Should tell you if you have any invalid xml in the xpages.

 

David

 

From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Alan.Stiles
Sent: 24 April 2014 11:01
To: eprints-tech@ecs.soton.ac.uk
Subject: [EP-tech] Re: Apache restart does not work ... - Debugging mode for EPrints?

 

Hi Christian,

Are you sure you haven’t made a typo in the xpage file – it could be causing a problem if it isn’t valid xml ?

 

ALan

 

From: Christian Authried [mailto:christian.authried@univie.ac.at]
Sent: 24 April 2014 06:58
To: eprints-tech@ecs.soton.ac.uk
Subject: [EP-tech] Re: Apache restart does not work ... - Debugging mode for EPrints?

 

Hi Mark,

only 'Configuration Failed' without any details ...
We haven't changed the configuration; only a correction in a .xpage file.

'epadmin reload' hasn't provides an error.

Best regards,
Christian.

error_log

-- snip --
[Thu Apr 24 07:41:40 2014] [info] Init: Seeding PRNG with 256 bytes of entropy
[Thu Apr 24 07:41:40 2014] [info] Init: Generating temporary RSA private keys (512/1024 bits)
[Thu Apr 24 07:41:40 2014] [info] Init: Generating temporary DH parameters (512/1024 bits)
[Thu Apr 24 07:41:40 2014] [info] Init: Initializing (virtual) servers for SSL
[Thu Apr 24 07:41:40 2014] [info] mod_ssl/2.2.15 compiled against Server: Apache/2.2.15, Library: OpenSSL/1.0.1e-fips
Undefined phrase: template/navigation:home (de) at line 226 in /usr/share/eprints/perl_lib/EPrints/XML/EPC.pm
Undefined phrase: template/navigation:about (de) at line 226 in /usr/share/eprints/perl_lib/EPrints/XML/EPC.pm
Undefined phrase: template/navigation:browse (de) at line 226 in /usr/share/eprints/perl_lib/EPrints/XML/EPC.pm
Undefined phrase: viewname_eprint_divisions (de) at line 226 in /usr/share/eprints/perl_lib/EPrints/XML/EPC.pm
Undefined phrase: template:about_eprints (de) at line 226 in /usr/share/eprints/perl_lib/EPrints/XML/EPC.pm
[Thu Apr 24 07:41:41 2014] [warn] EPrints Warning! 'othes' is configured for port 80 but Apache does not have NameVirtualHosts configured for that port. This may cause the wrong repository to respond to 'othes.univie.ac.at:80'. To fix this add to your main Apache configuration file: NameVirtualHost *:80
[Thu Apr 24 07:41:41 2014] [notice] EPrints archives loaded: othes
[Thu Apr 24 07:41:41 2014] [notice] Digest: generating secret for digest authentication ...
[Thu Apr 24 07:41:41 2014] [notice] Digest: done
Configuration Failed
-- snap --


Am 24.04.2014 01:21, schrieb Mark Gregson:

Is there anything in the error log?

 

Mark

 

Mark Gregson | Applications and Development Team Leader
Library eServices | Queensland University of Technology
Level 3 | R Block | Kelvin Grove Campus | GPO Box 2434 | Brisbane 4001
Phone: +61 7 3138 3782 | Web: http://eprints.qut.edu.au/
ABN: 83 791 724 622
CRICOS No: 00213J

 

 

From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Christian Authried
Sent: Thursday, 24 April 2014 1:32 AM
To: eprints-tech@ecs.soton.ac.uk
Subject: [EP-tech] Apache restart does not work ... - Debugging mode for EPrints?

 

Dear all,

we have some trouble with our EPrints:  Apache restart does not work ...

-- snip --

cd /usr/share/eprints/bin

./generate_static othes


sudo /etc/init.d/httpd restart

httpd stop:                                             [FAILED]
httpd start:                                             [  OK  ]
-- snap --

However, Apache is not running!
Is there a debugging mode to get more information?

Best regard,
Christian.

----

P.S.: running epadmin reload

[eprints@othes bin]$ ./epadmin reload othes
Undefined phrase: template/navigation:home (de) at line 226 in /usr/share/eprints/bin/../perl_lib/EPrints/XML/EPC.pm
Undefined phrase: template/navigation:about (de) at line 226 in /usr/share/eprints/bin/../perl_lib/EPrints/XML/EPC.pm
Undefined phrase: template/navigation:browse (de) at line 226 in /usr/share/eprints/bin/../perl_lib/EPrints/XML/EPC.pm
Undefined phrase: viewname_eprint_divisions (de) at line 226 in /usr/share/eprints/bin/../perl_lib/EPrints/XML/EPC.pm
Undefined phrase: template:about_eprints (de) at line 226 in /usr/share/eprints/bin/../perl_lib/EPrints/XML/EPC.pm
The repository config will be reloaded, but you should still restart apache as
soon as possible.

[eprints@othes bin]$ sudo /etc/init.d/httpd restart
httpd beenden:                                             [FEHLGESCHLAGEN]
httpd starten:                                             [  OK  ]
[eprints@othes bin]$

However, Apache is not running!

 

*** 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/

-- The Open University is incorporated by Royal Charter (RC 000391), an exempt charity in England & Wales and a charity registered in Scotland (SC 038302).

This message has been scanned by the UEL anti-spam filters hosted by Websense
Report this email as spam.