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

learn more… | top users | synonyms

1
vote
0answers
41 views

Virtual Host setup works for one server, not another

Having an issue with my virtual host set up. Used this tutorial as a reference on both: http://youtu.be/wXIJMtwmPCE Apache/2.2.15 (Unix) on both servers. Seemingly Identical httpd.conf file on both ...
0
votes
0answers
26 views

VMWare CenOS files disappear after reboot

Solved: I used install to hard disk file from CentOS desktop. after instalation I have two CentOS in VMWare player. The new installation saves everything. I've installed VMWare player and CentOS on ...
0
votes
0answers
42 views

port being in use not displayed in netstat output

In what scenarios port being used by a process don't show up in netstat -a output. I'm running jenkins on my machine. It's listening on port 8080. I'm trying to start another process that tries to ...
0
votes
1answer
66 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
0answers
43 views

Unable to start apache

I'm running CentOS7 in virtualbox on a mac (osx 10.9.3). Ultimately, I want to acces the website on my Guest VM from my Host. I can Ping and SSH to VM but I can't acces the webpage when entering the ...
0
votes
1answer
39 views

What's the default server root path (CentOS7)

In /etc/httpd/conf/httpd.conf line 36 the ServerRoot is set. Mine is : ServerRoot /etc/httpd But this returns a syntax error when I try to start httpd service. Can anyone give me the default ...
2
votes
1answer
92 views

Unable to access website hosted on virtual machine

I'm on a mac (osx 10.9.3) running CentOS7 in virtualbox. I would like to access the website hosted on the virtual machine. Browsing to the Guest IP returns webpage not available. I'm able to ping and ...
4
votes
1answer
393 views

ifconfig command not found

I've just installed CentOS7 as a virtual machine on my mac (osx10.9.3 + virtualbox) .Running ifconfig returns command not found. Also running sudo /sbin/ifconfig returns commmand not found. I am root. ...
2
votes
0answers
47 views

iptables hangs at applying rules

I have a set of rules that are supposed to give me the most protection before things like fail2ban and other things are added to the mix. The issue is that although everything checks out in the test, ...
1
vote
0answers
195 views

openswan l2tp/IPsec VPN server (NAT'ed)

I have searched for a solution for this problem for a few days now and cannot seem to find anything close to my situation (server is always NAT'd and clients are sometimes NAT'd). I am trying to ...
0
votes
1answer
25 views

Cobbler+Kickstart $basearch problems

I'm using CentOS 6.5 with Cobbler 2.4 (from EPEL). I'm trying to use a heredoc comment to create a repo file (which works) without the $basearch being interpreted. What happens is the file is created ...
1
vote
1answer
40 views

'altinstall' python-devel; can't install psycopg2 on centos

I installed python2.7 on my centos 2.6.32-431.17.1.el6.x86_64 following these directions: http://toomuchdata.com/2014/02/16/how-to-install-python-on-centos/ #after the yum stuff... # Python ...
2
votes
2answers
77 views

Piping tcpdump traffic via SSH - but no root ssh access

The situation I would like to use Wireshark to analyze traffic on one of our servers, but I don't want to install Wireshark on the server itself. I understand that I can pipe tcpdump traffic via SSH ...
0
votes
1answer
94 views

Centos 6.5 from Desktop to basic server

I have already installed centos6.5 on a virtualbox, and I realized that I missed choosing the the basic server mode,can I change it now that the installation is over ?
4
votes
3answers
196 views

Lots of traffic between servers - where does it come from?

We have ten servers in two groups servers, and there is a lot of traffic between those groups - too much we think. We know this because of stats of our provider, but don't know how this traffic is ...
0
votes
2answers
114 views

Yum on CentOS 7 repositories may be broken

Just got CentOS 7 on a new server and I went yum install httpd and it went fine. Afterwards I went yum install mysql-server and I got No package mysql-server available. I haven't messed up with the ...
4
votes
1answer
107 views

Poorly performing java application vs poorly performing server

This is a very generic question, but it has been coming up more and more often for me. I would like to try and determine an appropriate course of action for this generic case, as I think it could ...
1
vote
1answer
87 views

sssd: login problems with AD user

I've setup my samba4 DC to get account information from a central AD provider via sssd. What I'd like to do now is permit some subset of these users to login via ssh (to linux machines) or via RDP (to ...
1
vote
1answer
60 views

How to Resolve a .so Dependency

I have a package (.rpm) on CentOS 6.5 that requires a .so file, which I also have on my machine. When I attempt to install the package I get an error stating unresolved dependencies regarding the .so ...
1
vote
0answers
101 views

VIA “Chrome 9 HC” graphics card causes blackscreen on CentOS 6.5

I'm using Centos 6.5 (i386, fully updated) and get a black screen, when trying to startx. Debian was able to run a Desktop-Environment on the same machine. My graphics card is: CN896/VN896/P4M900 ...
9
votes
2answers
636 views

( /etc/sysconfig/iptables ) “Manual customization of this file is not recommended.” Why?

Editing this file directly /etc/sysconfig/iptables can save me so much headaches so much time and so on... and yet on the very top of the file it says.. Manual customization of this file is not ...
0
votes
1answer
45 views

How to modify iptables rules via editing a file rather than interacting via command line?

In the history, i would simply edit a file and then reboot the whole server. i would clone the line that had port 22 open change it to 80 and then save the file.. and reboot the whole system so ...
1
vote
1answer
83 views

Logrotate does not work for httpd service [closed]

We have logrotate working for several Centos servers. One new server has a slightly different setup, and for some reason logrotate does not work for the httpd service. When I start it manually, it ...
0
votes
0answers
177 views

Nvidia ethernet port not detected on Centos 7

When I tried to install Centos 7, my Nvidia ethernet port was not detected during the installation, whereas in all other distros it works perfectly without any problem. My rig is an AMD Athlon x2 64 ...
0
votes
1answer
39 views

Is there a quick way to download a directory in a repo?

I'm actually working from a windows machine, attempting to retrieve centOS 5.4 from their vault. I don't have unpacking software, so I don't want to use the iso's. I was wondering if there's an easy ...
1
vote
1answer
53 views

How to give Root privileges for User in Centos 6.2 minimal

I installed Centos 6.2 minimal x86_64 server in Virtual Machine Manager. After installed I created Username in the server. And I added the User into a wheel group. # useradd testuser # ...
1
vote
1answer
23 views

centOS on a flashdrive

I am considering installing centOS to a flash drive, using command line only. I plan on using centOS to become familiar with Redhat and get better at utilizing it as a system admin. What is a ...
2
votes
1answer
89 views

I cant save files in /var/www/html

I'm running Centos 6.5 and I'm having problems saving my files to /var/www/html. The folder currently belongs to root and I have gone through everything from SELinux to configuration procedures, but ...
2
votes
0answers
148 views

Ping command results in packet loss

Whenever I ping on my personal computer, nothing gets displayed other than a single statement. Upon stopping execution, I see that several packets were transmitted in the statistics. On top of all ...
1
vote
1answer
128 views

How to run java service as a non-root user on CentOs 6

I have a script that starts a Java application as a service on CentOS 6: #!/bin/sh # chkconfig: - 80 20 SERVICE_NAME=cn4server PATH_TO_JAR=/usr/local/share/myserver/cn4server.jar ...
2
votes
3answers
105 views

What iptables command do I need to allow web server traffic?

I have a hard time understanding iptables rules. I am running a centos 6.5 VM on my laptop (vmware hypervisor) and it looks like it comes with this setup for iptables: # iptables -L Chain INPUT ...
5
votes
4answers
6k views

CentOS 7 Installation Failed

After hearing the news that CentOS 7 had been published, I decided to install it on my computer. I downloaded the ISO image from the CentOS official website (the one named ...
2
votes
2answers
28 views

centos5 maximum memory setting for all users

I'm using Centos5 for operating server and the machine has limited memory. There are many users using the server and some of them are running programs which use a lot of RAM. When I check the used ...
2
votes
0answers
41 views

Transparent Proxy

I am setting up attempting to set up a transparent proxy on CentOS using Squid. So far I have managed to filter the content and get it working perfectly. The only issue I am having is getting a form ...
3
votes
1answer
53 views

SSHD Password Feedback (Show Asterisks for Characters)

Is it possible to have SSHD show asterisks for the password characters much like pwfeedback does for sudo? I am using CentOS 6.5. For example:
0
votes
0answers
16 views

how to find where buffers/cache are and how to clean them up? [duplicate]

I want to create 20gb ram disk for ANSYS to work in yet on free -g I see: And personally I have not created any ram drives yet. So I wonder how to maximize avaliable ram: how to locate what is using ...
5
votes
1answer
77 views

forward outgoing traffic port using iptables

I am trying to forward all outgoing traffic from port 80 to port 8080 using iptables and I tried the following rule, though it did not work: iptables -t nat -A OUTPUT -p tcp --dport 80 -j REDIRECT ...
2
votes
1answer
35 views

Device URI for Printer

I have the system printer GUI installed on Centos 6.6. I added the printer (HP LaserJet Pro P1102). The model exists. The problem is that the GUI is asking for the Device URI which I'm not sure where ...
1
vote
0answers
135 views

Help with lost software RAID5 on CentOS 6.5

I've been searching for hours and giving up / too scared to delete all my data. I have a file server running CentOS 6.5 which has 4 WD RED 2TB drives (all > 1 year old) in software raid 5 with mdadm, ...
2
votes
0answers
44 views

Linuxwacom xsetwacom/xorg.conf

I have a CentOS 6.2 workstation with linuxwacom 0.21.0 installed. I am trying to map a button on a cintiq tablet to a keyboard key. I can do it successfully using: xsetwacom set "Wacom Cintiq 24HD ...
-2
votes
2answers
22 views

Check multiple files with string

i.e. for each .csv file, do the following: Check if the file contains the string “HEADER” in the first line. If its missing, do the following: Display, “ERROR: Missing HEADER record for ” Rename ...
0
votes
1answer
65 views

I try to setup zabbix server on CentOS 6 (close system) but can find zabbix-server binary file after run rpm install rpm package

I try to setup zabbix on CentOS 6 in closed system ( no internet connection ). So I can only put rpm to that machine, and run command rpm -ivh zabbix-2.2.3-1.el6.x86_64.rpm ...
1
vote
1answer
60 views

How not to write kernel warnings into /var/log/messages?

I keep getting these log warnings due to a bug in kvm. Jun 30 19:12:31 server kernel: kvm: 28882: cpu0 ignored rdmsr: 0x345 Jun 30 21:12:31 server kernel: kvm: 31191: cpu0 ignored rdmsr: 0x345 Jun ...
-1
votes
1answer
76 views

Sqlite Browser NOT opening on Centos 6.5

When I try to open an .exe file in centOS (Release 6.5) by double clicking, it is not opening. I am creating an app which requires databases. I cannot check whether the data has gone in database or ...
-1
votes
2answers
154 views

My Centos Server cannot resolve the DNS host name [closed]

My Server OS: Centos 6.3 x64. The server iptables is: *filter :INPUT DROP [0:0] :FORWARD ACCEPT [0:0] :OUTPUT ACCEPT [0:0] -A INPUT -p tcp -m tcp --dport 22 -j ACCEPT -A INPUT -p tcp -m tcp --dport ...
2
votes
1answer
110 views

No 32 development library error after install glibc-devel.i686

I am trying to install gcc 4.9.0 on centOS 6. During ./configure there is an error coming up: /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/4.4.7/libgcc_s.so when searching for ...
4
votes
2answers
70 views

777'd some files. How do I repair SSH?

So I'm messing around on a test server and accidentally ran the following (which resulting in SSH breaking): # chmod -R 777 /var Because it's a test server, I'd rather not re-install right now, I ...
2
votes
1answer
105 views

set ip default outgoing in centos

I have server which has Centos and I want to change the outgoing IP address. This is the output of my route and route list commands. [root@marketport tmp]# route -n Kernel IP routing table ...
2
votes
0answers
53 views

How to activate reverse tethering on CentOS 5

Most examples for reverse tethering are for Ubuntu. They go something along these lines: Attach smartphone Configure usb0 Start reverse tethering on the smartphone Use the PC network via USB from ...
2
votes
1answer
34 views

Create an RPM to distrubute custom SELinux policy

I have created two custom SELinux Policy modules to allow rsyslog to parse audit.log. Can I create an RPM of these two policies to distribute to 300+ clients? Is there a better way to go about this? ...