How to force stop a service when multiple people use the Tmadmin command tuxedo

Source: Internet
Author: User

When you need to restart the Tuxedo app, Tip: libtux_cat:577:error:unable to register because the slots is already owned


Execute tmadmin command at this time, have error:

$ 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.

From the two tips above, there may be other users that are using the tmadmin operation, which prevents the user from performing these high-level commands after the session is logged on.


Further use the W command to see if there are any such user actions:

v490e5-tux:/opt/app/tuxapp/gateway/config$ W
1:29pm up 354 Day (s), 1:57, 3 users, load average:0.02, 0.03, 0.04
User TTY [email protected] idle jcpu PCPU what
Root Console 7jul14354days-sh
tuxapp pts/2 1:14pm tmadmin
Tuxapp PTS/3 1:28pmTmadmin

Indeed, there are other users who are making instructions.


Stopping all services at this time will cause an error:

Tmshutdown-y;

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

Shutting down server processes ...

Shutting down admin processes ...

Server id = 0 Group id = SITE1 machine = SITE1:

Cmdtux_cat:1668:warn:cannot shutdown BBL on SITE1. Clients and/or servers may be running

Cmdtux_cat:949:warn:shutdown failed

0 processes stopped.


Mandatory command must be used: tmshutdown-c-y

This allows you to stop all tuxedo services and do other things.

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

How to force stop a service when multiple people use the Tmadmin command tuxedo

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.