[Thinlinc-technical] vsmagent and tlwebadm randomly recieving SIGTERM

Daniel Lundqvist daniel at island.liu.se
Tue Sep 4 19:14:14 CEST 2012


I think that you have to confirm removal after hitting unsubscribe from
list...

2012/9/4 Ramana <ramanawithu at gmail.com>

> Hi,
>
> Kindly remove my mail ID (ramanawithu at gmail.com) from the distribution
> list. Otherwise I may miss important mails if I mark these as spam.
>
> On Tue, Sep 4, 2012 at 10:40 PM, Daniel Lundqvist <daniel at island.liu.se>wrote:
>
>> Thank you, i will try this.
>>
>> 2012/9/4 Tobias Oetiker <tobi at oetiker.ch>
>>
>>> Hi Daniel,
>>>
>>> Today Daniel Lundqvist wrote:
>>>
>>> > I guess it would be a normal behavior if the services was started
>>> again,
>>> > but they are not. both vsmagent and tlwebadm was NOT started this
>>> morning,
>>> > i had to manually restart them.
>>>
>>> we had a similar problem ... our service restarted, but since they
>>> did it in parallel, they lost their knowledge about existing
>>> sessions ... so when users tried to re-connect, they were offered
>>> new sessions ...
>>>
>>> the solution was pretty simple:
>>>
>>> /etc/logrotate.d/thinlinc-vsm-server
>>> --------------------------------------
>>> /var/log/vsmserver.log {
>>>     missingok
>>>
>>>     postrotate
>>>        # wait with restarting the server to make sure the
>>>        # agent has time to properly come up BEFORE the server
>>>        # goes down ... (thus makeing sure the sessions survive)
>>>        sleep 900
>>>        /etc/init.d/vsmserver condrestart &> /dev/null
>>>     endscript
>>> }
>>>
>>> at least this weekend, all went fine ...
>>>
>>> maybe in your case, try redirecting the script output to a file
>>> instead of /dev/null to get sime more info about the event ...
>>>
>>> cheers
>>> tobi
>>>
>>>
>>> >
>>> > 2012/9/4 Peter Åstrand <astrand at cendio.se>
>>> >
>>> > >
>>> > > We install "logrotate" scripts in /etc/logrotate.d/ for all 3
>>> services
>>> > > (vsmserver, vsmagent, tlwebadm). This is done so that the log files
>>> are
>>> > > rotated. When this happens depends on the logrotate configuration,
>>> but it's
>>> > > typically sunday night.
>>> > >
>>> > > The scripts does "condrestart", so the services should continue
>>> running.
>>> > > In other words, this is intended behaviour.
>>> > >
>>> > > Regards,
>>> > > Peter
>>> > >
>>> > >
>>> > > On Tue, 4 Sep 2012, Daniel Lundqvist wrote:
>>> > >
>>> > >  Hi!
>>> > >> vsmagent and tlwebadm has got shut down two time the last 2-3
>>> weeks, most
>>> > >> recently this morning at 6:25 without any user or
>>> > >> admin on the server,
>>> > >>
>>> > >> log output does not say that much except;
>>> > >>
>>> > >> vsmagent.log:
>>> > >> 2012-09-02 06:25:02 INFO vsmagent: Got SIGTERM, signaling process
>>> to quit
>>> > >> 2012-09-02 06:25:02 INFO vsmagent: Terminating. Have a nice day
>>> > >>
>>> > >> tlwebadm.log
>>> > >> 2012-09-02 06:25:02 INFO tlwebadm[17036]: Caught SIGTERM, Exiting...
>>> > >>
>>> > >> Looks like vsmserver wsa still running though. Any help would be
>>> > >> apriciating, running 3.4.0.
>>> > >>
>>> > >> --
>>> > >> Daniel Lundqvist
>>> > >> IEI\Island - Linköpings universitet
>>> > >>
>>> > >>
>>> > >>
>>> > >
>>> > > ---
>>> > > Peter Åstrand           ThinLinc Chief Developer
>>> > > Cendio AB               http://cendio.com
>>> > > Teknikringen 8          http://twitter.com/ThinLinc
>>> > > 583 30 Linköping        http://facebook.com/ThinLinc
>>> > > Phone: +46-13-214600 http://plus.google.com/**112509906846170010689<
>>> http://plus.google.com/112509906846170010689>
>>> >
>>> >
>>> >
>>> >
>>> >
>>>
>>> --
>>> Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
>>> http://it.oetiker.ch tobi at oetiker.ch ++41 62 775 9902 / sb: -9900
>>
>>
>>
>>
>> --
>> Daniel Lundqvist
>> IEI\Island - Linköpings universitet
>>
>> _______________________________________________
>> Thinlinc-technical mailing list
>> Thinlinc-technical at lists.cendio.se
>> http://lists.cendio.se/mailman/listinfo/thinlinc-technical
>>
>>
>
>
> --
> Thank you,
> Regards,
> Ramana.
>
>


-- 
Daniel Lundqvist
IEI\Island - Linköpings universitet
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cendio.se/pipermail/thinlinc-technical/attachments/20120904/8deb3bf1/attachment-0007.html>


More information about the Thinlinc-technical mailing list