Skip to Main Content

Oracle Database Discussions

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!

reset backup

user609448Jul 30 2020 — edited Jul 30 2020

Hi.

Our database Oracle

Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production              0

PL/SQL Release 12.2.0.1.0 - Production                                                    0

CORE 12.2.0.1.0 Production                                                                  0

TNS for Linux: Version 12.2.0.1.0 - Production                                            0

NLSRTL Version 12.2.0.1.0 - Production                                                    0

on Linux

is running good. But we need to forget all archived log files because they are very many.

In short we need to create new backup life of our database.

What is the best way to do it ?

Thanks in advance.

Andrii.

This post has been answered by Sunny kichloo on Jul 30 2020
Jump to Answer

Comments

Dude!
To setup and troubleshoot VNC server is not difficult. The below is from my notes:
1. Type 'vncserver' to start the VNC server:

[oracle@ol1 ~]$ vncserver

New 'ol1.example.com:1 (oracle)' desktop is ol1.example.com:1

Starting applications specified in /home/oracle/.vnc/xstartup
Log file is /home/oracle/.vnc/ol1.example.com:1.log


2. To make sure VNC server is running:

[oracle@ol1 ~]$ ps -ef | grep vnc

oracle   12177     1  0 23:40 pts/1    00:00:00 Xvnc :1 -desktop ol1.example.com:1 (oracle)
-httpd /usr/share/vnc/classes -auth /home/oracle/.Xauthority -geometry 1024x768 -depth 16
-rfbwait 30000 -rfbauth /home/oracle/.vnc/passwd -rfbport 5901 -pn
oracle   12491 12148  0 23:48 pts/1    00:00:00 grep vnc

3. Verify VNC server is listening for connections and show TCP port:

[root@ol1 ~]# lsof -i tcp:5901
COMMAND   PID   USER   FD   TYPE  DEVICE SIZE NODE NAME
Xvnc    12177 oracle    4u  IPv4 5068242       TCP *:5901 (LISTEN)

4. Kill VNC server:

[oracle@ol1 .vnc]$ vncserver -kill ol1.example.com:1
To start a VNC session on your client computer:
Use VNCViewer or any other VNC client i.e. /System/Library/CoreServices/Screen Sharing (MacOSX).
In the address filed type your server's IP address and port. e.g. ol1.example.com:5901

You can then also connect to the server using a normal ssh session without X-Forwarding and
display a X-Windows application on the remote VNC client:

[oracle@ol1 .vnc]$ export DISPLAY=:1
[oracle@ol1 .vnc]$ xlock
1 - 1

Post Details

Added on Jul 30 2020
4 comments
106 views