-
Notifications
You must be signed in to change notification settings - Fork 196
Closed
Labels
Description
Image not starting properly in kubernetes after I bind the image to a volume. Following are the exception logs
2019-05-06T21:46:50.682Z Image tag: ibm-mqadvanced-server-dev:9.1.2.0-x86_64-ubuntu-16.04
2019-05-06T21:46:50.996Z MQ version: 9.1.2.0
2019-05-06T21:46:50.996Z MQ level: p912-L190313.DE
2019-05-06T21:46:50.996Z MQ license: Developer
2019-05-06T21:46:51.665Z Starting web server
2019-05-06T21:46:51.665Z Creating queue manager ibmmqdeployment177776554449gkbq
2019-05-06T21:46:52.116Z crtmqm returned 71
2019-05-06T21:46:52.116Z AMQ6109S: An internal IBM MQ error has occurred.
2019-05-06T21:46:52.116Z /usr/bin/crtmqm: exit status 71
2019-05-06T21:46:52.775Z Error 22 starting web server:
mkdir: cannot create directory '/var/mqm/web/installations/Installation1/servers/.pid': Permission denied
mkdir: cannot create directory '/var/mqm/web/installations/Installation1/servers/mqweb/workarea': Permission denied
/opt/mqm/web/bin/server: 353: /opt/mqm/web/bin/server: cannot create /var/mqm/web/installations/Installation1/servers/mqweb/workarea/.sLock: Directory nonexistent
/opt/mqm/web/bin/server: 800: /opt/mqm/web/bin/server: cannot create /var/mqm/web/installations/Installation1/servers/mqweb/logs/console.log: Permission denied
JVMSHRC559E Failed to create a directory "/var/mqm/web/installations/Installation1/servers/.classCache" for the shared class cache
JVMSHRC686I Failed to startup shared class cache. Continue without using it as -Xshareclasses:nonfatal is specified
java.io.FileNotFoundException: /var/mqm/web/installations/Installation1/servers/mqweb/logs/start.log (Permission denied)
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(FileOutputStream.java:286)
at java.io.FileOutputStream.<init>(FileOutputStream.java:226)
at java.io.FileOutputStream.<init>(FileOutputStream.java:173)
at com.ibm.ws.kernel.boot.logging.DefaultFileStreamFactory.createOutputStream(DefaultFileStreamFactory.java:27)
at com.ibm.ws.kernel.boot.logging.TextFileOutputStreamFactory$1.run(TextFileOutputStreamFactory.java:72)
at com.ibm.ws.kernel.boot.logging.TextFileOutputStreamFactory$1.run(TextFileOutputStreamFactory.java:69)
at java.security.AccessController.doPrivileged(AccessController.java:703)
at com.ibm.ws.kernel.boot.logging.TextFileOutputStreamFactory.createOutputStream(TextFileOutputStreamFactory.java:69)
at com.ibm.ws.kernel.boot.Debug.open(Debug.java:35)
at com.ibm.ws.kernel.boot.Launcher.createPlatform(Launcher.java:93)
at com.ibm.ws.kernel.boot.cmdline.EnvCheck.main(EnvCheck.java:59)
at com.ibm.ws.kernel.boot.cmdline.EnvCheck.main(EnvCheck.java:35)
Starting server mqweb.
Server mqweb start failed. Check server logs for details.