vk  

AW: Install Problems

Peter Kehl
Mon, 23 Sep 2002 16:23:42 -0700

Dear Raju,

thank you for your advice. But now a different Error occurs:

[root@serv1 vm-pop3d-1.1.4]# make 

gcc -c  -DHAVE_CONFIG_H -g -O3 -Wall -pedantic -ansi apop.c
gcc -c  -DHAVE_CONFIG_H -g -O3 -Wall -pedantic -ansi auth.c
gcc -c  -DHAVE_CONFIG_H -g -O3 -Wall -pedantic -ansi capa.c
gcc -c  -DHAVE_CONFIG_H -g -O3 -Wall -pedantic -ansi dele.c
gcc -c  -DHAVE_CONFIG_H -g -O3 -Wall -pedantic -ansi extra.c
gcc -c  -DHAVE_CONFIG_H -g -O3 -Wall -pedantic -ansi getopt.c
gcc -c  -DHAVE_CONFIG_H -g -O3 -Wall -pedantic -ansi getopt1.c
gcc -c  -DHAVE_CONFIG_H -g -O3 -Wall -pedantic -ansi vm-pop3d.c
gcc -c  -DHAVE_CONFIG_H -g -O3 -Wall -pedantic -ansi list.c
gcc -c  -DHAVE_CONFIG_H -g -O3 -Wall -pedantic -ansi md5.c
md5.c: In function `md5_finish_ctx':
md5.c:117: warning: implicit declaration of function `memcpy'
gcc -c  -DHAVE_CONFIG_H -g -O3 -Wall -pedantic -ansi noop.c
gcc -c  -DHAVE_CONFIG_H -g -O3 -Wall -pedantic -ansi quit.c
gcc -c  -DHAVE_CONFIG_H -g -O3 -Wall -pedantic -ansi retr.c
gcc -c  -DHAVE_CONFIG_H -g -O3 -Wall -pedantic -ansi rset.c
gcc -c  -DHAVE_CONFIG_H -g -O3 -Wall -pedantic -ansi stat.c
gcc -c  -DHAVE_CONFIG_H -g -O3 -Wall -pedantic -ansi top.c
gcc -c  -DHAVE_CONFIG_H -g -O3 -Wall -pedantic -ansi uidl.c
gcc -c  -DHAVE_CONFIG_H -g -O3 -Wall -pedantic -ansi user.c
user.c: In function `pop3_user':
user.c:159: warning: passing arg 1 of `ldap_mailbox' discards qualifiers
from pointer target type
user.c:159: warning: passing arg 3 of `ldap_mailbox' discards qualifiers
from pointer target type
gcc -c  -DHAVE_CONFIG_H -g -O3 -Wall -pedantic -ansi virtual.c
gcc -c  -DHAVE_CONFIG_H -g -O3 -Wall -pedantic -ansi ldap.c
ldap.c:6:18: lber.h: Datei oder Verzeichnis nicht gefunden
ldap.c:7:18: ldap.h: Datei oder Verzeichnis nicht gefunden
make: *** [ldap.o] Fehler 1
[root@serv1 vm-pop3d-1.1.4]#


Can You help me?

Yours
Peter


-----Ursprüngliche Nachricht-----
Von: Raju Mathur [mailto:[EMAIL PROTECTED]] 
Gesendet: Montag, 23. September 2002 19:44
An: [EMAIL PROTECTED]
Betreff: Install Problems

Hi Peter,

>>>>> "Peter" == Peter Kehl <[EMAIL PROTECTED]> writes:

    Peter> Hi! I am trying to install vk. But when I am typing:

    Peter> [root@serv1 vk]# slapadd -b dc=hostname,dc=trxonline,dc=de
    Peter> -l MYLDIF



    Peter> I get following Error Message:
           
    Peter> slapadd: database (dc=hostname,dc=trxonline,dc=de) not
    Peter> configured to hold dn="dc=rhost,dc=trxonline,dc=de"
    Peter> (line=5) slapadd: database (dc=hostname,dc=trxonline,dc=de)
    Peter> not configured to hold
    Peter> dn="type=hostMap,dc=rhost,dc=trxonline,dc=de" (line=10)
    Peter> slapadd: database (dc=hostname,dc=trxonline,dc=de) not
    Peter> configured to hold dn="cn=Manager,dc=trxonline,dc=de"
    Peter> (line=17)



    Peter> My slapd.conf contains (only):

    Peter> # $OpenLDAP: pkg/ldap/servers/slapd/slapd.conf,v 1.8.8.6
    Peter> 2001/04/20 23:32:43 kurt Exp $ # # See slapd.conf(5) for
    Peter> details on configuration options.  # This file should NOT
    Peter> be world readable.  # include
    Peter> /etc/openldap/schema/core.schema include
    Peter> /etc/openldap/schema/cosine.schema include
    Peter> /etc/openldap/schema/inetorgperson.schema include
    Peter> /etc/openldap/schema/nis.schema include
    Peter> /etc/openldap/schema/redhat/rfc822-MailMember.schema
    Peter> include /etc/openldap/schema/redhat/autofs.schema include
    Peter> /etc/openldap/schema/redhat/kerberosobject.schema include
    Peter> /etc/openldap/schema/kandalaya.schema

    Peter> schemacheck off

    Peter>
#######################################################################
    Peter> # ldbm database definitions
    Peter>
#######################################################################

    Peter> database ldbm suffix "dc=hostname,dc=trxonline,dc=de"
    Peter> rootdn "cn=Manager,dc=hostname,dc=trxonline,dc=de"
    Peter> directory /var/lib/ldap lastmod on # Indices to maintain
    Peter> index objectClass,uid,uidNumber,gidNumber,memberUid eq
    Peter> index cn,mail,surname,givenname eq,subinitial

Please replace all instances of dc=hostname,dc=trxonline,dc=de and
plain dc=trxonline,dc=de with dc=rhost,dc=trxonline,dc=de in your
commands, MYLDIF and slapd.conf

-- Raju

    Peter> [snip]

-- 
Raju Mathur               [EMAIL PROTECTED]      http://kandalaya.org/
                      It is the mind that moves