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 and restarted the admin server, but going to http:<my_ip>:9830 just times out. 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
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
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
OK, I may have spoken a bit too soon. The reason I can't browse to it is because of our firewall. We block port 9830, but that's OK because we do all admin on the server and we don't want it browsable. However, trying to run http://localhost:9830 on the server itself does show the main page, but when I try to navigate to one of the links, I get errors such as the following: Bad or missing configuration file (config file /etc/dirsrv/dsgw/dsgw.conf: line 20: not a valid LDAP URL;)
Line 20 is similar to the following (I masked out our specific data): baseurl "ldaps://server1:/dc=example,dc=domain,dc=edu"
The dsgw.conf file was generated by the setup-ds-dsgw script, so why is it invalid?
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
On 04/23/2014 01:03 PM, harry.devine@faa.gov wrote:
OK, I may have spoken a bit too soon. The reason I can't browse to it is because of our firewall. We block port 9830, but that's OK because we do all admin on the server and we don't want it browsable. However, trying to run http://localhost:9830 http://localhost:9830/on the server itself does show the main page, but when I try to navigate to one of the links, I get errors such as the following: Bad or missing configuration file (config file /etc/dirsrv/dsgw/dsgw.conf: line 20: not a valid LDAP URL;)
Line 20 is similar to the following (I masked out our specific data): baseurl "ldaps://server1:/dc=example,dc=domain,dc=edu"
The dsgw.conf file was generated by the setup-ds-dsgw script, so why is it invalid?
Because there is a bug in setup-ds-dsgw, apparently.
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_ mailto:harry.devine@faa.govwrote: 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://_ 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_ mailto:Harry.Devine@faa.gov
-- 389 users mailing list _389-users@lists.fedoraproject.org_ mailto: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
-- 389 users mailing list 389-users@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/389-users
389-users@lists.fedoraproject.org