Blog

How to Install CUPS and add printers from CUPS interface

[applmgr@AM501AMERAP0001 ~]$ rpm -qa|grep hplip
hplip-common-3.15.9-5.el7.x86_64
hplip-libs-3.15.9-5.el7.x86_64
[applmgr@AM501AMERAP0001 ~]$ exit
logout
[sac-hemsat@ad.global@AM501AMERAP0001 ~]$
[sac-hemsat@ad.global@AM501AMERAP0001 ~]$ sudo su – root
Last login: Tue May 24 21:09:09 GMT 2022 on pts/2
[root@AM501AMERAP0001 ~]# yum list|grep hplip
Repository ol7_latest is listed more than once in the configuration
Repository ol7_u0_base is listed more than once in the configuration
Repository ol7_u1_base is listed more than once in the configuration
Repository ol7_u2_base is listed more than once in the configuration
Repository ol7_u3_base is listed more than once in the configuration
Repository ol7_u4_base is listed more than once in the configuration
Repository ol7_u5_base is listed more than once in the configuration
Repository ol7_u6_base is listed more than once in the configuration
Repository ol7_u7_base is listed more than once in the configuration
Repository ol7_security_validation is listed more than once in the configuration
Repository ol7_optional_latest is listed more than once in the configuration
Repository ol7_addons is listed more than once in the configuration
Repository ol7_MySQL80 is listed more than once in the configuration
Repository ol7_MySQL57 is listed more than once in the configuration
Repository ol7_MySQL56 is listed more than once in the configuration
Repository ol7_MySQL55 is listed more than once in the configuration
Repository ol7_software_collections is listed more than once in the configuration
Repository ol7_MODRHCK is listed more than once in the configuration
Repository ol7_developer is listed more than once in the configuration
Repository ol7_developer_EPEL is listed more than once in the configuration
Repository ol7_developer_UEKR5 is listed more than once in the configuration
Repository ol7_developer_kvm_utils is listed more than once in the configuration
Repository ol7_latest_archive is listed more than once in the configuration
Repository ol7_optional_archive is listed more than once in the configuration
Repository ol7_UEKR5 is listed more than once in the configuration
Repository ol7_UEKR4 is listed more than once in the configuration
Repository ol7_UEKR3 is listed more than once in the configuration
Repository ol7_UEKR3_OFED20 is listed more than once in the configuration
Repository ol7_UEKR5_RDMA is listed more than once in the configuration
Repository ol7_UEKR4_OFED is listed more than once in the configuration
Repository ol7_UEKR4_archive is listed more than once in the configuration
Repository ol7_UEKR5_archive is listed more than once in the configuration
Repository ol7_kvm_utils is listed more than once in the configuration
hplip-common.x86_64 3.15.9-5.el7 @ol7_latest
hplip-libs.x86_64 3.15.9-5.el7 @ol7_latest
hplip.x86_64 3.15.9-5.el7 ol7_latest
hplip-common.i686 3.15.9-5.el7 ol7_latest
hplip-gui.x86_64 3.15.9-5.el7 ol7_latest
hplip-libs.i686 3.15.9-5.el7 ol7_latest
[root@AM501AMERAP0001 ~]# yum install hplip
Loaded plugins: langpacks, ulninfo
Repository ol7_latest is listed more than once in the configuration
Repository ol7_u0_base is listed more than once in the configuration
Repository ol7_u1_base is listed more than once in the configuration
Repository ol7_u2_base is listed more than once in the configuration
Repository ol7_u3_base is listed more than once in the configuration
Repository ol7_u4_base is listed more than once in the configuration
Repository ol7_u5_base is listed more than once in the configuration
Repository ol7_u6_base is listed more than once in the configuration
Repository ol7_u7_base is listed more than once in the configuration
Repository ol7_security_validation is listed more than once in the configuration
Repository ol7_optional_latest is listed more than once in the configuration
Repository ol7_addons is listed more than once in the configuration
Repository ol7_MySQL80 is listed more than once in the configuration
Repository ol7_MySQL57 is listed more than once in the configuration
Repository ol7_MySQL56 is listed more than once in the configuration
Repository ol7_MySQL55 is listed more than once in the configuration
Repository ol7_software_collections is listed more than once in the configuration
Repository ol7_MODRHCK is listed more than once in the configuration
Repository ol7_developer is listed more than once in the configuration
Repository ol7_developer_EPEL is listed more than once in the configuration
Repository ol7_developer_UEKR5 is listed more than once in the configuration
Repository ol7_developer_kvm_utils is listed more than once in the configuration
Repository ol7_latest_archive is listed more than once in the configuration
Repository ol7_optional_archive is listed more than once in the configuration
Repository ol7_UEKR5 is listed more than once in the configuration
Repository ol7_UEKR4 is listed more than once in the configuration
Repository ol7_UEKR3 is listed more than once in the configuration
Repository ol7_UEKR3_OFED20 is listed more than once in the configuration
Repository ol7_UEKR5_RDMA is listed more than once in the configuration
Repository ol7_UEKR4_OFED is listed more than once in the configuration
Repository ol7_UEKR4_archive is listed more than once in the configuration
Repository ol7_UEKR5_archive is listed more than once in the configuration
Repository ol7_kvm_utils is listed more than once in the configuration
ol7_MySQL80 | 3.0 kB 00:00:00
ol7_MySQL80_connectors_community | 2.9 kB 00:00:00
ol7_MySQL80_tools_community | 2.9 kB 00:00:00
ol7_UEKR5 | 3.0 kB 00:00:00
ol7_UEKR6 | 3.0 kB 00:00:00
ol7_addons | 3.0 kB 00:00:00
ol7_ksplice | 3.0 kB 00:00:00
ol7_latest | 3.6 kB 00:00:00
ol7_oci_included | 2.9 kB 00:00:00
ol7_optional_latest | 3.0 kB 00:00:00
ol7_software_collections | 3.0 kB 00:00:00
(1/6): ol7_oci_included/x86_64/primary_db | 1.0 MB 00:00:02
(2/6): ol7_optional_latest/x86_64/updateinfo | 1.4 MB 00:00:02
(3/6): ol7_ksplice/primary_db | 2.8 MB 00:00:03
(4/6): ol7_latest/x86_64/updateinfo | 3.4 MB 00:00:03
(5/6): ol7_optional_latest/x86_64/primary_db | 5.7 MB 00:00:11
(6/6): ol7_latest/x86_64/primary_db | 40 MB 00:00:37
Resolving Dependencies
–> Running transaction check
—> Package hplip.x86_64 0:3.15.9-5.el7 will be installed
–> Processing Dependency: python-pillow for package: hplip-3.15.9-5.el7.x86_64
–> Running transaction check
—> Package python-pillow.x86_64 0:2.0.0-23.gitd1c6db8.el7_9 will be installed
–> Finished Dependency Resolution

Dependencies Resolved

=====================================================================================================================================================================================================

Package Arch Version Repository Size

Installing:
hplip x86_64 3.15.9-5.el7 ol7_latest 6.1 M
Installing for dependencies:
python-pillow x86_64 2.0.0-23.gitd1c6db8.el7_9 ol7_latest 439 k

Transaction Summary

Install 1 Package (+1 Dependent package)

Total download size: 6.5 M
Installed size: 11 M
Is this ok [y/d/N]: y
Downloading packages:
(1/2): hplip-3.15.9-5.el7.x86_64.rpm | 6.1 MB 00:00:00

(2/2): python-pillow-2.0.0-23.gitd1c6db8.el7_9.x86_64.rpm | 439 kB 00:00:01

Total 3.9 MB/s | 6.5 MB 00:00:01
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : python-pillow-2.0.0-23.gitd1c6db8.el7_9.x86_64 1/2
Installing : hplip-3.15.9-5.el7.x86_64 2/2
Verifying : python-pillow-2.0.0-23.gitd1c6db8.el7_9.x86_64 1/2
Verifying : hplip-3.15.9-5.el7.x86_64 2/2

Installed:
hplip.x86_64 0:3.15.9-5.el7

Dependency Installed:
python-pillow.x86_64 0:2.0.0-23.gitd1c6db8.el7_9

Complete!
[root@AM501AMERAP0001 ~]#
[root@AM501AMERAP0001 ~]# rpm -qa|grep hplip
hplip-common-3.15.9-5.el7.x86_64
hplip-libs-3.15.9-5.el7.x86_64
hplip-3.15.9-5.el7.x86_64
[root@AM501AMERAP0001 ~]# yum install hplip-gui
Loaded plugins: langpacks, ulninfo
Repository ol7_latest is listed more than once in the configuration
Repository ol7_u0_base is listed more than once in the configuration
Repository ol7_u1_base is listed more than once in the configuration
Repository ol7_u2_base is listed more than once in the configuration
Repository ol7_u3_base is listed more than once in the configuration
Repository ol7_u4_base is listed more than once in the configuration
Repository ol7_u5_base is listed more than once in the configuration
Repository ol7_u6_base is listed more than once in the configuration
Repository ol7_u7_base is listed more than once in the configuration
Repository ol7_security_validation is listed more than once in the configuration
Repository ol7_optional_latest is listed more than once in the configuration
Repository ol7_addons is listed more than once in the configuration
Repository ol7_MySQL80 is listed more than once in the configuration
Repository ol7_MySQL57 is listed more than once in the configuration
Repository ol7_MySQL56 is listed more than once in the configuration
Repository ol7_MySQL55 is listed more than once in the configuration
Repository ol7_software_collections is listed more than once in the configuration
Repository ol7_MODRHCK is listed more than once in the configuration
Repository ol7_developer is listed more than once in the configuration
Repository ol7_developer_EPEL is listed more than once in the configuration
Repository ol7_developer_UEKR5 is listed more than once in the configuration
Repository ol7_developer_kvm_utils is listed more than once in the configuration
Repository ol7_latest_archive is listed more than once in the configuration
Repository ol7_optional_archive is listed more than once in the configuration
Repository ol7_UEKR5 is listed more than once in the configuration
Repository ol7_UEKR4 is listed more than once in the configuration
Repository ol7_UEKR3 is listed more than once in the configuration
Repository ol7_UEKR3_OFED20 is listed more than once in the configuration
Repository ol7_UEKR5_RDMA is listed more than once in the configuration
Repository ol7_UEKR4_OFED is listed more than once in the configuration
Repository ol7_UEKR4_archive is listed more than once in the configuration
Repository ol7_UEKR5_archive is listed more than once in the configuration
Repository ol7_kvm_utils is listed more than once in the configuration
Resolving Dependencies
–> Running transaction check
—> Package hplip-gui.x86_64 0:3.15.9-5.el7 will be installed
–> Processing Dependency: PyQt4 for package: hplip-gui-3.15.9-5.el7.x86_64
–> Processing Dependency: python-reportlab for package: hplip-gui-3.15.9-5.el7.x86_64
–> Running transaction check
—> Package PyQt4.x86_64 0:4.10.1-13.el7 will be installed
–> Processing Dependency: sip-api(9) >= 9.2 for package: PyQt4-4.10.1-13.el7.x86_64
–> Processing Dependency: libphonon.so.4()(64bit) for package: PyQt4-4.10.1-13.el7.x86_64
—> Package python-reportlab.x86_64 0:2.5-10.el7 will be installed
–> Running transaction check
—> Package phonon.x86_64 0:4.6.0-10.el7 will be installed
–> Processing Dependency: phonon-backend(x86-64) >= 4.4 for package: phonon-4.6.0-10.el7.x86_64
–> Processing Dependency: kde-filesystem for package: phonon-4.6.0-10.el7.x86_64
—> Package sip.x86_64 0:4.14.6-4.el7 will be installed
–> Running transaction check
—> Package kde-filesystem.x86_64 0:4-47.el7 will be installed
—> Package phonon-backend-gstreamer.x86_64 2:4.6.3-3.el7 will be installed
–> Finished Dependency Resolution

Dependencies Resolved

=====================================================================================================================================================================================================

Package Arch Version Repository Size

Installing:
hplip-gui x86_64 3.15.9-5.el7 ol7_latest 1.4 M
Installing for dependencies:
PyQt4 x86_64 4.10.1-13.el7 ol7_latest 2.8 M
kde-filesystem x86_64 4-47.el7 ol7_latest 48 k
phonon x86_64 4.6.0-10.el7 ol7_latest 204 k
phonon-backend-gstreamer x86_64 2:4.6.3-3.el7 ol7_latest 137 k
python-reportlab x86_64 2.5-10.el7 ol7_latest 1.2 M
sip x86_64 4.14.6-4.el7 ol7_latest 121 k

Transaction Summary

Install 1 Package (+6 Dependent packages)

Total download size: 5.9 M
Installed size: 24 M
Is this ok [y/d/N]: y
Downloading packages:
(1/7): hplip-gui-3.15.9-5.el7.x86_64.rpm | 1.4 MB 00:00:00
(2/7): PyQt4-4.10.1-13.el7.x86_64.rpm | 2.8 MB 00:00:00
(3/7): kde-filesystem-4-47.el7.x86_64.rpm | 48 kB 00:00:00
(4/7): phonon-4.6.0-10.el7.x86_64.rpm | 204 kB 00:00:00
(5/7): phonon-backend-gstreamer-4.6.3-3.el7.x86_64.rpm | 137 kB 00:00:00
(6/7): python-reportlab-2.5-10.el7.x86_64.rpm | 1.2 MB 00:00:00

(7/7): sip-4.14.6-4.el7.x86_64.rpm | 121 kB 00:00:00

Total 8.0 MB/s | 5.9 MB 00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : kde-filesystem-4-47.el7.x86_64 1/7
Installing : 2:phonon-backend-gstreamer-4.6.3-3.el7.x86_64 2/7
Installing : phonon-4.6.0-10.el7.x86_64 3/7
Installing : sip-4.14.6-4.el7.x86_64 4/7
Installing : PyQt4-4.10.1-13.el7.x86_64 5/7
Installing : python-reportlab-2.5-10.el7.x86_64 6/7
Installing : hplip-gui-3.15.9-5.el7.x86_64 7/7
Verifying : python-reportlab-2.5-10.el7.x86_64 1/7
Verifying : phonon-4.6.0-10.el7.x86_64 2/7
Verifying : PyQt4-4.10.1-13.el7.x86_64 3/7
Verifying : sip-4.14.6-4.el7.x86_64 4/7
Verifying : hplip-gui-3.15.9-5.el7.x86_64 5/7
Verifying : kde-filesystem-4-47.el7.x86_64 6/7
Verifying : 2:phonon-backend-gstreamer-4.6.3-3.el7.x86_64 7/7

Installed:
hplip-gui.x86_64 0:3.15.9-5.el7

Dependency Installed:
PyQt4.x86_64 0:4.10.1-13.el7 kde-filesystem.x86_64 0:4-47.el7 phonon.x86_64 0:4.6.0-10.el7 phonon-backend-gstreamer.x86_64 2:4.6.3-3.el7 python-reportlab.x86_64 0:2.5-10.el7
sip.x86_64 0:4.14.6-4.el7

Complete!
[root@AM501AMERAP0001 ~]# rpm -qa|grep hplip
hplip-gui-3.15.9-5.el7.x86_64
hplip-common-3.15.9-5.el7.x86_64
hplip-libs-3.15.9-5.el7.x86_64
hplip-3.15.9-5.el7.x86_64
[root@AM501AMERAP0001 ~]#
[root@AM501AMERAP0001 ~]# rpm -qa | grep cups
cups-filters-1.0.35-28.0.1.el7.x86_64
python-cups-1.9.63-6.el7.x86_64
cups-client-1.6.3-51.el7.x86_64
cups-libs-1.6.3-51.el7.x86_64
cups-filters-libs-1.0.35-28.0.1.el7.x86_64
cups-pk-helper-0.2.6-2.el7.x86_64
cups-1.6.3-51.el7.x86_64
ghostscript-cups-9.25-5.el7.x86_64
gutenprint-cups-5.2.9-18.el7.x86_64
cups-filesystem-1.6.3-51.el7.noarch
[root@AM501AMERAP0001 ~]# rpm -qa | grep cups|wc -l
10
[root@AM501AMERAP0001 ~]# systemctl enable cups
[root@AM501AMERAP0001 ~]# systemctl start cups
[root@AM501AMERAP0001 ~]# systemctl status cups
● cups.service – CUPS Printing Service
Loaded: loaded (/usr/lib/systemd/system/cups.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2022-04-15 13:59:42 GMT; 1 months 10 days ago
Main PID: 1928 (cupsd)
CGroup: /system.slice/cups.service
└─1928 /usr/sbin/cupsd -f

Apr 15 13:59:42 AM501AMERAP0001 systemd[1]: Started CUPS Printing Service.
[root@AM501AMERAP0001 ~]# systemctl enable cups-browsed.service
Created symlink from /etc/systemd/system/multi-user.target.wants/cups-browsed.service to /usr/lib/systemd/system/cups-browsed.service.
[root@AM501AMERAP0001 ~]# systemctl start cups-browsed.service
[root@AM501AMERAP0001 ~]# systemctl status cups-browsed.service
● cups-browsed.service – Make remote CUPS printers available locally
Loaded: loaded (/usr/lib/systemd/system/cups-browsed.service; enabled; vendor preset: disabled)
Active: active (running) since Thu 2022-05-26 17:50:36 GMT; 6s ago
Main PID: 12611 (cups-browsed)
Tasks: 3
Memory: 2.4M
CGroup: /system.slice/cups-browsed.service
└─12611 /usr/sbin/cups-browsed

May 26 17:50:36 AM501AMERAP0001 systemd[1]: Started Make remote CUPS printers available locally.
[root@AM501AMERAP0001 ~]#
/root
[root@AM501AMERAP0001 ~]# diff /etc/cups/cupsd.conf /etc/cups/cupsd.confORG
14c14

< Listen *:631

Listen localhost:631
30d29
< Allow all
[root@AM501AMERAP0001 ~]#
[root@AM501AMERAP0001 ~]# grep -v ‘#’ /etc/cups/cupsd.conf
MaxLogSize 0

LogLevel warn

Listen *:631
Listen /var/run/cups/cups.sock

Browsing On
BrowseLocalProtocols dnssd

DefaultAuthType Basic

WebInterface Yes


Order allow,deny
Allow all

Order allow,deny

AuthType Default Require user @SYSTEM Order allow,deny


JobPrivateAccess default
JobPrivateValues default
SubscriptionPrivateAccess default
SubscriptionPrivateValues default

Order deny,allow

Require user @OWNER @SYSTEM Order deny,allow

AuthType Default Require user @SYSTEM Order deny,allow

AuthType Default Require user @SYSTEM Order deny,allow

Require user @OWNER @SYSTEM Order deny,allow

Order deny,allow


JobPrivateAccess default
JobPrivateValues default
SubscriptionPrivateAccess default
SubscriptionPrivateValues default

AuthType Default Order deny,allow

AuthType Default Require user @OWNER @SYSTEM Order deny,allow

AuthType Default Require user @SYSTEM Order deny,allow

AuthType Default Require user @SYSTEM Order deny,allow

AuthType Default Require user @OWNER @SYSTEM Order deny,allow

Order deny,allow

[root@AM501AMERAP0001 ~]#
[root@AM501AMERAP0001 ~]# rpm -qa | grep avahi
avahi-0.6.31-20.el7.x86_64
avahi-ui-gtk3-0.6.31-20.el7.x86_64
avahi-libs-0.6.31-20.el7.x86_64
avahi-gobject-0.6.31-20.el7.x86_64
avahi-glib-0.6.31-20.el7.x86_64
[root@AM501AMERAP0001 ~]# systemctl enable avahi-daemon
[root@AM501AMERAP0001 ~]# systemctl start avahi-daemon
[root@AM501AMERAP0001 ~]# systemctl status avahi-daemon
● avahi-daemon.service – Avahi mDNS/DNS-SD Stack
Loaded: loaded (/usr/lib/systemd/system/avahi-daemon.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2022-04-15 13:59:39 GMT; 1 months 10 days ago
Main PID: 1252 (avahi-daemon)
Status: “avahi-daemon 0.6.31 starting up.”
CGroup: /system.slice/avahi-daemon.service
├─1252 avahi-daemon: running [AM501AMERAP0001.local]
└─1260 avahi-daemon: chroot helper

Apr 15 13:59:38 AM501AMERAP0001 avahi-daemon[1252]: Network interface enumeration completed.
Apr 15 13:59:38 AM501AMERAP0001 avahi-daemon[1252]: Registering HINFO record with values ‘X86_64’/’LINUX’.
Apr 15 13:59:38 AM501AMERAP0001 avahi-daemon[1252]: Server startup complete. Host name is AM501AMERAP0001.local. Local service cookie is 4033394656.
Apr 15 13:59:39 AM501AMERAP0001 systemd[1]: Started Avahi mDNS/DNS-SD Stack.
Apr 15 13:59:42 AM501AMERAP0001 avahi-daemon[1252]: Joining mDNS multicast group on interface ens3.IPv4 with address 10.215.255.2.
Apr 15 13:59:42 AM501AMERAP0001 avahi-daemon[1252]: New relevant interface ens3.IPv4 for mDNS.
Apr 15 13:59:42 AM501AMERAP0001 avahi-daemon[1252]: Registering new address record for 10.215.255.2 on ens3.IPv4.
Apr 15 13:59:46 AM501AMERAP0001 avahi-daemon[1252]: Joining mDNS multicast group on interface virbr0.IPv4 with address 192.168.122.1.
Apr 15 13:59:46 AM501AMERAP0001 avahi-daemon[1252]: New relevant interface virbr0.IPv4 for mDNS.
Apr 15 13:59:46 AM501AMERAP0001 avahi-daemon[1252]: Registering new address record for 192.168.122.1 on virbr0.IPv4.
[root@AM501AMERAP0001 ~]# systemctl restart cups-browsed
[root@AM501AMERAP0001 ~]# systemctl status cups-browsed
● cups-browsed.service – Make remote CUPS printers available locally
Loaded: loaded (/usr/lib/systemd/system/cups-browsed.service; enabled; vendor preset: disabled)
Active: active (running) since Thu 2022-05-26 18:06:43 GMT; 8s ago
Main PID: 17647 (cups-browsed)
Tasks: 3
Memory: 1.7M
CGroup: /system.slice/cups-browsed.service
└─17647 /usr/sbin/cups-browsed

May 26 18:06:43 AM501AMERAP0001 systemd[1]: Started Make remote CUPS printers available locally.
[root@AM501AMERAP0001 ~]# systemctl start cups
[root@AM501AMERAP0001 ~]# systemctl status cups
● cups.service – CUPS Printing Service
Loaded: loaded (/usr/lib/systemd/system/cups.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2022-04-15 13:59:42 GMT; 1 months 10 days ago
Main PID: 1928 (cupsd)
Tasks: 1
Memory: 2.7M
CGroup: /system.slice/cups.service
└─1928 /usr/sbin/cupsd -f

Apr 15 13:59:42 AM501AMERAP0001 systemd[1]: Started CUPS Printing Service.
[root@AM501AMERAP0001 ~]# systemctl status firewalld
● firewalld.service – firewalld – dynamic firewall daemon
Loaded: loaded (/usr/lib/systemd/system/firewalld.service; enabled; vendor preset: enabled)
Active: inactive (dead) since Thu 2022-04-21 16:49:07 GMT; 1 months 4 days ago
Docs: man:firewalld(1)
Main PID: 17502 (code=exited, status=0/SUCCESS)

Apr 15 16:37:19 AM501AMERAP0001 firewalld[17502]: WARNING: COMMAND_FAILED: ‘/usr/sbin/iptables -w10 -w –table filter –delete FORWARD –in-interface virbr0 –out-interface virbr0 –…hat chain?).
Apr 15 16:37:19 AM501AMERAP0001 firewalld[17502]: WARNING: COMMAND_FAILED: ‘/usr/sbin/iptables -w10 -w –table filter –delete FORWARD –out-interface virbr0 –jump REJECT’ failed: i…y that name.
Apr 15 16:37:19 AM501AMERAP0001 firewalld[17502]: WARNING: COMMAND_FAILED: ‘/usr/sbin/iptables -w10 -w –table filter –delete FORWARD –in-interface virbr0 –jump REJECT’ failed: ip…y that name.
Apr 15 16:37:19 AM501AMERAP0001 firewalld[17502]: WARNING: COMMAND_FAILED: ‘/usr/sbin/iptables -w10 -w –table filter –delete INPUT –in-interface virbr0 –protocol udp –destinatio…hat chain?).
Apr 15 16:37:19 AM501AMERAP0001 firewalld[17502]: WARNING: COMMAND_FAILED: ‘/usr/sbin/iptables -w10 -w –table filter –delete INPUT –in-interface virbr0 –protocol tcp –destinatio…hat chain?).
Apr 15 16:37:19 AM501AMERAP0001 firewalld[17502]: WARNING: COMMAND_FAILED: ‘/usr/sbin/iptables -w10 -w –table filter –delete OUTPUT –out-interface virbr0 –protocol udp –destinat…hat chain?).
Apr 15 16:37:19 AM501AMERAP0001 firewalld[17502]: WARNING: COMMAND_FAILED: ‘/usr/sbin/iptables -w10 -w –table filter –delete INPUT –in-interface virbr0 –protocol udp –destinatio…hat chain?).
Apr 15 16:37:19 AM501AMERAP0001 firewalld[17502]: WARNING: COMMAND_FAILED: ‘/usr/sbin/iptables -w10 -w –table filter –delete INPUT –in-interface virbr0 –protocol tcp –destinatio…hat chain?).
Apr 21 16:49:06 AM501AMERAP0001 systemd[1]: Stopping firewalld – dynamic firewall daemon…
Apr 21 16:49:07 AM501AMERAP0001 systemd[1]: Stopped firewalld – dynamic firewall daemon.
Hint: Some lines were ellipsized, use -l to show in full.
[root@AM501AMERAP0001 ~]#
[root@AM501AMERAP0001 ~]# systemctl disable firewalld
Removed symlink /etc/systemd/system/multi-user.target.wants/firewalld.service.
Removed symlink /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service.
[root@AM501AMERAP0001 ~]# systemctl status firewalld
● firewalld.service – firewalld – dynamic firewall daemon
Loaded: loaded (/usr/lib/systemd/system/firewalld.service; disabled; vendor preset: enabled)
Active: inactive (dead)
Docs: man:firewalld(1)

Apr 15 16:37:19 AM501AMERAP0001 firewalld[17502]: WARNING: COMMAND_FAILED: ‘/usr/sbin/iptables -w10 -w –table filter –delete FORWARD –in-interface virbr0 –out-interface virbr0 –…hat chain?).
Apr 15 16:37:19 AM501AMERAP0001 firewalld[17502]: WARNING: COMMAND_FAILED: ‘/usr/sbin/iptables -w10 -w –table filter –delete FORWARD –out-interface virbr0 –jump REJECT’ failed: i…y that name.
Apr 15 16:37:19 AM501AMERAP0001 firewalld[17502]: WARNING: COMMAND_FAILED: ‘/usr/sbin/iptables -w10 -w –table filter –delete FORWARD –in-interface virbr0 –jump REJECT’ failed: ip…y that name.
Apr 15 16:37:19 AM501AMERAP0001 firewalld[17502]: WARNING: COMMAND_FAILED: ‘/usr/sbin/iptables -w10 -w –table filter –delete INPUT –in-interface virbr0 –protocol udp –destinatio…hat chain?).
Apr 15 16:37:19 AM501AMERAP0001 firewalld[17502]: WARNING: COMMAND_FAILED: ‘/usr/sbin/iptables -w10 -w –table filter –delete INPUT –in-interface virbr0 –protocol tcp –destinatio…hat chain?).
Apr 15 16:37:19 AM501AMERAP0001 firewalld[17502]: WARNING: COMMAND_FAILED: ‘/usr/sbin/iptables -w10 -w –table filter –delete OUTPUT –out-interface virbr0 –protocol udp –destinat…hat chain?).
Apr 15 16:37:19 AM501AMERAP0001 firewalld[17502]: WARNING: COMMAND_FAILED: ‘/usr/sbin/iptables -w10 -w –table filter –delete INPUT –in-interface virbr0 –protocol udp –destinatio…hat chain?).
Apr 15 16:37:19 AM501AMERAP0001 firewalld[17502]: WARNING: COMMAND_FAILED: ‘/usr/sbin/iptables -w10 -w –table filter –delete INPUT –in-interface virbr0 –protocol tcp –destinatio…hat chain?).
Apr 21 16:49:06 AM501AMERAP0001 systemd[1]: Stopping firewalld – dynamic firewall daemon…
Apr 21 16:49:07 AM501AMERAP0001 systemd[1]: Stopped firewalld – dynamic firewall daemon.
Hint: Some lines were ellipsized, use -l to show in full.
[root@AM501AMERAP0001 ~]#

Add the printer over CUPS web interface on the Primary server

Open a web browser in VNC, enter the URI in the following format “https://localhost:631/&#8221; and go to Administration tab. The IP or hostname of the Primary cups server can be used instead.

[root@AM501AMERAP0001 ~]# useradd printadm
[root@AM501AMERAP0001 ~]# passwd printadm
Changing password for user printadm.
New password:Emtek@123

Retype new password:Emtek@123

passwd: all authentication tokens updated successfully.
[root@AM501AMERAP0001 ~]# usermod -a -G lp printadm
[root@AM501AMERAP0001 ~]# usermod -a -G lpadmin printadm
usermod: group ‘lpadmin’ does not exist
[root@AM501AMERAP0001 ~]# usermod -a -G root printadm
[root@AM501AMERAP0001 ~]# sudo su – printadm
[printadm@AM501AMERAP0001 ~]$ id
uid=54323(printadm) gid=54323(printadm) groups=54323(printadm),0(root),7(lp)
[printadm@AM501AMERAP0001 ~]$

CUPS Client Configuration

[root@AM501AMERAP0001 ~]# rpm -qa | grep cups
cups-filters-1.0.35-28.0.1.el7.x86_64
python-cups-1.9.63-6.el7.x86_64
cups-client-1.6.3-51.el7.x86_64
cups-libs-1.6.3-51.el7.x86_64
cups-filters-libs-1.0.35-28.0.1.el7.x86_64
cups-pk-helper-0.2.6-2.el7.x86_64
cups-1.6.3-51.el7.x86_64
ghostscript-cups-9.25-5.el7.x86_64
gutenprint-cups-5.2.9-18.el7.x86_64
cups-filesystem-1.6.3-51.el7.noarch
[root@AM501AMERAP0001 ~]# cp /etc/cups/client.conf /etc/cups/client.confORG
[root@AM501AMERAP0001 ~]# cp /etc/cups/cups-browsed.conf /etc/cups/cups-browsed.confORG
[root@AM501AMERAP0001 ~]# vi /etc/cups/client.conf
[root@AM501AMERAP0001 ~]# ping AM501AMERAP0001
PING AM501AMERAP0001.ad.global (10.215.255.2) 56(84) bytes of data.
64 bytes from AM501AMERAP0001.ad.global (10.215.255.2): icmp_seq=1 ttl=64 time=0.023 ms
64 bytes from AM501AMERAP0001.ad.global (10.215.255.2): icmp_seq=2 ttl=64 time=0.025 ms
64 bytes from AM501AMERAP0001.ad.global (10.215.255.2): icmp_seq=3 ttl=64 time=0.025 ms
^C64 bytes from AM501AMERAP0001.ad.global (10.215.255.2): icmp_seq=4 ttl=64 time=0.028 ms
^C
— AM501AMERAP0001.ad.global ping statistics —
4 packets transmitted, 4 received, 0% packet loss, time 3111ms
rtt min/avg/max/mdev = 0.023/0.025/0.028/0.004 ms
[root@AM501AMERAP0001 ~]# vi /etc/cups/client.conf
[root@AM501AMERAP0001 ~]#
[root@AM501AMERAP0001 ~]#
[root@AM501AMERAP0001 ~]# cat /etc/cups/client.conf
ServerName 10.215.255.2
[root@AM501AMERAP0001 ~]# ls -ltr /etc/cups/client.conf*
-rw-r–r– 1 root root 0 May 26 18:54 /etc/cups/client.confORG
-rw-r–r– 1 root lp 24 May 26 18:56 /etc/cups/client.conf
[root@AM501AMERAP0001 ~]# diff /etc/cups/client.confORG /etc/cups/client.conf
0a1

ServerName 10.215.255.2
[root@AM501AMERAP0001 ~]# diff /etc/cups/client.conf /etc/cups/client.confORG
1d0
< ServerName 10.215.255.2
[root@AM501AMERAP0001 ~]# vi /etc/cups/client.confORG
[root@AM501AMERAP0001 ~]# ls -ltr /etc/cups/cups-browsed.conf*
-rw-r–r– 1 root root 16161 Mar 4 08:59 /etc/cups/cups-browsed.conf
-rw-r–r– 1 root root 16161 May 26 18:54 /etc/cups/cups-browsed.confORG
[root@AM501AMERAP0001 ~]# vi /etc/cups/cups-browsed.conf
[root@AM501AMERAP0001 ~]#
[root@AM501AMERAP0001 ~]#
[root@AM501AMERAP0001 ~]# diff /etc/cups/cups-browsed.conf /etc/cups/cups-browsed.confORG
278c278

< BrowsePoll 10.215.255.2

[root@AM501AMERAP0001 ~]# systemctl enable cups.service
[root@AM501AMERAP0001 ~]# systemctl start cups.service
[root@AM501AMERAP0001 ~]# systemctl enable avahi-daemon
[root@AM501AMERAP0001 ~]# systemctl start avahi-daemon
[root@AM501AMERAP0001 ~]# systemctl enable cups-browsed
[root@AM501AMERAP0001 ~]# systemctl start cups-browsed
[root@AM501AMERAP0001 ~]# lpstat -t
scheduler is not running
no system default destination
lpstat: Transport endpoint is not connected
lpstat: Transport endpoint is not connected
lpstat: Transport endpoint is not connected
lpstat: Transport endpoint is not connected
lpstat: Transport endpoint is not connected
[root@AM501AMERAP0001 ~]# systemctl status cups-browsed
● cups-browsed.service – Make remote CUPS printers available locally
Loaded: loaded (/usr/lib/systemd/system/cups-browsed.service; enabled; vendor preset: disabled)
Active: active (running) since Thu 2022-05-26 18:06:43 GMT; 54min ago
Main PID: 17647 (cups-browsed)
CGroup: /system.slice/cups-browsed.service
└─17647 /usr/sbin/cups-browsed

May 26 18:06:43 AM501AMERAP0001 systemd[1]: Started Make remote CUPS printers available locally.
[root@AM501AMERAP0001 ~]# systemctl status avahi-daemon
● avahi-daemon.service – Avahi mDNS/DNS-SD Stack
Loaded: loaded (/usr/lib/systemd/system/avahi-daemon.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2022-04-15 13:59:39 GMT; 1 months 10 days ago
Main PID: 1252 (avahi-daemon)
Status: “avahi-daemon 0.6.31 starting up.”
CGroup: /system.slice/avahi-daemon.service
├─1252 avahi-daemon: running [AM501AMERAP0001.local]
└─1260 avahi-daemon: chroot helper

Apr 15 13:59:38 AM501AMERAP0001 avahi-daemon[1252]: Network interface enumeration completed.
Apr 15 13:59:38 AM501AMERAP0001 avahi-daemon[1252]: Registering HINFO record with values ‘X86_64’/’LINUX’.
Apr 15 13:59:38 AM501AMERAP0001 avahi-daemon[1252]: Server startup complete. Host name is AM501AMERAP0001.local. Local service cookie is 4033394656.
Apr 15 13:59:39 AM501AMERAP0001 systemd[1]: Started Avahi mDNS/DNS-SD Stack.
Apr 15 13:59:42 AM501AMERAP0001 avahi-daemon[1252]: Joining mDNS multicast group on interface ens3.IPv4 with address 10.215.255.2.
Apr 15 13:59:42 AM501AMERAP0001 avahi-daemon[1252]: New relevant interface ens3.IPv4 for mDNS.
Apr 15 13:59:42 AM501AMERAP0001 avahi-daemon[1252]: Registering new address record for 10.215.255.2 on ens3.IPv4.
Apr 15 13:59:46 AM501AMERAP0001 avahi-daemon[1252]: Joining mDNS multicast group on interface virbr0.IPv4 with address 192.168.122.1.
Apr 15 13:59:46 AM501AMERAP0001 avahi-daemon[1252]: New relevant interface virbr0.IPv4 for mDNS.
Apr 15 13:59:46 AM501AMERAP0001 avahi-daemon[1252]: Registering new address record for 192.168.122.1 on virbr0.IPv4.
[root@AM501AMERAP0001 ~]# systemctl status cups.service
● cups.service – CUPS Printing Service
Loaded: loaded (/usr/lib/systemd/system/cups.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2022-04-15 13:59:42 GMT; 1 months 10 days ago
Main PID: 1928 (cupsd)
CGroup: /system.slice/cups.service
├─ 1928 /usr/sbin/cupsd -f
├─29094 /usr/lib/cups/notifier/dbus dbus://
├─29095 /usr/lib/cups/notifier/dbus dbus://
└─29096 /usr/lib/cups/notifier/dbus dbus://

Apr 15 13:59:42 AM501AMERAP0001 systemd[1]: Started CUPS Printing Service.
May 26 18:23:49 AM501AMERAP0001 cupsd[1928]: pam_sss(cups:auth): authentication success; logname= uid=0 euid=0 tty=cups ruser= rhost=localhost user=sac-hemsat@ad.global
May 26 18:30:20 AM501AMERAP0001 cupsd[1928]: pam_sss(cups:auth): authentication success; logname= uid=0 euid=0 tty=cups ruser= rhost=localhost user=sac-hemsat@ad.global
May 26 18:30:44 AM501AMERAP0001 cupsd[1928]: pam_sss(cups:auth): authentication success; logname= uid=0 euid=0 tty=cups ruser= rhost=localhost user=sac-hemsat@ad.global
[root@AM501AMERAP0001 ~]# lpstat -t
scheduler is not running
no system default destination
lpstat: Transport endpoint is not connected
lpstat: Transport endpoint is not connected
lpstat: Transport endpoint is not connected
lpstat: Transport endpoint is not connected
lpstat: Transport endpoint is not connected
[root@AM501AMERAP0001 ~]# lpstat -v
lpstat: Transport endpoint is not connected
[root@AM501AMERAP0001 ~]# systemctl stop cups.service
Warning: Stopping cups.service, but it can still be activated by:
cups.path
cups.socket
[root@AM501AMERAP0001 ~]# systemctl status cups.service
● cups.service – CUPS Printing Service
Loaded: loaded (/usr/lib/systemd/system/cups.service; enabled; vendor preset: enabled)
Active: inactive (dead) since Thu 2022-05-26 19:01:56 GMT; 17s ago
Process: 1928 ExecStart=/usr/sbin/cupsd -f (code=exited, status=0/SUCCESS)
Main PID: 1928 (code=exited, status=0/SUCCESS)

Apr 15 13:59:42 AM501AMERAP0001 systemd[1]: Started CUPS Printing Service.
May 26 18:23:49 AM501AMERAP0001 cupsd[1928]: pam_sss(cups:auth): authentication success; logname= uid=0 euid=0 tty=cups ruser= rhost=localhost user=sac-hemsat@ad.global
May 26 18:30:20 AM501AMERAP0001 cupsd[1928]: pam_sss(cups:auth): authentication success; logname= uid=0 euid=0 tty=cups ruser= rhost=localhost user=sac-hemsat@ad.global
May 26 18:30:44 AM501AMERAP0001 cupsd[1928]: pam_sss(cups:auth): authentication success; logname= uid=0 euid=0 tty=cups ruser= rhost=localhost user=sac-hemsat@ad.global
May 26 19:01:56 AM501AMERAP0001 systemd[1]: Stopping CUPS Printing Service…
May 26 19:01:56 AM501AMERAP0001 systemd[1]: Stopped CUPS Printing Service.
[root@AM501AMERAP0001 ~]# systemctl start cups.service
[root@AM501AMERAP0001 ~]# systemctl status cups.service
● cups.service – CUPS Printing Service
Loaded: loaded (/usr/lib/systemd/system/cups.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2022-05-26 19:02:21 GMT; 6s ago
Main PID: 5222 (cupsd)
Tasks: 1
Memory: 1.6M
CGroup: /system.slice/cups.service
└─5222 /usr/sbin/cupsd -f

May 26 19:02:21 AM501AMERAP0001 systemd[1]: Started CUPS Printing Service.
[root@AM501AMERAP0001 ~]# systemctl stop avahi-daemon
Warning: Stopping avahi-daemon.service, but it can still be activated by:
avahi-daemon.socket
[root@AM501AMERAP0001 ~]# systemctl status avahi-daemon
● avahi-daemon.service – Avahi mDNS/DNS-SD Stack
Loaded: loaded (/usr/lib/systemd/system/avahi-daemon.service; enabled; vendor preset: enabled)
Active: inactive (dead) since Thu 2022-05-26 19:02:36 GMT; 5s ago
Process: 1252 ExecStart=/usr/sbin/avahi-daemon -s (code=exited, status=0/SUCCESS)
Main PID: 1252 (code=exited, status=0/SUCCESS)
Status: “avahi-daemon 0.6.31 starting up.”

Apr 15 13:59:42 AM501AMERAP0001 avahi-daemon[1252]: New relevant interface ens3.IPv4 for mDNS.
Apr 15 13:59:42 AM501AMERAP0001 avahi-daemon[1252]: Registering new address record for 10.215.255.2 on ens3.IPv4.
Apr 15 13:59:46 AM501AMERAP0001 avahi-daemon[1252]: Joining mDNS multicast group on interface virbr0.IPv4 with address 192.168.122.1.
Apr 15 13:59:46 AM501AMERAP0001 avahi-daemon[1252]: New relevant interface virbr0.IPv4 for mDNS.
Apr 15 13:59:46 AM501AMERAP0001 avahi-daemon[1252]: Registering new address record for 192.168.122.1 on virbr0.IPv4.
May 26 19:02:36 AM501AMERAP0001 systemd[1]: Stopping Avahi mDNS/DNS-SD Stack…
May 26 19:02:36 AM501AMERAP0001 avahi-daemon[1252]: Got SIGTERM, quitting.
May 26 19:02:36 AM501AMERAP0001 avahi-daemon[1252]: Leaving mDNS multicast group on interface virbr0.IPv4 with address 192.168.122.1.
May 26 19:02:36 AM501AMERAP0001 avahi-daemon[1252]: Leaving mDNS multicast group on interface ens3.IPv4 with address 10.215.255.2.
May 26 19:02:36 AM501AMERAP0001 systemd[1]: Stopped Avahi mDNS/DNS-SD Stack.
[root@AM501AMERAP0001 ~]# systemctl start avahi-daemon
[root@AM501AMERAP0001 ~]# systemctl status avahi-daemon
● avahi-daemon.service – Avahi mDNS/DNS-SD Stack
Loaded: loaded (/usr/lib/systemd/system/avahi-daemon.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2022-05-26 19:02:48 GMT; 4s ago
Main PID: 5409 (avahi-daemon)
Status: “avahi-daemon 0.6.31 starting up.”
Tasks: 2
Memory: 1.0M
CGroup: /system.slice/avahi-daemon.service
├─5409 avahi-daemon: running [AM501AMERAP0001.local]
└─5412 avahi-daemon: chroot helper

May 26 19:02:48 AM501AMERAP0001 avahi-daemon[5409]: No service file found in /etc/avahi/services.
May 26 19:02:48 AM501AMERAP0001 avahi-daemon[5409]: Joining mDNS multicast group on interface virbr0.IPv4 with address 192.168.122.1.
May 26 19:02:48 AM501AMERAP0001 avahi-daemon[5409]: New relevant interface virbr0.IPv4 for mDNS.
May 26 19:02:48 AM501AMERAP0001 avahi-daemon[5409]: Joining mDNS multicast group on interface ens3.IPv4 with address 10.215.255.2.
May 26 19:02:48 AM501AMERAP0001 avahi-daemon[5409]: New relevant interface ens3.IPv4 for mDNS.
May 26 19:02:48 AM501AMERAP0001 avahi-daemon[5409]: Network interface enumeration completed.
May 26 19:02:48 AM501AMERAP0001 avahi-daemon[5409]: Registering new address record for 192.168.122.1 on virbr0.IPv4.
May 26 19:02:48 AM501AMERAP0001 avahi-daemon[5409]: Registering new address record for 10.215.255.2 on ens3.IPv4.
May 26 19:02:48 AM501AMERAP0001 avahi-daemon[5409]: Registering HINFO record with values ‘X86_64’/’LINUX’.
May 26 19:02:49 AM501AMERAP0001 avahi-daemon[5409]: Server startup complete. Host name is AM501AMERAP0001.local. Local service cookie is 2631139328.
[root@AM501AMERAP0001 ~]# systemctl status cups-browsed
● cups-browsed.service – Make remote CUPS printers available locally
Loaded: loaded (/usr/lib/systemd/system/cups-browsed.service; enabled; vendor preset: disabled)
Active: inactive (dead) since Thu 2022-05-26 19:01:56 GMT; 1min 3s ago
Process: 17647 ExecStart=/usr/sbin/cups-browsed (code=exited, status=0/SUCCESS)
Main PID: 17647 (code=exited, status=0/SUCCESS)

May 26 18:06:43 AM501AMERAP0001 systemd[1]: Started Make remote CUPS printers available locally.
May 26 19:01:56 AM501AMERAP0001 systemd[1]: Stopping Make remote CUPS printers available locally…
May 26 19:01:56 AM501AMERAP0001 systemd[1]: Stopped Make remote CUPS printers available locally.
[root@AM501AMERAP0001 ~]# systemctl start cups-browsed
[root@AM501AMERAP0001 ~]# systemctl status cups-browsed
● cups-browsed.service – Make remote CUPS printers available locally
Loaded: loaded (/usr/lib/systemd/system/cups-browsed.service; enabled; vendor preset: disabled)
Active: active (running) since Thu 2022-05-26 19:03:05 GMT; 4s ago
Main PID: 5458 (cups-browsed)
Tasks: 3
Memory: 1.7M
CGroup: /system.slice/cups-browsed.service
└─5458 /usr/sbin/cups-browsed

May 26 19:03:05 AM501AMERAP0001 systemd[1]: Started Make remote CUPS printers available locally.
[root@AM501AMERAP0001 ~]# lpstat -t
scheduler is running
no system default destination
device for CheckPrinter: socket://10.218.10.35:9100
device for New_Test_Printer: socket://10.218.10.32:9100
device for ZEBRA_TEST_PRINTER: socket://10.218.10.75:9100
CheckPrinter accepting requests since Thu 26 May 2022 06:42:09 PM GMT
New_Test_Printer accepting requests since Thu 26 May 2022 06:37:26 PM GMT
ZEBRA_TEST_PRINTER accepting requests since Thu 26 May 2022 06:39:27 PM GMT
printer CheckPrinter is idle. enabled since Thu 26 May 2022 06:42:09 PM GMT
printer New_Test_Printer is idle. enabled since Thu 26 May 2022 06:37:26 PM GMT
printer ZEBRA_TEST_PRINTER is idle. enabled since Thu 26 May 2022 06:39:27 PM GMT
[root@AM501AMERAP0001 ~]# systemctl status cups
● cups.service – CUPS Printing Service
Loaded: loaded (/usr/lib/systemd/system/cups.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2022-05-26 19:02:21 GMT; 1min 12s ago
Main PID: 5222 (cupsd)
Tasks: 1
Memory: 1.6M
CGroup: /system.slice/cups.service
└─5222 /usr/sbin/cupsd -f

May 26 19:02:21 AM501AMERAP0001 systemd[1]: Started CUPS Printing Service.
[root@AM501AMERAP0001 ~]#
[root@AM501AMERAP0001 ~]# lpstat -v
device for CheckPrinter: socket://10.218.10.35:9100
device for New_Test_Printer: socket://10.218.10.32:9100
device for ZEBRA_TEST_PRINTER: socket://10.218.10.75:9100
[root@AM501AMERAP0001 ~]#

Oracle Linux: Basic Primary Cups Server and Clients Configuration for Browsing in OL7 (Doc ID 2429223.1) 

How to enable CUPS Debugging on Oracle Linux? (Doc ID 1583923.1) 

While Registering An External Container/pluggable OCI Database in OCI External Database Management service it gives error “Internal error occurred”

SYMPTOMS


Not able to create the External Container/Pluggable OCI database in OCI External Database Management service. It is giving error “Internal error occurred”.

CAUSE

The issue here is related to tag based authorization:
{panel:title=Identity Error Response to DBaaS Control Plane}
2022-09-26 11:35:06,117 ERROR [dw-23361 – POST /20160918/externaldatabaseconnecto] [opc-request-id=csid4c3657b9498b921a01034931775d/1468ac8d7e80467aba11b99d108b0cde/FB705FE0BFC4FD0561439CA8414BE27D] c.o.p.c.e.s.CatchAllExceptionMapper: Uncaught exception. Returning InternalError to user! com.oracle.pic.identity.authorization.sdk.error.AuthorizationClientException: Error with tagging\n! at com.oracle.pic.identity.authorization.sdk.response.TaggedAuthorizationResponse$TaggingErrorAuthorizationResponse.getTagSlug(TaggedAuthorizationResponse.java:59)\n! at com.oracle.pic.dbaas.resources.AuthorizationHelper.authorize(AuthorizationHelper.java:608)\n! at com.oracle.pic.dbaas.resources.v20160918.ExternalDatabaseConnectorResource20160918.createExternalDatabaseConnector(ExternalDatabaseConnectorResource20160918.java:187)\n!
{panel}

The following two tags were the reason for tag validation failure:
{panel}
‘oracle-tags”cognizant-oci’
{panel}


SOLUTION

For OCI user, adding this database to OCI External Database Management service, need to add a policy authorizing updates to tag-namespaces
https://docs.oracle.com/en-us/iaas/Content/Tagging/Tasks/managingtagsandtagnamespaces.htm#Who

How to spin off EC2 instance with RHEL

  1. Launch an EC2 instance from AWS console. Here are the screenshots below for reference.

Make it 30 GiB storage as it comes free with free storage

2. Connect to Linux EC2 Instance by Using Putty and private keys

We can connect putty by using below link.

Connect to PostgreSQL Server Using Putty

Using username “ec2-user”.
Authenticating with public key “imported-openssh-key”
Register this system with Red Hat Insights: insights-client –register
Create an account or view all your systems at https://red.ht/insights-dashboard
Last login: Wed Feb 8 14:50:03 2023 from 49.36.50.5
[ec2-user@ip-10-0-1-138 ~]$ s

3. Switch to root

[ec2-user@ip-10-0-1-138 ~]$ sudo su – root
Last login: Wed Feb 8 14:50:07 UTC 2023 on pts/1
[root@ip-10-0-1-138 ~]#

Steps to install postgres SQL on AWS EC2 (RHEL)

1. Connect to Linux EC2 Instance by Using Putty and private keys

We can connect putty by using below link.

Connect to PostgreSQL Server Using Putty

Using username “ec2-user”.
Authenticating with public key “imported-openssh-key”
Register this system with Red Hat Insights: insights-client –register
Create an account or view all your systems at https://red.ht/insights-dashboard
Last login: Wed Feb 8 14:50:03 2023 from 49.36.50.5
[ec2-user@ip-10-0-1-138 ~]$ s

2. Switch to root

[ec2-user@ip-10-0-1-138 ~]$ sudo su – root
Last login: Wed Feb 8 14:50:07 UTC 2023 on pts/1
[root@ip-10-0-1-138 ~]#

3. Install Server Updates

[root@ip-10-0-1-138 ec2-user]# yum update -y
Red Hat Update Infrastructure 3 Client Configuration Server 8 14 kB/s | 3.5 kB 00:00
Red Hat Enterprise Linux 8 for x86_64 – AppStream from RHUI (RPMs) 39 MB/s | 25 MB 00:00
Red Hat Enterprise Linux 8 for x86_64 – BaseOS from RHUI (RPMs) 43 MB/s | 26 MB 00:00

Dependencies resolved.

Package Architecture Version Repository Size

Installing:
kernel x86_64 4.18.0-240.8.1.el8_3 rhel-8-baseos-rhui-rpms 4.3 M
kernel-core x86_64 4.18.0-240.8.1.el8_3 rhel-8-baseos-rhui-rpms 30 M
kernel-modules x86_64 4.18.0-240.8.1.el8_3 rhel-8-baseos-rhui-rpms 26 M
Upgrading:
NetworkManager x86_64 1:1.26.0-12.el8_3 rhel-8-baseos-rhui-rpms 2.4 M
NetworkManager-libnm x86_64 1:1.26.0-12.el8_3 rhel-8-baseos-rhui-rpms 1.8 M
NetworkManager-team x86_64 1:1.26.0-12.el8_3 rhel-8-baseos-rhui-rpms 142 k
NetworkManager-tui x86_64 1:1.26.0-12.el8_3 rhel-8-baseos-rhui-rpms 320 k
cloud-init noarch 19.4-11.el8_3.1 rhel-8-appstream-rhui-rpms 945 k
curl x86_64 7.61.1-14.el8_3.1 rhel-8-baseos-rhui-rpms 353 k
freetype x86_64 2.9.1-4.el8_3.1 rhel-8-baseos-rhui-rpms 394 k
gnutls x86_64 3.6.14-7.el8_3 rhel-8-baseos-rhui-rpms 1.0 M
insights-client noarch 3.1.1-1.el8_3 rhel-8-appstream-rhui-rpms 1.0 M
iptables-libs x86_64 1.8.4-15.el8_3.3 rhel-8-baseos-rhui-rpms 106 k
kernel-tools x86_64 4.18.0-240.8.1.el8_3 rhel-8-baseos-rhui-rpms 4.5 M
kernel-tools-libs x86_64 4.18.0-240.8.1.el8_3 rhel-8-baseos-rhui-rpms 4.3 M
kexec-tools x86_64 2.0.20-34.el8_3.1 rhel-8-baseos-rhui-rpms 496 k
libcurl x86_64 7.61.1-14.el8_3.1 rhel-8-baseos-rhui-rpms 299 k
microcode_ctl x86_64 4:20200609-2.20201112.1.el8_3 rhel-8-baseos-rhui-rpms 4.6 M
openssl x86_64 1:1.1.1g-12.el8_3 rhel-8-baseos-rhui-rpms 707 k
openssl-libs x86_64 1:1.1.1g-12.el8_3 rhel-8-baseos-rhui-rpms 1.5 M
python3-perf x86_64 4.18.0-240.8.1.el8_3 rhel-8-baseos-rhui-rpms 4.4 M
qemu-guest-agent x86_64 15:4.2.0-34.module+el8.3.0+8829+e7a0a3ea.1 rhel-8-appstream-rhui-rpms 228 k
systemd x86_64 239-41.el8_3.1 rhel-8-baseos-rhui-rpms 3.5 M
systemd-libs x86_64 239-41.el8_3.1 rhel-8-baseos-rhui-rpms 1.1 M
systemd-pam x86_64 239-41.el8_3.1 rhel-8-baseos-rhui-rpms 456 k
systemd-udev x86_64 239-41.el8_3.1 rhel-8-baseos-rhui-rpms 1.3 M
tuned noarch 2.14.0-3.el8_3.1 rhel-8-baseos-rhui-rpms 292 k
Installing dependencies:
linux-firmware noarch 20200619-101.git3890db36.el8_3 rhel-8-baseos-rhui-rpms 101 M

Transaction Summary

Install 4 Packages
Upgrade 24 Packages

Total download size: 198 M
Downloading Packages:
(1/28): kernel-4.18.0-240.8.1.el8_3.x86_64.rpm 15 MB/s | 4.3 MB 00:00
(2/28): kernel-core-4.18.0-240.8.1.el8_3.x86_64.rpm 33 MB/s | 30 MB 00:00
(3/28): kernel-modules-4.18.0-240.8.1.el8_3.x86_64.rpm 22 MB/s | 26 MB 00:01
(4/28): cloud-init-19.4-11.el8_3.1.noarch.rpm 3.6 MB/s | 945 kB 00:00
(5/28): qemu-guest-agent-4.2.0-34.module+el8.3.0+8829+e7a0a3ea.1.x86_64.rpm 1.9 MB/s | 228 kB 00:00
(6/28): insights-client-3.1.1-1.el8_3.noarch.rpm 6.8 MB/s | 1.0 MB 00:00
(7/28): NetworkManager-team-1.26.0-12.el8_3.x86_64.rpm 1.3 MB/s | 142 kB 00:00

(8/28): freetype-2.9.1-4.el8_3.1.x86_64.rpm 3.1 MB/s | 394 kB 00:00

Total 64 MB/s | 198 MB 00:03
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Running scriptlet: systemd-libs-239-41.el8_3.1.x86_64 1/1
Upgrading : systemd-libs-239-41.el8_3.1.x86_64 1/52
Running scriptlet: systemd-libs-239-41.el8_3.1.x86_64 1/52
Upgrading : gnutls-3.6.14-7.el8_3.x86_64 2/52
Upgrading : openssl-libs-1:1.1.1g-12.el8_3.x86_64 3/52
Running scriptlet: openssl-libs-1:1.1.1g-12.el8_3.x86_64 3/52
Upgrading : libcurl-7.61.1-14.el8_3.1.x86_64 4/52
Upgrading : NetworkManager-libnm-1:1.26.0-12.el8_3.x86_64 5/52
Running scriptlet: NetworkManager-libnm-1:1.26.0-12.el8_3.x86_64 5/52
Upgrading : iptables-libs-1.8.4-15.el8_3.3.x86_64 6/52
Running scriptlet: systemd-239-41.el8_3.1.x86_64 7/52
Upgrading : systemd-239-41.el8_3.1.x86_64 7/52
Running scriptlet: systemd-239-41.el8_3.1.x86_64 7/52
Upgrading : systemd-pam-239-41.el8_3.1.x86_64 8/52
Verifying : kernel-modules-4.18.0-240.8.1.el8_3.x86_64 1/52
Verifying : kernel-core-4.18.0-240.8.1.el8_3.x86_64 2/52
Verifying : kernel-4.18.0-240.8.1.el8_3.x86_64 3/52
Verifying : linux-firmware-20200619-101.git3890db36.el8_3.noarch 4/52
Verifying : cloud-init-19.4-11.el8_3.1.noarch 5/52
Verifying : cloud-init-19.4-11.el8.noarch 6/52
Verifying : insights-client-3.1.1-1.el8_3.noarch 7/52
Verifying : insights-client-3.1.0-3.el8.noarch 8/52
Upgraded:
NetworkManager-1:1.26.0-12.el8_3.x86_64 NetworkManager-libnm-1:1.26.0-12.el8_3.x86_64 NetworkManager-team-1:1.26.0-12.el8_3.x86_64 NetworkManager-tui-1:1.26.0-12.el8_3.x86_64
cloud-init-19.4-11.el8_3.1.noarch curl-7.61.1-14.el8_3.1.x86_64 freetype-2.9.1-4.el8_3.1.x86_64 gnutls-3.6.14-7.el8_3.x86_64
insights-client-3.1.1-1.el8_3.noarch iptables-libs-1.8.4-15.el8_3.3.x86_64 kernel-tools-4.18.0-240.8.1.el8_3.x86_64 kernel-tools-libs-4.18.0-240.8.1.el8_3.x86_64
kexec-tools-2.0.20-34.el8_3.1.x86_64 libcurl-7.61.1-14.el8_3.1.x86_64 microcode_ctl-4:20200609-2.20201112.1.el8_3.x86_64 openssl-1:1.1.1g-12.el8_3.x86_64
openssl-libs-1:1.1.1g-12.el8_3.x86_64 python3-perf-4.18.0-240.8.1.el8_3.x86_64 qemu-guest-agent-15:4.2.0-34.module+el8.3.0+8829+e7a0a3ea.1.x86_64 systemd-239-41.el8_3.1.x86_64
systemd-libs-239-41.el8_3.1.x86_64 systemd-pam-239-41.el8_3.1.x86_64 systemd-udev-239-41.el8_3.1.x86_64 tuned-2.14.0-3.el8_3.1.noarch

Installed:
kernel-4.18.0-240.8.1.el8_3.x86_64 kernel-core-4.18.0-240.8.1.el8_3.x86_64 kernel-modules-4.18.0-240.8.1.el8_3.x86_64 linux-firmware-20200619-101.git3890db36.el8_3.noarch

Complete!

4. Install wget package 

[root@ip-10-0-1-138 ec2-user]# yum install wget -y

Last metadata expiration check: 0:04:39 ago on Mon 28 Dec 2020 08:06:57 AM UTC.

Dependencies resolved.

==============================================================================================================================================================================================================

Package                                  Architecture                               Version                                             Repository                                                      Size

==============================================================================================================================================================================================================

Installing:

wget                                     x86_64                                     1.19.5-10.el8                                       rhel-8-appstream-rhui-rpms                                     734 k

Transaction Summary

==============================================================================================================================================================================================================

Install  1 Package

Total download size: 734 k

Installed size: 2.8 M

Downloading Packages:

wget-1.19.5-10.el8.x86_64.rpm                                                                                                                                                 5.0 MB/s | 734 kB     00:00

————————————————————————————————————————————————————————————————————–

Total                                                                                                                                                                         3.9 MB/s | 734 kB     00:00

Running transaction check

Transaction check succeeded.

Running transaction test

Transaction test succeeded.

Running transaction

  Preparing        :                                                                                                                                                                                      1/1

  Installing       : wget-1.19.5-10.el8.x86_64                                                                                                                                                            1/1

  Running scriptlet: wget-1.19.5-10.el8.x86_64                                                                                                                                                            1/1

  Verifying        : wget-1.19.5-10.el8.x86_64                                                                                                                                                            1/1

Installed:

  wget-1.19.5-10.el8.x86_64

Complete!

5. Install wget package 

[root@ip-10-0-1-138 ec2-user]# yum install wget -y

Last metadata expiration check: 0:04:39 ago on Mon 28 Dec 2020 08:06:57 AM UTC.

Dependencies resolved.

==============================================================================================================================================================================================================

Package                                  Architecture                               Version                                             Repository                                                      Size

==============================================================================================================================================================================================================

Installing:

wget                                     x86_64                                     1.19.5-10.el8                                       rhel-8-appstream-rhui-rpms                                     734 k

Transaction Summary

==============================================================================================================================================================================================================

Install  1 Package

Total download size: 734 k

Installed size: 2.8 M

Downloading Packages:

wget-1.19.5-10.el8.x86_64.rpm                                                                                                                                                 5.0 MB/s | 734 kB     00:00

————————————————————————————————————————————————————————————————————–

Total                                                                                                                                                                         3.9 MB/s | 734 kB     00:00

Running transaction check

Transaction check succeeded.

Running transaction test

Transaction test succeeded.

Running transaction

  Preparing        :                                                                                                                                                                                      1/1

  Installing       : wget-1.19.5-10.el8.x86_64                                                                                                                                                            1/1

  Running scriptlet: wget-1.19.5-10.el8.x86_64                                                                                                                                                            1/1

  Verifying        : wget-1.19.5-10.el8.x86_64                                                                                                                                                            1/1

Installed:

  wget-1.19.5-10.el8.x86_64

Complete!

5. Install the Repository (RPM)

[root@ip-10-0-1-138 ec2-user]# dnf install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm

Last metadata expiration check: 2:55:26 ago on Thu 31 Dec 2020 08:17:06 AM UTC.

pgdg-redhat-repo-latest.noarch.rpm                                                                                                                                             16 kB/s |  11 kB     00:00

Dependencies resolved.

==============================================================================================================================================================================================================

Package                                                Architecture                                 Version                                         Repository                                          Size

==============================================================================================================================================================================================================

Installing:

pgdg-redhat-repo                                       noarch                                       42.0-14                                         @commandline                                        11 k

Transaction Summary

==============================================================================================================================================================================================================

Install  1 Package

Total size: 11 k

Installed size: 11 k

Downloading Packages:

Running transaction check

Transaction check succeeded.

Running transaction test

Transaction test succeeded.

Running transaction

  Preparing        :                                                                                                                                                                                      1/1

  Installing       : pgdg-redhat-repo-42.0-14.noarch                                                                                                                                                      1/1

  Verifying        : pgdg-redhat-repo-42.0-14.noarch                                                                                                                                                      1/1

Installed:

  pgdg-redhat-repo-42.0-14.noarch

Complete!

6. Install the Repository (RPM)

[root@ip-10-0-1-138 ec2-user]# dnf install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm
Last metadata expiration check: 2:55:26 ago on Thu 31 Dec 2020 08:17:06 AM UTC.
pgdg-redhat-repo-latest.noarch.rpm 16 kB/s | 11 kB 00:00

Dependencies resolved.

Package Architecture Version Repository Size

Installing:
pgdg-redhat-repo noarch 42.0-14 @commandline 11 k

Transaction Summary

Install 1 Package

Total size: 11 k
Installed size: 11 k
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : pgdg-redhat-repo-42.0-14.noarch 1/1
Verifying : pgdg-redhat-repo-42.0-14.noarch 1/1

Installed:
pgdg-redhat-repo-42.0-14.noarch

Complete!

7. Disable the built-in PostgreSQL module

[root@ip-10-0-1-138 ec2-user]# dnf -qy module disable postgresql-15

8. Install PostgreSQL 15

[root@ip-10-0-1-138 ec2-user]# dnf install -y postgresql15-server

9. Initialize the Database

[root@ip-10-0-1-138 ec2-user]# /usr/pgsql-12/bin/postgresql-15-setup initdb

Initializing database … OK

10. Enable PostgreSQL 

[root@ip-10-0-1-138 ec2-user]# systemctl enable postgresql-15

11.  Start PostgreSQL 

[root@ip-10-0-1-138 ec2-user]# systemctl start postgresql-15

ORA-00955 when trying to create a Materialized view

We are trying to create a materialized view in APPS schema, but get the below error when running the create script
ORA-00955: name is already used by an existing object


It was verified that there is no object with the same name.
SQL> select name from v$database;

NAME
———
CDBTST2

SQL> show user
USER is “APPS”
SQL> select object_name, object_type
2 from all_objects
3 where object_name = ‘HFT_PURCHASE_ORDERS_MV’;

no rows selected

Based on some MOS notes and research, we have tried the following:

1. Purged recycle bin
2. Purged Shared Pool
3. Purged buffer cache
4. Bounced EBS and DB
5. No errors in alert.log

However, there seems to be some entries in the sys.obj$ table

SQL> select obj#, dataobj#, owner#, type#, name , ctime, mtime, stime
from sys.obj$
where name=’HFT_PURCHASE_ORDERS_MV’; 2 3

OBJ# DATAOBJ# OWNER# TYPE#
———- ———- ———- ———-
NAME
——————————————————————————–
CTIME MTIME STIME
—————— —————— ——————
2820785 685 5
HFT_PURCHASE_ORDERS_MV
16-JUL-22 16-JUL-22 16-JUL-22

3111742 1053 10
HFT_PURCHASE_ORDERS_MV
20-OCT-22 03-NOV-22 31-DEC-12

OBJ# DATAOBJ# OWNER# TYPE#
———- ———- ———- ———-
NAME
——————————————————————————–
CTIME MTIME STIME
—————— —————— ——————

2896568 2820785 871 88
HFT_PURCHASE_ORDERS_MV
05-OCT-22 05-OCT-22 00-DECEMBER-00

Fix

Check if there are any objects in ALL_OBJECTS_AE with the same name as the mview you are trying to create.

Then drop any views, synonyms etc

alter session set edition=ORA$BASE ;
SELECT SYS_CONTEXT(‘USERENV’, ‘SESSION_EDITION_NAME’) AS edition FROM dual ;

drop view …..

drop synonym ….

How to change weblogic password in EBS Rel 12.2

On CM/Admin Node

cd $ADMIN_SCRIPTS_HOME
adstpall.sh -skipNM –skipAdmin

On Web/Forms Node

cd $ADMIN_SCRIPTS_HOME
adstpall.sh

On CM/Admin Node

perl $FND_TOP/patch/115/bin/txkUpdateEBSDomain.pl -action=updateAdminPassword


Logfile

[applmgr@AM501AMERAP0005 scripts]$ perl $FND_TOP/patch/115/bin/txkUpdateEBSDomain.pl -action=updateAdminPassword

Program: txkUpdateEBSDomain.pl started at Fri Nov 4 10:21:51 2022

AdminServer will be re started after changing WebLogic Admin Password
All Mid Tier services should be SHUTDOWN before changing WebLogic Admin Password
Confirm if all Mid Tier services are in SHUTDOWN state. Enter “Yes” to proceed or anything else to exit: Yes

Enter the full path of Applications Context File [DEFAULT – /u01/install/APPS/fs1/inst/apps/TEST_am501amerap0005/appl/admin/TEST_am501amerap0005.xml]: /u01/install/APPS/fs1/inst/apps/TEST_am501amerap0005/appl/admin/TEST_am501amerap0005.xml
Enter the WLS Admin Password:
Enter the new WLS Admin Password:
Enter the APPS user password:

Executing: /u01/install/APPS/fs1/FMW_Home/webtier/perl/bin/perl /u01/install/APPS/fs1/EBSapps/appl/ad/12.0.0/patch/115/bin/adProvisionEBS.pl ebs-get-serverstatus -contextfile=/u01/install/APPS/fs1/inst/apps/TEST_am501amerap0005/appl/admin/TEST_am501amerap0005.xml -servername=AdminServer -promptmsg=hide -logfile=/u01/install/APPS/fs1/inst/apps/TEST_am501amerap0005/logs/appl/rgf/TXK/txkUpdateEBSDomain_Fri_Nov_4_10_21_51_2022/EBSProvisioner.log
Verifying if ssh is enabled for secondary nodes
Executing: /u01/install/APPS/fs1/FMW_Home/webtier/perl/bin/perl /u01/install/APPS/fs1/EBSapps/appl/ad/12.0.0/patch/115/bin/txkRunSSHSetup.pl verifyssh -contextfile=/u01/install/APPS/fs1/inst/apps/TEST_am501amerap0005/appl/admin/TEST_am501amerap0005.xml -invalidnodefile=/u01/install/APPS/fs1/inst/apps/TEST_am501amerap0005/logs/appl/rgf/TXK/txkUpdateEBSDomain_Fri_Nov_4_10_21_51_2022/invalidnodefile.txt -hosts=am501amerap0005,am501amerap0006
Log: /u01/install/APPS/fs1/inst/apps/TEST_am501amerap0005/logs/appl/rgf/TXK/verifyssh.log
Output: /u01/install/APPS/fs1/inst/apps/TEST_am501amerap0005/logs/appl/rgf/TXK/out.xml
All secondary nodes are ssh enabled

Updating Weblogic Domain in online mode

Backup Location : /u01/install/APPS/fs1/inst/apps/TEST_am501amerap0005/logs/appl/rgf/TXK/txkUpdateEBSDomain_Fri_Nov_4_10_21_51_2022
Logfile Location: /u01/install/APPS/fs1/inst/apps/TEST_am501amerap0005/logs/appl/rgf/TXK/txkUpdateEBSDomain_Fri_Nov_4_10_21_51_2022/updateAdminPassword.log

Executing: /u01/install/APPS/fs1/EBSapps/comn/util/jdk32/jre/bin/java -classpath :/u01/install/APPS/fs1/FMW_Home/wlserver_10.3/server/lib/weblogic.jar:/u01/install/APPS/fs1/FMW_Home/Oracle_EBS-app1/oui/jlib/srvm.jar:/u01/install/APPS/fs1/EBSapps/comn/java/classes:/u01/install/APPS/fs1/EBSapps/comn/shared-libs/ebs-3rdparty/WEB-INF/lib/ebs3rdpartyManifest.jar:/u01/install/APPS/fs1/FMW_Home/Oracle_EBS-app1/shared-libs/ebs-appsborg/WEB-INF/lib/ebsAppsborgManifest.jar oracle.apps.ad.util.UpdateEBSDomain updateAdminPassword -contextfile /u01/install/APPS/fs1/inst/apps/TEST_am501amerap0005/appl/admin/TEST_am501amerap0005.xml -promptmsg hide -logdir /u01/install/APPS/fs1/inst/apps/TEST_am501amerap0005/logs/appl/rgf/TXK/txkUpdateEBSDomain_Fri_Nov_4_10_21_51_2022 -logfile /u01/install/APPS/fs1/inst/apps/TEST_am501amerap0005/logs/appl/rgf/TXK/txkUpdateEBSDomain_Fri_Nov_4_10_21_51_2022/updateAdminPassword.log

All logs and backups for node am501amerap0006 will be present under /u01/install/APPS/fs1/inst/apps/TEST_am501amerap0006/logs/appl/rgf/TXK/txkUpdateEBSDomain_Fri_Nov_04_10_28_21_2022 on the respective node.

Domain updated successfully
Restarting AdminServer with new Admin Password.

You are running adadminsrvctl.sh version 120.10.12020000.11

Stopping WLS Admin Server…
Refer /u01/install/APPS/fs1/inst/apps/TEST_am501amerap0005/logs/appl/admin/log/adadminsrvctl.txt for details

AdminServer logs are located at /u01/install/APPS/fs1/FMW_Home/user_projects/domains/EBS_domain/servers/AdminServer/logs

adadminsrvctl.sh: exiting with status 0

adadminsrvctl.sh: check the logfile /u01/install/APPS/fs1/inst/apps/TEST_am501amerap0005/logs/appl/admin/log/adadminsrvctl.txt for more information …

You are running adnodemgrctl.sh version 120.11.12020000.12

NodeManager log is located at /u01/install/APPS/fs1/FMW_Home/wlserver_10.3/common/nodemanager/nmHome1

adnodemgrctl.sh: exiting with status 0

adnodemgrctl.sh: check the logfile /u01/install/APPS/fs1/inst/apps/TEST_am501amerap0005/logs/appl/admin/log/adnodemgrctl.txt for more information …

You are running adadminsrvctl.sh version 120.10.12020000.11

Starting WLS Admin Server…
Refer /u01/install/APPS/fs1/inst/apps/TEST_am501amerap0005/logs/appl/admin/log/adadminsrvctl.txt for details

AdminServer logs are located at /u01/install/APPS/fs1/FMW_Home/user_projects/domains/EBS_domain/servers/AdminServer/logs

adadminsrvctl.sh: exiting with status 0

adadminsrvctl.sh: check the logfile /u01/install/APPS/fs1/inst/apps/TEST_am501amerap0005/logs/appl/admin/log/adadminsrvctl.txt for more information …

* IMPORTANT **
WebLogic Admin Password is changed.
Restart all application tier services using control scripts.



Inside generateMimeMappingsPropFile()…

/u01/install/APPS/fs1/FMW_Home/user_projects/domains/EBS_domain/config/mimemappings.properties already exists, updating it.

Inside updateMimeMappingsPropFile()…


Inside resetExistingMimeMappings()…

Overwriting the value for the parameter: png
Overwriting the value for the parameter: xml
Overwriting the value for the parameter: js
Overwriting the value for the parameter: svg
Overwriting the value for the parameter: swf

Reset of mime mappings completed.

Inside addMimeMappings()…

Adding of mime mappings completed.
Taking backup of existing mimemappings.properties.

Copying the file

SOURCE : /u01/install/APPS/fs1/FMW_Home/user_projects/domains/EBS_domain/config/mimemappings.properties
TARGET : /u01/install/APPS/fs1/FMW_Home/user_projects/domains/EBS_domain/config/mimemappings.properties_bkp
Copying temporary file as mimemappings.properties.

Copying the file

SOURCE : /u01/install/APPS/fs1/FMW_Home/user_projects/domains/EBS_domain/config/mimemappings.properties_temp
TARGET : /u01/install/APPS/fs1/FMW_Home/user_projects/domains/EBS_domain/config/mimemappings.properties
/u01/install/APPS/fs1/FMW_Home/user_projects/domains/EBS_domain/config/mimemappings.properties updated successfully.
Program: txkUpdateEBSDomain.pl completed at Fri Nov 4 10:32:02 2022
[applmgr@AM501AMERAP0005 scripts]$

On CM/Admin Node

cd $ADMIN_SCRIPTS_HOME
adstrtal.sh

On Web/Forms Node

cd $ADMIN_SCRIPTS_HOME
adstrtal.sh