Package upload fails

Package upload to SDS via web frontend fails. Top of the result page says "Upload command finished successfully." and all the RPM packages are marked OK. But at the bottom of the page, an error message occured: "ADUVA-error: 118162432 Content-type: text/html" and none of the packages is imported.

This is Sun Connection 1.1.1-314

Any ideas?

Best Regards,

Kai.

[392 byte] By [kai.hambrechta] at [2007-11-27 8:51:44]
# 1
The error code 118162432 would appear to translate to an XML parser error. Could you please check the RPM packages are valid?
ForumModeratora at 2007-7-12 21:05:36 > top of Java-index,Administration Tools,Sun Update Connection-Enterprise Forum...
# 2

These are the original RPMs from RHEL4 U4 cdrom's. These should be valid since i used these cdrom's to install the server. I think the error occurs in method "attach_rpm.sh", see excerpt from error.log:

25841:2007-06-26_11:12:12 DEBUG [ service_methods_mgr: ../src/ServiceMethodsMgr.cc: # 153 ] 84089344 download.cgi: About to run service method:

Base directory=../bin/methods/scripts .

Filename=../bin/methods/scripts/attach_rpm.sh .

Call type=bash .

Method type=attach .

Input filename= .

25841:2007-06-26_11:12:12 DEBUG [ jobs_keeper: ../src/Job_Item.cc: # 455 ] 0 CJob_Item attach ( 5 ) ready to run

25841:2007-06-26_11:12:12 DEBUG [ jobs_keeper: ../src/Job_Item.cc: # 390 ] 0 CJob_Item::execute - running job 5, file ../bin/methods/scripts/attach_rpm.sh

25841:2007-06-26_11:12:12 DEBUG [ jobs_keeper: ../src/Job_Item.cc: # 344 ] 0 CJob_Item::wait_to_end - Job 5 process ID was 25870

25841:2007-06-26_11:12:12 DEBUG [ jobs_keeper: ../src/Job_Item.cc: # 500 ] 0 CJob_Item attach ( 5 ) pid 25870 finished

25841:2007-06-26_11:12:12 INFO [ xml_wrapper: ../src/xml_wrapper.cc: # 27 ] 0 Dom.startDocument() /usr/local/uce/server/private/.result.xml.25841_8kQDpc

25841:2007-06-26_11:12:12 INFO [ xml_wrapper: ../src/xml_wrapper.cc: # 139 ] 0 Dom.endDocument() /usr/local/uce/server/private/.result.xml.25841_8kQDpc

25841:2007-06-26_11:12:12 INFO [ xml_wrapper: ../src/xml_wrapper.cc: # 27 ] 0 Dom.startDocument() /usr/local/uce/server/private/.upload_cmd.25841_X4FEBx

25841:2007-06-26_11:12:12 INFO [ xml_wrapper: ../src/xml_wrapper.cc: # 139 ] 0 Dom.endDocument() /usr/local/uce/server/private/.upload_cmd.25841_X4FEBx

25841:2007-06-26_11:12:12 INFO [ Server_i: ../src/Server_i.cc: # 629 ] 0 In CServer_i::exec before server_request_command(/cgi-bin/server.cgi)

25841:2007-06-26_11:12:12 ERROR [ default_logger: source_unavailable: #0 ] 151069440 INFO: Enabling SSL communication.

25841:2007-06-26_11:12:12 ERROR [ default_logger: source_unavailable: #0 ] 151069184 INFO: Setting Url to download: https://rhel4:80/cgi-bin/server.cgi

25841:2007-06-26_11:12:12 ERROR [ default_logger: source_unavailable: #0 ] 118100736 Info: Enabling Authentication mechanism (User=<>, Pass<**>).

25841:2007-06-26_11:12:12 INFO [ curl_api: ../src/CurlApi.cc: #1156 ] 0 Failed authentication with proxy server.

25841:2007-06-26_11:12:12 INFO [ Server_i: ../src/Server_i.cc: # 348 ] 268699648 HTTP server request: Cannot connect.

25841:2007-06-26_11:12:12 ERROR [ default_logger: source_unavailable: #0 ] 268699648 HTTP server request: Cannot connect.

25841:2007-06-26_11:12:12 INFO [ Server_i: ../src/Server_i.cc: # 653 ] 0 In CServer_i::exec() retrying to exec

25841:2007-06-26_11:12:12 ERROR [ default_logger: source_unavailable: #0 ] 151066368 INFO: Waiting 1 seconds before retrying to communicate with parent.

25841:2007-06-26_11:12:13 ERROR [ default_logger: source_unavailable: #0 ] 151068416 INFO: Maximum retries has reached (knowledgebase_reconnect_retries=1). Aborting communication.

25841:2007-06-26_11:12:13 INFO [ Server_i: ../src/Server_i.cc: # 688 ] 268699648 HTTP server request: Cannot connect.

25841:2007-06-26_11:12:13 INFO [ xml_wrapper: ../src/xml_wrapper.cc: # 27 ] 0 Dom.startDocument() /usr/local/uce/server/private/.cfm_upload_input.25841_2OEm6d

25841:2007-06-26_11:12:13 INFO [ xml_wrapper: ../src/xml_wrapper.cc: # 139 ] 0 Dom.endDocument() /usr/local/uce/server/private/.cfm_upload_input.25841_2OEm6d

25841:2007-06-26_11:12:13 INFO [ xml_wrapper: ../src/xml_wrapper.cc: # 27 ] 0 Dom.startDocument() /usr/local/uce/server/private/.cfm_upload_output.25841_ytJLlz

25841:2007-06-26_11:12:13 ERROR [ default_logger: source_unavailable: #0 ] 118163456 XML parser error: Retry after filtering special charecters.

25841:2007-06-26_11:12:13 ERROR [ default_logger: source_unavailable: #0 ] 118163968 XML parser error: No special characters to filter.

25841:2007-06-26_11:12:13 ERROR [ default_logger: source_unavailable: #0 ] 118162432 XML parser error: Failed to parse, check file format. Copying file to /tmp.

25841:2007-06-26_11:12:13 INFO [ BlobLoader: ../src/BlobLoader.cc: # 220 ] 0 Upload_files_run cmd failed, 118162432

25841:2007-06-26_11:12:13 INFO [ nco_creator: ../src/CAduvaResponse.cc: # 398 ] 0 ERROR! Cannot stat /usr/local/uce/server/private/.tmp_output_cmd.25841_z56XQS !

25841:2007-06-26_11:12:13 ERROR [ default_logger: source_unavailable: #0 ] 0 ERROR! Cannot stat /usr/local/uce/server/private/.tmp_output_cmd.25841_z56XQS !

2815:2007-06-26_11:31:18 SEVERE [ uce.server.scheduler: ../src/serverScheduler.cc: # 98 ] 0 server_scheduler got signal: 15.

This method tries to communicate with the server on Port 80 via SSL, but on Port 80 nothing listens. Is this a configuration issue? (btw. this is a clean SC1.1 installation)

Best Regards,

Kai.

kai.hambrechta at 2007-7-12 21:05:36 > top of Java-index,Administration Tools,Sun Update Connection-Enterprise Forum...
# 3
Can you check the configuration settings. Note that uce.rc is the defaults and should not be edited whilst any changes should be done in the dot file .uce.rc file.$ grep server_ /opt/SUNWuce/server/cgi-bin/uce.rc$ grep server_ /opt/SUNWuce/server/cgi-bin/.uce.rc
ForumModeratora at 2007-7-12 21:05:36 > top of Java-index,Administration Tools,Sun Update Connection-Enterprise Forum...
# 4

i checked this, see below:

[root@rhel4 ~]# grep server_ /usr/local/uce/server/cgi-bin/uce.rc

( all ) ( invisible.server_add_md5_sig, false );

( all ) ( invisible.directories.program.server_base_dir, "/usr/local/uce/server" );

( all ) ( invisible.directories.__files.server_data_file_lock_name, "Server_data_file_lock" );

( all ) ( log.__file.uce_server_cgi-level, "WARNING" { "SEVERE","ERROR","WARNING","INFO","DEBUG","FINE","DETAILED" } );

( all ) ( log.__file.uce_server_cgi_publisher-level, "WARNING" { "SEVERE","ERROR","WARNING","INFO","DEBUG","FINE","DETAILED" } );

( all ) ( invisible.server.__general.server_name, "knowledge.aduva.com" );

( all ) ( invisible.server.__general.server_port, 443 );

( all ) ( invisible.server.__general.server_proxy_port, 80 );

( all ) ( invisible.server.__general.server_password_file, "sun.auth" );

( all ) ( invisible.server.proxy.__general.proxy_server_name, "-" );

( all ) ( invisible.server.proxy.__general.proxy_server_port, 8080 );

( all ) ( invisible.server.__general.server_verify_peer, false );

( all ) ( invisible.__general.server_blobs_signature_extension, ".sig" );

( all ) ( invisible.__general.server_blobs_extension, ".blob" );

( all ) ( invisible.server.__general.server_utilities_dir, "utilities" );

( all ) ( invisible.directories.__files.server_cgi_file_name, "server.cgi" );

( all ) ( invisible.directories.__files.server_scheduler_log_file_name, "server_scheduler.log" );

( all ) ( log.__file.uce_server_scheduler-level, "WARNING" { "SEVERE","ERROR","WARNING","INFO","DEBUG","FINE","DETAILED" } );

( all ) ( invisible.server.__general.server_script_path, "/usr/local/uce/server/bin/" );

[root@rhel4 ~]# grep server_ /usr/local/uce/server/cgi-bin/.uce.rc

( all ) ( proxy_server_name , "proxy.think" );

( all ) ( proxy_server_port , 3128 );

( all ) ( server_name , "knowledge.aduva.com" );

( all ) ( server_port , 443 );

There is one line containing Port 80 but i don't know whether this is wrong?

Best Regards,

Kai.

kai.hambrechta at 2007-7-12 21:05:36 > top of Java-index,Administration Tools,Sun Update Connection-Enterprise Forum...
# 5
The settings all appear correct. I'd suggest raising a support case to investigate the problem further.
ForumModeratora at 2007-7-12 21:05:36 > top of Java-index,Administration Tools,Sun Update Connection-Enterprise Forum...