Hello everybody, I installed FDS on Gentoo 2007.0 using the instructions provided at this url: http://gentoo-wiki.com/HOWTO_Install_Fedora_Directory_Server I did everything according to the manual except that I installed apache 2.2.6 and had to modify httpd.conf to load cgid module instead of cgi module. In general everything seems to work but when I tried to use the web console Fedora Administration Express <http://ld.farheap.com:46406/admin-serv/tasks/configuration/HTMLAdmin?op=index> it gave me a blank screen with a message: NMC_Status: 1 NMC_ErrType: NMC_ErrInfo: NMC_ErrDetail: The organization charts functionality does not work either, it gives me: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, [no address given] and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. The logs have the following records: Can''t load ''/opt/fedora-ds/lib/perl/arch/auto/Mozilla/LDAP/API/API.so'' for module Mozilla::LDAP::API: libssl3.so: cannot open shared object file: No such file or di\ rectory at /usr/lib/perl5/5.8.8/i686-linux/DynaLoader.pm line 230. at /opt/fedora-ds/lib/perl/Mozilla/LDAP/Utils.pm line 32 Compilation failed in require at /opt/fedora-ds/lib/perl/Mozilla/LDAP/Utils.pm line 32. BEGIN failed--compilation aborted at /opt/fedora-ds/lib/perl/Mozilla/LDAP/Utils.pm line 32. Compilation failed in require at /opt/fedora-ds/lib/perl/Mozilla/LDAP/Conn.pm line 36. BEGIN failed--compilation aborted at /opt/fedora-ds/lib/perl/Mozilla/LDAP/Conn.pm line 36. Compilation failed in require at /opt/fedora-ds/clients/orgchart/bin/org line 79. BEGIN failed--compilation aborted at /opt/fedora-ds/clients/orgchart/bin/org line 79. [Wed Oct 24 08:15:01 2007] [error] [client 192.168.11.10] Premature end of script headers: org, referer: http://ld:46406/clients/orgchart/html/topframe.\ html Does anybody know how to install Fedora Directory Server properly on Gentoo? thanks, Kirill
Richard Megginson
2007-Oct-24 23:55 UTC
Re: [Fedora-directory-users] gentoo and web console
Kirill Petrov wrote:> Hello everybody, > > I installed FDS on Gentoo 2007.0 using the instructions provided at > this url: > > http://gentoo-wiki.com/HOWTO_Install_Fedora_Directory_Server > > I did everything according to the manual except that I installed > apache 2.2.6 and had to modify httpd.conf to load cgid module instead > of cgi module. > > In general everything seems to work but when I tried to use the web > console Fedora Administration Express > <http://ld.farheap.com:46406/admin-serv/tasks/configuration/HTMLAdmin?op=index> > > it gave me a blank screen with a message: > NMC_Status: 1 NMC_ErrType: NMC_ErrInfo: NMC_ErrDetail: > > The organization charts functionality does not work either, it gives me: > > > Internal Server Error > > The server encountered an internal error or misconfiguration and was > unable to complete your request. > > Please contact the server administrator, [no address given] and inform > them of the time the error occurred, and anything you might have done > that may have caused the error. > > More information about this error may be available in the server error > log. > > > > The logs have the following records:Yeah, orgchart is broken. Does Gentoo have an ldconfig command? You''ll have to add the directory /opt/fedora-ds/shared/lib to ldconfig. But this doesn''t address why the other web console doesn''t work. What else is in your /opt/fedora-ds/admin-serv/logs/error file?> > Can''t load ''/opt/fedora-ds/lib/perl/arch/auto/Mozilla/LDAP/API/API.so'' > for module Mozilla::LDAP::API: libssl3.so: cannot open shared object > file: No such file or di\ > rectory at /usr/lib/perl5/5.8.8/i686-linux/DynaLoader.pm line 230. > at /opt/fedora-ds/lib/perl/Mozilla/LDAP/Utils.pm line 32 > Compilation failed in require at > /opt/fedora-ds/lib/perl/Mozilla/LDAP/Utils.pm line 32. > BEGIN failed--compilation aborted at > /opt/fedora-ds/lib/perl/Mozilla/LDAP/Utils.pm line 32. > Compilation failed in require at > /opt/fedora-ds/lib/perl/Mozilla/LDAP/Conn.pm line 36. > BEGIN failed--compilation aborted at > /opt/fedora-ds/lib/perl/Mozilla/LDAP/Conn.pm line 36. > Compilation failed in require at > /opt/fedora-ds/clients/orgchart/bin/org line 79. > BEGIN failed--compilation aborted at > /opt/fedora-ds/clients/orgchart/bin/org line 79. > [Wed Oct 24 08:15:01 2007] [error] [client 192.168.11.10] Premature > end of script headers: org, referer: > http://ld:46406/clients/orgchart/html/topframe.\ > html > > > > Does anybody know how to install Fedora Directory Server properly on > Gentoo? > > thanks, > > Kirill > > -- > Fedora-directory-users mailing list > Fedora-directory-users@redhat.com > https://www.redhat.com/mailman/listinfo/fedora-directory-users
Richard Megginson wrote:>> I installed FDS on Gentoo 2007.0 using the instructions provided at >> this url: >> >> http://gentoo-wiki.com/HOWTO_Install_Fedora_Directory_Server >> >> I did everything according to the manual except that I installed >> apache 2.2.6 and had to modify httpd.conf to load cgid module instead >> of cgi module. >> >> In general everything seems to work but when I tried to use the web >> console Fedora Administration Express >> <http://ld.farheap.com:46406/admin-serv/tasks/configuration/HTMLAdmin?op=index> >> >> it gave me a blank screen with a message: >> NMC_Status: 1 NMC_ErrType: NMC_ErrInfo: NMC_ErrDetail: >> >> The organization charts functionality does not work either, it gives me: >> >> >> Internal Server Error >> >> The server encountered an internal error or misconfiguration and was >> unable to complete your request. >> >> Please contact the server administrator, [no address given] and >> inform them of the time the error occurred, and anything you might >> have done that may have caused the error. >> >> More information about this error may be available in the server >> error log. >> >> >> >> The logs have the following records: > Yeah, orgchart is broken. Does Gentoo have an ldconfig command? > You''ll have to add the directory /opt/fedora-ds/shared/lib to ldconfig. > > But this doesn''t address why the other web console doesn''t work. What > else is in your /opt/fedora-ds/admin-serv/logs/error file?ldconfig solved the problem with the charts but the Administration Console still does not work. The only thing I found in the error log was this which does not seem to be a problem: [Wed Oct 24 09:01:57 2007] [warn] [client 192.168.11.10] admserv_host_ip_check: failed to get host by ip addr [192.168.11.10] - check your host and DNS configuratio\ n, referer: http://ld.farheap.com:46406/dist/download [Wed Oct 24 09:02:00 2007] [notice] [client 192.168.11.10] admserv_host_ip_check: ap_get_remote_host could not resolve 192.168.11.10, referer: http://ld.farheap.com\ :46406/dist/download [Wed Oct 24 09:02:00 2007] [warn] [client 192.168.11.10] admserv_host_ip_check: failed to get host by ip addr [192.168.11.10] - check your host and DNS configuratio\ n, referer: http://ld.farheap.com:46406/dist/download Where would I go now? I have a VMWare image of the installation, if somebody wants to help me :-) Kirill
Richard Megginson
2007-Oct-25 03:04 UTC
Re: [Fedora-directory-users] gentoo and web console
Kirill Petrov wrote:> Richard Megginson wrote: >>> I installed FDS on Gentoo 2007.0 using the instructions provided at >>> this url: >>> >>> http://gentoo-wiki.com/HOWTO_Install_Fedora_Directory_Server >>> >>> I did everything according to the manual except that I installed >>> apache 2.2.6 and had to modify httpd.conf to load cgid module >>> instead of cgi module. >>> >>> In general everything seems to work but when I tried to use the web >>> console Fedora Administration Express >>> <http://ld.farheap.com:46406/admin-serv/tasks/configuration/HTMLAdmin?op=index> >>> >>> it gave me a blank screen with a message: >>> NMC_Status: 1 NMC_ErrType: NMC_ErrInfo: NMC_ErrDetail: >>> >>> The organization charts functionality does not work either, it gives >>> me: >>> >>> >>> Internal Server Error >>> >>> The server encountered an internal error or misconfiguration and was >>> unable to complete your request. >>> >>> Please contact the server administrator, [no address given] and >>> inform them of the time the error occurred, and anything you might >>> have done that may have caused the error. >>> >>> More information about this error may be available in the server >>> error log. >>> >>> >>> >>> The logs have the following records: >> Yeah, orgchart is broken. Does Gentoo have an ldconfig command? >> You''ll have to add the directory /opt/fedora-ds/shared/lib to ldconfig. >> >> But this doesn''t address why the other web console doesn''t work. >> What else is in your /opt/fedora-ds/admin-serv/logs/error file? > > ldconfig solved the problem with the charts but the Administration > Console still does not work. > The only thing I found in the error log was this which does not seem > to be a problem: > > [Wed Oct 24 09:01:57 2007] [warn] [client 192.168.11.10] > admserv_host_ip_check: failed to get host by ip addr [192.168.11.10] - > check your host and DNS configuratio\ > n, referer: http://ld.farheap.com:46406/dist/download > [Wed Oct 24 09:02:00 2007] [notice] [client 192.168.11.10] > admserv_host_ip_check: ap_get_remote_host could not resolve > 192.168.11.10, referer: http://ld.farheap.com\ > :46406/dist/download > [Wed Oct 24 09:02:00 2007] [warn] [client 192.168.11.10] > admserv_host_ip_check: failed to get host by ip addr [192.168.11.10] - > check your host and DNS configuratio\ > n, referer: http://ld.farheap.com:46406/dist/downloadIt doesn''t look like you are using "real" hostnames, just NAT''d DHCP addresses. You should disable access checking by hostname. See http://directory.fedoraproject.org/wiki/Howto:AdminServerLDAPMgmt#How_to_set_the_hosts.2FIP_addresses_allowed_to_access_the_Admin_Server> > > Where would I go now? > > I have a VMWare image of the installation, if somebody wants to help > me :-) > > Kirill > > -- > Fedora-directory-users mailing list > Fedora-directory-users@redhat.com > https://www.redhat.com/mailman/listinfo/fedora-directory-users
Richard Megginson wrote:> Kirill Petrov wrote: >> Richard Megginson wrote: >>>> I installed FDS on Gentoo 2007.0 using the instructions provided at >>>> this url: >>>> >>>> http://gentoo-wiki.com/HOWTO_Install_Fedora_Directory_Server >>>> >>>> I did everything according to the manual except that I installed >>>> apache 2.2.6 and had to modify httpd.conf to load cgid module >>>> instead of cgi module. >>>> >>>> In general everything seems to work but when I tried to use the >>>> web console Fedora Administration Express >>>> <http://ld.farheap.com:46406/admin-serv/tasks/configuration/HTMLAdmin?op=index> >>>> >>>> it gave me a blank screen with a message: >>>> NMC_Status: 1 NMC_ErrType: NMC_ErrInfo: NMC_ErrDetail: >>>> >>>> The organization charts functionality does not work either, it >>>> gives me: >>>> >>>> >>>> Internal Server Error >>>> >>>> The server encountered an internal error or misconfiguration and >>>> was unable to complete your request. >>>> >>>> Please contact the server administrator, [no address given] and >>>> inform them of the time the error occurred, and anything you might >>>> have done that may have caused the error. >>>> >>>> More information about this error may be available in the server >>>> error log. >>>> >>>> >>>> >>>> The logs have the following records: >>> Yeah, orgchart is broken. Does Gentoo have an ldconfig command? >>> You''ll have to add the directory /opt/fedora-ds/shared/lib to ldconfig. >>> >>> But this doesn''t address why the other web console doesn''t work. >>> What else is in your /opt/fedora-ds/admin-serv/logs/error file? >> >> ldconfig solved the problem with the charts but the Administration >> Console still does not work. >> The only thing I found in the error log was this which does not seem >> to be a problem: >> >> [Wed Oct 24 09:01:57 2007] [warn] [client 192.168.11.10] >> admserv_host_ip_check: failed to get host by ip addr [192.168.11.10] >> - check your host and DNS configuratio\ >> n, referer: http://ld.farheap.com:46406/dist/download >> [Wed Oct 24 09:02:00 2007] [notice] [client 192.168.11.10] >> admserv_host_ip_check: ap_get_remote_host could not resolve >> 192.168.11.10, referer: http://ld.farheap.com\ >> :46406/dist/download >> [Wed Oct 24 09:02:00 2007] [warn] [client 192.168.11.10] >> admserv_host_ip_check: failed to get host by ip addr [192.168.11.10] >> - check your host and DNS configuratio\ >> n, referer: http://ld.farheap.com:46406/dist/download > It doesn''t look like you are using "real" hostnames, just NAT''d DHCP > addresses. You should disable access checking by hostname. See > http://directory.fedoraproject.org/wiki/Howto:AdminServerLDAPMgmt#How_to_set_the_hosts.2FIP_addresses_allowed_to_access_the_Admin_Server >Modified nsAdminAccessAddresses and nsAdminAccessHosts, so, now I don''t have any errors related to reverse DNS entries. The only errors I have left now are the following, when I access the administration console, no new errors show up in the logs. [Wed Oct 24 10:34:27 2007] [notice] Access Address filter is: * [Wed Oct 24 10:34:28 2007] [error] (98)Address already in use: Couldn''t bind unix domain socket /var/run/cgisock.6367 [Wed Oct 24 10:34:28 2007] [notice] Access Address filter is: * [Wed Oct 24 10:34:28 2007] [notice] Apache/2.2.6 (Unix) mod_nss/2.2.6 NSS/3.11.3 configured -- resuming normal operations [Wed Oct 24 10:34:28 2007] [error] restartd daemon process died, restarting Kirill
Richard Megginson
2007-Oct-25 13:40 UTC
Re: [Fedora-directory-users] gentoo and web console
Kirill Petrov wrote:> Richard Megginson wrote: >> Kirill Petrov wrote: >>> Richard Megginson wrote: >>>>> I installed FDS on Gentoo 2007.0 using the instructions provided >>>>> at this url: >>>>> >>>>> http://gentoo-wiki.com/HOWTO_Install_Fedora_Directory_Server >>>>> >>>>> I did everything according to the manual except that I installed >>>>> apache 2.2.6 and had to modify httpd.conf to load cgid module >>>>> instead of cgi module. >>>>> >>>>> In general everything seems to work but when I tried to use the >>>>> web console Fedora Administration Express >>>>> <http://ld.farheap.com:46406/admin-serv/tasks/configuration/HTMLAdmin?op=index> >>>>> >>>>> it gave me a blank screen with a message: >>>>> NMC_Status: 1 NMC_ErrType: NMC_ErrInfo: NMC_ErrDetail: >>>>> >>>>> The organization charts functionality does not work either, it >>>>> gives me: >>>>> >>>>> >>>>> Internal Server Error >>>>> >>>>> The server encountered an internal error or misconfiguration and >>>>> was unable to complete your request. >>>>> >>>>> Please contact the server administrator, [no address given] and >>>>> inform them of the time the error occurred, and anything you might >>>>> have done that may have caused the error. >>>>> >>>>> More information about this error may be available in the server >>>>> error log. >>>>> >>>>> >>>>> >>>>> The logs have the following records: >>>> Yeah, orgchart is broken. Does Gentoo have an ldconfig command? >>>> You''ll have to add the directory /opt/fedora-ds/shared/lib to >>>> ldconfig. >>>> >>>> But this doesn''t address why the other web console doesn''t work. >>>> What else is in your /opt/fedora-ds/admin-serv/logs/error file? >>> >>> ldconfig solved the problem with the charts but the Administration >>> Console still does not work. >>> The only thing I found in the error log was this which does not seem >>> to be a problem: >>> >>> [Wed Oct 24 09:01:57 2007] [warn] [client 192.168.11.10] >>> admserv_host_ip_check: failed to get host by ip addr [192.168.11.10] >>> - check your host and DNS configuratio\ >>> n, referer: http://ld.farheap.com:46406/dist/download >>> [Wed Oct 24 09:02:00 2007] [notice] [client 192.168.11.10] >>> admserv_host_ip_check: ap_get_remote_host could not resolve >>> 192.168.11.10, referer: http://ld.farheap.com\ >>> :46406/dist/download >>> [Wed Oct 24 09:02:00 2007] [warn] [client 192.168.11.10] >>> admserv_host_ip_check: failed to get host by ip addr [192.168.11.10] >>> - check your host and DNS configuratio\ >>> n, referer: http://ld.farheap.com:46406/dist/download >> It doesn''t look like you are using "real" hostnames, just NAT''d DHCP >> addresses. You should disable access checking by hostname. See >> http://directory.fedoraproject.org/wiki/Howto:AdminServerLDAPMgmt#How_to_set_the_hosts.2FIP_addresses_allowed_to_access_the_Admin_Server >> > Modified nsAdminAccessAddresses and nsAdminAccessHosts, so, now I > don''t have any errors related to reverse DNS entries. The only errors > I have left now are the following, when I access the administration > console, no new errors show up in the logs. > > [Wed Oct 24 10:34:27 2007] [notice] Access Address filter is: * > [Wed Oct 24 10:34:28 2007] [error] (98)Address already in use: > Couldn''t bind unix domain socket /var/run/cgisock.6367This is very odd. mod_cgi or mod_cgid creates/opens this socket. Try shutting down the admin server, then removing /var/run/cgisock.*> [Wed Oct 24 10:34:28 2007] [notice] Access Address filter is: * > [Wed Oct 24 10:34:28 2007] [notice] Apache/2.2.6 (Unix) mod_nss/2.2.6 > NSS/3.11.3 configured -- resuming normal operations > [Wed Oct 24 10:34:28 2007] [error] restartd daemon process died, > restartingAlso try start-admin -e debug, or edit httpd.conf and set LogLevel to debug> > > Kirill > > -- > Fedora-directory-users mailing list > Fedora-directory-users@redhat.com > https://www.redhat.com/mailman/listinfo/fedora-directory-users