Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 191057 - www-servers/ocsigen: /etc/init.d/ocsigen fails to start
Summary: www-servers/ocsigen: /etc/init.d/ocsigen fails to start
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High critical (vote)
Assignee: Alexis Ballier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-02 14:19 UTC by Andrey Golovizin
Modified: 2007-09-04 08:04 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ocsigen config file (ocsigen.conf,10.33 KB, text/plain)
2007-09-04 04:35 UTC, Andrey Golovizin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Golovizin 2007-09-02 14:19:37 UTC
When trying to start ocsigen I get the following error:

Fatal - While loading /usr/lib64/ocaml/site-packages/sqlite3/sqlite3.cma: Dynlink.Error(_)


Reproducible: Always

Steps to Reproduce:
1. /etc/init.d/ocsigen start
2. tail /var/log/ocsigen/errors.log

Actual Results:  
02-09-2007 20:12:12 - Fatal - While loading /usr/lib64/ocaml/site-packages/sqlite3/sqlite3.cma: Dynlink.Error(_)



Portage 2.1.2.12 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.5-r4, 2.6.22-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.22-gentoo-r5 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System release 1.12.9
Timestamp of tree: Sun, 02 Sep 2007 06:20:01 +0000
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4, 2.5.1-r2
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3, 2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=k8 -O2 -pipe -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks distlocksp metadata-transfer parallel-fetch sandbox sfperms strict userfetch userpriv usersandbox"
GENTOO_MIRRORS=" http://mirror.yandex.ru/gentoo-distfiles http://trumpetti.atm.tut.fi/gentoo http://gentoo.osuosl.org http://gentoo.arcticnetwork.ca "
LANG="ru_RU.UTF-8"
LINGUAS="en ru"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--progress --timeout=300 --ipv4"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/science /usr/portage/local/layman/sunrise /usr/portage/local/layman/pythonhead /usr/portage/local/layman/initng /usr/local/portage /usr/local/overlays/crossdev"
SYNC="rsync://mirror.yandex.ru/gentoo-portage"
USE="3dnow 3dnowext 64bit 7zip X a52 aac aalib acl acpi agg alsa amarok amd64 amr ansi anthy ao aotuv arts asf async auctex audiofile backtrace bacula-clientonly bash-completion bcp berkdb bidi bitmap-fonts bittorrent bjam bl blas boost branding bzip2 c++ cairo caps cdda cddb cdparanoia cdr cgi chm cjk cli cobalt colordiff cracklib crypt cscope css csv cups curl d daap dbus dia dict discard-path divx djvu dmi doc dri dv dvd dvdnav dvdr dvdread dvi ecc eds effects emacs emboss enblend enca encode enscript epydoc erandom esd evo examples exif expat fam fastbuild fastcgi fat fbcon ffmpeg fftw firefox flac fluidsynth flup fmod fontconfig foomaticdb fortran ftp fuse gcj gd gdb gdbm gif gimp gimpprint glade glib glitz glut gmail gmedia gmp gnome gnomecanvas gnuplot gnutls gpgme gphoto2 gpm graphviz gs gstreamer gtk gtkhtml guile gzip hal haskell hdf5 highlight hinotify history hpn html httpd iconv icq icu id3 idea idle idn ieee1394 imagemagick imap immqt-bc inkjar inline innodb ipv6 isdnlog jabber jack jack-tmpfs java java5 javascript jbig jingle jit jpeg jpeg2k jython kde kdehiddenvisibility kdepim kerberos kpoll kqemu ladcca ladspa lame lapack latex lcms ldap libcaca libedit libnotify libsamplerate lighttpd logrotate lua lzo lzw mad magic maildir markdown math matroska md5sum memlimit midi mikmod mixer mmap mmx mmxext mng mod_muc mod_pubsub mod_python modplug mozdevelop mp3 mp4 mpeg mpeg2 mplayer mpqc mssql mudflap multislot musepack music musicbrainz mysql ncurses net network nls nobcel nocommonslogging nodrm nojsch nojython nolog4j nomotif nowlistening nptl nptlonly nsplugin numeric nvidia ocaml ocamlduce octave odk offensive ogg openal opendoc openexr opengl openid openmp openntpd oscar oss pam pascal patch patented pch pcre pda pdf perl php plotutils plugins png portaudio posix postgres postscript pppd preview-latex prime print pymol pyste python qhull qt3 qt3support qt4 quicktime rar rdesktop readline reflection reiserfs rss rtc ruby samba scanner screen sdl session sftp sftplogging sift silvercity slang smime sndfile snortsam sound soundtouch source sox spell spl sql sqlite sqlite3 srt srv sse sse2 ssl startup-notification stlport stream subtitles subversion svg svgz svn-mirror symlink sysfs sysvipc szip tcl tcltk tcpd teamarena tetex text theora threads tidy tiff timidity tk toolkit-scroll-bars tools tordns transparent-proxy trayicon truetype truetype-fonts type1 type1-fonts uim unicode usb userlocales utempter vhosts vim vim-pager vim-syntax vim-with-x vlm vorbis web webdav winpopup wma wmf wmp x264 xanim xattr xcomposite xforms xft xhtml xine xml xorg xosd xprint xscreensaver xv xvid xvmc yahoo zeroconf zlib zsh-completion" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INITNG_PLUGINS="also bash_launcher chdir chroot conflict cpout critical ctrlaltdel daemon_clean debug_commands envparser find fmon fstat history idleprobe initctl interactive iparser last limit lockfile logfile netdev netprobe ngc4 ngcs nge pause provide reload renice rlparser simple_launcher stcmd stdout suid syncron syslog sysreq unneeded usplash" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ru" USERLAND="GNU" VIDEO_CARDS="nv nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 1 Alexis Ballier gentoo-dev 2007-09-03 18:41:26 UTC
could you please post the output of emerge -pv ocsigen ? 
Comment 2 Andrey Golovizin 2007-09-03 21:21:45 UTC
$ emerge -pv ocsigen

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] www-servers/ocsigen-0.99.2  USE="dbm doc logrotate ocamlduce sqlite -debug" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB

Ocsigen works fine with ocsipersist-dbm, but won't start with ocsipersist-sqlite, which I need to use and which is the default.

ocaml-sqlite3 is installed.
Comment 3 Alexis Ballier gentoo-dev 2007-09-04 03:18:15 UTC
weird, here it works perfectly with both ocaml 3.09.3 and 3.10

could you attach your ocsigen.conf file ? 
and also try running 'ocaml-rebuild.sh -f' as root ?
Comment 4 Andrey Golovizin 2007-09-04 04:35:21 UTC
Created attachment 129968 [details]
ocsigen config file

attaching my config file, although I haven't changed any defaults
Comment 5 Andrey Golovizin 2007-09-04 04:36:31 UTC
ocaml-rebuild did not help
Comment 6 Andrey Golovizin 2007-09-04 08:04:25 UTC
That's strange, but everything started to work after I ran ocaml-rebuild.sh once again.

Sorry for the noise.