EPrints Technical Mailing List Archive

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

Message: #00225


< 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


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.

Arguments:
    epadmin create
            START HERE! This option will walk you through the tasks needed
            to create your repository.

    epadmin test *repository_id*
            A null operation which just checks your configuration files are
            OK and that you can connect to the database. If no
            *repository_id* is specified loads each repository in turn.

    epadmin cleanup_cachemaps *repository_id*
            Drop any orphaned cache tables.

    epadmin config_core *repository_id*
            Set hostname, contact email and repository name.

    epadmin config_db *repository_id*
            Set database connection properties and, optionally, to create
            database and database user.

    epadmin create_db *repository_id*
            Create a database and database user with the current settings.

    epadmin create_tables *repository_id*
            Create the database tables.

    epadmin create_user *repository_id*
            Create a new user. You need to do this to create your first
            admin account.

    epadmin schema *repository_id*
            Use this to produce a schema for the EP3 XML read/written by
            your repository.

    epadmin erase_fulltext_index *repository_id*
            This erases all the .words and .indexcodes cache files from your
            repository, forcing the indexer to rerun the tools used to
            extract full text from your documents.

            This is useful if you only setup the fulltext indexing after
            your repository is already live, or if you discover there has
            been a problem.

    epadmin rebuild_triples *repository_id* [*dataset_id* [*item_id*
    *item_id* ...]]
            Queue all the records to have their RDF triple cache rebuilt.
            This may tie-up the indexer for some time on a large repository.
            Do this if you have made changes to the way RDF triples are
            produced from an EPrint.

    epadmin recommit *repository_id* *dataset_id* [*eprint_id* *eprint_id*
    ...]
            Recommit all the records in the given dataset. What this does is
            cause the automatic values to be re-calculated. If a list of
            eprint_ids is given then just recommit those.

    epadmin reindex *repository_id* *dataset_id* [*eprint_id* *eprint_id*
    ...]
            Schedule the dataset for reindexing. The indexer will do the
            actual indexing and it may take some time. This only schedules
            the reindexing. If a list of eprint_ids is given then just
            reindex those.

    epadmin reorder *repository_id* *dataset_id* [*eprint_id* *eprint_id*
    ...]
            Regenerate the order values for the dataset. If a list of
            eprint_ids is given then just recalculate ordervalues for those.

    epadmin rehash *repository_id* [*document_id*]
            Recalculate the hashes of the files in this document and write
            it to a probity log file. If a document id is given then just
            generate the hash for that document.

    epadmin reload *repository_id*
            Cause the web server to reload the repository configuration.

    epadmin refresh_views *repository_id*
            Tell the webserver that all views pages must be regenerated. The
            webserver will update them next time they are requested. Also
            causes config to be reloaded.

    epadmin refresh_abstracts *repository_id*
            Tell the webserver that all abstract summary pages must be
            regenerated. The webserver will update them next , but won't
            update them again unless something on the EPrint changes or you
            re-run refresh abstracts. Also causes config to be reloaded.

    epadmin redo_thumbnails *repository_id* [ *eprintid*, ... ]
            Regenerate all the thumbnail and image-preview files and any
            other things which are triggered if the document file changed.
            Optionally supply a list of eprint ids to re-generate thumbnails
            for.

    epadmin reload_metafields *repository_id*
            Reload the metafields dataset, based on the current
            configuration.

    epadmin erase_data *repository_id*
            Erases and recreates the database. Removes all documents and
            files. Does not touch the configuration files.

    epadmin erase_eprints *repository_id*
            Erases all the documents and eprints (including their files).
            Recreates the eprint and document tables. Leaves configuration
            files and the users and subjects tables alone.

    epadmin unit_tests
            Run unit tests, printing the results to STDOUT. If everything
            passed will exit with a return code of 0.

    epadmin profile *test*
            Run a performance profile of *test* using Devel::NYTProf.

    epadmin update_database_structure *repository_id*
            This will add tables and columns to your SQL database to bring
            it in-line with your current configuration. It will not remove
            data. Use with caution on a live database. Database backup is
            recommended befire use on live systems.

    epadmin upgrade *repository_id*
            After upgrading EPrints, use this to update the database tables.
            It will advise any other tasks that are required.

    epadmin --help

Options:
    --help  Print a brief help message and exit.

    --man   Print the full manual page and then exit.

    --quiet This option does not do anything.

    --verbose
            Explain in detail what is going on. May be repeated for greater
            effect.

    --force Be more forceful (don't ask for confirmation).

    --version
            Output version information and exit.

bash-4.1$ 





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@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@ceeri.ernet.in> To: eprints-tech@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@alfa.it> To: eprints-tech@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@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


----- Original Message -----
From: "Denis Pitzalis - STARC" <d.pitzalis@cyi.ac.cy> To: eprints-tech@ecs.soton.ac.uk Sent: Tuesday, March 20, 2012 3:05:44 PM
Subject: [EP-tech] Re: post installation issue

Hi

if I'm right the command epadmin create does not take any further
option. you will declare after the name of your new repository.

best,
Denis

On Tue, Mar 20, 2012 at 9:19 AM, Yuri <yurj@alfa.it> wrote: 

Il 20/03/2012 08:39, smal@ccmb.res.in ha scritto: 

there are two instances at which the output varies

1. bin/epadmin reload "repository ID"

The repository config will be reloaded, but you should still restart
apache as soon as possible.
( I checked that both apache and mysql are running as usual)

2. bin/epadmin reload or any other command "repository ID"

It outputs various epadmin command menus as follows

Usage: epadmin *command* repository_id* (options)
    where *command* is one of:

    cleanup_cachemaps
    config_core
    config_db
    create
    create_db etc...
Hope this suffice your needs to diagnose this issue. I concur with you
that I may have missed the basic parameter while configuring the D/B.
If it is so, how do I have to reconfigure ths same D/B.? why can't you just post the commands you give and its output? :)
*** 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
*** 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