Activation failure

From Secure Web Gateway
Revision as of 15:21, 21 February 2018 by en>Srinivas12
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Issues

  1. I uploaded my activation key, still SafeSquid UI is showing Failed to set Subscription details 
  2. After uploading the activation key, I am getting the template on browser proxy server refusing connections
  3. Unable to see subscription details on support page from SafeSquid User Interface

Root Causes

  1. SafeSquid server is unable to contact SafeSquid Subscription server 
  2. The file(activation key) was not uploaded correctly. 
  3. The file name you uploaded is other than actiavtion_key
  4. After uploading the activation key, page is showing proxy server refusing connections
    • SafeSquid service restart was not done properly

Troubleshooting

Case 1 : Check for activation_key file on the SafeSquid server.

Run the below command and check for the file 

ls -lrt /usr/local/safesquid/security/
root@dev:~# ls -lrt /usr/local/safesquid/security/
total 60
drwxrwxr-- 2 ssquid root  4096 Jul 10 11:55 dns
-rw-rw-r-- 1 ssquid root   724 Jul 28 11:23 krb5.conf
-rw-rw-r-- 1 ssquid root  2111 Aug  3 18:52 activation_key
drwxrwxr-- 2 ssquid root 12288 Aug  4 16:04 policies
drwxrwxr-- 5 ssquid root  4096 Aug  4 16:09 ssl
-rw-rw-r-- 1 ssquid root 15744 Aug  5 09:51 activation_key.updates.backup
-rw-rw-r-- 1 ssquid root 15744 Aug  5 09:51 activation_key.updates

If the file was not found, then upload your activation key again and click on restart 

Note : Restart SafeSquid service from SafeSquid Interface will work, only if the monit service configured properly on SafeSquid server.

Otherwise, you can directly restart the SafeSquid service from LINUX box by using below commands

/etc/init.d/safesquid stop
/etc/init.d/safesquid start

Case 2 : Check the connection to the Subscription server, by using following commands

root@dev:~# ping swgupdates2.safesquid.net
PING swgupdates2.safesquid.net (104.236.27.61) 56(84) bytes of data.
64 bytes from 104.236.27.61: icmp_seq=1 ttl=52 time=309 ms
64 bytes from 104.236.27.61: icmp_seq=2 ttl=52 time=228 ms
--- swgupdates2.safesquid.net ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1000ms
rtt min/avg/max/mdev = 228.387/269.078/309.770/40.694 ms

 

nslookup swgupdates2.safesquid.net

Server:         127.0.0.1
Address:        127.0.0.1#53

Non-authoritative answer:
Name:   swgupdates2.safesquid.net
Address: 104.236.27.61

After uploading the activation key, page is showing proxy server refusing connections

SafeSquid restart was not done, start the SafeSquid from the server console by using below command 

/etc/init.d/safesquid start