How to force stop a service when multiple Tuxedo users use the tmadmin command

Source: Internet
Author: User

How to force stop a service when multiple Tuxedo users use the tmadmin command

When you need to restart the Tuxedo application, the following ERROR occurs: LIBTUX_CAT: 577: ERROR: Unable to register because the slot is already owned.

When the tmadmin command is executed, an error is returned:

$ Tmadmin
Tmadmin-Copyright (c) 1996-1999 BEA Systems, Inc. portions * Copyright 1986-1997 RSA Data Security, Inc. all Rights Reserved. distributed under license by BEA Systems, Inc. tuxedo is a registered trademark. TMADMIN_CAT: 199: WARN: Cannot become administrator. limited set of commands available.

As shown in the preceding two tips, some other users may be using the tmadmin operation. As a result, this user session cannot execute these high-level commands after logon.

Use the w command to check whether such user operations are performed:

V490e5-tux:/opt/app/tuxapp/gateway/config $ w
Pm up 354 day (s), 3 users, load average: 0.02, 0.03, 0.04
User tty login @ idle jcpu pcpu what
Root console 7Jul14354days-sh
Tuxapp pts/1: 14 pm tmadmin
Tuxapp pts/3 :28 pm tmadmin

Indeed, other user sessions are executing commands.

When all services are stopped, an error is returned:

Tmshutdown-y;

Shutting down all admin and server processes in/app/etc/tuxconfig

Shutting down server processes...

Shutting down admin processes...

Server Id = 0 Group Id = SITE1 Machine = SITE1:

Ubuntux_cat: 1668: WARN: Cannot shutdown BBL on SITE1. Clients and/or servers may be running

Ubuntux_cat: 949: WARN: Shutdown failed

0 processes stopped.

You must use the force command: tmshutdown-c-y

In this way, you can stop all Tuxedo services and perform other operations.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.