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.
--------------------------------------------------------------------------

Hi,

   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:
/usr/share/eprints3/archives/iaseprints/html/en/view/divisions/index.html

------------------------------------------------------------------
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
	EPrints::Session::page_to_file('EPrints::Session=HASH(0x7f21f7aba7a8)',
'/usr/share/eprints3/archives/iaseprints/html/en/view/division...',
undef) called at /usr/share/eprints3/perl_lib/EPrints/Session.pm line
2618
	EPrints::Session::write_static_page('EPrints::Session=HASH(0x7f21f7aba7a8)',
'/usr/share/eprints3/archives/iaseprints/html/en/view/division...',
'HASH(0x7f21f5e23858)', 'browseindex') called at
/usr/share/eprints3/perl_lib/EPrints/Update/Views.pm line 573
	EPrints::Update::Views::create_single_page_menu('EPrints::Session=HASH(0x7f21f7aba7a8)',
'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
	EPrints::Update::Views::update_view_menu('EPrints::Session=HASH(0x7f21f7aba7a8)',
'HASH(0x7f21f6eb0638)', 'en') called at
/usr/share/eprints3/perl_lib/EPrints/Update/Views.pm line 121
	EPrints::Update::Views::update_view_file('EPrints::Session=HASH(0x7f21f7aba7a8)',
'en', '/view/divisions/index.html', '/view/divisions/') called at
/usr/share/eprints3/perl_lib/EPrints/Apache/Rewrite.pm line 225
	EPrints::Apache::Rewrite::handler('Apache2::RequestRec=SCALAR(0x7f21f7ab9dd0)')
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.




-- 
Regards

Sumesh.KS


-- 
Regards

Sumesh.KS