我无法绑定IPv4地址“ 0.0.0.0”:当我运行将Postgres用作db的gitlab应用程序时,该地址已在使用中
我已为Postgres 5434使用其他端口更新了gitlab.rb文件,但仍会出现错误
/ var / log / gitlab / postgresql / current
2019-09-09_10:53:05.92511 WARNING: could not create listen socket for "*"
2019-09-09_10:53:05.92512 FATAL: could not create any TCP/IP sockets
2019-09-09_10:53:05.92514 LOG: database system is shut down
2019-09-09_10:53:06.98061 LOG: could not bind IPv4 address "0.0.0.0": Address already in use
2019-09-09_10:53:06.98064 HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry.
2019-09-09_10:53:06.98065 LOG: could not bind IPv6 address "::": Address already in use
2019-09-09_10:53:06.98065 HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry.
2019-09-09_10:53:06.98066 WARNING: could not create listen socket for "*"
2019-09-09_10:53:06.98067 FATAL: could not create any TCP/IP sockets
2019-09-09_10:53:06.98068 LOG: database system is shut down
我有另一个正在运行的应用程序,并且在同一ubuntu的不同目录中安装了不同的Postgres,所以有什么方法可以更新GitLab链接的Postgres,使其不监听“ 0.0.0.0”,因为它正在被另一个使用应用程序。