Segfault on webclient ! (Solved)

Franz Skale i.bin at dah.am
Mon Mar 2 01:26:59 CET 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Now i finally solved it on my own.
The problem was , as mentioned above, that the libdb-4.5 version of
kolab doesn't work without threads on apache2 threaded.
This is the same problem as mentioned in my fist post 2006 !
So, i build a statically linked debian version of db-4.5 and changed
the --with-db4=/kolab to the statically linked target.
Now ot works but how to migrate old (incompatible) syncKolab adresses ?!?
Perhaps anyone can give a hint on it.
kind regards
Franz
Franz Skale schrieb:
> Hi all, now i am really out of options and so i consult you a state
> of the last resort. I really tried all debugging but things don't
> start to work. Now after running 2 years without any probs (Updates
> of the machine a distribution MADE ID NECESSARY TO UPGRADE KOLAB),
> but after 2 days of work i give up. I had severe troubles to get
> beta1 working (segfaults in postfix smtp etc.) but now all in
> working except the webclient. Apache segfaults before reaching the
> login screen. I also tried with external apache+php and got  a
> little bit further but didn't succeed anyway. Current OS: Debian
> Lenny amd64 (Host has 4 GB RAM and multigigE network connection).
>
> Apache2 Debian Lenny: On external client in can login but after the
> login succeeded the Browser windows is blank. The source rerfers
> to: (Get error 500 without a segfault of apache2 (lenny)) <!DOCTYPE
> html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
> "DTD/xhtml1-frameset.dtd"> <html> <head> <link rel="SHORTCUT ICON"
> href="/horde/themes/silver/graphics/favicon.ico" />
> <title>Horde</title> </head>
>
> <frameset id="hf" cols="150,*" framespacing="0" frameborder="0">
> <frame name="horde_menu" src="/horde/services/portal/sidebar.php"
> scrolling="auto" noresize="noresize" /> <frame name="horde_main"
> src="https://dah.am/horde/?frameset_loaded=1" scrolling="auto"
> noresize="noresize" /> </frameset>
>
> </html> Horde Log: Last messages in horde log: (Merged Source from
> kolab. Wrong perms checked with set_perms.sh) Mar 01 20:11:17 HORDE
> [debug] [imp] Max memory usage: 4980736 bytes [pid 12474 on line
> 339 of "/var/www/horde/lib/Horde/Registry.php"] Mar 01 20:11:18
> HORDE [debug] [kronolith] Hook _horde_hook_share_init in
> application horde not called. [pid 11623 on line 1683 of
> "/var/www/horde/lib/Horde.php"] Mar 01 20:11:18 HORDE [debug]
> [kronolith] Max memory usage: 5767168 bytes [pid 11623 on line 339
> of "/var/www/horde/lib/Horde/Registry.php"]
>
> Max Mem is set from 64 to 512 M without any changes.
>
> On kolab the apache segfaults bevor anything is loaded:
> open("/kolab/lib/libdb-4.6.so", O_RDONLY) = -1 ENOENT (No such file
> or directory) open("/kolab/lib/libdb-4.6.so", O_RDONLY) = -1 ENOENT
> (No such file or directory) open("/kolab/local/lib/libdb-4.6.so",
> O_RDONLY) = -1 ENOENT (No such file or directory)
> open("tls/x86_64/libdb-4.6.so", O_RDONLY) = -1 ENOENT (No such file
> or directory) open("tls/libdb-4.6.so", O_RDONLY)      = -1 ENOENT
> (No such file or directory) open("x86_64/libdb-4.6.so", O_RDONLY)
> = -1 ENOENT (No such file or directory) open("libdb-4.6.so",
> O_RDONLY)          = -1 ENOENT (No such file or directory)
> open("/lib/libdb-4.6.so", O_RDONLY)     = -1 ENOENT (No such file
> or directory) open("/usr/lib/libdb-4.6.so", O_RDONLY) = 16 read(16,
> 
> "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200\240\2\0\0\0\0\0@"...,
>  832) = 832 fstat(16, {st_mode=S_IFREG|0644, st_size=1348776, ...})
> = 0 mmap(NULL, 3444864, PROT_READ|PROT_EXEC,
> MAP_PRIVATE|MAP_DENYWRITE, 16, 0) = 0x7f457dced000
> mprotect(0x7f457de31000, 2097152, PROT_NONE) = 0
> mmap(0x7f457e031000, 20480, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 16, 0x144000) = 0x7f457e031000
>  mmap(0x7f457e036000, 128, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f457e036000
> close(16)                               = 0 fcntl(0, F_GETFD)
> = 0 fcntl(0, F_SETFD, FD_CLOEXEC)           = 0 --- SIGSEGV
> (Segmentation fault) @ 0 (0) --- +++ killed by SIGSEGV +++
>
>
> Object strings of mod_php.so: dba_open_db4 dba_close_db4
> dba_fetch_db4 dba_update_db4 dba_exists_db4 dba_delete_db4
> dba_firstkey_db4 dba_nextkey_db4 dba_optimize_db4 dba_sync_db4
> dba_info_db4
>
> Configure string provided by kolab installer: './configure'
> '--prefix=/kolab' '--sysconfdir=/kolab/etc/apache'
> '--with-config-file-path=/kolab/etc/apache'
> '--libdir=/kolab/lib/php' '--disable-all' '--enable-pdo'
> '--with-pdo-sqlite' '--with-sqlite=/kolab' '--without-mysql'
> '--without-pgsql' '--with-gd=/kolab' '--with-jpeg-dir=/kolab'
> '--with-png-dir=/kolab' '--disable-fastcgi' '--with-db4=/kolab'
> '--disable-debug' '--with-zlib=/kolab' '--with-zlib-dir=/kolab'
> '--with-openssl=/kolab' '--with-ldap=/kolab' '--enable-session'
> '--with-mm=/kolab' '--with-pcre-regex=/kolab'
> '--with-gettext=/kolab' '--with-imap=/kolab'
> '--with-imap-ssl=/kolab' '--disable-json' '--enable-xml'
> '--enable-libxml' '--with-libxml-dir=/kolab' '--without-xsl'
> '--enable-dom' '--with-mhash=/kolab' '--with-mcrypt=/kolab'
> '--enable-ctype' '--with-pear=/kolab/lib/php' '--disable-simplexml'
> '--enable-mbregex' '--enable-mbstring' '--with-iconv=/kolab'
> '--disable-spl' '--without-tidy' '--with-apxs2=/kolab/sbin/apxs'
> '--disable-cli' '--disable-cgi' '--enable-force-cgi-redirect'
> '--enable-discard-path'
>
>
> So i think, that --with-db4=/kolab should take the statically
> linked libdb.a and should not open the wrong version from debian
> which is 4.6. Kolab uses 4.5 so could that be the problem ? Linker
> Problem of apache-php ? Any help would be very appreciated.
>
> Kind  regards
>
> Franz
>
> P.S.:Now i know what it means: Never change a running system:-<
>
>
>
>
>
> _______________________________________________ Kolab-users mailing
> list Kolab-users at kolab.org
> https://kolab.org/mailman/listinfo/kolab-users

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkmrJ9IACgkQwXH75yyXWZupQQCgswvoMFVOb69qcQFKuqOt1nkv
jjUAn0lMQEicCPf5oiZZzQfw1Nb6uw2B
=PUdH
-----END PGP SIGNATURE-----




More information about the users mailing list