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

sumesh at ias.ernet.in sumesh at ias.ernet.in
Thu Sep 13 06:38:37 BST 2012

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 at 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 at academy.ias.ernet.in
Date:    Wed, September 12, 2012 1:16 pm
To:      eprints-tech at 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.





More information about the Eprints-tech mailing list