Monday, April 27, 2020

Docker Diaries: Docker Pull Request for Ubuntu got Denied

Trying to install ubuntu image and executed the following command using Windows Power Shell. Apologies for not taking the screen capture. It looks something like this:


docker pull ubuntu
default is latest
Trying to pull ubuntu
pull access denied for ubuntu does not exist or may
require 'docker login': denied: requested access to the resource is denied


So I exited from the Power Shell and logged in again to Docker. Then used docker pull command voila!! it worked. This time I took the screen capture of the output though :)


Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
PS C:\Windows\system32> docker login
Authenticating with existing credentials...
Login Succeeded
PS C:\Windows\system32> docker pull ubuntu
Using default tag: latest
latest: Pulling from library/ubuntu
d51af753c3d3: Pull complete
fc878cd0a91c: Pull complete
6154df8ff988: Pull complete
fee5db0ff82f: Pull complete
Digest: sha256:747d2dbbaaee995098c9792d99bd333c6783ce56150d1b11e333bbceed5c54d7
Status: Downloaded newer image for ubuntu:latest
docker.io/library/ubuntu:latest
PS C:\Windows\system32>

Tuesday, March 15, 2011

AMQ4036 Error connecting to queue manager on Linux using MQ Explorer or RFHUTILC

Issue: MQ Explorer fails to connect to a Queue manager located on Linux server. Fails with error AMQ4036 : Access not permitted. You are not authorized to perform this operation

Setup:

User has two IDs.
• Linux user ID: j1234d
• Windows ID: mydomain\jdove

Queue Manager (QM1) is on Linux machine and the Linux ID “j1234d” has access to the queue manager.
MQ Explorer is on Windows machine where the user is logged on with Windows ID “mydomain\jdove”.
When user tries to connect to QM1 from Windows machine using MQ Explorer, he/she gets the following error.

Resolution:

MQ Explorer makes a client connection and the credentials passed to the QM1 on Linux server would be “mydomain\jdove”. Since the ID “mydomain\jdove” is not defined on the Linux server, it fails to get authenticated.

Simple way to resolve:

1. Create ID “j1234d” on your Windows machine and use MQ Explorer to connect to the QM1 on Linux Server

However above fix would need you to log off current Windows session and sign in as “j1234d”. This is a pain.
Instead, do the following:

Create ID “j1234d” on your Windows machine and use MQ Explorer to connect to the QM1 on Linux Server
Create a Windows batch script as shown :

set APPDATA=

runas /env /user: "strmqcfg -d"

So for the above example it would be:

set APPDATA=D:\mqeclipse\mqcm5dev

runas /env /user:j1234d "strmqcfg -d"

When you run the above script, at the prompt enter the password you have set for the id you created for id ‘j1234d’
The runas  command makes the MQ Explorer to run under the local id which is the equivalent of the Linux id. When we run the MQ Explorer process under the id , the credentials will be passed as is ( eg:’j1234d’) and you will be able to connect to the queue manager since this ID on Linux server has access to the queue manager QM1.

The same solution can be used  if you are getting error "Not authorized" with RFHUTILC utility. The following screen shows the error.
Use the above approach to circumvent the error.
Hope this helps!!!



Sunday, June 20, 2010

wsgw (mywsproxy): Valid backside connection could not be established: Failed to establish a backside connection


Setup:

  1. Datapower XI50 is on corporate network
  2. Microsoft Virtual PC 2007 with Windows XP and hosting WebSphere application server 6.1 ( mywasnode)
  3. Web Service Proxy is virtualizing the Web services hosted on mywasnode.
    Following is the Web Services proxy set up.



Request comes to HTTP front side handler AddressSearchFSH via URI <dp:ipaddress>/EastAddressSearch and is directed to actual service end point

<remote-endpoint-host>:9080/EastAddress/Services/AddressSearch. This is a plain and simple setup. However, I have been encountering the following errors






After much head scratching, I found the solution and as it happens with all such issues, the resolution is very simple. The culprit was Windows XP firewall. Since I had WAS running locally, Windows XP firewall was obstructing all the requests coming from Datapower to my WAS Web Service. Added the Web services port (9080 in this case) to the firewall exception list, voila!! everything started working fine.

For those of you wondering where to add this, please see the following screen shots.


Go to Start> Settings. Control panel > Security center> click on Manage settings for Firewall, On the Windows firewall window , go to exceptions tab, click on Add Port button.

In the pop-up window enter the port number and give a description to your exception and click OK. You are done.


Hope this is helpful.

Thursday, August 27, 2009

WebLogic Server does not start

Issue: When you start WebLogic Server instance, the server would not come up and the start script hangs.
Symptoms:
In the /servers/AdminServer/logs/Adminserver.log you would find the following error.
####<Aug 27, 2009 3:47:58 PM EDT> <Critical> <WebLogicServer> <gaalpltapp0040> <AdminServer> <main> <<WLS Kernel>> <> <> <1251402478485> <BEA-000386> <Server subsystem failed. Reason: java.lang.NumberFormatException: null
java.lang.NumberFormatException: null
at java.lang.Integer.parseInt(Integer.java:415)
at java.lang.Integer.parseInt(Integer.java:497)
at weblogic.ldap.EmbeddedLDAP.validateVDEDirectories(EmbeddedLDAP.java:1035)
at weblogic.ldap.EmbeddedLDAP.start(EmbeddedLDAP.java:212)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
>
####<Aug 27, 2009 3:47:58 PM EDT> <Notice> <WebLogicServer> <gaalpltapp0040> <AdminServer> <main> <<WLS Kernel>> <> <> <1251402478508> <BEA-000365> <Server state changed to FAILED>
####<Aug 27, 2009 3:47:58 PM EDT> <Error> <WebLogicServer> <gaalpltapp0040> <AdminServer> <main> <<WLS Kernel>> <> <> <1251402478509> <BEA-000383> <A critical service failed. The server will shut itself down>
####<Aug 27, 2009 3:47:58 PM EDT> <Notice> <WebLogicServer> <gaalpltapp0040> <AdminServer> <main> <<WLS Kernel>> <> <> <1251402478511> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>


Solution:

When you see above error, please check
1. if the disk space is full
2. if disk space is fine, then delete the following file
/servers/AdminServer/data/ldap/conf/replicas.prop
and restart the server. WLS sometimes corrupts the file replicas.prop and is often results in above error




Tuesday, July 07, 2009

My New Love : Foxit PDF Reader

Long time no blogging. With lot happening in the job market, finance market, domestic front, I could not blog much. Hope you have been missing me :)
Anyways I just wanted to share my love for new pdf reader I have been using. I thought ADOBE was the only PDF reader available with the fancy features. Following have been my wish list items for ADOBE reader:
1.It should allow me to highlight the text, underline the text as I read my IBM red books
2. It should allow saving of any PDF forms with the filled in data so that I could re-use the data

Correct me if I am wrong, I could not do the above with ADOBE PDF reader. Then I came across Foxit reader which would perform the above and many more. If you know it already please spread the word. If not please try Foxit reader for Windows.
Hope you enjoy it.

Friday, January 09, 2009

WebSphere, Middleware, MVS Magazines for FREE!!!

Xephon who used to publish MQ Update, MVS update etc ..( all IBM Middleware related magazines) apparently went out of business. But good folks there helped the IBM community by putting the magaizines for download at
www.cbttape.org/xephon for FREE.

You may down load all these for FREE which includes some of the work I have published :)

Wednesday, April 16, 2008

WebSphere MQ

Here is link to quick reference guide for MQ RunMQSC commands RUNMQSC QuickReference

Thanks to Michael Dag of MQ Systems