FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 10-12-2012, 01:35 AM
Rich Megginson
 
Default New Debian install

On 10/11/2012 07:07 PM, Geordie wrote:

Good Day

I have been having a few issues trying to get this to work. On the
latest setup this is the out put received from /usr/sbin/setup-ds-admin
I have check the apache2 mpm prefork
with /etc/dirsrv/admin-serv/httpd.conf There was not much different. I
tried changing the values in /etc/dirsrv/admin-serv/httpd.conf but that
had little effect and produced the same errors.
I am not sure were to send Debian issues. If I am in the wrong spot,
please let me know.

OS Debian sid/testing


[12/10/10:20:40:47] - [Setup] Info Are you ready to set up your servers?
[12/10/10:20:40:48] - [Setup] Info yes
[12/10/10:20:40:48] - [Setup] Info Creating directory server . . .
[12/10/10:20:40:58] - [Setup] Info Your new DS instance 'SatelliteA40'
was successfully created. [12/10/10:20:40:58] - [Setup] Info Creating
the configuration directory server . . . [12/10/10:20:41:04] - [Setup]
Info Beginning Admin Server creation . . . [12/10/10:20:41:04] -
[Setup] Info Creating Admin Server files and directories . . .
[12/10/10:20:41:05] - [Setup] Info Updating adm.conf . . .
[12/10/10:20:41:05] - [Setup] Info Updating admpw . . .
[12/10/10:20:41:05] - [Setup] Info Registering admin server with the
configuration directory server . . . [12/10/10:20:41:07] - [Setup] Info
Updating adm.conf with information from configuration directory
server . . . [12/10/10:20:41:07] - [Setup] Info Updating the
configuration for the httpd engine . . . [12/10/10:20:41:07] - [Setup]
Info Starting admin server . . . [12/10/10:20:41:18] - [Setup] Info
output: [Wed Oct 10 20:41:07 2012] [notice] Not using a threaded
server. The Admin Server authorization ca$ [12/10/10:20:41:18] -
[Setup] Info output: WARNING: MaxClients of 64 exceeds ServerLimit
value of 1 servers, [12/10/10:20:41:18] - [Setup] Info output:
lowering MaxClients to 1. To increase, please see the ServerLimit
[12/10/10:20:41:18] - [Setup] Info output: directive.
[12/10/10:20:41:18] - [Setup] Info output: Syntax error on line 105
of /etc/dirsrv/admin-serv/httpd.conf: [12/10/10:20:41:18] - [Setup]
Info output: Invalid command 'MinSpareThreads', perhaps misspelled or
defined by a module not included in the se$ [12/10/10:20:41:18] -
Since you are using the prefork and not the threaded apache, I suspect
the setting MinSpareThreads on line 105 of
/etc/dirsrv/admin-serv/httpd.conf should be removed.

[Setup] Info output: httpd (pid 2779) already running
[12/10/10:20:41:18] - [Setup] Info output: Server failed to start !!!
Please check errors log for problems [12/10/10:20:41:18] - [Setup]
Fatal Failed to create and configure the admin server
[12/10/10:20:41:18] - [Setup] Fatal Exiting . . . Log file is
'/tmp/setup54sYOQ.log'

apt-cache policy 389-ds
389-ds:
Installed: 1.2.11.15-1
Candidate: 1.2.11.15-1
Version table:
*** 1.2.11.15-1 0
500 http://debian.yorku.ca/debian/ unstable/main i386 Packages
100 /var/lib/dpkg/status

apt-cache policy apache2-mpm-prefork
apache2-mpm-prefork:
Installed: 2.2.22-11
Candidate: 2.2.22-11
Version table:
*** 2.2.22-11 0
500 http://debian.yorku.ca/debian/ unstable/main i386 Packages
100 /var/lib/dpkg/status

--
389 users mailing list
389-users@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users


--
389 users mailing list
389-users@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users
 
Old 10-12-2012, 01:06 PM
Geordie
 
Default New Debian install

Thank You for responding.
I commented out the following
StartServers 2
# mtm
ServerLimit 64

MaxClients 64
#MinSpareThreads 25
#MaxSpareThreads 75
#ThreadsPerChild 25

in /etc/dirsrv/admin-serv/httpd.conf

# service dirsrv-admin restart
Shutting down dirsrv-admin:
Starting dirsrv-admin:
[Fri Oct 12 08:52:25 2012] [notice] Not using a threaded server. The
Admin Server authorization cache will not work correctly. Console and
Admin Server tasks will be disabled if the configuration directory
server is not available. Segmentation fault Server failed to start !!!
Please check errors log for problems
/etc/init.d/dirsrv-admin:126: /etc/init.d/dirsrv-admin: failure: not found

/var/log/dirsrv/admin-serv/error
[Thu Oct 11 22:28:39 2012] [notice] Access Host filter is:
*.homenetwork [Thu Oct 11 22:28:39 2012] [notice] Access
Address filter is: * [Thu Oct 11 22:35:20 2012] [error] Could not bind
as []: ldap error -1: Can't contact LDAP server [Thu Oct 11 22:35:20
2012] [error] Could not bind as []: ldap error -1: Can't contact LDAP
server [Thu Oct 11 22:35:20 2012] [warn] Unable to bind as LocalAdmin
to populate LocalAdmin tasks into cache. [Thu Oct 11 22:35:20 2012]
[notice] Access Host filter is: *.homenetwork [Thu Oct 11
22:35:20 2012] [notice] Access Address filter is: * [Fri Oct 12
08:52:26 2012] [notice] Access Host filter is: *.homenetwork
[Fri Oct 12 08:52:26 2012] [notice] Access Address filter is: *
Last nights error and this mornings

Thanks
Geordie

--
389 users mailing list
389-users@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users
 
Old 10-12-2012, 01:57 PM
Rich Megginson
 
Default New Debian install

On 10/12/2012 07:06 AM, Geordie wrote:

Thank You for responding.
I commented out the following
StartServers 2
# mtm
ServerLimit 64

MaxClients 64
#MinSpareThreads 25
#MaxSpareThreads 75
#ThreadsPerChild 25

in /etc/dirsrv/admin-serv/httpd.conf

# service dirsrv-admin restart
Shutting down dirsrv-admin:
Starting dirsrv-admin:
[Fri Oct 12 08:52:25 2012] [notice] Not using a threaded server. The
Admin Server authorization cache will not work correctly. Console and
Admin Server tasks will be disabled if the configuration directory
server is not available.

This is normal when not using a threaded server.

Segmentation fault Server failed to start !!!
Please check errors log for problems


Hmm - any core files?


/etc/init.d/dirsrv-admin:126: /etc/init.d/dirsrv-admin: failure: not found


Looks like a bug in the init script - the failure shell command is
provided on rhel/fedora but apparently not on debian.




/var/log/dirsrv/admin-serv/error
[Thu Oct 11 22:28:39 2012] [notice] Access Host filter is:
*.homenetwork [Thu Oct 11 22:28:39 2012] [notice] Access
Address filter is: * [Thu Oct 11 22:35:20 2012] [error] Could not bind
as []: ldap error -1: Can't contact LDAP server [Thu Oct 11 22:35:20
2012] [error] Could not bind as []: ldap error -1: Can't contact LDAP
server [Thu Oct 11 22:35:20 2012] [warn] Unable to bind as LocalAdmin
to populate LocalAdmin tasks into cache. [Thu Oct 11 22:35:20 2012]
[notice] Access Host filter is: *.homenetwork [Thu Oct 11
22:35:20 2012] [notice] Access Address filter is: * [Fri Oct 12
08:52:26 2012] [notice] Access Host filter is: *.homenetwork
[Fri Oct 12 08:52:26 2012] [notice] Access Address filter is: *
Last nights error and this mornings


Can you post your /etc/dirsrv/admin-serv/adm.conf?



Thanks
Geordie



--
389 users mailing list
389-users@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users
 

Thread Tools




All times are GMT. The time now is 04:25 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org