Hello,
I'm having a strange problem booting a new centos7 installation. Below some
background on this. [I have attached the tech details at the bottom of this
message]
I started a new CentOS7 installation on a VM, so far all good, o/s boots
fine. Then I decided to increase VM disk size (initially was 10G) to 13G.
Powered off the VM, increased the vhd via the hypervisor, booted from
CentOS livecd, selected "recover my centos installation". Then I used the
following sequence of commands to make …
[View More]the new vhd size "visible" to the
o/s ...
- ran fdisk /dev/sda and deleted partition 2. (This is the LVM partition
where the o/s is stored. The first partition is /boot [xfs] partition *non
lvm*.)
- created a new partition with same starting sector as before deleting it,
but a different ending sector (to reflect to the increased space).
- set partition type to 8e (lvm), saved settings and exit.
- ran pvresize and lvresize to make new space visible to the o/s.All good,
I can see the space increase on 'lvdisplay centos/root'.
- ran 'mount /dev/mapper/centos-root /mnt/root' to temporarily mount the
o/s partition.
- ran 'xfs_growfs /mnt/root' to resize the o/s fs to the new size. It was
successful and I could actually chroot to the o/s and verify new disk size.
- rebooted and tried to boot from hdd this time. Grub menu shows up and
loads default kernel (3.10.0-862.9.1.el7.x86_64).
- after initial kernel boot up process, booting continues to initrd and
then it's where the problem starts...
- looks like dracut has issues locating/enabling /dev/mapper/centos-root
(lv) and as a result it cannot boot to the 'real' root fs (/).
- while in dracut shell, I execute the following command sequence:
1. lvm lvchange -ay /dev/centos/root
2. lvm lvchange -ay /dev/centos/swap
3. ln -s /dev/mapper/centos-root /dev/root
4. exit
...and the o/s boots fine...so looks like the pv,vg,lv is detected properly
while in initrd, but somehow dracut has difficulties enabling the root,swap
LVs ?
- While in o/s, I rebuild initrd by using: 'dracut -f -v -a lvm'
Note, I have to use '-a lvm' as for some reason, if don't, the lvm utils
(lvm,lvm_scan) are not being included to the initrd, not sure why this
happens.
After rebooting, same thing happens, I have to manually boot the system via
dracut shell.
I'm a bit stuck at this point, any clues what I'm doing wrong in here ?
As I previously said, this is a new installation, so I could simply
reinstall the whole thing, but I would rather try to find out some answer
to why is this happening ... :-) [curiosity]
Some additional details:
==================
I've attached /run/initramfs/rdsosreport.txt file [generated while in
inird] here:
https://privatebin.net/?fdc4052c0c402884#gdB/QYR3IeR55SxUbjfrkZPQfJ7jMxiUxq…
o/s ver=CentOS Linux release 7.5.1804 (Core)
[root@localhost ~]# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 13G 0 disk
├─sda1 8:1 0 500M 0 part /boot
└─sda2 8:2 0 12.5G 0 part
├─centos-root 253:0 0 11.5G 0 lvm /
└─centos-swap 253:1 0 1G 0 lvm [SWAP]
[root@localhost ~]# cat /etc/default/grub
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT="console"
GRUB_CMDLINE_LINUX="rd.lvm.lv=centos/root rd.lvm.lv=centos/swap rd.shell
rhgb"
GRUB_DISABLE_RECOVERY="true"
[View Less]
Hi everyone,
There's been discussions in the past about updating MATE RPMs in EPEL-7:
https://bugzilla.redhat.com/show_bug.cgi?id=1436260https://lists.centos.org/pipermail/centos/2019-August/173154.html
(and lots of others...)
As a proof-of-concept, I've written some scripts that clone specific
commits from the Fedora master branches, and then runs a tool to
re-apply RPM scriptlets that are required by EL7 but removed from the
Fedora .spec files.
The scripts are available at:
https://…
[View More]github.com/gebailey/mate-rpms/tree/master/1.20/el7
There's also instructions there if you want to try upgrading to MATE
1.20 w/o rebuilding them yourself.
If these packages work for others, perhaps we can revisit the idea of
updating the epel7 branches of the Fedora git repos and submitting an
official update.
There's nothing here (yet) about building MATE 1.22 (which might require
a newer gcc for EL7), or building anything on CentOS 8, but thought the
CentOS 7 users might find this helpful.
-Greg
[View Less]
Hello dear CentOS community,
I'm writing on this mailing list because I'm discovering CentOS 8 after
several years of practice on CentOS 7.
One of my main concern about a distribution is Bug Fixes and Security
Fixes. For CentOS 7, all fixes where identified on CentOS-Announces
lists with CESA, CEBA and CEEA which is a good thing in order to
identify how a distribution can be broken, vulnerable.
However, I didn't find any announcement for CentOS 8. I tried to
investigate about any …
[View More]changes about announcement policies but I didn't
find anything reliable.
So I'm asking here what is exactly the status about announcements for
CentOS 8 ? Is it a thing who totally disappeared replaced by Red Hat
advisories or is it something different ? Or maybe it is just not
planned yet ?
Explanations would be very welcomed.
Thanks for your answer
Regards,
Olivier Bonhomme
[View Less]
I have managed to get through the qtmake stage of compiling the current github version of pgmodeler on CentOS 7 but make && make install fails with:
make && make install
cd libutils/ && ( test -e Makefile || /bin/qmake-qt5 -o Makefile /home/h/pgmodeler/libutils/libutils.pro CONFIG+=release PREFIX= BINDIR= PRIVATEBINDIR= PRIVATELIBDIR=/lib ) && make -f Makefile
make[1]: Entering directory /home/h/pgmodeler/libutils' g++ -c -pipe -O2 -g -pipe -Wall -Wp,-…
[View More]D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -O2 -std=gnu++1y -Wall -W -D_REENTRANT -fPIC -DBUILDNUM=\"20201030\" -DBINDIR=\"\" -DPLUGINSDIR=\"/lib/pgmodeler/plugins\" -DPRIVATEBINDIR=\"\" -DCONFDIR=\"/share/pgmodeler/conf\" -DDOCDIR=\"/share/pgmodeler\" -DLANGDIR=\"/share/pgmodeler/lang\" -DSAMPLESDIR=\"/share/pgmodeler/samples\" -DSCHEMASDIR=\"/share/pgmodeler/schemas\" -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -isystem /usr/include/libxml2 -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtPrintSupport -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtCore -Imoc -isystem /usr/include/libdrm -I/usr/lib64/qt5/mkspecs/linux-g++ -o obj/exception.o src/exception.cpp In file included from src/exception.cpp:18:0: src/exception.h:41:11: error: ‘underlying_type_t’ in namespace ‘std’ does not name a type constexpr std::underlying_type_t<Enum> enum_cast (Enum obj_type) noexcept ^ src/exception.cpp: In constructor ‘Exception::Exception(ErrorCode, const QString&, const QString&, int, Exception*, const QString&)’: src/exception.cpp:295:86: error: ‘enum_cast’ was not declared in this scope configureException(QApplication::translate("Exception",messages[enum_cast(error_code)][ErrorMessage].toStdString().c_str(),"", -1), ^ src/exception.cpp: In constructor ‘Exception::Exception(ErrorCode, const QString&, const QString&, int, std::vector<Exception>&, const QString&)’: src/exception.cpp:314:86: error: ‘enum_cast’ was not declared in this scope configureException(QApplication::translate("Exception",messages[enum_cast(error_code)][ErrorMessage].toStdString().c_str(),"",-1), ^ src/exception.cpp: In static member function ‘static QString Exception::getErrorMessage(ErrorCode)’: src/exception.cpp:371:25: error: ‘enum_cast’ was not declared in this scope if(enum_cast(error_code) < ErrorCount) ^ src/exception.cpp: In static member function ‘static QString Exception::getErrorCode(ErrorCode)’: src/exception.cpp:382:25: error: ‘enum_cast’ was not declared in this scope if(enum_cast(error_code) < ErrorCount) ^ src/exception.cpp: In static member function ‘static QString Exception::getErrorMessage(ErrorCode)’: src/exception.cpp:378:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ src/exception.cpp: In static member function ‘static QString Exception::getErrorCode(ErrorCode)’: src/exception.cpp:386:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ make[1]: *** [obj/exception.o] Error 1 make[1]: Leaving directory /home/hakan/pgmodeler/libutils'
make: *** [sub-libutils-make_first-ordered] Error 2
I am a beginner when it comes to compiling applications and would appreciate suggestion how to fix the above. Thank you.
[View Less]
Running CentOS 7 I have a previously combined backup of a disk with three partitions using dd. I now need to restore one single file from this backup and after perusing the internet, specifically https://unix.stackexchange.com/questions/31669/is-it-possible-to-mount-a-gz…, I have done the following:
- installed squashfs-tools
- installed kpartx
- made a squash image of the dd backup and mounted it
- used kpartx to create devices for the three partitions under /dev/mapper/loopNpP
- I can …
[View More]now mount the first partition, which is the EFI partition, and access it
- the second partition, the boot partition, fails to mount since it has the same UUID as the disk I am using in the computer, and of which it is an earlier dd backup. Since I am not interested in the boot partition - at least not right now - I moved on.
- I am, however, interested in the third partition which is LUKS encrypted. Running 'cryptsetup luksOpen /dev/sda3 my_encrypted_volume' I can decrypt it with the password
- trying to mount the decrypted version with 'mount /dev/mapper/my_encrypted_volume /media/my_device' results in a failure message 'mount: unknown filesystem type 'LVM2_member'
- another website, https://askubuntu.com/questions/766048/mount-unknown-filesystem-type-lvm2-m…, suggests I could run vgdisplay to get the UUID and then rename it using vgrename
But, vgdisplay shows only one vg and I am afraid to rename the VG UUID shown by vgdisplay since it might refer to the VG currently in use...
Does anyone have any insight or suggestions into the above and how to proceed while being absolutely certain I will not be messing up the running part of the system?
Thanks!
[View Less]
Just installed the above USB webcam but it is not recognized by dmesg | grep usb, nor does Zoom recognize it. I was under the understanding it should not require a driver, or?
I am running CentOS 7.
Thanks.
Hi,
I've started migrating my sites to mariadb which is supposed to be a
drop-in replacement of mysql. Both run on the same C6 box. DB folders were
moved to a new location after both DB servers were stopped and properly
upgraded. There were no reboots or power failures. Nevertheless I see these
error messages in the logs:
# cat /var/opt/rh/rh-mariadb102/log/mariadb/mariadb.log
...
2020-11-29 16:38:23 139882501732320 [Note]
/opt/rh/rh-mariadb102/root/usr/libexec/mysqld: ready for connections.
…
[View More]Version: '10.2.22-MariaDB' socket:
'/var/opt/rh/rh-mariadb102/lib/mysql/mysql.sock' port: 3307 MariaDB Server
2020-11-29 16:38:23 139882394105600 [Warning] Access denied for user
'UNKNOWN_MYSQL_USER'@'localhost' (using password: NO)
2020-11-29 16:39:37 139882394105600 [ERROR] mysqld: Table
'./wordpress@002dstorefront/wp_wc_customer_lookup' is marked as crashed and
should be repaired
2020-11-29 16:39:37 139882394105600 [ERROR] mysqld: Table
'wp_wc_customer_lookup' is marked as crashed and should be repaired
2020-11-29 16:39:37 139882394105600 [ERROR] mysqld: Table
'./wordpress@002dstorefront/wp_wc_customer_lookup' is marked as crashed and
should be repaired
2020-11-29 16:39:37 139882394105600 [ERROR] mysqld: Table
'wp_wc_customer_lookup' is marked as crashed and should be repaired
2020-11-29 16:39:37 139882394105600 [Warning] Checking table:
'./wordpress@002dstorefront/wp_wc_customer_lookup'
...
2020-11-29 17:16:17 140059421116384 [Note]
/opt/rh/rh-mariadb102/root/usr/libexec/mysqld: ready for connections.
Version: '10.2.22-MariaDB' socket:
'/var/opt/rh/rh-mariadb102/lib/mysql/mysql.sock' port: 3307 MariaDB Server
2020-11-29 17:16:18 140059356550912 [Warning] Access denied for user
'UNKNOWN_MYSQL_USER'@'localhost' (using password: NO)
2020-11-29 17:20:01 140059356550912 [ERROR] mysqld: Table
'./wordpress@002dstorefront/wp_options' is marked as crashed and should be
repaired
2020-11-29 17:20:01 140059356550912 [ERROR] mysqld: Table 'wp_options' is
marked as crashed and should be repaired
2020-11-29 17:20:01 140059356550912 [Warning] Checking table:
'./wordpress@002dstorefront/wp_options'
2020-11-29 17:20:02 140059356550912 [ERROR] mysqld: Table
'./wordpress@002dstorefront/wp_posts' is marked as crashed and should be
repaired
2020-11-29 17:20:02 140059356550912 [ERROR] mysqld: Table 'wp_posts' is
marked as crashed and should be repaired
2020-11-29 17:20:02 140059356550912 [Warning] Checking table:
'./wordpress@002dstorefront/wp_posts'
2020-11-29 17:20:02 140059356550912 [ERROR] mysqld: Table
'./wordpress@002dstorefront/wp_actionscheduler_claims' is marked as crashed
and should be repaired
2020-11-29 17:20:02 140059356550912 [ERROR] mysqld: Table
'wp_actionscheduler_claims' is marked as crashed and should be repaired
2020-11-29 17:20:02 140059356550912 [Warning] Checking table:
'./wordpress@002dstorefront/wp_actionscheduler_claims'
2020-11-29 17:22:28 140059356550912 [ERROR] mysqld: Table
'./wordpress@002dstorefront/wp_usermeta' is marked as crashed and should be
repaired
2020-11-29 17:22:28 140059356550912 [ERROR] mysqld: Table 'wp_usermeta' is
marked as crashed and should be repaired
2020-11-29 17:22:28 140059356550912 [Warning] Checking table:
'./wordpress@002dstorefront/wp_usermeta'
2020-11-29 17:22:31 140059356550912 [ERROR] mysqld: Table
'./wordpress@002dstorefront/wp_woocommerce_sessions' is marked as crashed
and should be repaired
2020-11-29 17:22:31 140059356550912 [ERROR] mysqld: Table
'wp_woocommerce_sessions' is marked as crashed and should be repaired
2020-11-29 17:22:31 140059356247808 [ERROR] mysqld: Table
'./wordpress@002dstorefront/wp_woocommerce_sessions' is marked as crashed
and should be repaired
2020-11-29 17:22:31 140059356247808 [ERROR] mysqld: Table
'wp_woocommerce_sessions' is marked as crashed and should be repaired
2020-11-29 17:22:31 140059356550912 [Warning] Checking table:
'./wordpress@002dstorefront/wp_woocommerce_sessions'
...
Note that after the crashed table was repaired mariadb reported multiple
crashed tables in the same DB after restart. Any pointers? Never had such
problems with mysqld. Is mariadb reliable and stable at all?
# cat /etc/centos-release
CentOS release 6.10 (Final)
# rpm -qa '*maria*'
rh-mariadb102-mariadb-server-utils-10.2.22-1.el6.x86_64
rh-mariadb102-mariadb-common-10.2.22-1.el6.x86_64
rh-mariadb102-mariadb-10.2.22-1.el6.x86_64
rh-mariadb102-mariadb-server-10.2.22-1.el6.x86_64
rh-mariadb102-mariadb-config-10.2.22-1.el6.x86_64
rh-mariadb102-mariadb-errmsg-10.2.22-1.el6.x86_64
rh-mariadb102-runtime-3.0-5.el6.x86_64
TIA,
AK
[View Less]
All,
This is a friendly reminder.
CentOS 6.10 will EOL at the end of November 2020.
During the first week in December 2020, the 6.10 directory will move to
vault.centos.org
Packages will still be available at:
http://vault.centos.org/centos/6.10/
However, once moved, there will be no more updates pushed to
vault.centos.org. Therefore, security issues will no longer be fixed,
etc.
You should take the rest of the month to either move to a newer versoin
of CentOS Linux ... or to …
[View More]procure Extended el6 support from Red Hat (EUS
RHEL 6).
Thanks,
Johnny Hughes
[View Less]
Hi,
Here's a question to the fine-tuning gurus.
Yesterday while installing a fresh CentOS server, I wondered how big of a deal
the physical position of the swap partition on the disk is.
Here's an example of a simple MBR partitioning scheme on a legacy BIOS machine
with a 60 GB SSD:
* /dev/sda1: 500 MB /boot ext2
* /dev/sda2: 4 GB swap
* /dev/sda3: 55 GB / ext4
In the old (Slackware) days, I created the partitions manually using fdisk.
Now when I do something similar in Anaconda, I …
[View More]have to reason in terms of mount
points. So in a similar order I create the /boot partition, the swap partition
and the root partition.
What happens here is that Anaconda will always invert the root and swap
partitions and put the swap partition at the end of the disk. So my setup looks
like this:
* /dev/sda1: 500 MB /boot ext2
* /dev/sda2: 55 GB / ext4
* /dev/sda3: 4 GB swap
I'd be curious to know what's the reason behind this, and if this kind of
configuration detail is really significant.
Cheers,
Niki
--
Microlinux - Solutions informatiques durables
7, place de l'église - 30730 Montpezat
Site : https://www.microlinux.fr
Blog : https://blog.microlinux.fr
Mail : info(a)microlinux.fr
Tél. : 04 66 63 10 32
Mob. : 06 51 80 12 12
[View Less]
Hi,
I've always been a bit puzzled by the fact that Anaconda provides no option to
manually create a partition table and specify if it's MBR or GPT.
>From what I can tell - at least under CentOS 7.x - Anaconda will default to
MBR, even if I specify a BIOS Boot partition. Maybe it switches automatically
to GPT if the disk size requires it ( > 2 TB IIRC) though I don't have any
corresponding hardware here to test it.
Is this documented somewhere? Or is there a nifty little trick to tell …
[View More]Anaconda
to prefer GPT partition tables?
Cheers,
Niki
--
Microlinux - Solutions informatiques durables
7, place de l'église - 30730 Montpezat
Site : https://www.microlinux.fr
Blog : https://blog.microlinux.fr
Mail : info(a)microlinux.fr
Tél. : 04 66 63 10 32
Mob. : 06 51 80 12 12
[View Less]