EPrints Technical Mailing List Archive

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

Message: #00253


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

[EP-tech] Re: post installation issue


Hi

After having changed over the document root to /var/www/html, now the "Apache Test Page" appears on the browser instead of eprints index page. Do I have to rewrite the document root once again to ....?????? kindly reply me.

with thanks
s.mahalingam




----- Original Message -----
From: "Sebastien Francois" <sf2@ecs.soton.ac.uk>
To: eprints-tech@ecs.soton.ac.uk
Sent: Wednesday, March 21, 2012 5:27:25 PM
Subject: [EP-tech] Re: post installation issue


Replace with the attached one. 

You tried to configure DocumentRoot + cgi in httpd.conf while all of this is handled by eprints. Note that I also un-commented the mod_perl line. 

Seb. 

On 21/03/12 11:47, smal@ccmb.res.in wrote: 

Hi

I have enclosed the http.conf file for your perusal and further help.

with regards
s.mahalingam

----- Original Message -----
From: "Sebastien Francois" <sf2@ecs.soton.ac.uk> To: eprints-tech@ecs.soton.ac.uk Sent: Wednesday, March 21, 2012 4:46:14 PM
Subject: [EP-tech] Re: post installation issue


Hello, 

You sent yesterday the output of your error logs: 

[Tue Mar 20 21:38:32 2012] [notice] caught SIGTERM, shutting down
[Tue Mar 20 21:38:32 2012] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Mar 20 21:38:32 2012] [notice] Digest: generating secret for digest authentication ...
[Tue Mar 20 21:38:32 2012] [notice] Digest: done
[Tue Mar 20 21:38:32 2012] [notice] Apache/2.2.15 (Unix) DAV/2 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations 
When EPrints is loading, it shows a message on the like of: 

[Wed Mar 21 10:38:25 2012] [notice] EPrints archives loaded: {repo_name} 

So EPrints isn't loading on your server & I'd say your instance of apache is misconfigured. You'll have to post your httpd.conf (or apache2.conf depending on your linux flavour) file here if you need further help. 

By the way in your 10_core.pl file, you set up an alias / redirect on your main host - if the EPrints' apache conf was actually loaded, you couldn't connect to your hostname at all (infinite redirects). 

See below, remove the lines in bold (and re-generate the eprints apache conf & restart apache) - note that this won't fix your problem above (the fact that EPrints isn't loading). 



bash-4.1$ cat 10_core.pl |more
# This file was created by bin/epadmin
# You can regenerate this file by doing ./bin/epadmin config_core publications_new
$c->{host} = 'eprints.ccmb.res.in';
$c->{port} = '80';
$c->{aliases} = [
                  {
                    'redirect' => 'yes',
                    'name' => 'eprints.ccmb'
                  },
                  {
                    'redirect' => 'yes',
                    'name' => 'eprints'
                  }, {
                    'redirect' => 'yes',
                    'name' => 'eprints.ccmb.res.in'
                  }, {
                    'redirect' => 'yes',
                    'name' => 'eprints'
                  }
                ];
$c->{securehost} = '';
$c->{secureport} = 443;
$c->{http_root} = undef;
bash-4.1$ 

*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech *** Archive: http://www.eprints.org/tech.php/ *** EPrints community wiki: http://wiki.eprints.org/ *** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech *** Archive: http://www.eprints.org/tech.php/ *** EPrints community wiki: http://wiki.eprints.org/ 

*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/

-- 
S Mahalingam
Technical Officer
IT Group
Centre for Cellular and Molecular Biology(CCMB) - CSIR.
Habsiguda, Uppal Road
Hyderabad 500 007

Ph:+91-40-27192776,27192866
   +91-40-27160222-41, Ext:2776,2866
Cell: +91-9490682527
BEGIN:VCARD
VERSION:3.0
FN:smal
N:;smal;;;
EMAIL;TYPE=internet:smal@ccmb.res.in
REV:2011-10-23T06:39:24Z
UID:d8497f84-b15b-4897-b8ed-8dbb73a1b39f:21435
END:VCARD