[squid-users] Wrong timestamp??

Yuri yvoinov at gmail.com
Wed May 24 19:13:14 UTC 2017


I've take a look on one of my servers:

root @ khorne / # date
Thu May 25 01:09:38 ALMT 2017
root @ khorne / # su - squid
squid @ khorne $ date
Thu May 25 01:10:01 ALMT 2017

Is is ok. Either from root, or from non-privileged user.

Well, let's run squidclient:

 # su - squid
squid @ khorne $ cd /usr/local/squid/bin
squid @ khorne $ squidclient mgr:negotiateauthenticator
HTTP/1.1 404 Not Found
Server: squid
Mime-Version: 1.0
Date: Wed, 24 May 2017 19:11:01 GMT

(I have no authenticators, but date is correct.)

Seems you have misconfigured server.

25.05.2017 0:49, erdosain9 пишет:
> Hi to all.
> This is strange...
> if a put "date" i get the actual time. I mean the time it's correct.
> More or less in this moment it is
>
> [root at squid ~]# date
> mié may 24 15:59:59 ART 2017
>
> in the same moment (more or less) access.log
> 24/May/2017:19:00:21     
>
> same moment (more or less)
> [root at squid ~]# squidclient mgr:negotiateauthenticator
> HTTP/1.1 200 OK
> Server: squid/3.5.20
> Mime-Version: 1.0
> Date: Wed, 24 May 2017 19:01:37 GMT
> Content-Type: text/plain;charset=utf-8
> Expires: Wed, 24 May 2017 19:01:37 GMT
> Last-Modified: Wed, 24 May 2017 19:01:37 GMT
>
> So... why squid have wrong time if the "date" command says another thing.
> From where squid take the time?
>
>
>
> --
> View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/Wrong-timestamp-tp4682545.html
> Sent from the Squid - Users mailing list archive at Nabble.com.
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20170525/a4c282f3/attachment.sig>


More information about the squid-users mailing list