pg.ddx.io pgsql-general@postgresql.org mailing list archivehelp / color / mirror / Atom feed
How can I kow my permissions? 5+ messages / 4 participants [nested] [flat]
* How can I kow my permissions? @ 1996-01-30 04:19 Waldemar Baraldi <wbaraldi@lacasilla.com.ar> 0 siblings, 0 replies; 5+ messages in thread From: Waldemar Baraldi @ 1996-01-30 04:19 UTC (permalink / raw) To: pgsql-general I'm programming a database application that uses the API, but I have some security issues that I have to manage, so I need to know my access rights on a table and the "try" technique is not appropiate because if I get a "Permission denied" then my transaction block is aborted and I don't want that to happend. The psql program can read it with the \z option so I know that it can be done, so, how? from tha API, a query? which?. Thanks in advance and sorry for my English, I speak Spanish. ^ permalink raw reply [nested|flat] 5+ messages in thread
* Add to watchdog cluster request is rejected by node @ 2018-06-11 13:06 Jean Claude <jeancld38@gmail.com> 2018-06-11 13:15 ` Fwd: Add to watchdog cluster request is rejected by node Jean Claude <jeancld38@gmail.com> 2018-06-12 09:09 ` Re: Add to watchdog cluster request is rejected by node Bo Peng <pengbo@sraoss.co.jp> 0 siblings, 2 replies; 5+ messages in thread From: Jean Claude @ 2018-06-11 13:06 UTC (permalink / raw) To: pgsql-general@lists.postgresql.org Hi, The following error is a bug ? Jun 11 08:57:04 asa-pgpool02 pgpool[3240]: [1-1] 2018-06-11 08:57:04: pid 3240: WARNING: checking setuid bit of if_up_cmd Jun 11 08:57:04 asa-pgpool02 pgpool[3240]: [1-2] 2018-06-11 08:57:04: pid 3240: DETAIL: ifup[/sbin/ip] doesn't have setuid bit Jun 11 08:57:04 asa-pgpool02 pgpool[3240]: [2-1] 2018-06-11 08:57:04: pid 3240: WARNING: checking setuid bit of if_down_cmd Jun 11 08:57:04 asa-pgpool02 pgpool[3240]: [2-2] 2018-06-11 08:57:04: pid 3240: DETAIL: ifdown[/sbin/ip] doesn't have setuid bit Jun 11 08:57:04 asa-pgpool02 pgpool[3240]: [3-1] 2018-06-11 08:57:04: pid 3240: LOG: waiting for watchdog to initialize Jun 11 08:57:04 asa-pgpool02 pgpool[3241]: [3-1] 2018-06-11 08:57:04: pid 3241: LOG: setting the local watchdog node name to " asa-pgpool02.adm.cacc.ch:5432 Linux asa-pgpool02" Jun 11 08:57:04 asa-pgpool02 pgpool[3241]: [4-1] 2018-06-11 08:57:04: pid 3241: LOG: watchdog cluster is configured with 1 remote nodes Jun 11 08:57:04 asa-pgpool02 pgpool[3241]: [5-1] 2018-06-11 08:57:04: pid 3241: LOG: watchdog remote node:0 on asa-pgpool01.adm.cacc.ch:9000 Jun 11 08:57:04 asa-pgpool02 pgpool[3241]: [6-1] 2018-06-11 08:57:04: pid 3241: LOG: interface monitoring is disabled in watchdog Jun 11 08:57:04 asa-pgpool02 pgpool[3241]: [7-1] 2018-06-11 08:57:04: pid 3241: LOG: watchdog node state changed from [DEAD] to [LOADING] Jun 11 08:57:04 asa-pgpool02 pgpool[3241]: [8-1] 2018-06-11 08:57:04: pid 3241: LOG: new outbound connection to asa-pgpool01.adm.cacc.ch:9000 Jun 11 08:57:04 asa-pgpool02 pgpool[3241]: [9-1] 2018-06-11 08:57:04: pid 3241: *FATAL: Add to watchdog cluster request is rejected by node "asa-pgpool01.adm.cacc.ch:9000 <http://asa-pgpool01.adm.cacc.ch:9000>"* pgpool-II version : pgpool-II version 3.7.3 (amefuriboshi) Thanks. ^ permalink raw reply [nested|flat] 5+ messages in thread
* Fwd: Add to watchdog cluster request is rejected by node 2018-06-11 13:06 Add to watchdog cluster request is rejected by node Jean Claude <jeancld38@gmail.com> @ 2018-06-11 13:15 ` Jean Claude <jeancld38@gmail.com> 2018-06-11 16:56 ` Re: Fwd: Add to watchdog cluster request is rejected by node Adrian Klaver <adrian.klaver@aklaver.com> 1 sibling, 1 reply; 5+ messages in thread From: Jean Claude @ 2018-06-11 13:15 UTC (permalink / raw) To: pgsql-general Hi all, How I can resolved this error after restart my pgpool-II standby ? Jun 11 08:57:04 asa-pgpool02 pgpool[3240]: [1-1] 2018-06-11 08:57:04: pid 3240: WARNING: checking setuid bit of if_up_cmd Jun 11 08:57:04 asa-pgpool02 pgpool[3240]: [1-2] 2018-06-11 08:57:04: pid 3240: DETAIL: ifup[/sbin/ip] doesn't have setuid bit Jun 11 08:57:04 asa-pgpool02 pgpool[3240]: [2-1] 2018-06-11 08:57:04: pid 3240: WARNING: checking setuid bit of if_down_cmd Jun 11 08:57:04 asa-pgpool02 pgpool[3240]: [2-2] 2018-06-11 08:57:04: pid 3240: DETAIL: ifdown[/sbin/ip] doesn't have setuid bit Jun 11 08:57:04 asa-pgpool02 pgpool[3240]: [3-1] 2018-06-11 08:57:04: pid 3240: LOG: waiting for watchdog to initialize Jun 11 08:57:04 asa-pgpool02 pgpool[3241]: [3-1] 2018-06-11 08:57:04: pid 3241: LOG: setting the local watchdog node name to " asa-pgpool02.adm.cacc.ch:5432 Linux asa-pgpool02" Jun 11 08:57:04 asa-pgpool02 pgpool[3241]: [4-1] 2018-06-11 08:57:04: pid 3241: LOG: watchdog cluster is configured with 1 remote nodes Jun 11 08:57:04 asa-pgpool02 pgpool[3241]: [5-1] 2018-06-11 08:57:04: pid 3241: LOG: watchdog remote node:0 on asa-pgpool01.adm.cacc.ch:9000 Jun 11 08:57:04 asa-pgpool02 pgpool[3241]: [6-1] 2018-06-11 08:57:04: pid 3241: LOG: interface monitoring is disabled in watchdog Jun 11 08:57:04 asa-pgpool02 pgpool[3241]: [7-1] 2018-06-11 08:57:04: pid 3241: LOG: watchdog node state changed from [DEAD] to [LOADING] Jun 11 08:57:04 asa-pgpool02 pgpool[3241]: [8-1] 2018-06-11 08:57:04: pid 3241: LOG: new outbound connection to asa-pgpool01.adm.cacc.ch:9000 Jun 11 08:57:04 asa-pgpool02 pgpool[3241]: [9-1] 2018-06-11 08:57:04: pid 3241: *FATAL: Add to watchdog cluster request is rejected by node "asa-pgpool01.adm.cacc.ch:9000 <http://asa-pgpool01.adm.cacc.ch:9000>"* pgpool-II version : pgpool-II version 3.7.3 (amefuriboshi) Thanks. ^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: Fwd: Add to watchdog cluster request is rejected by node 2018-06-11 13:06 Add to watchdog cluster request is rejected by node Jean Claude <jeancld38@gmail.com> 2018-06-11 13:15 ` Fwd: Add to watchdog cluster request is rejected by node Jean Claude <jeancld38@gmail.com> @ 2018-06-11 16:56 ` Adrian Klaver <adrian.klaver@aklaver.com> 0 siblings, 0 replies; 5+ messages in thread From: Adrian Klaver @ 2018-06-11 16:56 UTC (permalink / raw) To: Jean Claude <jeancld38@gmail.com>; pgsql-general On 06/11/2018 06:15 AM, Jean Claude wrote: > Hi all, > > How I can resolved this error after restart my pgpool-II standby ? > > > Jun 11 08:57:04 asa-pgpool02 pgpool[3240]: [1-1] 2018-06-11 08:57:04: > pid 3240: WARNING: checking setuid bit of if_up_cmd > Jun 11 08:57:04 asa-pgpool02 pgpool[3240]: [1-2] 2018-06-11 08:57:04: > pid 3240: DETAIL: ifup[/sbin/ip] doesn't have setuid bit > Jun 11 08:57:04 asa-pgpool02 pgpool[3240]: [2-1] 2018-06-11 08:57:04: > pid 3240: WARNING: checking setuid bit of if_down_cmd > Jun 11 08:57:04 asa-pgpool02 pgpool[3240]: [2-2] 2018-06-11 08:57:04: > pid 3240: DETAIL: ifdown[/sbin/ip] doesn't have setuid bit > Jun 11 08:57:04 asa-pgpool02 pgpool[3240]: [3-1] 2018-06-11 08:57:04: > pid 3240: LOG: waiting for watchdog to initialize > Jun 11 08:57:04 asa-pgpool02 pgpool[3241]: [3-1] 2018-06-11 08:57:04: > pid 3241: LOG: setting the local watchdog node name to > "asa-pgpool02.adm.cacc.ch:5432 <http://asa-pgpool02.adm.cacc.ch:5432; > Linux asa-pgpool02" > Jun 11 08:57:04 asa-pgpool02 pgpool[3241]: [4-1] 2018-06-11 08:57:04: > pid 3241: LOG: watchdog cluster is configured with 1 remote nodes > Jun 11 08:57:04 asa-pgpool02 pgpool[3241]: [5-1] 2018-06-11 08:57:04: > pid 3241: LOG: watchdog remote node:0 on asa-pgpool01.adm.cacc.ch:9000 > <http://asa-pgpool01.adm.cacc.ch:9000; > Jun 11 08:57:04 asa-pgpool02 pgpool[3241]: [6-1] 2018-06-11 08:57:04: > pid 3241: LOG: interface monitoring is disabled in watchdog > Jun 11 08:57:04 asa-pgpool02 pgpool[3241]: [7-1] 2018-06-11 08:57:04: > pid 3241: LOG: watchdog node state changed from [DEAD] to [LOADING] > Jun 11 08:57:04 asa-pgpool02 pgpool[3241]: [8-1] 2018-06-11 08:57:04: > pid 3241: LOG: new outbound connection to asa-pgpool01.adm.cacc.ch:9000 > <http://asa-pgpool01.adm.cacc.ch:9000; > Jun 11 08:57:04 asa-pgpool02 pgpool[3241]: [9-1] 2018-06-11 08:57:04: > pid 3241: *FATAL: Add to watchdog cluster request is rejected by node > "asa-pgpool01.adm.cacc.ch:9000 <http://asa-pgpool01.adm.cacc.ch:9000>"* I don't use pgpool, but looks to me like asa-pgpool01.adm.cacc.ch is not set up for watchdog mode. Have you looked at this: http://www.pgpool.net/docs/latest/en/html/example-watchdog.html If that does not help then I would suggest asking here: https://www.pgpool.net/mailman/listinfo/pgpool-general > * > * > pgpool-II version :* > *pgpool-II version 3.7.3 (amefuriboshi)* > > * > Thanks. > -- Adrian Klaver adrian.klaver@aklaver.com ^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: Add to watchdog cluster request is rejected by node 2018-06-11 13:06 Add to watchdog cluster request is rejected by node Jean Claude <jeancld38@gmail.com> @ 2018-06-12 09:09 ` Bo Peng <pengbo@sraoss.co.jp> 1 sibling, 0 replies; 5+ messages in thread From: Bo Peng @ 2018-06-12 09:09 UTC (permalink / raw) To: Jean Claude <jeancld38@gmail.com>; +Cc: pgsql-general@lists.postgresql.org Hi, I think it would be better to make questions in the Pgpool-II dedicated mailing list pgpool-general@pgpool.net. > 3240: WARNING: checking setuid bit of if_up_cmd > Jun 11 08:57:04 asa-pgpool02 pgpool[3240]: [1-2] 2018-06-11 08:57:04: pid > 3240: DETAIL: ifup[/sbin/ip] doesn't have setuid bit It seems like that the parameters "if_up_cmd" and "if_down_cmd" are not set correctly Please make sure you set correct network interface name. For example, if your network interface name is "ens192", you need set that like: --- if_up_cmd = 'ip addr add $_IP_$/24 dev ens192 label ens192:0' if_down_cmd = 'ip addr del $_IP_$/24 dev ens192' arping_cmd = 'arping -U $_IP_$ -w 1 -I ens192' --- On Mon, 11 Jun 2018 15:06:35 +0200 Jean Claude <jeancld38@gmail.com> wrote: > Hi, > > The following error is a bug ? > > Jun 11 08:57:04 asa-pgpool02 pgpool[3240]: [1-1] 2018-06-11 08:57:04: pid > 3240: WARNING: checking setuid bit of if_up_cmd > Jun 11 08:57:04 asa-pgpool02 pgpool[3240]: [1-2] 2018-06-11 08:57:04: pid > 3240: DETAIL: ifup[/sbin/ip] doesn't have setuid bit > Jun 11 08:57:04 asa-pgpool02 pgpool[3240]: [2-1] 2018-06-11 08:57:04: pid > 3240: WARNING: checking setuid bit of if_down_cmd > Jun 11 08:57:04 asa-pgpool02 pgpool[3240]: [2-2] 2018-06-11 08:57:04: pid > 3240: DETAIL: ifdown[/sbin/ip] doesn't have setuid bit > Jun 11 08:57:04 asa-pgpool02 pgpool[3240]: [3-1] 2018-06-11 08:57:04: pid > 3240: LOG: waiting for watchdog to initialize > Jun 11 08:57:04 asa-pgpool02 pgpool[3241]: [3-1] 2018-06-11 08:57:04: pid > 3241: LOG: setting the local watchdog node name to " > asa-pgpool02.adm.cacc.ch:5432 Linux asa-pgpool02" > Jun 11 08:57:04 asa-pgpool02 pgpool[3241]: [4-1] 2018-06-11 08:57:04: pid > 3241: LOG: watchdog cluster is configured with 1 remote nodes > Jun 11 08:57:04 asa-pgpool02 pgpool[3241]: [5-1] 2018-06-11 08:57:04: pid > 3241: LOG: watchdog remote node:0 on asa-pgpool01.adm.cacc.ch:9000 > Jun 11 08:57:04 asa-pgpool02 pgpool[3241]: [6-1] 2018-06-11 08:57:04: pid > 3241: LOG: interface monitoring is disabled in watchdog > Jun 11 08:57:04 asa-pgpool02 pgpool[3241]: [7-1] 2018-06-11 08:57:04: pid > 3241: LOG: watchdog node state changed from [DEAD] to [LOADING] > Jun 11 08:57:04 asa-pgpool02 pgpool[3241]: [8-1] 2018-06-11 08:57:04: pid > 3241: LOG: new outbound connection to asa-pgpool01.adm.cacc.ch:9000 > Jun 11 08:57:04 asa-pgpool02 pgpool[3241]: [9-1] 2018-06-11 08:57:04: pid > 3241: *FATAL: Add to watchdog cluster request is rejected by node > "asa-pgpool01.adm.cacc.ch:9000 <http://asa-pgpool01.adm.cacc.ch:9000>"* > > pgpool-II version : > pgpool-II version 3.7.3 (amefuriboshi) > > Thanks. -- Bo Peng <pengbo@sraoss.co.jp> SRA OSS, Inc. Japan ^ permalink raw reply [nested|flat] 5+ messages in thread
end of thread, other threads:[~2018-06-12 09:09 UTC | newest] Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 1996-01-30 04:19 How can I kow my permissions? Waldemar Baraldi <wbaraldi@lacasilla.com.ar> 2018-06-11 13:06 Add to watchdog cluster request is rejected by node Jean Claude <jeancld38@gmail.com> 2018-06-11 13:15 ` Fwd: Add to watchdog cluster request is rejected by node Jean Claude <jeancld38@gmail.com> 2018-06-11 16:56 ` Re: Fwd: Add to watchdog cluster request is rejected by node Adrian Klaver <adrian.klaver@aklaver.com> 2018-06-12 09:09 ` Re: Add to watchdog cluster request is rejected by node Bo Peng <pengbo@sraoss.co.jp>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox