<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: SAS consul and postgres errors in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-consul-and-postgres-errors/m-p/980849#M30517</link>
    <description>Are the postgres consul services running? The message suggests "sas-viya-sasdatasvrc-postgres-pgpool0-consul-template-operation_node" is not.</description>
    <pubDate>Tue, 16 Dec 2025 19:21:25 GMT</pubDate>
    <dc:creator>gwootton</dc:creator>
    <dc:date>2025-12-16T19:21:25Z</dc:date>
    <item>
      <title>SAS consul and postgres errors</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-consul-and-postgres-errors/m-p/980826#M30514</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am having problems restarting SAS services.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="error SAS.jpg" style="width: 999px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/112225i4BF48DB931812F58/image-size/large?v=v2&amp;amp;px=999" role="button" title="error SAS.jpg" alt="error SAS.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Could be a postgres/ consul issue or is it a network issue?&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Dec 2025 11:33:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-consul-and-postgres-errors/m-p/980826#M30514</guid>
      <dc:creator>manix</dc:creator>
      <dc:date>2025-12-16T11:33:14Z</dc:date>
    </item>
    <item>
      <title>Re: SAS consul and postgres errors</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-consul-and-postgres-errors/m-p/980831#M30515</link>
      <description>Looks like this is failing to stop pgpool because it cannot connect to pgpool on the indicated IP address. Have you checked the "shutdownall" log referenced in the message?</description>
      <pubDate>Tue, 16 Dec 2025 15:36:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-consul-and-postgres-errors/m-p/980831#M30515</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2025-12-16T15:36:41Z</dc:date>
    </item>
    <item>
      <title>Re: SAS consul and postgres errors</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-consul-and-postgres-errors/m-p/980838#M30516</link>
      <description>&lt;P&gt;the log gives the same error:&amp;nbsp;&lt;/P&gt;&lt;P&gt;failed 'f_operate_node_request PoolNode:All:Stop'. rC=1&lt;BR /&gt;ERROR: f_operate_node_request: The consul-template-operation-node service may be down or failed to invoke its template script. node: pgpool0, wait time=16s&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;2025-12-16 12:15:37.697 LOG: f_read_kv_to_var: /opt/sas/viya/home/bin/sas-bootstrap-config kv read config/postgres/admin/pgpool2/operation_status&lt;BR /&gt;2025-12-16 12:15:37.928 LOG: f_read_kv_to_var: config/postgres/admin/pgpool2/operation_status=Successful&lt;BR /&gt;2025-12-16 12:15:37.943 LOG: f_operate_node_request: f_release_lock CurrentLockNodeOperation&lt;BR /&gt;2025-12-16 12:15:37.958 LOG: f_release_lock: f_assert_env AnyTypeNode sas&lt;BR /&gt;2025-12-16 12:15:37.973 LOG: f_release_lock: Release lock: /opt/sas/viya/home/bin/sas-bootstrap-config kv lock release --key config/postgres/session/CurrentLockNodeOperation --session-id f08b016d-cbd0-9265-6757-9392118acad4&lt;BR /&gt;true&lt;BR /&gt;2025-12-16 12:15:38.237 LOG: f_release_lock: Released the Consul lock&lt;BR /&gt;2025-12-16 12:15:38.252 LOG: f_delete_lock_session: f_assert_env AnyTypeNode sas&lt;BR /&gt;2025-12-16 12:15:38.266 LOG: f_delete_lock_session: Delete session: /opt/sas/viya/home/bin/sas-bootstrap-config session delete --id f08b016d-cbd0-9265-6757-9392118acad4&lt;BR /&gt;2025-12-16 12:15:38.545 LOG: f_delete_lock_session: Consul lock session f08b016d-cbd0-9265-6757-9392118acad4 was deleted&lt;BR /&gt;2025-12-16 12:15:38.555 ERROR: f_operate_node_request: Failed PoolNode:All:Stop for postgres&lt;BR /&gt;2025-12-16 12:15:38.564 ERROR: f_stop_cluster: failed 'f_operate_node_request PoolNode:All:Stop'. rC=1&lt;BR /&gt;ERROR: f_operate_node_request: The consul-template-operation-node service may be down or failed to invoke its template script. node: pgpool0, wait time=16s&lt;BR /&gt;ERROR: f_operate_node_request: Failed PoolNode:All:Stop for postgres&lt;BR /&gt;ERROR: f_stop_cluster: failed 'f_operate_node_request PoolNode:All:Stop'. rC=1&lt;BR /&gt;2025-12-16 12:15:38.574 ERROR: main: failed 'f_stop_cluster'. rC=1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The virtual IP address is set somewhere in the pgpool config files ? Can it be modified?&lt;/P&gt;&lt;P&gt;I tried to restart pgpool and postgresql services but the same error appears.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Dec 2025 17:33:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-consul-and-postgres-errors/m-p/980838#M30516</guid>
      <dc:creator>manix</dc:creator>
      <dc:date>2025-12-16T17:33:18Z</dc:date>
    </item>
    <item>
      <title>Re: SAS consul and postgres errors</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-consul-and-postgres-errors/m-p/980849#M30517</link>
      <description>Are the postgres consul services running? The message suggests "sas-viya-sasdatasvrc-postgres-pgpool0-consul-template-operation_node" is not.</description>
      <pubDate>Tue, 16 Dec 2025 19:21:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-consul-and-postgres-errors/m-p/980849#M30517</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2025-12-16T19:21:25Z</dc:date>
    </item>
    <item>
      <title>Re: SAS consul and postgres errors</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-consul-and-postgres-errors/m-p/980851#M30518</link>
      <description>&lt;P&gt;the service is running:&lt;/P&gt;&lt;P&gt;./sas-viya-sasdatasvrc-postgres-pgpool0-consul-template-operation_node status&lt;BR /&gt;./sas-viya-sasdatasvrc-postgres-pgpool0-consul-template-operation_node sourcing sds_set_env_variable with /opt/sas/viya/config/etc/sasdatasvrc/postgres/pgpool0/sds_env_var.sh...&lt;BR /&gt;SAS_HOSTNAME=sas1.onrc.ro, SAS_SERVICE_ADDR=sas1.onrc.ro, SAS_BIND_ADDR=172.16.18.44&lt;BR /&gt;VAULT_ADDR: &lt;A href="https://sas3.onrc.ro:8200" target="_blank"&gt;https://sas3.onrc.ro:8200&lt;/A&gt;&lt;BR /&gt;SASCONFIG=/opt/sas/viya/config, PGHOME=/opt/sas/viya/home/postgresql11, PGPOOLHOME=/opt/sas/viya/home/pgpool-II40&lt;BR /&gt;POSTGRES_FULL_VERSION=11.9, PGPOOL_FULL_VERSION=4.0.6&lt;BR /&gt;Sourced. HA_PGPOOL_COUNT=3, SASCONFIG=/opt/sas/viya/config, SAS_LOG_DIR=/opt/sas/viya/config/var/log&lt;/P&gt;&lt;P&gt;Service sas-viya-sasdatasvrc-postgres-pgpool0-consul-template-operation_node is running with PID 202254.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this, i think is where the virtual IP and other parameters are defined:&lt;/P&gt;&lt;P&gt;cat /opt/sas/viya/config/etc/sasdatasvrc/postgres/pgpool0/sds_env_var.sh&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;export CONSUL_PORT="8500"&lt;BR /&gt;export DEFAULT_POSTGRES_SERVICE="postgres"&lt;BR /&gt;export INSTALL_GROUP="sas"&lt;BR /&gt;export INSTALL_USER="sas"&lt;BR /&gt;export INVENTORY_HOSTNAME="casactive"&lt;BR /&gt;export SASCONFIG="/opt/sas/viya/config/etc/sasdatasvrc"&lt;BR /&gt;export SASHOME="/opt/sas/viya/home"&lt;BR /&gt;export SAS_LOG_DIR="/opt/sas/viya/config/var/log/sasdatasvrc"&lt;/P&gt;&lt;P&gt;export HA_PGPOOL_VIRTUAL_IP=172.16.18.70&lt;BR /&gt;export HA_PGPOOL_WATCHDOG_PORT=5433&lt;BR /&gt;export PCP_PORT=5430&lt;BR /&gt;export PERMS_OVERRIDE=false&lt;BR /&gt;export PGPOOL_PORT=5431&lt;BR /&gt;export POOL_NUMBER=0&lt;BR /&gt;export SANMOUNT=/opt/sas/viya/config/data/sasdatasvrc&lt;BR /&gt;export SERVICE_NAME=postgres&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the same folder i have the watchdog output file:&lt;/P&gt;&lt;P&gt;cat pcp_watchdog_info.out&lt;BR /&gt;ERROR: connection to host "172.16.18.70" failed with error "No route to host"&lt;/P&gt;</description>
      <pubDate>Tue, 16 Dec 2025 20:03:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-consul-and-postgres-errors/m-p/980851#M30518</guid>
      <dc:creator>manix</dc:creator>
      <dc:date>2025-12-16T20:03:48Z</dc:date>
    </item>
    <item>
      <title>Re: SAS consul and postgres errors</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-consul-and-postgres-errors/m-p/980866#M30519</link>
      <description>You may want to perform these steps to verify the Virtual IP is set up correctly:&lt;BR /&gt;&lt;BR /&gt;Verify the Virtual IP Address for HA pgpool-II&lt;BR /&gt;&lt;A href="https://go.documentation.sas.com/doc/en/calcdc/3.5/dplyml0phy0lax/n0fk6oairnlkuon1bgjg97jen3b8.htm" target="_blank"&gt;https://go.documentation.sas.com/doc/en/calcdc/3.5/dplyml0phy0lax/n0fk6oairnlkuon1bgjg97jen3b8.htm&lt;/A&gt;</description>
      <pubDate>Tue, 16 Dec 2025 21:31:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-consul-and-postgres-errors/m-p/980866#M30519</guid>
      <dc:creator>gwootton</dc:creator>
      <dc:date>2025-12-16T21:31:20Z</dc:date>
    </item>
    <item>
      <title>Re: SAS consul and postgres errors</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-consul-and-postgres-errors/m-p/980888#M30520</link>
      <description>&lt;P&gt;I should mention that SAS is configured on a cluster so I don't know if the virtual IP shoul be assigned to that particular node.&lt;/P&gt;&lt;P&gt;All commands from from the documentation give some kind of error:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;[root@sas1 pgpool0]# nslookup 172.16.18.70&lt;BR /&gt;** server can't find 70.18.16.172.in-addr.arpa.: NXDOMAIN&lt;/P&gt;&lt;P&gt;[root@sas1 pgpool0]# arping -c 3 172.16.18.70&lt;BR /&gt;arping: Suitable device could not be determined. Please, use option -I.&lt;BR /&gt;Usage: arping [-fqbDUAV] [-c count] [-w timeout] [-I device] [-s source] destination&lt;BR /&gt;-f : quit on first reply&lt;BR /&gt;-q : be quiet&lt;BR /&gt;-b : keep broadcasting, don't go unicast&lt;BR /&gt;-D : duplicate address detection mode&lt;BR /&gt;-U : Unsolicited ARP mode, update your neighbours&lt;BR /&gt;-A : ARP answer mode, update your neighbours&lt;BR /&gt;-V : print version and exit&lt;BR /&gt;-c count : how many packets to send&lt;BR /&gt;-w timeout : how long to wait for a reply&lt;BR /&gt;-I device : which ethernet device to use&lt;BR /&gt;-s source : source ip address&lt;BR /&gt;destination : ask for what ip address&lt;BR /&gt;[root@sas1 pgpool0]# arping -I eth0 172.16.18.70&lt;BR /&gt;arping: Device eth0 not available.&lt;BR /&gt;[root@sas1 pgpool0]# arping -I bond0 172.16.18.70&lt;BR /&gt;ARPING 172.16.18.70 from 172.16.18.44 bond0&lt;BR /&gt;^CSent 189 probes (189 broadcast(s))&lt;BR /&gt;Received 0 response(s)&lt;BR /&gt;[root@sas1 pgpool0]# ipneigh grep 172.16.18.70&lt;BR /&gt;bash: ipneigh: command not found...&lt;BR /&gt;[root@sas1 pgpool0]# ip neigh grep 172.16.18.70&lt;BR /&gt;Command "grep" is unknown, try "ip neigh help".&lt;BR /&gt;[root@sas1 pgpool0]# ip neigh | grep 172.16.18.70&lt;BR /&gt;172.16.18.70 dev bond0 FAILED&lt;BR /&gt;[root@sas1 pgpool0]# arp -a | grep 172.16.18.70&lt;BR /&gt;? (172.16.18.70) at &amp;lt;incomplete&amp;gt; on bond0&lt;BR /&gt;[root@sas1 pgpool0]# ifconfig | egrep 'RUNNING|broadcast|Ethernet'&lt;BR /&gt;bond0: flags=5187&amp;lt;UP,BROADCAST,RUNNING,MASTER,MULTICAST&amp;gt; mtu 1500&lt;BR /&gt;inet 172.16.18.44 netmask 255.255.255.0 broadcast 172.16.18.255&lt;BR /&gt;ether 38:68:dd:1f:44:50 txqueuelen 1000 (Ethernet)&lt;BR /&gt;bond0:0: flags=5187&amp;lt;UP,BROADCAST,RUNNING,MASTER,MULTICAST&amp;gt; mtu 1500&lt;BR /&gt;inet 172.16.18.71 netmask 255.255.255.255 broadcast 0.0.0.0&lt;BR /&gt;ether 38:68:dd:1f:44:50 txqueuelen 1000 (Ethernet)&lt;BR /&gt;bond1: flags=5187&amp;lt;UP,BROADCAST,RUNNING,MASTER,MULTICAST&amp;gt; mtu 1500&lt;BR /&gt;inet 172.16.18.45 netmask 255.255.255.0 broadcast 172.16.18.255&lt;BR /&gt;ether b0:26:28:f7:97:25 txqueuelen 1000 (Ethernet)&lt;BR /&gt;eno1: flags=6211&amp;lt;UP,BROADCAST,RUNNING,SLAVE,MULTICAST&amp;gt; mtu 1500&lt;BR /&gt;ether 38:68:dd:1f:44:50 txqueuelen 1000 (Ethernet)&lt;BR /&gt;eno2: flags=6211&amp;lt;UP,BROADCAST,RUNNING,SLAVE,MULTICAST&amp;gt; mtu 1500&lt;BR /&gt;ether 38:68:dd:1f:44:50 txqueuelen 1000 (Ethernet)&lt;BR /&gt;ens1f0: flags=4163&amp;lt;UP,BROADCAST,RUNNING,MULTICAST&amp;gt; mtu 1500&lt;BR /&gt;ether b0:26:28:f7:97:24 txqueuelen 1000 (Ethernet)&lt;BR /&gt;ens1f1: flags=6211&amp;lt;UP,BROADCAST,RUNNING,SLAVE,MULTICAST&amp;gt; mtu 1500&lt;BR /&gt;ether b0:26:28:f7:97:25 txqueuelen 1000 (Ethernet)&lt;BR /&gt;lo: flags=73&amp;lt;UP,LOOPBACK,RUNNING&amp;gt; mtu 65536&lt;BR /&gt;inet 192.168.122.1 netmask 255.255.255.0 broadcast 192.168.122.255&lt;BR /&gt;ether 52:54:00:30:ae:1e txqueuelen 1000 (Ethernet)&lt;BR /&gt;[root@sas1 pgpool0]# ip addr | egrep 'LOWER_UP|link/ether|inet '&lt;BR /&gt;1: lo: &amp;lt;LOOPBACK,UP,LOWER_UP&amp;gt; mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000&lt;BR /&gt;inet 127.0.0.1/8 scope host lo&lt;BR /&gt;2: eno1: &amp;lt;BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP&amp;gt; mtu 1500 qdisc mq master bond0 state UP group default qlen 1000&lt;BR /&gt;link/ether 38:68:dd:1f:44:50 brd ff:ff:ff:ff:ff:ff&lt;BR /&gt;3: ens1f0: &amp;lt;BROADCAST,MULTICAST,UP,LOWER_UP&amp;gt; mtu 1500 qdisc mq state UP group default qlen 1000&lt;BR /&gt;link/ether b0:26:28:f7:97:24 brd ff:ff:ff:ff:ff:ff&lt;BR /&gt;4: ens1f1: &amp;lt;BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP&amp;gt; mtu 1500 qdisc mq master bond1 state UP group default qlen 1000&lt;BR /&gt;link/ether b0:26:28:f7:97:25 brd ff:ff:ff:ff:ff:ff&lt;BR /&gt;5: eno2: &amp;lt;BROADCAST,MULTICAST,SLAVE,UP,LOWER_UP&amp;gt; mtu 1500 qdisc mq master bond0 state UP group default qlen 1000&lt;BR /&gt;link/ether 38:68:dd:1f:44:50 brd ff:ff:ff:ff:ff:ff&lt;BR /&gt;7: bond0: &amp;lt;BROADCAST,MULTICAST,MASTER,UP,LOWER_UP&amp;gt; mtu 1500 qdisc noqueue state UP group default qlen 1000&lt;BR /&gt;link/ether 38:68:dd:1f:44:50 brd ff:ff:ff:ff:ff:ff&lt;BR /&gt;inet 172.16.18.44/24 brd 172.16.18.255 scope global bond0&lt;BR /&gt;inet 172.16.18.71/32 scope global bond0:0&lt;BR /&gt;8: bond1: &amp;lt;BROADCAST,MULTICAST,MASTER,UP,LOWER_UP&amp;gt; mtu 1500 qdisc noqueue state UP group default qlen 1000&lt;BR /&gt;link/ether b0:26:28:f7:97:25 brd ff:ff:ff:ff:ff:ff&lt;BR /&gt;inet 172.16.18.45/24 brd 172.16.18.255 scope global bond1&lt;BR /&gt;link/ether 52:54:00:30:ae:1e brd ff:ff:ff:ff:ff:ff&lt;BR /&gt;inet 192.168.122.1/24 brd 192.168.122.255 scope global virbr0&lt;BR /&gt;link/ether 52:54:00:30:ae:1e brd ff:ff:ff:ff:ff:ff&lt;BR /&gt;link/ether 3a:68:dd:1f:44:57 brd ff:ff:ff:ff:ff:ff&lt;/P&gt;</description>
      <pubDate>Wed, 17 Dec 2025 06:57:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-consul-and-postgres-errors/m-p/980888#M30520</guid>
      <dc:creator>manix</dc:creator>
      <dc:date>2025-12-17T06:57:32Z</dc:date>
    </item>
    <item>
      <title>Re: SAS consul and postgres errors</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/SAS-consul-and-postgres-errors/m-p/980890#M30522</link>
      <description>&lt;P&gt;UPDATE:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After a while,&amp;nbsp;ip neigh | grep 172.16.18.70&amp;nbsp; was showing a STALE status and after that REACHABLE.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was able to restart SAS and now is running.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much for the support!&lt;/P&gt;</description>
      <pubDate>Wed, 17 Dec 2025 08:08:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/SAS-consul-and-postgres-errors/m-p/980890#M30522</guid>
      <dc:creator>manix</dc:creator>
      <dc:date>2025-12-17T08:08:28Z</dc:date>
    </item>
  </channel>
</rss>

