Author Archives: Hans Henrik Jakobsen

Documentum DB password encryption

For encrypting the database password use this command:

dm_encrypt_password -location C:\Documentum\dba\secure\aek.key -docbase test -rdbms -encrypt ****

For encrypting other passwords like the dm_bof_registry password use this command:

java -cp dfc.jar com.documentum.fc.tools.RegistryPasswordUtils ****

In above java is in the path and you are located in the DFC Shared folder.

Update User Password using PowerShell

In PowerShell type: Set-ADAccountPassword

cmdlet Set-ADAccountPassword at command pipeline position 1
Supply values for the following parameters:
Identity: john
Please enter the current password for ‘CN=john,OU=world,OU=Service Accounts,OU=Users,OU=IT,DC=com,DC=acme,DC=net’
Password:
*****
Please enter the desired password for ‘CN=john,OU=world,OU=Service Accounts,OU=Users,OU=IT,DC=com,DC=acme,DC=net’
Password:
*****
Repeat Password: ****

Unable to change R_VERSION_LABEL using DFC

Until Documentum Foundation Classes version 22.4 using Java 17.5 it’s not possible using DFC to change/append to the R_VERSION_LABEL (and several other attributes) even as an superuser/administrator.

To fix below you have to the java VM Arguments:

-Djava.locale.providers=COMPAT,SPI –add-opens=java.base/java.lang=ALL-UNNAMED –add-opens=java.base/java.lang.invoke=ALL-UNNAMED

Then you are able to update any attribute on an object

New Webhosting

I have shifted to a new webhosting provider.

The old one increased the price 4 times, so it goodbye Servage.net and hello NordicWay.dk.

First impression is it seems the performance of NordicWay.dk is much faster.

I like their control panel, it’s easy to use and there is lots of apps to install.

The transfer went smooth except I forgot to change the name server and had to create a support incident.

They were nice even when I complained that things wasn’t working and I had paid them to move the Web site.

They pointed out to me that I haven’t read the instructions and the mails they had send to me. During the move they didn’t change the name server because then my current Website would stop working and I should do it myself when I was ready to switch over to them.

They showed me how to change the name server and everything is working fine now.

It nice to know that the support is working when you need it.

We are up to a good start!

Got a Chromebook

My Laptop crashed during Christmas due to a beer in the keyboard 🙁 So I had to get a new.

I only use the Laptop for Browsing/Social Media so I didn’t want to buy a new Windows PC.

I was thinking about an Android tablet but I hate not having a keyboard.

But you can get a keyboard for a tablet as well so that was fine forme. I have tried these before and was not impressed.

Of Course all the tablets I liked was sold out 🙁

A Chromebook representative got hold of me and recommended a Chromebook and it was cheaper than a tablet.

You can run Android Apps so all your apps on your phone will work and there is Office apps to write letters, make budget etc.

I got a Lenovo Chromebook IdeaPad Flex 5 and am I happy? Ohh yes, it’s great. Nice screen and great speed.

No, it can’t run Windows apps but it run most Linux apps just fine, so it fulfill all my needs.

One think I found after a week of use is there is no Delete key on the keyboard. I was like WHAT??? and found out it’s by design 🙁 There is an alternative to the Delete key and that is to use the <ALT><BACKSPACE> key. I can live with that but it does bug me a bit 😉

If I find anything that bugs me or find solutions to problems I will let you know.

Happy New year.

Google is slow on Kubuntu 18.04

I upgrade from Kubuntu 16.04 to 18.04 and after was Google Chrome really slow at starting. It took about half a minute to start and this annoyed me a bit.

As I always do when an app is in trouble I start it from Konsole and got this error:

Failed to call method: org.freedesktop.Notifications.GetCapabilities: object_path= /org/freedesktop/Notifications: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

I search the net but could only find information about the notifications-demon and I tried to install it with the recommendation from others (https://askubuntu.com/questions/52960/notify-send-does-nothing-yet-libnotify-is-installed#53644) but still Google Chrome was slow.

At a site I read something about the notification widget was not added to the desktop panel or desktop (sorry – lost the reference) and right after I added the notification widget to the panel Google Chrome start right away.

Warning during apt-get update: perl: warning: Setting locale failed.

I have an Ubuntu server 14.04 and got the message during system update:

?> sudo apt-get -y dist-upgrade
...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_TIME = "en_US.UTF-8",
LC_MONETARY = "en_US.UTF-8",
LC_ADDRESS = "en_US.UTF-8",
LC_TELEPHONE = "en_US.UTF-8",
LC_NAME = "en_US.UTF-8",
LC_MEASUREMENT = "en_US.UTF-8",
LC_IDENTIFICATION = "en_US.UTF-8",
LC_NUMERIC = "en_US.UTF-8",
LC_PAPER = "en_US.UTF-8",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
...

To solve this you will have to compile the locale definitions:

?> sudo locale-gen en_US en_US.UTF-8

and then reconfigure the locale setup:

?> sudo dpkg-reconfigure locales

Problem solved!

LibreElec 7.0 and MCE remote

I just bought my self a ODroid C2 to be my LibreElec Media Center (http://libreelec.tv).

LibreElec don’t have an image for my new ODroid but an image can be downloaded from the ODroid forum (http://forum.odroid.com/viewtopic.php?f=138&t=20415&hilit=ir+remote).

On Linux you will have to use the dd command to wrote the image to an eMMC/SD module:

?> sudo dd if=<image filename> of=/dev/sdx bs=4M

?> sudo sync

Be careful to write to the correct device or you might loose all data on a disk drive (use the lsblk command to list all disk drives).

Then insert the eMMC/SD module in the the ODroid C2 and connect HDMI, mouse, keyboard and at last the power.

LibreElec should boot up and be ready to use except for your MCE remote.

There is a hole big process to record IR signals from your remote but thats not very easy and my results have not been good.

The easiest way is the get Lirc MCE config file from a standard installation and copy it to the /storage/.config folder on the ODroid C2.

Either install Lirc on an computer and find the file lircd.conf.mceusb or download the file :lircd.conf

To copy it to the ODroid C2 do:

?> scp lircd.conf.mceusb root@libreelec:/storeage/.config/lircd.conf

Reboot the ODroid and the MCE remote should be working now.