New answers tagged

0

No more free space on the volume group for guest logical volumes. Note the volume group pools have 0 free. /dev/vg_tvchost4/root mounted at / is 5.57 TB, most of the space of disk /dev/sda. Reducing a volume is often tricky, and in this case XFS cannot be reduced. Backup data. Reinstall the OS, delete these volumes, and change the storage sizing. Consider ...


0

In dn: olcDatabase={2}hdb,cn=config you specify which rule to replace/add. My system has password access rules in dn: olcDatabase={-1}frontend. Make sure to target the correct rule.


2

You moved files (without the -Z option) instead of copying them, so they carry their original SELinux contexts instead of the appropriate contexts for their destination. When you created a new file, it had the correct SELinux context already. You can use restorecon to fix the SELinux contexts on the affected files, for example: restorecon -rv <directory&...


0

Please check if std.syslog() calls occur in your VCL code. They might be responsible for this behavior. By removing them, you'll get rid of the "no cookie" output in your syslogs.


0

Upgrade to a newer PHP, as of June 2021 7.3 or 7.4. And subscribe to IUS's notices and testing repo so version updates are not a surprise in the future. PHP 7.2 is no longer available from IUS as upstream support ended. Indeed, the repo name stands for Inline with Upstream Stable. Their scheme of version number in the package name enables choice of version ...


1

while read p; do echo "$p" tar -xf archive.tar $p tar --delete -f archive.tar $p done < tar -tf archive.tar


1

Here are the relevant commits: iproute2 commit: ss: Include -E option for socket destroy events Use the IPv4/IPv6/TCP/UDP multicast groups of NETLINK_SOCK_DIAG to filter and display socket statistics as they are destroyed. Kernel support patch series: 24029a3603cfa633e8bc2b3fb3e48e76c497831d Signed-off-by: Craig Gallek kraig@google.com kernel commit ...


3

The common rwx permissions only applies to file content. File attributes, like ownership and permissions can only be changed by the file owner or root. So if testfile.txt belongs to luca, whatever are the permissions of nick regarding this file, he will be not able to change its permissions.


1

I suspect your max_allowed_packet and the presence of a large TEXT/BLOB field. I answered two questions in the past that involved mysql crashing because of the max_allowed_packet being too small. MySQL server has gone away obstructing import of large dumps InnoDB table SELECT returns ERROR 2006 (HY000): MySQL server has gone away (after power outage) I ...


0

This is impossible. iptables control the Netfilter, which is an IP packet filter (a firewall) that acts on OSI level 3 and 4. DNS domain names are higher level (and somewhat orthogonal) thing than that. You may control access to some IP addresses (L3) and TCP/UDP ports (L4) with Netfilter. If you want to control access to web sites, you have the following ...


2

sshpass is available from EPEL repository. Technically not a part of CentOS, but easy to enable if you wish. Passwords are insecure, consider any other method of ssh auth instead. sshpass's reason for existing is a hack to get around OpenSSH intentionally making this difficult.


0

Note that, in Centos 7, as default and without a MySQL restart, the slow query log is enabled in this position: /var/lib/mysql/$HOSTNAME.log See the other answers to discover how to apply your persistent configuration and how to move it to another position.


1

The problem is caused by the socket having permissions which do not allow other users than root to connect to this socket. Please adjust the permissions of the socket in the mysql server configuration (most of the time its my.cnf somewhere in /etc ) or check the group that the socket is owned by, and add this user to this group, also remember to set ...


2

I don't see your full config and don't know, how and where do you include that sitemap.conf file, but I'd rather did it in a complete different way. With your existing map block it would look like location = /sitemap.xml { # use '$domain' variable as a part of the full path to 'sitemap.xml' file root /var/www/domain/sitemaps/$domain; # no trailing ...


0

@Michael Hampton many thanks for your answer, I am able to install ffmpeg and here is the output: /etc/yum.repos.d> ffmpeg ffmpeg version 4.3.2 Copyright (c) 2000-2021 the FFmpeg developers built with gcc 8 (GCC) configuration: --arch=x86_64 --bindir=/usr/bin --datadir=/usr/share/ffmpeg --disable-debug --disable-static --disable-stripping --enable-...


0

You are trying to install a package for CentOS 7, on CentOS 8. This cannot work. You must install the corresponding package built for CentOS 8. It also appears that you have added a yum repository for CentOS 7 on this system. This also will not work as none of its packages can be installed. Replace it with the corresponding yum repository for CentOS 8.


2

Faced a similar issue while migrating an old VM. I had to remove google-compute-daemon.noarch from old vm and update the guest environment. Also make sure that you have installed followings: gce-disk-expand.x86_64 1:20200716.00-g1.el7 @google-cloud-compute google-cloud-sdk.noarch 293.0.0-1 @...


-2

make sure that login with root user .. su - Enter password ---root password.. It is worked for me.


0

From the anaconda driverdisc.txt: The new DriverDisc format uses simple layout which can be created on top of any anaconda's supported filesystem (vfat, squashfs, ext2 and ext3). / |rhdd3 - DD marker, contains the DD's description string /rpms | /i386 - contains RPMs for this arch and acts as Yum repo | /i586 | /x86_64 | /ppc | /... - any other ...


0

The information at the following link may be useful. https://www.tecmint.com/restrict-sftp-user-home-directories-using-chroot/


1

Had a similar issue. For some people initial page load of my website took like 14 seconds. But once it was loaded it was super fast. On my dev-machine I also had a mod_rewrite rule like that which also was extremly slow (~14 seconds): RewriteRule ^(.*)$ http://www.example.com/$1 [L,R=301] When I opened that page directly in my browser on the dev-machine ...


1

You need to first find out if company policy requires to preserve the log file for auditing purposes. Depending on that, you can either remove the file or archive it. If it is free to delete, you can remove the file by running rm Openswan.log. After that, you need to restart the Openswan daemon. You need to look into your distribution's service management ...


1

I advice you to start in rescue mode and access into mono user mode, this will give you the chance to extract the most value info from this server, after this you can build a new machine but based now on CentOS 8 which is more compatible with Ryzen CPUs. As a work around, once you got acces in mono user mode and already make a backup of all your information, ...


0

It seems this issue can occur if you are using a http mirror (perhaps a local on-site proxy repository for example) that doesn't support Delta RPMs. The fix in that particular scenario is to add the following line to your /etc/yum.conf file: deltarpm=0


1

How does OpenSSH / NSS determine the address to use for a hostname with multiple DNS entries? getaddrinfo() the libc name resolver. Every address resolved is attempted, see sshconnect.c ssh_config is sometimes useful as a crude name resolver because HostName real name keywords can go under Host or Match blocks. Problem is, I don't know of a way to modify ...


0

Forgive me if this is not helpful, but this saved me when facing similar issue: https://www.tecmint.com/extend-and-reduce-lvms-in-linux/


0

Your volume group is already created with initial physical volume therefore showing space of the initial physical volume only. I will suggest you to follow following steps: Remove your initial volume group. Create a physical volume with the new disk spaces. Create a volume group containing both the first and second physical volumes. The new volume group ...


0

With newer yum versions (>= 3.2.28-13 at least), and for more than 10 years now (since the end of 2010), you can use yum autoremove pkg and it will automatically take care of removing the unused dependencies.


1

Pretty late to the party but I found this while troubleshooting a same or similar circumstance and discovered some additional things to consider. Realize OP's box may not even exist anymore, but I think the provided answers can be expanded upon some. Maybe this will help others who find this in search of the same kind of troubleshooting. The APIPA route is ...


1

Although I definitely feel doublesharp's pain (just ran into this problem as well), doublesharp's answer here should not be used (not secure). The problem here is that sshd's internal-sftp is being executed before /usr/sbin/jk_chrootsh can be executed, WHICH NEEDS TO BE EXECUTED FOR SECURITY REASONS. So all you need to do to fix this issue is make sure that ...


Top 50 recent answers are included