EPrints Technical Mailing List Archive

Message: #04716


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

[EP-tech] Re: ePrints installations


Hi Colin,

Looking at that, I suspect that the second vhost listed is the one that is actually responding to the request.

I would try disabling it using something like:

> a2dissite 000-default

 

Cheers,

John

 

From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of colin lowry
Sent: 21 September 2015 10:48
To: eprints-tech@ecs.soton.ac.uk
Subject: [EP-tech] Re: ePrints installations

 

Hi John,

 

Thanks for coming back to me. I have received the following outputs, but I can't take away from this anything useful.

 

root@eprints:~# sudo apache2ctl -S

VirtualHost configuration:

*:80                   is a NameVirtualHost

         default server eprints.mydomain.ie (/etc/apache2/sites-enabled/000-default.conf:1)

         port 80 namevhost eprints.mydomain.ie (/etc/apache2/sites-enabled/000-default.conf:1)

         port 80 namevhost eprints.mydomain.ie (/usr/share/eprints3/cfg/apache/eprintstest.conf:9)

ServerRoot: "/etc/apache2"

Main DocumentRoot: "/var/www"

Main ErrorLog: "/var/log/apache2/error.log"

Mutex watchdog-callback: using_defaults

Mutex default: dir="/var/lock/apache2" mechanism=fcntl 

Mutex mpm-accept: using_defaults

PidFile: "/var/run/apache2/apache2.pid"

Define: DUMP_VHOSTS

Define: DUMP_RUN_CFG

Define: MODPERL2

User: name="www-data" id=33

Group: name="www-data" id=33

 

And my error log:

root@eprints:/var/log/apache2# tail error.log

Undefined phrase: archive_name (en) at line 226 in /usr/share/eprints3/perl_lib/EPrints/XML/EPC.pm

 

[Sun Sep 20 22:26:17.061433 2015] [perl:notice] [pid 3402] EPrints archives loaded: eprintstest

[Sun Sep 20 22:26:17.206437 2015] [mpm_prefork:notice] [pid 3402] AH00163: Apache/2.4.7 (Ubuntu) mod_perl/2.0.8 Perl/v5.18.2 configured -- resuming normal operations

[Sun Sep 20 22:26:17.206514 2015] [core:notice] [pid 3402] AH00094: Command line: '/usr/sbin/apache2'

 

Many Thanks,

Colin.

 

On 21 September 2015 at 09:36, John Salter <J.Salter@leeds.ac.uk> wrote:

Hi Colin,

I’d start by trying:

>apachectl –S

This should print out the vhosts Apache is configured with – which should include the EPrints configured vhost.

 

If this lists the EPrints vhost, I’d then look in the main Apache error log for any problems when Apache is restarted.

 

If it doesn’t there’s something wrong with the EPrints vhost config.

 

Cheers,

John

 

From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of colin lowry
Sent: 20 September 2015 23:50
To: eprints-tech@ecs.soton.ac.uk
Subject: [EP-tech] ePrints installations

 

Hi There,

 

I am installing ePrints on Ubuntu 14.04 and following the guide made available with the relevant patches (Step 1 only) at

 

It would appear I have followed the guide to a fine detail and the hosts file is modified in line with step 4. In theory I should now have a working installation of eprints in /usr/share/eprints3/

 

However when I visit the hostname we have set up it is showing the default apache 'It works' page i.e. /var/www/html/index.html

 

Can you please advise why this might be the case?

 

--

Colin


*** 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/
*** EPrints developers Forum: http://forum.eprints.org/