This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

restart httpproxy

Hello,

we have an asg 220 and I want to know how I can stop/start the httproxy process within putty and the ASG webadmin.
How can make a cronjob to restart a process or is that not allowed?


This thread was automatically locked due to age.
  • Hi , 

    But this will void support contract ?

    that's why i had idea to manuali  disable and enable http and snort from webadmin this will keep support intact 
     
    thx
  • Honestly I can't tell if this voids the support contract, but I don't think so.

    If you configure a cronjob for this you edit the whole configuration of the system and add custom stuff. With my script only build-in features and scripts are used. Nothing is added or customated.

    The option for root shell access is a standard WebAdmin feature. The scripts that I run are preconfigured build-in scripts not custom code. 

    If I would enable and disable the Proxy in WebAdmin the exact same thing would happen but only with: /var/mdw/scripts/httpproxy stop and /var/mdw/scripts/httpproxy start.


    The main point is, that I'm a big fan of set and forget systems. Back in old V. 7 days Astaro was something like that. System running like nothing else. But in this new Version I really miss the quality. And I don't want to waste my time on manually reseting the proxy every week. And it seems like Sophos is not able to fix this or permit the RAM upgrade which would make so much sense and would help all.

    This scripts gets my appliances running. It's my fix and workaround for an issue not caused by me with build-in functions. So I think every thing is fine.
  • Thanks for all the hints . I will ask my vendor about the script an the support contract.
  • I'm also interested in their response. Please post it here [;)] Thanks.
  • I use this script to restart proxy twice per day. Using it for 6 months.


    mail:/home/login # cat /etc/crontab-static
    -----------------------------------------------------------------------------------------------
    SHELL=/bin/sh
    PATH=/usr/bin:/usr/sbin:/sbin:/bin
    MAILTO=""

    30 6 * * *     root    /var/mdw/scripts/httpproxy restarta
    35 6 * * *     root    sync; echo 3 > /proc/sys/vm/drop_caches

    30 12 * * *     root    /var/mdw/scripts/httpproxy restart
    35 12 * * *     root    sync; echo 3 > /proc/sys/vm/drop_caches