Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I use Redhat 3 and ERP system on it , users always report to me their session is terminated ( the error as below ) , then exit he system . I ( with root user ) also encounter the problem , when it happens , it logout me to the shell , I can't find any error in database ( ERP) log , can advise what is the possible reason of the error ? thx
In the shell itself (sh/bash/ksh) you can set TMOUT variable to exit after a period of inactivity (defined in seconds). To see if that is set after OS login type "echo $TMOUT".
TMOUT would only see the shell as inactive if you entered the database session in a manner that is backgrounded (e.g. mysql... &). It is more likely that you have something within the database set to timeout sessions. (Or possibly your "ERP" application.) Since you don't mention what DB or "ERP" application you're using no one will be able to give you guidance on those.
Another possibility is that you have a cron job running that periodically kills sessions. You should examine your cron setups to see if there is such a job.
In the shell itself (sh/bash/ksh) you can set TMOUT variable to exit after a period of inactivity (defined in seconds). To see if that is set after OS login type "echo $TMOUT".
TMOUT would only see the shell as inactive if you entered the database session in a manner that is backgrounded (e.g. mysql... &). It is more likely that you have something within the database set to timeout sessions. (Or possibly your "ERP" application.) Since you don't mention what DB or "ERP" application you're using no one will be able to give you guidance on those.
Another possibility is that you have a cron job running that periodically kills sessions. You should examine your cron setups to see if there is such a job.
thx reply ,
I use Oracle
it seems not timeout , as this problem not happens often , may be 1-2 time per 1 week , sometimes the session was terminated after login for a few minutes . I can't find any cron job related to it .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.