ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
* [Sysadmins] ldap
@ 2007-07-12  6:05 Igo
  2007-07-12  6:42 ` Mikhail A. Pokidko
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Igo @ 2007-07-12  6:05 UTC (permalink / raw)
  To: ALT Linux sysadmin discuss

всем привет
alt 4.0.0
поставил openldap
[root@localhost ldap]# service slapd start
Adjusting environment for 
slapd:                                                                                                           
[ DONE ]
Starting slapd 
service:                                                                                                                    
[ DONE ]
[root@localhost ldap]# service slapd status
slapd is dead, but subsystem is locked
[root@localhost ldap]# ls -l /var/lib/ldap/var/run/
total 0
[root@localhost ldap]# ps aux|grep slapd
ldap     26868  0.0  1.2  97788 24976 ?        Ssl  10:03   0:00 
/usr/sbin/slapd -u ldap -r /var/lib/ldap -h ldap://localhost/
root     26886  0.0  0.0   5896   544 pts/6    R+   10:03   0:00 grep slapd
[root@localhost ldap]# service slapd stop
Service slapd is not running.     

пробывал и в стартовом скрипте и в конфиге менять путь pid файла, 
несоздаёт его.
что посоветуете?



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Sysadmins] ldap
  2007-07-12  6:05 [Sysadmins] ldap Igo
@ 2007-07-12  6:42 ` Mikhail A. Pokidko
  2007-07-12  6:48   ` Igo
  2007-07-12  6:53 ` Dmitry Lebkov
  2007-07-12 13:08 ` Igo
  2 siblings, 1 reply; 8+ messages in thread
From: Mikhail A. Pokidko @ 2007-07-12  6:42 UTC (permalink / raw)
  To: altlinux, ALT Linux sysadmin discuss

а настраивали как-то? базы данных указаны в конфиге?

2007/7/12, Igo :
> пробывал и в стартовом скрипте и в конфиге менять путь pid файла,
> несоздаёт его.
> что посоветуете?


-- 
Mikhail A. Pokidko
ALTLinux Team
e-mail: pma@altlinux.org
xmpp: solar@gmail.ru

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Sysadmins] ldap
  2007-07-12  6:42 ` Mikhail A. Pokidko
@ 2007-07-12  6:48   ` Igo
  2007-07-12  7:12     ` Igo
  0 siblings, 1 reply; 8+ messages in thread
From: Igo @ 2007-07-12  6:48 UTC (permalink / raw)
  To: Mikhail A. Pokidko, sysadmins


[root@localhost openldap]# cat slapd.conf
include  /etc/openldap/schema/core.schema
...
include /etc/openldap/schema/qmail.schema
loglevel -1
#pidfile         /var/run/ldap/slapd.pid
#argsfile        /var/run/ldap/slapd.args
modulepath      /usr/lib/openldap
moduleload      back_ldbm
database        ldbm
suffix          "dc=lala,dc=ru"
rootdn          "cn=root,dc=lala,dc=ru"
rootpw          pass
directory       /var/lib/ldap/base
index   objectClass,uid,uidNumber,gidNumber     eq
index   cn,mail,surname,givenname               eq,subinitial

access to attr=userPassword
    by dn="cn=dovecot,dc=lala,dc=ru" read
    by anonymous auth
    by self write
    by * none

> а настраивали как-то? базы данных указаны в конфиге?
>
> 2007/7/12, Igo :
>> пробывал и в стартовом скрипте и в конфиге менять путь pid файла,
>> несоздаёт его.
>> что посоветуете?
>
>




^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Sysadmins] ldap
  2007-07-12  6:05 [Sysadmins] ldap Igo
  2007-07-12  6:42 ` Mikhail A. Pokidko
@ 2007-07-12  6:53 ` Dmitry Lebkov
  2007-07-12  7:10   ` Igo
  2007-07-12 13:08 ` Igo
  2 siblings, 1 reply; 8+ messages in thread
From: Dmitry Lebkov @ 2007-07-12  6:53 UTC (permalink / raw)
  To: altlinux, ALT Linux sysadmin discuss

Igo wrote:
> всем привет
> alt 4.0.0
> поставил openldap
> [root@localhost ldap]# service slapd start
> Adjusting environment for 
> slapd:                                                                                                           
> [ DONE ]
> Starting slapd 
> service:                                                                                                                    
> [ DONE ]
> [root@localhost ldap]# service slapd status
> slapd is dead, but subsystem is locked
> [root@localhost ldap]# ls -l /var/lib/ldap/var/run/
> total 0
> [root@localhost ldap]# ps aux|grep slapd
> ldap     26868  0.0  1.2  97788 24976 ?        Ssl  10:03   0:00 
> /usr/sbin/slapd -u ldap -r /var/lib/ldap -h ldap://localhost/
> root     26886  0.0  0.0   5896   544 pts/6    R+   10:03   0:00 grep slapd
> [root@localhost ldap]# service slapd stop
> Service slapd is not running.     
> 
> пробывал и в стартовом скрипте и в конфиге менять путь pid файла, 
> несоздаёт его.
> что посоветуете?

http://faq.altlinux.ru/index.php?action=single&qid=624&aid=625

-- 
WBR, Dmitry Lebkov


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Sysadmins] ldap
  2007-07-12  6:53 ` Dmitry Lebkov
@ 2007-07-12  7:10   ` Igo
  0 siblings, 0 replies; 8+ messages in thread
From: Igo @ 2007-07-12  7:10 UTC (permalink / raw)
  To: Dmitry Lebkov, sysadmins

он у меня запускается просто несоздаётся pid файл
а всё что плохое видно по
 /usr/sbin/slapd -d -1 -u ldap -r /var/lib/ldap -h ldap://localhost/
это только
WARNING: No dynamic config support for database ldbm

> Igo wrote:
>> всем привет
>> alt 4.0.0
>> поставил openldap
>> [root@localhost ldap]# service slapd start
>> Adjusting environment for 
>> slapd:                                                                                                           
>> [ DONE ]
>> Starting slapd 
>> service:                                                                                                                    
>> [ DONE ]
>> [root@localhost ldap]# service slapd status
>> slapd is dead, but subsystem is locked
>> [root@localhost ldap]# ls -l /var/lib/ldap/var/run/
>> total 0
>> [root@localhost ldap]# ps aux|grep slapd
>> ldap     26868  0.0  1.2  97788 24976 ?        Ssl  10:03   0:00 
>> /usr/sbin/slapd -u ldap -r /var/lib/ldap -h ldap://localhost/
>> root     26886  0.0  0.0   5896   544 pts/6    R+   10:03   0:00 grep 
>> slapd
>> [root@localhost ldap]# service slapd stop
>> Service slapd is not running.    
>> пробывал и в стартовом скрипте и в конфиге менять путь pid файла, 
>> несоздаёт его.
>> что посоветуете?
>
> http://faq.altlinux.ru/index.php?action=single&qid=624&aid=625
>




^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Sysadmins] ldap
  2007-07-12  6:48   ` Igo
@ 2007-07-12  7:12     ` Igo
  0 siblings, 0 replies; 8+ messages in thread
From: Igo @ 2007-07-12  7:12 UTC (permalink / raw)
  To: altlinux, ALT Linux sysadmin discuss

Igo пишет:
> [root@localhost openldap]# cat slapd.conf
> include  /etc/openldap/schema/core.schema
> ...
> include /etc/openldap/schema/qmail.schema
> loglevel -1
> #pidfile         /var/run/ldap/slapd.pid
> #argsfile        /var/run/ldap/slapd.args
> modulepath      /usr/lib/openldap
> moduleload      back_ldbm
> database        ldbm
> suffix          "dc=lala,dc=ru"
> rootdn          "cn=root,dc=lala,dc=ru"
> rootpw          pass
> directory       /var/lib/ldap/base
>   
ошибочка уже поправил

directory       /var/lib/ldap/base/lala.ru


> index   objectClass,uid,uidNumber,gidNumber     eq
> index   cn,mail,surname,givenname               eq,subinitial
>
> access to attr=userPassword
>     by dn="cn=dovecot,dc=lala,dc=ru" read
>     by anonymous auth
>     by self write
>     by * none
>
>   
>> а настраивали как-то? базы данных указаны в конфиге?
>>
>> 2007/7/12, Igo :
>>     
>>> пробывал и в стартовом скрипте и в конфиге менять путь pid файла,
>>> несоздаёт его.
>>> что посоветуете?
>>>       
>>     
>
>
> _______________________________________________
> Sysadmins mailing list
> Sysadmins@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/sysadmins
>   




^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Sysadmins] ldap
  2007-07-12  6:05 [Sysadmins] ldap Igo
  2007-07-12  6:42 ` Mikhail A. Pokidko
  2007-07-12  6:53 ` Dmitry Lebkov
@ 2007-07-12 13:08 ` Igo
  2007-07-12 13:56   ` Mikhail A. Pokidko
  2 siblings, 1 reply; 8+ messages in thread
From: Igo @ 2007-07-12 13:08 UTC (permalink / raw)
  To: altlinux, ALT Linux sysadmin discuss

кто нибудь в alt4 пользуется ldap?
после запуска видите pid файл? и можите ли его остановить командой service?

> всем привет
> alt 4.0.0
> поставил openldap
> [root@localhost ldap]# service slapd start
> Adjusting environment for 
> slapd:                                                                                                           
> [ DONE ]
> Starting slapd 
> service:                                                                                                                    
> [ DONE ]
> [root@localhost ldap]# service slapd status
> slapd is dead, but subsystem is locked
> [root@localhost ldap]# ls -l /var/lib/ldap/var/run/
> total 0
> [root@localhost ldap]# ps aux|grep slapd
> ldap     26868  0.0  1.2  97788 24976 ?        Ssl  10:03   0:00 
> /usr/sbin/slapd -u ldap -r /var/lib/ldap -h ldap://localhost/
> root     26886  0.0  0.0   5896   544 pts/6    R+   10:03   0:00 grep slapd
> [root@localhost ldap]# service slapd stop
> Service slapd is not running.     
>
> пробывал и в стартовом скрипте и в конфиге менять путь pid файла, 
> несоздаёт его.
> что посоветуете?
>
> _______________________________________________
> Sysadmins mailing list
> Sysadmins@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/sysadmins
>   




^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [Sysadmins] ldap
  2007-07-12 13:08 ` Igo
@ 2007-07-12 13:56   ` Mikhail A. Pokidko
  0 siblings, 0 replies; 8+ messages in thread
From: Mikhail A. Pokidko @ 2007-07-12 13:56 UTC (permalink / raw)
  To: altlinux, ALT Linux sysadmin discuss

2007/7/12, Igo :
> кто нибудь в alt4 пользуется ldap?
> после запуска видите pid файл? и можите ли его остановить командой service?

# sudo vzctl exec ldap ls -la /var/lib/ldap/var/run/
total 24
drwxr-xr-x 2 ldap ldap 4096 Jul 11 10:36 .
drwxr-xr-x 4 ldap ldap 4096 Jun 14 17:47 ..
-rw-r--r-- 1 ldap ldap   66 Jul 11 10:36 slapd.args
-rw-r--r-- 1 ldap ldap    6 Jul 11 10:36 slapd.pid
-rw-r--r-- 1 ldap ldap   48 Jul 11 10:36 slurpd.args
-rw-r--r-- 1 ldap ldap    6 Jul 11 10:36 slurpd.pid

И так скажу, что останавливается)

-- 
Mikhail A. Pokidko
ALTLinux Team
e-mail: pma@altlinux.org
xmpp: solar@gmail.ru

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2007-07-12 13:56 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-12  6:05 [Sysadmins] ldap Igo
2007-07-12  6:42 ` Mikhail A. Pokidko
2007-07-12  6:48   ` Igo
2007-07-12  7:12     ` Igo
2007-07-12  6:53 ` Dmitry Lebkov
2007-07-12  7:10   ` Igo
2007-07-12 13:08 ` Igo
2007-07-12 13:56   ` Mikhail A. Pokidko

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git