Incorrect version of Berkeley DB: compiled against 4.0.14

After "pacman -Syu" ( db 4.1.25-2 is update) postfix not run correctly.
The DB  update produce this error:
postmap: fatal: incorrect version of Berkeley DB: compiled against 4.0.14, run-time linked against 4.1.25
what I can make?

yes sorry i have not had time to seek out the package that link to libdb.
Xentac or myself will be tackling this over the next few days. thanks you for the heads up
(btw i would have started last night but the new db package was not posted yet)

Similar Messages

  • Forte compilation returns Object.class incorrect version 48

    Java programs that compile successfully fail in Forte CE V3.0 and return messages "Class file java/lang/Object.class has incorrect version 48, should be 45, 46 or 47". Does anyone know what this means and how it can be overcome?
    Thanks

    It means that the rt.jar in your classpath is more recent than the compiler Forte is using.

  • Compiling against the 10g Instant Client in Linux

    Does anyone know if it's possible to compile and successfully link C++ programs that use the occi header against the 4 shared occi libraries that come with the 10g instant client.
    I dug out the 30 or so header files that come with the full 10g Linux version and stuck them in the /usr/include directory. This allows compilation to get done. And it appears that I am able to link against the shared libraries. At least, after the link there is an executable. This executable seg faults immediately upon a run, so there is obviously something wrong.
    The system administrator is trying to do a full install of 10g so we can compile against an Oracle home, but he's been at it for about a week with no results. He was able to get the Instant Client set up, so I'm looking for a workaround that uses only the IC and the headers.

    Thanks for the feedback.
    We aren't using a 3.xx version of gcc; it's some 2.9x version.
    Are you saying that it should be possible to link up with the shared libs without a full client install? If it is, I'll keep plugging away; but I haven't found anyone anywhere who has at any time gotten it to work.

  • Nfs4-utils-1.1.2 does not compile against heimdal-1.2.1

    Hi,
    ive changed (for testing purpose only of course) the gssapi_krb5.h from heimdal against: /opt/mit-krb5/include/gssapi/gssapi_krb5.h. nfs4-utils compile fine after this.
    so one solution would be to change heimdal to provide kerberos and do the same with mit-krb5 from aur which would offer the user a choice and allow the usage of nfs4.
    the heimdal mailing list seems to be dead anyway.
    but for this solution to work some packages need to change their deps, for example on my system:
    pacman -R heimdal
    checking dependencies...
    error: failed to prepare transaction (could not satisfy dependencies)
    :: evolution-data-server: requires heimdal>=1.2
    :: gnome-vfs: requires heimdal>=1.2
    :: gtk2: requires heimdal>=1.2
    :: imagemagick: requires heimdal>=1.2.1
    :: libcups: requires heimdal>=1.2
    :: neon: requires heimdal>=1.2.1
    :: openssh: requires heimdal>=1.2-1
    :: pam-krb5: requires heimdal>=1.2
    :: smbclient: requires heimdal>=1.2-1
    any other ideas?

    Hi metalfan,
         i'm using a nfs4-utils ver. 1.1.4 build and modified by me and i'd like to share my solution to this problem in the hope that you can find it useful. About the impossibility to build nfs-utils (and the needed package 'librpcsecgss') against heimdal it's because the implemetation of gssapi in libgssglue conflicts with heimdal.
    In gentoo Bryan Jacobs has produced a patch to nfs-utils/librpcsecgss that allow these packages to compile against heimdal without the gssapi intermediate library 'libgssglue' (in this way all that is needed for gssapi is provided by heimdal).
    The nfs4-utils and librpcsecgss packages in AUR are orphans and I don't know how to load my librpcsecgss.tar.gz and nfs4-utils.tar.gz in order to share them so, following in this post, I attached all the code and any reference I have about this problem but if you want I can send to you my tar.gz arch packages.
    Sorry for the long post...
    bye
    All you have to do is first build and install the package 'librpcsecgss' with dep on 'heimdal' instead of 'libgssglue' applying the patch that you can find in http://bugs.gentoo.org/show_bug.cgi?id=231395
    patch: librpcsecgss-0.18-heimdal.patch
    diff -NaurwB librpcsecgss-0.18.orig/configure.in librpcsecgss-0.18/configure.in
    --- librpcsecgss-0.18.orig/configure.in 2008-04-09 00:05:40.000000000 +0200
    +++ librpcsecgss-0.18/configure.in 2008-06-12 19:05:51.000000000 +0200
    @@ -12,10 +12,15 @@
    AC_PROG_RANLIB
    # Checks for libraries.
    -PKG_CHECK_MODULES([GSSGLUE], [libgssglue >= 0.1], [],
    +PKG_CHECK_MODULES([GSSGLUE], [libgssglue >= 0.1],
    + [echo GSSGLUE found; GSSAPI_IMPLEMENTATION=libgssglue],
    + [PKG_CHECK_MODULES([GSSGLUE], [heimdal-gssapi],
    + [echo HEIMDAL found; GSSAPI_IMPLEMENTATION=heimdal-gssapi],
    [AC_MSG_ERROR([Unable to locate information required to use libgssglue.
    If you have pkgconfig installed, you might try setting environment
    - variable PKG_CONFIG_PATH to /usr/local/lib/pkgconfig])])
    + variable PKG_CONFIG_PATH to /usr/local/lib/pkgconfig])])])
    +
    +AC_SUBST([GSSAPI_IMPLEMENTATION])
    # Checks for header files.
    AC_HEADER_STDC
    diff -NaurwB librpcsecgss-0.18.orig/librpcsecgss.pc.in librpcsecgss-0.18/librpcsecgss.pc.in
    --- librpcsecgss-0.18.orig/librpcsecgss.pc.in 2007-09-06 17:39:04.000000000 +0200
    +++ librpcsecgss-0.18/librpcsecgss.pc.in 2008-06-12 19:06:40.000000000 +0200
    @@ -5,7 +5,7 @@
    Name: librpcsecgss
    Description: Library that implements rpcsec_gss interface.
    -Requires: libgssglue
    +Requires: @GSSAPI_IMPLEMENTATION@
    Version: @PACKAGE_VERSION@
    Libs: -L@libdir@ -lrpcsecgss
    Cflags: -I@includedir@/rpcsecgss
    The PKGBUILD I used is:
    # $Id: PKGBUILD,v 1.43 2007/09/23 07:37:00 tom Exp $
    # Maintainer: Andrew Krawchyk <[email protected]>
    # Contributor: Marco Lima <[email protected]>
    pkgname=librpcsecgss
    pkgver=0.18
    pkgrel=2
    pkgdesc="Library for RPCSECGSS support"
    arch=('i686' 'x86_64')
    url="http://www.citi.umich.edu/projects/nfsv4/linux/"
    license=('GPL')
    depends=('glibc' 'tcp_wrappers' 'libevent>=1.3d' 'heimdal>=1.2-1')
    source=("http://www.citi.umich.edu/projects/nfsv4/linux/$pkgname/$pkgname-$pkgver.tar.gz"
    "librpcsecgss-0.18-heimdal.patch")
    md5sums=('f2c4a69c5a32f62b762a569b8d962156'
    '0cfe088551d5776f5bc08c1741a34346')
    build() {
    cd "$srcdir/$pkgname-$pkgver"
    # Patch from gentoo for heimdal compatibility Bug #231395
    # http://bugs.gentoo.org/show_bug.cgi?id=231395
    patch -Np1 -i ../librpcsecgss-0.18-heimdal.patch || return 1
    rm -f config.guess config.sub ltmain.sh
    autoreconf -i
    GSSAPI_CFLAGS='-I/usr/include/gssapi' \
    ./configure \
    --prefix=/usr \
    --sysconfdir=/etc \
    --mandir=/usr/share/man \
    --infodir=/usr/share/info
    make || return 1
    make DESTDIR="$pkgdir/" install || return 1
    Then you need to build the package 'nfs4-utils' with dep only on 'librpcsecgss' (remove 'libgssglue'... as said the gssapi is provided by heimdal); to build the package you need the patches that you can find in http://bugs.gentoo.org/show_bug.cgi?id=231396
    patch: nfs-utils-1.1.2-kerberos-ac.patch
    diff -NaurwB nfs-utils-1.1.2.orig/aclocal/kerberos5.m4 nfs-utils-1.1.2/aclocal/kerberos5.m4
    --- nfs-utils-1.1.2.orig/aclocal/kerberos5.m4 2008-03-14 16:46:29.000000000 +0100
    +++ nfs-utils-1.1.2/aclocal/kerberos5.m4 2008-06-12 17:13:51.000000000 +0200
    @@ -1,112 +1,48 @@
    -dnl Checks for Kerberos
    -dnl NOTE: while we intend to do generic gss-api, currently we
    -dnl have a requirement to get an initial Kerberos machine
    -dnl credential. Thus, the requirement for Kerberos.
    -dnl The Kerberos gssapi library will be dynamically loaded?
    AC_DEFUN([AC_KERBEROS_V5],[
    + K5CONFIG="krb5-config"
    AC_MSG_CHECKING(for Kerberos v5)
    - AC_ARG_WITH(krb5,
    - [AC_HELP_STRING([--with-krb5=DIR], [use Kerberos v5 installation in DIR])],
    + AC_ARG_WITH(krb5-config,
    + [AC_HELP_STRING([--with-krb5-config=PATH], [Full Path to krb5-config.])],
    [ case "$withval" in
    yes|no)
    - krb5_with=""
    + K5CONFIG="krb5-config"
    - krb5_with="$withval"
    + K5CONFIG="$withval"
    esac ]
    - for dir in $krb5_with /usr /usr/kerberos /usr/local /usr/local/krb5 \
    - /usr/krb5 /usr/heimdal /usr/local/heimdal /usr/athena ; do
    - dnl This ugly hack brought on by the split installation of
    - dnl MIT Kerberos on Fedora Core 1
    - K5CONFIG=""
    - if test -f $dir/bin/krb5-config; then
    - K5CONFIG=$dir/bin/krb5-config
    - elif test -f "/usr/kerberos/bin/krb5-config"; then
    - K5CONFIG="/usr/kerberos/bin/krb5-config"
    - elif test -f "/usr/lib/mit/bin/krb5-config"; then
    - K5CONFIG="/usr/lib/mit/bin/krb5-config"
    - fi
    if test "$K5CONFIG" != ""; then
    KRBCFLAGS=`$K5CONFIG --cflags`
    KRBLIBS=`$K5CONFIG --libs gssapi`
    - K5VERS=`$K5CONFIG --version | head -n 1 | awk '{split($(4),v,"."); if (v@<:@"3"@:>@ == "") v@<:@"3"@:>@ = "0"; print v@<:@"1"@:>@v@<:@"2"@:>@v@<:@"3"@:>@ }'`
    - AC_DEFINE_UNQUOTED(KRB5_VERSION, $K5VERS, [Define this as the Kerberos version number])
    - if test -f $dir/include/gssapi/gssapi_krb5.h -a \
    - \( -f $dir/lib/libgssapi_krb5.a -o \
    - -f $dir/lib64/libgssapi_krb5.a -o \
    - -f $dir/lib64/libgssapi_krb5.so -o \
    - -f $dir/lib/libgssapi_krb5.so \) ; then
    + if $K5CONFIG --version | grep -q -e heimdal; then
    + K5VERS=`$K5CONFIG --version | head -n 1 | cut -f2 -d ' ' | tr -d '.'`
    + AC_DEFINE(HAVE_HEIMDAL, 1, [Define this if you have Heimdal Kerberos libraries])
    + gssapi_lib=gssapi
    + KRBIMPL="heimdal"
    + elif $K5CONFIG --version | grep -q -e mit; then
    + K5VERS=`$K5CONFIG --version | head -n 1 | cut -f4 -d ' ' | tr -d '.'`
    AC_DEFINE(HAVE_KRB5, 1, [Define this if you have MIT Kerberos libraries])
    - KRBDIR="$dir"
    - dnl If we are using MIT K5 1.3.1 and before, we *MUST* use the
    - dnl private function (gss_krb5_ccache_name) to get correct
    - dnl behavior of changing the ccache used by gssapi.
    - dnl Starting in 1.3.2, we *DO NOT* want to use
    - dnl gss_krb5_ccache_name, instead we want to set KRB5CCNAME
    - dnl to get gssapi to use a different ccache
    if test $K5VERS -le 131; then
    AC_DEFINE(USE_GSS_KRB5_CCACHE_NAME, 1, [Define this if the private function, gss_krb5_cache_name, must be used to tell the Kerberos library which credentials cache to use. Otherwise, this is done by setting the KRB5CCNAME environment variable])
    fi
    gssapi_lib=gssapi_krb5
    - break
    - dnl The following ugly hack brought on by the split installation
    - dnl of Heimdal Kerberos on SuSe
    - elif test \( -f $dir/include/heim_err.h -o\
    - -f $dir/include/heimdal/heim_err.h \) -a \
    - -f $dir/lib/libroken.a; then
    - AC_DEFINE(HAVE_HEIMDAL, 1, [Define this if you have Heimdal Kerberos libraries])
    - KRBDIR="$dir"
    - gssapi_lib=gssapi
    - break
    - fi
    - fi
    - done
    - dnl We didn't find a usable Kerberos environment
    - if test "x$KRBDIR" = "x"; then
    - if test "x$krb5_with" = "x"; then
    - AC_MSG_ERROR(Kerberos v5 with GSS support not found: consider --disable-gss or --with-krb5=)
    + KRBIMPL="mit-krb5"
    else
    - AC_MSG_ERROR(Kerberos v5 with GSS support not found at $krb5_with)
    - fi
    + AC_MSG_ERROR(Unknown Kerberos 5 Implementation. Is neither heimdal or mit-krb5.)
    + KRBIMPL="unknown"
    fi
    - AC_MSG_RESULT($KRBDIR)
    - dnl Check if -rpath=$(KRBDIR)/lib is needed
    - echo "The current KRBDIR is $KRBDIR"
    - if test "$KRBDIR/lib" = "/lib" -o "$KRBDIR/lib" = "/usr/lib" \
    - -o "$KRBDIR/lib" = "//lib" -o "$KRBDIR/lib" = "/usr//lib" ; then
    - KRBLDFLAGS="";
    - elif /sbin/ldconfig -p | grep > /dev/null "=> $KRBDIR/lib/"; then
    - KRBLDFLAGS="";
    - else
    - KRBLDFLAGS="-Wl,-rpath=$KRBDIR/lib"
    + AC_DEFINE_UNQUOTED(KRB5_VERSION, $K5VERS, [Define this as the Kerberos version number])
    fi
    + AC_MSG_RESULT($KRBIMPL)
    - dnl Now check for functions within gssapi library
    - AC_CHECK_LIB($gssapi_lib, gss_krb5_export_lucid_sec_context,
    - AC_DEFINE(HAVE_LUCID_CONTEXT_SUPPORT, 1, [Define this if the Kerberos GSS library supports gss_krb5_export_lucid_sec_context]), ,$KRBLIBS)
    - AC_CHECK_LIB($gssapi_lib, gss_krb5_set_allowable_enctypes,
    - AC_DEFINE(HAVE_SET_ALLOWABLE_ENCTYPES, 1, [Define this if the Kerberos GSS library supports gss_krb5_set_allowable_enctypes]), ,$KRBLIBS)
    - AC_CHECK_LIB($gssapi_lib, gss_krb5_ccache_name,
    - AC_DEFINE(HAVE_GSS_KRB5_CCACHE_NAME, 1, [Define this if the Kerberos GSS library supports gss_krb5_ccache_name]), ,$KRBLIBS)
    - dnl Check for newer error message facility
    - AC_CHECK_LIB($gssapi_lib, krb5_get_error_message,
    - AC_DEFINE(HAVE_KRB5_GET_ERROR_MESSAGE, 1, [Define this if the function krb5_get_error_message is available]), ,$KRBLIBS)
    + AC_CHECK_LIB($gssapi_lib, gss_krb5_export_lucid_sec_context, AC_DEFINE(HAVE_LUCID_CONTEXT_SUPPORT, 1, [Define this if the Kerberos GSS library supports gss_krb5_export_lucid_sec_context]), ,$KRBLIBS)
    + AC_CHECK_LIB($gssapi_lib, gss_krb5_set_allowable_enctypes, AC_DEFINE(HAVE_SET_ALLOWABLE_ENCTYPES, 1, [Define this if the Kerberos GSS library supports gss_krb5_set_allowable_enctypes]), ,$KRBLIBS)
    + AC_CHECK_LIB($gssapi_lib, gss_krb5_ccache_name, AC_DEFINE(HAVE_GSS_KRB5_CCACHE_NAME, 1, [Define this if the Kerberos GSS library supports gss_krb5_ccache_name]), ,$KRBLIBS)
    + AC_CHECK_LIB($gssapi_lib, krb5_get_error_message, AC_DEFINE(HAVE_KRB5_GET_ERROR_MESSAGE, 1, [Define this if the function krb5_get_error_message is available]), ,$KRBLIBS)
    + AC_CHECK_LIB($gssapi_lib, krb5_get_init_creds_opt_set_addressless, AC_DEFINE(HAVE_KRB5_GET_INIT_CREDS_OPT_SET_ADDRESSLESS, 1, [Define this if the function krb5_get_init_creds_opt_set_addressless is available]), ,$KRBLIBS)
    - dnl Check for function to specify addressless tickets
    - AC_CHECK_LIB($gssapi_lib, krb5_get_init_creds_opt_set_addressless,
    - AC_DEFINE(HAVE_KRB5_GET_INIT_CREDS_OPT_SET_ADDRESSLESS, 1, [Define this if the function krb5_get_init_creds_opt_set_addressless is available]), ,$KRBLIBS)
    - dnl If they specified a directory and it didn't work, give them a warning
    - if test "x$krb5_with" != "x" -a "$krb5_with" != "$KRBDIR"; then
    - AC_MSG_WARN(Using $KRBDIR instead of requested value of $krb5_with for Kerberos!)
    - fi
    - AC_SUBST([KRBDIR])
    AC_SUBST([KRBLIBS])
    AC_SUBST([KRBCFLAGS])
    AC_SUBST([KRBLDFLAGS])
    patch: nfs-utils-1.1.2-no_libgssapi.patch
    Index: nfs-utils-1.1.0/utils/gssd/context_lucid.c
    ===================================================================
    --- nfs-utils-1.1.0.orig/utils/gssd/context_lucid.c
    +++ nfs-utils-1.1.0/utils/gssd/context_lucid.c
    @@ -48,8 +48,10 @@
    #include <krb5.h>
    #include <gssapi/gssapi.h>
    #ifndef OM_uint64
    +#ifndef GSSAPI_GSSAPI_H_
    typedef uint64_t OM_uint64;
    #endif
    +#endif
    #include <gssapi/gssapi_krb5.h>
    static int
    @@ -171,10 +173,10 @@ serialize_krb5_ctx(gss_ctx_id_t ctx, gss
    int retcode = 0;
    printerr(2, "DEBUG: serialize_krb5_ctx: lucid version!\n");
    - maj_stat = gss_export_lucid_sec_context(&min_stat, &ctx,
    + maj_stat = gss_krb5_export_lucid_sec_context(&min_stat, &ctx,
    1, &return_ctx);
    if (maj_stat != GSS_S_COMPLETE) {
    - pgsserr("gss_export_lucid_sec_context",
    + pgsserr("gss_krb5_export_lucid_sec_context",
    maj_stat, min_stat, &krb5oid);
    goto out_err;
    @@ -198,9 +200,9 @@ serialize_krb5_ctx(gss_ctx_id_t ctx, gss
    else
    retcode = prepare_krb5_rfc_cfx_buffer(lctx, buf);
    - maj_stat = gss_free_lucid_sec_context(&min_stat, ctx, return_ctx);
    + maj_stat = gss_krb5_free_lucid_sec_context(&min_stat, ctx);
    if (maj_stat != GSS_S_COMPLETE) {
    - pgsserr("gss_export_lucid_sec_context",
    + pgsserr("gss_krb5_export_lucid_sec_context",
    maj_stat, min_stat, &krb5oid);
    printerr(0, "WARN: failed to free lucid sec context\n");
    Index: nfs-utils-1.1.0/utils/gssd/krb5_util.c
    ===================================================================
    --- nfs-utils-1.1.0.orig/utils/gssd/krb5_util.c
    +++ nfs-utils-1.1.0/utils/gssd/krb5_util.c
    @@ -294,10 +294,10 @@ limit_krb5_enctypes(struct rpc_gss_sec *
    return -1;
    - maj_stat = gss_set_allowable_enctypes(&min_stat, credh, &krb5oid,
    + maj_stat = gss_krb5_set_allowable_enctypes(&min_stat, credh,
    num_enctypes, &enctypes);
    if (maj_stat != GSS_S_COMPLETE) {
    - pgsserr("gss_set_allowable_enctypes",
    + pgsserr("gss_krb5_set_allowable_enctypes",
    maj_stat, min_stat, &krb5oid);
    gss_release_cred(&min_stat, &credh);
    return -1;
    patch: nfs-utils-1.1.2-pkgconfig_ac.patch
    --- configure.ac 2008-03-14 15:46:29.000000000 +0000
    +++ configure.ac 2008-05-03 10:30:21.000000000 +0000
    @@ -185,7 +185,7 @@
    [AC_MSG_ERROR([Unable to locate information required to use librpcsecgss. If you have pkgconfig installed, you might try setting environment variable PKG_CONFIG_PATH to /usr/local/lib/pkgconfig])
    - PKG_CHECK_MODULES(GSSGLUE, libgssglue >= 0.1)
    + PKG_CHECK_MODULES(GSSGLUE, libgssglue >= 0.1, , [PKG_CHECK_MODULES(GSSGLUE, heimdal-gssapi)])
    fi
    fi
    @@ -228,9 +228,9 @@
    dnl This is not done until here because we need to have KRBLIBS set
    dnl ("librpcsecgss=1" is so that it doesn't get added to LIBS)
    - AC_CHECK_LIB(rpcsecgss, authgss_create_default, [librpcsecgss=1], AC_MSG_ERROR([librpcsecgss needed for nfsv4 support]), -lgssglue -ldl)
    + AC_CHECK_LIB(rpcsecgss, authgss_create_default, [librpcsecgss=1], AC_MSG_ERROR([librpcsecgss needed for nfsv4 support]), $GSSGLUE_CFLAGS)
    AC_CHECK_LIB(rpcsecgss, authgss_set_debug_level,
    - AC_DEFINE(HAVE_AUTHGSS_SET_DEBUG_LEVEL, 1, [Define this if the rpcsec_gss library has the function authgss_set_debug_level]),, -lgssglue -ldl)
    + AC_DEFINE(HAVE_AUTHGSS_SET_DEBUG_LEVEL, 1, [Define this if the rpcsec_gss library has the function authgss_set_debug_level]),, $GSSGLUE_CFLAGS)
    fi
    patch: nfs-utils-1.1.4-heimdal_functions.patch
    diff -Naur nfs-utils-1.1.4/utils/gssd/krb5_util.c nfs-utils-1.1.4-r1/utils/gssd/krb5_util.c
    --- utils/gssd/krb5_util.c 2008-10-17 14:20:09.000000000 +0000
    +++ utils/gssd/krb5_util.c 2008-11-22 13:52:42.000000000 +0000
    @@ -927,9 +927,37 @@
    krb5_error_code ret;
    krb5_creds creds;
    - krb5_cc_cursor cur;
    int found = 0;
    +#ifdef HAVE_HEIMDAL
    + krb5_creds pattern;
    + krb5_realm *client_realm;
    +
    + krb5_cc_clear_mcred(&pattern);
    +
    + client_realm = krb5_princ_realm (context, principal);
    +
    + ret = krb5_make_principal (context, &pattern.server,
    + *client_realm, KRB5_TGS_NAME, *client_realm,
    + NULL);
    + if (ret)
    + krb5_err (context, 1, ret, "krb5_make_principal");
    + pattern.client = principal;
    +
    + ret = krb5_cc_retrieve_cred (context, ccache, 0, &pattern, &creds);
    + krb5_free_principal (context, pattern.server);
    + if (ret) {
    + if (ret == KRB5_CC_END)
    + return 1;
    + krb5_err (context, 1, ret, "krb5_cc_retrieve_cred");
    + }
    +
    + found = creds.times.endtime > time(NULL);
    +
    + krb5_free_cred_contents (context, &creds);
    +#else
    + krb5_cc_cursor cur;
    +
    ret = krb5_cc_start_seq_get(context, ccache, &cur);
    if (ret)
    return 0;
    @@ -949,6 +977,7 @@
    krb5_free_cred_contents(context, &creds);
    krb5_cc_end_seq_get(context, ccache, &cur);
    +#endif
    return found;
    @@ -995,6 +1024,9 @@
    krb5_free_principal(context, principal);
    err_princ:
    +#ifdef HAVE_HEIMDAL
    +#define KRB5_TC_OPENCLOSE 0x00000001
    +#endif
    krb5_cc_set_flags(context, ccache, KRB5_TC_OPENCLOSE);
    krb5_cc_close(context, ccache);
    err_cache:
    The PKGBUILD I used is the follow. As you can see I changed the rc.d scripts to have only two scripts to do the job (client side and server side) to start the nfsd and related/needed daemons and take care to load and mount modules and filesystems needed but you can watch only at the use of the patch and reconfiguration before the configure/make step and use for the rest of the package the usual arch scripts.
    # Maintainer: abelstr <[email protected]>
    # Contributor: Marco Lima <[email protected]>
    pkgname=nfs4-utils
    _realname=nfs-utils
    pkgver=1.1.4
    pkgrel=3
    pkgdesc="Support programs for Network File Systems"
    arch=('i686' 'x86_64')
    url="http://nfs.sourceforge.net"
    license=('GPL')
    depends=('glibc' 'tcp_wrappers' 'e2fsprogs' 'portmap' 'nfsidmap' 'librpcsecgss')
    replaces=('nfs-utils')
    provides=('nfs-utils')
    backup=(etc/{exports,gssapi_mech.conf,idmapd.conf} etc/conf.d/{nfs-common.conf,nfs-server.conf})
    install="$_realname.install"
    options=('docs')
    source=("http://garr.dl.sourceforge.net/sourceforge/nfs/$_realname-$pkgver.tar.bz2"
    nfs-common
    nfs-common.conf
    nfs-server
    nfs-server.conf
    exports
    start-statd.patch
    idmapd.conf
    gssapi_mech.conf
    nfs-utils-1.1.2-kerberos-ac.patch
    nfs-utils-1.1.2-no_libgssapi.patch
    nfs-utils-1.1.2-pkgconfig_ac.patch
    nfs-utils-1.1.4-heimdal_functions.patch)
    md5sums=('3ed5b9cb73fd1c9b358c7bfa7a6ae150'
    '3fa8ad66f434e8277e7a82c7c699ce46'
    'a05e6e91307af37e7bd612b356bd0b6a'
    '1852b84523c74e02831b60dcc5739f7a'
    '1c6c755fcfef4e5e19ee7414d3020269'
    'ff585faf410a62c4333a027c50b56bae'
    '11f6c229108c223dc5fe849d11aecaf3'
    '64eaa20ea49e324e5a72858f104a61eb'
    '234b9cca75a33af98eda3f1683756879'
    'f3be115d392d9f9bb0f056e8d4341a14'
    'de30683636eda26421e58937a784b123'
    'd07c449358eeb254850975add54bcff2'
    '959a81d86da677d42e76b597656171a2')
    build() {
    cd "$srcdir/$_realname-$pkgver"
    # Patches from gentoo for heimdal compatibility Bug 231396
    # http://bugs.gentoo.org/show_bug.cgi?id=231396
    patch -Np1 -i ../nfs-utils-1.1.2-kerberos-ac.patch || return 1
    patch -Np0 -i ../nfs-utils-1.1.2-pkgconfig_ac.patch || return 1
    patch -Np1 -i ../nfs-utils-1.1.2-no_libgssapi.patch || return 1
    patch -Np0 -i ../nfs-utils-1.1.4-heimdal_functions.patch || return 1
    rm -f config.guess config.sub ltmain.sh
    autoreconf -i
    export GSSAPI_CFLAGS='-I/usr/include/gssapi'
    export GSSAPI_LIBS='-lgssapi -ldl'
    patch -Np0 -i ../start-statd.patch || return 1
    ./configure \
    --prefix=/usr \
    --sysconfdir=/etc \
    --with-statedir=/var/lib/nfs \
    --mandir=/usr/share/man \
    --infodir=/usr/share/info \
    --enable-nfsv3 \
    --enable-nfsv4 \
    --enable-gss \
    --with-tcp-wrappers || return 1
    make || return 1
    make DESTDIR="$pkgdir/" install || return 1
    # NFS & NFSv4 init scripts
    install -D -m 755 ../nfs-common "$pkgdir/"etc/rc.d/nfs-common
    install -D -m 755 ../nfs-server "$pkgdir/"etc/rc.d/nfs-server
    # Configuration
    install -D -m 644 ../exports "$pkgdir/"etc/exports
    install -D -m 644 ../idmapd.conf "$pkgdir/"etc/idmapd.conf
    install -D -m 644 ../gssapi_mech.conf "$pkgdir/"etc/gssapi_mech.conf
    install -D -m 644 ../nfs-common.conf "$pkgdir/"etc/conf.d/nfs-common.conf
    install -D -m 644 ../nfs-server.conf "$pkgdir/"etc/conf.d/nfs-server.conf
    # directories
    mkdir "$pkgdir/"var/lib/nfs/rpc_pipefs
    mkdir "$pkgdir/"var/lib/nfs/v4recovery
    # copy docs
    install -m 755 -d "$pkgdir/"usr/share/doc/$pkgname || return 1
    install -m 644 -t "$pkgdir/"usr/share/doc/$pkgname AUTHORS ChangeLog INSTALL \
    NEWS README || return 1
    idmapd.conf
    [General]
    Verbosity = 0
    Pipefs-Directory = /var/lib/nfs/rpc_pipefs
    Domain = localdomain
    [Mapping]
    Nobody-User = nobody
    Nobody-Group = nogroup
    [Translation]
    Method = nsswitch
    gssapi_mech.conf
    # Example /etc/gssapi_mech.conf file
    # GSSAPI Mechanism Definitions
    # This configuration file determines which GSS-API mechanisms
    # the gssd code should use
    # NOTE:
    # The initiaiization function "mechglue_internal_krb5_init"
    # is used for the MIT krb5 gssapi mechanism. This special
    # function name indicates that an internal function should
    # be used to determine the entry points for the MIT gssapi
    # mechanism funtions.
    # library initialization function
    # ================================ ==========================
    # The MIT K5 gssapi library, use special function for initialization.
    #/usr/lib/libgssapi_krb5.so mechglue_internal_krb5_init
    /usr/lib/libgssapi.so mechglue_internal_krb5_init
    # The SPKM3 gssapi library function. Use the function spkm3_gss_initialize.
    # /usr/local/gss_mechs/spkm/spkm3/libgssapi_spkm3.so spkm3_gss_initialize
    exports
    # /etc/exports
    # List of directories exported to NFS clients. See exports(5).
    # Use exportfs -arv to reread.
    # Example for NFSv2 and NFSv3:
    # /srv/home hostname1(rw,sync) hostname2(ro,sync)
    # Example for NFSv4:
    # /srv/nfs4 hostname1(rw,sync,fsid=0)
    # /srv/nfs4/home hostname1(rw,sync,nohide)
    # Using Kerberos and integrity checking:
    # /srv/nfs4 gss/krb5i(rw,sync,fsid=0,crossmnt)
    # /srv/nfs4/home gss/krb5i(rw,sync,nohide)
    start-statd.patch
    --- utils/statd/start-statd 2008-10-17 16:20:09.000000000 +0200
    +++ utils/statd/start-statd.new 2008-12-06 11:43:12.000000000 +0100
    @@ -1,9 +1,16 @@
    #!/bin/sh
    +
    +# Original script provided by the NFS project
    +# Modified for Arch Linux by Tom Killian
    +
    # nfsmount calls this script when mounting a filesystem with locking
    # enabled, but when statd does not seem to be running (based on
    # /var/run/rpc.statd.pid).
    # It should run run statd with whatever flags are apropriate for this
    # site.
    -PATH=/sbin:/usr/sbin
    -exec rpc.statd --no-notify
    +
    +# source application-specific settings
    +[ -f /etc/conf.d/nfs-common.conf ] && . /etc/conf.d/nfs-common.conf
    +
    +exec /usr/sbin/rpc.statd $STATD_OPTS
    nfs-utils.install
    ## arg 1: the new package version
    post_install() {
    cat << 'EOM'
    ==>
    ==> PLEASE NOTE:
    ==> Extended configuration options for NFS (clients & server) are available in
    ==> /etc/conf.d/nfs-common.conf and in /etc/conf.d/nfs-server.conf
    ==>
    ==> Please refer to http://wiki.archlinux.org/index.php/Nfs
    ==> for further information on NFS; for NFSv4, refer to
    ==> http://wiki.archlinux.org/index.php/NFSv4
    ==> Also, if you plan on using NFSv4, in /etc/conf.d/nfs-common.conf set:
    ==> 1) NEED_IDMAPD="yes" to start rpc.idmapd - on clients & server.
    ==> rpc.idmapd needs to be properly configured; edit at least the
    ==> daemon line in /etc/idmapd.conf.
    ==> 2) NEED_GSSD="yes" to start rpc.gssd (GSS authentication) - only on clients.
    ==> 3) Add "rpc_pipefs /var/lib/nfs/rpc_pipefs rpc_pipefs 0 0" to /etc/fstab.
    ==> If not mounted when the init script nfs-common starts it tries to mount the
    ==> filesystem automatically (if rpc.idmapd or rpc.gssd is needed);
    ==> see /etc/conf.d/nfs-common.conf for extended configuration options.
    ==> in /etc/conf.d/nfs-server.conf (only server) set:
    ==> 1) add "nfsd /proc/fs/nfsd nfsd -o rw,nodev,noexec,nosuid 0 0" to /etc/fstab.
    ==> If not mounted when the init script nfs-server starts it tries to mount the
    ==> filesystem automatically; see /etc/conf.d/nfs-server.conf for extended
    ==> configuration options.
    ==> 2) NEED_SVCGSSD="yes" to start rpc.svcgssd (GSS authentication) - on server
    EOM
    ## arg 1: the new package version
    ## arg 2: the old package version
    post_upgrade() {
    post_install $1
    nfs-server.conf
    # Parameters to be passed to nfs-server init script.
    # Options to pass to rpc.nfsd.
    NFSD_OPTS=
    # Number of servers to start up; the default is 8 servers.
    NFSD_COUNT=
    # Where to mount nfsd filesystem; the default is "/proc/fs/nfsd".
    PROCNFSD_MOUNTPOINT=
    # Options used to mount nfsd filesystem; the default is "rw,nodev,noexec,nosuid".
    PROCNFSD_MOUNTOPTS=
    # Options for rpc.mountd.
    # If you have a port-based firewall, you might want to set up
    # a fixed port here using the --port option. For more information,
    # see rpc.mountd(8)
    MOUNTD_OPTS="--no-nfs-version 1 --no-nfs-version 2"
    # Do you want to start the svcgssd daemon? It is only required for Kerberos
    # exports. Valid alternatives are "yes" and "no"; the default is "no".
    NEED_SVCGSSD=
    # Options to pass to rpc.svcgssd.
    SVCGSSD_OPTS=
    nfs-server
    #!/bin/bash
    daemon_name=nfs-server
    NFSD_COUNT=
    NFSD_OPTS=
    NEED_SVCGSSD=
    SVCGSSD_OPTS=
    MOUNTD_OPTS=
    PROCNFSD_MOUNTPOINT=
    PROCNFSD_MOUNTOPTS=
    # rpc.nfsd daemon & binary location
    NFSD_PROCESS_NAME=nfsd
    NFSD_DAEMON_NAME=rpc.nfsd
    NFSD="/usr/sbin/rpc.nfsd"
    # rpc.svcgssd daemon & binary location
    SVCGSSD_DAEMON_NAME=rpc.svcgssd
    SVCGSSD="/usr/sbin/rpc.svcgssd"
    # rpc.idmapd daemon & binary location
    IDMAPD_DAEMON_NAME=rpc.idmapd
    IDMAPD="/usr/sbin/rpc.idmapd"
    # rpc.mountd daemon & binary location
    MOUNTD_DAEMON_NAME=rpc.mountd
    MOUNTD="/usr/sbin/rpc.mountd"
    # exortfs binary location
    EXPORTFS="/usr/sbin/exportfs"
    . /etc/rc.conf
    . /etc/rc.d/functions
    . /etc/conf.d/$daemon_name.conf
    # Default number of nfsd servers
    [ -z "$NFSD_COUNT" ] && NFSD_COUNT=8
    # Default mountpoint and options for nfsd filesystem
    [ -z "$PROCNFSD_MOUNTPOINT" ] && PROCNFSD_MOUNTPOINT="/proc/fs/nfsd"
    [ -z "$PROCNFSD_MOUNTOPTS" ] && PROCNFSD_MOUNTOPTS="rw,nodev,noexec,nosuid"
    case "$NEED_SVCGSSD" in
    yes|no)
    NEED_SVCGSSD=no
    esac
    do_modprobe() {
    if [ -x /sbin/modprobe -a -f /proc/modules ]; then
    modprobe -q "$1" || true
    fi
    do_mount() {
    if ! grep -E "$1\$" /proc/filesystems &> /dev/null ; then
    return 1
    fi
    if grep -vw "$1" /proc/mounts &> /dev/null ; then
    if ! mountpoint -q "$2" ; then
    mount -t "$1" "$1" "$2" -o "$3"
    return
    fi
    fi
    return 0
    do_umount() {
    if mountpoint -q "$1" ; then
    umount "$1"
    fi
    return 0
    get_pid() {
    pidof -o %PPID "$1"
    case "$1" in
    start)
    rc=0
    stat_busy "Mounting nfsd filesystem"
    do_modprobe nfsd
    do_mount nfsd "$PROCNFSD_MOUNTPOINT" "$PROCNFSD_MOUNTOPTS"
    rc=$(($rc+$?))
    if [ $rc -gt 0 ]; then
    stat_fail
    exit $rc
    else
    stat_done
    fi
    stat_busy "Exporting all directories"
    $EXPORTFS -r
    rc=$(($rc+$?))
    if [ $rc -gt 0 ]; then
    stat_fail
    exit $rc
    else
    stat_done
    fi
    stat_busy "Starting $NFSD_DAEMON_NAME daemon"
    PID=$(get_pid $NFSD_PROCESS_NAME)
    if [ -z "$PID" ]; then
    [ -f /var/run/$NFSD_DAEMON_NAME.pid ] && rm -f /var/run/$NFSD_DAEMON_NAME.pid
    # RUN
    $NFSD $NFSD_OPTS $NFSD_COUNT
    rc=$(($rc+$?))
    if [ $rc -gt 0 ]; then
    stat_fail
    exit $rc
    else
    echo $(get_pid $NFSD_PROCESS_NAME) > /var/run/$NFSD_DAEMON_NAME.pid
    stat_done
    fi
    else
    stat_fail
    exit 1
    fi
    if [ "$NEED_SVCGSSD" = yes ]; then
    stat_busy "Starting $SVCGSSD_DAEMON_NAME daemon"
    PID=$(get_pid $SVCGSSD)
    if [ -z "$PID" ]; then
    [ -f /var/run/$SVCGSSD_DAEMON_NAME.pid ] && rm -f /var/run/$SVCGSSD_DAEMON_NAME.pid
    # RUN
    $SVCGSSD $SVCGSSD_OPTS
    rc=$(($rc+$?))
    if [ $rc -gt 0 ]; then
    stat_fail
    exit $rc
    else
    echo $(get_pid $SVCGSSD) > /var/run/$SVCGSSD_DAEMON_NAME.pid
    stat_done
    fi
    else
    stat_fail
    exit 1
    fi
    fi
    PID=$(get_pid $IDMAPD)
    [ ! -z "$PID" ] && kill -SIGHUP $IDMAPD_DAEMON_NAME &> /dev/null
    stat_busy "Starting $MOUNTD_DAEMON_NAME daemon"
    PID=$(get_pid $MOUNTD)
    if [ -z "$PID" ]; then
    [ -f /var/run/$MOUNTD_DAEMON_NAME.pid ] && rm -f /var/run/$MOUNTD_DAEMON_NAME.pid
    # RUN
    $MOUNTD $MOUNTD_OPTS
    rc=$(($rc+$?))
    if [ $rc -gt 0 ]; then
    stat_fail
    exit $rc
    else
    echo $(get_pid $MOUNTD) > /var/run/$MOUNTD_DAEMON_NAME.pid
    stat_done
    fi
    else
    stat_fail
    exit 1
    fi
    add_daemon $daemon_name
    stop)
    rc=0
    stat_busy "Stopping $MOUNTD_DAEMON_NAME daemon"
    PID=$(get_pid $MOUNTD)
    # KILL
    [ ! -z "$PID" ] && kill $PID &> /dev/null
    rc=$(($rc+$?))
    if [ $rc -gt 0 ]; then
    stat_fail
    exit $rc
    else
    rm -f /var/run/$MOUNTD_DAEMON_NAME.pid &> /dev/null
    stat_done
    fi
    if [ "$NEED_SVCGSSD" = yes ]; then
    stat_busy "Stopping $SVCGSSD_DAEMON_NAME daemon"
    PID=$(get_pid $SVCGSSD)
    # KILL
    [ ! -z "$PID" ] && kill $PID &> /dev/null
    rc=$(($rc+$?))
    if [ $rc -gt 0 ]; then
    stat_fail
    exit $rc
    else
    rm -f /var/run/$SVCGSSD_DAEMON_NAME.pid &> /dev/null
    stat_done
    fi
    fi
    stat_busy "Stopping $NFSD_DAEMON_NAME daemon"
    PID=$(get_pid $NFSD_PROCESS_NAME)
    # KILL (SIGINT)
    [ ! -z "$PID" ] && kill -2 $PID &> /dev/null
    rc=$(($rc+$?))
    if [ $rc -gt 0 ]; then
    stat_fail
    exit $rc
    else
    sleep 1
    PID=$(get_pid $NFSD_PROCESS_NAME)
    # KILL (KILL) - just to be sure
    [ ! -z "$PID" ] && kill -9 $PID &> /dev/null
    rm -f /var/run/$NFSD_DAEMON_NAME.pid &> /dev/null
    stat_done
    fi
    stat_busy "Unexporting all directories"
    $EXPORTFS -au
    rc=$(($rc+$?))
    if [ $rc -gt 0 ]; then
    stat_fail
    exit $rc
    else
    stat_done
    fi
    # flush everything out of the kernels export table
    if mountpoint -q "$PROCNFSD_MOUNTPOINT" ; then
    $EXPORTFS -f
    fi
    rm_daemon $daemon_name
    status)
    stat_busy "$daemon_name running"
    if ck_daemon $daemon_name; then
    stat_fail
    else
    stat_done
    fi
    stat_busy "Daemon $NFSD_DAEMON_NAME running"
    PID=$(get_pid $NFSD_PROCESS_NAME)
    if [ -z "$PID" ]; then
    stat_fail
    else
    stat_done
    fi
    stat_busy "Daemon $MOUNTD_DAEMON_NAME running"
    PID=$(get_pid $MOUNTD)
    if [ -z "$PID" ]; then
    stat_fail
    else
    stat_done
    fi
    if [ "$NEED_SVCGSSD" = yes ]; then
    stat_busy "Daemon $SVCGSSD_DAEMON_NAME running"
    PID=$(get_pid $SVCGSSD)
    if [ -z "$PID" ]; then
    stat_fail
    else
    stat_done
    fi
    fi
    echo
    reload)
    rc=0
    stat_busy "Re-exporting all directories"
    $EXPORTFS -r
    rc=$(($rc+$?))
    if [ $rc -gt 0 ]; then
    stat_fail
    exit $rc
    else
    stat_done
    fi
    restart)
    $0 stop
    sleep 3
    $0 start
    echo "usage: $0 {start|stop|status|reload|restart}"
    esac
    exit 0
    nfs-common.conf
    # Parameters to be passed to nfs-common (nfs clients & server) init script.
    # If you do not set values for the NEED_ options, they will be attempted
    # autodetected; this should be sufficient for most people. Valid alternatives
    # for the NEED_ options are "yes" and "no".
    # Do you want to start the statd daemon? It is not needed for NFSv4.
    NEED_STATD=
    # Options to pass to rpc.statd.
    # N.B. statd normally runs on both client and server, and run-time
    # options should be specified accordingly. Specifically, the Arch
    # NFS init scripts require the --no-notify flag on the server,
    # but not on the client e.g.
    # STATD_OPTS="--no-notify -p 32765 -o 32766" -> server
    # STATD_OPTS="-p 32765 -o 32766" -> client
    STATD_OPTS=
    # Do you want to start the idmapd daemon? It is only needed for NFSv4.
    NEED_IDMAPD=
    # Options to pass to rpc.idmapd.
    IDMAPD_OPTS=
    # Do you want to start the gssd daemon? It is required for Kerberos mounts.
    NEED_GSSD=
    # Options to pass to rpc.gssd.
    GSSD_OPTS=
    # Where to mount rpc_pipefs filesystem; the default is "/var/lib/nfs/rpc_pipefs".
    PIPEFS_MOUNTPOINT=
    # Options used to mount rpc_pipefs filesystem; the default is "defaults".
    PIPEFS_MOUNTOPTS=
    nfs-common
    #!/bin/bash
    daemon_name=nfs-common
    NEED_STATD=
    STATD_OPTS=
    NEED_IDMAPD=
    IDMAPD_OPTS=
    NEED_GSSD=
    GSSD_OPTS=
    PIPEFS_MOUNTPOINT=
    PIPEFS_MOUNTOPTS=
    # rpc.statd daemon & binary location
    STATD_DAEMON_NAME=rpc.statd
    STATD="/usr/sbin/rpc.statd"
    # rpc.idmapd daemon & binary location
    IDMAPD_DAEMON_NAME=rpc.idmapd
    IDMAPD="/usr/sbin/rpc.idmapd"
    # rpc.gssd daemon & binary location
    GSSD_DAEMON_NAME=rpc.gssd
    GSSD="/usr/sbin/rpc.gssd"
    . /etc/rc.conf
    . /etc/rc.d/functions
    . /etc/conf.d/$daemon_name.conf
    # Default mountpoint and options for rpc_pipefs filesystem
    [ -z "$PIPEFS_MOUNTPOINT" ] && PIPEFS_MOUNTPOINT="/var/lib/nfs/rpc_pipefs"
    [ -z "$PIPEFS_MOUNTOPTS" ] && PIPEFS_MOUNTOPTS="defaults"
    # Parse the fstab file, and determine whether we need idmapd and gssd. (The
    # /etc/defaults settings, if any, will override our autodetection.) This code
    # is partially adapted from the mountnfs.sh script in the sysvinit package.
    AUTO_NEED_IDMAPD=no
    AUTO_NEED_GSSD=no
    if [ -f /etc/fstab ]; then
    exec 9<&0 </etc/fstab
    while read DEV MTPT FSTYPE OPTS REST; do
    if [ "$FSTYPE" = "nfs4" ]; then
    AUTO_NEED_IDMAPD=yes
    fi
    case "$OPTS" in
    sec=krb5|*,sec=krb5|sec=krb5,*|*,sec=krb5i,*|sec=krb5i|*,sec=krb5i|sec=krb5i,*|*,sec=krb5i,*|sec=krb5p|*,sec=krb5p|sec=krb5p,*|*,sec=krb5p,*)
    AUTO_NEED_GSSD=yes
    esac
    done
    exec 0<&9 9<&-
    fi
    # We also need idmapd if we run an NFSv4 server. It's fairly difficult
    # to autodetect whether there are NFSv4 exports or not, and idmapd is not a
    # particularily heavy daemon, so we auto-enable it if we find an /etc/exports
    # file. This does not mean that there are NFSv4 or other mounts active (or
    # even that nfs-kernel-server is installed), but it matches what the "start"
    # condition in nfs-kernel-server's init script does, which has a value in
    # itself.
    if [ -f /etc/exports ] && grep -q '^[[:space:]]*[^#]*/' /etc/exports; then
    AUTO_NEED_IDMAPD=yes
    fi
    case "$NEED_STATD" in
    yes|no)
    NEED_STATD=yes
    esac
    case "$NEED_IDMAPD" in
    yes|no)
    NEED_IDMAPD=$AUTO_NEED_IDMAPD
    esac
    case "$NEED_GSSD" in
    yes|no)
    NEED_GSSD=$AUTO_NEED_GSSD
    esac
    do_modprobe() {
    if [ -x /sbin/modprobe -a -f /proc/modules ]; then
    modprobe -q "$1" || true
    fi
    do_mount() {
    if ! grep -E "$1\$" /proc/filesystems &> /dev/null ; then
    return 1
    fi
    if grep -vw "$1" /proc/mounts &> /dev/null ; then
    if ! mountpoint -q "$2" ; then
    mount -t "$1" "$1" "$2" -o "$3"
    return
    fi
    fi
    return 0
    do_umount() {
    if mountpoint -q "$1" ; then
    umount "$1"
    fi
    return 0
    get_pid() {
    pidof -o %PPID "$1"
    case "$1" in
    start)
    rc=0
    if [ "$NEED_STATD" = yes ]; then
    stat_busy "Starting $STATD_DAEMON_NAME daemon"
    PID=$(get_pid $STATD)
    if [ -z "$PID" ]; then
    [ -f /var/run/$STATD_DAEMON_NAME.pid ] && rm -f /var/run/$STATD_DAEMON_NAME.pid
    # RUN
    $STATD $STATD_OPTS
    rc=$(($rc+$?))
    if [ $rc -gt 0 ]; then
    stat_fail
    exit $rc
    else
    echo $(get_pid $STATD) > /var/run/$STATD_DAEMON_NAME.pid
    stat_done
    fi
    else
    stat_fail
    exit 1
    fi
    fi
    if [ "$NEED_IDMAPD" = yes ] || [ "$NEED_GSSD" = yes ]; then
    do_modprobe sunrpc
    do_modprobe nfs
    do_mount rpc_pipefs "$PIPEFS_MOUNTPOINT" "$PIPEFS_MOUNTOPTS"
    rc=$(($rc+$?))
    if [ $rc -gt 0 ]; then
    stat_fail
    exit $rc
    fi
    if [ "$NEED_IDMAPD" = yes ]; then
    stat_busy "Starting $IDMAPD_DAEMON_NAME daemon"
    PID=$(get_pid $IDMAPD)
    if [ -z "$PID" ]; then
    [ -f /var/run/$IDMAPD_DAEMON_NAME.pid ] && rm -f /var/run/$IDMAPD_DAEMON_NAME.pid
    # RUN
    $IDMAPD $IDMAPD_OPTS
    rc=$(($rc+$?))
    if [ $rc -gt 0 ]; then
    stat_fail
    exit $rc
    else
    echo $(get_pid $IDMAPD) > /var/run/$IDMAPD_DAEMON_NAME.pid
    stat_done
    fi
    else
    stat_fail
    exit 1
    fi
    fi
    if [ "$NEED_GSSD" = yes ]; then
    do_modprobe rpcsec_gss_krb5
    stat_busy "Starting $GSSD_DAEMON_NAME daemon"
    PID=$(get_pid $GSSD)
    if [ -z "$PID" ]; then
    [ -f /var/run/$GSSD_DAEMON_NAME.pid ] && rm -f /var/run/$GSSD_DAEMON_NAME.pid
    # RUN
    $GSSD $GSSD_OPTS
    rc=$(($rc+$?))
    if [ $rc -gt 0 ]; then
    stat_fail
    exit $rc
    else
    echo $(get_pid $GSSD) > /var/run/$GSSD_DAEMON_NAME.pid
    stat_done
    fi
    else
    stat_fail
    exit 1
    fi
    fi
    fi
    add_daemon $daemon_name
    stop)
    rc=0
    if [ "$NEED_IDMAPD" = yes ] || [ "$NEED_GSSD" = yes ]; then
    if [ "$NEED_GSSD" = yes ]; then
    stat_busy "Stopping $GSSD_DAEMON_NAME daemon"
    PID=$(get_pid $GSSD)
    # KILL
    [ ! -z "$PID" ] && kill $PID &> /dev/null
    rc=$(($rc+$?))
    if [ $rc -gt 0 ]; then
    stat_fail
    exit $rc
    else
    rm -f /var/run/$GSSD_DAEMON_NAME.pid &> /dev/null
    stat_done
    fi
    fi
    if [ "$NEED_IDMAPD" = yes ]; then
    stat_busy "Stopping $IDMAPD_DAEMON_NAME daemon"
    PID=$(get_pid $IDMAPD)
    # KILL
    [ ! -z "$PID" ] && kill $PID &> /dev/null
    rc=$(($rc+$?))
    if [ $rc -gt 0 ]; then
    stat_fail
    exit $rc
    else
    rm -f /var/run/$IDMAPD_DAEMON_NAME.pid &> /dev/null
    stat_done
    fi
    fi
    do_umount "$PIPEFS_MOUNTPOINT" 2>/dev/null || true
    fi
    if [ "$NEED_STATD" = yes ]; then
    stat_busy "Stopping $STATD_DAEMON_NAME daemon"
    PID=$(get_pid $STATD)
    # KILL
    [ ! -z "$PID" ] && kill $PID &> /dev/null
    rc=$(($rc+$?))
    if [ $rc -gt 0 ]; then
    stat_fail
    exit $rc
    else
    rm -f /var/run/$STATD_DAEMON_NAME.pid &> /dev/null
    stat_done
    fi
    fi
    rm_daemon $daemon_name
    status)
    stat_busy "$daemon_name running"
    if ck_daemon $daemon_name; then
    stat_fail
    else
    stat_done
    fi
    if [ "$NEED_STATD" = yes ]; then
    stat_busy "Daemon $STATD_DAEMON_NAME running"
    PID=$(get_pid $STATD)
    if [ -z "$PID" ]; then
    stat_fail
    else
    stat_done
    fi
    fi
    if [ "$NEED_GSSD" = yes ]; then
    stat_busy "Daemon $GSSD_DAEMON_NAME running"
    PID=$(get_pid $GSSD)
    if [ -z "$PID" ]; then
    stat_fail
    else
    stat_done
    fi
    fi
    if [ "$NEED_IDMAPD" = yes ]; then
    stat_busy "Daemon $IDMAPD_DAEMON_NAME running"
    PID=$(get_pid $IDMAPD)
    if [ -z "$PID" ]; then
    stat_fail
    else
    stat_done
    fi
    fi
    echo
    restart)
    $0 stop
    sleep 3
    $0 start
    echo "usage: $0 {start|stop|status|restart}"
    esac
    exit 0

  • The page that you are trying to open contains a movie that is referenced to an incorrect version of

    I programmed a set of quizzes in Director 8.0 for one of my courses about ten years ago and have been updating them since. And, yes, I did purchased 11.5, but can't use it because I can't use printing w POM or a number of other extras anymore. My semester is about to start and Adobe has updated the Shockwave player in Windows over the summer (I think?) causing my quizzes to not work in a web browser. I am getting this message and can't figure out what is causing it:
    The page that you are trying to open contains a movie that is referenced to an incorrect version of the Shockwave player.
    I have been working on this for a day and a half and am stumped. I made two apps in 11.5 for WIndows .exe and Mac .app that partially work, but can't get the quizzes to work in Firefox 13 or IE 9. I searched the web and could not find anything useful.  I found a message in this forum from back in 2009 where someone had a similar problem and Sean WIlson said to add a parameter that specifed Player version =11, but that was back in 2009. I tried that PARAM and still get the error. I tried updating the quiz menu .dcr on the web to 11.5, but that didn't work. With all of the updates lately to browsers, the Shockwave plug-in, and Director 11.5, I don't know what is generating the error.  I am assuming its Shockwave player doesn't like something, but have no idea what this movie reference to an incorrect version of Shockwave player is referring to.  We're up to player 11.6 now.  Do we have to include this in the embed statement or is there something else that is causing this error?  Please help, thanks!
    Edit: Oddly, the quizzes are still working on a MacBook Pro using Firefox 13.0.1.  I don't know what the Shockwave Player version is. On the Windows 7 side of this MacBook running bootcamp, it was running Shockwave Player 11.6.4. I thought maybe I should uninstall it and install the latest 11.6.6, which I did. The latest version of Shockwave made no difference on Windows 7.  I also tried to run the quizzes on an HP laptop running Windows Vista, Firefox 14.0.1 and Shockwave Player 11.6 installed back Jan 2012 accoridng to the Control Panel.  Same error message.  Tried it using IE 8, which just seemed to do a Shockwave update - no problem the quizzes run.

    Send me a Private Message and I'll provide an email address where you could send your DCR and HTML and I'll see if I can help.

  • SQL 2012 SP1 DB Engine discovery; incorrect version

    Hi All
    I've added the latest SQL MPs (6.4.1.0) to our SCOM 2012 R2 instance and have been working through the steps to get our 2008 and 2012 DBs added and monitored by SCOM. The 2008 db's have gone in fine, but I noticed that our 2012 db's are visible but are not
    monitored. 
    What I've noticed is that the "SQL Server 2012 DB Engine Group" has not been populated (unlike the 2008 engine groups) and looking at the dynamic inclusion rule, it's trying to match the wildcard 11.0.*. This is where it gets interesting, because
    I can see from querying the SQL server directly that each 2012 instance has a version of 11.0.3000.0, but the version under  HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\110\SQLServer2012\CurrentVersion is 11.1.3000.0. The engine version
    that SCOM reports is also 11.1.3000.0, so I assume that it's picking up this as the version and is therefore not adding the SQL 2012 instance to the DB Engine Group because it doesn't match the 11.0.* wildcard.
    Whilst I've found one or two articles that refer to this problem (specifically http://ianblythmanagement.wordpress.com/2013/09/12/sql-server-2012-db-engine-group-problem), I can't work how to get around this problem and get these 2012 dbs monitoring
    in SCOM. I don't fancy attempting to change version number on the SQL servers, and I can't work out a way to amend or override the 2012 Discovery MP to also pick up 11.1.* versions.
    Does anyone have any ideas on how to work around this (other than wait for an update to the MP and hope it's fixed there !) ?
    Cheers
    Neil

    Hi,
    The issue has been report to Microsoft feedback here.
    http://connect.microsoft.com/SQLServer/feedback/details/813297/sql-server-2012-sp1-setup-sets-incorrect-version-number-in-the-registry
    You can create  a custom group with the rule. ( Object is SQL Server 2012 DB Engine AND ( Version Matches wildcard 11.1.* ) AND True )
    Niki Han
    TechNet Community Support

  • Incorrect version of oracle server or odbc driver

    Hi friends,
              I am using oracle database 11g ,i like to connect oracle database with my sage ERP accpac 5.6 , i connect with sage it show me the error "incorrect version of oracle server or odbc driver or odbc driver manager"
    please anyone help me
    Thanks

    It appears the problem was that I had J2EE 1.4.2 and actually required J2SDK 1.4.2 i.e. the Standard edition rather than the Enterprise edition. Even though there are exactly the same files in the 'bin' directory in both versions. The installation now works.
    Mark

  • Flash Player 13.0.0.244 incorrect version on distribution page

    The Adobe Flash Extended Support Release 13.0.0.244 on the licensing distribution site is the incorrect version:
    Adobe Flash Player Distribution | Adobe
    Wenn you download the EXE or MSI for Internet Explorer you will still get version 13.0.0.241.

    Hello,
    I have confirmed that a non-US locale (in this case Germany) is still getting 13.0.0.241 instead of 13.0.0.244.  I've escalated this to have the issue fixed and find out why non-US locale is still getting the old files and not the new files.  I'll post here when I have an update.
    Maria

  • Compiling against developer database, running against production database??

    Hello :-)
    In our company we have a developer- , a test- and a production database, like most of us, I think... :-)
    In former times it was usual to compile forms against the database, that they are running against. But nowadays this is because of new security rules very difficult. Developers have all rights on the developer database, a few on test and nearly none on the production database and even our DBA is (officially) not allowed to use/know the sys password.
    The developer and the production database are very similar (both 10g Enterprise Edition Release 10.2.0.3.0 - 64bit, Linux), but not totally equal. Of course there are differences in database objects, because it's the developer database, there could be differences in installed patches, and the production database consists of 4 Clusters, the developer database not.
    Is it enough to compile the forms (6i and also 10g) against the developer database and run the compiled forms against the production database or should we compile the forms, that go in production, strictly against the production database, which is a bit difficult because of our security rules???
    Regards,
    Udo

    Hello, Francois!
    Thanks for your answer, but that was not exactly what I meant...
    What you describe is, how it should be :-)
    We develop, deliver the forms and scripts and "someone" compiles them against the production database.
    But our problem is that it would be a lot of "paperwork"(?) each time(!) to get the authorization to get the required rights on the production database to compile all objects.
    We have no "production team" that has all these rights and are not allowed to do so...
    So I just want to have your experiences, if it is enough to compile against the developer database???
    I have made the experience that probably 98-99% works fine, but sometimes there are strange things happening (like not passing variables from one form to another, when a form is compiled against the developer database and the attached library for example is compiled against the production database)...
    Regards,
    Udo

  • Next version of berkeley db xml?

    We are in the process of evaluating technology for a major rewrite of our back end system and considering Berkeley DB XML for our needs. I couldn't help but notice the last official version of Berkeley DB XML was over a year ago (Jan 2007). Is a new release imminent? If so, can you shed some light on what features will be included in this new version? Will there be a query language style support for updates? (e.g., xupdate)
    Thanks in advance.
    Chris

    Just wanted to check if it would be using BDB 4.7.25 internally or not? As I understand the current version of BDB-XML 2.4.13 uses BDB 4.6.21.
    Also, is there any way I can use libdb_java47.dll with the current version of BDB-XML(2.4.13)?
    Thanks,
    --Soarabh.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • JET/DAO Error 3445 Incorrect version of DLL file 'MSJET35.DLL' was found

    I am trying to migrate MSAccess 97 to Oracle 8.1.6 through Migration Workbench
    I have created msaccess ODBC datasource with the name vinacc for database vinacc.mdb
    then
    It ask for the MSAccess database to migrate to Oracle by clicking on ADD DATABASE
    it gives me errorError 3445 Incorrect version of DLL file 'MSJET35.DLL' was found

    I am trying to migrate MSAccess 97 to Oracle 8.1.6 through Migration Workbench
    I have created msaccess ODBC datasource with the name vinacc for database vinacc.mdb
    then
    It ask for the MSAccess database to migrate to Oracle by clicking on ADD DATABASE
    it gives me errorError 3445 Incorrect version of DLL file 'MSJET35.DLL' was found

  • Oracle Lite installation - 'Missing or Incorrect version of JDK' problem

    Dear Experts,
    I am attempting to install Oracle Lite 10g and when I go through the Universal Installer steps, after asking to install the demo applications, the next screen gives me 'Missing or Incorrect version of JDK'.
    I have downloaded the J2EE package from Sun and put it in a separate directory. This version is 1.4.2 and I have got the following in my environment varibles:
    PATH is 'C:\j2sdk1.4.2\bin;C:\oracle\product\10.2.0\db_1
    \NETWORK\ADMIN;C:\oracle\product\10.2.0\db_1\BIN'
    CLASSPATH is ''C:\j2sdk1.4.2\bin'
    I have Oracle 10g EE database already installed and my operating system is MS Windows 2000 service pack 4. When I navigate to 'C:\j2sdk1.4.2\bin' and type '>java -version' I get 'build 1.4.2_...'
    Many thanks for your help,
    Mark

    It appears the problem was that I had J2EE 1.4.2 and actually required J2SDK 1.4.2 i.e. the Standard edition rather than the Enterprise edition. Even though there are exactly the same files in the 'bin' directory in both versions. The installation now works.
    Mark

  • How to compile against multiple libraries w/ different API's

    I am trying to write code that will run with 2 different versions of a Java library. The API is different between those 2 library versions.
    For example in library v1.1 I have a method:
    myMethod(String x) {...}And in library v1.2 I have a method:
    myMethod(String x, String y) {...}In my calling code I have a way to determine what version of the library is present. I want to dynamically choose at runtime which API to call based on this version. Roughly, the code would look like this:
    if (version = "1.1")
        myMethod("arg1");            //call 1.1 API
    else if (version = "1.2")
        myMethod("arg1","arg2");   //call 1.2 API
      }The problem is that I cannot compile my code with both versions of my library at the same time. The method whose corresponding library is not used to compile always causes an error.
    Can someone suggest a design pattern that I can use to get around this? There must be some way to call a different version of myMethod() (with different number of parameters) without exposing it to the compiler.
    Thanks.

    The problem is that I cannot compile my code with
    both versions of my library at the same time. The
    method whose corresponding library is not used to
    compile always causes an error.
    Huh?
    You do have two versions of the library right? And you can compile both right?
    If so then the problem is the application.
    If so.....
    - You create a proxy library. It loads the real library dynamically using reflection based on however you determine which is correct.
    - You compile the application using the proxy library.
    Note that in the above the application is NOT compiled with the two real libraries. The libraries are compiled seperately.

  • Error 315 in Oracle 6i when compiling against DB 10g

    We are using Forms 6i, Patch 4. I know this is an old patch, but for internal reasons we are not allowed to apply a newer Patch.
    Database running is 10g (10.1.0.3)
    Following problem:
    We want to compile a form with a PL/SQL Table and getting the Error 315 PL/SQL Table Declarations must use BINARY_INTEGER Indices.
    In fact, we are using BINARY_INTEGER Indices, therefore this message is confusing me a bit.
    If I compile agains our old 8i Database, which fortunately is still running, everything is fine.
    I also tried to install a newer Patch for Oracle Forms and from Patch 6 onwards, compiling is fine.
    Unfortunately, some of the Forms compiled with this Patch will not run under a runtime Enviroment with Patch Level 4.
    As I said, there is no way to implement a newer Patch within the next 9 months for Oracle Forms.
    Is there any other way to get rid of this problem?
    Any suggestions are welcome.
    Thx and have a nice day
    roedelfroe

    We are using Forms 6i, Patch 4. I know this is an old patch, but for
    internal reasons we are not allowed to apply a newer Patch.
    Database running is 10g (10.1.0.3) I find it particularly curious that you have chosen to move to the absolutely latest version of the database, yet refuse to move the Forms patch level forward.
    Are you working for Dilbert's boss:
    <img src='http://www.unitedmedia.com/comics/dilbert/archive/images/dilbert2052322050726.gif'>
    Message was edited by Steve Cosner
    .

  • Two versions of code, one compile failure with java.lang.OutOfMemoryError

    I Have two cvs versions of one package. The differences between the two are minor, and I'm only trying to make the root version look like the latest branch. When I compile the branch, which has more code, things are fine. When I comple the root version I get
    java.lang.OutOfMemoryErrorSInce I can compile one version, it is clearly not the case that I lack RAM or something like that. What might the problem be? Thanks.
    Ken

    I'm compiling and I'm doing it with ant. As I said,
    it works fine with a slightly updated version of the
    Java package I have, but has this error while doing
    the same compile on the cvs root version of the
    package. I'm just trying to prepare for mergning the
    new code but can't compile the basic version of the
    package.Then, as already stated, the difference between the two versions is enough to cross the threshold of heap memory available to the VM that's running the compiler. Ant lets you provide VM options to an externally invoked VM. See its docs for how. If you're using fork="false", then just change or add -Xmx in ant.bat or ant.sh.

Maybe you are looking for