My Oracle Support Banner

[OCI]:Migration On-premise DB To OCI Using Backup - create_backup_from_onprem error "IOError: [Errno 10] No child processes" (Doc ID 2527450.1)

Last updated on FEBRUARY 05, 2020

Applies to:

Oracle Cloud Infrastructure - Database Service - Version N/A to N/A [Release 1.0]
Information in this document applies to any platform.


Migrating on-premises database to OCI using backup.


Python script "create_backup_from_onprem" failing with below errors


Connecting to Oracle database

Oracle version is:

Checking the archive log mode of the database

Checking if the database is open

Getting database name and database unique name

Database Id:4241559842 Name:PDBRDS UniqueName:PDBRDS

Fetching character set

Character Set:AL32UTF8

Fetching national character set

National Character Set:AL16UTF16

Fetching rac mode

Rac mode:FALSE

Traceback (most recent call last):

File "./create_backup_from_onprem", line 10, in <module>


File "/home/oracle/migrate/lib/oracle-cli/lib/python2.7/site-packages/click/", line 722, in __call__

return self.main(*args, **kwargs)

File "/home/oracle/migrate/lib/oracle-cli/lib/python2.7/site-packages/click/", line 697, in main

rv = self.invoke(ctx)

File "/home/oracle/migrate/lib/oracle-cli/lib/python2.7/site-packages/click/", line 895, in invoke

return ctx.invoke(self.callback, **ctx.params)

File "/home/oracle/migrate/lib/oracle-cli/lib/python2.7/site-packages/click/", line 535, in invoke

return callback(*args, **kwargs)

File "/home/oracle/migrate/lib/oracle-cli/lib/python2.7/site-packages/click/", line 17, in new_func

return f(get_current_context(), *args, **kwargs)

File "/home/oracle/migrate/lib/oracle-cli/lib/python2.7/site-packages/oci_cli/scripts/database/", line 279, in create_backup_from_onprem

client = cli_util.build_client('database', ctx)

File "/home/oracle/migrate/lib/oracle-cli/lib/python2.7/site-packages/oci_cli/", line 298, in build_client

client = client_class(client_config, **kwargs)

File "/home/oracle/migrate/lib/oracle-cli/lib/python2.7/site-packages/oci/database/", line 80, in __init__

self.base_client = BaseClient("database", config, signer, database_type_mapping, **base_client_init_kwargs)

File "/home/oracle/migrate/lib/oracle-cli/lib/python2.7/site-packages/oci/", line 123, in __init__

self.user_agent = build_user_agent(get_config_value_or_default(config, "additional_user_agent"))

File "/home/oracle/migrate/lib/oracle-cli/lib/python2.7/site-packages/oci/", line 49, in build_user_agent


File "/usr/lib64/python2.7/", line 1347, in machine

return uname()[4]

File "/usr/lib64/python2.7/", line 1277, in uname

processor = _syscmd_uname('-p','')

File "/usr/lib64/python2.7/", line 1012, in _syscmd_uname

rc = f.close()

IOError: [Errno 10] No child processes <<<<<<<<<=========





To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.