CentOS is an Enterprise-class Linux Distribution derived from Redhat Enterprise Linux sources freely provided to the public.

learn more… | top users | synonyms (2)

0
votes
0answers
81 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 ...
1
vote
1answer
600 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. ...
0
votes
0answers
154 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
47 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
246 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 ...
1
vote
1answer
657 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
57 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
89 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 ...
0
votes
0answers
112 views

Does PHP --without-unixODBC and --disable-pdo conflict with installed modules?

I've been trying to get PDO ODBC working on CentOS 6.5 so that I can connect to a Microsoft Access .mdb database. I've never used any form of linux before but so far I've managed to install PDO and ...
1
vote
1answer
39 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 ...
0
votes
0answers
45 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
122 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
166 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
280 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
59 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
76 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 ...
2
votes
2answers
1k 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
203 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 ...
1
vote
0answers
47 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
143 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
1answer
35 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
91 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
25 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 ...
-1
votes
1answer
313 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
100 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
54 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
25 views

CentOS 6.5 Apache redirection from external access

I'm quite new to the whole CentOS thing, and I'm running into a few issues. I had LEMP installed, although that faced the same error so I switched to LAMP, I'm now working with that. When I view my ...
0
votes
0answers
274 views

Upgrade apache 2.2 on CentOS 5.1

I need to UPGRADE Apache on a CentOS 5.1 server. Its currently at 2.2.14 and I want to bring it up to the latest 2.2.29. Upgrading the OS is not an option, and I don't want to install Apache 2.4 and ...
0
votes
0answers
40 views

Empty VG, but full?

I'm trying to use KVM with my dedicated server hosted on OVH, but that would require me to have a LVG (logical volume group). I have created the LVG named vg through OVH's control panel and loaded the ...
0
votes
0answers
148 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 ...
0
votes
2answers
298 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
60 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
278 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 ...
0
votes
2answers
88 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 ...
0
votes
1answer
100 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
258 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 ...
1
vote
0answers
135 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
222 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
106 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
637 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
32 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 ...
2
votes
1answer
133 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 ...
1
vote
0answers
322 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
0answers
84 views

Reinstalling Centos 6.4 over current Centos 6.4 OS

I am a newbie to Linux, and I am trying to reinstall Centos 6.4 from an AsteriskNOW CD I have because through an update I believe I lost the res_srtp.so module I installed from an external source. I ...
0
votes
1answer
1k 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
56 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
119 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 ...
1
vote
0answers
68 views

Get KERN_DEBUG messages into syslog on rhel7/centos7?

I've been trying to get KERN_DEBUG messages logged to a file in centos7, but have had no luck. I can get them just fine from "dmesg," but not /var/log/messages or /var/log/dmesg Here's a MWE kernel ...
0
votes
0answers
79 views

CentOS 7 gnome Version Network issue

I just installed Cent-OS 7 with GUI Interface, but now I am logging in but I can not connect to network, in virtual machine I see it's connect with bridge (VMware) but I cannot connect to network, I ...
0
votes
2answers
127 views

CONFIG_LOCALVERSION (CentOS 6.5)

I am in /boot as "root". I edit config-2.6.32-431.el6.x86_46 and added my name to CONFIG_LOCALVERSION="John" But when I type uname -r is just shows the version, but not my name at the end. Am I ...