home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / database / oracle / 2742 < prev    next >
Encoding:
Text File  |  1993-01-10  |  2.3 KB  |  58 lines

  1. Newsgroups: comp.databases.oracle
  2. Path: sparky!uunet!spool.mu.edu!think.com!ames!network.ucsd.edu!munnari.oz.au!yarrina.connect.com.au!cmutual.com.au!aaj
  3. From: aaj@cmutual.com.au (Tony Jambu)
  4. Subject: Re: Shutting down sqlnet
  5. Message-ID: <1993Jan10.215137.27180@cmutual.com.au>
  6. Keywords: sqlnet
  7. Sender: aaj@cmutual.com.au (Tony Jambu)
  8. Organization: Colonial Mutual Group 
  9. References:  <1993Jan7.175023.13291@nsisrv.gsfc.nasa.gov>
  10. Date: Sun, 10 Jan 1993 21:51:37 GMT
  11. Lines: 45
  12.  
  13.  
  14. In article <1993Jan7.175023.13291@nsisrv.gsfc.nasa.gov>, you write:
  15. > First of all, an apology for my question about shutting down oracle - I did
  16. > not
  17. > RTFM closely enough and missed the shutdown immediate command which I
  18. > suspect
  19. > is all I need.  Thanks to all who responded.
  20. > But I have a similar problem with orasrv and the manual does not indicate
  21. > any type of shutdown immediate command.  I'm running on an SGI (IRIX 4) and
  22. > when doing a tcpctl stop commmand I get back:
  23. >     tcputl: 1 subprocesses are active; server will not be stopped
  24. > This is listed in the sqlnet user's guide where it says that the action is
  25. > to ask remote users to log off Oracle.  The problem is that we are doing the
  26. > shutdown in the middle of the night in a batch mode and it is likely that
  27. > the
  28. > user just forgot to log off before going home.  Any work-arounds?
  29.  
  30. You can find out if there are any SQL*Net processes/connection by typing
  31. 'tcpctl
  32. stat' and there will be a line saying how many connections there are 'Active
  33. subprocesses'.  
  34.  
  35. You can also use the UNIX 'ps' command to count the number of connections. 
  36. For
  37.  ATT UNIX, type 'ps -ef | grep T:' and for Berkeley UNIX 'ps -ax|grep T:'.
  38. This
  39. also give the same info except that it gives you the process ID as well.   You
  40. may then use the kill command to terminate the connection.
  41.  
  42. To actually find out which machine is connected to the databases is a bit more
  43. difficult.  You will neet to use the 'netstat' command.
  44.  
  45. >  If this
  46. > is being done as part of a reboot procedure, will it hurt to ignore this
  47. > message and just reboot the system?
  48.  
  49. No.
  50. -- 
  51.  _____       ________ / ____ |Tony Jambu, Database Administrator
  52.   /_  __       /_ __ /       |Colonial Mutual Invest Mgmt Aust (ACN 004021809)
  53.  /(_)/ ((_/ \_/(///(/_)/_(   |EMAIL:  TJambu@cmutual.com.au
  54.  \_______/                   |PHONE:  +61-3-6418448       FAX:  +61-3-6076198
  55.