[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fedora-directory-users
Subject:    [389-users] Proper upgrade steps?
From:       Wudadin <wudadin2003 () yahoo ! com>
Date:       2015-06-10 15:26:45
Message-ID: 337832554.313039.1433950005753.JavaMail.yahoo () mail ! yahoo ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Good Afternoon,
I was trying to upgrade one of my 389ds consumers and it does not seem to have \
worked.Started with the following: [server-03]# cat /etc/issueCentOS release 6.3 \
(Final)Kernel \r on an \m [server-03]#  rpm -qa \
389*389-adminutil-1.1.15-1.el6.x86_64389-admin-console-1.1.8-1.el6.noarch389-dsgw-1.1. \
9-1.el6.x86_64389-console-1.1.7-1.el6.noarch389-ds-base-libs-1.2.10.2-20.el6_3.x86_643 \
89-admin-1.1.29-1.el6.x86_64389-ds-console-1.2.6-1.el6.noarch389-admin-console-doc-1.1 \
.8-1.el6.noarch389-ds-1.2.2-1.el6.noarch389-ds-base-1.2.10.2-20.el6_3.x86_64389-ds-console-doc-1.2.6-1.el6.noarch
 Ran the following commands:
[server-03]#  yum update[server-03]#  yum upgrade 389-ds-base
[server-03]#  rpm -qa \
389*389-admin-console-doc-1.1.8-1.el6.noarch389-admin-console-1.1.8-1.el6.noarch389-ds \
gw-1.1.9-1.el6.x86_64389-ds-console-1.2.6-1.el6.noarch389-ds-1.2.2-1.el6.noarch389-ds- \
base-1.2.11.15-48.el6_6.x86_64389-adminutil-1.1.15-1.el6.x86_64389-ds-console-doc-1.2. \
6-1.el6.noarch389-console-1.1.7-1.el6.noarch389-admin-1.1.29-1.el6.x86_64389-ds-base-libs-1.2.11.15-48.el6_6.x86_64
 [server-03]#  setup-ds-admin.pl  \
-u==============================================================================The \
update option will allow you to re-register your servers with theconfiguration \
directory server and update the information about yourservers that the console and \
admin server uses.    You will need yourconfiguration directory server admin ID and \
password to continue.Continue? \
[yes]:==============================================================================Please \
specify the information about your configuration directoryserver.    The following \
information is required:- host (fully qualified), port (non-secure or secure), \
suffix,   protocol (ldap or ldaps) - this information should be provided in the   \
form of an LDAP url e.g. for non-secureldap://host.example.com:389/o=NetscapeRoot   \
or for secureldaps://host.example.com:636/o=NetscapeRoot- admin ID and password- \
admin domain- a CA certificate file may be required if you choose to use ldaps and   \
security has not yet been configured - the file must be in PEM/ASCII   format - \
specify the absolute path and filenameConfiguration directory server URL \
[ldap://server-01.my.company.net:389/o=NetscapeRoot]:Configuration directory server \
admin ID [uid=admin,ou=Administrators,ou=TopologyManagement,o=NetscapeRoot]:Configuration \
directory server admin password:Configuration directory server admin domain \
[my.company.net]: ==============================================================================
 The interactive phase is complete.    The script will now set up yourservers.    \
Enter No or go Back if you want to change something.Are you ready to set up your \
servers? [yes]:Could not open TLS connection to  server-03.my.company.net:389 - \
trying regular connectionCould not open a connection to  \
server-03.my.company.net:389Could not open a connection to the server at  \
server-03.my.company.net  port 389 as \
'uid=admin,ou=Administrators,ou=TopologyManagement,o=NetscapeRoot'.Please make sure \
the server is up and running before using online mode,or use offline mode.Could not \
reconfigure the admin server.Exiting . . .Log file is '/tmp/setup4jz4q9.log'

[server-03]#  cat /tmp/setup4jz4q9.log[15/06/09:16:18:14] - [Setup] Info The update \
option will allow you to re-register your servers with theconfiguration directory \
server and update the information about yourservers that the console and admin server \
uses.    You will need yourconfiguration directory server admin ID and password to \
continue.[15/06/09:16:18:14] - [Setup] Info Continue?[15/06/09:16:18:16] - [Setup] \
Info yes[15/06/09:16:18:16] - [Setup] Info Please specify the information about your \
configuration directoryserver.    The following information is required:- host (fully \
qualified), port (non-secure or secure), suffix,   protocol (ldap or ldaps) - this \
information should be provided in the   form of an LDAP url e.g. for \
non-secureldap://host.example.com:389/o=NetscapeRoot   or for \
secureldaps://host.example.com:636/o=NetscapeRoot- admin ID and password- admin \
domain- a CA certificate file may be required if you choose to use ldaps and   \
security has not yet been configured - the file must be in PEM/ASCII   format - \
specify the absolute path and filename[15/06/09:16:20:38] - [Setup] Info \
Configuration directory server URL[15/06/09:16:20:42] - [Setup] Info \
ldap://server-01.my.company.net:389/o=NetscapeRoot[15/06/09:16:20:42] - [Setup] Info \
Configuration directory server admin ID[15/06/09:16:20:43] - [Setup] Info \
uid=admin,ou=Administrators,ou=TopologyManagement,o=NetscapeRoot[15/06/09:16:20:43] - \
[Setup] Info Configuration directory server admin password[15/06/09:16:20:50] - \
[Setup] Info Configuration directory server admin domain[15/06/09:16:20:50] - [Setup] \
Info  my.company.net[15/06/09:16:20:50] - [Setup] Info The interactive phase is \
complete.    The script will now set up yourservers.    Enter No or go Back if you \
want to change something.[15/06/09:16:20:50] - [Setup] Info Are you ready to set up \
your servers?[15/06/09:16:20:54] - [Setup] Info yesCould not open TLS connection to  \
server-03.my.company.net:389 - trying regular connectionCould not open a connection \
to  server-03.my.company.net:389[15/06/09:16:20:54] - [Setup] Info Could not open a \
connection to the server at  server-03.my.company.net  port 389 as \
'uid=admin,ou=Administrators,ou=TopologyManagement,o=NetscapeRoot'.Please make sure \
the server is up and running before using online mode,or use offline \
mode.[15/06/09:16:20:54] - [Setup] Fatal Could not reconfigure the admin \
server.[15/06/09:16:20:54] - [Setup] Fatal Exiting . . .Log file is \
'/tmp/setup4jz4q9.log'

[server-03]#  ps -ef | grep slapldapuser 15748         1    2 Jun06 ?                \
01:53:42 ./ns-slapd -D /etc/dirsrv/slapd-server-03  -i \
/var/run/dirsrv/slapd-server-03.pid -w /var/run/dirsrv/slapd-server-03.startpidroot   \
19243 18984    0 16:21 pts/0        00:00:00 grep slap

[server-03]#  netstat -tap | grep LIST | grep -E "httpd|ldaps|ldap"
tcp                0            0 *:9830                                            \
*:*                                                 LISTEN            \
15635/httpd.workertcp                0            0 *:ldap                            \
*:*                                                 LISTEN            \
15748/./ns-slapdtcp                0            0 *:ldaps                             \
*:*                                                 LISTEN            \
15748/./ns-slapd

Not sure why I can not connect back to the localhost when running ./setup-ds-admin.pl \
-u EVEN when trying to connect on just 389 and not use TLS Any ideas? Not sure what I \
am doing wrong here.  


[Attachment #5 (text/html)]

<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, \
Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div \
id="yui_3_16_0_1_1433884283891_29891">Good Afternoon,</div><div \
id="yui_3_16_0_1_1433884283891_29891"><br></div><div class="" \
id="yiv0166949123yui_3_16_0_1_1433884283891_9814" style="font-size: 10px;"><div \
class="" id="yui_3_16_0_1_1433884283891_29267" style="font-size: 16px;"><font \
size="3" class="" id="yui_3_16_0_1_1433884283891_29266" style="">I was trying to \
upgrade one of my 389ds consumers and it does not seem to have \
worked.</font></div><div class="" id="yui_3_16_0_1_1433884283891_29282" \
style="font-size: 16px;"><font size="3" class="" \
id="yui_3_16_0_1_1433884283891_29281" style="">Started with the \
following:</font></div><div class="" id="yui_3_16_0_1_1433884283891_29296" \
style="font-size: 16px;"><font size="3" class="" style=""><br class="" \
style=""></font></div><div class="" id="yui_3_16_0_1_1433884283891_29298" \
style="font-size: 16px;"><font size="3" class="" \
id="yui_3_16_0_1_1433884283891_29297" style="">[server-03]<span class="" style="" \
id="yui_3_16_0_1_1433884283891_30272"># cat /etc/issue</span></font></div><div \
class="" id="yui_3_16_0_1_1433884283891_29320" style="font-size: 16px;"><font \
size="3" class="" id="yui_3_16_0_1_1433884283891_29319" style="">CentOS release 6.3 \
(Final)</font></div><div class="" id="yui_3_16_0_1_1433884283891_29271" \
style="font-size: 16px;"><font size="3" class="" \
id="yui_3_16_0_1_1433884283891_29270" style="">Kernel \r on an \m</font></div><div \
class="" style="font-size: 16px;"><font size="3" class="" style=""><br class="" \
style=""></font></div><div class="" style="font-size: 16px;" \
id="yui_3_16_0_1_1433884283891_30397"><font size="3" class="" style="" \
id="yui_3_16_0_1_1433884283891_30396">[server-03]<span class="" \
style="">#</span><span class="" style="" \
id="yui_3_16_0_1_1433884283891_30395">&nbsp;rpm -qa 389*</span></font></div><div \
class="" id="yui_3_16_0_1_1433884283891_29273" style="font-size: 16px;"><font \
size="3" class="" id="yui_3_16_0_1_1433884283891_29272" \
style="">389-adminutil-1.1.15-1.el6.x86_64</font></div><div class="" \
style="font-size: 16px;"><font size="3" class="" \
style="">389-admin-console-1.1.8-1.el6.noarch</font></div><div class="" \
id="yui_3_16_0_1_1433884283891_29275" style="font-size: 16px;"><font size="3" \
class="" id="yui_3_16_0_1_1433884283891_29274" \
style="">389-dsgw-1.1.9-1.el6.x86_64</font></div><div class="" style="font-size: \
16px;" id="yui_3_16_0_1_1433884283891_30399"><font size="3" class="" style="" \
id="yui_3_16_0_1_1433884283891_30398">389-console-1.1.7-1.el6.noarch</font></div><div \
class="" style="font-size: 16px;"><font size="3" class="" \
style="">389-ds-base-libs-1.2.10.2-20.el6_3.x86_64</font></div><div class="" \
style="font-size: 16px;"><font size="3" class="" \
style="">389-admin-1.1.29-1.el6.x86_64</font></div><div class="" style="font-size: \
16px;" id="yui_3_16_0_1_1433884283891_30401"><font size="3" class="" style="" \
id="yui_3_16_0_1_1433884283891_30400">389-ds-console-1.2.6-1.el6.noarch</font></div><div \
class="" id="yui_3_16_0_1_1433884283891_29300" style="font-size: 16px;"><font \
size="3" class="" id="yui_3_16_0_1_1433884283891_29299" \
style="">389-admin-console-doc-1.1.8-1.el6.noarch</font></div><div class="" \
style="font-size: 16px;"><font size="3" class="" \
style="">389-ds-1.2.2-1.el6.noarch</font></div><div class="" style="font-size: \
16px;"><font size="3" class="" \
style="">389-ds-base-1.2.10.2-20.el6_3.x86_64</font></div><div class="" \
id="yiv0166949123yui_3_16_0_1_1433884283891_10006" style="font-size: 16px;"><font \
size="3" class="" style="" \
id="yui_3_16_0_1_1433884283891_30402">389-ds-console-doc-1.2.6-1.el6.noarch</font></div><div \
class="" id="yiv0166949123yui_3_16_0_1_1433884283891_9839" style="font-size: \
16px;"><font size="3" class="" style=""><br class="" style=""></font></div><div \
class="" id="yiv0166949123yui_3_16_0_1_1433884283891_10041" style="font-size: \
16px;"><font size="3" class="" style="">Ran the following commands:</font></div><div \
class="" id="yiv0166949123yui_3_16_0_1_1433884283891_9838" style="font-size: \
16px;"><font size="3" class="" style=""><br class="" style=""></font></div><div \
class="" id="yiv0166949123yui_3_16_0_1_1433884283891_10048" style="font-size: \
16px;"><font size="3" class="" style="">[server-03]<span class="" \
style="">#</span>&nbsp;<span class="" style="">yum update</span></font></div><div \
class="" id="yiv0166949123yui_3_16_0_1_1433884283891_10057" style="font-size: \
16px;"><font size="3" class="" style="" \
id="yui_3_16_0_1_1433884283891_30403">[server-03]<span class="" \
style="">#</span>&nbsp;<span class="" style="">yum upgrade \
389-ds-base</span></font></div><div class="" style="font-size: 16px;" \
id="yui_3_16_0_1_1433884283891_30404"><font size="3" class="" style=""><br class="" \
style=""></font></div><div class="" \
id="yiv0166949123yui_3_16_0_1_1433884283891_10064" style="font-size: 16px;"><font \
size="3" class="" style="" id="yui_3_16_0_1_1433884283891_30406">[server-03]<span \
class="" style="">#</span><span class="" style="" \
id="yui_3_16_0_1_1433884283891_30405">&nbsp;rpm -qa 389*</span></font></div><div \
class="" id="yiv0166949123yui_3_16_0_1_1433884283891_10071" style="font-size: \
16px;"><font size="3" class="" style="" \
id="yui_3_16_0_1_1433884283891_30407">389-admin-console-doc-1.1.8-1.el6.noarch</font></div><div \
class="" id="yiv0166949123yui_3_16_0_1_1433884283891_10078" style="font-size: \
16px;"><font size="3" class="" style="" \
id="yui_3_16_0_1_1433884283891_30408">389-admin-console-1.1.8-1.el6.noarch</font></div><div \
class="" id="yiv0166949123yui_3_16_0_1_1433884283891_10085" style="font-size: \
16px;"><font size="3" class="" style="" \
id="yui_3_16_0_1_1433884283891_30409">389-dsgw-1.1.9-1.el6.x86_64</font></div><div \
class="" id="yiv0166949123yui_3_16_0_1_1433884283891_10142" style="font-size: \
16px;"><font size="3" class="" style="" \
id="yui_3_16_0_1_1433884283891_30410">389-ds-console-1.2.6-1.el6.noarch</font></div><div \
class="" id="yui_3_16_0_1_1433884283891_29304" style="font-size: 16px;"><font \
size="3" class="" style="" \
id="yui_3_16_0_1_1433884283891_30411">389-ds-1.2.2-1.el6.noarch</font></div><div \
class="" id="yui_3_16_0_1_1433884283891_29305" style="font-size: 16px;"><font \
size="3" class="" style="" \
id="yui_3_16_0_1_1433884283891_30412">389-ds-base-1.2.11.15-48.el6_6.x86_64</font></div><div \
class="" id="yiv0166949123yui_3_16_0_1_1433884283891_10161" style="font-size: \
16px;"><font size="3" class="" style="" \
id="yui_3_16_0_1_1433884283891_30413">389-adminutil-1.1.15-1.el6.x86_64</font></div><div \
class="" id="yui_3_16_0_1_1433884283891_29302" style="font-size: 16px;"><font \
size="3" class="" id="yui_3_16_0_1_1433884283891_29301" \
style="">389-ds-console-doc-1.2.6-1.el6.noarch</font></div><div class="" \
id="yui_3_16_0_1_1433884283891_29303" style="font-size: 16px;"><font size="3" \
class="" style="" id="yui_3_16_0_1_1433884283891_30414">389-console-1.1.7-1.el6.noarch</font></div><div \
class="" style="font-size: 16px;"><font size="3" class="" \
style="">389-admin-1.1.29-1.el6.x86_64</font></div><div class="" style="font-size: \
16px;" id="yui_3_16_0_1_1433884283891_30416"><font size="3" class="" style="" \
id="yui_3_16_0_1_1433884283891_30415">389-ds-base-libs-1.2.11.15-48.el6_6.x86_64</font></div><div \
class="" style="font-size: 16px;"><font size="3" class="" style=""><br class="" \
style=""></font></div><div class="" style="font-size: 16px;"><font size="3" class="" \
style="">[server-03]<span class="" style="">#</span><span class="" style="">&nbsp;<a \
rel="nofollow" target="_blank" href="http://setup-ds-admin.pl/" class="" \
style="color: rgb(25, 106, \
212);">setup-ds-admin.pl</a>&nbsp;-u</span></font></div><div class="" \
style="font-size: 16px;"><font size="3" class="" \
style="">==============================================================================</font></div><div \
class="" style="font-size: 16px;"><font size="3" class="" style="">The update option \
will allow you to re-register your servers with the</font></div><div class="" \
style="font-size: 16px;"><font size="3" class="" style="">configuration directory \
server and update the information about your</font></div><div class="" \
style="font-size: 16px;"><font size="3" class="" style="">servers that the console \
and admin server uses.&nbsp;&nbsp;You will need your</font></div><div class="" \
id="yiv0166949123yui_3_16_0_1_1433884283891_10172" style="font-size: 16px;"><font \
size="3" class="" style="">configuration directory server admin ID and password to \
continue.</font></div><div class="" style="font-size: 16px;"><font size="3" class="" \
style="">Continue? [yes]:</font></div><div class="" style="font-size: 16px;"><font \
size="3" class="" style="">==============================================================================</font></div><div \
class="" style="font-size: 16px;"><font size="3" class="" style="">Please specify the \
information about your configuration directory</font></div><div class="" \
style="font-size: 16px;"><font size="3" class="" style="">server.&nbsp;&nbsp;The \
following information is required:</font></div><div class="" style="font-size: \
16px;"><font size="3" class="" style="">- host (fully qualified), port (non-secure or \
secure), suffix,</font></div><div class="" style="font-size: 16px;"><font size="3" \
class="" style="">&nbsp; protocol (ldap or ldaps) - this information should be \
provided in the</font></div><div class="" style="font-size: 16px;"><font size="3" \
class="" style="">&nbsp; form of an LDAP url e.g. for non-secure</font></div><div \
class="" style="font-size: 16px;"><font size="3" class="" style="">ldap://host.<a \
rel="nofollow" target="_blank" href="http://example.com:389/o=NetscapeRoot" class="" \
style="color: rgb(25, 106, 212);">example.com:389/o=NetscapeRoot</a></font></div><div \
class="" style="font-size: 16px;"><font size="3" class="" style="">&nbsp; or for \
secure</font></div><div class="" style="font-size: 16px;"><font size="3" class="" \
style="">ldaps://host.<a rel="nofollow" target="_blank" \
href="http://example.com:636/o=NetscapeRoot" class="" style="color: rgb(25, 106, \
212);">example.com:636/o=NetscapeRoot</a></font></div><div class="" style="font-size: \
16px;"><font size="3" class="" style="">- admin ID and password</font></div><div \
class="" style="font-size: 16px;"><font size="3" class="" style="">- admin \
domain</font></div><div class="" style="font-size: 16px;"><font size="3" class="" \
style="">- a CA certificate file may be required if you choose to use ldaps \
and</font></div><div class="" style="font-size: 16px;"><font size="3" class="" \
style="">&nbsp; security has not yet been configured - the file must be in \
PEM/ASCII</font></div><div class="" style="font-size: 16px;"><font size="3" class="" \
style="">&nbsp; format - specify the absolute path and filename</font></div><div \
class="" style="font-size: 16px;"><font size="3" class="" style="">Configuration \
directory server URL [ldap://server-01.<a rel="nofollow" target="_blank" \
href="http://my.company.net:389/o=NetscapeRoot" class="" style="color: rgb(25, 106, \
212);">my.company.net:389/o=NetscapeRoot</a>]:</font></div><div class="" \
style="font-size: 16px;"><font size="3" class="" style="">Configuration directory \
server admin ID [uid=admin,ou=Administrators,ou=TopologyManagement,o=NetscapeRoot]:</font></div><div \
class="" style="font-size: 16px;"><font size="3" class="" style="">Configuration \
directory server admin password:</font></div><div class="" style="font-size: \
16px;"><font size="3" class="" style=""><span class="" style="">Configuration \
directory server admin domain [</span><a rel="nofollow" target="_blank" \
href="http://my.company.net/" class="" style="color: rgb(25, 106, \
212);">my.company.net</a><span class="" style="">]:</span></font></div><div class="" \
id="yiv0166949123yui_3_16_0_1_1433884283891_10185" style="font-size: 16px;"><font \
size="3" class="" style=""><br class="" style=""></font></div><div class="" \
style="font-size: 16px;"><font size="3" class="" \
style="">==============================================================================</font></div><div \
class="" style="font-size: 16px;"><font size="3" class="" style=""><br class="" \
style=""></font></div><div class="" style="font-size: 16px;"><font size="3" class="" \
style="">The interactive phase is complete.&nbsp;&nbsp;The script will now set up \
your</font></div><div class="" style="font-size: 16px;"><font size="3" class="" \
style="">servers.&nbsp;&nbsp;Enter No or go Back if you want to change \
something.</font></div><div class="" style="font-size: 16px;"><font size="3" class="" \
style="">Are you ready to set up your servers? [yes]:</font></div><div class="" \
style="font-size: 16px;"><font size="3" class="" style=""><span class="" \
style="">Could not open TLS connection to</span>&nbsp;<a rel="nofollow" \
target="_blank" href="http://server-03.my.company.net/" class="" style="color: \
rgb(25, 106, 212);">server-03.my.company.net</a><span class="" style="">:389 - trying \
regular connection</span></font></div><div class="" style="font-size: 16px;"><font \
size="3" class="" style=""><span class="" style="">Could not open a connection \
to</span>&nbsp;<a rel="nofollow" target="_blank" \
href="http://server-03.my.company.net/" class="" style="color: rgb(25, 106, \
212);">server-03.my.company.net</a><span class="" \
style="">:389</span></font></div><div class="" style="font-size: 16px;"><font \
size="3" class="" style=""><span class="" style="">Could not open a connection to the \
server at&nbsp;</span><a rel="nofollow" target="_blank" \
href="http://server-03.my.company.net/" class="" style="color: rgb(25, 106, \
212);">server-03.my.company.net</a>&nbsp;<span class="" style="">port 389 as \
'uid=admin,ou=Administrators,ou=TopologyManagement,o=NetscapeRoot'.</span></font></div><div \
class="" style="font-size: 16px;"><font size="3" class="" style="">Please make sure \
the server is up and running before using online mode,</font></div><div class="" \
style="font-size: 16px;"><font size="3" class="" style="">or use offline \
mode.</font></div><div class="" id="yiv0166949123yui_3_16_0_1_1433884283891_10356" \
style="font-size: 16px;"><font size="3" class="" style="">Could not reconfigure the \
admin server.</font></div><div class="" \
id="yiv0166949123yui_3_16_0_1_1433884283891_10355" style="font-size: 16px;"><font \
size="3" class="" style="">Exiting . . .</font></div><div class="" \
id="yiv0166949123yui_3_16_0_1_1433884283891_10354" style="font-size: 16px;"><font \
size="3" class="" style="">Log file is '/tmp/setup4jz4q9.log'</font></div><div \
class="" id="yiv0166949123yui_3_16_0_1_1433884283891_10353" style="font-size: \
16px;"><font size="3" class="" style=""><br class="" style=""></font></div><div \
class="" id="yiv0166949123yui_3_16_0_1_1433884283891_10352" style="font-size: \
16px;"><font size="3" class="" style=""><br class="" style=""></font></div><div \
class="" id="yiv0166949123yui_3_16_0_1_1433884283891_10351" style="font-size: \
16px;"><font size="3" class="" style="">[server-03]<span class="" \


[Attachment #6 (text/plain)]

--
389 users mailing list
389-users@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-users

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic