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

learn more… | top users | synonyms

0
votes
0answers
19 views

DNS works half of the time in Oracle VirtualBox and I can't even maintain /etc/hosts file

I have installed three Linuxes on same laptop and same VirtualBox and this is my success ratio with DNS: HortonWorks & CentOS. Worked for 5 minutes and never after that again. VM image ...
0
votes
0answers
28 views

Why does “Connection Failed: 2002” display randomly on my PHP/MySQL website?

I'm running CentOS 6 with Apache/PHP/MySQL. PS. I'm sort of a novice at Linux, but I did my best to gather info before coming here. I'm now a bit stuck. I recently upgraded PHP to version 5.5.12. I ...
0
votes
1answer
23 views

CentOS ELRepo Kernel installing VMware

Already installed VMware Workstation 9 on my Linux CentOS 6.5 Final with 3.10.40-1.el6.elrepo.x86_64 running kernel. When I open VMware Workstation, it asks me to locate the Kernel Headers ...
0
votes
0answers
20 views

How to fix “cannot retrieve repository metadata” when installing CentOS 6.5 from Kickstart over FTP?

I am pulling my hair out trying to fix this. I am attempting to install CentOS 6.5 over an FTP server on KVM from the physical host. I have vsftpd installed, selinux set to permissive, and iptables ...
2
votes
1answer
49 views

SSH: public key authentication without authorized_keys file

I have a lot of ssh public key logins on a Linux server, e.g.: Jul 25 11:41:01 host sshd[24594]: Accepted publickey for root from xxx.xxx.xx.xx port 33374 ssh2 This is strange for me since there's ...
2
votes
0answers
35 views

Can't use my old my.cnf from MySQL 5.5.38 in newer 5.6.19

Ok so I have been trying to upgrade MySQL 5.5 to 5.6. I have been given this set my.cnf file (see below). I was able to uninstall the MySQL 5.5 rpms and install the 5.6. When I reload the back up ...
1
vote
0answers
27 views

Can I change uuid for network interface in ifcfg-eth* using uuidgen?

I'm creating a script which configuration the network interfaces. The script which generates /etc/udev/rules.d/70-persistent-net.rules and names interfaces to my preference. In CentOS 6.5, my ...
1
vote
2answers
50 views

Unable to get rid of root user and privileges

I am told that the most basic security to set up in Linux is to change the superuser name from root to something obscure so I run these steps to add new user $ /usr/sbin/adduser new_username $ ...
0
votes
2answers
18 views

Copy over existing files without confirmation?

I need to copy and over-write a large amount of files, I've used the following command: # cp -Rf * ../ But then whenever a file with the same name exists on the destination folder I get this ...
0
votes
1answer
27 views

how to install VMware vSphere Client on centos 6.5

How can I install "VMware vSphere Client" on CentOS 6.5?
0
votes
1answer
145 views

Commands not found: netstat, nmap on CentOS 7

The commands nmap, netstat and lsof are not found on CentOS7. Why? What should I do to make them work?
3
votes
3answers
33 views

Centos rpm -qa vs yum list installed

I want to have server b to have exactly the same setup as server a. My plan is to have a list of all installed things on server a and install it by using the list on server b something like : yum ...
0
votes
0answers
7 views

Why SAMP is not listening to the port

I have forwarded 38474 port to internal port 7778. Then I launched San Andreas Multiplayer on my CentOS server. When I'm typing netstat -npl I see this: Proto: tcp Recv-Q: 0 Send-Q: 0 Local Address: ...
0
votes
0answers
16 views

Avahi daemon can't launch due to dbus-daemon problems

I'm trying to run avahi-daemon on CentOS 6.5, but when I run it I get this error: bash-4.1# avahi-daemon Found user 'avahi' (UID 70) and group 'avahi' (GID 70). Successfully dropped root privileges. ...
1
vote
3answers
64 views

Possible corrupt passwd file

I did a recovery of the server and reset the root password to a new one because for some reason, the original was not being recognised. It still is refusing to accept the password in ssh for root. ...
2
votes
1answer
32 views

rpm macros on CentOS 6.5

Trying to create a spec file for a CentOS 6.5 system. The rpm should check release to add specific Requires: lines based on the OS version....and it doesn't work at all: Spec file snippet: %if ...
2
votes
1answer
19 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
86 views

Can't wget from github, sslv3 handshake error

We have a script that downloads mod security from github that has recently started failing. The servers run CentOS 6 but RHEL 6 probably has the same issue. The output is: # wget ...
2
votes
1answer
65 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 ...
0
votes
1answer
55 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 ...
1
vote
1answer
21 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 ...
0
votes
0answers
14 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
24 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
31 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
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 ...
0
votes
1answer
30 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
60 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
147 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
27 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
71 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
16 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
14 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
54 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
37 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
189 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
59 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
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 ...
1
vote
1answer
46 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
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 ...
1
vote
0answers
46 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
489 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
29 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
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
0answers
104 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
29 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
38 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
54 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
72 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 ...