Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

i need some serious help with...

Status
Not open for further replies.

jbay

Technical User
Feb 24, 2000
22
US
hi everyone... i have a server running unix system V/88 release R32V3 version 960907 M88100 that has 10 terminals attached via rj11 to it...all too often, say every 4 or so days the sole program on this sever, called 'patrol command' gets 'hung up' and the only way that i've been able to clear it while its hung up is to turn the server off and then back on...this is silly...i'm inexperienced with unix and dont know what steps to take to solve this hanging problem...would you please help me with some step by step, detailed solution with this issue...hiya andybo...mahalos for your time and insight, i trully appreciate your efforts... <p>james bay<br><a href=mailto:rgscom@aol.com>rgscom@aol.com</a><br><a href= > </a><br>please bare with me with regard to my questions...i'm trying to comprehend the vast concepts as they apply to computers in general and at times forget the KISS philosophy and i do so appreciate your insights/step by step guidance and overall your generosi
 
I do not know what your box is and I have never seen your flavour of Unix or the software you are running, however it is good practice to reboot your system on a regular basis as I have seen this sort of probem happen often. <br>Most Unix sites tend to reboot at least once a week unless they have the machines, o/s, and software that is capable of running efficently for longer periods. There may be sites that never reboot but in 20 years the longest I have seen between regular reboots is 1 month. <p>Ged Jones<br><a href=mailto:gedejones@hotmail.com>gedejones@hotmail.com</a><br><a href= > </a><br>
 
Hiya James :)<br><br>Without knowing anything about the application, it's not easy to say &quot;Do this, run that, do the other, and everything will be OK&quot;.<br><br>If this is happening every few days, then, as Ged says, it would probably be a good idea to manually reboot the server each evening at close of business.<br><br>Alternatively, you could put an entry into crontab to reboot the server every night.<br><br>To do this, log in as &quot;root&quot;.<br><br>Set &quot;EDITOR&quot; environment variable to be &quot;vi&quot;.<br><FONT FACE=monospace><br>EDITOR=vi<br>export EDITOR<br></font><br>Edit the crontab:<br><FONT FACE=monospace><br>crontab -e<br></font><br>Enter a new line into the crontab that looks like the following:<br><FONT FACE=monospace><br>0 5 * * * /usr/sbin/shutdown -y -g0 -i6<br></font><br>This will reboot the server every morning at 5am.&nbsp;&nbsp;You may need to check the path to the shutdown command on your server.&nbsp;&nbsp;(This might work:&nbsp;&nbsp;still logged in as &quot;root&quot;, enter <FONT FACE=monospace>type shutdown</font>.&nbsp;&nbsp;You should get a response along the lines of &quot;<FONT FACE=monospace>shutdown is /usr/sbin/shutdown</font>&quot;.)<br><br>Hope this helps. <p> <br><a href=mailto: > </a><br><a href= > </a><br>--<br>
0 1 - Just my two bits
 
Hmmm, output from uptime on my HPUX box is<br><br>4:34pm&nbsp;&nbsp;up 147 days, 13:54,&nbsp;&nbsp;9 users,&nbsp;&nbsp;load average: 0.32, 0.37, 0.75<br><br>AIX box is 167 days.<br><br>If you're having to reboot I think you might have a problem. It does, I agree, seem to be the immediate solution for this thread.<br> <p>Mike<br><a href=mailto:michael.j.lacey@ntlworld.com>michael.j.lacey@ntlworld.com</a><br><a href= Cargill's Corporate Web Site</a><br>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top