This happens if you have started the Oracle listener in the current shell,
and the listener does not completely disconnect its streams (as a daemon process should do).
Work around: associate the process' stdin (0) stdout (1) stderr(2) with /dev/null
1. will this impact the production ?
2. should i run this as an oracle user or root user
mac 10.4>terminal>linux remote server>ssh login accepted>session closed-why?
AHHHH!!
I have been connecting to the server with the line: ssh userid@website.com
The remote server accepts my password; logs me in with ssh; posts a lovely welcome message AND closes the session. Is this a "term... (0 Replies)
Dear expert,
I'm newbie in oracle, I have a problem regarding the listener log files under alert directory and trace directory(please refer to below). As the oracle hard disk size only 10GB, I have to manually delete the log files under alert directory and trace directory.
Is that anyway for... (1 Reply)
Hi,
I need a solution. I am using Putty/CRT to login in a AIX server from my windows machine. When i closed my putty/CRT prompt from windows client, server session is expire.
Ex. I have run a script to take RMAN backup from PUTTY/CRT command window, After closing command window RMAN backup... (2 Replies)
Hi All ,
I am new to shall scripting, i want write an script for oracle tns and listener.
If tns working i want o/p as "Listener and TNS are working"
else o/p should be ""Listener and TNS are not Working"
below is the command in unix to check the tns status, if no output it means TNS... (3 Replies)
Hello everybody, the reason why im posting this thread is because i've installed an oracle test database on RHEL 5, on a localhost (Since it is for test)... the thing is, after i have installed the DB it works just fine, but after i re start it, i get the following errors when i want to go into the... (5 Replies)
I have a cold backup script which backs up my database and then restarts the oracle listener and database at around 01:30
I can see at this time that my database and listener are indeed running. However at around 02:17 my listener process receives a SIGHUP 1 signal from the AIX OS ( version 5.3 )... (2 Replies)
I am running a process in nohup .
nohup getkeys.ksh 132 > 132.out &
When I close the putty terminal,The process is getting killed .
default_signal_handler called for signal no: 1
Is there a way to keep the process running even If I close the terminal (2 Replies)
Hi,
I would appreciate some help.
I remotely access, across a VPN, an M5000 and when I connect to the XSCF I can then access the OS using console -d0 and then I can get to the console.
The problem I have is that I need to run something which will take many hours and I can't run it in the... (6 Replies)
hi all
I'm new to solaris
my vncviewer windows is closed suddenly after give root and root passwd in solaris 10 sparc machine ... i checked vnc services are online and everything is ok .. but i dont know how to solve this solution... any one face this solution before and share your knowledge ... (1 Reply)
Has Oracle killed HP-UX with their gambit of telling the public they would no longer support Itanium? The company I work for in the Dallas, TX area has had several openings for HP-UX administrators and we're having such a tough time finding qualified people to fill them. I have been searching job... (3 Replies)
Discussion started by: keelba
3 Replies
LEARN ABOUT OPENSOLARIS
nlsrequest
nlsrequest(3NSL) Networking Services Library Functions nlsrequest(3NSL)NAME
nlsrequest - format and send listener service request message
SYNOPSIS
#include <listen.h>
int nlsrequest(int fildes, char *service_code);
extern int _nlslogt_errno;
extern char *_nlsrmsg;
DESCRIPTION
Given a virtual circuit to a listener process (fildes) and a service code of a server process, nlsrequest() formats and sends a service
request message to the remote listener process requesting that it start the given service. nlsrequest() waits for the remote listener
process to return a service request response message, which is made available to the caller in the static, null-terminated data buffer
pointed to by _nlsrmsg. The service request response message includes a success or failure code and a text message. The entire message is
printable.
RETURN VALUES
The success or failure code is the integer return code from nlsrequest(). Zero indicates success, other negative values indicate nlsre-
quest() failures as follows:
-1 Error encountered by nlsrequest(), see t_errno.
Positive values are error return codes from the listener process. Mnemonics for these codes are defined in <listen.h>.
2 Request message not interpretable.
3 Request service code unknown.
4 Service code known, but currently disabled.
If non-null, _nlsrmsg contains a pointer to a static, null-terminated character buffer containing the service request response message.
Note that both _nlsrmsg and the data buffer are overwritten by each call to nlsrequest().
If _nlslog is non-zero, nlsrequest() prints error messages on stderr. Initially, _nlslog is zero.
FILES
/usr/lib/libnls.so.1 shared object
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|MT-Level |Unsafe |
+-----------------------------+-----------------------------+
SEE ALSO nlsadmin(1M), t_error(3NSL), t_snd(3NSL), t_rcv(3NSL), attributes(5)WARNINGS
nlsrequest() cannot always be certain that the remote server process has been successfully started. In this case, nlsrequest() returns
with no indication of an error and the caller will receive notification of a disconnect event by way of a T_LOOK error before or during the
first t_snd() or t_rcv() call.
NOTES
These interfaces are unsafe in multithreaded applications. Unsafe interfaces should be called only from the main thread.
SunOS 5.11 14 Nov 2002 nlsrequest(3NSL)