- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Oracle: SHUTDOWN: waiting for logins to complete.
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2006 02:22 AM
тАО02-07-2006 02:22 AM
Shutting down instance (immediate)
License high water mark = 17
Sun Feb 5 10:20:23 2006
SHUTDOWN: waiting for logins to complete.
I am puzzled because normally on sunday
there is no activity,
so why is it waiting for logins to complete ?
This is an old version 7.2.3 (I know, but
it is linked to an old factory apps , and
robotics don't change so quickly, I am still
waiting for a proposal from Siemens on the
robotics upgrade, meantime I am stuck with
this donkey version)
Anyway any good idea welcome
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2006 02:30 AM
тАО02-07-2006 02:30 AM
SolutionFrank,
Do a ps -ef | grep ora to see if there are any calls into the database. I have found that if there is a user process (a query or sql call that was not terminated correctly) the shutdown will hang until the offending process is terminated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2006 02:33 AM
тАО02-07-2006 02:33 AM
Re: Oracle: SHUTDOWN: waiting for logins to complete.
There is a bug in the dbshut dommand that ships with oracle.
It should say shutdown immediate
It says shutdown
Kill the processes manually, modify the dbshut command and it will work normally.
Alternetive: shutdown abort;startup;shutdown
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2006 03:02 AM
тАО02-07-2006 03:02 AM
Re: Oracle: SHUTDOWN: waiting for logins to complete.
You can kill the process manually, that is the way to go.
# ps -ef |grep -i ora
# kill -9
The process could have stuck somewhere in the middle query processing.
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2006 04:33 AM
тАО02-07-2006 04:33 AM
Re: Oracle: SHUTDOWN: waiting for logins to complete.
Perhaps it is better to put
'shutdown abort' instead of 'shutdown immediate' in your shutdown procedure.
So you avoid this problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2006 03:30 PM
тАО02-07-2006 03:30 PM
Re: Oracle: SHUTDOWN: waiting for logins to complete.
Important that you do a "shutdown immediate" instead of a "shutdown normal".
I have seen cases whereby user sessions are "stuck" for days because of various problems (network, application, user locks, etc )
You may further troubleshoot this by adding the command "select * from v$session" in you script and spooling the output to a file that you can later check...
hope this helps too!
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2006 04:32 PM
тАО02-07-2006 04:32 PM
Re: Oracle: SHUTDOWN: waiting for logins to complete.
Shutdown immediate is preferred: this goes thru the redo log and reapplies the before- and after-look entries.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2006 06:32 PM
тАО02-07-2006 06:32 PM
Re: Oracle: SHUTDOWN: waiting for logins to complete.
more $ORACLE_LOG/$ORACLE_SID/alert*.log
Create script for shutdown oracle database:
CONECTS=$(ps -ef|grep -i oracle$ORACLE_SID|grep LOCAL=NO|grep -v grep|awk '{print $2}')
kill -9 $CONECTS
sqlplus /nolog <
shutdown immediate
exit;
EOF
ran
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2006 08:36 PM
тАО02-07-2006 08:36 PM
Re: Oracle: SHUTDOWN: waiting for logins to complete.
I suggest:
alter system checkpoint
shutdown abort
startup restrict
shutdown immediate
In this way you will baort all teh sessions connected but making a sutdown immediate as wel you will clean all the momeries, falf, etc.
Of course you must ahve a user with restricted session privilege to perform this.
HTH,
Art
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2006 08:48 PM
тАО02-07-2006 08:48 PM
Re: Oracle: SHUTDOWN: waiting for logins to complete.
most was not that usefull, I think some
did not read the question, as the case
was about an shutdown immediate that was
haning, some of you advised me to do
a shutdown immediate; yeah right :)
Still, not bad overall,
I think mr Shalom sussed it quite well :)
"Goed gedaan"