You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by "amirhosseinramezann (via GitHub)" <gi...@apache.org> on 2023/09/26 11:17:13 UTC
[GitHub] [trafficcontrol] amirhosseinramezann opened a new issue, #7816: This command inculde postintall script
amirhosseinramezann opened a new issue, #7816:
URL: https://github.com/apache/trafficcontrol/issues/7816
I have the same issue. and I cant run it.
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`
_Originally posted by @thang86 in https://github.com/apache/trafficcontrol/issues/6986#issuecomment-1197671988_
--
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.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [trafficcontrol] amirhosseinramezann commented on issue #7816: This command inculde postintall script
Posted by "amirhosseinramezann (via GitHub)" <gi...@apache.org>.
amirhosseinramezann commented on issue #7816:
URL: https://github.com/apache/trafficcontrol/issues/7816#issuecomment-1735350583
I do all the installation steps accurately, but when I run the postinstall script, I unfortunately encounter the following error. Do I have to do something wrong or did I make a mistake?
Error:
postinstall requires the postgres user to have superuser access to postgresql. Aborting.

--
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
Re: [I] This command inculde postintall script [trafficcontrol]
Posted by "ocket8888 (via GitHub)" <gi...@apache.org>.
ocket8888 commented on issue #7816:
URL: https://github.com/apache/trafficcontrol/issues/7816#issuecomment-1751801029
Is the `postgres` database role/Linux user a PostgreSQL "super user"?
--
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
Re: [I] test [trafficcontrol]
Posted by "amirhosseinramezann (via GitHub)" <gi...@apache.org>.
amirhosseinramezann closed issue #7816: test
URL: https://github.com/apache/trafficcontrol/issues/7816
--
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