From: Sergei Dolmatov <sergei@dolmatov.dsb.ru> To: AltLinux Sisyphus <sisyphus@altlinux.ru> Subject: [sisyphus] PostgreSQL start with logging Date: Thu, 17 Apr 2003 18:15:18 +0900 Message-ID: <20030417091518.GC13033@dolmatov.dsb.ru> (raw) Hello! Сегодня обновил PostgreSQL до postgresql-7.3.2-alt1. И наткнулся на непонятное поведение при выключении "тихого" режима. То есть - когда убираешь из /etc/init.d/postgresql параметр -S из строки: daemon /usr/bin/postmaster -D $PGDATA -S -r $PG_CHROOT_DIR то при старте постгрес замерзает на "Starting postgresql:" При этом в процессах висит: 24761 pts/3 S 0:00 /bin/sh /sbin/service postgresql start 24762 pts/3 S 0:00 /bin/sh /etc/init.d/postgresql start 25088 pts/3 S 0:00 initlog -q -n postmaster -c sh -c '/usr/bin/postmaster -D /var/lib/pgsql/data -r /var/lib/pgsql-root' 25089 pts/3 S 0:00 /usr/bin/postmaster -D /var/lib/pgsql/data -r /var/lib/pgsql-root Вот, отвалился с ошибкой: Starting postgresql: initlog: waitpid: No child processes [FAILED] При этом postmaster висит в процессах: 25089 pts/3 S 0:00 /usr/bin/postmaster -D /var/lib/pgsql/data -r /var/lib/pgsql-root Но на попытки соединения получаю сообщение о том, что сервер не отвечает. strace показывает, что postmaster находится в select: # strace -p 25089 select(5, [3 4], [], NULL, {171, 340000} <unfinished ...> В postgresql.conf написано: # cat /var/lib/pgsql/data/postgresql.conf| grep syslog syslog = 2 # range 0-2 syslog_facility = 'LOCAL0' syslog_ident = 'postgres' Где могут быть грабли? Или я чего-то пропустил? -- Regards, Sergei Dolmatov. --- You had mail. Paul read it, so ask him what it said.
next reply other threads:[~2003-04-17 9:15 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2003-04-17 9:15 Sergei Dolmatov [this message] 2003-04-18 3:55 ` Konstantin Timoshenko 2003-04-18 5:43 ` Sergei Dolmatov 2003-04-18 6:01 ` Konstantin Timoshenko 2003-04-18 6:08 ` Sergei Dolmatov 2003-04-18 6:10 ` Konstantin Timoshenko 2003-04-18 6:35 ` Sergei Dolmatov 2003-04-18 8:32 ` Konstantin Timoshenko 2003-09-06 5:13 ` Sergei Dolmatov
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20030417091518.GC13033@dolmatov.dsb.ru \ --to=sergei@dolmatov.dsb.ru \ --cc=sisyphus@altlinux.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Sisyphus discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \ sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru public-inbox-index sisyphus Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sisyphus AGPL code for this site: git clone https://public-inbox.org/public-inbox.git