my start-admin file looks like : #!/bin/sh # BEGIN COPYRIGHT BLOCK # Copyright (C) 2001 Sun Microsystems, Inc. Used by permission. # Copyright (C) 2005 Red Hat, Inc. # All rights reserved. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # # END COPYRIGHT BLOCK # This script sets up the environment for the httpd server and starts it. # There are two parameters which must be replaced - sroot and httpd # for httpd, on RHEL, this will typically be something like /usr/sbin/httpd.worker # On HP-UX, this may be /opt/hpws/apache/bin/httpd. SERVER_ROOT=/opt/fedora-ds ; export SERVER_ROOT NETSITE_ROOT=$SERVER_ROOT ; export NETSITE_ROOT ADMSERV_ROOT=$SERVER_ROOT/admin-serv ; export ADMSERV_ROOT unset PASSWORD_PIPE LD_LIBRARY_PATH=${SERVER_ROOT}/bin/admin/lib:${SERVER_ROOT}/lib:${LD_LIBRARY_PATH};export LD_LIBRARY_PATH LIBPATH=${LD_LIBRARY_PATH}:${LIBPATH}:/usr/threads/lib:/usr/ibmcxx/lib:/usr/lib:/lib; export LIBPATH SHLIB_PATH=${LD_LIBRARY_PATH}:${SHLIB_PATH}; export SHLIB_PATH NS_SERVER_HOME=${SERVER_ROOT}; export NS_SERVER_HOME PATH=${SERVER_ROOT}/bin/admin/bin:${PATH}; export PATH HTTPD=/usr/sbin//httpd.worker # see if httpd is linked with the openldap libraries - we need to override them OS=`uname -s` if [ $OS = "Linux" ]; then hasol=0 /usr/bin/ldd $HTTPD 2>&1 | grep libldap > /dev/null 2>&1 && hasol=1 if [ $hasol -eq 1 ] ; then LD_PRELOAD="${SERVER_ROOT}/bin/admin/lib/libssl3.so ${SERVER_ROOT}/bin/admin/lib/libldap60.so" else # RHEL3 needs this in order to resolve the libldap60 SASL dependency LD_PRELOAD="${SERVER_ROOT}/bin/admin/lib/libldap60.so" fi export LD_PRELOAD fi $HTTPD -k start -d $ADMSERV_ROOT -f $ADMSERV_ROOT/config/httpd.conf "$@" *************************************************************** stop-admin looks like : [root@dwlpsys01 fedora-ds]# cat stop-admin #!/bin/sh # BEGIN COPYRIGHT BLOCK # Copyright (C) 2001 Sun Microsystems, Inc. Used by permission. # Copyright (C) 2005 Red Hat, Inc. # All rights reserved. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # # END COPYRIGHT BLOCK SERVER_ROOT=/opt/fedora-ds ; export SERVER_ROOT ADMSERV_ROOT=$SERVER_ROOT/admin-serv ; export ADMSERV_ROOT PID_FILE=$ADMSERV_ROOT/logs/pid if test -f $PID_FILE ; then kill -TERM -`cat $PID_FILE` if test $? -ne 0 ; then exit 1 fi else echo server not running exit 1 fi loop_counter=1 max_count=30 while test $loop_counter -le $max_count; do loop_counter=`expr $loop_counter + 1` if test -f $PID_FILE ; then sleep 2 else exit 0 fi done echo server not responding to exit command echo killing process group kill -9 -`cat $PID_FILE` rm $PID_FILE exit 1 *********************************************************** restart-admin looks like : #!/bin/sh # BEGIN COPYRIGHT BLOCK # Copyright (C) 2001 Sun Microsystems, Inc. Used by permission. # Copyright (C) 2005 Red Hat, Inc. # All rights reserved. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # # END COPYRIGHT BLOCK SERVER_ROOT=/opt/fedora-ds ; export SERVER_ROOT $SERVER_ROOT/stop-admin sleep 3 $SERVER_ROOT/start-admin -----Original Message----- From: fedora-directory-users-bounces@xxxxxxxxxx [mailto:fedora-directory-users-bounces@xxxxxxxxxx]On Behalf Of Eric Brown Sent: Tuesday 8 April 2008 17:03 To: fedora-directory-users@xxxxxxxxxx Subject: Re: Having problems with the Admin Console I ran the following command to set up my server, where silent.inf is the file that I posted in the original email. /opt/fedora-ds/setup/setup -s -f silent.inf After running that command, I do not have a 'start-admin' to run and there are no configuration files. ---------- Forwarded message ---------- From: FAUCONNIER Valery AWL-IT <valery.fauconnier@xxxxxxxxxxxxxx> Date: Tue, Apr 8, 2008 at 3:45 AM Subject: RE: Having problems with the Admin Console To: "General discussion list for the Fedora Directory server project." <fedora-directory-users@xxxxxxxxxx> try this : run command as root 1) make sure that PATH to java is known 2) cd /opt/fedora-ds 3) ./start-admin (if you have warning when starting, there are configuration files httpd server located in /opt/fedora-ds/console.conf ) 4) ./startconsole -u admin -a http://blue.ds.server.com:23611/ or ./startconsole -u admin -a http://10.105.1.188:23611/ -----Original Message----- From: fedora-directory-users-bounces@xxxxxxxxxx [mailto:fedora-directory-users-bounces@xxxxxxxxxx]On Behalf Of Eric Brown Sent: Monday 7 April 2008 23:14 To: fedora-directory-users@xxxxxxxxxx Subject: Having problems with the Admin Console I am using FDS 1.0.4, installing from the RPM downloaded from the FDS website for RHEL4 I used the silent install to setup the directory with the following information: [General] FullMachineName= blue.ds.server.com ConfigDirectoryLdapURL= ldap://blue.ds.server.com:389/ SuiteSpotUserID= ldap SuitespotGroup= ldap ConfigDirectoryAdminID= admin ConfigDirectoryAdminPwd= secret1234 ServerRoot= /opt/fedora-ds Components= svrcore,base,slapd,admin,nsperl,perldap AdminDomain= ds.server.com [slapd] Components= slapd,slapd-client ServerPort= 389 ServerIdentifier= grid-identity Suffix= dc=blue,dc=com RootDN= cn=Directory Manager RootDNPwd= 1apple [admin] SysUser= ldap Port= 23611 ServerIpAddress= 10.105.1.188 ServerAdminID= admin ServerAdminPwd= secret1234 Components= admin,admin-client [base] Components= base,base-client,base-jre [nsperl] Components= nsperl [perlldap] Components= perlldap14 The silent installation completed, and I can start the slapd server, but all of the files I have seen referenced to starting the admin server are not in my installation. -- Fedora-directory-users mailing list Fedora-directory-users@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-directory-users Atos Worldline SA/NV - Chaussee de Haecht 1442 Haachtsesteenweg - 1130 Brussels - Belgium RPM-RPR Bruxelles-Brussel - TVA-BTW BE 0418.547.872 Bankrekening-Compte Bancaire-Bank Account 310-0269424-44 BIC BBRUBEBB - IBAN BE55 3100 2694 2444 "The information contained in this e-mail and any attachment thereto is confidential and may contain information which is protected by intellectual property rights. This information is intended for the exclusive use of the recipient(s) named above. This e-mail does not constitute any binding relationship or offer toward any of the addressees. If you are not one of the addressees , one of their employees or a proxy holder entitled to hand over this message to the addressee(s), any use of the information contained herein (e.g. reproduction, divulgation, communication or distribution,...) is prohibited. If you have received this message in error, please notify the sender and destroy it immediately after. The integrity and security of this message cannot be guaranteed and it may be subject to data corruption, interception and unauthorized amendment, for which we accept no liability." -- Fedora-directory-users mailing list Fedora-directory-users@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-directory-users -- Fedora-directory-users mailing list Fedora-directory-users@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-directory-users -- Fedora-directory-users mailing list Fedora-directory-users@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-directory-users