31 October, 2011

Sametime and Domino LDAP using directory assistance

I recently had a problem with IBM Sametime v8.5.2 and with a Domino LDAP that were using directory assistance.

I was installing Sametime and everything went fine until I installed the Meetings component... After I installed the Meeting component, I tried to login in Meeting and I was getting the following exception:

0000000a ContextManage E SECJ0270E: Failed to get actual credentials. The exception is javax.naming.NoPermissionException: [LDAP: error code 50 - Insufficient Access Rights]; remaining name ''

After some debugging, the problem seemed that the bind user didn't have access to one of the databases used on directory assistance. However, the user HAD access and could open the database...

In a desperation try, we just removed, in the directory assistance database that was giving problems, the option "LDAP Clients" from the property "Perform LDAP searches for" and, after restarting the LDAP task on Domino, the users started to be able to login on Sametime Meetings.... Very Strange...



I have to say that the following technote was very useful to understand and debug the problem: http://www-01.ibm.com/support/docview.wss?uid=swg21318176

IBM Sametime 8.5.2 - Media Server installation

Hello everyone,

I recently had a problem installing the Media Manager (or Media Server, I think that IBM si still confused about how to call it) component of IBM Sametime 8.5.2 on a Windows 2008 R2 server.

In the middle of the installation an error popped up whit the message: "Not enough storage is available to process this command".

My first idea was that I had not enough disk space - but I had like 5 GB available, which I thought it was more than enough.
Then, a small search on Google told me that this message is a Windows message generally related with Virtual Memory problems.
I checked that the server was configured to manage automatically the virtual memory, so my idea was that due to the only 5GB available on disk, Windows didn't get the enough virtual memory space to install Media Server... So, I just made more space on the disk (until I had 20GB available) and restarted the Windows server.

After that I just deleted the profile folder that the failed installation created and I was then able to successfully install Sametime Media Server!!!

Regards

11 July, 2011

Linux: Login with non-root user using ssh

Hi!
The other day, I was working with a Linux server in which I was unable to login, using ssh, as any non-root user.
I'm not sure that this is the more correct way to do it but, for temporary workaround, I have edited the /etc/ssh/sshd_config file and changed the following property:

    usePAM no

And after restarting the ssh service, using the command service sshd restart, I was able to login in the server as a non-root user.
If anyone have another solution for this problem, please share it!!!

Thanks.

Regards,

Installing Firefox 5 in a Red Hat machine

Hello!
While installing some IBM software, the installer launchpad failed because it required Firefox 3.5 or later. So, to solve the problem, I had to install a newer Firefox version on the server.

Here are the steps to install Firefox 5 in Linux, which I've found in the following link (http://linuxforums.org.uk/netbooks/install-firefox-5-on-an-acer-aspire-one-running-linpus-lite-linux/):

  • sudo mv -v /opt/firefox /opt/firefox-backup
  • wget -O firefox-5.0.tar.bz2 "http://download.mozilla.org/?product=firefox-5.0&os=linux&lang=en-GB"
  • sudo tar -jxvf firefox-5.0.tar.bz2 --directory /opt
  • sudo mkdir /opt/firefox/plugins
  • sudo ln -fs /opt/firefox/firefox /usr/bin/firefox
  • sudo ln -s /usr/lib/mozilla/plugins/* /opt/firefox/plugins
  • wget http://dl.dropbox.com/u/11876059/libstdc++6.tar.bz2
  • sudo tar -jxvf libstdc++6.tar.bz2 --directory /opt/firefox
  • firefox -profilemanager -no-remote

Perfect!!! Now firefox 5 is already installed and the installer launchpad already runs as expected.

Regards,

Linux: Permit root login using ssh

If you are not able to login as root using ssh in your Linux machine, you may need to enable this option in ssh configuration.
To do so, follow the steps described below:

  - Edit file /etc/ssh/sshd_config
  - Change PermitRootLogin property to yes
  - Restart ssh service by entering the followign command:
          service sshd restart

That's it!

Regards,

01 July, 2011

How to suppress SIP registration failures in the Sametime 8.5x client

I knew that this were somewhere, but I could not found it.... Next time, I'll know where to find it :-)

https://www-304.ibm.com/support/docview.wss?uid=swg21456002


Problem

When the Sametime client fails to connect to the Media Server there is a pop-up such as the following: "Unable to initialize Computer, and it can't be used at this time.
com.ibm.collaboration.realtime.telephony.softphone.SIPPhoneException:
Processed unsuccessful response: SIP/2.0 401 Unauthorized"


Can this be suppressed?


Resolving the problem

You can add this line in the Sametime plugin_customization.ini file to suppress this pop-up.


com.ibm.collaboration.realtime.telephony.softphone/suppress.failed.sip.registration=true

13 June, 2011

Building a Shared Media to use with RAFW


These are the steps that need to be done to create a shared media to use with Rational Automation Framework for WebSphere (RAFW).

I'll create the shared media in a Red Hat 5 Server using NFS.
To create this, you'll need to run the following commands:

1. Check nfs-utils is installed or not using
yum list nfs-utils
2. Edit /etc/exports , add dir you want share with network information and permission
(In this example, I'll add the sharedmedia folder and allow read and write access to all the machines with IP addresses between 172.16.0.0 and 172.16.255.255
vi /etc/exports
/sharedmedia 172.16.0.0/255.255.0.0(rw)
3. Restart nfs service
service nfs restart


Then, on the framework server and on target systems, execute the following command:
mount 172.16.92.130:/sharedmedia /sharedmedia

Cheers!

How to extract tar.gz file in Linux

How to open or Untar a "tar.gz" file in Linux or Unix:

Type the following command to extract the file to the current directory:

tar -zxvf yourfile.tar.gz

You can specify a different directory to extract to using -C parameter and a path to the directory as follows:

tar -C /myfolder -zxvf yourfile.tar.gz


Rational Buildforge - Database extension 'ibm_db2' not found error


After successfully started Rational Buildforge, I tried to access to the administration interface, using the URL http://rafw.demo.com, and I got the following error string, instead of the usual login interface:

"Database extension 'ibm_db2' not found."

To solve this, you just need to add the DB2 library folder to the environment variable LD_LIBRARY_PATH and restart the buildforge server. I did that using the following command:

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/buildforge/server/apache/lib:/opt/ibm/db2/V9.7/lib32

To include this on Operating System boot, just add the command above in /etc/rc.local file.

Cheers!

09 June, 2011

Installing Rational Automation Framework for WebSphere and Rational Build Forge checklist

This checklist with the installation sequence for Rational Automation Framework for WebSphere (RAFW) and Rational Build Forge was copied from the following link:

https://www-304.ibm.com/support/docview.wss?uid=swg21386782&wv=1


  1. Update IBM Installation Manager:

    Open Installation Manager and select the Update option.

    Note: If you update Installation Manager as a part of installing Rational Build Forge, the RAFW_ENABLED variable is ignored.
  2. Obtain the Rational Build Forge 7.1.1 product installation images:

    At the root directory of the installation media or the downloaded images, locate thereadme.txt file.

    You must follow the instructions in the readme.txt file to create a complete product image:
    1. Download the images to a temp directory.
    2. Locate the ZIP files for your edition of Rational Build Forge.
    3. Download first and second ZIP files to a temp directory.
    4. Unzip the contents of the first ZIP file and second ZIP files to the temp directory.
  3. From the temp directory, open a shell or command prompt. Set theRAFW_ENABLED=yes environment variable for your operating system, for example:

    Windows example:
    ------------------
    C:\temp> set RAFW_ENABLED=yes

    UNIX/Linux example:
    ---------------------
    $ /tmp export RAFW_ENABLED=yes
  4. At the same shell or command prompt, start the launchpad program and Installation Manager, for example:

    Windows example:
    ------------------
    C:\temp>launchpad.exe

    UNIX/Linux example:
    ---------------------
    $ /tmp launcher
  5. When the launchpad program opens, select Rational Build Forge Management Console Installation option to start Installation Manager and install the Rational Build Forge components.
  6. After Rational Build Forge installation completes, in the Rational Automation Framework for WebSphere Information Center, complete the setup detailed in the the Post-installation setup section.