In order to further diagnose a problem, I needed to upgrade my Lotus Notes mail file to the most recent ODS ( On-Disk Structure ), which is now 51 with the latest Notes/Domino 8.5 products.
Given that I'm using an Ubuntu Linux desktop ( alongside my Macbook Pro ), I needed to be able to run the necessary compact command from a command line ( shell ).
Before I started, I shut down Notes to avoid any conflicts.
Given that I wanted to update to ODS 51, I added the line: -
Create_R85_Databases=1
to my notes.ini file ( /home/hayd/lotus/notes/data/notes.ini ).
Then. following this post, I opened a command prompt ( using the xterm command to open a bash shell ), and changed to the Lotus Notes program directory ( /opt/ibm/lotus/notes ).
From there, I ran the command ./compact -C /home/hayd/lotus/notes/data/mail09/DAVEHAY.NSF. Sadly, this failed with the message: -
11/02/2009 14:26:10 Database compactor error: Wrong Password. (Passwords are case sensitive - be sure to use correct upper and lower case.)
This indicated that I needed to have previously entered the Notes password before I tried to access the mail file, which seems like a pretty good idea.
Therefore, I restarted Notes and entered my password - this automatically opened a tab to my mail file, which I ignored - Doh !
I repeated the command again, which again failed with the message: -
11/02/2009 14:37:48 Informational, database design compression is enabled in database /lotus/notes/data/mail09/DAVEHAY.NSF.
11/02/2009 14:37:48 Informational, LZ1 is enabled in database /lotus/notes/data/mail09/DAVEHAY.NSF.
11/02/2009 14:37:48 Compacting /lotus/notes/data/mail09/DAVEHAY.NSF (Dave Hay)
11/02/2009 14:37:48 Error compacting /lotus/notes/data/mail09/DAVEHAY.NSF: Database is currently in use by you or another user
11/02/2009 14:37:48 Database compactor process shutdown
The third time around, I closed down all the tabs in the Notes client, and tried again; this time, it succeeded with: -
11/02/2009 14:41:16 Informational, database design compression is enabled in database /lotus/notes/data/mail09/.NSF.
11/02/2009 14:41:16 Informational, LZ1 is enabled in database /lotus/notes/data/mail09/.NSF.
11/02/2009 14:41:16 Compacting /lotus/notes/data/mail09/.NSF (Dave Hay)
11/02/2009 14:41:26 Compacted /lotus/notes/data/mail09/.NSF, 0K bytes recovered (0%)
11/02/2009 14:41:28 Database compactor process shutdown
It's worth noting that the -C switch on the compact command means "Copy-style compaction"
If it helps, the ODS version of a database can be seen on the DB properties ( File -> Application -> Properties ) as per the screenshot.
Geeking in technology since 1985, with IBM Development, focused upon Docker and Kubernetes on the IBM Z LinuxONE platform In the words of Dr Cathy Ryan, "If you don't write it down, it never happened". To paraphrase one of my clients, "Every day is a school day". I do, I learn, I share. The postings on this site are my own and don’t necessarily represent IBM’s positions, strategies or opinions. Remember, YMMV https://infosec.exchange/@davehay
Subscribe to:
Post Comments (Atom)
Note to self - use kubectl to query images in a pod or deployment
In both cases, we use JSON ... For a deployment, we can do this: - kubectl get deployment foobar --namespace snafu --output jsonpath="{...
-
Why oh why do I forget this ? Running this command : - ldapsearch -h ad2012.uk.ibm.com -p 389 -D CN=bpmbind,CN=Users,DC=uk,DC=ibm,DC=com -w...
-
Error "ldap_sasl_interactive_bind_s: Unknown authentication method (-6)" on a LDAPSearch command ...Whilst building my mega Connections / Domino / Portal / Quickr / Sametime / WCM environment recently, I was using the LDAPSearch command tha...
-
Whilst building a new "vanilla" Kubernetes 1.25.4 cluster, I'd started the kubelet service via: - systemctl start kubelet.se...
3 comments:
Hey, this post should have been made by Domino bloggers, stick to Portal topics :)
Just kidding, thanks for sharing.
Radu
My lotus notes manually compact option is disable how do i enable that option??
@Talha, check with your Notes/Domino administrator, as it may be a permissions/policies issue, cheers, Dave
Post a Comment