Hi All,

I have been using CVSNT 2.5.03.2382 and many versions before with MySQL
as an audit database server (Only the deltas are not being stored in the
database).

I have just tried to add an audit database to a fresh install of the
following and I'm having difficulty.

I have also tried uninstalling (RC9) and using 2.5.03.2382 with success
so am puzzled (Though I know there have been changes). I am running this
on the local server as an Administrator.

1. CVSNT 2.5.04.3229 (RC9) Server install running on Win 2003 Server SP2
2. MySQL 5.0.67
(I have also tried Windows XP SP3 with both versions of CVSNT with the
same results. 2382 works 3229 does not).

I have created a database, user and set old_password(...)
>From the CVSNT control panel I have tested the connection and created
the tables successfully but when I create a new repository and confirm I
would like to initialise it I get the lockserver crashing and an error
suggesting I try it from a Command Prompt which gives the following
error:

Any suggestions welcomed as apart from trying another DB (PostgreSQL
which I have never used) I don't know what to try next.
(Have I missed an FQA or previous post? I couldn't find any.) 

Thanks,
Andy.


C:\>cvs -ttt -d D:/CVSNTRepos/Work init
12:07:52:   -> Tracelevel set to 3.  PID is 1680
12:07:52:   -> Session ID is 690490ee99857ce
12:07:52:   -> Session time is Mon Nov  3 12:07:52 2008
12:07:52:   -> Client was compiled Oct 28 2008 06:17:19
12:07:52:   -> Client was compiled with MSVC C/C++ 1310
12:07:52:   -> Client build platform is microsoft-windows-x86
12:07:52:   -> Client running on "Microsoft Windows Server 2003,
Standard Edition Service Pack 2 (Build 3790) [5.2.3790] (Service Pa
ck 2)"
12:07:52:   -> main loop with CVSROOT=D:/CVSNTRepos/Work
12:07:52:   -> Using local lockserver on port 2402
12:07:52:   -> normalize_path(D:/CVSNTRepos/Work)
12:07:52:   -> ...returns D:/CVSNTRepos/Work
12:07:52:   -> Lock server connect to 127.0.0.1 port 2402
12:07:52:   -> wrap_add(*.a -kb, 0, 0, 0, 0)
...
12:07:52:   -> Reading global cvsrc
12:07:52:   -> run precommand trigger
12:07:52:   -> run_trigger()
12:07:52:   -> trigger file not found.
12:07:52:   -> LoadTrigger info trigger, phys repos=D:/CVSNTRepos/Work.
12:07:52:   -> LoadTrigger(info.dll)
12:07:52:   -> CLibraryAccess::Load loading
C:\PROGRA~1\CVSNT/triggers/info.dll
12:07:52:   -> call library init with
physical_repository=D:/CVSNTRepos/Work.
12:07:52:   -> info_trigger: init,
physical_repository=D:/CVSNTRepos/Work
12:07:52:   -> LoadTrigger(audit.dll)
12:07:52:   -> CLibraryAccess::Load loading
C:\PROGRA~1\CVSNT/triggers/audit.dll
12:07:52:   -> call library init with
physical_repository=D:/CVSNTRepos/Work.
12:07:52:   -> Connecting to mysql
12:07:52:   -> CLibraryAccess::Load loading
C:\PROGRA~1\CVSNT/database/mysql.dll
12:07:52:   -> Select Version From SchemaVersion
12:07:52:   -> Audit SchemaVersion=3
12:07:52:   -> Insert Into SessionLog (Command, StartTime, Hostname,
Username, SessionId, VirtRepos, PhysRepos, Client) Values ('ini
t','2008-11-03
12:07:52','falcon','Administrator','690490ee99857ce','D:/CVSNTRepos/Work
','D:/CVSNTRepos/Work','CVSNT 2.5.04 (Zen) Bu
ild 3229 (RC 9)')
audit_trigger error (session): Commands out of sync;  You can't run this
command now
12:07:52:   -> LoadTrigger(checkout.dll)
12:07:52:   -> CLibraryAccess::Load loading
C:\PROGRA~1\CVSNT/triggers/checkout.dll
12:07:52:   -> Not loading disabled trigger checkout.dll.
12:07:52:   -> Couldn't load trigger checkout.dll
12:07:52:   -> LoadTrigger(email.dll)
12:07:52:   -> CLibraryAccess::Load loading
C:\PROGRA~1\CVSNT/triggers/email.dll
12:07:52:   -> Not loading disabled trigger email.dll.
12:07:52:   -> Couldn't load trigger email.dll
12:07:52:   -> LoadTrigger(script.dll)
12:07:52:   -> CLibraryAccess::Load loading
C:\PROGRA~1\CVSNT/triggers/script.dll
12:07:52:   -> call library init with
physical_repository=D:/CVSNTRepos/Work.
12:07:52:   -> Call pre-loaded 'audit.dll'
12:07:52:   -> precommand_proc()
12:07:52:   -> Audit precommand, g_pDb=00000000
Audit trigger initialiasation failed: Database initialisation failed
12:07:52:   -> Call pre-loaded 'info.dll'
12:07:52:   -> precommand_proc()
12:07:52:   -> default_trigger: parse_info(CVSROOT/precommand,%r
%c,%<a,<null>) cwd(C:\)
12:07:52:   -> default_trigger:
open(D:/CVSNTRepos/Work/CVSROOT/precommand) cwd(C:\)
12:07:52:   -> default_trigger: no file cwd=C:\
12:07:52:   -> Call pre-loaded 'script.dll'
12:07:52:   -> precommand_proc()
cvs init: Pre-command check failed
12:07:52:   -> run postcommand trigger
12:07:52:   -> run_trigger()
12:07:52:   -> Call pre-loaded 'audit.dll'
12:07:52:   -> postcommand_proc()
12:07:52:   -> Exception caught - in minidumper
12:07:56:   -> send=0
12:07:56:   -> Dumping to
C:\DOCUME~1\ADMINI~1.DRU\LOCALS~1\Temp\1\cvsnt-2.5.04.3229-falcon-690490
ee99857ce-small.dmp
12:07:56:   -> Start dump
12:07:56:   -> Dump succeeded.  Zipping to
C:\DOCUME~1\ADMINI~1.DRU\LOCALS~1\Temp\1\cvsnt-2.5.04.3229-falcon-690490
ee99857ce-small.d
mp.gz
12:07:56:   ->
copy_and_zip(C:\DOCUME~1\ADMINI~1.DRU\LOCALS~1\Temp\1\cvsnt-2.5.04.3229-
falcon-690490ee99857ce-small.dmp,C:\DOCUME~1\
ADMINI~1.DRU\LOCALS~1\Temp\1\cvsnt-2.5.04.3229-falcon-690490ee99857ce-sm
all.dmp.gz)
12:07:56:   -> wnt_fstat(3)
12:07:56:   -> _statcore(0000046c,(null))
12:07:56:   -> Using file handle to retrieve information
12:07:56:   -> File attributes = 00000020
12:07:56:   ->  - read/write file
12:07:56:   -> GetUnixFileModeNtEA(e,FFFFFFFF) returns 0000
12:07:56:   ->
unlink_file(C:\DOCUME~1\ADMINI~1.DRU\LOCALS~1\Temp\1\cvsnt-2.5.04.3229-f
alcon-690490ee99857ce-small.dmp.gz)
12:07:56:   ->
wnt_chmod(C:\DOCUME~1\ADMINI~1.DRU\LOCALS~1\Temp\1\cvsnt-2.5.04.3229-fal
con-690490ee99857ce-small.dmp.gz,100666)
12:07:56:   -> SetUnixFileModeNtEA(C,100666)

C:\>
_______________________________________________
cvsnt mailing list
cvsnt@cvsnt.org
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt

Upgrade to CVS Suite for more features and support: http://march-hare.com/cvsnt/

Reply via email to