[Fedora-directory-users] Re: Fedora directory server 7.1 on CentOS

Hariharan R hariharan at lantana.tenet.res.in
Tue Apr 25 03:56:49 UTC 2006


Hai,

  Thanks for your help.

  Finally i made the Fedora DS get working on CentOS 4.3 SMP kernal.

There is a problem in support for java by FDS. To configure the Fedora DS 7.1 
on Multiprocessor kernal like CentOS 4.3 SMP we need to do the following,

1) By default FDS 7.1 uses IBM JRE which will not help the Admin Server to run 
on Multiprocessor kernal

2) So Download the latest Sun Java(JDK V 1.5 or above) and install

3) Open the configuration file "/opt/fedora-ds/bin/https/bin/start_JVM"

4) Edit the file and update the NSES_JRE field with newly installed java
    (jre)path.Accordingly update the NSES_JRE_RUNTIME field.

For Example:
-----------

NSES_JRE=/opt/jdk1.5.0_06/jre;export NSES_JRE
NSES_SERVER_HOME=/opt/fedora-ds; export NSES_SERVER_HOME
NSES_JRE_RUNTIME_LIBPATH=${NSES_JRE}/lib/i386/server:${NSES_JRE}/lib/i386:${NSES_JRE}/lib/i386/classic:${NSES_SERVER_HOME}/lib/i386/native_threads; 
export NSES_JRE_RUNTIME_LIBPATH

5) Open the "/opt/fedora-ds/admin-serv/config/jvm12.conf"  modify the 
jvm.option field as "jvm.option=Xrs -server" remove all other entries below on 
that file

6) Make sure directory server instance is running

7) Now start the Admin server (./start-admin).

It should work.

There is no problem in configuring the Fedora DS 7.1 in Uniprocessor Kernal.


Thanks a lot for all your support.

(Let me contact you all for further enquiries if i have any.)

Note: I kindly request the moderator to post this mail in the user 
archive.This must be useful to fedora directory server users to configure 
FDS 7.1 on CentOS and Multiprocessor systems.

  ----
Regards,
Hariharan.R

On Fri, 21 Apr 2006, Rob Crittenden wrote:

> Hariharan R wrote:
>> Hai,
>>  By default Fedora DS 7.1 is configures to use the IBM JRE(in the 
>> start_JVM file).In one mailing list they asked me to change to Sun 
>> JRE.Because they told that that may be the reason for Admin server not 
>> able to run.
> 
> You mentioned that you had changed the JRE but didn't say what you changed 
> it to. When 7.1 was released a LOT of users had this same problem and 
> replacing the JRE fixed it for all of them.
> 
> The other alternative is to try FDS 1.0.2 which uses a different web server 
> so this problem goes away entirely.
> 
> rob
> 
>> 
>> My FDS 7.1 is running perfectly on CentOS 4.2 uniprocessor kernal.But i 
>> want this to get done in Multi Processor System Kernal(SMP),because i am 
>> in a requirement to do that.
>> 
>> Pls guide me.
>> 
>> 
>> Thanks.
>> ---
>> Regards,
>> Hariharan.R
>> 
>> On Thu, 20 Apr 2006, Rob Crittenden wrote:
>> 
>>> Hariharan R wrote:
>>> 
>>>> Hai,
>>>> 
>>>> Thanks for the reply.
>>>> 
>>>> I tried to run the admin server after changing the JRE path in 
>>>> "start_JVM" file and admin configuration file.But i am still not able 
>>>> to run the admin server.I am getting the same error as i stated in my 
>>>> previous posting.That is the server is seems to be running but it is 
>>>> not actually.
>>> 
>>> 
>>> What do you mean you changed the JRE path? From what to what, and what 
>>> JRE did you point to? Are you running an SMP kernel? Can you try a 
>>> uniprocessor kernel?
>>> 
>>>> 
>>>> Is there any incompatability between FDS 7.1 and CentOS?
>>>> Is anybody tested Fedora DS 7.1 on either CentOS 4.2 or CentOS 4.3?
>>> 
>>> 
>>> We did no testing on CentOS.
>>> 
>>> rob
>>> 
>>>> 
>>>> [I also attached <servroot>/admin-server/logs/error file in my 
>>>> previous posting]
>>>> 
>>>> Pls help me resolve the problem.
>>>> 
>>>> Regards,
>>>> Hariharan R
>>>> ---------
>>>> Can any one pls guide me.
>>>> 
>>>> http://directory.fedora.redhat.com/wiki/FAQ#Admin_Server_fails_to_start_on_MP_Linux_kernel_or_on_x86_64 
>>>> Is there a reason you aren't using FDS 1.0.2?
>>>> 
>>>> rob
>>>> -------------
>>>> Thanks for your reply.
>>>> 
>>>> As Jim summers said, i am running all the server instances as a same 
>>>> user(root).But still i am not able to run my admin server.When i try 
>>>> to run it it shows the following
>>>> 
>>>>     "server is ready to accept requests at 1800" suddenly the process 
>>>> get detatched.There is no process listening on port 1800.
>>>> 
>>>>     I looked into the "/opt/fedora-ds/start-admin" script.There they 
>>>> are running the following command
>>>> 
>>>> "./uxwdog -d /opt/fedora-ds/admin-serv/config/ $@"
>>>> 
>>>> I think this is the place the process get struck.
>>>> 
>>>> My admin-server/log/error file has the following
>>>> 
>>>> [19/Apr/2006:17:09:59] info ( 9431): successful server startup
>>>> 
>>>>     [19/Apr/2006:17:09:59] info ( 9431): Netscape-Enterprise/6.2 
>>>> B04/18/2005 13:49 [19/Apr/2006:17:09:59] info ( 9431): Access Host 
>>>> filter is: *.cs.iitm.ernet.in
>>>> 
>>>> [19/Apr/2006:17:09:59] info ( 9431): Access Address filter is: *
>>>> [19/Apr/2006:17:09:59] info ( 9432): Installing a new configuration
>>>> 
>>>>     [19/Apr/2006:17:09:59] info ( 9432): [LS ls1] 
>>>> http://lilac.cs.iitm.ernet.in, port 1800 ready to accept requests 
>>>> [19/Apr/2006:17:09:59] info ( 9432): A new configuration was 
>>>> successfully installed
>>>> 
>>>> 
>>>> Hai,
>>>>  I am trying to install Fedora DS 7.1 on CentOS4.2.
>>>>  At the End of the installation,the Admin server is not able to run.
>>>> 
>>>> 
>>>>     After starting the console i tried to login using admin ID but i 
>>>> am getting error like "URL not found or server not running"
>>>> 
>>>>     When I first started with FDS I hit this also. It seemed like the 
>>>> suggestion that worked for me was to have all of the servers (dir and 
>>>> admin) run as the same user.
>>>> 
>>>> -- 
>>>> Fedora-directory-users mailing list
>>>> Fedora-directory-users redhat com
>>>> https://www.redhat.com/mailman/listinfo/fedora-directory-users
>>>> 
>>>> 
>>>> ---
>>>> Hariharan.R
>>> 
>>> 
>>> 
> 
>




More information about the Fedora-directory-users mailing list