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

learn more… | top users | synonyms

4
votes
1answer
419 views

CentOS - how to install vsftpd for specific username to have specific directory access only?

I have VSFTPD installed in CentOS. Where i have one username "lesstrust1", when the user login i want the user only can upload/download to this path /var/www/html/oxwall $ yum install vsfptd $ ...
2
votes
1answer
68 views

set up centos7, configuration of ip

when I'm searching for ip setting of centos 7. Responed is centos 6.X 's or ealier, and I tried. But how is the default DHCP configuration of centos 7. Some configurations have been done like I want ...
2
votes
1answer
20 views

Virtual Host only works when SELinux is set to permissive - why?

Wondering why my virtual hosts will only work when SELinux is set to "permissive". When SELinux is set to "enforce" my virtual hosts are ignored and default host is shown. Apache/2.2.15 (Unix) Here ...
0
votes
1answer
393 views

Enable 9p filesystem type in Centos 6 virtual guest?

My question is linked to this one : http://stackoverflow.com/questions/17880460/mounting-shared-folder-in-kvm-vm-error-mount-unknown-filesystem-type-9p (but can't comment it) I have apparently the ...
0
votes
1answer
58 views

Create ssh root password

For some reason, after a plesk update, I can no longer login to ssh as root using my old password. I have tried to create a user with: /bin/bash & /bin/bash (chrooted) in plesk Which lets me ...
4
votes
1answer
154 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. ...
1
vote
1answer
22 views

How to update tcpdump?

I would like to update tcpdump on my computer (CentOS 6.5) which is currently old. I download the zip file from TCPDUMP/LIBPCAP public repository already but I don't know how to update with this file. ...
1
vote
0answers
28 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 ...
8
votes
3answers
476 views

Using real time kernel headers to compile userspace code vs default headers

Per customer requirements, I installed CentOS 5.6 with the default kernel. With this kernel installed, the time.h file includes the #define CLOCK_MONOTONIC. Now, a real-time kernel was installed ...
1
vote
0answers
78 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 ...
2
votes
1answer
95 views

Problem setting up iptables (LDAP traffic blocked)

My application server is on a network protected by a organization wide firewall, and my server is also using fail2ban. That said, I'd like to set up an additional layer of protection with iptables. ...
2
votes
0answers
30 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, ...
0
votes
0answers
15 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
26 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
33 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 ...
2
votes
1answer
64 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 ...
1
vote
0answers
36 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 ...
2
votes
1answer
531 views

Fedora 14 Xen virtual machine does not detect network

I'm trying to create a para-virt Fedora 14 Xen vm on a host running CentOS 5.5. The VM appears to initially install correctly (the installer finds eth0 and can access the installation media). But when ...
2
votes
2answers
375 views

SMB Mount To Windows Server Appears to Lock up. Any Ideas?

We are running CentOS 6.3 with all the latest updates. (Attempt to resolve this issue) The Server I am trying to connect to is a Windows Server 2008 R2 box. Though this applies to our old SBS'03 Box ...
0
votes
2answers
254 views

CentOS 5: My Postgresql server version is different with my psql client. What should I do?

I installed PostgreSQL 9.1 in CentOS 5 x86_64 VPS, with these following commands: I specified which Postgresql version I'd like to install, so I choose 9.1 because I want to equate between ...
0
votes
2answers
1k views

How to update CentOS 6.5 to kernel 2.6.32-431?

I need to update my CentOS 6.5 kernel to 2.6.32-431. Running yum clean all && yum update doesn't do it for me. How do I update? And what could be the issue? [root@centos64 ~]# uname -r ...
1
vote
1answer
16 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 ...
1
vote
0answers
427 views

mysqld dead but pid file exists

Webserver was running fine for weeks then suddenly: I can access, but I am unable to log into Webmin I can access Magento, a php-based storefront application, but I am no longer able to log in and ...
0
votes
1answer
18 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
3answers
1k views

Virtual Interface Not Showing up in ifconfig?

I am trying to create a virtual interface for the purpose of NameBased Virtual Hosting on my CentOS linux box; please find below is the devices' information:- DEVICE=eth0 BOOTPROTO=dhcp ...
4
votes
3answers
191 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
1answer
40 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 ?
0
votes
1answer
65 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 ...
9
votes
2answers
501 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 ...
3
votes
2answers
346 views

Make problem with includes

I am installing imagick-v3.1.0RC2 package on CentOS 5.5. I have ImageMagick 6.7.9-9 installed as well and have a problem on the make step. Problem is that its cannot find included file: ...
4
votes
1answer
80 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 ...
12
votes
3answers
23k views

Why the default eth0 interface is down by default on CentOS?

I am already a little bit familiar with Linux distros like Debian or Ubuntu (yeah, very similar) but I wanted to try Red Hat based - CentOS 6.2 . I have installed it on my Windows 7 host in virtualBox ...
1
vote
1answer
50 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
61 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
1answer
240 views

Is setting CentOS user home-dir as NGINX server block root secure for vsftpd?

This is what I did: CentOS 6.2 server installed nginx installed vsftpd in vsftpd.conf I set chroot_local_user=YES created a new user "bleh" created directory /home/bleh/public_html/ in virtual.conf ...
1
vote
1answer
52 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 ...
4
votes
1answer
343 views

How to change the repository settings for yum installer?

I am pretty much new to Linux. I am trying to install tint2 on CentOS. When I try to install using the command yum install tint2, it gave following error checking for X11... configure: error: Package ...
1
vote
0answers
49 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 ...
1
vote
2answers
358 views

yum update presents hponcfg-4.2.0-0.x86_64 conflict

I am in the process of trying to get Cacti installed onto an HP DL360 running Centos 6.3. Running yum update presents me with a few updates but when entering y it returns an error. How can I solve ...
0
votes
1answer
33 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 ...
0
votes
1answer
2k 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 ...
2
votes
2answers
880 views

Static routes in route-eth0 ignored

Why might route-eth0 be ignored but route-eth1 not? Might be because eth0 is using DHCP and eth1 is statically-configured? I have some static routes configured in ...
3
votes
1answer
95 views

XEN stop all virtual machine when shutdown

I am using XEN on CentOS 6.5 64 I want a way to stop all virtual machine when XEN server shutdown I build service call in stop xm shutdown -a but not working #!/bin/bash # chkconfig: 2345 95 20 # ...
0
votes
1answer
276 views

Unable to view traps through snmptrad?

I've been unable to view traps through snmptrapd. I generated a SNMP trap manually using the below provided snmptrap command: snmptrap -c public -v 2c -n "" localhost 0 uptime But I'm ...
5
votes
3answers
3k 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 ...
1
vote
1answer
415 views

Increasing Command Line Resolution Centos 6.4 VirtualBox

I running CentOS 6.4 in just CLI mode. However, I have a 1080 monitor and the resolution from the CLI interface is horrible. Do I still have to install Guest Additions in order to increase display ...
1
vote
3answers
932 views

CentOS 6.5 in virtual box : can't install any package

I have just installed CentOS 6.5 on my virtualbox. I wanted to install the GUI, using this command : yum groupinstall -y 'X Window System' but it gave me the following error message : "couldn't ...
1
vote
2answers
441 views

installing eric5 in CentOS 6.4

I am trying to install Eric Python IDE 5 in my CentOS 6.4. The problem here is even I have installed PyQT4 its again saying that module is missing. what I am supposed to do ? here is the terminal log ...
0
votes
0answers
111 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
854 views

CentOS GPG keys error

When running this on CentOS 6: yum update I accept the transaction summary that it presents and am then immediately presented with this: Downloading Packages: warning: rpmts_HdrFromFdno: Header V3 ...