The Stack Overflow podcast is back! Listen to an interview with our new CEO.

New answers tagged

0

/dev/sdb: Skipping: Partition table signature found fdisk /dev/sdb x ==> MISC : extra functionality (experts only) c ==> DOS (MBR) : toggle the dos compatibility flag d ==> delete all partitions w ==> write table to disk and exit root@dmz:~# pvcreate /dev/sda WARNING: dos signature detected on /dev/sda at offset 510. Wipe it? [y/n]: y Wiping ...


1

When using software RAID, the preferred approach is generally as the one you have, which is to partition the drives, then create several RAID arrays with partitions from the different drives. It's of course possible to create a single array from the raw, unpartitioned drives, then partition the resulting RAID array. However many tools, and particularly ...


1

Turns out, the --with-compat option was causing the issue. I added it because the guide on nginx.com said so, but after removing it and compiling one more time, nginx -t tells me that the config is good.


0

Try this one: 1.) mkdir /lib/modules/$(uname -r) 2.) touch /lib/modules/$(uname -r)/modules.{builtin,order} 3.) for i in /sys/module/*; do echo kernel/${i##**/}.ko; done >> /lib/modules/$(uname -r)/modules.builtin 4.) depmod -a after processed all above steps please reboot your system and then just see boooooommmmmmmm###


0

The problem is somehow related to NFS file locking. Enabling ports for MOUNTD_PORT, STATD_PORT, LOCKD_TCPPORT, and LOCKD_UDPPORT on the server firewall got things working. Those port numbers are defined in /etc/sysconfig/nfs on my system and the appropriate lines are commented by default, it is probably best to make them explicit in order to ensure they ...


2

Unless the package depends another library update or something that was introduced in a point release, a single build for all of CentOS 7 will suffice. You can see examples of this in the updates repositories. Many packages will use a %dist tag that is el7, but you can also see some that are tagged el7_4. See: http://vault.centos.org/7.4.1708/updates/...


4

From a package developer's perspective CentOS == Red Hat Enterprise Linux (without licensed / copyrighted Red Hat content & logo's and without the enterprise support tiers) So you can use the extensive Red Hat documentation (a nice overview here) Compatibility Within A Major Release One of the core goals of the Red Hat Enterprise Linux family of ...


0

All Centos 7.x are juste minor upgrades, so I don't think you need to make the difference in your rpms. All centos packages are suffixed with el7, not with el7.6 or similar so I think you can do that safely (we are doing it for at least two years already).


-1

Stop your amavisd service, start manually clamd@scan and clamd@amavisd. Then restart amavisd systemctl stop amavisd systemctl start clamd@amavisd systemctl start clamd@scan systemctl start amavisd


0

correct command is yum install php71w-bcmath


0

Defining a service level objective will be useful for justifying when changes are needed. That quantifies your "not experiencing any visible lag" assertion, regardless of what your infrastructure looks like. Perhaps you want 99.9% of page loads to be under 100 ms, to maintain the perception of a responsive site. You may want a client side perspective to ...


0

Long story short: "Do not use it, it does not work" Resolution During installation, or even %post script executions, lots of locks are not enabled, as well as lots of required services are not running. That environment is anaconda execution environment and when one does chroot it to the installed machine, the same running environment is used with bind ...


0

You can disable SELinux if systemwide security is non critical. Edit the config file found in /etc/selinux/ .Change status of SELINUX from enforcing to disabled. Save and reboot your server.


0

Your configuration isn't correct, because this isn't how orphan mode is designed to work. Orphan mode is designed to provide a set of configured peers with adequate time sync for a limited time when lower-stratum servers become unreachable. It isn't designed to support full offline operation (NTP doesn't work like that). Your servers aren't syncing with ...


0

Its impossible to tell for sure based on just the uptime figures, but if you have really ascertained that disk io is not the bottleneck (It usually is), then this server is running near capacity. I say this because LOAD/CPU COUNT is close to 1. In reality this means that most of the time there is almost 1 job (per CPU) waiting for resource. I do note that ...


0

CentOS 7. Step 1: sudo yum install sendmail sendmail-cf Step 2: vim /etc/mail/sendmail.mc dnl #DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl DAEMON_OPTIONS(`Port=smtp, Name=MTA')dnl Step 3: cd /etc/mail/; sudo make -C /etc/mail Step 4: systemctl restart sendmail TEST: telnet remoteip 25 Escape character is '^]' Show domain name of email root@...


1

Michael Hampton, was right. Usually IPv6 assigned address is stable therefore before adding a server to the domain you have to check if IPv6 configured and a box received IPv6; Right after join a box to domain, it will create a record in DNS Server with required permissions. In case if statefull mode is use DHCP server has delegated rights to create a ...


3

Here's what I would've done: Create the LV for home Format the LV with the desired file system Reboot with a Live or System Rescue CD Mount / Rename /home to /home-old Mount /home Make the necessary changes to /etc/fstab Copy the data with rsync -av /home-old/* /home/ To check: diff -r /home-old /home If all looks good, reboot the server to it's own OS and ...


7

If you really want to use 4 disks for a RAID1 array, I suggest you to go with a 4-way RAID1 array. In this manner, should a disk fail, you continue to have tripe-protection (3-way array) without needing any rebuild. If you really want a 3-way mirror + hot spare, you can use mdadm --manage --add-spare to add a spare to the RAID1 array. For example, lets ...


0

It is not related to using AWS EC2 service. As You tried to do it with disabled SELinux, You should check the file system permissions. (The folder and file should be reachable und readable by everyone.) What probably happens is, that the setcred fails and because of that (or another permission problem) the connection to dbus is not possible. If first ...


0

Sadly You didn't wrote what You don't got working. ProFTP has an own Umask configuration parameter which is sometimes defaulted to 022 which is a reasonable default, but if unset it uses System defined defaults. In case of FTP-Daemons and such the settings are very likely not taken from /etc/profile or such because that are initialization files for the ...


-1

To check the free space as Jenkins Job: Parameters FREE_SPACE: Needed free space in GB. Job #!/usr/bin/env bash free_space="$(df -Ph . | awk 'NR==2 {print $4}')" if [[ "${free_space}" = *G* ]]; then free_space_gb=${x/[^0-9]*/} if [[ ${free_space_gb} -lt ${FREE_SPACE} ]]; then echo "Warning! Low space: ${free_space}" exit 2 fi else echo ...


0

Cheap solution : buy a second vps and synchronise the blog on it (for example using mysql master/master replication and unison for files). Install heartbeat and haproxy, for example : https://www.howtoforge.com/setting-up-a-high-availability-load-balancer-with-haproxy-heartbeat-on-debian-lenny If there is any apache or mysql problem on the first server, ...


0

389 documentation on the basics like upgrading is rather sparse, as they defer to Red Hat Directory Server. Which on a different version number. Even with all the confusion, the Red Hat DS docs regarding upgrading from the early versions (7?) may be useful. Regarding schemas, pre-migration tasks includes copying over the schema files. If you had an ...


4

The host key fingerprints and the "Are you sure you want to continue connecting?" prompt is generated by your SSH client, not the remote sshd. No amount of configuration on the sshd server will change that. The setting you need to change in either your local personal ~/.ssh/config or in local system-wide /etc/ssh/ssh_config is StrictHostKeyChecking. If you ...


0

hope this help: this command may be kill the processes under the session scope, so be careful to use this command systemctl | grep "abandoned" | grep -e "-[[:digit:]]" | sed "s/.scope.*/.scope/" | xargs -r systemctl stop ref: https://github.com/systemd/systemd/issues/1961#issuecomment-309335320


1

Linux machines make clumsy Samba clients, as you are discovering. It isn't at all surprising that the Windows guests on the new CentOS machine have no difficulty connecting to the Samba server because they're fully fledged Windows machines, after all, simply connecting through the virtual network on their host and then the LAN to the Samba server. All the ...


1

You can use the following command: rpm -Uvh https://rpmfind.net/linux/centos/7.6.1810/os/x86_64/Packages/samba-4.8.3-4.el7.x86_64.rpm"


0

I had to reboot the box to fix this. I'm sure there's a better solution, but in absence of that... kick it all over.


0

Not a full solution, but it got me into the BIOS to change the setting. power down for minimum 15 seconds, disconnect, open box, jumper on CMOS Reset jumpers (left of battery) for 5 seconds minimum (< 10 seconds), then reconnect and boot. The issue I have now is that my OS won't boot. I'm trying settings for the two SSDs in RAID and non-RAID ...


5

Red Hat provide the tool leapp to upgrade from EL 7.6+ to 8, however according to this CentOS bug, there are no plans to support it on CentOS. Trying to point an existing 7.x machine to the 8.x repos and running yum update will likely not work; it's never been a supported method. Your only choice is a reinstall.


1

My first thoughts are that you might want to check your iostats after that, it starts to sound like a caching issue.


1

Your domain tamamsouq.com have a DNSSEC related problem, which you can see if you go at http://dnsviz.net/d/tamamsouq.com/dnssec/ This is the first problem to address. In summary, you put a DS record at the parent zone but your nameservers do not publish any related DNSKEY record. This will make your domain as failed for any recursive nameserver checking ...


0

The problem is not that it's a VPS, the problem is that it's an OpenVZ VPS. These are not actually virtual machines, but containers. On these you cannot do anything with kernel modules without the intervention of the hosting provider. I recommend you switch to another VPS, which is not based on OpenVZ or other container technology.


1

Took a few minutes to work this out - the problem is a typo. The nameservers are ns1.checkerinc.net and ns2.checkersinc.net - however you put dns1.checkersinc.net and dns2.checkersinc.net. While the latter domains exist, they do not appear to be authorative servers. The solution is to log into your registrar and update the DNS records. to remove the "d" ...


Top 50 recent answers are included