PDA

View Full Version : 5.3.0b1 Shuts down



Jeff Allison
2004-08-06, 10:04
> > Where does the Slimserver log to? Syslog?

> when you start it as a service, some info will go to the
> event log. you can also go into server
> settings->additional->debugging, choose your debugging modes
> and then click the link at the top to get a browser window of
> the log, refreshed every 30s.

> If you run c:\program files\slimserver\server\slim.exe from
> the command line (start, programs, accessories, command
> prompt) then you will see the output in teh "dos box".

Supplement to this...the output goes to stderr rather than stdout.
AFAIK, DOS does not let you redirect stderr, so if you want a logfile
you need to use the command line switch --logfile logfile.txt. Using
the normal redirect (>file) won't work.

- Jeff

> -kdf

Roy M. Silvernail
2004-08-06, 11:12
Jeff Allison wrote:

>Supplement to this...the output goes to stderr rather than stdout.
>AFAIK, DOS does not let you redirect stderr, so if you want a logfile
>you need to use the command line switch --logfile logfile.txt. Using
>the normal redirect (>file) won't work.
>
>
It all depends on your command shell. According to http://www.ss64.com/ntsyntax/redirection.html, the '2>' syntax works to redirect stderr for NT (presumably cmd.exe). 4NT (shameless plug: jpsoft.com) uses '>&' to redirect stderr. You should even be able to redirect stdout to one file and stderr to another.

Piping (using the '|' character) is another kettle of pisces. Through at least Win2K, command-line pipelines were still handled with hidden temporary files (implying successive execution, not concurrent) and you were still limited to two pipes in a single command. I don't know if that has been improved in XP's command shell. Also don't know about the latest 4NT shell, since my copy (though paid for) is several years old. If it ain't broke...
--
Roy M. Silvernail is roy (AT) rant-central (DOT) com, and you're not
"It's just this little chromium switch, here." - TFS
SpamAssassin->procmail->/dev/null->bliss
http://www.rant-central.com

Jack Coates
2004-08-07, 08:16
> I hate to break this up but I'm on Mandrake 9.2 not Windows. Where would
> stderr normally end up on a linux box?
> I'm sorry if it obvious, but I can't seem to remember. I can't find
> anywhere in /var/log.
>
> -Matt

stderr and stdout go to the console unless you're running from the init
script, in which case they've been redirected. You can run the server
manually in a console to get the output on console.

As was pointed out earlier, /tmp/slimserver.log is the default for
Slimserver RPMs on Linux.
--
Jack At Monkeynoodle.Org: It's A Scientific Venture...
"Believe what you're told; there'd be chaos if everyone thought for
themselves." -- Top Dog hotdog stand, Berkeley, CA