Login | Register
My pages Projects Community openCollabNet

Discussions > users > Re: Re: Re: current : cadmin create channel error

Project highlights: Stable Version: 1.6.1, Development Version: 1.7.6

current
Discussion topic

Back to topic list

Re: Re: Re: current : cadmin create channel error

Reply

Author theslack
Full name Jack Neely
Date 2007-03-19 07:09:03 PDT
Message That only works in 1.7.x...

The problem here is that 1.6 uses thel up2date python code directly to
do cadmin's cummunication to the Current server. Vladimir, looks like
the CA cert that your up2date configuration points to is not the CA
cert on your apache server. There are docs for creating the SSL
certifcates on the website.

Jack

On 3/19/07, Jared Greenwald <greenwaldjared@g​mail.com> wrote:
> try something like this:
>
> cadmin -s http://localhost.XMLRPC create_channel ...
>
>
> -Jared
>
> On 3/19/07, Berezovski, Vladimir <Vberezovski at nds dot com> wrote:
> >
> >
> > Neither cadmin nor up2date commands do not understand -s option .
> > up2date config file is done as required .
> >
> > cadmin create_channel -s --name "RHEL ES 4.4" --label 4.4 --arch i386
> --release 4.4 --description "RHEL 4 update4"
> > usage: cadmin [options]
> >
> > cadmin: error: no such option: -s
> >
> > Thanks . Vlad .
> >
> > ____________________​____________
> From: Jared Greenwald [mailto:greenwaldjar​ed at gmail dot com]
> > Sent: Monday, March 19, 2007 3:17 PM
> > To: users at current dot tigris dot org
> > Subject: Re: Re: current : cadmin create channel error
> >
> >
> >
> > Anywhere on the command-line. I usually specify it first. The python
> command-line option processing is extremely flexible.
> >
> > Also, I forgot to mention, the server address should include the path to
> the XMLRPC, something like " http://localhost/XMLRPC".
> >
> > Hope that helps...
> >
> > -Jared
> >
> >
> > On 3/19/07, Berezovski, Vladimir < Vberezovski at nds dot com> wrote:
> > >
> > >
> > > Thanks for response .
> > > Sorry , where it is to be specified ?
> > >
> > > ____________________​____________
> From: Jared Greenwald [mailto:greenwaldjar​ed at gmail dot com]
> > > Sent: Monday, March 19, 2007 3:08 PM
> > > To: users at current dot tigris dot org
> > > Subject: Re: current : cadmin create channel error
> > >
> > >
> > >
> > > You must specify a server with either "-s" or "--server".
> > >
> > > -Jared
> > >
> > >
> > > On 3/19/07, Berezovski, Vladimir < Vberezovski at nds dot com> wrote:
> > > >
> > > >
> > > > Hi , I've been trying to launch Current 1.6 on RHEL ES 4 update 4
> .After I configured current.conf ,mysql , current.httpd.conf , ssl
> certificates files and copied them to their places I get an error when run
> cadmin create_channel step :
> > > >
> > > > [root@current4 ~]# cadmin create_channel --name "RHEL ES 4.4"
> --label 4.4 --arch i386 --release 4.4 --description "RHEL 4 update4"
> > > > Traceback (most recent call last):
> > > > File "/usr/sbin/cadmin", line 131, in ?
> > > > main()
> > > > .
> > > > (here are numbers of output lines ).
> > > > .
> > > > .
> > > > sent = self._connection.send(data)
> > > > OpenSSL.SSL.Error: [('SSL routines', 'SSL3_GET_SERVER_CERTIFICATE',
> 'certificate verify failed')]
> > > >
> > > > Also when I try to register the server against itself there is as
> error on SSL as well :
> > > >
> > > > strace -o /tmp/log1 up2date --register --nox
> > > > There was an SSL error: [('SSL routines',
> 'SSL3_GET_SERVER_CERTIFICATE', 'certificate verify failed')]
> > > > A common cause of this error is the system time being incorrect.
> Verify that the time on this system is correct.
> > > >
> > > > Although ntpd is running .
> > > > File /etc/sysconfig/rhn/up2date point to the current server in FQDN
> way .
> > > > Ports 80 and 443 are open .
> > > >
> > > > Also I verified the certificate with : openssl s_client -connect
> current4:443 -CAfile /usr/share/rhn/RHNS-CA-CERT command and got :
> > > >
> > > > Verify return code: 18 (self signed certificate) output .
> > > >
> > > > What can go wrong here ? Thank you for assistance .
> > > >
> > > > Yours ,
> > > > Vladimir Berezovski
> .*******************​********************​********************​********************​****
> > > > This email message and any attachments thereto are intended only for
> use by the addressee(s) named above, and may contain legally privileged
> and/or confidential information. If the reader of this message is not the
> intended recipient, or the employee or agent responsible to deliver it to
> the intended recipient, you are hereby notified that any dissemination,
> distribution or copying of this communication is strictly prohibited. If you
> have received this communication in error, please immediately notify the
> postmaster at nds dot com and destroy the original message.
> > > >
> ********************​********************​********************​********************​***
> > > >
> --------------------​--------------------​--------------------​---------
> > > > To unsubscribe, e-mail:
> users-unsubscribe@cu​rrent.tigris.org
> > > > For additional commands, e-mail: users-help at current dot tigris dot org
> > > >
> > > >
> > >
> > >
> ********************​********************​********************​********************​***
> > > This email message and any attachments thereto are intended only for use
> by the addressee(s) named above, and may contain legally privileged and/or
> confidential information. If the reader of this message is not the intended
> recipient, or the employee or agent responsible to deliver it to the
> intended recipient, you are hereby notified that any dissemination,
> distribution or copying of this communication is strictly prohibited. If you
> have received this communication in error, please immediately notify the
> postmaster at nds dot com and destroy the original message.
> > >
> ********************​********************​********************​********************​***
> >
> >
> ********************​********************​********************​********************​***
> > This email message and any attachments thereto are intended only for use
> by the addressee(s) named above, and may contain legally privileged and/or
> confidential information. If the reader of this message is not the intended
> recipient, or the employee or agent responsible to deliver it to the
> intended recipient, you are hereby notified that any dissemination,
> distribution or copying of this communication is strictly prohibited. If you
> have received this communication in error, please immediately notify the
> postmaster at nds dot com and destroy the original message.
> >
> ********************​********************​********************​********************​***
>
>

« Previous message in topic | 7 of 13 | Next message in topic »

Messages

Show all messages in topic

current : cadmin create channel error "Berezovski, Vladimir" <Vberezovski at nds dot com> "Berezovski, Vladimir" <Vberezovski at nds dot com> 2007-03-19 05:58:09 PDT
     Re: current : cadmin create channel error Jared Greenwald <greenwaldjared at gmail dot com> Jared Greenwald <greenwaldjared at gmail dot com> 2007-03-19 06:08:25 PDT
         RE: Re: current : cadmin create channel error "Berezovski, Vladimir" <Vberezovski at nds dot com> "Berezovski, Vladimir" <Vberezovski at nds dot com> 2007-03-19 06:14:00 PDT
             Re: Re: current : cadmin create channel error Jared Greenwald <greenwaldjared at gmail dot com> Jared Greenwald <greenwaldjared at gmail dot com> 2007-03-19 06:16:36 PDT
                 RE: Re: Re: current : cadmin create channel error "Berezovski, Vladimir" <Vberezovski at nds dot com> "Berezovski, Vladimir" <Vberezovski at nds dot com> 2007-03-19 06:29:12 PDT
                     Re: Re: Re: current : cadmin create channel error Jared Greenwald <greenwaldjared at gmail dot com> Jared Greenwald <greenwaldjared at gmail dot com> 2007-03-19 06:44:23 PDT
                         Re: Re: Re: current : cadmin create channel error theslack Jack Neely 2007-03-19 07:09:03 PDT
                             RE: Re: Re: Re: current : cadmin create channel error "Berezovski, Vladimir" <Vberezovski at nds dot com> "Berezovski, Vladimir" <Vberezovski at nds dot com> 2007-03-20 01:38:57 PDT
                                 Re: Re: Re: Re: current : cadmin create channel error Jared Greenwald <greenwaldjared at gmail dot com> Jared Greenwald <greenwaldjared at gmail dot com> 2007-03-20 05:22:45 PDT
                                 Re: Re: Re: Re: current : cadmin create channel error theslack Jack Neely 2007-03-20 06:56:06 PDT
                                     RE: Re: Re: Re: Re: current : cadmin create channel error "Berezovski, Vladimir" <Vberezovski at nds dot com> "Berezovski, Vladimir" <Vberezovski at nds dot com> 2007-03-20 14:18:51 PDT
                                     RE: Re: Re: Re: Re: current : cadmin create channel error "Berezovski, Vladimir" <Vberezovski at nds dot com> "Berezovski, Vladimir" <Vberezovski at nds dot com> 2007-03-21 03:57:51 PDT
                                         Re: Re: Re: Re: Re: current : cadmin create channel error theslack Jack Neely 2007-03-21 07:29:33 PDT
Messages per page: