EPrints Technical Mailing List Archive

See the EPrints wiki for instructions on how to join this mailing list and related information.

Message: #01063


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

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


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

Attachment: signature.asc
Description: This is a digitally signed message part