Troubleshooting

From EPrints Documentation
Revision as of 20:06, 11 August 2007 by Hj9Hy1 (talk | contribs)
Jump to: navigation, search

johnbarry z3 roadster el nath ht dalia w cumbia kings daimlerchrysler crash tag team racing tommy vee cd1 casillo porte los yonis demenza fronte temporale piccard sat aut frag sumo -carmageddon europeo case ischia allevamento cuccioli cane padova coolpix l1 l101 aeg 847 clara antartika ad (preposizione) finanziamenti fondo perduto film gratuiti porno tutta una notte giocattolo d epoca heim, albert antenna ique 3600 x-fi music gloria, la grande guerra noi e lamore online business herman psicocinesi toyota mr2 smt destinyschild com courtesan istituto roberto virtuoso gino o camionista marcia a tubo viva la mamma bennato marjorie sempre download giochi erotico hit mania dance champions campi golf www media world it incontro personale foto c t u tempio pausania opel astra anno 2005 cdti km o giochi spiaggia stampanti a 3 ink jet affettatrice 370 nova-t pci hard disk western bob sinclar video libro dvd my architect tirolo teeny weeny gunther morpheus bach quarta corda zainetto monospalla uomo suoneria rock nokia video decapitato ucciso jeans manifesti 2004 nuf het me now luoghi per voyerismo musica scaricabile trans femminili full metal obiettivo intercambiabile imposta comunale immobili nokia 6600 value pack hd esterno usb 250 espagna scandalo elenco telefonico di alia incontro grugliasco o capito melanie thornton wonderful dreams viaccess cod seximages directline it equipose brani cd musicali duele game boy ds madonna delle grazie un fiume doro macchina per il gelato proiettore per pc pescherie nb4 canon le foto di carolina in un film nuda camera spezia cick dic panasonic m70 pila (vercelli) microsoft work suite 2005 www bailoteando com mar menor vide blue televisioni lcd sony tv sony lcd 20 swach cronache del ghiaccio libri lettori mp3 creative zen micro massimi di cataldo boudin rockin music yacam download tranzas nuevo amor citta del messico alberghi e hotel bici in carbonio dododo uni ball california dreamer produccion artesanal wallpaper di giorgia palmas quattordici o guerra - furore nelle strade gli atzechi residence bibione blockbuster amber easton hardcore foto na estante us robotics modem firewall malay cannes shopping panda 2004 cartuccia inchiostro italiahotel foto di ascanio jaguar daimler iberna i-pod apple nano manu dibango hp laserjet 1010 toner wiso dvd vhs finanziamento viaggi amare con rabbia testo di eamon lettore mp3 1 gb radio batman2 webcam rimini il cinema tra storia e filosofia planet guidonia caterina sylos labini silvia pastore david gray babalon ricevitore per notebook gps passato imperfetto fara spa www chiwawa it v.f charles dickens the first day at school scanner epson 2400 pavarotti mp3 bigmoney filegrabber philips 22 crt prenotazione hotel rimini sportage kia una questione donore geometria descrittiva tv lcd aquos verbatim dvd r 8 5 gb voli per mombasa gigabyte sli mb handset manager 6 0 f 55 nikon lavamat 86800 eisenach shell be loved tasche per 4 woofer suzanna holmes alberghii firenze superjesus escape stampanti di rete plasma 1024 x 768 h2210 le notti di satana lotteria italia gaetano rino uccisione ostaggio americano ingegnere concerto di luca palodeagua indirizzi grandi firme midi mp3 disposta fisting amd sempron 2500 omsk (provincia) memorie per pc la rivincita delluomo invisibile severina vuckovi putas argentinas radio control dolcissima kekko dvd 160 gb bticino porsche 964 carrera 4 etrex c

Warning This page is under development as part of the EPrints 3.4 manual. It may still contain content specific to earlier versions.
Manual Sections

Trouble Shooting

This section covers some things which can go wrong and why. If you have a suggestion for this section, let us know!

It will grow as people suggest new problems and solutions. Check the http://www.eprints.org/ website for the latest version.

Installation of EPrints and Required Software

Apache Crashes with a segmentation fault

Possible cause: apache linked against "expat" library. If you did not install apache from source then it is possible it was linked against the "expat" library. The problem arrises that it is also linked against mod_perl and when we use the XML::Parser module, that is also linked against expat. 2 expat's in one apache make it seg-fault.

(Under SuSE Linux) Apache has problems compiling the mod rewrite module

With an error something like:


In file included from mod_rewrite.c:93:
mod_rewrite.h:133: ndbm.h: No such file or directory

Possible cause: Missing the ndbm library which is required (for some reason).

Solution: It comes as part of gdbm which is free. If working from a package you need gdbm-devel to get the header files (.h files).

(under debian sarge with apache2) Apache::const can't be located correctly when executing ./configure.

Solution: execute

export PERLLIB=/usr/lib/perl5/Apache2/

in a sh environment before ./configure.

Setting Up and Configuring a New Archive

System gives a "500 Internal Error" when viewing advanced search or submitting a document

Possible cause: No Subjects, Bug in code.

Solution: Run generate_subjects

If this fails: Look at your apache error log for clues. If reporting a bug, include the errors from the apache error log (often, but now always, found at /usr/local/apache/logs/error_log)

General

Solution: Build apache following the detailed instructions in the "requried software" section of the documentation.

Changes to the configuration didn't appear on the website

Possible cause: Several.

Solution: Rebuild everything by re-running (for the archive in question) generate_static, generate_views, generate_apacheconf then stop and start apache. generate_abstracts can take a long time, so don't run it unless you want to update the abstracts themselves.

Browse View page gives a "404 not found" error or fails to update.

Possible Cause: You didn't run the script which makes them!

Solution: Run generate_views, and ideally set it up to run automatically: see "Browse Views" in the installation section.

Apache takes a really long time to start (over a minute) and so do the command line scripts.

Possible Cause: EPrints loads several XML files at start up, and for some reason this requires a DNS lookup if DNS lookup is unavailable then it has to timeout.

Solution: Make sure that the machine can perform DNS look-ups.


The same page is repeatedly returned when submitting forms under Apache 2/mod_perl 2.0.0RC4

Ensure you have an up to date version of CGI (3.08 ).

A Note on SELinux

Secure Linux (SELinux?) adds an additional security layer above that of Unix's U/G/O. By default RedHat installations prevent Apache from accessing files outside of /var/www/html and /tmp (and user's home directories?).

If you run your EPrints Apache server as user eprints this isn't an issue, however if you run Apache as apache you will need to run:

chcon -R -t httpd_sys_content_t /opt/eprints2/

To allow the apache process to access the eprints files (in addition to any Unix permission changes necessary).

If you don't do this, you will not be able to start Apache after you have modified it to include the eprints Apache configuration files; it will give you error messages saying that it was unable to create certain files.

(Ref. http://www.cavebear.com/cbblog-archives/000148.html)