Adding a new VO Admin to a VO when Existing are Lost.

It may be nescesary because the current admins have left or whatever to add an extra admin to virtual organisation.

This must be done via the vomrs command line add_admin.

./add_admin --vo vo.gear.cern.ch --nousercert \
    --dn '/DC=ch/DC=cern/OU=Organic Units/OU=Users/CN=fred/CN=111111/CN=Fred Astair' \
    --ca '/DC=ch/DC=cern/CN=CERN Trusted Certification Authority' --firstname Fred --lastname Astair \
    --org 'CERN' --email 'Fred Astair@cern.ch' --phone '+41 22 76 111111'

If you get an error

java.lang.ClassCastException: org.apache.log4j.DailyRollingFileAppender
        at fnal.vox.vomrs.loader.dataLoader.main(Unknown Source)

you must temporarily edit the /opt/vomrs-1.3/var/etc/vomrs_vo.gear.cern.ch/log4j.properties back to what it is the RPM. For day to day running we alter the log4j configuation but this breaks the configuration scripts.

The default working for this step log4j file to needs to look like:

log4j.rootLogger=info, R
log4j.rootCategory=info
log4j.appender.R=org.apache.log4j.RollingFileAppender
log4j.appender.R.MaxFileSize=10000KB
log4j.appender.R.MaxBackupIndex=2
log4j.appender.R.layout=org.apache.log4j.PatternLayout
log4j.appender.R.layout.ConversionPattern=%d{MM/dd/yy HH:mm:ss,SSS} :%-5p:%t:%c.%M: %m%n
log4j.category.org.globus.gsi=error
log4j.category.org.apache.axis=error
log4j.appender.R.File=/tmp/out.txt
This is a bug but it is not going to be fixed.

Don't forget to restore the log4j configuration afterwards.

-- SteveTraylen - 08-Sep-2010


This topic: LCG > WebPreferences > VomsCern > VomsNewAdmin
Topic revision: r1 - 2010-09-08 - SteveTraylen
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback