"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]

 



Thanks for the reply, Rich:

On Nov 14, 2008, at 10:59 AM, Rich Megginson wrote:

>> [root at falls ~]# /etc/init.d/dirsrv start
>> Starting dirsrv:
>>    falls...                                               [FAILED]
>> *** Warning: 1 instance(s) failed to start
>>
>> If I manually chmod & chown the /var/run/dirsrv directory, it will  
>> start:
>>
>> [root at falls ~]# chmod 770 /var/run/dirsrv && chown nobody:nobody / 
>> var/run/dirsrv
>> [root at falls ~]# /etc/init.d/dirsrv start
>> Starting dirsrv:
>>    falls...                                               [  OK  ]
>>
>> However, because the setup-ds-admin.pl process never completed, the  
>> admin server hasn't been configured (and I don't want to have to do  
>> that by hand). Note that I am using nobody:nobody in the FDS  
>> installer when asked who I want to run the services as.
>>
>> When I manually ( chmod 770 /var/run/dirsrv && chown nobody:nobody / 
>> var/run/dirsrv ) *before* I run setup-ds-admin.pl I get this error:
>>
>> [08/11/14:09:00:33] - [Setup] Info Are you ready to set up your  
>> servers?
>> [08/11/14:09:00:34] - [Setup] Info yes
>> [08/11/14:09:00:34] - [Setup] Info Creating directory server . . .
>> [08/11/14:09:00:36] - [Setup] Info Your new DS instance 'ldap' was  
>> successfully created.
>> [08/11/14:09:00:36] - [Setup] Info Creating the configuration  
>> directory server . . .
>> [08/11/14:09:00:36] - [Setup] Fatal The suffix 'o=NetscapeRoot'  
>> already exists.  Config entry DN 'cn="o=NetscapeRoot",cn=mapping  
>> tree,cn=config'.
>>
>> [08/11/14:09:00:36] - [Setup] Fatal Failed to create the  
>> configuration directory server
>> [08/11/14:09:00:36] - [Setup] Fatal Exiting . . .
>>
>> Any thoughts? This is getting pretty frustrating :-\
> Yes.  The first problem caused the second.  The first problem is the  
> permissions on /var/run/dirsrv, which allowed you to get past "the  
> point of no return" with setup.  That is, your system is already  
> configured to the point that subsequent runs of setup think it has  
> been set up correctly.
>
> Try running ds_removal first - you may have to use the -f argument  
> to force removal.

Ok, that's done.

> Then, try this:
> service dirsrv stop # may error if not running - that is ok
> service dirsrv-admin stop # may error if not running - that is ok

Done.

> find /etc/dirsrv /usr/lib/dirsrv /usr/lib64/dirsrv /var -name slapd-\*

[root at falls sbin]# find /etc/dirsrv /usr/lib/dirsrv /usr/lib64/dirsrv / 
var -name slapd-\*
/etc/dirsrv/config/slapd-collations.conf
/etc/dirsrv/slapd-falls.removed
find: /usr/lib64: No such file or directory

This is i386, so that looks fine.

> If that list looks ok, do
> rm -rf `find /etc/dirsrv /usr/lib/dirsrv /usr/lib64/dirsrv /var - 
> name slapd-\*`

Done...

> Finally, rm everything in /etc/dirsrv/admin-serv EXCEPT admserv.conf  
> httpd.conf console.conf nss.conf - do not remove these files or the  
> directory

Those were the only files in there, so no problem.

> Then you should have a clean system to start over with

Okay, so I can start again with the setup-ds-admin.pl script? And, I  
don't mean to be rude, but has the root cause of the problem been  
identified? :P I can easily replicate it...


Chris




[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux