cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
87
Views
0
Helpful
1
Replies

Strange problems UCM to sftp server interaction

John Dow
Level 1
Level 1

Hey All!

I have a problem that I can't solve. I use Ubuntu 24.04.1, like many others, as sftp server for upgrade and backup. CUCM + IM + UCCX backup completes successfully. Run utils system upgrade initiate with the selection of sftp as the Remote source is completed immediately like this (user and password 100% correct and long = 6):

utils system upgrade initiate

1) Remote Filesystem via SFTP
2) Remote Filesystem via FTP
3) Local DVD/CD
4) Local Image <None>
q) quit

Please select an option (1 - 4 or "q" 1
Directory [/srv/sftp/]:
Server [10.12.19.40]:
User Name [sftp]:
Password [******]: ******
Please enter SMTP Host Server (optional):
Continue with upgrade after download (yes/no) [yes]:
Switch-version server after upgrade [valid only for ISO] (yes/no) [no]:

Checking for valid upgrades. Please wait...

The user name or password is not valid.

It is RTMT Install/Upgrade log:

2/04/2025 15:57:37 file_list.sh|Starting file_list.sh|<LVL::Info>
02/04/2025 15:57:37 file_list.sh|Parse argument method=remote_sftp|<LVL::Debug>
02/04/2025 15:57:37 file_list.sh|Parse argument source_dir=/srv/sftp/|<LVL::Debug>
02/04/2025 15:57:37 file_list.sh|Parse argument dest_file=/var/log/install/downloaded_versions|<LVL::Debug>
02/04/2025 15:57:37 file_list.sh|Parse argument remote_host=10.12.19.40|<LVL::Debug>
02/04/2025 15:57:37 file_list.sh|Parse argument user_name=sftp|<LVL::Debug>
02/04/2025 15:57:37 file_list.sh|Destination directory where the file is being written to : /var/log/install/ is allowed|<LVL::Debug>
02/04/2025 15:57:37 file_list.sh|is_upgrade_lock_available: Upgrade lock is available.|<LVL::Debug>
02/04/2025 15:57:37 file_list.sh|status in upgrade status.xml upgrade.stage.determining.files|<LVL::Debug>
02/04/2025 15:57:37 file_list.sh|acquire_upgrade_lock: Lock is free, creating lock (pid: 26135)|<LVL::Debug>
02/04/2025 15:57:37 file_list.sh|clear_upgrade_status: Status file removed|<LVL::Debug>
02/04/2025 15:57:38 file_list.sh|Parse argument fromVersion=12.5.1.15900-66|<LVL::Debug>
02/04/2025 15:57:38 file_list.sh|_set_upgrade_status_attribute: fromVersion set to 12.5.1.15900-66|<LVL::Debug>
02/04/2025 15:57:38 file_list.sh|Parse argument status=upgrade.stage.determining.files|<LVL::Debug>
02/04/2025 15:57:38 file_list.sh|_set_upgrade_status_attribute: status set to upgrade.stage.determining.files|<LVL::Debug>
02/04/2025 15:57:38 file_list.sh|Process remote SFTP request|<LVL::Info>
02/04/2025 15:57:38 file_list.sh|Calling SFTP command with metering off|<LVL::Debug>
02/04/2025 15:57:38 file_list.sh|SFTP command complete (15)|<LVL::Debug>
02/04/2025 15:57:38 file_list.sh|File:/usr/local/bin/base_scripts/file_list.sh:488, Function: sftp_get_list(), User name "sftp" or password are incorrect|<LVL::Error>
02/04/2025 15:57:38 file_list.sh|file_list.sh complete (rc=15)|<LVL::Info>
02/04/2025 15:57:38 file_list.sh|is_upgrade_lock_available: Upgrade lock is not available.|<LVL::Debug>
02/04/2025 15:57:38 file_list.sh|is_upgrade_in_progress: Already locked by this process (pid: 26135).|<LVL::Debug>
02/04/2025 15:57:38 file_list.sh|release_upgrade_lock: Releasing lock (pid: 26135)|<LVL::Debug>

utils system upgrade dataexport initiate - similarly:
02/04/2025 15:26:43 data_export|The return value of dynamic data export is 0|<LVL::Info>
02/04/2025 15:26:43 data_export|Tar the file......|<LVL::Info>
02/04/2025 15:27:12 data_export|Successfully tar the exoprted data|<LVL::Info>
02/04/2025 15:27:12 data_export|Tar successful|<LVL::Info>
02/04/2025 15:27:12 data_export|Copying the export data to remote server|<LVL::Info>
02/04/2025 15:27:14 data_export|File:/opt/cisco/install/bin/data_export:1112, Function: process_export(), Failed to copy the export data to remote server.|<LVL::Error>
02/04/2025 15:27:14 data_export|File:/opt/cisco/install/bin/data_export:1114, Function: process_export(), Failed to copy the export data to remote server 10.12.19.40 under the directory /srv/sftp/cluster-10.12.19.24|<LVL::Error>
02/04/2025 15:27:14 data_export|File:/opt/cisco/install/bin/data_export:1115, Function: process_export(), Please check if the folder cluster-10.12.19.24 under /srv/sftp/ exists. This folder would be created during export of publisher.|<LVL::Error>
02/04/2025 15:27:14 data_export|Acquired LOCK file: /var/lock/update_data_state.lock for PID: 24504|<LVL::Info>
02/04/2025 15:27:14 data_export|Updated status file: SYSTEM_DATA_EXPORT_STATUS=TERMINATED ()|<LVL::Info>

Regarding CUCM, the sftp server is available:

utils network connectivity 10.12.19.40 22
Ncat: Version 7.50 ( https://nmap.org/ncat )
Ncat: Connected to 10.12.19.40:22.
Ncat: 0 bytes sent, 42 bytes received in 0.01 seconds.
Service accessible

This is on any node in the cluster, it doesn't even depend on the UCM version. I can only do updates from CD/DVD, it's not convenient.

What do you think about this?

1 Accepted Solution

Accepted Solutions

John Dow
Level 1
Level 1

Ubuntu 24.04.1 - does not work
Alpine 6.6.58 - does not work
NetBSD 6.1.2 - it works!

View solution in original post

1 Reply 1

John Dow
Level 1
Level 1

Ubuntu 24.04.1 - does not work
Alpine 6.6.58 - does not work
NetBSD 6.1.2 - it works!