Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
but when I integrate it to rundeck and execute it locally from rundeck app it fails and gives me this error on the log
Code:
Use of uninitialized value $cfg in open at /home/build/workspace/build-scripts/lib/Utils.pm line 78.
23:54:18 Use of uninitialized value $cfg in concatenation (.) or string at /home/build/workspace/build-scripts/lib/Utils.pm line 78.
23:54:18 FATAL[1]: READ_CONFIG: Unable to open for reading: No such file or directory at /home/build/workspace/build-scripts/lib/Utils.pm line 78.
23:54:18 Result: 2
23:54:18 Failed: NonZeroResultCode: Result code was 2
23:54:18 Execution failed: 1280: [Workflow result: , step failures: {1=Dispatch failed on 1 nodes: [localhost: NonZeroResultCode: Result code was 2]}, Node failures: {localhost=[NonZeroResultCode: Result code was 2]}, flow control: Continue, status: failed]
Last edited by apss_evaluator; 07-23-2015 at 05:11 AM.
never used any of that, but is the shebang in the .pl file? AKA #!/bin/perl
It might not assume perl and executes via ./... vs. perl ...
it has a shebang of #!/bin/perl, the weird part of my test is from the cli when I used that remote command it proceeds, but when rundeck execute that it gives an error
Rundeck logs if I remember correctly, however, I believe it's buried (mine installed in /opt I think).
Have you checked (for) the logs?
Hi Habitual,
thanks for helping me, for some reason it worked when I created a bash script on the rundeck box. The Rundeck app will execute the script, the script is just a plain command I posted earlier
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.