Login | Register
My pages Projects Community openCollabNet

Discussions > users > cadmin create_channel error

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

current
Discussion topic

Hide all messages in topic

All messages in topic

Re: cadmin create_channel error

Reply

Author jaredgreenwald
Full name Jared Greenwald
Date 2007-04-04 02:19:13 PDT
Message -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Are you sure you ran the other phases of cinstall? Sounds to me like
the apache configuration didn't take. Maybe you didn't restart httpd
before running commands. For future reference, you should probably not
start with create_channel as your first cadmin command. Try using the
status or search commands. Status goes through enough code that you
will know the rpc linkage is working. Search goes through enough code
that you will know that the db is working.

- -Jared

Dreier Gerd wrote:
> Hi,
>
>
>
> i have an problem with cadmin create_channel.
>
>
>
> I have installed current-1.6.1-1.2.el​4.rf.noarch.rpm with Postgresql 8.2.3
>
>
>
> Any ideas?
>
>
>
> [root@W110023 /]# cadmin create_channel -r 4 -a "i386" -l "RedHat EL 4"
> -n "RHEL4"
>
> Traceback (most recent call last):
>
> File "/usr/sbin/cadmin", line 131, in ?
>
> main()
>
> File "/usr/sbin/cadmin", line 114, in main
>
> create_channel(sys.argv[2:])
>
> File "/usr/sbin/cadmin", line 80, in create_channel
>
> result = rpcServer.doCall(ser​ver.cadmin.createCha​nnel, chan)
>
> File "/usr/share/rhn/up2d​ate_client/rpcServer​.py", line 236, 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 46, in _request1
>
> ret = self._request(methodname, params)
>
> File "/usr/lib/python2.3/​site-packages/rhn/rp​clib.py", line 319, in
> _request
>
> request, verbose=self._verbose)
>
> File "/usr/lib/python2.3/​site-packages/rhn/tr​ansports.py", line 185,
> in request
>
> return self._process_response(fd, connection)
>
> File "/usr/lib/python2.3/​site-packages/rhn/tr​ansports.py", line 213,
> in _process_response
>
> return self.parse_response(fd)
>
> File "/usr/lib/python2.3/​site-packages/rhn/tr​ansports.py", line 237,
> in parse_response
>
> return u.close()
>
> File "/usr/lib/python2.3/​xmlrpclib.py", line 742, in close
>
> raise Fault(**self._stack[0])
>
> xmlrpclib.Fault: <Fault -1: "While running 'cadmin.createChannel':
> caught\nserver.apac​heRequest.UnknownXML​ : Invalid request received
> (class xmlrpc.cadmin is not defined (function = createChannel)).\n">
>
>
>
> Regards
>
> Gerd
>
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGE22Ru4z7Xptg​TUYRAix6AJ9hzvv00rsQ​cUIZnXEqz0g65vxLOACg​qiEA
VfOzhd4yiR/eFzq4NDiH6xM=
=RERe
-----END PGP SIGNATURE-----

cadmin create_channel error

Reply

Author Dreier Gerd <Gerd dot Dreier at allianz-services dot de>
Full name Dreier Gerd <Gerd dot Dreier at allianz-services dot de>
Date 2007-04-04 01:16:18 PDT
Message Hi,

 

i have an problem with cadmin create_channel.

 

I have installed current-1.6.1-1.2.el​4.rf.noarch.rpm with Postgresql
8.2.3

 

Any ideas?

 

[root@W110023 /]# cadmin create_channel -r 4 -a "i386" -l "RedHat EL 4"
-n "RHEL4"

Traceback (most recent call last):

  File "/usr/sbin/cadmin", line 131, in ?

    main()

  File "/usr/sbin/cadmin", line 114, in main

    create_channel(sys.argv[2:])

  File "/usr/sbin/cadmin", line 80, in create_channel

    result = rpcServer.doCall(ser​ver.cadmin.createCha​nnel, chan)

  File "/usr/share/rhn/up2d​ate_client/rpcServer​.py", line 236, 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 46, in
_request1

    ret = self._request(methodname, params)

  File "/usr/lib/python2.3/​site-packages/rhn/rp​clib.py", line 319, in
_request

    request, verbose=self._verbose)

  File "/usr/lib/python2.3/​site-packages/rhn/tr​ansports.py", line 185,
in request

    return self._process_response(fd, connection)

  File "/usr/lib/python2.3/​site-packages/rhn/tr​ansports.py", line 213,
in _process_response

    return self.parse_response(fd)

  File "/usr/lib/python2.3/​site-packages/rhn/tr​ansports.py", line 237,
in parse_response

    return u.close()

  File "/usr/lib/python2.3/​xmlrpclib.py", line 742, in close

    raise Fault(**self._stack[0])

xmlrpclib.Fault: <Fault -1: "While running 'cadmin.createChannel':
caught\nserver.apac​heRequest.UnknownXML​ : Invalid request received
(class xmlrpc.cadmin is not defined (function = createChannel)).\n">

 

 Regards

Gerd
Attachments
Messages per page: