CentOS stands for Community ENTerprise Operating System, the most popular Linux distribution for web servers with almost 30% of all servers using it. Third-party software is not included in the base.

learn more… | top users | synonyms

1
vote
0answers
36 views

Centos cURL connection refused on Its own IP

I have two services on one server (with different ports to access them). One of my services is trying to connect to the other one with the IP of server and its specific port. But I got some errors ...
0
votes
1answer
61 views

Make directory writable on /var/www/html (Centos 7)

This below question are related to my question on Stack Overflow. I got following error when I went to generate an image on a particular directory: imagejpeg(/var/www/html/assets/files/captcha/...
2
votes
1answer
32 views

Where can I find the DHCP client logs in centos

I am running a PC with centos Linux. I have two ethernet ports. One configured as DHCP server and the other to use DHCP to obtain IP address(client). I am interested in getting the history of lease ...
0
votes
1answer
22 views

Apache leading to system lock/freeze

The conclusion in the title may be wrong given that the problem is close to a year old and just now was I able to get some info on the issue. This is on a centos 5, running on an old PIII with 384 MB ...
2
votes
1answer
59 views

Pacemaker Resource always stopped

I'm setting pacemaker for heartbeat seeing the doc https://skcave.wordpress.com/2014/11/04/creating-high-availability-cluster-with-centos-7/ When I set the pacemaker as above, there is no problem. ...
1
vote
1answer
564 views

Block port 111 on centos 7

I am using a server with centos 7 running kvm/virtualization, I access using VNC server. Today I received an warning about my server being used to attack other server using port 111, I am completely ...
0
votes
0answers
12 views

Strange outpout for lsblk - what does it mean?

On one server, lsblk works fine: root@new-server [/home/buttle/public_html]# lsblk -o NAME,PHY-SeC NAME PHY-SEC sda 512 |-sda1 512 |-sda2 512 `-sda3 512 On another server, the ...
1
vote
0answers
25 views

Automatic updates for Oracle Java Runtime on CentOS

I'm a longtime user of Ubuntu and use webupd8 repository to install and automatically update my Oracle JRE on Ubuntu. Is there something similar that enables me to do the same on CentOS 7 (or RHEL)? ...
1
vote
1answer
103 views

Missing /var/log/messages file in CentOS 6.8

I'm not sure what I'm doing wrong, but my Linux box doesn't seem to be logging any info to the messages file. Will someone please help? Here's the content of the /etc/rsyslog.conf file # rsyslog v5 ...
1
vote
0answers
44 views

Getting error: “Error constructing proxy for org.gnome… Could not connect: Connection refused” when running gnome-terminal

I am getting the error: "Error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/Factory0: Could not connect: Connection refused" when I try to run gnome-terminal. I am running CentOS 7. I ...
1
vote
0answers
33 views

OpenSSL with added CA certificate on CentOS

So the problem is: I'm trying to add CA certificate on CentOS (on server) and check the working of SSL of one of my clients domain. The same thing works perfectly on Ubuntu: How do you add a ...
1
vote
2answers
53 views

What is the different between giving user root privileges and adding it to root's group

In Centos 7 I use visudo to grant root privileges, and I'm wondering what is the different between: myuser ALL=(ALL) ALL and # usermod -aG wheel myuser
0
votes
0answers
42 views

SFTP on Centos 7

I just started using Linux/Centos like a week ago so please excuse my knowledge. I configure the Centos 7 or a VM everything goes well. I setup HTTP and mySQL all goes well, but now when I setup SFTP ...
0
votes
1answer
32 views

yum install updates up to a specific date

Is there a way to run yum update, but have it only install packages up to a certain date? An update that took place overnight (as it does everynight), caused issues, and now after reloading CentOS, I ...
3
votes
1answer
35 views

How to set up Postfix to save the message body in the log file?

I need all the body of incoming and outgoing messages are written to the log file. How to setup Postfix to do that?
1
vote
0answers
48 views

PuTTy can't establish SSH tunnel

I'm trying to set up remote debugging for PHP using Xdebug and PhpStorm. My local development machine has Windows 7 and the remote machine has CentOS 6. I'm following this guide to no avail: https:/...
1
vote
0answers
26 views

X forwarding freeze after source server is restarted by watchdog

I am currently working on an issue with the Xforwarding of a QT application over lan. Our source server is forwarding the interface of our application using the command "screen -dm" to a client ...
0
votes
0answers
138 views

Linux Command to list all FTP users in shell including the users created using vsftpd

I have created a few ftp accounts/users on my CentOS server using vsftpd. Now I would like know the username of that accounts using SHELL. I have root password to access the SSH. I have tried to find ...
0
votes
0answers
28 views

KVM windows guest no working network

I try to install windows as a KVM guest on a headless CentOS 6 machine, all works (can even access it over vnc, using an X forwarding SSH session), but I am stuck at the windows networking. All my ...
0
votes
2answers
35 views

cron job on centOS 6.5

I have used these 2 references to insert a new crontab entry. redhat ubuntu I have created a new bash file and moved it to /usr/bin. That sh file has execute permissions for the root user and the ...
-3
votes
1answer
26 views

i want to remove java completely out of my centos machine, ie uninstall it completely

Iam pretty new to centos operating system. iam trying to completely uninstall java from my machine. what is the command which will completely wipe out java from my machine. i have tried but i think ...
0
votes
0answers
24 views

Can't access Samba shares after moving to another server

Here's the issue: I've recently decided to move whole Samba service to new server without recreating everything again. So, I installed Samba on CentOS 6.7 and overwrote the following: /etc/passwd, /...
1
vote
1answer
209 views

WHM warning about invalid permissions on /etc/shadow, “Expected: 3377602730, Actual: 0644”

I've been getting some alert messages sent by my WHM instance, warning about invalid permissions on my shadow file. However, the actual permissions (0400) seem correct, and the permissions it reports ...
2
votes
1answer
228 views

how to create rescue initramfs image on centos 7?

After my last launch yum update my test box have kernel-3.10.0-327.13.1 installed. While installing, dracut generated initramfs-3.10.0-327.13.1.el7.x86_64.img, but initramfs-0-rescue-...
0
votes
0answers
9 views

md-raid1 with three mirrors became raid0 after removing one mirror while power off. how to fix it?

I create md-raid1 with three devices: mdadm --create \ /dev/md22 \ --level=1 \ --raid-devices=3 \ /dev/sd[a-c]2 and got nice raid mdadm -D /dev/md22: /dev/md22: Version : 1.2 ...
0
votes
0answers
94 views

How to set localtime/timezone in the most generic and distro-agnostic way?

I've created a docker container, which is running in the wrong timezone. I personally need it to run in my timezone (Europe/Stockholm, GMT+1). Since the project is open source, other users may also ...
0
votes
1answer
37 views

EDAC bridge lost 6000+ errors

I've setup two new servers for virtualization, and after working with them for a few hours i noticed a lot of error messages, starting at boot I get an error saying `EDAC sbridge: lost 150 memory ...
0
votes
1answer
27 views

systemd service to set virsh default storage pool

I'm trying to run a script on system boot after an kickstart automated installation, the script just changes the default storage pool for KVM. But for some reason the changes don't take effect, if I ...
0
votes
0answers
41 views

CentOS Switching off USB Ports when installing on Linux

I have a PC that I want to install CentOS on. It currently has Ubuntu running on it. When I boot from the CentOS Installation Drive (USB) the keyboard and mouse turn off, thus I cannot continue the ...
0
votes
0answers
17 views

How do I add an index page to the GitLab bundled NGINX?

I've recently installed GitLab, and I'm using the bundled NGINX with it. I've been able to successfully set it up, and put it on mydomain.com/lab Great! Only problem is that when you go to mydomain....
0
votes
0answers
42 views

Why does the output of `lsblk` and `df -h` seem to conflict?

I'm trying to create a directory /mnt/data that will be mounted on to /dev/mapper/centos-home, since that's the biggest partition. The output of lsblk looks like this: NAME MAJ:MIN RM ...
0
votes
0answers
20 views

KVM/Virtualbox Virtualization with no physical network

I recently tried KVM as virtualization platform. I also use VirtualBox occasionally. In every instance of deploying guest OSes, I always do one of these two: 1) set up network as NAT, guest not ...
0
votes
2answers
51 views

Linux / Folder and /root folder

I searched now a while but couldn't find an answer to this question. I have a Linux based server (centOs). In the root folder (/) i have a folder called root (/root). Now when I sudo cd root/ i ...
0
votes
1answer
132 views

Trying to install GitLab on Apache on CentOS 7

Hey SuperUser community, I'm new to this forum so I'll make this quick. I'm an amateur CentOS System Administrator. I'm teaching myself as I go, but I recently hit a stumbling block. I'm trying to ...
0
votes
1answer
22 views

How to copy between guest OS (Windows 7) running inside Oracle virtual machine 5.0 to host OS (CentOS Release 4.0 final)

Need help to resolve copy and paste bidirectional from guest OS (Windows 7) and host OS (CentOS Release 4.0 final) or from host OS to guest OS I applied tick mark to bidirectional Drag-n-Drop and ...
4
votes
1answer
33 views

Resize LVM on KVM CentOS 6 VM

I've got a base image that I'm booting my VM's from. The base image is only 1.5GB. Different VM's will have different requirements for disk space. I've setup the VM with the default setting: VolGroup ...
0
votes
0answers
7 views

Why can I not view the /home folder as a regular user in Centos?

I'm on Centos 5 and I'm trying to view the /home folder with my regular user account. I have sudo rights I added my user to the same groups as my root user, but I still don't get permission to view ...
0
votes
2answers
59 views

tail/head all line except X last/first Lines

for example i have this file : cat myfile 1 2 3 4 5 i want to print all lines except first 2 line . output should be like this : tail -n $(( $(wc -l myfile | awk '{print $1}') - 2 )) myfile 3 4 5 ...
3
votes
0answers
84 views

Cloned CentOS not booting up

I recently cloned a CentOS6 environment from 1TB HDD and intended to restore its image to a 4 TB space. I used Clonezilla for this. The clone went successful, but after that when I tried to restore ...
0
votes
0answers
19 views

How to introduce “setx” command on CentOS 5.2

I'm working on a CentOS 5.2 system (I know it's very old, but it's the customer's choice). I am running a program, which internally performs some setx commands, but it seems that setx is not ...
1
vote
1answer
49 views

Cpanel/WHM not working [closed]

Everything work fine, suddenly today afternoon Both cpanel and WHM stop working. But still the website and SSH work fine, But i am unable to open cpanel or whm, when i opening using IP xxx.xxx.xxx....
0
votes
1answer
16 views

Where is the email address for maillog set?

I've got a CentOS 6.7 system that currently emails a certain address to send system messages (for example, it emailed with the body "Terminated" to indicate a process spawned by cron that was killed ...
0
votes
0answers
9 views

How do I setup a tmux session to always use a particular scl?

I'd like to be able to setup a tmux session that more or less transparently runs everything in a particular scl environment, specifically scl enable python27 .... By transparently, I mean that when I ...
0
votes
1answer
25 views

Apache on VM is not reachable from LAN

I have a CentOS machine installed on VMware Fusion and connected to my LAN through a bridge connection. Everything works fine, I can Surf on internet from the guest machine. Ping other network ...
0
votes
0answers
50 views

VLC in Centos6 fails to play DVD

I installed vlc into my Centos 6.7 from epel and nux-dextop using these instructions. Install went OK but there are problems in playing DVDs. I managed to play a DVD containing material I recorded ...
0
votes
0answers
8 views

Virtual memory size same Python application on Centos 7 and RH 5.2

Is there a reason why the same python app and code consumes about 90MB of virtual memory size in Red Hat 5.2 32bits python 2.4 and abut 300MB in Centos 7 64 bits with python 2.7? Both app's versions ...
0
votes
1answer
1k views

How can I set up remote capturing in Wireshark, capturing from a CentOS server on my Windows laptop?

I'm looking to capture packets from a remote server network interface. The remote server is running CentOS and has tshark installed. I'm working on a Windows 8 machine with Wireshark installed. I'...
1
vote
1answer
176 views

CentOS 6.7 configure: error: dlopen not found

I'm trying to configure LibreOffice On-Line WebSocket server before installing but the following error is thrown: configure: error: dlopen not found Full output: [root@SBX-EXT-001-002 loolwsd]# ./...
0
votes
1answer
49 views

Windows 7 host, CentOS guest - internet connection

I have troubles connecting a CentOS guest on Virtualbox running on a Win 7 host. The host has been given two adapters: Host-only and NAT. ip a vi 03 Note: setting GATEWAY=10.0.2.2 still results ...
0
votes
1answer
84 views

Hyper-V 2012 R2 different disk speed on CentOS and Debian

I found unexplained difference between running CetOS 7.1 and Debian 8.3 on Hyper-V 2012 R2. I create similar VM on similar hardware. Both virtual machines installed on 600 GB SAS 15K in RAID0 via ...