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
1answer
24 views

looking for a way to download a list of packages with yum

We are trying to setup a local repo that contains all the base packages. So to get started we need to download around 3500+ packages and save it in a folder that will be used as a Repo storage. We ...
0
votes
2answers
61 views

autofs 'failed to mount autofs path' as service but not manually (selinux)

I'm on CentOS 6.6 and I'm having a strange problem with autofs. I'm trying to mount an smb share on /var/www/html/mysite/docfolder, so I created a docfolder inside the mysite folder, ran chmod 777 on ...
1
vote
2answers
1k views

Apache Virtual Host Include Not Working

Attempting to get my domain to redirect to the associated vitual hosts, but the Include is not working as expected and displaying the proper htdocs directory. It is still displaying the default apache ...
1
vote
1answer
217 views

reliable way to give all read/write access recursively in CentOS 7

What is the most reliable way to give all users read/write privileges for a given directory and all of its subdirectories and files in CentOS 7? In an eclipse web application project that uses ...
1
vote
0answers
69 views

LVM volume inactive after reboot on CentOS

It seems like there are many people with similar problems, yet I've found nothing that could help me. I ask here in hopes that someone might have a good idea. I've reinstalled a linux server from ...
0
votes
1answer
85 views

Starting Tomcat Service when starts CenTOS/RHEL/Fedora

I want to install tomcat 8 and run it in startup time I following these tutorials: I created the tomcat user: # useradd -U -r -M -d /usr/local/ServerWeb/tomcat -s /sbin/nologin tomcat ...
1
vote
0answers
120 views

CentOs7 Python 3.4 Install Method

This post relates to this question where I was asked to explain how I installed python3 on my system. I was attempting to install python3 on my system for development purposes. Something went wrong ...
1
vote
1answer
91 views

CentOs 7 Python Issue “-bash: python: command not found”

I asked this at stackoverflow, but just realized it might be best here. If I need to delete it over there or should not have posted here, please let me know. I am still new to this site. Thanks in ...
0
votes
0answers
33 views

Implications creating System Accounts “useradd -r” Linux Fedora/RHEL/CentOS

I want to know what are the implications of create an account using -r option? # useradd -r ... The help says: -r, --system Create a system account. System users will be created with no aging ...
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 ...
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
33k 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
177 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
29 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
49 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
981 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
44 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
21k 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
98 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
357 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
173 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
63 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
73 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
89 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
459 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
34 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 ...