Here are the results:
I have set the Path to Lotus Domino Program and restarted the server, then contig.exe was
working in both cmd cases.
But there is now the "error" in console when running dominodefrag log.nsf.
Its the same when I enter: lo dominodefrag (all databases will show the error)
13.07.2009 00:44:13 DominoDefrag: Total databases to be processed -> 357
13.07.2009 00:44:13 DominoDefrag: Total databases defragged -> 0
13.07.2009 00:44:13 DominoDefrag: Total databases already defragged -> 0
13.07.2009 00:44:13 DominoDefrag: Total databases below start point -> 0
13.07.2009 00:44:13 DominoDefrag: Termination complete
lo dominodefrag log.nsf
13.07.2009 00:28:08 DominoDefrag: v1.5 (11 Jul 2009)
13.07.2009 00:28:08 DominoDefrag: Initializing…
13.07.2009 00:28:08 DominoDefrag: Running on Windows 5.2.3790.Service Pack 2
13.07.2009 00:28:08 DominoDefrag: Using contig.exe version 1.55
13.07.2009 00:28:08 DominoDefrag: 32bit version running on 32bit platform
13.07.2009 00:28:08 DominoDefrag: File -> e:\lotus\domino\data\log.nsf
13.07.2009 00:28:08 DominoDefrag: Process Full Text Index -> Off
13.07.2009 00:28:08 DominoDefrag: DominoDefrag_MinuteInterval parameter not found. Task
will only run once
13.07.2009 00:28:08 DominoDefrag: Minute Interval -> 0
13.07.2009 00:28:08 DominoDefrag: DominoDefrag_StartPoint not found. Defaulting to 2
13.07.2009 00:28:08 DominoDefrag: Start Point -> 2
13.07.2009 00:28:08 DominoDefrag: Verbose Logging -> On
13.07.2009 00:28:08 DominoDefrag: Initialization complete
13.07.2009 00:28:09 DominoDefrag: log.nsf problem executing command
c:\windows\system32\cmd.exe/c e:\lotus\domino\contig.exe -a "E:\lotus\domino\data\log.nsf"
/accepteula > C:\WINDOWS\TEMP\DominoDefrag.log
13.07.2009 00:28:09 DominoDefrag: Total databases to be processed -> 1
13.07.2009 00:28:09 DominoDefrag: Total databases defragged -> 0
13.07.2009 00:28:09 DominoDefrag: Total databases already defragged -> 0
13.07.2009 00:28:09 DominoDefrag: Total databases below start point -> 0
13.07.2009 00:28:09 DominoDefrag: Termination complete
Log will be created but its empty.
—————–
cmd.exe/c contig.exe -v e:\lotus\domino\data\log.nsf/accepteula >
c:\windows\temp\DominoDefrag.log
content of lDominoDefrag.log:
Contig v1.55 - Makes files contiguous
Copyright © 1998-2007 Mark Russinovich
Sysinternals - www.sysinternals.com
————————
Processing e:\lotus\domino\data\log.nsf:
Scanning file…
e:\lotus\domino\data\log.nsf is already in 1 fragment.
————————
Summary:
Number of files processed : 1<br/>
Number of files defragmented: 0<br/>
All files were either already defragmented or unable to be defragmented.<br/>
———————–
cmd.exe/c e:\lotus\domino\contig.exe -v e:\lotus\domino\data\log.nsf/accepteula >
c:\windows\temp\DominoDefrag.log
Content of DominoDefrag.log:
Contig v1.55 - Makes files contiguous
Copyright © 1998-2007 Mark Russinovich
Sysinternals - www.sysinternals.com
————————
Processing e:\lotus\domino\data\log.nsf:
Scanning file…
e:\lotus\domino\data\log.nsf is already in 1 fragment.
————————
Summary:
Number of files processed : 1<br/>
Number of files defragmented: 0<br/>
All files were either already defragmented or unable to be defragmented.<br/>
Tried on another server:
Here the content from dominodefrag.log when starting with this command:
cmd.exe/c e:\lotus\domino\contig.exe -v e:\lotus\domino\data\log.nsf/accepteula >
c:\windows\temp\DominoDefrag.log
(started with lo dominodefrag 2 minutes before on this server did nothing)
Contig v1.55 - Makes files contiguous
Copyright © 1998-2007 Mark Russinovich
Sysinternals - www.sysinternals.com
————————
Processing e:\lotus\domino\data\log.nsf:
Scanning file…
Scanning disk…
File is 4480 physical clusters in length.
File is in 4 fragments.
Found a free disk block at 78214 of length 7584 for entire file.
Moving 4480 clusters at file offset cluster 0 to disk cluster 78214
File size: 18350080 bytes
Fragments before: 4
Fragments after : 1
————————
Summary:
Number of files processed : 1<br/>
Number of files defragmented: 1<br/>
Average fragmentation before: 4 frags/file<br/>
Average fragmentation after : 1 frags/file