ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: "Караваев Павел" <pppd@yandex.ru>
To: sysadmins@lists.altlinux.org
Subject: [Sysadmins] microdc2 + ovz = segmentation fault
Date: Tue, 02 Feb 2010 12:27:07 +0300
Message-ID: <19501265102827@webmail101.yandex.ru> (raw)

Приветствую сообщество!
Собрал vz на базе 4.0/branch x86_64, сделал apt-get install microdc2. При запуске microdc2 -n (без чтения конфига) работает нормально, а вот с чтением конфига получаем:

[dc@pereliv ~]$ strace microdc2
execve("/usr/bin/microdc2", ["microdc2"], [/* 28 vars */]) = 0
brk(0)
..
open("/etc/localtime", O_RDONLY)        = 18
fstat(18, {st_mode=S_IFREG|0644, st_size=2032, ...}) = 0
fstat(18, {st_mode=S_IFREG|0644, st_size=2032, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb336aa5000
read(18, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\16\0\0\0\16\0\0\0\0"..., 4096) = 2032
lseek(18, -1265, SEEK_CUR)              = 767
read(18, "TZif2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\16\0\0\0\16\0\0\0\0"..., 4096) = 1265
close(18)                               = 0
munmap(0x7fb336aa5000, 4096)            = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2032, ...}) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Process 8056 detached
[dc@pereliv ~]$

При запуске от рута - то же самое.

[dc@pereliv ~]$ rpm -qa|grep glibc
glibc-core-2.5-alt4
glibc-nss-2.5-alt4
glibc-locales-2.5-alt4
glibc-timezones-2.5-alt4
glibc-i18ndata-2.5-alt4
glibc-devel-2.5-alt4
glibc-preinstall-2.5-alt4
glibc-utils-2.5-alt4
glibc-gconv-modules-2.5-alt4
glibc-2.5-alt4
glibc-profile-2.5-alt4
glibc-kernheaders-2.6.17-alt6
[dc@pereliv ~]$

Какого-то пакета не хватает или local misconfig?
P.S. В этом же контейнере запущены apache,mysql,phpmyadmin - полет нормальный.


             reply	other threads:[~2010-02-02  9:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-02  9:27 Караваев Павел [this message]
2010-02-02  9:31 ` Караваев Павел
2010-02-02  9:39 ` Konstantin Pavlov
2010-02-02 10:47   ` pppd
2010-02-02 12:00     ` Timur Batyrshin
2010-02-02 12:34       ` pppd

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=19501265102827@webmail101.yandex.ru \
    --to=pppd@yandex.ru \
    --cc=sysadmins@lists.altlinux.org \
    /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 sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git