Sun Microsystems, Inc.  Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-71-2157653.1
Update Date:2016-07-05
Keywords:

Solution Type  Technical Instruction Sure

Solution  2157653.1 :   Diameter Signaling Router (DSR) - Console Connection - Error: Operation Failed: Active Console Session Exists For This Domain  


Related Items
  • Oracle Communications Diameter Signaling Router (DSR)
  •  
Related Categories
  • PLA-Support>Sun Systems>CommsGBU>Global Signaling Solutions>SN-SND: Tekelec DSR
  •  




In this Document
Goal
Solution


Applies to:

Oracle Communications Diameter Signaling Router (DSR) - Version DSR 3.0 and later
Tekelec

Goal

 Get a console connection to an guest from TVOE.

Solution

  • Login to TVOE
  • Execute the below command to identify the guests on the TVOE
[admusr@tvoe ~]$ sudo virsh list
Id Name State
----------------------------------------------------
1 soam-b running
2 noam-b running
[admusr@tvoe ~]$
  •  If it is required to console login to first guest soam-b then do the following

[admusr@tvoe ~]$ sudo virsh console 1
Connected to domain kong-soam-b
Escape character is ^]

[admusr@soam-b]$

  • Now you are connected to console of soam-b.
  • In case you get the error "Active console session exists for this domain" while trying the console connection

[admusr@tvoe ~]$ sudo virsh console 1
Connected to domain soam-b
Escape character is ^]
error: operation failed: Active console session exists for this domain

[admusr@tvoe ~]

  • Then do the following:
  • Identify who is connected to the server using who command
[admusr@tvoe ~]$ sudo who
root ttyS0 2016-06-08 12:18
admusr pts/7 2016-07-05 02:48 (10.178.91.28)
[admusr@tvoe ~]$
  •  As seen above there is a root login since long time, this should be disconnected in order to clear the console.
  • Verify the PID for this connection and then kill it
[admusr@tvoe ~]# ps -ef | grep ttyS0
root 6502 5343 0 Jun08 ttyS0 00:00:00 -bash
root 6531 6502 0 Jun08 ttyS0 00:03:57 virsh console 1
root 58082 57740 0 02:58 pts/7 00:00:00 grep ttyS0
[admusr@tvoe ~]# exit
 [admusr@tvoe ~]# pkill 6502 6531 5343
[admusr@tvoe ~]# ps -ef | grep ttyS0
root 58835 1 0 03:11 ttyS0 00:00:00 /sbin/agetty /dev/ttyS0 115200 vt100
root 58842 58551 0 03:11 pts/7 00:00:00 grep ttyS0
[admusr@tvoe ~]#
  • Re-attempt the console connection

[admusr@tvoe ~]# virsh console 1
Connected to domain soam-b
Escape character is ^]

[admusr@soam-b]$

 

 It is very important that the console connection is gracefully closed using key combinations CTRL + ] else the above error may appear again.

 


Attachments
This solution has no attachment
  Copyright © 2018 Oracle, Inc.  All rights reserved.
 Feedback