Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

If redirecting getssl output to file, it fails, if redirecting to /dev/null, it runs like it should #1

Open
dezeyer opened this issue Nov 10, 2017 · 0 comments

Comments

@dezeyer
Copy link
Owner

dezeyer commented Nov 10, 2017

$cmd = sprintf('(%s) 2>%s >%s & echo $!', $this->command, $outputFile, $outputFile);//"tasklog/test");//

Example:
/home/admin/web/certmanager.int.simonzeyer.de/getssl/getssl -w /home/admin/web/certmanager.int.simonzeyer.de/getssl -f simonzeyer.de 2>tasklog/19e0b662939e02fedc675918ab5bc68d >tasklog/19e0b662939e02fedc675918ab5bc68d & echo $! cat: /home/admin/webRegistered Verify each domain Verifying simonzeyer.de Verifying m.simonzeyer.de Verification completed, obtaining certificate. /certmanager.int.simonzeyer.de/getssl/simonzeyer.de/tmp/curl.header (No such file or directory) /home/admin/web/certmanager.int.simonzeyer.de/getssl/getssl: line 1791: /home/admin/web/certmanager.int.simonzeyer.de/getssl/simonzeyer.de/tmp/account.json: No such file or directory cat: /home/admin/web/certmanager.int.simonzeyer.de/getssl/simonzeyer.de/tmp/curl.header: No such file or directory awk: cannot open /home/admin/web/certmanager.int.simonzeyer.de/getssl/simonzeyer.de/tmp/curl.header (No such file or directory) mkdir: cannot create directory '/home/admin/web/certmanager.int.simonzeyer.de/getssl/simonzeyer.de/tmp/dns_verify': No such file or directory /home/admin/web/certmanager.int.simonzeyer.de/getssl/getssl: line 1878: /home/admin/web/certmanager.int.simonzeyer.de/getssl/simonzeyer.de/tmp/dns_verify/simonzeyer.de: No such file or directory cat: /home/admin/web/certmanager.int.simonzeyer.de/getssl/simonzeyer.de/tmp/curl.header: No such file or directory awk: cannot open /home/admin/web/certmanager.int.simonzeyer.de/getssl/simonzeyer.de/tmp/curl.header (No such file or directory) mkdir: cannot create directory '/home/admin/web/certmanager.int.simonzeyer.de/getssl/simonzeyer.de/tmp/dns_verify': No such file or directory /home/admin/web/certmanager.int.simonzeyer.de/getssl/getssl: line 1878: /home/admin/web/certmanager.int.simonzeyer.de/getssl/simonzeyer.de/tmp/dns_verify/m.simonzeyer.de: No such file or directory cat: /home/admin/web/certmanager.int.simonzeyer.de/getssl/simonzeyer.de/tmp/curl.header: No such file or directory awk: cannot open /home/admin/web/certmanager.int.simonzeyer.de/getssl/simonzeyer.de/tmp/curl.header (No such file or directory) awk: cannot open /home/admin/web/certmanager.int.simonzeyer.de/getssl/simonzeyer.de/tmp/curl.header (No such file or directory) getssl: Sign failed:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant