Projects My pages Community openCollabNet

Discussions > users > Re: Current run problems

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

# current Discussion topic

## Re: Current run problems

Header ```From: Jack Neely Reply-To: users To: users at current dot tigris dot org Message-Id: Subject: Re: Current run problems Return-Path: Mailing-List: contact users-help at current dot tigris dot org; run by ezmlm Delivered-To: mailing list users at current dot tigris dot org Received: (qmail 7687 invoked from network); 3 Oct 2005 18:05:08 -0000 Received: from zproxy.gmail.com (64.233.162.199) by sc79.sfo.collab.net with SMTP; 3 Oct 2005 18:05:08 -0000 Received: by zproxy.gmail.com with SMTP id s18so282490nze for ; Mon, 03 Oct 2005 11:05:07 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=DsL6SiCxnGk8ltFwFcqiOfwT+pPMJbud/jzL7wWPyk+twqYo87d2B/Ktj2OD9Qq6vWOTjlTegpbaLnzz61/b8wE9LeuEgyszAhqKZY8tWlsoYwEw3O968lX0AoWGqlSawkpG6eAwU8kFQi/wQFG42hjhn5cPkC65BcAIPKno2sk= Received: by 10.36.250.56 with SMTP id x56mr394321nzh; Mon, 03 Oct 2005 11:05:07 -0700 (PDT) Received: by 10.36.3.20 with HTTP; Mon, 3 Oct 2005 11:05:07 -0700 (PDT) Date: Mon, 3 Oct 2005 14:05:07 -0400 In-Reply-To: <9d5ddd1f0510030128q99f6f78ufd75e0b1c91cae8a at mail dot gmail dot com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <9d5ddd1f050929015348f4563d at mail dot gmail dot com> <20050929120400 dot GD15567 at ormandy dot berningeronline dot net> <9d5ddd1f05092905585b38da67 at mail dot gmail dot com> <9d5ddd1f05092907385a5f6b20 at mail dot gmail dot com> <9d5ddd1f0510030128q99f6f78ufd75e0b1c91cae8a at mail dot gmail dot com> ``` theslack Jack Neely 2005-10-03 11:05:07 PDT Look at the URL up2date is printing out. You are still trying tocontact Red Hat's RHN servers instead of your Current server. Edit/etc/sysconfig/rhn/up2date with the proper URL and it will work.Thanks,JackOn 10/3/05, Dan Track wrote:> Hi>> I'm just sending this in the hope that someone can help me. The software> looks great and I would love to get it running, can someone please help?>> Thanks> Dan>>> On 9/29/05, Dan Track wrote:> > Hi> >> > Thanks for the replies.> >> > I checked the timestamp's they seem to be normal and are as expected. At> the moment I haven't setup a client, I am only setting up the server.> >> > I changed the following line in /etc/sysconfig/rhn/up2date:> > sslCACert=/usr/share​/rhn/RHNS-CA-CERT> >> > to be :> > sslCACert=/etc/curre​nt/RHNS-CA-CERT> >> > then I ran the channel command and got the same reponse:> >> > cadmin create_channel --name "Red Hat 7.2" --label rhl7.2 --arch i386> --release 7.2 --description "Red Hat Linux version 7.2"> > CADMIN - Current Administration Text Interface> > Licensed under the GNU GPL version 2.0 or greater.> > https://xmlrpc.rhn.r​edhat.com/XMLRPC foo> > Traceback (most recent call last):> > File "/usr/sbin/cadmin", line 123, in ?> > main()> > File "/usr/sbin/cadmin", line 118, in main> > module.run (server, commandOpts)> > File "/usr/share/current/​admin/create_channel​.py", line 58, in run> > result = rpcServer.doCall(ser​ver.cadmin.createCha​nnel, chan)> > File "/usr/share/rhn/up2d​ate_client/rpcServer​.py", line> 309, in doCall> > ret = apply(method, args, kwargs)> > File "/usr/lib/python2.3/​xmlrpclib.py", line 1029, in> __call__> > return self.__send(self.__name, args)> > File "/usr/share/rhn/up2d​ate_client/rpcServer​.py", line> 45, in _request1> > ret = self._request(methodname, params)> > File "/usr/lib/python2.3/​site-packages/rhn/rp​clib.py",> line 308, in _request> > verbose=self._verbose> > File> "/usr/lib/python2.3/​site-packages/rhn/tr​ansports.py", line> 168, in request headers, fd = req.send_http(host, handler)> > File> "/usr/lib/python2.3/​site-packages/rhn/tr​ansports.py", line> 695, in send_http> > headers=self.headers)> > File "/usr/lib/python2.3/​httplib.py", line 718, in> request> > self._send_request(method, url, body, headers)> > File "/usr/lib/python2.3/​httplib.py", line 739, in> _send_request> > self.endheaders()> > File "/usr/lib/python2.3/​httplib.py", line 712, in> endheaders> > self._send_output()> > File "/usr/lib/python2.3/​httplib.py", line 597, in> _send_output> > self.send(msg)> > File "/usr/lib/python2.3/​httplib.py", line 576, in send> > self.sock.sendall (str)> > File "/usr/lib/python2.3/​site-packages/rhn/SS​L.py",> line 205, in write> > sent = self._connection.send(data)> > OpenSSL.SSL.Error: [('SSL routines', 'SSL3_GET_SERVER_CERTIFICATE',> 'certificate verify failed')]> >> > Any further ideas.> >> > Appreciate all the help I'm getting.> >> > Thanks> > Dan> >> >> >> >> > On 9/29/05, Jack Neely < jjneely at gmail dot com> wrote:> > > Okay, now you are pointing at your current server. Now you need to> update the CA cert referrenced by your up2date configuration file so that it> matches the certs used by your web server. See the online docs:> > >> > > http://current.tigri​s.org/current-guide/​> > >> > > Jack Neely> > >> > >> > >> > > On 9/29/05, Dan Track wrote:> > > > Hi> > > >> > > > Thanks for the reply.> > > >> > > > I tried what you said but received the same error. I even tried> changing the ssl url entry, but that gave the following error:> > > >> > > > File "/usr/lib/python2.3/​site-packages/rhn/SS​L.py",> line 205, in write> > > > sent = self._connection.send(data)> > > > OpenSSL.SSL.Error: [('SSL routines', 'SSL3_GET_SERVER_CERTIFICATE',> 'certificate verify failed')]> > > >> > > > Any ideas.> > > >> > > > Appreciate the help.> > > >> > > > Dan> > > >> > > >> > > >> > > > On 9/29/05, John Berninger wrote:> > > > > At a guess, your /etc/sysconfig/rhn/up2date config file is still> > > > > pointing at http[s]://xmlrpc.rhn​.redhat.com/XMLRPC> for the> > > > > [noSSL]serverURL. You need to change that, or Current won't work,> since> > > > > you're effectively trying to tell RHN to create a new channel named> > > > > \${foo}. Obviously, RHN is going to give you the finger when you> tell it> > > > > something like that...> > > > >> > > > > On Thu, 29 Sep 2005, Dan Track wrote:> > > > >> > > > > > Hi> > > > > >> > > > > > I noticed a few posts regarding this issue I've got with current,> but none> > > > > > seem to work for me.> > > > > >> > > > > > Basically I've tried installing and running both the 1.6.x and the> unstable> > > > > > 1.7.2 branch but none of them work.> > > > > >> > > > > > All of the branches fail on creating a channel, here's the last> few error> > > > > > lines:> > > > > >> > > > > > cadmin create_channel --name "Red Hat 7.2" --label rhl7.2 --arch> i386> > > > > > --release 7.2 --description "Red Hat Linux version 7.2"> > > > > >> > > > > > ......> > > > > > File "/usr/lib/python2.3/​xmlrpclib.py", line 742,> in close> > > > > > raise Fault(**self._stack[0])> > > > > > xmlrpclib.Fault: > > > > > caught\nserver.apac​heRequest.UnknownXML​ : Invalid> request received (class> > > > > > xmlrpc.cadmin is not defined (function = createChannel)).\n">> > > > > >> > > > > > Not sure where the problem is and its really frustrating. Can> anyone give a> > > > > > me an idea as to how to fix this?> > > > > >> > > > > >> > > > > > Here's what I did step by step each time:> > > > > >> > > > > > 1. Download current srpm> > > > > > 2. rpmbuild -ba current.spec> > > > > > 3. rpm -Uvh current-x.rpm> > > > > > 4. /etc/init.d/mysqld start> > > > > > 5. Enter mysql> > > > > > 6. create database up2date;> > > > > > 7. GRANT ALL PRIVILEGES on *.* to 'current'@'localhost' ;> > > > > > 8. exit mysql> > > > > > 9. vi /etc/current/current.conf> > > > > > My current.conf file:> > > > > > [current]> > > > > > log_file = /var/log/current.log> > > > > > log_level = 1> > > > > > apache_config_file => /etc/httpd/conf.d/cu​rrent.httpd.conf> > > > > > access_type = user> > > > > > access_arg = apache> > > > > > current_dir = /opt/current> > > > > >> > > > > > # Location of TAL templates> > > > > > # template_dir = /usr/share/current/templates> > > > > >> > > > > > # The 'db' is which backend we're using> > > > > > db_type=mysql> > > > > > # db_type = postgres> > > > > > # db_user and db_pass should be obvious> > > > > > db_user = current> > > > > > db_pass => > > > > > # db_name is the name of the database - what oracle calls a 'SID'> > > > > > db_name = up2date> > > > > > db_host = localhost> > > > > >> > > > > > # These are some text messages that the server can return to the> clients> > > > > > # in various API calls.> > > > > > ## The period is there to provide a "blank line". Sheesh.> > > > > > welcome_message = "Welcome to current, an open source server for> up2date."> > > > > > privacy_statement = "Privacy Statement:> > > > > > This is site specific, and you should change this message to match> > > > > > your actual site."> > > > > >> > > > > > server_id = > > > > > > server_secret = > > > > > > ## END OF LINE ##> > > > > >> > > > > > 10. cinstall create_apache_config> > > > > > 11. cinstall create_certificate> > > > > > 12. cp /etc/current/server.key> /etc/httpd/conf/ssl.​key/server.key> > > > > > 13. cp /etc/current/server.crt> /etc/httpd/conf/ssl.​crt/server.crt> > > > > > 14. cinstall initdb> > > > > > 15. /etc/init.d/httpd start> > > > > > 16. cadmin create_channel --name "Red Hat 7.2" --label rhl7.2> --arch i386> > > > > > --release 7.2 --description "Red Hat Linux version 7.2"> > > > > > Then the error:> > > > > > CADMIN - Current Administration Text Interface> > > > > > Licensed under the GNU GPL version 2.0 or greater.> > > > > > Traceback (most recent call last):> > > > > > File "/usr/sbin/cadmin", line 123, in ?> > > > > > main()> > > > > > File "/usr/sbin/cadmin", line 118, in main> > > > > > module.run(server, commandOpts)> > > > > > File> "/usr/share/current/​admin/create_channel​.py", line 58, in> run> > > > > > result = rpcServer.doCall(ser​ver.cadmin.createCha​nnel, chan)> > > > > > File> "/usr/share/rhn/up2d​ate_client/rpcServer​.py", line 309, in> doCall> > > > > > ret = apply(method, args, kwargs)> > > > > > File "/usr/lib/python2.3/​xmlrpclib.py", line> 1029, in __call__> > > > > > return self.__send(self.__name, args)> > > > > > File> "/usr/share/rhn/up2d​ate_client/rpcServer​.py", line 45, in> _request1> > > > > > ret = self._request(methodname, params)> > > > > > File> "/usr/lib/python2.3/​site-packages/rhn/rp​clib.py", line 308,> in _request> > > > > > verbose=self._verbose> > > > > > File> "/usr/lib/python2.3/​site-packages/rhn/tr​ansports.py", line> 184, in> > > > > > request return self._process_response(fd, connection)> > > > > > File> "/usr/lib/python2.3/​site-packages/rhn/tr​ansports.py", line> 212, in> > > > > > _process_response> > > > > > return self.parse_response(fd)> > > > > > File> "/usr/lib/python2.3/​site-packages/rhn/tr​ansports.py", line> 236, in> > > > > > parse_response> > > > > > return u.close()> > > > > > File "/usr/lib/python2.3/​xmlrpclib.py", line 742,> in close> > > > > > raise Fault(**self._stack[0])> > > > > > xmlrpclib.Fault: > > > > > caught\nserver.apac​heRequest.UnknownXML​ : Invalid> request received (class> > > > > > xmlrpc.cadmin is not defined (function = createChannel)).\n">> > > > > >> > > > > > Anyone have any ideas about this?> > > > > >> > > > > > Appreciate any help.> > > > > >> > > > > > Dan> > > > >> > > > > --> > > > > John Berninger> > > > >> > > > > GPG Key ID: A8C1D45C> > > > > Fingerprint: B1BB 90CB 5314 3113 CF22 66AE 822D 42A8 A8C1> D45C> > > > >> > > > > Ita erat quando hic adveni.> > > > > --> > > > >> > > > >> --------------------​--------------------​--------------------​---------> > > > > To unsubscribe, e-mail:> users-unsubscribe@cu​rrent.tigris.org> > > > > For additional commands, e-mail: users-help at current dot tigris dot org> > > > >> > > > >> > > >> > > >> > >> > >> >> >>>

### Messages

Show all messages in topic

Current run problems Dan Track <dan dot track at gmail dot com> Dan Track <dan dot track at gmail dot com> 2005-09-29 01:53:03 PDT
Re: Current run problems jwbernin John Berninger 2005-09-29 05:04:00 PDT
Re: Current run problems Dan Track <dan dot track at gmail dot com> Dan Track <dan dot track at gmail dot com> 2005-09-29 05:58:32 PDT
Re: Current run problems jwbernin John Berninger 2005-09-29 06:39:19 PDT
Re: Current run problems theslack Jack Neely 2005-09-29 06:41:16 PDT
Re: Current run problems Dan Track <dan dot track at gmail dot com> Dan Track <dan dot track at gmail dot com> 2005-09-29 07:38:47 PDT
Re: Current run problems Dan Track <dan dot track at gmail dot com> Dan Track <dan dot track at gmail dot com> 2005-10-03 01:28:17 PDT
Re: Current run problems theslack Jack Neely 2005-10-03 11:05:07 PDT
RE: Re: Current run problems LINDER Thierry <Thierry dot Linder at uditis dot ch> LINDER Thierry <Thierry dot Linder at uditis dot ch> 2005-10-03 23:11:31 PDT
 Messages per page: 25 50 100