The solution you're are looking for calls watchdog. BTW. Linux uses a watchdog deamon, too, to ensure services are up and running.
A Discussion about it and fragments of solutions for scripts can be found here:
4 You to know and Steps to solve the problem:
This was most likely built on a different OS version, one that had a newer version of gcc/g++/libstdc++
You can either chase down a newer version of libstdc++ and put it somewhere that your app can find it (using LD_LIBRARY_PATH) or build from source.
Personally I’d not chase this stuff down and I’d run it under docker. There seems to be an official image ...
Late answer, but I was having the same issue and was looking for a solution. For CentOS you can install the package libmemcached / sudo yum install libmemcached.
Now the pitfall: memcdump is not available, it is named memdump in CentOS. Same for memccat, it is memcat. It seems this is due in Ubuntu memdump being already taken.
There is a way, but it is quite tricky and might mess up your servers, so be very careful.
online : your system that is connected to the repositories
offline: your system that is not connected
Compress your rpm database from the offline system and transfer it to the online system:
tar -cvzf /tmp/rpmdb.tgz *
By default OpenLDAP logs to local4.
For logging you'll also want to set olcLogLevel to an appropriate value in cn=config.
olcDBIndex is your friend.
Under CentOS7 the standard thing to do is use mdb rather than bdb. Though even on CentOS6 you should have an hdb.
When SELinux is enabled, your containers' volumes should be placed in subdirectories of /var/lib/docker/volumes. Volumes in your home directory will have SELinux contexts that do not allow Docker containers to access them.
You need to shutdown the container, delete ./mysql/mysql.sock from the host and start it again. For some reason there already is a socket file there and it needs to be removed to start the service correctly.
For future readers: this may actually be related to the clients having a stateful firewall blocking the responses from the tftp server. The firewall won't see the responses as established or related connections, and therefore drop/block.
I had the same issue. Replaced a faulty drive (after failing and removing from RAID 1), but then could not add it back. Was getting resource busy all the time.
SOLVED AS FOLLOWS...
The problem was that the system had mapped my new disk as md126 and md127 (not sure why). So I had these two extra drives showing up unconnected, but present in cat /proc/mdstat....
yum doesn't have exactly that output. history shows all transactions and can undo them, list installed shows current version, and update shows the new packages to be installed after dependency resolution.
Write a yum plugin that prints the output you want if you like. However, a person at the prompt is tedious and doesn't scale.
Consider instead enabling ...
ip rule add from 10.8.8.200/26 table rt3
the /26 part is telling the machine that it should be sending out the result in the same netmask as the interface receiving it.
we just edited this part and changed it to /32 so it represents the same interface and ip it received it.
the 255.255.255.255 or /32 means only one host could be assigned and it is the ...
The PHP core packages installed are the from the IUS repo (php71u) so that means you should install php71u-bcmath to have that module wire up with the IUS PHP installation.
php-bcmath is the default CentOS PHP module so it will conflict. php71-php-bcmath may be from the SCLo repo which doesn't explicitly conflict with the IUS PHP, but is not the one you ...
Put you development team to a hold, you are about to change the configuration.
Create a directory on your new drive or a location with enough space, in my case, to give some future location independence, will use a link instead of an absolute location.
mkdir /drive2/repos # create a new base directory
ln -fs /drive2/repos /repos # create a link on the ...
Steps to troubleshoot your issue:
Run the tcpdump and check the traffic.
Do you see incoming TCP-SYN packets? If don't or you see incoming TCP-SYN packets and repeated sent TCP-SYN-ACK - check a network device before your server.
You see incoming TCP-SYN packets, but don't see any replies. Check the firewall with iptables-save -c. The order of rules is very ...
I suggest to test out with a small SOHO router if you can or remove DPI from your router.
As it work in the LAN and not via the WAN please know that some enterprise class router do DPI, deep packet inspection, and can have difficulty when large number of traffic passtru them.
I had similar issue with a old Cisco ASA and the mail server of a customer that ...
Some instructions for troubleshutting:
Run netstat to see the connections and the process that are attached to each socket:
sudo netstat -nlpt
Check that the process corresponds to what you think should be listening and serving (Apache)
Check system limits with ulimit, to see if the maximum number of processes has been reached:
Try to access ...
Using parted in Knoppix as root worked for me.
knoppix@microknoppix $ su
root@microknoppix $ parted <device>
This will list the partitions on the device.
Use the command rm # where # is the entry in the returned list.
It will tell you it can’t. Do it again and then type print again. It will show a blank where the partition used to ...
You will have to build a NAT solution, you may use IPtables for this purpose.
Here is a good article for you:
You may also do something fancy and use LVS. This will essentially enable you to forward packets to multiple destination and work as a load-balancer.
Based on https://www.centos.org/forums/viewtopic.php?t=60252, in CentOS 7, you can make the power button shut down the system by uncommenting the line in /etc/systemd/logind.conf:
(To quote from the config file: see logind.conf(5) for details.)
yum provides is very close to rpm -qf , but yum can search in non-installed packages . rpm will search only on installed package .
[email@example.com ~]$ yum provides /usr/bin/alien
Loaded plugins: fastestmirror, langpacks
Repodata is over 2 weeks old. Install yum-cron? Or run: yum makecache fast
Loading mirror speeds from cached hostfile
* base: centos....
I was able to solve the problem by following the excellent cPanel documentation, I hope it can help someone else. Remembering that the includename.conf files can not count the VirtualHost tag, just the content inside it.
The ld.so(8) man page explains:
A list of directories in which to search for ELF libraries at
execution time. The items in the list are separated by either
colons or semicolons, and there is no support for escaping
This variable is ...
Additionally to the answer posted by @wurtel, logcheck needs to write the .offset files. We need to create them, and make them read-/writeable with for the logcheck user only:
chmod 600 /var/log/messages.offset
chown logcheck /var/log/messages.offset
chmod 600 /var/log/secure.offset
chown logcheck ...
Another option (albeit definitely not the best answer): make a dummy rpm file with the name in question.
You will need rpmbuild installed, and a dummy tarball.
tar -zcf ~/rpmbuild/SOURCES/example.tar.gz empty.txt
Write the dummy spec file. This one works for me on Fedora 29. It should be good on CentOS 7 too....
"I've installed foobar version 2, compiled from sources"
Take the extra effort when adding custom software to your system and package your additions in a RPM. See Martin Streicher, 2010-01-12, Building and distributing packages, IBM on how to do that.
Then install that resulting RPM so it can and will play nice with your package manager's conflict and ...
This is not how rpm works.
rpm uses a db where it stores which rpms are installed on the system. If you install some files manually, rpm does not know about it.
The best way to solve this is to install foobar 2 with an rpm. Other solutions would only be workaround and would not work in the long run.
The nginx source tarball doesn't include a systemd unit. If you insist on running a copy built by yourself from source then you will need to provide the systemd unit file yourself. You can find one in the RPM package.
BTW your explanation of why you aren't doing this doesn't make much sense; almost everyone actually needs most of the modules you have ...
My suggestion is instead of building it from source, you can follow their installation on RHEL/CentOS on their site http://nginx.org/en/linux_packages.html#RHEL-CentOS
Can you also provide some logs so we can figure out your issue?
Add NM_CONTROLLED=no to your configuration files and enable the 'network' service at startup.
chkconfig network on
Then disable the NetworkManager service.
/bin/systemctl disable NetworkManager.service
Restart your machine.
This is a really old question but I found it trying to resolve the same issue. I think I have found the solution (at least it worked for me).
I found that if I remove the "user" option the problem goes away. Or, if I use "user,exec" in place of just "user".
I finally found at the bottom on one version of the man page:
user Allow an ordinary user to ...
You have an obsolete PHP version installed, which is blocking your CentOS upgrade.
To resolve the problem, upgrade to a Remi repository containing a current PHP version. Then try the CentOS 6-7 upgrade again.
Red Hat does provide support of a major version upgrade from RHEL 6 to 7, but only in some specific scenario's with some rather strict requirements. The same also holds also for CentOS 6 --> 7 upgrades
See the Migration PLanning Guide for the current requirements and details, but one requirement is that:
Your system includes only the following package ...
There is not an officially supported direct upgrade path from CentOS 6.x to 7.x so the process is to backup the CentOS 6.x server, followed by a new install of CentOS 7.x and then import the back up data from you old CentOS 6.x server.
Requires: iproute(x86-64) = mptcp_v0.94-5.fc24
The version tags indicate this is a Fedora 24 package you are attempting to use on CentOS 7. This will not work.
Find an equivalent el7 package. Or compile it yourself against el7.
Do not use the new disk /dev/sdc. Extend the existing virtual disk backing /dev/sdb, resize its partition, and resize the file system on /dev/sdb1.
Multiple disks is only practical if you are using LVM, or have multiple file systems at different mount points.
If you're having this problem with a Synology NAS, then check that the vers= option specified to mount and the min/max SMB versions on the NAS are compatible.
Specifically, I'm using vers=2.0, but my Synology Diskstation was triggering the Host is down error. I found a page, Windows 10 access to NAS share. SMB 1.0 and 3.0, on the Synology website that ...