Friday, August 9, 2013, 3:58:07 AM, you wrote:
> i am pretty sure that "3.3.5-dev" has the same problem as currently 3.2.5
> and that is the cause for "Unable to locate the server named"
I was able to replicate this issue by changing the user ID of the traffic_server process.
There is a hidden file that stores some additional HostDB information and if that can't be
written the host.db never gets successfully reconfigured. Once I removed the hidden file and
made sure the directory permissions matched the ATS user, the host.db was reconfigured successfully.
Removing host.db caused a single start to reconfigure and subsequent restarts had no issue.
Check the file etc/trafficserver/internal/hostdb.config and the containing directory to see
if that is the problem. In particular that both are owned by 'ats' and not 'nobody'. However,
when I did this I got a message in diags.log about the permission denied on that file.
> -rw-r--r-- 1 ats ats 12M 2013-08-09 10:51 /var/cache/trafficserver/host.db
> * if i delete this file and start TS it get's generated
> * but it never works
> * the errors below are at every restart
> * 3.3.5-dev just don't log it
> if i pull "/var/cache/trafficserver/host.db" from a working host
> with 3.2.x with the same config it works
> why can this thing not be disabled at all and normal DNS requests/memory
> caching be done like in any other application?
> _______________________________________________
> [Aug 9 10:50:09.899] Server {0x2aaaaaeae9c0} NOTE: cache clustering disabled
> [Aug 9 10:50:09.910] Server {0x2aaaaaeae9c0} WARNING: header missing/corrupt: [hostdb.config]
: reinitializing
> database
> [Aug 9 10:50:09.910] Server {0x2aaaaaeae9c0} NOTE: reconfiguring host database
> [Aug 9 10:50:09.910] Server {0x2aaaaaeae9c0} WARNING: header missing/corrupt: [hostdb.config]
: disabling database
> You may need to 'reconfigure' your cache manually. Please refer to
> the 'Configuration' chapter in the manual
|