357 Lotus blogs updated hourly. Who will post next? Home | Downloads | Events | Pods | Blogs | Search | myPL | About 
 
Latest 7 Posts
IBM HTTP Server - CTGSK3024W Invalid value for parameter from GSK
Mon, Sep 1st 2014 31
Cognos on Linux - Dependencies - Soup to Nuts
Sat, Aug 30th 2014 54
Alias command on Unix - why am I late to the party ?
Sat, Aug 30th 2014 80
Notes to self - Setting up DB2 Client connectivity
Fri, Aug 29th 2014 91
IBM Business Monitor 8.0.1.2, Cognos BI and Unix - Dependencies Again
Thu, Aug 28th 2014 77
A Reminder - Which Cluster Does BAM > BPM need ?
Wed, Aug 27th 2014 74
Gah, not again - Installation of IBM Cognos Business Intelligence has failed.
Tue, Aug 26th 2014 119
Top 10
Silently installing WebSphere Application Server Network Deployment 8.5 - no GUIs here
Wed, Oct 3rd 2012 2311
java.security.cert.CertPathValidatorException: Certificate chaining error seen with IBM Business Process Manager v8
Mon, Dec 3rd 2012 1833
WAS to DB2 - Null userid is not supported. ERRORCODE=-4461, SQLSTATE=42815
Wed, Aug 14th 2013 1578
IBM Flash - IBM WebSphere Application Server and IBM HTTP Server CVE-2014-0160
Wed, Apr 9th 2014 1243
SRVE0255E: A WebGroup/Virtual Host to handle / has not been defined.
Fri, Aug 16th 2013 1219
More on Lotus Notes and temporary directories
Thu, May 3rd 2012 1165
CWWIM4529E and SECJ0369E seen when authenticating a user in WebSphere Application Server
Tue, Apr 9th 2013 1126
IBM BPM 8.5 - Samples and Tutorials
Tue, Oct 29th 2013 948
Secure in my CUPS
Fri, Feb 8th 2013 920
Error "CWWIM4512E The password match failed" seen using WebSphere Portal Express v7 on Linux
Thu, Jan 27th 2011 916


Aide Memoire - Commands for Linux, WebSphere Application Server and IBM HTTP Server
   

I could print this stuff out, but then I'd have to carry paper - perhaps I should create an ePub with this stuff in ......

All of these came from this rather excellent blog: -


or, more specifically, this post.

Find the process that uses most CPU

ps -eo pcpu,pid,user,args | sort -k 1 -r | head -2

Find the last 10 process that use the most CPU

ps -eo pcpu,pid,user,args | sort -k 1 -r | head -10

Find cpu usage

mpstat -P ALL

Display the size of the current directory, plus all subdirectories

du -ch | grep total

Domain Information Groper (DIG) - look at DNS etc.

dig <hostname or IP address>

Get details of a network adapter

 /usr/sbin/ethtool eth0

Find occurrences of strings in files AND report file names

find . -name '*.xml' -print | xargs grep 'hostName' /dev/null

Find files over a certain size e.g. 10K

find / -xdev -size +1024 -exec ls -al {} ; | sort -r -k 5

Find and tar files on the fly

find /opt/IBM/WebSphere/PortalServer/log -name 'System*.log'| xargs tar -rvf System_logs.tar

Output wsadmin to console AND file

/opt/IBM/WebSphere/wp_profile/bin/wsadmin.sh -lang jython | tee wsadmin.log

Find files touched in, say, the past 20 minutes

find * -mmin -20

Run a command on a loop

watch -d=10 -n 1 "netstat -a"

Show expiry of WAS SSL key and trust stores ( assuming that password is still WebAS )

find /opt/IBM/WebSphere/wp_profile -name *.jks | xargs -i bash -c '/opt/IBM/WebSphere/AppServer/java/bin/java -classpath /opt/IBM/WebSphere/AppServer/java/jre/lib/ext/ibmjceprovider.jar:/opt/IBM/WebSphere/AppServer/java/jre/lib/ext/ibmjcefw.jar:/opt/IBM/WebSphere/AppServer/java/jre/lib/ext/US_export_policy.jar:/opt/IBM/WebSphere/AppServer//java/jre/lib/ext/local_policy.jar:/opt/IBM/WebSphere/AppServer/java/jre/lib/ext/ibmpkcs.jar:/opt/IBM/WebSphere/AppServer/java/jre/lib/ext com.ibm.gsk.ikeyman.ikeycmd -cert -list all -expiry -db {} -type jks -pw WebAS'

Show expiry of IHS SSL key and trust stores ( assuming that password is still WebAS )

find /opt/IBM/HTTPServer -name *.kdb | xargs -i bash -c '/opt/IBM/HTTPServer/Plugins/java/jre/bin/java -classpath /opt/IBM/HTTPServer/Plugins/java/jre/lib/ext/ibmjceprovider.jar:/opt/IBM/HTTPServer/java/jre/lib/ext/ibmjcefw.jar:/opt/IBM/HTTPServer/Plugins/java/jre/lib/ext/US_export_policy.jar:/opt/IBM/HTTPServer/Plugins//java/jre/lib/ext/local_policy.jar:/opt/IBM/HTTPServer/Plugins/java/jre/lib/ext/ibmpkcs.jar:/opt/IBM/HTTPServer/Plugins/java/jre/lib/ext com.ibm.gsk.ikeyman.ikeycmd -cert -list all -expiry -db {} -type cms -pw WebAS '




---------------------
http://portal2portal.blogspot.com/2012/05/aide-memoire-commands-for-linux.html
May 09, 2012
47 hits



Recent Blog Posts
31


IBM HTTP Server - CTGSK3024W Invalid value for parameter from GSK
Mon, Sep 1st 2014 6:05a   Dave Hay
I hit a wee problem with the Global Security Toolkit (GSK) when creating a certificate for IBM HTTP Server 8.5.5.2 This is the command that I was running: - /opt/ibm/HTTPServer/bin/gskcapicmd -cert -create -db /opt/ibm/HTTPServer/ssl/keystore.kdb -pw passw0rd -size 2048 -dn "bam8012.uk.ibm.com,o=ibm,c=us" -label "bam8012.uk.ibm.com" -default_cert yes which resulted in: - CTGSK3024W Invalid value for parameter "-dn" (bam8012.uk.ibm.com,o=ibm,c=us). It was, of course, user error. This i [read] Keywords: ibm security server
54


Cognos on Linux - Dependencies - Soup to Nuts
Sat, Aug 30th 2014 11:05a   Dave Hay
A follow-up: - IBM Business Monitor and IBM Cognos - DPR-DPR-1035 Dispatcher detected an error IBM Business Monitor 8.0.1.2, Cognos BI and Unix - Dependencies Again Replicate the problem cd /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/cognos/SupClusterMember1/bin ./BIBusTKServerMain ./BIBusTKServerMain: error while loading shared libraries: libX11.so.6: cannot open shared object file: No such file or directory Diagnose using LDD cd /opt/IBM/WebSphere/AppServer/profiles/AppSrv01/cognos/SupClu [read] Keywords: ibm ldd apple linux server websphere
80


Alias command on Unix - why am I late to the party ?
Sat, Aug 30th 2014 9:45a   Dave Hay
So I regularly make use of this Linux command: - history | cut -c 8- to get the Bash history but without the numbers. Before 131 /opt/IBM/WebSphere/AppServer/bin/sibDDLGenerator.sh -system db2 -version 9.7 -platform unix -schema MONCM00 -statementend ";" -user db2user1 >> ~/createMESchemas.sql 132 /opt/IBM/WebSphere/AppServer/bin/sibDDLGenerator.sh -system db2 -version 9.7 -platform unix -schema MONME00 -statementend ";" -user db2user1 >> ~/createMESchemas.sql 133 db2 -t [read] Keywords: ibm db2 linux mac sql websphere
91


Notes to self - Setting up DB2 Client connectivity
Fri, Aug 29th 2014 8:05a   Dave Hay
It's been ~10 years since I last did this ( DB2 on Unix to DB2 on z/OS or OS/400 ), but I now have a requirement to deliver a DB2 client for WebSphere MQ interaction ( MQ will use ODBC rather than JDBC ). I knocked this up using a pair of VMs on my Macbook ..... Response File - ~/db2client.rsp PROD = CLIENTFILE = /opt/ibm/db2/V10.1LIC_AGREEMENT = ACCEPTINSTALL_TYPE = TYPICAL Install DB2 Client Binaries - as root ./db2setup -r ~ [read] Keywords: ibm notes applications database db2 macbook odbc server websphere
77


IBM Business Monitor 8.0.1.2, Cognos BI and Unix - Dependencies Again
Thu, Aug 28th 2014 1:25p   Dave Hay
This follows on from an earlier post: - Gah, not again - Installation of IBM Cognos Business Intelligence has failed. I saw this exception: - 10.99.131.190:9081 28605 2014-08-27 06:40:23.824 +0 na na Thread-125 DISP 5003 1 Audit.Other.dispatcher.DISP.pogo pogo com.cognos.pogo.reportservice.ProcessManager Failure DPR-DPR-1035 Dispatcher detected an error.Process BIBusTKServerMain failed to start properly. External Report [read] Keywords: admin ibm ldd R7 aix apple enterprise java linux red hat server websphere
74


A Reminder - Which Cluster Does BAM > BPM need ?
Wed, Aug 27th 2014 10:25a   Dave Hay
WebSphere Business Monitor event emitter factory WebSphere® Business Monitor requires an event emitter factory to generate and send events. Use the wbmConfigureEventEmitterFactory command to install and configure the event emitter factory on a server or cluster. You must already have a common event infrastructure (CEI event service). (Otherwise, run the wbmDeployCEIEventService command to create one.) In the four-cluster topology, the event emitter factory is installed on the support cluster. I [read] Keywords: ibm integration security server websphere
119


Gah, not again - Installation of IBM Cognos Business Intelligence has failed.
Tue, Aug 26th 2014 3:05p   Dave Hay
As if by magic, here it is again: - ERROR: Error during "install" phase: Installation of IBM Cognos Business Intelligence has failed. Return code : -1 Building upon previous posts: - Here we go again - ERROR: Installation of IBM Cognos Business Intelligence has failed. Installation of IBM Cognos Business Intelligence has failed. Return code : 1 Foiled Again - Installation of IBM Cognos Business Intelligence has failed. Return code : 1 This time I was seeing: - global com.ibm.cognos.exec.I [read] Keywords: ibm eclipse java linux security websphere xml
79


Guidelines for setting ulimits (WebSphere Application Server) - includes RHEL 6 updates
Tue, Aug 26th 2014 1:26p   Dave Hay
Guidelines for setting ulimits (WebSphere Application Server) This document describes various ways to set ulimit values on UNIX and Linux operating systems as well as information that pertains to WebSphere Application Server ...Global settings are set in the file /etc/security/limits.conf.... ...On Red Hat Enterprise Linux 6, why are my settings for nproc (ulimit -u) not being honored. Red Hat Enterprise Linux 6 has introduced a new configuration file, addressed in a bug report, ( /etc/security/ [read] Keywords: ibm application bug enterprise linux red hat security server websphere
70


IBM Business Monitor and DB2 users, not instances
Tue, Aug 26th 2014 10:25a   Dave Hay
So I have been wrestling with IBM Business Monitor and, more specifically, Cognos, which was failing to start up with errors such as DPR-DPR-1035, DPR-CMI-4007, CM-CFG-5063 and CM-CFG-5137. Various Technotes etc. suggested that the problem might be with the DB2 database. I did some digging: - db2 list tables for schema db2user2 db2 connect to cognoscs Database Connection Information Database server = DB2/AIX64 10.1.0 SQL authorization ID = DB2INST3 Local database alias = COGN [read] Keywords: ibm database db2 server sql
71


Background Reading - IBM BPM - Process Designer and SSL Goodness
Tue, Aug 26th 2014 5:05a   Dave Hay
Not sure whether this will help me resolve a PD to PC problem on a newly minted BPM Advanced 8.5.0.1 environment, but I'm book-marking these for future reading: - Technote: Trust store problem when connecting from Process Designer to Process Center in IBM Business Process Manager (BPM) Configuring the httpProtocolOnly property for Process Designer Forum Post: Process Designer 8.5.0.1... Process Center : peer not authenticated... For the record, Process Designer has a number of SSL object stores [read] Keywords: admin ibm community




Created and Maintained by Yancy Lent - About - Blog Submission - Suggestions - Change Log - Blog Widget - Advertising - Mobile Edition