I am trying to obtain the status of a httpd service with Centos 7. I want to know if i can print only the value of Active, that in this example is inactive (dead) This is the command that i am using: This is the result of that command. This is the output that i a want: inactive (dead). Answer
Tag: centos7
How to turn the screen blanking/sleep mode off under CentOS 7?
After a few minutes my freshly installed minimal CentOS installation blanks the screen and disconnects the WiFi. The system wakes back up, when I hit any key. I am under the suspicion that this is related to the setting of the screen blanking and/or sleep mode. I’ve found a few hints on the web but most of them revolve around
correct way to rename user and remove password with ec2 user-data
I have a centos7 base ami and have successfully changed the user name using the ec2-launch user data modified from an amazon-linux script log in works as expected and home directory has been changed, however when I use sudo it still asks for a password. As I cannot get into the file to check format I wonder if I am
Hamachi not installed on Centos 7 when i follow this steps
I’m trying to install Hamachi on Centos 7, i follow this documents but it was for Centos 5 ,6 Install and Configure LogMeIN ( Hamachi ) on RHEL/CentOS 5/6 Also the link of latest logmein-hamachi is not working, so i use latest version from this link LogMeIn Hamachi for Linux and download last version of hamachi by this command line
Can’t Write to /sys/kernel/ to disable Transparent Huge Pages (THP) for MongoDB on OVH CentOS 7
My Issue I am having trouble removing MongoDB warnings about Transparent Huge Pages (THP) on an OVH CentOS 7 installation, and the issue appears to be the inability to write to /sys/kernel/mm as root. First, I realize the OVH kernel is customized, and I know many of you will say to go with a fresh non-customized kernel, but that’s not
Python returns “SyntaxError: invalid syntax sys module” [closed]
Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers. This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers. Closed 7 years ago. Improve this question
could not to setup crash dump on centos7 for debug kernel
I am trying to setup kdump to generate the vmcore for kernel-3.10.0-123.el7. For the perf kernel kernel-3.10.0-123.el7.x86_64.rpm i setup kdump and kdump is working fine too, generating vmcore. Then i installed kernel-debug-3.10.0-123.el7.x86_64.rpm using yum install kernel-debug-3.10.0-123.el7.x86_64.rpm and kdump worked fine. But then i didnt have vmlinux to read vmcore of debug kernel. Then I build source using rpmbuild from the
Bug: Varnish 4 install on CentOS 7 (systemctl)
Installed Varnish from yum; but immediate error when initiating via systemctl. SELinux is disabled; package was installed via root. This is a fresh install. Answer Looks like you need to reboot. 😉
lxc-clone not working with overlayfs in centos 7
I have created a container say base and I am trying to create a clone of the base container with backing store as overlayfs. But it always fails with the following error, Any way to resolve this issue? Thanks, Vishnu Ganth Answer It sounds as if they overlay filesystem is not available in your kernel. First, check if it is