Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Synchronize and migrating between 2 different databases

YockeeMar 25 2022

Hi,
I got a request that might end up into big problem. There are 2 questions here.
I am in the beginning of migrating 2 different databases (normal DB, not spatial), from oracle 11g to Postgres 12.5
What factors are to be considered before the project begin ? Any thoughts are welcome

The Oracle 11g is the old system that want to be migrated to PG 12.5. Many apps depend on it and it has also some PL/SQL, but not that many.
To complicate things, it turns out that there are also some apps developed under the new PG database. The data in PG, somehow, also need to be replicated back to Oracle. Seems that there are some features of apps under Oracle that are not yet developed / supported in PG. Now the 2 dbs are in danger of out-of-synch.
Is there such a tool to do two way replications ( I assume its not a full replication, but more like table to table replication) ? I have never heard such a thing nor I have done some research on it.

thanks

This post has been answered by kpatenge-Oracle on Mar 28 2022
Jump to Answer

Comments

Dude!
Wireless is usually not a requirement for an Enterprise system. The Elrepo project provides a lot of additional hardware drivers and related software for RHEL based systems, check http://elrepo.org/tiki/tiki-index.php.

Perhaps the following will work for you:

# yum install http://elrepo.org/elrepo-release-6-4.el6.elrepo.noarch.rpm
# yum install http://elrepo.org/linux/elrepo/el6/x86_64/RPMS/compat-wireless-firmware-3.5-1.el6.elrepo.noarch.rpm
Yassin Othman
Sorry, It doesn't wok.
But as I posted erliear it work fine on the other kernel, so is there any workarround solution to share or copy ath wirless driver to UEK2 kernel?

Regards,
Dude!
The wireless driver module is /lib/modules/2.6.32-279.9.1.el6.x86_64/weak-updates/compat-wireless/ath.ko. Drivers are usually build for a specific kernel version and cannot be copied or shared. I think ath9k, etc. includes the ath driver. You can check your output of the "lspci -v" command to see what driver is being used for your adapter.

With the elrepo yum repository configuration in place, I suggest to try the following:

# yum install kmod-compat-wireless

If it still does not work, you can uninstall it all using:

yum remove kmod-compat-wireless compat-wireless-firmware

and check the vendor support page to see if they provide a driver download.
Yassin Othman
I doesn't work too.

I had installed compact wireless module(compat-wireless-2012-01-12) on prior uek kernel, it was woking well, but, once I have tried it on new kernel uek2 it raises with the following error:
[root@localhost compat-wireless-2012-01-12]# ./scripts/driver-select atheros
Processing new driver-select request...
Backing up makefile: Makefile.bk
Backing up makefile: drivers/net/wireless/Makefile.bk
Backup exists: Makefile.bk
Backup exists: Makefile.bk
Backup exists: Makefile.bk
Backup exists: Makefile.bk
Backing up makefile: net/wireless/Makefile.bk
Backing up makefile: drivers/ssb/Makefile.bk
Backing up makefile: drivers/bcma/Makefile.bk
Backing up makefile: drivers/misc/eeprom/Makefile.bk
Backup exists: Makefile.bk
[root@localhost compat-wireless-2012-01-12]# make
make -C /lib/modules/2.6.39-200.33.1.el6uek.x86_64/build M=/root/Downloads/compat-wireless-2012-01-12 modules
make[1]: Entering directory `/usr/src/kernels/2.6.39-200.33.1.el6uek.x86_64'
LD /root/Downloads/compat-wireless-2012-01-12/compat/built-in.o
CC [M] /root/Downloads/compat-wireless-2012-01-12/compat/main.o
In file included from /root/Downloads/compat-wireless-2012-01-12/include/linux/compat-2.6.h:37,
from <command-line>:0:
/root/Downloads/compat-wireless-2012-01-12/include/linux/compat-3.2.h:19: error: redefinition of ‘skb_frag_page’
include/linux/skbuff.h:1659: note: previous definition of ‘skb_frag_page’ was here
/root/Downloads/compat-wireless-2012-01-12/include/linux/compat-3.2.h:35: error: redefinition of ‘skb_frag_dma_map’
include/linux/skbuff.h:1776: note: previous definition of ‘skb_frag_dma_map’ was here
In file included from /root/Downloads/compat-wireless-2012-01-12/include/linux/compat-2.6.h:38,
from <command-line>:0:
/root/Downloads/compat-wireless-2012-01-12/include/linux/compat-3.3.h:34: error: redefinition of typedef ‘netdev_features_t’
include/linux/netdevice.h:985: note: previous declaration of ‘netdev_features_t’ was here
make[3]: *** [root/Downloads/compat-wireless-2012-01-12/compat/main.o] Error 1
make[2]: *** [root/Downloads/compat-wireless-2012-01-12/compat] Error 2
make[1]: *** [_module_/root/Downloads/compat-wireless-2012-01-12] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.39-200.33.1.el6uek.x86_64'
make: *** [modules] Error 2

Regards,

Edited by: Yassin Othman on Oct 21, 2012 10:48 AM
Dude!
The problem is not with Oracle Linux or UEK 2 kernel. Your hardware is not supported or the vendor software provided does not support Oracle Linux. What is the exact wireless adapter you are using. What are you trying to install? Why bother and not use Virtualbox? Install Windows or Ubuntu or whatever supports your system and run Oracle Linux in Virtualbox. Your wireless connection on the host system will be mapped to a standard ethernet device on the guest Linux OS.
Yassin Othman
07:00.0 Ethernet controller: Atheros Communications Inc. AR242x / AR542x Wireless Network Adapter (PCI-Express) (rev 01)
Subsystem: Hewlett-Packard Company AR5BXB63 (Foxconn) 802.11bg Mini PCIe NIC
Flags: bus master, fast devsel, latency 0, IRQ 10
Memory at c2000000 (64-bit, non-prefetchable) [size=64K]
Capabilities: [40] Power Management version 2
Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit-
Capabilities: [60] Express Legacy Endpoint, MSI 00
Capabilities: [90] MSI-X: Enable- Count=1 Masked-
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Virtual Channel <?>
Dude!
The kernel driver you need for this type of card is "ath5k" or http://madwifi-project.org/
Yassin Othman
I have tried to use madwifi, but, I get this error:

[root@localhost madwifi-0.9.4]# make
./kernelversion.c:13:30: error: linux/utsrelease.h: No such file or directory
Checking requirements... ok.
Checking kernel configuration... /bin/sh: -c: line 0: syntax error near unexpected token `|'
/bin/sh: -c: line 0: `echo char *uts_release = UTS_RELEASE; | grep -q -i '^[2-9]\.[4-9]\.' || { \'
make: *** [configcheck] Error 1
Dude!
Answer
Perhaps you have downloaded the wrong source code. The web site outlines a special snapshot for kernels later than 2.6.25. The following works here on a default installation of Oracle Linux 6.3 x86_64 without any problem:

<pre>
# wget http://snapshots.madwifi-project.org/madwifi-0.9.4-current.tar.gz
# tar zxf madwifi-0.9.4-current.tar.gz
# cd madwifi-0.9.4-r4180-20120803
# make
Checking requirements... ok.
Checking kernel configuration... ok.
...
# make install

# ls /lib/modules/2.6.39-200.29.2.el6uek.x86_64/net
ath_hal.ko ath_rate_amrr.ko ath_rate_onoe.ko wlan_acl.ko wlan.ko wlan_scan_sta.ko wlan_wep.ko
ath_pci.ko ath_rate_minstrel.ko ath_rate_sample.ko wlan_ccmp.ko wlan_scan_ap.ko wlan_tkip.ko wlan_xauth.ko
</pre>
Marked as Answer by Yassin Othman · Sep 27 2020
Yassin Othman
this snapshot madwifi-0.9.4-current.tar.gz is not more available but am trying with http://snapshots.madwifi-project.org/madwifi-dfs-current.tar.gz snapshot which installed and now working properly.

Thank you so much for your valued support.

Yassin
Dude!
this snapshot madwifi-0.9.4-current.tar.gz is not more available
They must have been reading this post :-)
1 - 11

Post Details

Added on Mar 25 2022
3 comments
895 views