ns_log(3aolserver) AOLserver Built-In Commands ns_log(3aolserver)__________________________________________________________________________________________________________________________________________________NAME
ns_log, ns_logctl - commands
SYNOPSIS
ns_log severity message
_________________________________________________________________DESCRIPTION
While the AOLserver is running it logs various events from Notices to Fatal errors. Usually the AOLserver is running in the background, in
which case these messages are placed in the server log. In absence of an ServerLog key in the AOLserver nsd.ini file, this file is the
/log/error.log under the AOLserver installation directory. When the AOLserver is running in the foreground the messages are redirected to
stderr.
ns_log writes the message to the server error log file. Allowable values for severity are:
Notice - Something interesting occurred.
Warning - Something that could mean something bad occurred.
Error - Something bad occurred.
Fatal - Something extremely bad occurred. The server will shut down after logging the message.
Bug - Something occurred that implies that there is a bug in the code.
Debug - If the server is in Debug mode, the message is printed. Debug mode is specified in the [ns/parameters] section of the configuration
file. Otherwise, the message is not printed.
SEE ALSO nsd(1), info(n)
KEYWORDS AOLserver 4.0 ns_log(3aolserver)
Check Out this Related Man Page
ns_rand(3aolserver) AOLserver Built-In Commands ns_rand(3aolserver)__________________________________________________________________________________________________________________________________________________NAME
ns_rand - commands
SYNOPSIS
ns_rand ?max?
_________________________________________________________________DESCRIPTION
ns_rand generates a cryptographically-secure random number. If max is not specified, the random number is a floating-point value n such
that 0.0 <= n < 1.0.
If max is specified, it must be a positive integer between 0 and 2147483647. The return value is an integer value such that 0 <= n <= (max
- 1).
Internally ns_rand is implemented with the drand48(3) and lrand48(3) standard library functions. An internal random seed is generated the
first time ns_rand is called after the server starts.
EXAMPLES
nscp> ns_rand
0.39938485692
nscp> ns_rand 10
7
SEE ALSO nsd(1), info(n), drand48(3), lrand48(3)KEYWORDS AOLserver 4.0 ns_rand(3aolserver)
hi
i got fbsd here,when i try to start my X server as an user I got hte following error.
Fatal server error:
xf86OpenConsole: Server must be running with root permissions
You should be usig Xwrapper to start the server or xdm.
We strongly advise against making the server SUID root!
But... (2 Replies)
I am severly Unix challenged getting the following error message running Solaris 7 on a Compaq ML570. Wondering if anyone my be able to clue me in. tks
The following was the error message I got on the console. Looking at the message file, it seems like I have getting it every few days at the... (3 Replies)
Hi,
running a script fine , i get twice the following message and whether i put "set -x" , i don't see what's going wrong :
/users/notes01/scripts/sad/util/verif_boot_notes.ksh: Ma: bad number
any ideas ?
regards
Christian (4 Replies)
Hi - not sure if this is the correct forum but maybe you can help all the same.
I have an ascii file on my server that I log events to..
I have samba and apache running on this server also - although I am not currently using them and have just started them up. They both appear fine so far.
I... (5 Replies)
We have a server running solaris 8 and are having troubles with remotely accessing the server, We can rsh,telnet,ssh etc but when we log in there is no command line and were unable to enter any commands at all
I have tryed from putty,telnet from my windows box and ssh,rsh and telnet from my... (1 Reply)
I have one machince where X crashes with some weird error on boot...
Fatal server error:
Cannot move old logfile "/var/log/XFree86.0.log.old"
This is running redhat enterprise ES 3, I cant figure out how to get past this error. I have tried deleting the logfiles and recreating them, however... (1 Reply)
Hello
I got this message error on my box with linux red hat
2887a374 WsServer E WSVR0009E: Error occurred during startup
Do you know what does that mean !
Thanks in advance (1 Reply)
Hi all,
I am trying to write a script for an application server log file where i want to put this script as a cron tab entry and it will check the server log file last 1000/500 line for every fifteen minute.
i am using the script like this.
count=`tail -n 1000 Trace.log | grep -c... (1 Reply)
I was reviewing logs and I got this error message in /var/log/messages:
Did not receive identification string from (IP ADDRESS)
What does it mean? (6 Replies)
Hi,
I have a Weblogic server running in Solaris box which is writing an out file 'server.out'
but this file is growing so fast 1GB per hour . to nullify this file and keep the process update I have created a shell script.
1 ) cp /dev/null server.out
2 ) cat /dev/null > server.out
3 )... (2 Replies)
hi folk i need your help to find one logic....
i have error log same as any other error logs which get populated by no of events and errors...
but i need to grep the last occured errors.. which cant be duplicate.
here is my script.
========================
#!/usr/bin/ksh
grep -i... (3 Replies)
Hi,
I require need help in two aspects actually:
1) Fatal error that gets generated as %F% from a log file say ABClog.dat to trigger a mail. At present I manually grep the log file as <grep %F% ABClog.dat| cut-d "%" -f1>. The idea is to use this same logic to grep the log file which is... (1 Reply)
Hi dear experts,
My SCO Unix server displayed the above message and since then have been beeping. When the system was restarted, the message 'HP NetRAID :Adapter:0 LDrv 1 state at startup DEGRADED'.
I have switch controls to another server. Can some one help me with what could be the... (1 Reply)
Hello, I was looking at kernel log's and found some parts what was "interesting"
I previously started looking what has been going on in my computer because I had hacker attacks on my machine.
Installed Avira & Little Snitch - softwares
Previously my computer opened few folders what I have... (1 Reply)
Updating from an old server with 5.01 to a new server with Openserver 6.0
After getting the hardware sorted out ( raid - too bad its not a bug killer ) I installed OS 6.0 from the distribution cd . All went well . Before loading MP4 I ran the software manager to verify the software and verify... (5 Replies)