Skip to main content
Hal Mallet
New Participant
Oct 23, 2023 6:07 PM UTC

LOG OFF USERS

When a program locks up and I have to close Accuterm to get out of it,  the system leaves users logged on.  How can I free up those users without rebooting.



------------------------------
Hal Mallet
Business Owner
Advanced Retail & Service Systems
Chula Vista CA US
------------------------------

    5 replies

    Tedmund Hurlbut
    Participating Frequently
    Oct 24, 2023 9:50 AM UTC

    When a program locks up and I have to close Accuterm to get out of it,  the system leaves users logged on.  How can I free up those users without rebooting.



    ------------------------------
    Hal Mallet
    Business Owner
    Advanced Retail & Service Systems
    Chula Vista CA US
    ------------------------------

    Hal,

    Had the same problem.  Try LOGOUT.  Check out the documentation.

    https://docs.rocketsoftware.com/bundle/openqm_ref_4/page/oce1652705965747.html

    Ted



    ------------------------------
    Tedmund Hurlbut
    Self Registered
    Simpsonville SC US
    ------------------------------
    Hal Mallet
    New Participant
    Oct 24, 2023 11:40 AM UTC

    Hal,

    Had the same problem.  Try LOGOUT.  Check out the documentation.

    https://docs.rocketsoftware.com/bundle/openqm_ref_4/page/oce1652705965747.html

    Ted



    ------------------------------
    Tedmund Hurlbut
    Self Registered
    Simpsonville SC US
    ------------------------------
    I tried that.  LOGOUT port#It says LOGOUT pending.  Do you know what that means?
    Hal


    On Tuesday, October 24, 2023 at 06:57:05 AM PDT, Tedmund Hurlbut via Rocket Forum wrote:

    Hal, Had the same problem.  Try LOGOUT.  Check out the documentation. docs.rocketsoftware.com/bundle/openqm_ref_4/page/... Ted -----------...#yiv5943546828 a {color:#990099;}#yiv5943546828 a:link {text-decoration:underline;}#yiv5943546828 a:visited {text-decoration:underline;}#yiv5943546828 a:hover {color:#990099;text-decoration:underline;}#yiv5943546828 a:focus {text-decoration:underline;border:1px solid;}#yiv5943546828 a:active {text-decoration:none;}#yiv5943546828 .yiv5943546828buttons a:link {text-decoration:none;}#yiv5943546828 .yiv5943546828buttons a:visited {text-decoration:none;}#yiv5943546828 .yiv5943546828buttons a:hover {text-decoration:underline;}#yiv5943546828 .yiv5943546828buttons a:active {text-decoration:underline;}#yiv5943546828 .yiv5943546828msglink a {color:#FFFFFF;}#yiv5943546828 .yiv5943546828remove-embedded-content {max-height:0;font-size:0;}#yiv5943546828 .yiv5943546828uconBody a {color:blue;}#yiv5943546828 .yiv5943546828uconBody a:link {text-decoration:underline;}#yiv5943546828 .yiv5943546828uconBody a:visited {text-decoration:underline;}#yiv5943546828 .yiv5943546828bquote {background:#fafafa;border-left:5px solid #ebebeb;margin:1.5em 10px 1.5em 20px;padding:0.5em 10px;}#yiv5943546828 .yiv5943546828bquote:before {color:#ccc;font-size:4em;line-height:0.1em;vertical-align:-0.4em;margin-right:5px;}#yiv5943546828 .yiv5943546828bquote p {display:inline;font-weight:normal;font-size:11.5px;font-weight:300;line-height:1.25;}#yiv5943546828 .yiv5943546828bqFooter {text-align:right;font-size:80%;margin-top:5px;}#yiv5943546828 .yiv5943546828bqFooter:after {color:#ccc;font-size:5em;line-height:0;vertical-align:-0.4em;margin-left:5px;}@media (max-width:480px) {#yiv5943546828 .yiv5943546828img-responsive {display:block;max-width:100%;width:100% !important;height:auto !important;}}
    |
    |
    | Invite your colleagues to join the Rocket Forum and grow our expert network. |
    | |
    |
    Rocket OpenQM
    |
    | Post New Message Online
    Invite your colleagues to join the Rocket Forum and grow our expert network. Share this link. |


    | Re: LOG OFF USERS |
    |
    | Reply to Group Online | Reply to Group |

    |
    |
    | |
    | Oct 24, 2023 9:57 AM |
    | Tedmund Hurlbut |

    |

    |
    |
    |
    Hal,

    Had the same problem.  Try LOGOUT.  Check out the documentation.

    docs.rocketsoftware.com/bundle/openqm_ref_4/page/...

    Ted


    ------------------------------
    Tedmund Hurlbut
    Self Registered
    Simpsonville SC US
    ------------------------------
    |

    |
    |   Reply to Group Online   View Thread   Forward   Post New Message Online   |
    |
    |
    Brian Speirs
    Participating Frequently
    Oct 24, 2023 2:49 PM UTC
    I tried that.  LOGOUT port#It says LOGOUT pending.  Do you know what that means?
    Hal


    On Tuesday, October 24, 2023 at 06:57:05 AM PDT, Tedmund Hurlbut via Rocket Forum wrote:

    Hal, Had the same problem.  Try LOGOUT.  Check out the documentation. docs.rocketsoftware.com/bundle/openqm_ref_4/page/... Ted -----------...#yiv5943546828 a {color:#990099;}#yiv5943546828 a:link {text-decoration:underline;}#yiv5943546828 a:visited {text-decoration:underline;}#yiv5943546828 a:hover {color:#990099;text-decoration:underline;}#yiv5943546828 a:focus {text-decoration:underline;border:1px solid;}#yiv5943546828 a:active {text-decoration:none;}#yiv5943546828 .yiv5943546828buttons a:link {text-decoration:none;}#yiv5943546828 .yiv5943546828buttons a:visited {text-decoration:none;}#yiv5943546828 .yiv5943546828buttons a:hover {text-decoration:underline;}#yiv5943546828 .yiv5943546828buttons a:active {text-decoration:underline;}#yiv5943546828 .yiv5943546828msglink a {color:#FFFFFF;}#yiv5943546828 .yiv5943546828remove-embedded-content {max-height:0;font-size:0;}#yiv5943546828 .yiv5943546828uconBody a {color:blue;}#yiv5943546828 .yiv5943546828uconBody a:link {text-decoration:underline;}#yiv5943546828 .yiv5943546828uconBody a:visited {text-decoration:underline;}#yiv5943546828 .yiv5943546828bquote {background:#fafafa;border-left:5px solid #ebebeb;margin:1.5em 10px 1.5em 20px;padding:0.5em 10px;}#yiv5943546828 .yiv5943546828bquote:before {color:#ccc;font-size:4em;line-height:0.1em;vertical-align:-0.4em;margin-right:5px;}#yiv5943546828 .yiv5943546828bquote p {display:inline;font-weight:normal;font-size:11.5px;font-weight:300;line-height:1.25;}#yiv5943546828 .yiv5943546828bqFooter {text-align:right;font-size:80%;margin-top:5px;}#yiv5943546828 .yiv5943546828bqFooter:after {color:#ccc;font-size:5em;line-height:0;vertical-align:-0.4em;margin-left:5px;}@media (max-width:480px) {#yiv5943546828 .yiv5943546828img-responsive {display:block;max-width:100%;width:100% !important;height:auto !important;}}
    |
    |
    | Invite your colleagues to join the Rocket Forum and grow our expert network. |
    | |
    |
    Rocket OpenQM
    |
    | Post New Message Online
    Invite your colleagues to join the Rocket Forum and grow our expert network. Share this link. |


    | Re: LOG OFF USERS |
    |
    | Reply to Group Online | Reply to Group |

    |
    |
    | |
    | Oct 24, 2023 9:57 AM |
    | Tedmund Hurlbut |

    |

    |
    |
    |
    Hal,

    Had the same problem.  Try LOGOUT.  Check out the documentation.

    docs.rocketsoftware.com/bundle/openqm_ref_4/page/...

    Ted


    ------------------------------
    Tedmund Hurlbut
    Self Registered
    Simpsonville SC US
    ------------------------------
    |

    |
    |   Reply to Group Online   View Thread   Forward   Post New Message Online   |
    |
    |

    Well, if LOGOUT does not work, then you probably need to kill the process.

    You can get the PID from the LISTU command. You can then use kill on linux or Task Manager on Windows (although I would use SysInternals ProcessExplorer).

    Better still, can you find what is locking up the program? Then you can avoid the issue.

     Also, when the program locks up, can you BREAK out of the program (Ctrl-Break on our systems)? If you do that, then (a) you can display the call stack to try and figure out what is going on; and (b) you can quit out of the program and regain control.

    Cheers,

    Brian



    ------------------------------
    Brian Speirs
    Senior Analyst - Information Systems
    Rush Flat Ltd
    Wellington NZ
    ------------------------------
    Hal Mallet
    New Participant
    Oct 24, 2023 7:58 PM UTC

    Well, if LOGOUT does not work, then you probably need to kill the process.

    You can get the PID from the LISTU command. You can then use kill on linux or Task Manager on Windows (although I would use SysInternals ProcessExplorer).

    Better still, can you find what is locking up the program? Then you can avoid the issue.

     Also, when the program locks up, can you BREAK out of the program (Ctrl-Break on our systems)? If you do that, then (a) you can display the call stack to try and figure out what is going on; and (b) you can quit out of the program and regain control.

    Cheers,

    Brian



    ------------------------------
    Brian Speirs
    Senior Analyst - Information Systems
    Rush Flat Ltd
    Wellington NZ
    ------------------------------
    The LOGOUT works most of the time,  Thanks



    On Tuesday, October 24, 2023 at 11:53:59 AM PDT, Brian Speirs via Rocket Forum wrote:

    Well, if LOGOUT does not work, then you probably need to kill the process. You can get the PID from the LISTU command. You can then use kill on... -posted to the "Rocket OpenQM" forum#yiv3813983797 a {color:#990099;}#yiv3813983797 a:link {text-decoration:underline;}#yiv3813983797 a:visited {text-decoration:underline;}#yiv3813983797 a:hover {color:#990099;text-decoration:underline;}#yiv3813983797 a:focus {text-decoration:underline;border:1px solid;}#yiv3813983797 a:active {text-decoration:none;}#yiv3813983797 .yiv3813983797buttons a:link {text-decoration:none;}#yiv3813983797 .yiv3813983797buttons a:visited {text-decoration:none;}#yiv3813983797 .yiv3813983797buttons a:hover {text-decoration:underline;}#yiv3813983797 .yiv3813983797buttons a:active {text-decoration:underline;}#yiv3813983797 .yiv3813983797msglink a {color:#FFFFFF;}#yiv3813983797 .yiv3813983797remove-embedded-content {max-height:0;font-size:0;}#yiv3813983797 .yiv3813983797uconBody a {color:blue;}#yiv3813983797 .yiv3813983797uconBody a:link {text-decoration:underline;}#yiv3813983797 .yiv3813983797uconBody a:visited {text-decoration:underline;}#yiv3813983797 .yiv3813983797bquote {background:#fafafa;border-left:5px solid #ebebeb;margin:1.5em 10px 1.5em 20px;padding:0.5em 10px;}#yiv3813983797 .yiv3813983797bquote:before {color:#ccc;font-size:4em;line-height:0.1em;vertical-align:-0.4em;margin-right:5px;}#yiv3813983797 .yiv3813983797bquote p {display:inline;font-weight:normal;font-size:11.5px;font-weight:300;line-height:1.25;}#yiv3813983797 .yiv3813983797bqFooter {text-align:right;font-size:80%;margin-top:5px;}#yiv3813983797 .yiv3813983797bqFooter:after {color:#ccc;font-size:5em;line-height:0;vertical-align:-0.4em;margin-left:5px;}@media (max-width:480px) {#yiv3813983797 .yiv3813983797img-responsive {display:block;max-width:100%;width:100% !important;height:auto !important;}}
    |
    |
    | Invite your colleagues to join the Rocket Forum and grow our expert network. |
    | |
    |
    Rocket OpenQM
    |
    | Post New Message Online
    Invite your colleagues to join the Rocket Forum and grow our expert network. Share this link. |


    | Re: LOG OFF USERS |
    |
    | Reply to Group Online | Reply to Group |

    |
    |
    | |
    | Oct 24, 2023 2:54 PM |
    | Brian Speirs |

    |

    |
    |
    |
    Well, if LOGOUT does not work, then you probably need to kill the process.

    You can get the PID from the LISTU command. You can then use kill on linux or Task Manager on Windows (although I would use SysInternals ProcessExplorer).

    Better still, can you find what is locking up the program? Then you can avoid the issue.

     Also, when the program locks up, can you BREAK out of the program (Ctrl-Break on our systems)? If you do that, then (a) you can display the call stack to try and figure out what is going on; and (b) you can quit out of the program and regain control.

    Cheers,

    Brian


    ------------------------------
    Brian Speirs
    Senior Analyst - Information Systems
    Rush Flat Ltd
    Wellington NZ
    ------------------------------
    |

    |
    |   Reply to Group Online   View Thread   Forward   Post New Message Online   |
    |
    |
    Martin Phillips
    Participating Frequently
    Oct 25, 2023 6:25 AM UTC
    The LOGOUT works most of the time,  Thanks



    On Tuesday, October 24, 2023 at 11:53:59 AM PDT, Brian Speirs via Rocket Forum wrote:

    Well, if LOGOUT does not work, then you probably need to kill the process. You can get the PID from the LISTU command. You can then use kill on... -posted to the "Rocket OpenQM" forum#yiv3813983797 a {color:#990099;}#yiv3813983797 a:link {text-decoration:underline;}#yiv3813983797 a:visited {text-decoration:underline;}#yiv3813983797 a:hover {color:#990099;text-decoration:underline;}#yiv3813983797 a:focus {text-decoration:underline;border:1px solid;}#yiv3813983797 a:active {text-decoration:none;}#yiv3813983797 .yiv3813983797buttons a:link {text-decoration:none;}#yiv3813983797 .yiv3813983797buttons a:visited {text-decoration:none;}#yiv3813983797 .yiv3813983797buttons a:hover {text-decoration:underline;}#yiv3813983797 .yiv3813983797buttons a:active {text-decoration:underline;}#yiv3813983797 .yiv3813983797msglink a {color:#FFFFFF;}#yiv3813983797 .yiv3813983797remove-embedded-content {max-height:0;font-size:0;}#yiv3813983797 .yiv3813983797uconBody a {color:blue;}#yiv3813983797 .yiv3813983797uconBody a:link {text-decoration:underline;}#yiv3813983797 .yiv3813983797uconBody a:visited {text-decoration:underline;}#yiv3813983797 .yiv3813983797bquote {background:#fafafa;border-left:5px solid #ebebeb;margin:1.5em 10px 1.5em 20px;padding:0.5em 10px;}#yiv3813983797 .yiv3813983797bquote:before {color:#ccc;font-size:4em;line-height:0.1em;vertical-align:-0.4em;margin-right:5px;}#yiv3813983797 .yiv3813983797bquote p {display:inline;font-weight:normal;font-size:11.5px;font-weight:300;line-height:1.25;}#yiv3813983797 .yiv3813983797bqFooter {text-align:right;font-size:80%;margin-top:5px;}#yiv3813983797 .yiv3813983797bqFooter:after {color:#ccc;font-size:5em;line-height:0;vertical-align:-0.4em;margin-left:5px;}@media (max-width:480px) {#yiv3813983797 .yiv3813983797img-responsive {display:block;max-width:100%;width:100% !important;height:auto !important;}}
    |
    |
    | Invite your colleagues to join the Rocket Forum and grow our expert network. |
    | |
    |
    Rocket OpenQM
    |
    | Post New Message Online
    Invite your colleagues to join the Rocket Forum and grow our expert network. Share this link. |


    | Re: LOG OFF USERS |
    |
    | Reply to Group Online | Reply to Group |

    |
    |
    | |
    | Oct 24, 2023 2:54 PM |
    | Brian Speirs |

    |

    |
    |
    |
    Well, if LOGOUT does not work, then you probably need to kill the process.

    You can get the PID from the LISTU command. You can then use kill on linux or Task Manager on Windows (although I would use SysInternals ProcessExplorer).

    Better still, can you find what is locking up the program? Then you can avoid the issue.

     Also, when the program locks up, can you BREAK out of the program (Ctrl-Break on our systems)? If you do that, then (a) you can display the call stack to try and figure out what is going on; and (b) you can quit out of the program and regain control.

    Cheers,

    Brian


    ------------------------------
    Brian Speirs
    Senior Analyst - Information Systems
    Rush Flat Ltd
    Wellington NZ
    ------------------------------
    |

    |
    |   Reply to Group Online   View Thread   Forward   Post New Message Online   |
    |
    |

    If LOGOUT doesn't work (it's likely that LISTU will show "logout pending"), you can use the -k command line option to kill a specific process. If that still does not work, killing the process with the Linux kill -15 or the Windows task manager may be necessary but this is highly dangerous because it gives no oportunity for the system to tidy up. System resources such as locks may be left behind. Also, if the killed process was not truly hung but was writing data, the file could be left with partial updates.

    OpenQM periodically looks for dead processes and tidies up things such as the lock table. You can force an immediate scan for dead processes with

    qm -cleanup.



    ------------------------------
    Martin Phillips
    Rocket Forum Shared Account
    ------------------------------