Skip to main content

Posts

Showing posts from 2014

WebSphere Run As User-Group Dmgr Startup Issue

If for some reason you changed WAS Run As user and Run As group process execution and Deployment Manager is no longer starting up, change back both settings (user and group) in server.xml under this path: /usr_or_opt/IBM/WebSphere/App_Server/profiles/MyProfile/config/cells/MyCell/nodes/MyCellManager01/servers/dmgr

IBM Installation Manager Running Error

If you face the following error while running IBM IM... java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons:         /opt/IBM/InstallationManager/eclipse/configuration/org.eclipse.osgi/bundles/448/1/.cp/libswt-pi-gtk-3659.so (libXtst.so.6: cannot open shared object file: No such file or directory)         swt-pi-gtk (Not found in java.library.path) Then, install the following packages: yum -y install gtk2.i686 yum -y install libXtst.so.6 yum -y install libpk-gtk-module.so yum -y install libcanberra-gtk-module.so yum -y install gtk2-engines.i686

Forgot password and cannot access WebSphere Admin Console

There are 2 possible methods for disabling security. Both methods require you have server access. a) Using wsadmin command: <WAS_INSTALL_DIR>/bin/> ./wsadmin.sh -conntype NONE WASX7357I: By request, this scripting client is not connected to any server process. Certain configuration and application operations will be available in local mode. WASX7029I: For help, enter: "$Help help" wsadmin>securityoff LOCAL OS security is off now but you need to restart server1 to make it affected. wsadmin>exit Restart server. b) Manually editing security.xml file: Create a copy for security.xml file, in case you need to roll back. Disable the security from the security.xml file (change the very first occurrence of... enabled="true" to enabled="false") Restart the servers.

Quick Notes on Self Signed Certificates

Create cert DB ./gskcmd -keydb -create -db /path/to/keydb.kdb -pw password -type cms -expire 0 -stash Create self signed certificate ./gskcmd -cert -create -db /path/to/keydb.kdb -pw password -label SelfSignedCert -size 2048 -expire 7300 -dn "CN=myserver.com, O=MyCompany, OU=MyDepartment, L=MyCity, ST=MyState, C=MyCountry" Set it as default ./gskcmd -cert -setdefault -db /path/to/keydb.kdb -pw password -label SelfSignedCert List available certificates ./gskcmd -cert -list -db  /path/to/ keydb.kdb -pw password Print certificate details ./gskcmd -cert -details  -db  /path/to/ keydb.kdb -pw password -label SelfSignedCert Delete certificates ./gskcmd -cert -delete -db  /path/to/keydb.kdb -pw password -label SelfSignedCert gskcmd can be located under IHS bin directory. Simple configuration for IBM HTTP Server (IHS) Enable following configuration under httpd.conf LoadModule ibm_ssl_module modules/mod_ibm_ssl.so <...

Configuring PHP for IBM HTTP Server (IHS)

Following are the steps to configure PHP on IHS already installed. For this example I have used  IHS v8.5.0.0, PHP  v5.4.28 and CentOS 6.5 1. Download PHP sources... from http://php.net/ 2. Extract source to /tmp tar -zxvf php-5.4.28.tar.gz 3. Compile PHP source cd /tmp ./configure --with-apxs2=/opt/IBM/HTTPServer/bin/apxs make make install *Chage IHS apxs directory path to whatever your install path is 4. Set php.ini cp php.ini-development /usr/local/lib/php.ini Add this line in  php.ini include_path="/usr/local/lib/php" 5. Edit httpd.conf This line should be already in your httpd.conf if not, add it. LoadModule php5_module modules/libphp5.so Add following lines AddType application/x-httpd-php .php .php3 .phtml AddType application/x-httpd-php-source .phps 6. Create php page Create index.php with the following code and save it to /opt/IBM/HTTPServer/htdocs or whatever your directory is. <?php     p...