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.

Symptoms

Migrating on-premises database to OCI using backup.

Reference https://docs.cloud.oracle.com/iaas/Content/Database/Tasks/mig-onprembackup.htm

Python script "create_backup_from_onprem" failing with below errors

~~~~~~

Connecting to Oracle database

Oracle version is:12.2.0.1.0

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>

sys.exit(create_backup_from_onprem())

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

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

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

rv = self.invoke(ctx)

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

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

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

return callback(*args, **kwargs)

File "/home/oracle/migrate/lib/oracle-cli/lib/python2.7/site-packages/click/decorators.py", 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/dbaas.py", 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/cli_util.py", 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/database_client.py", 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/base_client.py", 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/base_client.py", line 49, in build_user_agent

platform.machine(),

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

return uname()[4]

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

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

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

rc = f.close()

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

~~~~

Changes

 

Cause

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
Symptoms
Changes
Cause
Solution
References


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