- SSH to your server
- Type: ps aux | grep stunnel (there must be an output with something like this):
cpanel 29430 0.0 0.1 4600 1672 ? Ss 18:10 0:00 /usr/bin/stunnel-4.15local /usr/local/cpanel/etc/stunnel/default/stunnel.conf.run
- Copy that only stunnel-4.15local or whatever version is on your box.
- pico -w /usr/local/cpanel/etc/init/stopstunnel
#!/usr/bin/perl
killstunnel();
sub killstunnel {
system("/scripts/ckillall -9 stunnel");
system("/scripts/ckillall -9 stunnel-3.22local");
system("/scripts/ckillall -9 stunnel-4.00local");
system("/scripts/ckillall -9 stunnel-4.02local");
system("/scripts/ckillall -9 stunnel-4.04local");
system("/scripts/ckillall -9 stunnel-4.05local");
system("/scripts/ckillall -9 stunnel-4.15local"); <- Create a new line with your stunnel version
}
- service cpanel restart
- Thing should be ok then.
Regards,



LinkBack URL
About LinkBacks


Reply With Quote






