Yeah, the script ran successfully (at least, it APPEARED to; I didn't see any errors displayed).  I do get the following in the /var/log/dirsrv/admin-serv/error log:

[Wed Apr 23 13:22:06 2014] [error] Could not bind as [uid=admin,ou=Administrators,ou=TopologyManagement,o=NetscapeRoot]: ldap error 49: Invalid credentials
[Wed Apr 23 13:22:06 2014] [error] [client 127.0.0.1] user admin: authentication failure for "/admin-serv/tasks/configuration/HTMLAdmin": Password Mismatch, referer: http://localhost:9830/dist/download
[Wed Apr 23 13:22:15 2014] [notice] [client 127.0.0.1] admserv_host_ip_check: ap_get_remote_host could not resolve 127.0.0.1, referer: http://localhost:9830/dist/download
[Wed Apr 23 13:22:15 2014] [notice] [client 127.0.0.1] admserv_host_ip_check: host [localhost] did not match pattern [*.server1] -will scan aliases, referer: http://localhost:9830/dist/download
[Wed Apr 23 13:22:15 2014] [notice] [client 127.0.0.1] admserv_host_ip_check: host alias [localhost.localdomain] did not match pattern [*.server1], referer: http://localhost:9830/dist/download
[Wed Apr 23 13:22:15 2014] [notice] [client 127.0.0.1] admserv_host_ip_check: host alias [localhost4] did not match pattern [*.server1], referer: http://localhost:9830/dist/download
[Wed Apr 23 13:22:15 2014] [notice] [client 127.0.0.1] admserv_host_ip_check: host alias [localhost4.localdomain4] did not match pattern [*.server1], referer: http://localhost:9830/dist/download
[Wed Apr 23 13:22:15 2014] [error] [client 127.0.0.1] user root not found: /admin-serv/tasks/configuration/HTMLAdmin, referer: http://localhost:9830/dist/download
[Wed Apr 23 13:22:27 2014] [notice] [client 127.0.0.1] admserv_host_ip_check: ap_get_remote_host could not resolve 127.0.0.1, referer: http://localhost:9830/dist/download
[Wed Apr 23 13:22:27 2014] [notice] [client 127.0.0.1] admserv_host_ip_check: host [localhost] did not match pattern [*.server1] -will scan aliases, referer: http://localhost:9830/dist/download
[Wed Apr 23 13:22:27 2014] [notice] [client 127.0.0.1] admserv_host_ip_check: host alias [localhost.localdomain] did not match pattern [*.server1], referer: http://localhost:9830/dist/download
[Wed Apr 23 13:22:27 2014] [notice] [client 127.0.0.1] admserv_host_ip_check: host alias [localhost4] did not match pattern [*.server1], referer: http://localhost:9830/dist/download
[Wed Apr 23 13:22:27 2014] [notice] [client 127.0.0.1] admserv_host_ip_check: host alias [localhost4.localdomain4] did not match pattern [*.server1], referer: http://localhost:9830/dist/download
[Wed Apr 23 13:22:27 2014] [error] [client 127.0.0.1] user Directory Manager not found: /admin-serv/tasks/configuration/HTMLAdmin, referer: http://localhost:9830/dist/download
[Wed Apr 23 13:27:57 2014] [notice] caught SIGTERM, shutting down
[Wed Apr 23 13:27:57 2014] [notice] SELinux policy enabled; httpd running as context unconfined_u:system_r:httpd_t:s0
[Wed Apr 23 13:27:58 2014] [notice] Access Host filter is: *.server1
[Wed Apr 23 13:27:58 2014] [notice] Access Address filter is: *
[Wed Apr 23 13:27:59 2014] [notice] Apache/2.2.15 (Unix) configured -- resuming normal operations
[Wed Apr 23 13:27:59 2014] [notice] Access Host filter is: *.server1
[Wed Apr 23 13:27:59 2014] [notice] Access Address filter is: *

I will say this as well: we run our web server using a self-signed CA cert, so we use https:  Not sure if that has any bearing on anything, but I wanted to mention it for full disclosure.

Thanks,
Harry

Harry Devine
Common ARTS Software Development
AJM-245
(609)485-4218
Harry.Devine@faa.gov




From:        Rich Megginson <rmeggins@redhat.com>
        AJM-245, CARTS Software & Safety
To:        "General discussion list for the 389 Directory server project." <389-users@lists.fedoraproject.org>,
Date:        04/23/2014 02:02 PM
Subject:        Re: [389-users] Installing dsgw web interface
Sent by:        389-users-bounces@lists.fedoraproject.org




On 04/23/2014 11:41 AM, harry.devine@faa.gov wrote:
I'd like to try out the web interface, and I'm trying to follow along with some tips I've found online.  I  have dsgw installed on my server (389-dsgw-1.1.11-1.el6.x86_64).  I ran the setup-ds-dsgw script

Did this run successfully with no errors?  Did you run this as root?

and restarted the admin server, but going to http:<my_ip>:9830 just times out.

Are there any errors in /var/log/dirsrv/admin-serv/error?

If I copy /etc/dirsrv/dsgw/dsgw-httpd.conf to my server's apache directory, restart apache, and try going to http://<my_ip>/dsgw, I get an error stating "Problem  Bad or missing configuration file (Cannot open "/etc/dirsrv/dsgw/default.conf").

That file is there, so what do I have to do to make this work?  Do I have to edit the dsgw-httpd.conf and configure that further?


Thanks for any tips!


Harry Devine
Common ARTS Software Development
AJM-245
(609)485-4218

Harry.Devine@faa.gov

--
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