EPrints Technical Mailing List Archive

Message: #01067

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

[EP-tech] Eprints System Error- Can't open to write to XML- Solution

Dear Sir,

    Thank you very much for your suggestion and it made the result.

I am using Centos 6.2(Final), and with SeLinux turned off, I am able to
eliminate the below mentioned errors.

How ever, only for few searches, the result is getting slowly and I
observed httpd process takes 100% CPU utilization to serve these dynamic
content requests,even though CPU is 2 x Intel Xeon 5675@3.07GHz,
HostnameLookups off in httpd.conf.

After doing some more exercises with SeLinux turned on and fine tune
(SeLinux,apache 2.2.15, mysql 5.1.52), I shall update to you.

Thanking you.

---------------------------- Original Message ----------------------------
Subject: Eprints System Error- Can't open to write to XML
From:    sumesh@academy.ias.ernet.in
Date:    Wed, September 12, 2012 1:16 pm
To:      eprints-tech@ecs.soton.ac.uk.


   I am trying to move repository to a new server, eprints version is 3.1.3.
Installation completed , transferred the data & database from the old
server to new.

All the results are displayed while searching, but an error comes in the
log file while searching the dynamic contents. It repeats for all the
dynamic fields, but at the same time page is displayed. Error is

---------------- EPrints System Error ----------------------------
Can't open to write to XML file:

EPrints System Error inducing stack dump
 at /usr/share/eprints3/perl_lib/EPrints.pm line 91
	EPrints::abort('Can\'t open to write to XML file:
/usr/share/eprints3/archive...') called at
/usr/share/eprints3/perl_lib/EPrints/Session.pm line 2882
undef) called at /usr/share/eprints3/perl_lib/EPrints/Session.pm line
'HASH(0x7f21f5e23858)', 'browseindex') called at
/usr/share/eprints3/perl_lib/EPrints/Update/Views.pm line 573
'ARRAY(0x7f21f8485a60)', undef, 'ARRAY(0x7f21f5e1a240)',
'HASH(0x7f21f6eb0638)', 'HASH(0x7f21f5e23f30)', 'ARRAY(0x7f21f63c8a48)',
'ARRAY(0x7f21f584b5c8)', 0, ...) called at
/usr/share/eprints3/perl_lib/EPrints/Update/Views.pm line 407
'HASH(0x7f21f6eb0638)', 'en') called at
/usr/share/eprints3/perl_lib/EPrints/Update/Views.pm line 121
'en', '/view/divisions/index.html', '/view/divisions/') called at
/usr/share/eprints3/perl_lib/EPrints/Apache/Rewrite.pm line 225
called at -e line 0
	eval {...} called at -e line 0

I have enabled set gid for the entire eprints  installed directory, added
apache to eprints group and vice-versa. Also enabled the 'SuexecUserGroup'
directive in httpd.conf, but still issue not solved.

Kindly help.