Re: Liveserver Question

90 views
Skip to first unread message

Gavin Cope

unread,
Jan 14, 2013, 5:02:25 PM1/14/13
to RedDot CMS Users
Yes, the process is documented in the Delivery Server Installation Guide under "DbInitUsers.py: Creating Users".

Cheers,

Gavin


On 15 January 2013 05:56, Johnny Nam <johnn...@gmail.com> wrote:
I lost the admin account for LiveServer so I am unable to login. Is there any way I can reset the account by other mean? Like in the CMD or use the Maintenance tool?

Thanks and I appreciate your help,

johnny

--
You received this message because you are subscribed to the Google Groups "RedDot CMS Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/reddot-cms-users/-/bh--8DFcBngJ.
To post to this group, send email to reddot-c...@googlegroups.com.
To unsubscribe from this group, send email to reddot-cms-use...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/reddot-cms-users?hl=en.

Johnny Nam

unread,
Jan 14, 2013, 5:33:03 PM1/14/13
to reddot-c...@googlegroups.com
If you don't mind, could you email that document to me? I can't seem to locate it.

Thank you,

Johnny

Gavin Cope

unread,
Jan 14, 2013, 6:57:05 PM1/14/13
to RedDot CMS Users
Not sure what version you're running so best bet is to download it from the http://knowledge.opentext.com/ or it is probably stored with your original Installation files.

Cheers,

Gavin


--
You received this message because you are subscribed to the Google Groups "RedDot CMS Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/reddot-cms-users/-/3BendXW9U4MJ.

Johnny Nam

unread,
Jan 14, 2013, 7:12:27 PM1/14/13
to reddot-c...@googlegroups.com
I did the following:

1, Go to Run
2. Open CMD
3. change directory "cd C:\Program Files\RedDot\LiveServer\tomcat\webapps\cps\WEB-INF\bin"
4. run file "dbm.cmd"
5. create user with command: "script RDEUSER DBInitUsers -a admin1&&admin1"

But I got a "Database Creation Error" for some reason. Do you know why?

Here are the error message in full:
----------------------------------------------------------------------------------------------------------------------------------
Buildfile: build.xml

time:

platform:

set.db.bin.path:

set.startup.conf:

set.reddot.startup:

set.poet.cfg:

set.dbm.classpath:

ask.for.command:
     [echo]
     [echo] **************************************************
     [echo]   RedDot LiveServer 4.0.0.8
     [echo]     Maintenance Tool
     [echo] **************************************************
     [echo]
     [echo]   Example Commands:
     [echo]
     [echo]     script RDEMASTER DbInitLicense LICENSE1 LICENSE2
     [echo]
     [echo]     script RDEMASTER DbInitRegistry -menu
     [echo]
     [echo]     script RDEUSER   DbInitUsers -a adminuser&&adminpassword
     [echo]
     [echo]     script RDEMASTER DbInitProject -p MyProject
     [echo]
     [echo]     export MyProject MyProject-exportpath
     [echo]
     [echo]     import MyProject MyProject-exportpath
     [echo]
     [echo]     -h     Shows the help.
     [echo]
    [input]
    [input]   DBM:
script RDEUSER DBInitUsers -a admin1&&admin1

dbm:
     [exec] JCLLogFactoryMapping loaded
     [exec] get log factory...
     [exec] 2013-01-14 19:07:02.678  Open Database 'RDEMASTER'
     [exec] 2013-01-14 19:07:02.819  Creating Database 'RDEMASTER'
     [exec] 2013-01-14 19:07:02.834  Creating Database 'RDEUSER'
     [exec] Exception in thread "Thread-CPS-1-32591083-main" DatabaseException:
database creation failed - project:'' repository:'FastObjects (embedded)' instan
ce:'RDEMASTER' (connection url:'poet://LOCAL/cpsRDEMASTER/db')
     [exec]
     [exec] /**
     [exec]  * Stack Dump
     [exec]  * Copyright (c) 1990-2006 Versant Corporation, Inc.
     [exec]  * Version: 10.0.4.111
     [exec]  * Reference-ID: [SD-1215179952]
     [exec]  * see http://community.fastobjects.com for details
     [exec]  */
     [exec] The database already exists. (-2035)
     [exec]     at de.reddot.dbaccess.helper.exceptions.DatabaseExceptionHelper.
convertException(DatabaseExceptionHelper.java:176)
     [exec]     at de.reddot.dbsupport.fojdo.helper.DatabaseExceptionHelper.conv
ertException(DatabaseExceptionHelper.java:38)
     [exec]     at de.reddot.dbsupport.fojdo.helper.DatabaseExceptionHelper.conv
ertException(DatabaseExceptionHelper.java:23)
     [exec]     at de.reddot.dbsupport.fojdo.helper.DatabaseFactory.createInstan
ce(DatabaseFactory.java:287)
     [exec]     at de.reddot.dbsupport.fojdo.helper.DatabaseFactory.createDataba
se(DatabaseFactory.java:185)
     [exec]     at de.reddot.dbaccess.helper.DatabaseService.createDatabase(Data
baseService.java:218)
     [exec]     at de.reddot.dbaccess.helper.DatabaseService.checkCreateMasterDa
tabase(DatabaseService.java:179)
     [exec]     at de.reddot.dbaccess.helper.DatabaseService.createDatabase(Data
baseService.java:169)
     [exec]     at de.reddot.dbaccess.manager.StartupManager.config(StartupManag
er.java:57)
     [exec]     at de.reddot.util.discovery.DiscoverSingleton.config(DiscoverSin
gleton.java:210)
     [exec]     at de.reddot.util.discovery.DiscoverSingleton.config(DiscoverSin
gleton.java:217)
     [exec]     at de.reddot.util.discovery.DiscoverSingleton.startServices(Disc
overSingleton.java:98)
     [exec]     at de.reddot.util.discovery.DiscoverSingleton.startServices(Disc
overSingleton.java:92)
     [exec]     at de.reddot.idea.bb.db.maintenance.Application.initStartup(Appl
ication.java:202)
     [exec]     at de.reddot.idea.bb.db.maintenance.Application.go(Application.j
ava:879)
     [exec]     at de.reddot.idea.bb.db.maintenance.Application.main(Application
.java:849)
     [exec] Caused by: com.poet.jdo.UserException:
     [exec] /**
     [exec]  * Stack Dump
     [exec]  * Copyright (c) 1990-2006 Versant Corporation, Inc.
     [exec]  * Version: 10.0.4.111
     [exec]  * Reference-ID: [SD-1215179952]
     [exec]  * see http://community.fastobjects.com for details
     [exec]  */
     [exec] The database already exists. (-2035)
     [exec] NestedThrowables:
     [exec] com.poet.rt.backend.poet.LibraryException: The database already exis
ts. (-2035)
     [exec]     at com.poet.rt.db.JDOBindingSupport.canRetryRuntime(Unknown Sour
ce)
     [exec]     at com.poet.rt.db.JDOBindingSupport.poetException(Unknown Source
)
     [exec]     at com.poet.rt.db.adapter.poet.ExceptionConverter.convert(Unknow
n Source)
     [exec]     at com.poet.rt.db.adapter.poet.POETDatabase.create(Unknown Sourc
e)
     [exec]     at com.poet.jdo.admin.DatabaseAdministration.create(Unknown Sour
ce)
     [exec]     at com.poet.jdo.admin.DatabaseAdministration.create(Unknown Sour
ce)
     [exec]     at de.reddot.dbsupport.fojdo.helper.DatabaseFactory.createInstan
ce(DatabaseFactory.java:281)
     [exec]     ... 12 more
     [exec] Caused by: com.poet.rt.backend.poet.LibraryException: The database a
lready exists. (-2035)
     [exec]     at com.poet.rt.backend.poet.DatabaseMethods._create(Native Metho
d)
     [exec]     ... 16 more
     [exec] Result: 1
    [input] Press RETURN to continue...

----------------------------------------------------------------------------------------------------------------------------------

Gavin Cope

unread,
Jan 14, 2013, 7:26:00 PM1/14/13
to RedDot CMS Users

Are you sure "admin1" doesn't already exist?

Check the case of DbInitUsers in your statement.

Try adding the language on the end:
script RDEUSER DbInitUsers –a admin1&&admin1&&en

If that doesn't work, I suggest opening a Support Ticket.

Cheers,

Gavin

--
You received this message because you are subscribed to the Google Groups "RedDot CMS Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/reddot-cms-users/-/kgxzHAssrHMJ.
Reply all
Reply to author
Forward
0 new messages