Bug 273501 - Replication monitor CGI seems misconfigured
Summary: Replication monitor CGI seems misconfigured
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: 389
Classification: Retired
Component: Admin
Version: 1.1.0
Hardware: All
OS: All
high
low
Target Milestone: ---
Assignee: Noriko Hosoi
QA Contact: Viktor Ashirov
URL:
Whiteboard:
Depends On:
Blocks: 240316 FDS1.1.0
TreeView+ depends on / blocked
 
Reported: 2007-09-01 00:24 UTC by Noriko Hosoi
Modified: 2015-12-07 17:00 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-12-07 17:00:24 UTC
Embargoed:


Attachments (Terms of Use)
cvs diffs (ldapserver) (930 bytes, patch)
2007-09-05 00:54 UTC, Noriko Hosoi
no flags Details | Diff
cvs diffs (adminserver) (2.01 KB, patch)
2007-09-05 01:00 UTC, Noriko Hosoi
no flags Details | Diff
adminserver/admserv/cgi-src40/repl-monitor-cgi.pl.in (2.79 KB, text/plain)
2007-09-05 01:03 UTC, Noriko Hosoi
no flags Details
cvs commit message (comment #1-3) (2.66 KB, text/plain)
2007-09-05 16:47 UTC, Noriko Hosoi
no flags Details

Description Noriko Hosoi 2007-09-01 00:24:54 UTC
Description of problem:

From the Admin Express:
http://<host>:<port>/admin-serv/tasks/configuration/HTMLAdmin?op=index

Click "Replication Status"

Specify "Configuration file:"

Click "OK"

Result: http://<host>:<port>/admin-serv/tasks/configuration/HTMLAdmin?op=index
Not Found
The requested URL /admin-serv/tasks/configuration/repl-monitor-cgi.pl was not
found on this server.

Comment 1 Noriko Hosoi 2007-09-05 00:54:59 UTC
Created attachment 186751 [details]
cvs diffs (ldapserver)

Modified File: ldapserver/ldap/admin/src/scripts/repl-monitor.pl

Deleted File: ldapserver/ldap/admin/src/scripts/template-repl-monitor-cgi.pl.in


Description: 1) get_replica: missing return value for the success case
2) support the case "shadowport" is not passed

Comment 2 Noriko Hosoi 2007-09-05 01:00:04 UTC
Created attachment 186761 [details]
cvs diffs (adminserver)

Modified Files: 
 Makefile.am
 admserv/schema/ldif/21astasks.ldif.tmpl
 admserv/cgi-src40/monreplication.properties

New File: ./admserv/cgi-src40/repl-monitor-cgi.pl.in  (attaching next)

Description: 1) added repl-monitor-cgi.pl(.in)
2) removed "perl?" from nsExecRef, with which CGI expects "perl" is in the
cgi-bin directory

Comment 3 Noriko Hosoi 2007-09-05 01:03:04 UTC
Created attachment 186771 [details]
adminserver/admserv/cgi-src40/repl-monitor-cgi.pl.in

New file: adminserver/admserv/cgi-src40/repl-monitor-cgi.pl.in

Description: it's moved from ldapserver/ldap/admin/src/scripts, and renamed
from template-repl-monitor-cgi.pl to repl-monitor-cgi.pl.

Comment 4 Noriko Hosoi 2007-09-05 01:11:35 UTC
Sample repl monitor sample1: (all the replicas share the same replication
manager/password)
------------------------------------------
[connection]
*:*:cn=repl manager,cn=config:my_password:
------------------------------------------

Sample repl monitor sample2: (all the replicas except one on host1 share the
same replication manager/password
------------------------------------------
[connection]
*:*:cn=repl manager,cn=config:my_password:
host1:*:cn=repl manager,cn=config:your_password:
------------------------------------------

Perhaps, this file can be automatically generated/updated when the replication
agreement is created?  Also, repl-monitor.pl could display/point a default path
refering this default config file.

Comment 5 Noriko Hosoi 2007-09-05 16:32:14 UTC
(In reply to comment #4)
> Sample repl monitor sample1: 
Should be read ...
Sample repl monitor config file 1:
:p

Comment 6 Noriko Hosoi 2007-09-05 16:47:38 UTC
Created attachment 187711 [details]
cvs commit message (comment #1-3)

Reviewed by Rich (Thank you!!)

Checked in into HEAD.


Note You need to log in before you can comment on or make changes to this bug.