AnsweredAssumed Answered

permission denied on /tmp (root owned) file when running script utilising virtualized service

Question asked by jonrv on Jul 29, 2016

/tmp/.console.tokens is a root:root owned empty file - have extended the permissions to 775 but still encountering the issue

 

script is run under an account called 'cicd' and password used has been verified to be correct.

 

[cicd@ngmlx698 ~]$ ./singlefile_Equifax_https.sh AutomatedBuild_Equifax_Bureaux_Virtualisation cicd <password> nrx368

log4j:WARN No appenders could be found for logger (com.itko.lisa.editor.Intersections).

log4j:WARN Please initialize the log4j system properly.

log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.

[DevTest AGENT:][ERROR][26274][1][main][29-Jul-2016 12:13:32] saveTokens

java.io.FileNotFoundException: /tmp/.console_tokens (Permission denied)

        at java.io.FileInputStream.open(Native Method)

        at java.io.FileInputStream.<init>(Unknown Source)

        at com.itko.lisa.remote.plumbing.JMSConsoleClient.loadTokens(JMSConsoleClient.java:2007)

        at com.itko.lisa.remote.plumbing.JMSConsoleClient.<clinit>(JMSConsoleClient.java:202)

        at com.itko.lisa.remote.client.TransactionsClient.<init>(TransactionsClient.java:196)

        at com.itko.lisa.remote.client.AgentClient.<init>(AgentClient.java:52)

        at com.itko.lisa.remote.client.AgentClient.<clinit>(AgentClient.java:49)

        at com.itko.lisa.test.Environment.updateBrokerUrl(Environment.java:2749)

        at com.itko.lisa.test.Environment.setTestRegistry(Environment.java:2730)

        at com.itko.lisa.test.Environment.setTestRegistry(Environment.java:2711)

        at com.itko.lisa.test.Environment.bootUpTestRegistry(Environment.java:2686)

        at com.itko.lisa.test.Environment.setTestRegistry(Environment.java:2662)

        at com.itko.lisa.test.Environment.setTestRegistry(Environment.java:2619)

        at com.itko.lisa.coordinator.VSEManager.ensureTheRegistry(VSEManager.java:882)

        at com.itko.lisa.coordinator.VSEManager.ensureTheEnvironment(VSEManager.java:862)

        at com.itko.lisa.coordinator.VSEManager.removeService(VSEManager.java:808)

        at com.itko.lisa.coordinator.VSEManager.processCommands(VSEManager.java:588)

       at com.itko.lisa.coordinator.VSEManager.main(VSEManager.java:174)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

        at java.lang.reflect.Method.invoke(Unknown Source)

        at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)

        at com.install4j.runtime.launcher.Launcher.main(Unknown Source)

 

 

 

 

ERROR: An error occurred processing specified arguments.

 

 

Any ideas?

Outcomes