Questions specific to the CentOS Linux distribution. Use this tag if your question relates to how the CentOS distribution affects your problem; do not use it if you just happen to be using CentOS and your question is about a specific configuration detail or syntax.

learn more… | top users | synonyms (2)

1
vote
1answer
259 views

Cannot use free space in filesystem

I want to install a program but it says that there is not enough free disk space more than 11 GB although there is. df -h shows: Filesystem Size Used Avail Use% Mounted on ...
1
vote
1answer
10k views

IP Address not populating in eth0 in ifconfig

One of my servers at work does not connect back to us (so I can't SSH into it). I asked the person on the site to do numerous things: sudo /sbin/service network restart It comes up with this: I ...
5
votes
1answer
13k views

service command does not work in centos 7

I used to use service command for restarting, reloading, and checking status of service on centos 6.5 like below: $ sudo service nginx restart OK $ sudo service nginx status ...
0
votes
0answers
70 views

server can't read newly installed centos 6.1

I have a server that has 12TB and I used RAID 1+0(RAID 10) so my logical drive in the server is now 6TB + (6TB Mirror) when I install the CentOS v.6.1 in the server, the installation has no problem at ...
0
votes
0answers
106 views

Running centos on a virtual machine as a webserver

I have taken the VM image of our webserver (CentOS/jboss) and would like to run it locally on my mac as a virtual machine so I can use it as a webserver when I am offline - I am using VM Fusion. The ...
4
votes
1answer
9k views

Why does my systemd unit fail to run on server reboot?

I'm having troubles getting a systemd service unit file to run correctly when the server reboots. This server is a fresh CentOS 7.0.1406 install. I'm trying to set it up with multiple Apache httpd ...
1
vote
2answers
3k views

How to start teamspeak server on reboot as specific user

Linux version on the server is Centos 7.0. Teamspeak server runs with this command: ./opt/teamspeak3-server_linux-x86/ts3server_startscript.sh start My server doesn't have 100% uptime. Therefore, ...
0
votes
3answers
2k views

Change login user account when accessing server through Putty

I am a very new systems administrator. I have been hired in as a junior and came from a Windows administration back ground. I have about one month of Linux experience. I have a lot of resources that ...
0
votes
1answer
350 views

Can call login command from terminal

I want to create a user using useradd from root in my terminal window, after it I call passwd to set user's password. So I cant call login username because when I call it from terminal it closes ...
5
votes
4answers
19k views

Whitelist IP's in CentOS 7

I want to setup CentOS 7 firewall such that, all the incoming requests will be blocked except from the originating IP's that I whitelist. And for the Whitelist IP's all the ports should be accessible. ...
1
vote
0answers
509 views

Centos 7 - Encrypted installation won't boot

I installed CentOS 7 netinstall (minimal installation) on a VServer with the following partitions: /boot - 200MB - XFS / - 50GB - XFS Encrypted swap - 512MB - swap Encrypted I ...
0
votes
0answers
298 views

what would cause runcobol to fail for certain users?

I have RM/COBOL Runtime - Version 7.10.00 running on a CentOS 6.5 box (VM) This CentOS allows SSH access to certain domain users by authenticating their group with the local domain controller. These ...
0
votes
1answer
8k views

CentOS 7 Live CD?

On this video at 1.09 I see CentOS 7 Live CD which allows to start CentOS directly from CD without installing it. How can I make such disk? I've downloaded .iso file from official web site, burned ...
21
votes
2answers
19k views

How display log messages from previous boots under CentOS 7?

Executing journalctl under a CentOS 7 system just prints messages generated after the last boot. The command # journalctl --boot=-1 prints Failed to look up boot -1: Cannot assign requested ...
2
votes
1answer
1k views

Yum installation of package specific modules

I was playing around with texlive package recently and found out that there is a way to install tex style packages with yum install 'tex(package.sty)' command. I've never seen package name was ...
0
votes
1answer
167 views

How to open root directory on second HDD?

My situation is very specific. I've applied chmod -R 777 / on my CentOS 7 server, so my system screwed up on next reboot. I took server HDD home and connected it via SATA cable to my home PC. Now I've ...
1
vote
2answers
123 views

showkey -s doesn't display scancodes in CentOS 6.4

I'm running CentOS 6.4 on vagrant and then doing a vagrant SSH into the box. I've been trying to get backspace to work correctly for a while now (as chronicled here: Centos Terminal Configuring ...
1
vote
1answer
213 views

loadkeys has (almost) no effect

I'm running CentOS 6.4 on vagrant and then doing a vagrant SSH into the box. I've been trying to get backspace to work correctly for a while now (as chronicled here: Centos Terminal Configuring ...
2
votes
2answers
5k views

Re-partitioning /home partition in CentOS

I have a CentOS 7 system with a /home partition that is too large. I wish to reduce its size but it's XFS so that's pretty much impossible. Since I don't have much user data anyway (only 1 user ...
1
vote
3answers
1k views

auto creation of bash profiles?

Following the instructions at this nice walkthrough here. I have successfully configured my CentOS 6.5 Server to authenticate with my domain. Additionally, it only allows domain users of the group ...
0
votes
2answers
2k views

vgdisplay shows 0 free PE/size

I'm trying to configure a CentOS HA system with 2 nodes, with DRBD for replicated storage. I'm following the "Clusters from Scratch" guide, and at the DRBD portion, I need to create a partition for ...
1
vote
1answer
166 views

Static networking between CentOS and Windows Server 2008

I am trying to set up static networking between my Linux VM and Windows Server 2008 VM. One thing I am confused about is that currently the Linux box only displays an eth0 adapter when I type ifconfig ...
1
vote
1answer
631 views

Access old version of file

I was working on a file locally in Notepad++ and uploaded it via FTP to server - during the upload something went wrong without me realising and the uploaded file is now empty (size shows as 0). I ...
12
votes
1answer
21k views

The name > org.freedesktop.PolicyKit1 was not provided by any .service files

When attempting to launch system-config-users from command line, I get the following warning, and the tool does not open. I'm using CentOS 7 with Mate 1.8.1. WARNING **: Error enumerating ...
-2
votes
1answer
945 views

Delete all mails from inbox using linux command prompt

How can I delete emails from an individual email account? e.g. how can I empty userxyz@mydomain.com? I know the following: /var/spool/mail/mydomain /var/mail/mydomain I have many inboxes some of ...
2
votes
0answers
366 views

SNAT with firewall-cmd?

I have an interface with multiple IP Addresses (on CentOS 7), which is in zone "external" (with masquerade on). I want to specify that, if a connectiona attempt to a specific address goes out, to use ...
0
votes
2answers
462 views

How to run screen as non-root user in CentOS 5

I've followed this guide http://centoshelp.org/resources/scripts-tools/a-basic-understanding-of-screen-on-centos/ Now, seems like I am having trouble running screen with non-root user, because ...
0
votes
2answers
176 views

Memcached on a webserver

We host a Magento webshop hosted by Amazon EC2, and we have speed issues. We're currently looking at moving to another provider. We found one hosting provider where we have a test account now. Speed ...
1
vote
1answer
265 views

CentOS 6.5 : machine with more that 1 TB RAM => “no free pages available” on boot

I have a upgraded a server with more than 1 TB of RAM, and it is unable to boot. With 768GB of RAM all is working fine. I got the following message : Trying to allocate 1005 pages for VMLINUZ. ...
1
vote
0answers
62 views

Installing an OS from source on separate partition. Is this possible?

I'm trying to install Minimal CentOS on a small partition and the installer quits and brings me to a prompt every time. It says something like it can't find initrd.img. I was wondering if I could ...
0
votes
1answer
3k views

Static IP for Wifi Centos 7

Can someone explain to me how to setup a static ip for wifi on CentOs 7? This the configuration file I have for the network using DHCP: ESSID="Network name" MODE=Managed KEY_MGMT="key type" ...
0
votes
0answers
385 views

Unable to install CentOS 7

I have been trying to install CentOS 7 on a computer with no success so far. I am able to boot the live USB media, but the problem is the CentOS installation referring the HDD always as /dev/sdb. No ...
0
votes
1answer
8k views

How can I see settings of the email server?

I have root access to a Linux server (CentOS 5.10). I want to see the email server's settings such as whether SMPT is working, wheter there is an email server, port number, does it require SSL, what ...
0
votes
0answers
481 views

Connection failed to any VPN!

PPTP VPN and OpenVPN don't connect and both return error about VPN Secret in my CentOS 6.4 x64 machine! I've already tested the configurations in Windows and Ubuntu with no problem. I also noticed ...
1
vote
2answers
2k views

Windows Server 2012 R2 and Centos 7 dual boot: Windows gone from boot menu

I had in my mind that I cannot do much wrong when installing Linux (CentOS 7) after Windows (Server 2012 R2) to get all OSs as boot options. So, after installing Server 2012 R2 nicely, I installed ...
2
votes
1answer
350 views

What's the difference between TYPE and DEVICETYPE directives in ifcfg scripts?

While learning the Network Teaming objective of the RHCE (RHEL7) exam I noticed that examples use DEVICETYPE directive in the ifcfg scripts for master and port interfaces. I knew there was TYPE ...
0
votes
1answer
3k views

How to surpress audit daemon rotating log messages?

On a CentOS 7 system messages like these are logged several times a day: Sep 24 00:11:42 example.org auditd[756]: Audit daemon rotating log files Sep 24 00:26:23 example.org auditd[756]: Audit daemon ...
1
vote
2answers
860 views

What is the difference between installing software as root versus user?

I just installed CentOS 7 with Gnome desktop. In doing so, I created a root password, and added a user. Now I am logged in as the user. I like to install MariaDB server, PHP, and other software. To ...
1
vote
1answer
356 views

Telnet no echo output from xinetd script

I have have installed xinetd, and I wrote a script: #!/bin/bash echo "Some text" touch /home/somefile I made a service configuration under /etc/xinetd.d/ and basically it works when I connect to ...
1
vote
0answers
774 views

No volume groups found after restoring CentOS image to VirtualBox VM

I used Clonezilla to backup an HP Proliant server running CentOS 5.10. I restored the image to a VirtualBox VM but when I try to boot I get an error of "No volume groups found" "Volume Group ...
2
votes
1answer
637 views

Problems while executing slimerjs on linux (Centos 6.5 32bit)

I'm not used to work with Linux yet I wanted to try to use slimerjs on a Linux vps in order to have access to php exec function since most hosting companies disable that function. I did manage to ...
4
votes
2answers
827 views

Centos 6.5 only using 24GB/48GB of memory

I recently installed an additional 32GB of memory in my Dell PowerEdge R900 home virtual machine server. Memory check passed and I booted into CentOS. When I opened the Virtual machine manager and ...
1
vote
0answers
377 views

Yum or Reposync: How can I slowly remove a repository without unintended dependency issues?

I have used reposync to create and maintain local copies of two repositories, remi and remi-test. These are repositories maintained by Remi Collet. On several systems in an internal LAN, I added both ...
2
votes
3answers
4k views

CentOS 7 created mdadm array disappears after reboot

I created a raid1 using the below disks and command: $ ls -l /dev/disk/by-id/ata-ST3000* lrwxrwxrwx 1 root root 9 Sep 19 07:27 /dev/disk/by-id/ata-ST3000DM001-9YN166_Z1F04NR1 -> ../../sdc ...
1
vote
1answer
56 views

Empty kernel processes on CentOS vps : 2 different servers

I'm not sure I'm asking correctly, or perhaps I'm just looking at the wrong things. I'm migrating from one CentOS Vps (on an OpenVZ box) to another CentOS VPS (on a VMWare box). VPS #1 = CentOS ...
3
votes
1answer
8k views

How to Mount a Drive with Right Filesystem?

I am trying to mount the device /dev/xvdc on my CentOS system. When I run an fdisk command I get: Device Boot Start End Blocks Id System /dev/xvda1 * 1 33 ...
2
votes
1answer
19k views

CentOS 7 persistent routing issue?

I have Googled a lot but still can't find a working way on how to make some persistent routes on centOS 7. [root@asd network-scripts]# route -n Kernel IP routing table Destination Gateway ...
0
votes
1answer
5k views

Unable to install ATI Catalyst drivers under CentOS 7

I'm getting an error running ./amd-driver-installer-14.20-x86.x86_64.run # ./amd-driver-installer-14.20-x86.x86_64.run Created directory fglrx-install.xjgOcJ Verifying archive integrity... All good. ...
1
vote
1answer
151 views

Keychain SSH Key Manager prevents SFTP login on CentOS

I installed keychain and added this to my .bashrc in CentOs to help manage my SSH Keys: /usr/bin/keychain --clear $HOME/.ssh/id_rsa source $HOME/.keychain/$HOSTNAME-sh So on SSH login I am prompted ...
1
vote
1answer
723 views

What is the default behavior of %install?

I am attempting to build an RPM using the -bb flag (%prep %build %install %check package). This is the output of the %install step: Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.2kgeNY + umask 022 ...