Tuesday, November 8, 2011

Doing a manual uninstall of Lotus Notes 8.5.3

Disclaimer: I cannot be held responsible for the damage or loss of data resulting from this post. This post is provided for educational purposes.

The following link explains how to manually uninstall Lotus Notes. This is a last resort if you can't uninstall your client through add/remove or program and features.


Below is quote of the instructions:

To clean a Notes or partial Notes install from your Microsoft® Windows® client, complete the following procedure:
  1. Delete all folders in the Notes \ except the \data folder.
  2. Back up the Notes \data folder and then delete all subdirectories in \data. Do not delete any root-level files from the Notes \data folder.
  3. If Notes appears in your Add/Remove Program panel, run the Windows installer cleanup utility located at Microsoft Help and Support.

However it doesn't explain how to remove the Lotus Nodes Diagnostics and the new Lotus Notes Smart Upgrade service from your windows services.

This is where the sc command comes in handy. To remove the Lotus Notes Diagnostics service, first make sure the services are not running ( actually you need to make sure they are not running when you follow the steps in the link above ) Next open a command prompt and issue the command:

sc delete "Lotus Notes Diagnostics"

and you should get a response:

[SC] DeleteService SUCCESS

The double quotes are required. However when you do the same for the Lotus Notes Smart Upgrade Service

sc delete "Lotus Notes Smart Upgrade Service"

you get the error:

[SC] OpenService FAILED 1060:

The specified service does not exist as an installed service.

Even doing a

sc query

you can't find the service name but it shows in your services.
To fix this, right click on the Lotus Notes Smart Upgrade Service and go to properties. Take note of the service name. It says LNSUSvc. Now try:

sc delete LNSUSvc

and that works with [SC] DeleteService SUCCESS

That is it. Hope this helps someone out there!

Lotus Notes 8.5.3 InstallShield issues

It looks like 8.5.3 AllClient ( Notes client, admin, designer ) and Notes Client was shipped without the .itw file used for InstallShield. By accident I used the default.itw that came with the Install Shield program. If you do this you get an error like this:

"Tuner is unable to open the 'D:\temp\LotusNotes853AllClient\Lotus Notes 8.5.3.msi' MSI file. The ITW file prohibits opening of the MSI file."


"No Msi database is currently opened"

Also I tried using the 8.5.2 All Client "LotusNotes.itw" file because I read in a post somewhere that it would work. However, I get the same error:

Last I finally found a post to download the 8.5.3 itw file. Grab the lotusnotes8.5.3.itw here

Monday, October 10, 2011

Smart upgrade AllClient issue

I've been having an issue with smart upgrades with my secondary desktop. When I manually force the client to check for smart upgrade kits, it always came back saying:

There are no updates available for your notes client release 8.5.2FP1. There were no matching kits found in the smart upgrade database smartupgradedb.nsf on server1/org

I checked the InstallType and it was 2, checked the upgrade kit and it was set to Allclient. I get the notification on my main pc so I know it's not a rights issue. I checked the smartupgrade.log on my client:

TM=SUGetSmartUpgradeKitsInfo: SUSearchDownloadDBForKits: 'CN=server1/O=org!!smartupgradedb.nsf' '$activekits' error: There were no matching kits found in the Smart Upgrade database %s on %a.

TM=Error accessing Smart Upgrade database server1/org smartupgradedb.nsf

TM=SUSmartUpgrade: SUGetSmartUpgradeKitsInfo: error: There were no matching kits found in the Smart Upgrade database %s on %a.


IN=ErrorMessage IV=There are no updates available for your Notes client Release 8.5.2FP1. There were no matching kits found in the Smart Upgrade database smartupgradedb.nsf on server1/org.

Nothing really apparent in there. Then I opened my smart upgrade tracking database on my home server. Looked at my secondary pc failed attempts and found type:

Type: All Client (Notes Client, Admin Client, Designer) Basic Configuration

where my main desktop has a type of:

Type: All Client (Notes Client, Admin Client, Designer)

Ah ha! So for some reason my Lotus Notes AllClient is registering as a basic configuration install! This might be something residual from when I loaded the full AllClient basic configuration on 8.0.2 but that was years ago. So I installed 8.0.2 Allclient basic on a test machine, saved the notes.ini, uninstalled, installed 8.0.2 Allclient Standard and saved the notes.ini. Using ultraedit, I compared the two files and the only significant difference between the two notes.ini's was a parameter called "InstallMode". After some Google searching around I found the ini parameter but no description. The Allclient standard install set InstallMode=1. The Allclient basic set InstallMode=0.

On my secondary desktop I could not find the InstallMode parameter in my notes.ini. So I added InstallMode=1. Once I added InstallMode=1, smartupgrade found the upgrade kit with no issues.

Monday, September 26, 2011

"Access to data denied" error when copying documents

Last week I ran into a very strange error on someone's Lotus Notes Citrix client ( version 8.5 ). When he would try to copy a document, Lotus Notes would generate an error "Access to data denied" and the document wasn't copied.

At first I figured it was a custom message on that specific database. However, I found that he could not copy any documents from other databases. I tried closing notes and re-opening and that didn't fix the issue.

My first thought was the clipboard file was corrupt. The clip board file is generated every time a Lotus Notes user copies documents. This file is located in the Lotus Notes user's /data/ folder and it is named ~clipbrd.ncf. In this instance ~clipbrd.ncf already existed in the /data/ folder. I deleted the file. I then tried to copy a document and it worked.

Wednesday, August 10, 2011

Switching users and managed replicas - 8.5.2 FP2

In my Lotus Notes client I have multiple location documents with links to notes.id when I am switching between Domino domains and servers. This saves me the hassle of reconfiguring a new client just for that Domino domain. The problem is my current setup is not configured for managed replica but one the user accounts I use is.

The other day I tried to open that user's managed replica mail file on their server using my current location and notes.id. The result? Very odd behavior. I was able to open the mail database on the server using my admin client without any errors. I check the bottom left location information for "on local" or "on server/server" and it shows "on server/server". When I click on File > Application > Properties I get the server field as server/server and type is Standard. I click on encryption settings and it says it's not encrypted. However when I go to click on a different folder ( or the same highlighted folder when I opened the database) I get "This database has local access protection (encrypted) and you are not authorized to access it" error.

I click Ok on the message and that folder is highlighted but I still see the contents of the folder that opened when I opened the database. Every folder I click on I get the above error but it still only shows the contents of the folder when I opened the database. Last I'm able to open documents in that original folder without errors. 

The issue must be with the client because the managed replica is stored on my Lotus Notes client and it is encrypted using my other location's notes.id. It seems that the getfolder function the client executes on the server's copy of the mail file is interrupted and redirected to the managed replica stored locally regardless of who is signed in. I'm guessing this is by design, just wish there was a way for IBM to code something to check the current location or current notes id and stop that from happening.

Friday, July 8, 2011

Google+ invites are back!

They're back! Quick, invite your friends!

Tuesday, July 5, 2011

Lotus Notes not showing when launched

Recently I had an issue with someone's Lotus Notes client not loading. They would double click their Lotus Notes icon, only the Lotus Notes splash screen / loading screen showed and the user could enter their password. After the password was entered, the splash screen disappeared. Then I would see nlnotes.exe and notes2.exe in the task manager, but Lotus Notes still didn't show.

I had the user reboot and that didn't work. Next I tried loading Lotus Notes 8.5.2 since they were at 8.5.1 and that didn't work. Next I reconfigured their client by erasing all lines in their notes.ini except the top 10, deleting ( moving ) all .nsf files in their data folder, and deleting ( moving ) all .ndk files. That didnt' work. Finally I deleted ( moved )the "workspace" folder in their /data/ folder. That finally worked. The workspace folder was about 2.5 gb!

Monday, June 27, 2011

Converting users from OOO agent to OOO service

Converting from Agent to Service Out Of Office ( OOO ) is pretty simple on the configuration side. A few things to remember before you change your mail server to Out of Office Service:

1. All mail users need to have Lotus Notes 8.x or above installed
2. All mail users need to have Lotus Notes 8.x or above mail templates
3. The Lotus Domino directory on the mail servers must have the new 8.x or above design template applied
4. All servers in a domino domain that are mail servers, included clustered servers, must have steps 2 and 3 complete
5. All servers in a domino domain that are mail servers, included clustered servers, must have their configuration documents setup for Out of Office Service. After this is configured, the server must be restarted for the OOO Service to work.

To setup the Out of Office Service on a server, open the server configuration document, go to Router/SMTP > Advanced > Controls. Under the Miscellaneous Controls heading and Out-of-Office type: change from Agent to Service

After this setting is configured, the server must be restarted for the Out of Office Service to work.

In one instance, after the server was configured and restarted, I had issues with existing OOO agents still running. I figured out that before the OOO Service was turned on, the users already enabled their OOO using the agent. Also, the users didn't have manager access to their mail files so when they enable and disable their OOO, an adminp request was generated. Here are the following steps I took to convert them to the OOO Service

First I opened the user's mail file ACL. I explicitly put my name in the ACL and gave myself manager access. Then I made myself the mail file owner through mail preferences. Close the mail file ( you might have to close all Lotus Notes windows ) and re-open

Next I opened the user's OOO preferences. I made a note of when they left and when they are coming back. This is important because we will disable their OOO and re-enable it.

Next I disabled the user's OOO.

Then using my admin client I opened the user's home server ( just so happens the user's home server is the administration server too ) and submitted a console command:
tell adminp process new

I waited a few minutes and went back to the user's mail file. Then I enabled their OOO using the dates I recorded before I disabled it.

Next I checked the admin client under Server > Status > Schedules > Agents, to see if the agent is still scheduled ( Also doing a tell amgr schedule to see the OOO schedule and see who is still running the agent OOO ). The status should show the OOO agent still running.

Next I disable that same user's OOO

Next I waited for agent to disappear from the Agents view in the admin client ( or from the amgr schedule )

Finally I enabled the user's OOO again. You can submit the command "tell router O" to display the active OOO users using the OOO Service. Verify that you see that user's OOO. At this point I changed the mail file owner back to the user, and removed myself from the ACL as manager of the mail file.

It might seem like a lot of disabling and enabling of the OOO but I had to do this for 12 people and this was the only process that worked for me.


The IBM Lotus Notes and Domino Out of Office service: Best practices

Designating the Out of Office service type

Android Traveler folder rename issue

Yesterday I tried to move 6 sub folders to make them root folders. Using my Lotus Notes client, I clicked and dragged them to the root. Then I noticed that the folders did not change on my Android Traveler "show folders" option. I didn't think much about it and went ahead and subscribed to those 6 root folders that were showing as sub folders in Traveler. Next thing I know I get a security execution alert when opening them in my Lotus Notes client and it is signed by my traveler server! After closing my notes and re-opening I found that my traveler server moved my root folders back to sub folders!

This actually makes some sense to me ( well not the moving of the folders back to sub folders ) but each folder is a design element with a unique ID. So when those folders are moved Traveler must not have the ability to recognize it ( at least in the version ). I'm going to try and upgrade to and see if the issue still exists.

As a work around I just created new folders and moved all my mail over and deleted the old folders.

Notes.ini file for this server is invalid

While installing and configuring another partition on a Lotus Domino server that already had 2 I ran into an interesting error. While configuring the new partition and clicked on finish I got the following error:

After some google searching I found a technote 1472522 explaining this issue for Lotus Domino 8.5.1 and 8.5.2 versions. It says to check the c:\windows directory for a notes.ini file and delete it. My server didn't have a notes.ini in the c:\windows directory. I did find one in the d:\lotus\domino program directory though. The way partition servers work is they have a notes.ini in their data folder. So I moved the notes.ini out of the program directory and the server setup completed without any more issues.

Update:  I just tried adding another partition to an existing domino server ( 8.5.2 32 bit ) and loaded the FP1 and there was the NOTES.INI in the domino program directory. The contents:

CFP_LP_BASE_VERSION=Release 8.5.2|August 10, 2010
CFP_LP_CURRENT=Release 8.5.2FP1|November 29, 2010            
CFP_LP_PREV=Release 8.5.2|August 10, 2010

So fyi it seems this will happen each time you install an additional partition

Managed Replica - Not checking mail automatically

I recently had an issue where someone else had a managed replica, converted from a local replica. That person had 8.5.2 FP2 installed and everything looked good. However that person wasn't getting emails automatically. When I force a replication and sync using the "Start Now" button it works.

Then I noticed a status message in the status bar saying "Unable to encrypt saved mail because the mailfile specified in your current location ( ServerName/Org mail\tuser-replica.nsf ) is not on your workspace or available on the network"

So I looked at the managed replica database properties and found the file name and path mail\tuser-replica.nsf is the managed replica on the local machine. So I looked at the current location document under the "Mail" tab and Mail file location was set to server ( for managed replica this is the correct setting ) and the mail file was mail\tuser-replica.nsf. So I figured that had to be the issue. The mail file on the server was mail\tuser.nsf.

I closed lotus notes, renamed the database mail\tuser-replica.nsf to mail\tuser.nsf, launched notes, edit the current location document and changed the mail file field to mail\tuser.nsf. Then I opened the managed replica, sent and email and it automatically showed up in the inbox without hitting "Start now" on the replication and Sync page.

Tuesday, June 14, 2011

missing nlnotes.exe on Lotus Domino 8.5.2?

I was on a Lotus Domino server 8.5.2 FP2 (64bit) server this morning and found the nlnotes.exe missing in the domino program directory. At first I thought it was deleted by mistake however, I found nlnotes.exe missing on 8.5.2 FP1 (64bit) too. I know nlnotes.exe is horrible to use on a server with all the issues associated but sometimes it's necessary. A quick Google search found some other people noticing it gone but no reason as to why.

So I just did a fresh install of Lotus Domino 8.5.2 (32bit) with no fix pack and nlnotes.exe is in the program directory. Also I looked at another Lotus Domino 8.5.2 FP1 (32bit) server and nlnotes.exe was there. So it looks like IBM didn't include nlnotes.exe with the Windows Lotus Domino 64bit server.

Saturday, February 26, 2011

Lotus Notes ( up to 8.5.2 ) AllClient issues and webkit package names and resulting download file names

It still seems that people are having issues with "Cannot upgrade AllClient installation to Notes client. The upgrade you are attempting is not supported" errors. Be very careful because it's easy to install the wrong webkit and then look up the error and change the installtype in the notes.ini ( btw changing the install type is not recommended under any circumstances and is not support by IBM ). Hopefully you are reading this and taking a second look.

Possible ways to get the AllClient error:

Right around the release of IBM Lotus Notes 8.5, the filename for downloaded Lotus Notes webkit files started changing with what seems to be no rhyme or reason. Before 8.5, the file names were the pack number ( CXXXXX )  I believe this may be confusing and causing an issue when upgrading older clients. Check the very end of this post for the file names and package names.

The other scenario is that the older client was installed with the admin/designer/notes and only the notes client is selected. I've heard of people just downloading the admin/designer/notes client and installing that on all computers with only the client selected at install. BEWARE because if this is your case, your installtype will still be 2 even though you only have the Lotus Notes client portion installed which should be installtype 6, clear as mud right? If this is the case, you need to install the admin/designer/notes client when you upgrade and not the notes only client ( I'm not sure what license issues this could be causing with everyone running the admin/designer/notes client too ). To fix this, you need to manually uninstall the current notes client and install the client only.

Last, IBM Lotus Notes version 8.0, 8.0.1, 8.0.2 all had a basic version of admin/designer/notes where 8.5 and later do not have a basic version of admin/designer/notes. This has nothing to do with instaltype but just wanted you to keep that in mind.

-a standard ( Eclipse ) install can launch the basic client by adding the -sa in the shortcut. If the shortcut has the notes.ini appended after the exe, put the -sa in between. 

-admin/designer/notes client cannot be installed as mutliuser

Below is an example of an All Client install ( admin/designer/notes ) ( installtype=2 )

Below is an example of a Notes Client install ( notes ) ( installtype=6 ) 

NOTE: like I stated above, if you install both these clients as is displayed on two different machines, they will only install the lotus notes portion of the client. However the install types are still different and you need to stick with the same install type. Even thought the All Client only has the Notes Client installed, you cannot install the Notes Client as an upgrade and vice versa.

Also you can check the person documents under Administration tab > Client Information > Notes client license(s). Note that this isn't full proof but it will give you an idea of who is running what without having to go to the physical machines. Make sure there is a pc and client build entry at the bottom:
If you have installtype=6 ( Notes client ) then it will display 
"Lotus Notes"

However if you have installtype=2 ( All Client ) Then it will display 
"Lotus Notes Designer
Lotus Notes Administrator"

Hope this helps!

IBM Lotus Notes Basic Install

installtype 6
IBM Lotus Notes Client 8.0 basic configuration Windows XP and Vista English (C13NAEN)
IBM Lotus Notes Client 8.0.1 basic configuration for Windows XP and Vista English (C18XHEN)
IBM Lotus Notes 8.0.2 basic configuration for Windows English (C1K34EN)
IBM Lotus Notes 8.5 Basic Configuration for Windows English (C1SP2EN) 
IBM Lotus Notes 8.5.1 Basic Configuration for Windows English (CZ5S1EN) 
IBM Lotus Notes Client 8.5.2 Basic Configuration for Windows English (CZIF7EN) 

installtype 2
IBM Lotus Notes, Designer and Administrator 8.0 Clients basic configuration English (C13NEEN) 
IBM Lotus Notes, Designer and Administrator 8.0.1 Clients basic configuration for Windows XP and Vista English (C18XMEN)
IBM Lotus Notes, Domino Designer and Admin 8.0.2 Basic Configuration for Windows XP and Vista English (C1K35EN) 

IBM Lotus Notes Standard ( Eclipse )

installtype 6
IBM Lotus Notes Client 8.0 Windows XP and Vista English (C13NBEN)
IBM Lotus Notes Client 8.0.1 for Windows XP and Vista English (C19U1EN) 
IBM Lotus Notes 8.0.2 for Windows English (C1K31EN)
IBM Lotus Notes 8.5 for Windows XP and Vista English (C1SP4EN)
IBM Lotus Notes 8.5.1 for Windows English (CZ5S3EN) 
IBM Lotus Notes Client 8.5.2 for Windows English (CZIF3EN)

installtype 2
IBM Lotus Notes, Designer and Administrator 8.0 Clients English (C13NFEN) 
IBM Lotus Notes, Designer and Administrator 8.0.1 Clients for Windows XP and Vista English (C19U0EN)
IBM Lotus Notes, Domino Designer and Admin 8.0.2 for Windows XP and Vista English (C1K33EN)
IBM Lotus Notes, Domino Designer and Admin 8.5 for Windows English (C1SQ5EN)
IBM Lotus Notes, Designer and Domino Admin 8.5.1 for Windows 32 bit English (CZ5S0EN)
IBM Lotus Notes, Domino Designer and Admin 8.5.2 for Windows XP and Vista 32 Bit English (CZIF0EN)

Saturday, February 12, 2011

Lotus Traveler 8.5.1 issue with iPhone / iPad

Ran into an issue with setting up an iPhone account with Lotus Traveler. When the Logon Name and Mail Address was filled out and the 'Generate' button was clicked, an error message on the web page would display in red color:

An error was encountered trying to read file c:\lotus\domino\data\traveler\cfg\client\Apple.xml.

In this instance the server was a partition server and the second partition is not running. The data\traveler\cfg folder did not contain a \client\ folder. However on the second partition located at c:\lotus\domino\data2\ had a \client\ folder with the AppleTemplate.xml file.

First I stopped the traveler task
tell nTraveler quit

Then copied the \client\ folder from c:\lotus\domino\data2\traveler\cfg\ to c:\lotus\domino\data\traveler\cfg\ folder. Then I started the traveler task
load traveler

When the task was finished loading the Apple.xml file was created from the AppleTemplate.xml in the correct folder c:\lotus\domino\data\traveler\cfg\client\Apple.xml

More info:
Customizing the device configuration process for Apple

Tuesday, February 8, 2011

Lotus Notes 8.5.2 Roaming - No prompt to upgrade

Last week I hit an issue of a user not getting the prompt for roaming user upgrade. I've down graded roaming, then re-setup roaming but still the user didn't receive the prompt. The adminp process only shows

Update Roaming User State in Person Record
       (Green Checkmark) Server/Test performed action on: 02/01/2011 8:00 PM

Which the document link shows In Progress and an hourglass next to the person document. The person logs into a different computer almost every time. So the issue must reside either in the person document or mail file right?

Well I ended up creating a new person document for the user by clicking "Add Person" and copying and pasting all the data from the old person document to the newly created one. Before I saved the newly created document I deleted the old one ( also I copied and pasted into a temp nab on my machine just in case ) and hit save and close on the newly created person document. The idea being a setting or field that is not displayed in the form is preventing the user from upgrading. The next day I still had issues with the user not getting prompted.

Finally I checked the local log.nsf of the user and found this error message:

Unable to get roaming upgrade lock, exiting roaming upgrade

When I Google searched for that error, I found one link to the forum that someone else had a similar issue and they had the notes.ini parameter client_clock=1 enabled on their client. Fortunately this person posted all the code because I noticed a line saying:

Preseting path to roaming lock db to CN=BELEUMAIL02/O=VWRI!!mail\lsteenho
Entering GetUpgradeLock()
Using Mail file as lock db
Using preset value CN=BELEUMAIL02/O=VWRI!!mail\lsteenho, as the mail file path
Path to the lock DB = CN=BELEUMAIL02/O=VWRI!!mail\lsteenho
Roaming lock already exists
03/11/2009 14:15:32 Unable to get roaming upgrade lock, exiting roaming upgrade.

So I re-created the mail file by doing File > Database / Application > New Copy on the server. Then moved the current mail file outside the data folder and renamed the new copy the same as the moved mail file. A few days later the user received the roaming upgrade prompt! The only downside is the user has to reset their unread marks. If that didn't work I thought about creating a new blank mail file just to get them to upgrade roaming and then revert to the old mail file ( not sure if this would work though ).

I then checked the last thread in the forum and the user basically said the same process fixed his issue too. DOH! Maybe next time I will read the entire thread and save my self the headache!

I sure would like to know if a profile document or regular document is created for this lock. I've tried to 'break' roaming to re-create this but with no success. I am interested if anyone else can shed some light on this roaming upgrade lock process.


Subject: Roaming In Progress, not completing

Tuesday, February 1, 2011

Lotus Traveler SSL and uninstalling issues

I've had two major issues with Lotus Notes Traveler recently ( only applies to version ):

1. Uninstalling the Lotus Mobile Installer goes through ok but uninstalling Lotus Notes Traveler yields "Uninstall not successful". I've had some what 80% success installing Lotus Notes Traveler on top of the old version but in other cases I had to wipe the phone. I found a technote regarding this issue with uninstalling Lotus Notes Traveler. Before you uninstall go to your home screen and press Menu/Options > Settings. Next open Security / Location & Security. Next find 'Select Device Administrators' and open it. You should see "Lotus Traveler Security" checked. Uncheck this and you will be able to uninstall. I've included a link at the bottom.

2. Using SSL. I tell you what, I've had strange issues but fortunately they are all documented and addressed.

SSL issue # 1. Self signed certificate doesn't allow you to download the Lotus Mobile Installer from the web browser. This issue seems to be related to the Android browser and self signed certificates. See the link for workarounds. FYI the self signed SSL certificate works great with Lotus Notes Traveler besides this issue.

SSL issue # 2. Signed SSL certificate causes communication between Android devices and server to stop communicating. I had a self signed certificate and I moved the server to a wild card commercially signed certificate. Some communication worked but over the next couple of days all the devices stopped working / alerting when new mail arrived. After re-installing the Lotus Mobile Installer, it prompts me to download the Lotus Notes Traveler and then gives me an error. This is an issue with a / in the ou or organizational unit of the certificate. The fix is to grab the new LotusInstaller.apk and LotusTraveler.apk files from fix central and copy them to the server overwriting the old versions and change the VersionInfo.txt to reflect the new versions. The bad thing is that you have to re-install both installer and traveler on all devices.

Problem downloading and installing the Lotus Mobile Installer for Android devices

Traveler APAR affecting Android SSL users (includes well-known certificates)

Recommended Maintenance - Lotus Notes Traveler
http://www-01.ibm.com/support/docview.wss?uid=swg24019529 APAR LO57088 for Android (Fix 1 for install post
Fix central - LNT_Android_8521_FIX1