[Fedora-directory-users] gentoo and web console

Richard Megginson rmeggins at redhat.com
Thu Oct 25 13:40:52 UTC 2007


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.6367
This 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, 
> restarting
Also try start-admin -e debug, or edit httpd.conf and set LogLevel to debug
>
>
> Kirill
>
> -- 
> Fedora-directory-users mailing list
> Fedora-directory-users at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-directory-users

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3245 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.fedoraproject.org/pipermail/389-users/attachments/20071025/7f1988bf/attachment.bin>


More information about the 389-users mailing list