[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[EP-tech] Re: post installation issue



Hi Tim

I totally agree with you but I ran through and followed all the configuratin steps but except the "Generate views, statistics and abstracts" which I have ignored from executing. There I was trying now to re-execute them once agin but I could not. I have followd your guidelines to recreate the DB, I was able to do once again successfully but the apacheconf, import_subjects, generate_views, statisctics and abstracts are could not be done. Whiel executing these commands, it pause for a while and displays "epadmin help menus as follows. 


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.




----- Original Message -----
From: "Tim Brody" <tdb2 at ecs.soton.ac.uk>
To: eprints-tech at ecs.soton.ac.uk
Sent: Tuesday, March 20, 2012 4:44:26 PM
Subject: [EP-tech] Re: post installation issue

Hi,

I guess you terminated the 'create' wizard early?

You can do:
./bin/epadmin config_core [archiveid]

To configure the core settings.

./bin/epadmin create_db [archiveid]

To create the database if you didn't get that far.

./bin/epadmin create_tables [archiveid]

To create tables.

./bin/generate_apacheconf

To generate the Apache configuration.

./bin/import_subjects [archiveid]

To import Subjects.

Views and static pages are generated on demand, or
by ./bin/generate_{views,static,abstracts} manually.

If you half created the database you may need to manually destroy it and
start again with create_db.

All the best,
Tim.

On Tue, 2012-03-20 at 15:41 +0530, smal at ccmb.res.in wrote:
> 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 at cyi.ac.cy>
> To: eprints-tech at 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 at alfa.it> wrote:
> > Il 20/03/2012 08:39, smal at 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/
> >
> 
> 
> 
> -- 
> ----------------------
> Denis Pitzalis
> Information Technology Consultant
> 
> UNESCO - http://www.unesco.org
> Paris, France - Tel: +33145681816
> 
> Business Strand Coordinator
> 3D-COFORM - http://www.3dcoform.eu
> 
> VAST 2011 - http://www.vast-conference.eu
> 
> *** 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smal.vcf
Type: text/x-vcard
Size: 170 bytes
Desc: not available
Url : http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20120320/75633d88/attachment-0001.vcf