Red Hat Bugzilla – Bug 166533
setup "Can't start Admin server"
Last modified: 2015-01-04 18:19:05 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050721 CentOS/1.0.6-1.4.1.centos4 Firefox/1.0.6
Description of problem:
Version-Release number of selected component (if applicable):
rpm-4.3.3-9_nonptl, kernel-2.6.9-11.EL, fedora-ds-7.1-2.RHEL4
Steps to Reproduce:
1.Fresh installation of Enterprise Linux v4 (no openLDAP components are installed + No JAVA is installed + firewall is down + only local file authentication is active)
2.rpm -ivh fedora-ds-7.1-2.RHEL4.i386.opt.rpm
4.Choose any of the installation methods (1, 2, or 3)
5.Defaults are choosen for all options + passward are chosen
Actual Results: Configuring Administration Tasks in Directory Server...
Configuring Global Parameters in Directory Server...
Can't start Admin server [/opt/fedora-ds/start-admin > /tmp/filey0VGql 2>&1] (error: No such file or directory)INFO Finished with setup, logfile is setup/setup.log
Admin server will not start!!!!
Expected Results: Admin server should start, and LDAP/Directory server should be accessable via web. I was able to get this working on Fedora Core 3 but not Enterpise Linux v4.
See attached log files.
Created attachment 117985 [details]
setup.log from fedora-ds
This file was the same on our production server with high resources and 2gb ram
as it was on this test system with 512mb ram. Same error occured.
Created attachment 117986 [details]
admin server error log
no errors here.
Created attachment 117987 [details]
JAVA paths for fedora-ds
Found a thread with the same error.
When manualy starting the admin services...
[root@station150 fedora-ds]# ./start-admin
Netscape-Enterprise/6.2 B04/18/2005 13:49
warning: daemon is running as super-user
[LS ls1] http://station150.florencefilter.com, port 43734 ready to accept requests
IT LOOKS LIKE IT STARTED, BUT IS NOT A RUNNING PROCESS NOR IS IT ACCESSABLE.
29120 pts/2 00:00:00 bash
29201 ? 00:00:00 pdflush
29737 ? 00:00:00 pdflush
29981 ? 00:00:00 ns-slapd
30273 ? 00:00:00 gam_server
30374 pts/2 00:00:00 ps
When using top, ns-server appears then disappears.
Does admin server startup correctly with a non-smp kernel?
This looks similar to a known issue related to JIT crashing in the IBM JVM on
multi-processor machines. The IBM JVM is used in the admin server. You can
disable JIT by editing your <server root>/admin-serv/config/jvm12.conf. Add
"-Djava.compiler=NONE" to the jvm.option property in the above reference file.
This should allow admin server to start up.
Closing this bug since there have been no details on reproducing the issue. If
steps to reproduce can be provided, feel free to reopen the bug.
I just installed fedora-ds-1.0.1 on my Fedora Core 4 system.
Exact same problem with the admin server. It does not start, gives the same
message Can't start Admin server [/opt/fedora-ds/start-admin > /tmp/fileXXXX
2>&1] (error: No such file or directory)
Please let me know if this has been fixed or there is a workaround.
The Admin Server in FDS 1.0.1 has a problem with SELinux. What is the contents
of your /etc/selinux/config?
I had solved the issue by making adjustments to the JVM. See Comment #6 From
Nathan Kinder, where he describes the adjustments. I did not have a
compatability issue with SELinux. I am currently running Fedora Directory
Server on CentOS v4.2 with all updates installed.
How about Comment #8 from Vicky?
Fedora DS 7.1 is deprecated. I don't think this problem occurs anymore with
Fedora DS 1.0.4 or Fedora DS 1.1. Marking as resolved.