Hello, thank you, this fix has solved the problem. Mit freundlichen Grüßen - Kind regards Philipp Hoferichter
-----Ursprüngliche Nachricht----- Von: [email protected] [mailto:[email protected]] Im Auftrag von Joshua Roys Gesendet: Donnerstag, 3. September 2009 15:02 An: [email protected] Betreff: Re: [Spacewalk-list] Internal Server Error (500) with rhncfg-managerwhen adding new files On 09/03/2009 08:48 AM, Philipp Hoferichter wrote: > Hello all, > > i can´t upload files (CLI) with rhn server 0.6, following client error > message indicated: > Could not upload new files to configuration channel with CLI "rhncfg-manager". > Error Message: XML-RPC call error:<ProtocolError for<server> > /CONFIG-MANAGEMENT-TOOL: 500 Internal Server Error> > > On the server I get the following error message (http error log): > 1000010021) > Exception reported from mtagrhn1.matrix.int > Time: Wed Sep 2 08:53:46 2009 > Exception type server.rhnSQL.sql_base.SQLError > Exception while handling function config.management.put_file > Request object information: > URI: /CONFIG-MANAGEMENT-TOOL > Remote Host: rhnupdate.matrix.int > Server Name: mtagrhn1.matrix.int:443 > Headers passed in: > Accept-Encoding: identity > Content-Length: 374 > Host: mtagrhn1.matrix.int:443 > content-encoding: x-gzip > content-transfer-encoding: binary > content-type: application/binary > user-agent: rhn.rpclib.py/$Revision$ > x-client-version: 1 > x-info: RPC Processor (C) Red Hat, Inc (version $Revision$) > x-rhn-client-capability: > rhncfg.dirs_enabled(1)=1,configfiles.base64_enc(1)=1 > x-rhn-transport-capability: follow-redirects=3 > x-transport-info: Extended Capabilities Transport (C) Red Hat, Inc > (version $Revision$) > Extra information about this error: > SQL Error generated: (6553, "ORA-06553: PLS-306: wrong number or types of > arguments in call to 'LOOKUP_CONFIG_INFO'\n", 'select > lookup_config_info(:username, :groupname, :file_mode) id from dual') > > Exception Handler Information > Traceback (most recent call last): > File "/usr/share/rhn/server/apacheRequest.py", line 120, in call_function > response = apply(func, params) > File "/usr/share/rhn/server/handlers/config_mgmt/rhn_config_management.py", > line 415, in management_put_file > result = self.push_file(conf_channel_id, dict) > File "/usr/share/rhn/server/configFilesHandler.py", line 192, in push_file > result = self._push_file(config_channel_id, file) > File "/usr/share/rhn/server/configFilesHandler.py", line 176, in _push_file > self._push_config_file(file) > File "/usr/share/rhn/server/configFilesHandler.py", line 338, in > _push_config_file > apply(h.execute, (), file) > File "/usr/share/rhn/server/rhnSQL/sql_base.py", line 168, in execute > return apply(self._execute_wrapper, (self._execute, ) + p, kw) > File "/usr/share/rhn/server/rhnSQL/driver_cx_Oracle.py", line 119, in > _execute_wrapper > raise apply(sql_base.SQLError, ret) > SQLError: (6553, "ORA-06553: PLS-306: wrong number or types of arguments in > call to 'LOOKUP_CONFIG_INFO'\n", 'select lookup_config_info(:username, > :groupname, :file_mode) id from dual') > > Any one else with the same problem or any fixes available? > > Kind regards > > Philipp Hoferichter > > _______________________________________________ > Spacewalk-list mailing list > [email protected] > https://www.redhat.com/mailman/listinfo/spacewalk-list Hello, A fix was recently put in place, and now we just have to wait for the packages to be built/signed/etc. The specific commit is here: http://git.fedorahosted.org/git/spacewalk.git/?p=spacewalk.git;a=commitdiff;h=82c993afb4324e5702e69ba0cec35692c79c98ad If you can't wait, edit this file: /usr/share/rhn/server/configFilesHandler.py and apply the first two hunks of the patch at line ~161 and ~324. Thanks, Joshua Roys _______________________________________________ Spacewalk-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-list _______________________________________________ Spacewalk-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-list
