Posts

Showing posts from 2012

How to delete all "Change HTTP Password in Domino Directory" request and log documents?

How to delete all "Change HTTP Password in Domino Directory" request and log documents?

Create a LotusScript agent in the admin4.nsf database.

The Adminp requests are specified by a code in the ProxyAction field : "127" =  "Change HTTP Password in Domino Directory"

Backup all data before running any agents.
This is sample code and is not supported by IBM.

This technote lists the code for each Adminp request.

Title: AdminP proxy action numeric codes
Doc #: 1178240
URL: http://www.ibm.com/support/docview.wss?uid=swg21178240

Sub Initialize
Dim session As New NotesSession
Dim db As NotesDatabase
Dim dc As NotesDocumentCollection
Dim doc As NotesDocument
Dim doc2 As NotesDocument
Set db = session.CurrentDatabase
Set dc = db.AllDocuments
Set doc = dc.GetFirstDocument()
While Not(doc Is Nothing)
MessageBox doc.ProxyAction(0)
Set doc2 = dc.GetNextDocument(doc)
If doc.ProxyAction(0)="133" Then
MessageBox "Delete Document"
Call doc.RemovePermanently(True)
End If
Set doc…

Sync unread marks between two clustered mailboxes

Image
Quelle: DominoBaloney.com


Do you take advantage of Domino clusters in your company or for your customers? Just for mailboxes or also for Notes applications?

Over the last years Notes clustering is much more interesting:
for example there is an advanced Notes database property that forces Domino clustered servers to replicate ALSO unread marks.


That setting is interesting because Notes users need to use their mail without knowing whether that mailbox is on server A or server B: exchanging unread marks is a great option for a "consistent" mail experience.

Unfortunately the setting described above is useless if the 2 clustered mailboxes are not initially in sync, I mean "unread marks" counting.
Sometimes unread marks counts are not initially the same for clustered mailboxs, and the advanced db property setting does not solve the problem!

Ok, you can "force" that status of each Notes document using the "Ins" key, but that is time-consuming and must be done…

Unable to start the Domino 852 server as a service and run the Java Controller on Windows 2008 R2 server.

Image
https://www-304.ibm.com/support/docview.wss?uid=swg21449200
Problem
Domino Administrator has installed a Domino 8.5.2 server on a Windows 2008 R2 machine. However, the service for the "Lotus Domino Server" does not start up either manually by clicking "start" service or automatically when the Operating System is rebooted.
It gives the below error, when trying to start the service manually.




Also, when the administrator tries to start the Lotus Domino Console i.e. the Java Controller for Domino, it gives the below error message.

"Either the Server Controller is not running on the host INMAIL01/Acme or is not listening on port 2050"




In the java controller log, it shows the below errors. The log for the java controller will be located in Domino\data\dcntrlrdcntrlr201010051228.out. The numbers indicate the date and time when the file was created.
createServerSocket=Unrecognized Windows Sockets error: 0: JVM_Bind
Unable to open listener socket: Unrecognized Windows Soc…

Automatic HTTP-Login via HTTP link and redirecting to a database

I used this way to get a xPages based view displayed in an external application like an embedded view.


http://servername/names.nsf?Login&Username=username&Password=password&redirectto=databasename.nsf

With this way the authentication was made with the login credentials and was directly rerouted to the needed database

How to move the Resource & Reservations database to a different server

 Technote (FAQ)


Question How do you move a Resource & Reservations (R&R) database on one Lotus Notes server to another server within the same domain? 

Answer Moving an R&R database from one server to another.
1. Pull a new replica of the R&R database from the old server to the new server.

2. Open the access control list (ACL) of the R&R database on the new server. a) Change the Server ACL to the new server.

b) Set the Manager and [Create Resource] (if needed) ACL to the new Manager and Resource Creator.

c) Select the Advanced icon and set the Administration server to the new server name.

* To open the ACL in Notes releases prior to 8, choose File --> Database --> Access Control.

* To open the ACL in Notes 8 and later releases, choose File --> Application --> Access Control.
3. The following agent can be run on the Lotus Domino Directory to change the room/resource mail-in documents from the old server name to the new server name. You do not have to worry about the…

Get Rules From Users Mailfile

http://www.eknori.de/2007-02-13/get-rules-from-users-mailfile/


A few days ago I was asked to create a report about all rules in all mailfiles. The easiest way to do this is to write an agent to examine the mailfiles.
The result of this scan is stored in a Notes database.
Put the following code into an agent ( start: manually from menue, target: All Selected Documents 

Sub Initialize
OnErrorResumeNext
Dim session AsNewNotesSession
Dim NAB AsNotesDatabase
Dim resultDocs AsNotesDocumentCollection
Dim MailFiles AsNotesDocumentCollection

Dim doc AsNotesDocument
Dim NABDoc AsNotesDocument
Dim rtitem AsVariant
Dim MailFileItem AsNotesItem
Dim i AsInteger
Dim NabDocCounter AsInteger
Dim fNAME AsString
Dim logline AsString
Set NAB = session.CurrentDatabase
Set MailFiles = NAB.UnprocessedDocuments

Dim RetCode AsInteger
Dim MailServer AsString
Dim MailFile AsString

Dim db_AllDocsCol AsNotesDocumentCollection
Dim db_User AsString
Dim archiveDb AsNewNotesDatabase( "", "RULEZ.NSF" )
Dim k AsInteger
For Na…

'Set Config' parameter does not alter the parameter in the Domino server configuration document

Quelle: Dennis´ Domino Blog
Answer
1. Set ENABLE_SRVCFG_NAB_UPDATE=1 in your Notes.ini
or 
2. Pass in the keyword "update" on the SET CONFIG command, such as

Question
When you issue a "set config" command at the Domino™ server console (for example, "set config server_restricted=2") to change the value of an existing Notes.ini parameter, the value change for the parameter is not reflected in the Configuration document. The Configuration document parameter stays the same, and soon afterwards the parameter reverts back to its old value. 
This issue was reported to Lotus software Quality Engineering; however, it was determined not to be a software problem. To have such console commands be reflected in the Configuration document, you need to do one of two things: 



    "set config server_restricted=0 update"

NOTES.INI-Eintrag "TypeAheadShowServerFirst"

Immer wieder gibt es Probleme bei der Mailadressierung, weil immer die lokalen Adressbücher vor den auf den Server liegenden durchsucht werden.
Beginnend mit IBM Notes/Domino 9 gibt es einen Eintrag für die NOTES.INI am Client, der dieses Problem behebt:
TypeAheadShowServerFirst=1

Mit diesem Eintrag wird dem Client mitgeteilt, zuerst die Adressbücher am Server und erst danach die lokalen zu durchsuchen. Diese Einstellung kann über die Desktop-Einstellung an die Clients ausgerollt werden.

The Lotus Notes Install Cleanup Executable (NICE) tool

IBM hat das Tool "NICE" herausgebracht, mit dem sehr einfach folgende Problem-Installationenbehoben werden können:
Unvollständige / Abgebrochene InstallationUnvollständiger / Abgebrochener UpgradeUnvollständige / Abgebrochene De-Installation Wie NICE arbeitet und den Download-Link können Sie hier nachlesen.

Anzeige von Facebook-Geburtstagen im Notes-Kalender

Image
Quelle: Mat Newman

1. Log into facebook, choose Events, then choose the drop-down and select birthdays: 


2. Go back to the drop-down and choose "Export Birthdays" 


3. In the "Export Birthdays" dialog, highlight and copy the link 


4. Back into Lotus Notes Calendar, choose the "Add Calendar" option and paste the link from step 3 


5. Facebook birthdays now in your Lotus Notes calendar 



You can also add Facebook Events you have subscribed to using the same steps, just choose "Upcoming Events" at step 1. 

Adding Facebook calendar entries to Lotus Notes ... easy! Enjoy :-)