You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by GitBox <gi...@apache.org> on 2022/07/28 05:14:07 UTC

[GitHub] [trafficcontrol] thang86 commented on issue #6986: Can not running postinstall

thang86 commented on issue #6986:
URL: https://github.com/apache/trafficcontrol/issues/6986#issuecomment-1197671988

   This command inculde postintall script 
   # make sure installed with proper permissions
   umask 022
   
   if [[ ! $(su - postgres psql -w -c 'show is_superuser' </dev/null 2>/dev/null) =~ 'on' ]]; then
           echo >&2 "postinstall requires the postgres user to have superuser access to postgresql. Aborting."
           exit 1
   fi
   
   and document ats for traffic ops have command : 
   su - postgres -c '/usr/pgsql-13/bin/initdb -A md5 -W' #-W forces the user to provide a superuser (postgres) password
   
   This conflict command and script included /opt/traffic_ops/install/bin/postinstall
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@trafficcontrol.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org