Re: "Server failed to start !!!" when installing FDS 1.1.3 in RHEL5.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Christopher Waltham wrote:

On Nov 14, 2008, at 6:53 PM, Rich Megginson wrote:

Christopher Waltham wrote:
Hi Prabhat,

On Nov 14, 2008, at 2:16 PM, Prabhat Ranjan Pradhan wrote:

Hi Chris and all,

I too struggled for the same problem for almost 4 months. I googled several times to find any solution.

At last I discovered a link Posted by Pieter de Rijk <http://blog.adslweb.net/serendipity/authors/1-Pieter-de-Rijk> . I must say thanks to this gentleman who did a splendid job to pinpoint the error.


getting hint from this link what I did is:

1. disabled SELinux
2. created a user (and default group)  fedora-ds
3. installed fedora-ds using yum.
4. changed the ownership of /var/run/dirsrv to fedora-ds
    # chwon -R fedora-ds:fedora-ds  /var/run/dirsrv
5. started installation with setup-ds-admin.pl.
6. entered fedora-ds as user and group name when prompted by the installer..
7. Hurray!!! my installation was successfull.

I had repeated this procedure several times on vmware virtual machines runing fedora9 and fedora8.

Thanks for the note! I'm using VMware ESX so I'm taking snapshots to make troubleshooting easier.

I didn't realize SELinux was still enabled, so I disabled it. Then I followed the rest of your instructions, but I still had problems:

Are you ready to set up your servers? [yes]: Creating directory server . . .
Your new DS instance 'ldap' was successfully created.
Creating the configuration directory server . . .
The suffix 'o=NetscapeRoot' already exists. Config entry DN 'cn="o=NetscapeRoot",cn=mapping tree,cn=config'.

That's using fedora-ds as both user and group. Curiously, if I do a chmod/chown and set /var/run/dirsrv to to nobody:nobody (and then choose the "nobody" user in setup-ds-admin.pl), I get exactly the same problem...
This looks like a different problem. This is what usually happens if you run setup again without having first cleaned up everything from the prior run. One problem with setup-ds-admin.pl is that you cannot simply run it again - it will detect the previous configuration (however broken it may be).

That's what I thought -- and can't understand. :) This is a fresh install of RHEL; I did a find / -name dirsrv and it came up with nada. Zero. Zilch! I'm not sure what else to look for?
No dirsrv directories at all? There should be some - try rpm -V fedora-ds-base - if that has problems, try yum reinstall fedora-ds-base finally, try setup-ds-admin.pl -ddd to generate debug output - log file is in /tmp


Chris

--
Fedora-directory-users mailing list
Fedora-directory-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-directory-users

<<attachment: smime.p7s>>

--
Fedora-directory-users mailing list
Fedora-directory-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-directory-users

[Index of Archives]     [Fedora Directory Users]     [Fedora Directory Devel]     [Fedora Announce]     [Fedora Legacy Announce]     [Kernel]     [Fedora Legacy]     [Share Photos]     [Fedora Desktop]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

  Powered by Linux