Hi Lutz,
Seems that newlisp is not reacting on the -L when it runs in inetd mode.
"/usr/bin/newlisp -L -c program" does launch the program but no logging...
Regards, Norman.
			
			
									
									inetd mode with -L
inetd mode with -L
-- (define? (Cornflakes))
						Hi Lutz,
I tested again the -L with mode but it does not work in combination
in inetd.conf.. not even touched.. its odd..the logfile is nowhere on my disk..
Did you had a look at it already?
net-eval stream tcp nowait newlisp.newlisp /home/newlisp/bin/newlisp -c -L /home/newlisp/bin/remote.lsp
Regards, Norman.
			
			
									
									I tested again the -L with mode but it does not work in combination
in inetd.conf.. not even touched.. its odd..the logfile is nowhere on my disk..
Did you had a look at it already?
net-eval stream tcp nowait newlisp.newlisp /home/newlisp/bin/newlisp -c -L /home/newlisp/bin/remote.lsp
Regards, Norman.
-- (define? (Cornflakes))
						Yes, I looked into it and it works fine for me on OSX 10.4 using xinetd. It shouldn't be different on inetd.
This is my xinetd configuration:
The log file is written to the root directory, where the user 'lutz' has write permissions.
This must be a permissions issue. What is your inetd file configuration entry?
Try to telnet into the port and try to create a file:
(write-file "junkfile" "hello world")
Is the file written? What is the current directory?
Lutz
ps: and don't forget the entry in /etc/services
			
			
									
									
						This is my xinetd configuration:
Code: Select all
service net-eval
{
        socket_type = stream
        wait = no
        user = lutz
        server = /usr/bin/newlisp
        port = 4711
        server_args = -c -L
        only_from = localhost
}
This must be a permissions issue. What is your inetd file configuration entry?
Try to telnet into the port and try to create a file:
(write-file "junkfile" "hello world")
Is the file written? What is the current directory?
Lutz
ps: and don't forget the entry in /etc/services