Forum Discussion
missing scriptd.out
why is there no scriptd.out file created in the /var/tmp directory?
6 Replies
- Kevin_Stewart
Employee
An iApp will generate logs to /var/tmp/scriptd.out from the puts command.
- Kevin_Stewart
Employee
Look in /shared/tmp/
- Kevin_Stewart
Employee
Very strange. I just tested this in 11.6 and 12.0 and /shared/tmp/scriptd.out is exactly where the log statements went. Are you putting the puts commands in the implementation section of the iApp?
- Nick_Montel
Nimbostratus
Yes I have the puts statement in the implementation section of the IApp. If I try puts "Hello world" the Iapp builds and runs fine but I never see the output in the scriptd.out file. I figured if I delete that file and then rerun everything it would build it but nothing. Maybe it is a setting on the F5 device. I have used the "puts" before on other F5 devices and was able to go to putty and see the output in the folder. I am wondering if the folder gets deleted does the running of the IApp automatically create it and insert the results to the puts statements?
- Kevin_Stewart
Employee
Okay, so after some more testing I know a few more things. 😉
First, /var/tmp is a hardlink to /shared/tmp so the contents are the same
Second, scriptd is actually a daemon service. If you delete the file it won't be automatically recreated by running the iApp, but it will if you restart the daemon:
bigstart restart scriptd - Nick_Montel
Nimbostratus
YES thank you it worked. Good Job. I really appreciate that!!
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com