- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: slapd woes
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-23-2007 05:23 AM
тАО05-23-2007 05:23 AM
slapd woes
Any help would be appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-23-2007 05:40 AM
тАО05-23-2007 05:40 AM
Re: slapd woes
Might help to see the configuration files. Take a look at the /var/adm/syslog/syslog.log files as well.
Most likely cause, inconsistent configuration or typo. Second most likely cause bad code in the release. Since its part of Internet Express, I doubt that.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-23-2007 05:52 AM
тАО05-23-2007 05:52 AM
Re: slapd woes
------------------------
# cat slapd.conf|egrep -v '^#'
include /opt/iexpress/openldap/etc/openldap/schema/core.schema
pidfile /var/opt/iexpress/openldap/run/slapd.pid
argsfile /var/opt/iexpress/openldap/run/slapd.args
loglevel 68
database bdb
suffix "dc=secdevunix,dc=attachmate,dc=com"
rootdn "cn=Manager,dc=secdevunix,dc=attachmate,dc=com"
rootpw secret
directory /var/opt/iexpress/openldap/openldap-data
index objectClass eq
-----------------------------------------
And here's the log file. nothing gets logged when I get the errors -- almost as if I'm net getting to the right port. But everything's about as default as it can be.
----------------------
May 23 09:29:16 purple slapd[14835]: @(#) $OpenLDAP: slapd 2.3.32 (Mar 24 2007 1
2:41:33) $
May 23 09:29:16 purple slapd[14835]: daemon: IPv6 socket() failed errno=221 (Pro
tocol not supported)
May 23 09:29:16 purple slapd[14835]: line 57 (database^Ibdb)
May 23 09:29:16 purple slapd[14835]: line 58 (suffix^I^I"dc=secdevunix,dc=attach
mate,dc=com")
May 23 09:29:16 purple slapd[14835]: line 59 (rootdn^I^I"cn=Manager,dc=secdevuni
x,dc=attachmate,dc=com")
May 23 09:29:16 purple slapd[14835]: line 63 (rootpw ***)
May 23 09:29:16 purple slapd[14835]: line 67 (directory^I/var/opt/iexpress/openl
dap/openldap-data)
May 23 09:29:16 purple slapd[14835]: line 69 (index^IobjectClass^Ieq)
May 23 09:29:16 purple slapd[14835]: index objectClass 0x0004
May 23 09:29:16 purple slapd[14836]: bdb_db_open: dc=secdevunix,dc=attachmate,dc
=com
May 23 09:29:16 purple slapd[14836]: bdb_db_open: Warning - No DB_CONFIG file fo
und in directory /var/opt/iexpress/openldap/openldap-data: (2)
May 23 09:29:17 purple slapd[14836]: slapd starting
#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-23-2007 06:09 AM
тАО05-23-2007 06:09 AM
Re: slapd woes
hostname of the server matches the hostname in the configuration file?
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-23-2007 06:25 AM
тАО05-23-2007 06:25 AM
Re: slapd woes
I'm not quite sure what you mean. The hostname is "purple.attachmate.com" That's where the slapd is running. But the slapd.conf doesn't -- unless I'm wrong -- need the host name. Attachmate.com is our DNS domain. secdevunix is the new LDAP domain I'm trying to create.
For what it's worth: I got the same error when I left out the secdevunix and stuck with attachmate.com.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-23-2007 07:18 AM
тАО05-23-2007 07:18 AM
Re: slapd woes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-23-2007 07:30 AM
тАО05-23-2007 07:30 AM
Re: slapd woes
# ldapsearch -x -b '' -s base '(objectclass=*)' namingContexts
ldap_bind: Can't contact LDAP server (-1)
#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-23-2007 08:07 AM
тАО05-23-2007 08:07 AM
Re: slapd woes
Try the following command:
# ldapsearch -x -s base -b dc=your,dc=root,dc=suffix -H ldap://hostname.domain 'objectclass=*'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-23-2007 08:30 AM
тАО05-23-2007 08:30 AM
Re: slapd woes
# netstat -an|grep 389
tcp 0 0 *.389 *.* LISTEN
That produced something. Is it a good something? (Keep in mind I'm an LDAP idiot)
ldapsearch -x -s base -b dc=secdevunix,dc=attachmate,dc=com \
-H ldap://purple.attachmate.com 'objectclass=*'
# extended LDIF
#
# LDAPv3
# base
# filter: objectclass=*
# requesting: ALL
#
# search result
search: 2
result: 32 No such object
# numResponses: 1
#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-23-2007 09:00 AM
тАО05-23-2007 09:00 AM
Re: slapd woes
dn: dc=secdevunix,dc=attachmate,dc=com
objectClass: dcObject
dc: secdevunix
Off the top of my head I don't remember if you can add the root object with ldapadd or if you need to shut slapd down and use slapadd.