Thank you, i will try this.<br><br><div class="gmail_quote">2012/9/4 Tobias Oetiker <span dir="ltr"><<a href="mailto:tobi@oetiker.ch" target="_blank">tobi@oetiker.ch</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Daniel,<br>
<div class="im"><br>
Today Daniel Lundqvist wrote:<br>
<br>
> I guess it would be a normal behavior if the services was started again,<br>
> but they are not. both vsmagent and tlwebadm was NOT started this morning,<br>
> i had to manually restart them.<br>
<br>
</div>we had a similar problem ... our service restarted, but since they<br>
did it in parallel, they lost their knowledge about existing<br>
sessions ... so when users tried to re-connect, they were offered<br>
new sessions ...<br>
<br>
the solution was pretty simple:<br>
<br>
/etc/logrotate.d/thinlinc-vsm-server<br>
--------------------------------------<br>
/var/log/vsmserver.log {<br>
missingok<br>
<br>
postrotate<br>
# wait with restarting the server to make sure the<br>
# agent has time to properly come up BEFORE the server<br>
# goes down ... (thus makeing sure the sessions survive)<br>
sleep 900<br>
/etc/init.d/vsmserver condrestart &> /dev/null<br>
endscript<br>
}<br>
<br>
at least this weekend, all went fine ...<br>
<br>
maybe in your case, try redirecting the script output to a file<br>
instead of /dev/null to get sime more info about the event ...<br>
<br>
cheers<br>
tobi<br>
<div><div class="h5"><br>
<br>
><br>
> 2012/9/4 Peter Åstrand <<a href="mailto:astrand@cendio.se">astrand@cendio.se</a>><br>
><br>
> ><br>
> > We install "logrotate" scripts in /etc/logrotate.d/ for all 3 services<br>
> > (vsmserver, vsmagent, tlwebadm). This is done so that the log files are<br>
> > rotated. When this happens depends on the logrotate configuration, but it's<br>
> > typically sunday night.<br>
> ><br>
> > The scripts does "condrestart", so the services should continue running.<br>
> > In other words, this is intended behaviour.<br>
> ><br>
> > Regards,<br>
> > Peter<br>
> ><br>
> ><br>
> > On Tue, 4 Sep 2012, Daniel Lundqvist wrote:<br>
> ><br>
> > Hi!<br>
> >> vsmagent and tlwebadm has got shut down two time the last 2-3 weeks, most<br>
> >> recently this morning at 6:25 without any user or<br>
> >> admin on the server,<br>
> >><br>
> >> log output does not say that much except;<br>
> >><br>
> >> vsmagent.log:<br>
> >> 2012-09-02 06:25:02 INFO vsmagent: Got SIGTERM, signaling process to quit<br>
> >> 2012-09-02 06:25:02 INFO vsmagent: Terminating. Have a nice day<br>
> >><br>
> >> tlwebadm.log<br>
> >> 2012-09-02 06:25:02 INFO tlwebadm[17036]: Caught SIGTERM, Exiting...<br>
> >><br>
> >> Looks like vsmserver wsa still running though. Any help would be<br>
> >> apriciating, running 3.4.0.<br>
> >><br>
> >> --<br>
> >> Daniel Lundqvist<br>
> >> IEI\Island - Linköpings universitet<br>
> >><br>
> >><br>
> >><br>
> ><br>
> > ---<br>
> > Peter Åstrand ThinLinc Chief Developer<br>
> > Cendio AB <a href="http://cendio.com" target="_blank">http://cendio.com</a><br>
> > Teknikringen 8 <a href="http://twitter.com/ThinLinc" target="_blank">http://twitter.com/ThinLinc</a><br>
> > 583 30 Linköping <a href="http://facebook.com/ThinLinc" target="_blank">http://facebook.com/ThinLinc</a><br>
</div></div>> > Phone: <a href="tel:%2B46-13-214600" value="+4613214600">+46-13-214600</a> <a href="http://plus.google.com/**112509906846170010689" target="_blank">http://plus.google.com/**112509906846170010689</a><<a href="http://plus.google.com/112509906846170010689" target="_blank">http://plus.google.com/112509906846170010689</a>><br>
><br>
><br>
><br>
><br>
><br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland<br>
<a href="http://it.oetiker.ch" target="_blank">http://it.oetiker.ch</a> <a href="mailto:tobi@oetiker.ch">tobi@oetiker.ch</a> <a href="tel:%2B%2B41%2062%20775%209902" value="+41627759902">++41 62 775 9902</a> / sb: -9900</font></span></blockquote>
</div><br><br clear="all"><div><br></div>-- <br>Daniel Lundqvist<br>IEI\Island - Linköpings universitet<br>