Additional whitespace in proxy.config.admin.user_id value results in error
--------------------------------------------------------------------------

                 Key: TS-1184
                 URL: https://issues.apache.org/jira/browse/TS-1184
             Project: Traffic Server
          Issue Type: Bug
          Components: Configuration
    Affects Versions: 3.0.4
            Reporter: Kurt Payne
            Priority: Minor


Config looked like this:

CONFIG proxy.config.alarm_email STRING nobody 

The username had a trailing space.  ATS fails to start, and the following 
messages appear in /var/log/messages:

Apr  3 10:46:33 blitz traffic_cop[5498]: --- Cop Starting [Version: Apache 
Traffic Server - traffic_cop - 3.0.4 - (build # 3310 on Apr  3 2012 at 
10:16:46)] ---
Apr  3 10:46:33 blitz traffic_cop[5498]: can't get passwd entry for the admin 
user
Apr  3 10:46:33 blitz traffic_cop[5498]: can't get passwd entry for the admin 
user
Apr  3 10:46:33 blitz traffic_cop[5498]: traffic_manager not running, making 
sure traffic_server is dead
Apr  3 10:46:33 blitz traffic_cop[5498]: spawning traffic_manager
Apr  3 10:46:33 blitz traffic_manager[5500]: NOTE: --- Manager Starting ---
Apr  3 10:46:33 blitz traffic_manager[5500]: NOTE: Manager Version: Apache 
Traffic Server - traffic_manager - 3.0.4 - (build # 3310 on Apr  3 2012 at 
10:16:03)
Apr  3 10:46:33 blitz traffic_manager[5500]: NOTE: 
RLIMIT_NOFILE(7):cur(30000),max(30000)
Apr  3 10:46:33 blitz traffic_manager[5500]: {140630387636192} STATUS: opened 
/usr/local/var/log/trafficserver/manager.log
Apr  3 10:46:35 blitz traffic_server[5509]: NOTE: --- Server Starting ---
Apr  3 10:46:35 blitz traffic_server[5509]: NOTE: Server Version: Apache 
Traffic Server - traffic_server - 3.0.4 - (build # 3310 on Apr  3 2012 at 
10:16:30)
Apr  3 10:46:35 blitz traffic_server[5509]: {47289782682464} STATUS: opened 
/usr/local/var/log/trafficserver/diags.log

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to