WebSphere Issues

27/03/2010

Grant Read and Write access for wpsbind user in Tivoli Directory Server

Filed under: TDS, WebSphere Portal — Ishtiaque @ 1:41 pm

When you are configuring WebSphere Portal with Tivoli Directory Server either as Standalone or Federated repository type. You need to grant create and delete access for wpsbind user which is used for binding and internal communication between WebSphere Portal and a LDAP server.

1. Deploy TDS web administration application IDSWebApp.war which can be found in /opt/ibm/ldap/V6.1/idstools/ directory onto WAS.  For details on deploying TDS web admin app please visit the link-1 under Reference section.

2. Login into web admin console http://localhost:9080/IDSWebApp/IDSjsp/Login.jsp by using id superadmin and password secret.

3. Add your Tivoli Directory Server in web admin console. For details please refer the link in step-1.

4. Once you added your TDS server, then logout and login back with TDS admin Id and password.

5. Go to Directory management => Manage entries.  Select the suffix dc=ibm,dc=com and click on Edit ACL.

6. On the left, click on the Non-filtered ACLs. Select the Propagate ACLs check box to allow descendants without an explicitly defined ACL to inherit from this entry. Enter the distinguished name of the wpsbind user uid=wpsbind,cn=users,dc=ibm,dc=com

7. For Type, select access-id, because this DN is a user, then select ADD

8. Assign grant to the Read, Write, Search, and Compare security classes.  Click OK, then OK again on the following screen to save your changes. You can view the above steps with screen shot in link-2 under Reference section.

References:

1. http://www.ibm.com/developerworks/tivoli/library/t-webadmin/index.html

2. http://www.ibm.com/developerworks/websphere/techjournal/0406_singh/0406_singh.html

Uninstall DB2 from Linux

Filed under: DB2, Linux — Ishtiaque @ 1:10 pm
  1. Stop db2 instance running the command su – db2inst1 –c “db2stop”
  2. Removes db2 instance with root user by running command /opt/ibm/db2/V9.1/instance/db2idrop
  3. Stop DAS server by running the command su – dasusr1 –c “db2admin stop”
  4. Removes db2 DAS server with root user by running command  /opt/ibm/db2/V9.1/instance/dasdrop
  5. Run db2_deinstall script as root user from /opt/ibm/db2/V9.1/install directory
  6. Remove the db2 related entries from /etc/services file
  7. Delete users db2inst1, db2fenc1, dasusr1 by running the command userdel –r db2fenc1
  8. Delete groups db2grp1, dasadm1, db2fgrp1 by running the command groupdel db2fgrp1

Note: In RHEL 5 you can also delete users by navigating to System>Administration>Users and Groups.

Auto start your custom script during boot in RHEL 5

Filed under: Linux — Ishtiaque @ 12:57 pm

Add your custom script with full path in rc.local file which can be found in /etc/rc.d directory.

e.g:

/opt/IBM/scripts/startWP.sh

While the contents of startWP.sh may be as follows:

su – db2inst1 -c “db2start”

/opt/ibm/ldap/V6.1/sbin/ibmslapd

/opt/IBM/WebSphere/AppServer/bin/startServer.sh WebSphere_Portal

16/03/2010

Juniper Network Connect Client troubleshooting

Filed under: Security, Windows — Ishtiaque @ 5:59 am

I faced Juniper firewall connection issue with Juniper Network Connect Client from my machine to the remote firewall about one week. Even I removed my machine from domain, assigned a public IP, disabled local firewall and antivirus but no success!

We troubleshoot the issue by following steps:

1. We logged onto the machine with domain administrator even after removing machine from domain instead of local client admin and enforced the group policy to domain policy by using the command gpupdate /force. Because there was a policy in active directory server  which was preventing to install juniper virtual adapter on my client machine as part of connection process.

2. We uninstalled VMware virtual adapter and finally VMware software itself because we thought it might be conflicting with connection process.

3. Finally we come to know that DHCP client service was not running at my machine and most probably it was causing the conflict in connecting to the firewall.

It wasted about a week in troubleshooting the juniper client connectivity!

11/03/2010

Install and configure Firefox plugin for Java in Linux

Filed under: Linux — Ishtiaque @ 12:32 pm

1. Change the directory by running the cmd “cd /usr/java

2. Change the user as root by running the cmd “su – root

3. Chagne the permission of the downloaded JRE file as “chmod a+x jre-6u<version>-linux-i586-rpm.bin"

4. Run the file as “./jre-6u<version>-linux-i586-rpm.bin"

5. Change to the mozilla plugin directory as “cd /usr/lib/mozilla/plugins

6. In 32-bit platform create a symbolic link to the libjavaplugin.so file in the browser plugins directory as   “ln -s /usr/java/<Java installation directory>/plugin/i386/ns7/libjavaplugin_oji.so"

7. In 64-bit platform create a symbolic link to libnpjp2.so file in the browser plugins directory as ln -s /usr/java/<Java installation directory>/lib/amd64/libnpjp2.so"

8. Restart browser and type about:plugins in the browser address bar to verify the plugin installation.

References:

a. http://java.com/en/download/help/linux_install.xml

b. http://plugindoc.mozdev.org/linux-amd64.html#java-sun

Blog at WordPress.com.