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

learn more… | top users | synonyms (2)

1
vote
1answer
4k views

SELinux Write access for vsftpd and samba

This should be easy enough I think, but I'm new to SELinux. I have a CentOS 6 file server. I have some LVM file systems at /var/media and I want to use both Samba and FTP to share them with a Windows ...
1
vote
3answers
160 views

Force all network traffic go through default gateway

I have a machine that I want to force all traffic to go through the default gateway. Even traffic on the local network. I have made it to work by removing the auto generated route for this interface, ...
8
votes
2answers
83k views

Installing git “sudo: apt-get: command not found”

I am trying to install git. I run the following command: sudo apt-get install git-core git-gui git-doc But receive the following error: sudo: apt-get: command not found What should I do?
0
votes
0answers
38 views

Disabled root Access, how to use FTP

I removed the ability to login using 'root' to stop brute force attacks on my server, instead logging in as a regular user then 'su root' to the root if required. I need to use FileZilla to move, ...
0
votes
0answers
20 views

How to make a background service to capture commands and their output?

Is there anyway to make a background service capture all the commands executed by a user and also save the output in a text file?
0
votes
0answers
15 views

Centos Redhat Cluster LICI RUCCI

I have 3 systems [Normal Desktops College LAB] with 2 Network Interfaces each node1.test.com : Public IP : 10.10.10.2 Cluster Hearbeat: 192.168.1.2 node2.test.com : Public IP : 10.10.10.3 Cluster ...
3
votes
4answers
24k views

Yum update problems on CentOS 6.5 minimal as VMware guest

INFO: I am using Windows 7 Pro (64bit) with VMware Workstation version 10.0.1 . I am using CentOS(64bit) 6.5 minimal, for the first time. I am running this from my workplace network, which may use a ...
0
votes
1answer
33 views

Why is my CentOS 6 system doing IPv6 lookups?

I have a fairly recently installed CentOS 6.6 system. I have disabled IPv6 as best I can: IPV6INIT=no in ifcfg-[eth0|lo] net.ipv6.conf.all.disable_ipv6 = 1 in /etc/sysctl.conf ...
0
votes
1answer
25 views

rsyslog adding unwanted text to outbound log data

I'm using rsyslog to send access & error log data to a remote server. The interface is in place, but I'm getting an extra bit of text in the outbound log data that isn't included in ...
10
votes
4answers
32k views

Commands not found: netstat, nmap on CentOS 7

I'm using the following CentOS: $ cat /etc/centos-release CentOS Linux release 7.0.1406 (Core) The commands nmap, netstat and lsof are not found on CentOS7. Why? $ type -a nmap bash: type: nmap: ...
2
votes
0answers
176 views

“xrandr: Failed to get size of gamma for output default” for Guest CENTOS 6.6, HOST OS Windows 7 enterprise

I am getting the following errors: xrandr: Failed to get size of gamma for output default Screen 0: minimum 640 x 480, current 1024 x 768, maximum 1024 x 768 default connected 1024x768+0+0 0mm ...
0
votes
1answer
28 views

centos firewall seems block dhcpv6 reply message

It's very strange that my CentOS cannot receive dhcpv6 reply message from dhcpv6 server. I have enabled the rule dhcpv6-client. Every time I try to bring up the interface, dhcpv6 request messages are ...
0
votes
1answer
48 views

Centos 7 with facebook php-sdk4 - Network is unreachable

I am not sure why I am getting this error. Sometimes, it works and sometimes I get this error in the error log: Exception: Failed to connect to 1a02:1234:f000:4:face:b00c:0:1: Network is unreachable ...
0
votes
1answer
30 views

I have just made a 2TB CentOS vm but the disk isn't available

ok yesterday I made a fresh VM with 2.0Tb of disk. when I do df -H this is what I get [root@datastore ~]# df -H Filesystem Size Used Avail Use% Mounted on /dev/mapper/vg_datastore ...
0
votes
2answers
19 views

CentOS future updates

We have been using CentOS as the OS for some of our linux servers for quite some time now. However, in a recent policy meeting, one of the colleagues said that there will be no more CentOS kernel ...
0
votes
1answer
975 views

setting up a relay port for postfix smtp on CentOS 7

A CentOS 7 server has postfix, dovecot, and mailx installed. I am able to make an IMAP connection to the server from my remote Thunderbird client running on my local devbox. But I am not able to ...
0
votes
1answer
4k views

How to remove Oracle Wallet using orapki?

Hi i'm on Centos using oracle 11g And i've created a wallet using : $ orapki wallet create -wallet /u01/app/oracle/admin/DB11G/wallet -pwd WalletPasswd123 -auto_login Now i want to remove it to ...
0
votes
4answers
4k views

How can I reinstall Network Manager after uninstalling it?

I am running a version of RHCE6 on my laptop, and lately I've been trying various stuff about network configuration through command line. Last night, I tried removing the NetworkManager using yum ...
5
votes
1answer
705 views

How can I make the eth1 up and always available for remote access, where eth0 will be used for host to host IPSec VPN?

I am running Amazon EC2 instance with Red hat enterprise linux, where I have two network interface. Now: eth0 is currently active having public ip where I am remotely logged in via SSH, to ...
1
vote
2answers
3k views

Installing Dovecot and Exim on CentOS 6.4

I've been looking for some guides on setting up a secure Dovecot and Exim mail server setup on CentOS 6.4, however it seems there's nothing out there. Does anyone know of any guides - or - if someone ...
17
votes
5answers
108k views

How to change hostname on centos 6.5?

Hi can't seem to change the hostname on my centos 6.5 host. I am following the instructions I found here: http://www.rackspace.com/knowledge_center/article/centos-hostname-change I set my /etc/hosts ...
1
vote
0answers
42 views

how do I mount an external hard drive connected via SATA Wire to CentOS 7

I have CentOS 7 installed as a guest OS inside VirtualBox running on a Windows 8.1 machine. There is a SATA Wire connecting the machine to an external hard drive that used to contain a dual boot ...
0
votes
1answer
56 views

why are colors mixed up in CentOS 7 terminal?

I have CentOS 7 running as a guest OS inside a VirtualBox host. I opened a terminal to write some commands, but the colors are all messed up as shown in the following print screen: It looks ...
6
votes
5answers
20k views

How to solve “building the main Guest Additions module Failed”

I tried to install the VirtualBox Guest Additions module in a VM guest running CentOS but I get this error message when everything else was okay: building the main Guest Additions module Failed ...
1
vote
2answers
96 views

Creating Group and User for Tomcat RHEL/CentOS

I newbie I want to create an user for my Tomcat installation, but I was viewing multiple options: # groupadd tomcat # # useradd -g tomcat -d /usr/local/tomcat tomcat # useradd -g tomcat -c "Tomcat ...
3
votes
4answers
5k views

Slow start of Midnight Commander on CentOS

Is there any way to prevent mc from taking 10-30 seconds to open? Never seen this with Debian.
1
vote
1answer
337 views

Cannot start NFS in Centos 7

I can't start an NFS server in CentOS7. The packages downloaded: yum -y install nfs-utils yum -y install nfs-utils-lib Enable/start services systemctl enable/start rpcbind systemctl enable/start ...
0
votes
0answers
172 views

Nvidia nouveau driver problem on CentOS 6.6

I'm having problems using the nouveau driver for my Nvidia GeForce 9100. Xorg starts up and works fine, I am able to use everything, although in /var/log/Xorg.0.log I have: $ cat /var/log/Xorg.0.log ...
0
votes
0answers
19 views

1920 1080 resolution is not showing up [VBOX Cent OS 6.6] [duplicate]

MY /etc/X011/xorg.conf has the following configuration, but its not showing up 1920x1080 resolution in Guest centos 6.6 Section "Monitor" Identifier "Monitor0" VendorName "Monitor ...
1
vote
1answer
60 views

Files in folder /run/udev/data

Does someone know, when and how the files in this folder /run/udev/data are generated. I ask because I have a program, which needs udev in jail. But the version in jail is newer (version 208) than ...
0
votes
0answers
25 views

CentOS 6.3 - Firefox icon missing after reinstall

On CentOS 6.3, I have reinstalled FireFox to latest version using following set of commands: yum remove firefox cd /usr/local wget ...
1
vote
3answers
3k views

New local user can't login to vsftpd

I'm a bit puzzled with this one and could really use some help. We have a CentOS 6 box running VSFTPD as a dropbox for our customers. Each customer gets a local user and is chrooted to their home ...
0
votes
1answer
33 views

How to exclude .jpg, .jpeg, .png, .gif from a ClamAV Scan (clamscan)

As the title says. I'm running a clamscan command to scan my users home directories, I'd like to exclude images from the scan as these sites specifically have thousands of images. M
1
vote
1answer
33 views

Trying to install a cluster, DHCP failing to start

Trying to install a linux cluster using this tutorial. I am running CentOS 6.3. When I try to start DHCP with service dhcpd start, it fails. I've used tail -f /var/log/messages and dhcpd -t, but I ...
1
vote
2answers
58 views

What is the equivalent CentOS for Red Hat Enterprise Linux 6.5?

According to CentOS website, they use the source code from Red Hat, but I am not clear about what version of Red Hat source code is being used to build each version of CentOS. Is there a numeric ...
0
votes
0answers
32 views

Have kickstart install TCPdump

I have a kickstart file for RHEL 6 and in the package section for the installing of the TCPdump command line utility I put tcpdump as the package name. Like I did with java and g++ in the kickstart ...
1
vote
2answers
35 views

Using rsync to Synchronize Directories

I have a script that I am using to backup a directory on a CentOS 6 machine. It's very basic but it is executing rsync -a remote:~/original ./backup Which works fine it is copying the contents of ...
0
votes
0answers
79 views

PuTTY does not connect over SSH; other clients work fine

I have a CentOS system that I can connect to using several SSH clients (FireSSH, WinSCP, MySQL Workbench over SSH). For some reason, PuTTY, which was working a few days ago, can not connect. It will ...
0
votes
1answer
70 views

CentOS 5.11: yum installs, but packages remain missing

I'm trying to figure out a very strange problem with yum on a fairly old CentOS 5.11 VPS using DirectAdmin. Executing the following command suggests the telnet package is installed: # yum install ...
1
vote
1answer
84 views

How do I get X to start without a monitor attached while using NVIDIA drivers?

card : Geforce GT 730 OS : Centos 6.5 I'm trying to demo HP RGS on a CentOS 6.5 machine located in a DC offsite. RGS requires X to be running with NVidia HW acceleration, but I can't get X to start ...
1
vote
1answer
457 views

Install SVN 1.8 on Centos 7

I've tried installing the newest version of SVN but nothing is working. On yum there is 1.7. When downloading rpm/zip error occurs when trying to configure. Setting some additional repositories ...
1
vote
1answer
31 views

luks volume disappears after reboot

I created a separate partition on a CentOS install (VirtualBox), and am attempting to encrypt it using cryptsetup and LUKS. I'm using the following commands to get this set up: cryptsetup luksOpen ...
0
votes
2answers
133 views

CentOS 6.6: OpenSSL version

I have a CentOS 6.6 system. When I type into command line openssl version, the system gives me OpenSSL 1.0.1e-fips 11 Feb 2013. When I type yum update openssl, then yum says No Packages marked for ...
0
votes
1answer
28 views

Terminal doesn't calls 'then' a syntax error, command not found [closed]

I am a newbie for linux. I have centOS7. I am running a very simple script from BASH. I execute the chmod command and then run the script file from terminal, I get an error saying that if command not ...
1
vote
1answer
94 views

How do I troubleshoot these SELinux AVC errors?

Background: I have a CentOS 6 LAMP server. Recently the server has started to become unresponsive every few days. Originally, mysqld would throw a nagios alert and I would be unable to even ssh into ...
1
vote
1answer
28 views

I tried to resize an ext4 partition and now the VM is not working

I tried to resize the primary ext4 partition and I think that i forgot to set the primary partition as bootable. Now the only thing I see from the VNC is the grub. I used fdisk to resize and ...
-2
votes
1answer
38 views

Is this a violation? using https service in intranet?

I have CentOS 7 servers in the cloud which is offering HTTPS services. Now this Enterprise cant use our services from cloud, so they wanted a local intranet solution, same like i am running in the ...
0
votes
2answers
213 views

CentOS 7 update using “yum update” does not work

I have a VM running CentOS 7 that I have not used for a long time. Today I launched it and tried to update the CentOS system to the latest version using yum update, but I got a lot of errors: ...
2
votes
2answers
97 views

Automate slappasswd

I want to automate slappasswd, but the following does not work: [root@controller ~]# echo -e "vagrant\nvagrant\n" | slappasswd New password: while it works to automate passwd: [root@controller ~]# ...
0
votes
0answers
90 views

PHP 5.6.10 Bad Installation on CentOS 7 using Plesk 12

I upgraded the PHP version from 5.4 to 5.6.10 with remi and while I am trying to access to a file.php I can see the full code in "Source code". I was reading about that and it seems that the ...