[EP-tech] Re: post installation issue

Sebastien Francois sf2 at ecs.soton.ac.uk
Tue Mar 20 12:20:15 GMT 2012


OK great!

For Apache, try:

bin/generate_apacheconf --replace

If this command above doesn't pick up your URL, you can also try to:

rm cfg/apache/*
rm cfg/apache_ssl/*
rm cfg/apache.conf
rm cfg/apache_ssl.conf

And re-run the command. Remember to restart Apache afterward.

Last but not least, since it seems like you have several repositories 
running the same instance of Apache, check that you have the following 
line in your Apache conf (before Include'ing EPrints' conf):

NameVirtualHost *:80

Seb.

On 20/03/12 12:09, smal at ccmb.res.in wrote:
> Hi Tim and Seb
>
> Thanks a lot for your tips&  guidelines as I could run these commands successfully but except the "apacheconf" which alone is left out now to be executed. I am pasting the error output here...
>
> bash-4.1$
> bash-4.1$ bin/generate_apacheconf
>
> No files were changed. For more information do ./generate_apacheconf --man
> bash-4.1$
> bash-4.1$
>
> Regards
> s.mahalingam
>
>
>
>
> ----- Original Message -----
> From: "Sebastien Francois"<sf2 at ecs.soton.ac.uk>
> To: eprints-tech at ecs.soton.ac.uk
> Sent: Tuesday, March 20, 2012 5:23:01 PM
> Subject: [EP-tech] Re: post installation issue
>
>
> Do you see "generate_views" as an option of the "epadmin" script? :D
>
> The commands are either:
>
> bin/generate_views publications_new
>
> (that one generate the views files straight away)
>
> -OR-
>
> bin/epadmin refresh_views publications_new
>
> (that one generates the files on-the-fly, when they are next requested by Apache).
>
> Seb.
>
> On 20/03/12 11:47, smal at ccmb.res.in wrote:
>
> Hi
>
>
> Show us the output of such a command eg. bin/generate_views<repository_id>
>
> bash-4.1$
> bash-4.1$
> bash-4.1$ bin/epadmin generate_views publications_new
> Usage:
>      epadmin *command* *repository_id* [options]
>
>      Where *command* is one of:
>
>      cleanup_cachemaps
>      config_core
>      config_db
>      create
>      create_db
>      create_tables
>      create_user
>      erase_data
>      erase_eprints
>      erase_fulltext_index
>      help
>      profile
>      rebuild_triples
>      recommit
>      reorder
>      redo_thumbnails
>      refresh_abstracts
>      refresh_views
>      rehash
>      reindex
>      reload
>      reload_metafields
>      schema
>      test
>      unit_tests
>      update_database_structure
>      upgrade
>
>      Type *epadmin help* for further help.
>
>
> and show us the content of the archives/ directory.
>
> bash-4.1$ pwd
> /var/lib/eprints3
> bash-4.1$
> bash-4.1$
> bash-4.1$ cd archives
> bash-4.1$ ls -la
> total 28
> drwxrwsr-x.  7 apache apache 4096 Feb  3 01:40 .
> drwxrwsr-x. 40 apache apache 4096 Mar 20 15:33 ..
> drwxrwsr-x.  7 apache apache 4096 Jan 27 11:17 ccmb_publications
> drwxrwsr-x.  7 apache apache 4096 Feb  2 12:39 chromatin
> drwxrwsr-x   7 apache apache 4096 Feb  3 01:40 epigenome
> drwxrwsr-x.  7 apache apache 4096 Jan 27 11:39 publications
> drwxrwsr-x.  7 apache apache 4096 Jan 27 11:57 publications_new
> bash-4.1$
> bash-4.1$
> bash-4.1$
>
> Hope this help you..
>
> Regards
> s.mahalingam
>
>
>
> Seb.
>
> On 20/03/12 11:16, smal at ccmb.res.in wrote:
>
> hi
>
> but still Iam unable to execute those commands like generate_views, _static, _abstracts and the link for the latest additions, search repository, browse repository, login, create user are not active. It seems breaking with usual error message...etc
>
> In response to all these, the output is displaying the list of help menus.
>
> In such scenario, I am running out of time and patience. I may have to erase the existing reprints package and only to reload the new package. Is it wise enough to do? kindly tender your advise.
>
> Regards
> s.mahalingam
>
> ----- Original Message -----
> From: "Chander Shekhar"<css at ceeri.ernet.in>  To: eprints-tech at ecs.soton.ac.uk Sent: Tuesday, March 20, 2012 4:32:18 PM
> Subject: [EP-tech] Re: post installation issue
>
> Its not the error Mr mahalingam !!! its the ok msg, u have to jst restart
> the apache (httpd) service after this, and u r done.
>
> hi
>
> the problem is that I am unable to re-execute the following commands
>
> 1. bin/epadmin generate_views "repository ID"
>
> 2. bin/epadmin generate_static "repository ID"
>
> 3. bin/epadmin generate_abstracts "repository ID"
>
> the error message in response to above commands are as follows:
>
> bash-4.1$ bin/epadmin reload publications_new
> The repository config will be reloaded, but you should still restart
> apache as
> soon as possible.
>
> bash-4.1$
>
>
> Moreover. on the repository index page, the server gives broken link for
> "Latest addition, search repository and browse repository, Login page,
> create account etc. whereas for the link is active for "About this
> repository and Repositories policies". It means that the link is active
> for the files located in the base directory in which the index page
> exists. Whereas, the pages located other than the base directory are not
> active.(e.g.) cigi, views etc. Is there any way to resolve this issue?
> Many more thanks in advance.
>
> with regards
> s.mahalingam
>
>
>
> ---- Original Message -----
> From: "Yuri"<yurj at alfa.it>  To: eprints-tech at ecs.soton.ac.uk Sent: Tuesday, March 20, 2012 4:07:57 PM
> Subject: [EP-tech] Re: post installation issue
>
> and the problem is?
>
>
> Il 20/03/2012 11:11, smal at ccmb.res.in ha scritto:
>
> Hi
>
> NO, it is wrong, it still asks for new repository ID. see the pasted
> output.
>
>
> bash-4.1$ bin/epadmin create
>
> Create an EPrint Repository
>
> Please select an ID for the repository, which will be used to create a
> directory
> and identify the repository. Lower case letters and numbers, may not
> start with
> a number. examples: "lemurprints" or "test3"
>
> Existing repositories:
> epigenome, chromatin, publications_new, ccmb_publications, publications
>
> Archive ID?
>
>
> Regards
> s.mahalingam
>



More information about the Eprints-tech mailing list