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

Tim Brody tdb2 at ecs.soton.ac.uk
Wed Sep 12 11:17:34 BST 2012


Hi,

What O/S are you using?

Do you have selinux and have you either disabled it or set the
appropriate roles?

/Tim.

On Wed, 2012-09-12 at 13:16 +0530, sumesh at ias.ernet.in wrote:
> 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.
> 
> 
> 
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part
Url : http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20120912/fca76ceb/attachment.bin 


More information about the Eprints-tech mailing list