Fwd: gpg error only when nocat starts with the operative system
Jaume Selva <[email protected]> Fri, 18 Nov 2005 22:03:06 +0100
| Newsgroups | gmane.network.nocat |
|---|---|
| Message-ID | <[email protected]> |
Hello, I have Nocat installed and configured. When I run nocat with the script from /etc/init.d/nocat manually nocat runs OK. BUT when the same script runs when the machine starts Nocat log this message: [2005-11-18 20:20:45] Child process returned 1 [2005-11-18 20:21:08] Spawning child process 640. [2005-11-18 20:21:08] Connection to 192.168.0.1 from 192.168.0.70 [2005-11-18 20:21:08] Received notify from 192.168.0.70 [2005-11-18 20:21:08] gpg --decrypt --homedir=/usr/local/nocat/pgp --keyring trustedkeys.gpg --no-tty -o- returned error message: [2005-11-18 20:21:08] Can't exec "gpg": No such file or directory at /usr/share/perl/5.8/IPC/Open3.pm line 168, <GEN9> line 8. [2005-11-18 20:21:08] 192.168.0.70: open3: exec of gpg --decrypt --homedir=/usr/local/nocat/pgp --keyring trustedkeys.gpg --no-tty -o- failed at /usr/local/$ [2005-11-18 20:21:08] Got auth msg: [2005-11-18 20:21:08] Use of uninitialized value in string ne at /usr/local/nocat/gateway/bin/../lib/NoCat/Gateway/Captive.pm line 56. [2005-11-18 20:21:08] Use of uninitialized value in concatenation (.) or string at /usr/local/nocat/gateway/bin/../lib/NoCat/Gateway/Captive.pm line 56. [2005-11-18 20:21:08] Bad token match from 00:C0:49:CC:4C:27: != $1$83183857$cyeh9NiYU3zkJLj1Pg3QZ/ [2005-11-18 20:21:08] Capturing 192.168.0.70 for http://192.168.0.1:5280/?ticket=owGbwMvMwCRoV%2f01kpXvpgnj6QOcSQzOdZpzg1JTMotSk0s4M0pKCqz09cvLy%2fVyM5OL8$ [2005-11-18 20:21:08] Notifying parent of Capture on peer 00:C0:49:CC:4C:27 [2005-11-18 20:21:08] Got notification Capture of peer 00:C0:49:CC:4C:27 [2005-11-18 20:21:08] Child process returned 1 The init.d script basically runs PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/nocat/gateway/bin/:/usr/local/nocat/pgp DAEMON=/usr/local/nocat/gateway/bin/gateway And start and kill in defaults levels (update-rc.d -f nocat defaults) Thanks in advance Jaume