LinuxCNC Project

Category LinuxCNC / Posted on 5 Jun 2017 by Steffen Schulze

Billedder kommer snart

ORA-38781: cannot disable media recovery - have guaranteed restore points

Category Oracle Database 11g / Posted on 19 Aug 2016 by Steffen Schulze

ORA-38781: cannot disable media recovery - have guaranteed restore points

Skete i forbindelse med en opgradering, eller rettere efter, so to speak

SQL> SELECT name, guarantee_flashback_database, scn FROM v$restore_point
 
SQL> /

NAME
--------------------------------------------------------------------------------
GUA        SCN
--- ----------
BEGIN_UPGRADE_11G
YES   26788149

og en base der stod og genrerede archives og flashback

SQL> drop restore point BEGIN_UPGRADE_11G;

Restore point dropped.

SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup mount
ORACLE instance started.

Total System Global Area 1069252608 bytes
Fixed Size                  2166160 bytes
Variable Size             616567408 bytes
Database Buffers          444596224 bytes
Redo Buffers                5922816 bytes
Database mounted.

SQL> ALTER DATABASE FLASHBACK OFF;

Database altered.

SQL> ALTER DATABASE NOARCHIVELOG;

Database altered.

SQL> alter database open;

Database altered.

CentOS 7 update using “yum update” does not work

Category CentOS / Posted on 13 Aug 2016 by Steffen Schulze

CentOS 7 update using “yum update” does not work

I have a VM running CentOS 7 that I have not used for a long time. Today I launched it and tried to update the CentOS system to the latest version using yum update, but I got a lot of errors:

Loaded plugins: fastestmirror, langpacks http//bay.uchicago.edu/centos/7.0.1406/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found Trying other mirror. http//mirror.cs.pitt.edu/centos/7.0.1406/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found Trying other mirror. http//mirror.anl.gov/pub/centos/7.0.1406/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 403 - Forbidden Trying other mirror. http//mirror.pac-12.org/7.0.1406/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found Trying other mirror. http//centos.expedientevirtual.com/7.0.1406/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found Trying other mirror.

Many other similar errors are omitted ...

Trying other mirror. Loading mirror speeds from cached hostfile * base: bay.uchicago.edu * epel: csc.mcs.sdsmt.edu * extras: mirror.ancl.hawaii.edu * nux-dextop: li.nux.ro * updates: centos-distro.cavecreek.net No packages marked for update

I deleted the colon after http in the above error messages to avoid warnings. I think these errors might come from the CentOS version I am using: 7.0.1406 -- since current latest version is a new one, say, 7.0.1588 or something, the corresponding path does not exist and hence the HTTP error 404. But how to have my current CentOS automatically adjust the path name to the latest version and be able to update from the correct URL? Thanks.


Run the following command to clean the metadata:

yum clean all

This will clean all yum caches including cached mirrors of your yum repositories. On the next run it will get a new list of mirrors.


The CentOS-Base.repo file in /etc/yum.repos may have changed since you installed. Current mirror list is as below, with the baseurl= line commented out.

mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra

1 2 3