- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ldapux local fail
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
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
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
07-22-2011 06:21 AM
07-22-2011 06:21 AM
ldapux local fail
Hello,
I am configuring ldapux locally. Launch "setup -l" and all finished correctly, but when run ldapclientd nothing happend
# ps -ef | grep ldap
root 17407 19512 0 15:12:08 pts/0 0:00 grep ldap
# ./ldapclientd.rc start
# ps -ef | grep ldap
root 17423 19512 0 15:12:23 pts/0 0:00 grep ldap
If run the comman maually start ok
# /opt/ldapux/bin/ldapclientd -d 511 -o stdout
# ps -ef | grep ldap
root 17441 1 191 15:13:37 ? 0:21 /opt/ldapux/bin/ldapclientd -d 511 -o stdout
root 17460 19512 0 15:14:00 pts/0 0:00 grep ldap
But I have a error
Jul/22/2011 15:13:37 1: daemon.c: 124: server_up: called]
[Jul/22/2011 15:13:37 1: daemon.c: 141: server_up: random pass is 10085]
[Jul/22/2011 15:13:37 1: daemon.c: 170: server_up: daemon_status_p=mmap()]
error: cannot mmap()==MAP_FAILED
[Jul/22/2011 15:13:37 1: daemon.c: 180: server_up: error: cannot mmap()==MAP_FAILED]
[Jul/22/2011 15:13:37 1:application.c: 195: application_exit_trap: called]
[Jul/22/2011 15:13:37 1: daemon.c: 768: cleanup: called]
[Jul/22/2011 15:13:37 1: control.c: 195: control_kill: called]
I tried a lot of things and discovered other error when run ldapconfd manualy
# /opt/ldapux/bin/ldapconfd -v -l /tmp/prueba
# INFO: CFI_LOCAL_ONLY_PROFILE:
LDAP-UX configuration profile was created locally. The information
you requested is not available.
and it is the output
# more /tmp/prueba
Jul/22/2011 15:15:40: successfully created conf_producer thread 2.
Jul/22/2011 15:15:40: successfully created worker thread 3.
Jul/22/2011 15:15:40: successfully created worker thread 4.
Jul/22/2011 15:15:40: Failed to read the result of popen(), errno = 2.
Jul/22/2011 15:15:40: bind to LDAP server successfully.
Jul/22/2011 15:15:40: search_base = DC=tgs,DC=local
Jul/22/2011 15:15:40: search filter for host entry: (&(&(objectclass=networkService)(&(objectclass=computer)(ipHostNumber=*)))(|(cn=sjdora)(cn=sjdora)))
Jul/22/2011 15:15:40: no entries found for host/global policy, no update is done
Jul/22/2011 15:15:40: global_policy_dn is not configured in /etc/opt/ldapux/ldapconfd.conf.
Jul/22/2011 15:15:40: ldapconfd[17568]: No service configured, daemon stops!
My profile
cn: local-only-profile
objectclass: DUAConfigProfile
preferredserverlist: 10.0.128.11:389
defaultsearchbase: DC=xxx,DC=local
bindtimelimit: 5
authenticationmethod: simple
followreferrals: FALSE
credentiallevel: proxy
attributemap:passwd:userpassword=userPassword
attributemap:passwd:homedirectory=unixHomeDirectory
attributemap:shadow:userpassword=userPassword
attributemap:group:userpassword=userPassword
servicesearchdescriptor: passwd:DC=xxx,DC=local?sub?
servicesearchdescriptor: shadow:DC=xxx,DC=local?sub?
servicesearchdescriptor: group:DC=xxx,DC=local?sub?
Somebody can help me?
A lot of thanks.
- Tags:
- LDAP