CentOS stands for Community ENTerprise Operating System, the most popular Linux distribution for web servers with almost 30% of all servers using it. Third-party software is not included in the base.

learn more… | top users | synonyms

1
vote
1answer
4k views

merge two partition with different disk in centos

I have a lite centos 6 on my system. I am going to resize one of its partition. Here is the file system of this system: Filesystem Size Used Avail Use% Mounted on /dev/mapper/vg_hadoop1-...
1
vote
1answer
795 views

When I try to access a SMB mounted folder from inside a Vagrant CentOS Virtual box on a Windows 8.1 system, my shell locks up

I'm running Oracle VirtualBox 4.3.10 on Windows 8.1 and inside I'm running CentOS 6.5. I have a /windows mounted on my Windows machine through SMB. Normally I use the /vagrant vboxfs file system, but ...
1
vote
1answer
449 views

Tunnel over SSH

I have a VPS server running CentOS 6.5 and a also client running CentOS 6.5 I'm trying to make a tunnel connection over SSH protocol. I use -v option to debug, I cant find any problem but i cant ...
0
votes
1answer
75 views

BIND9 on CentOS issue querying from Windows

I've just built a CentOS 6 server and configured BIND9 (named) to run. Zone files are configured and NSLOOKUP, DIG and HOST are all working from the CentOS box. When I move to my Windows PC, nslookup ...
1
vote
1answer
211 views

Unable to connect to VPS with SSH, failed authentication

I'm new to this whole VPS thing, and I'm having some problems with SSH. Basically, the password seems to be wrong, but I copied and pasted it from an email I got from the host, so it must be correct. ...
0
votes
1answer
404 views

PHP max_input_vars delaying server response time

Hi im using a CentOS vps with 6gigs of dedicated ram im hosting WordPress on that a little while ago i got an error saying that max_input_vars have exceeded so i have edited my php.ini and made it to ...
0
votes
0answers
1k views

Startx wont start for Centos v6.5

I am trying to start startx for gnome but for some reason its not working.. I don't have access to this server since its oversees but I've got root pass and i'm using ssh. I've been trying everything ...
0
votes
0answers
60 views

Hiding port number from address.

I have centos 6.5 running some web apps. Currently due the following port forwarding rules, I am only able to access my public content using 127.0.0.1:8080/ Is there anyone to just use 127.0.0.1 ...
2
votes
1answer
146 views

Wrong apache user when using mod_userdir in cPanel

I have a trial WHM/cPanel setup on a CentOS server. Everything is working well except for one file permission error that I can't nail down. I had edited my hosts file to redirect my domain to point ...
1
vote
1answer
250 views

How can I finish the unfinished transaction, so then I can make all the updates?

I try to use yum update and everytime it says me to run yum-complete-transaction first to finish the unfinished transactions remaining. When I try, it loops like forever, and sometimes it ends by ...
1
vote
1answer
1k views

iptables blocking all traffic even with ports opened

Simple as I can put it: I can't access my servers with iptables enabled, with default rules. Need to disable iptables to get access. Trying to find the cause. Only difference in setup type is layer3 ...
0
votes
0answers
69 views

Virtualbox proper network configuration

I'm trying to setup Centos 6.5 on Mac OSX so that: CentOS can use internet using NAT mode adapter 1 (eth0) Host (Mac OSX) can connect to Guest (CentOS) using static ip via Host Only mode adapter 2 (...
0
votes
0answers
302 views

how to fix repair yum on redhat vm

I have a VM hosted on Bluehost. I am having trouble installing Xvfb with yum. Anything I try with yum ($ yum, $ yum install Xvfb, etc) gives the following error; CRITICAL:yum.cli:Config Error: Error ...
0
votes
1answer
108 views

Add file to RAR without keeping folder structure [duplicate]

I'm running this command: rar u /var/www/html/Backups44.rar /var/www/html/linkreplacer/MD5Change I want to add the file "MD5Change" to the rar "Backups44" but whenever i run this it adds all the ...
0
votes
1answer
553 views

Shell script not running with cronjob

I am using PUTTY to reach the server. I can dump the databases with the following command: /usr/bin/mysqldump --all-databases | /bin/gzip > Backup_DB/alldatabases_test.sql.gz When I am running ...
3
votes
4answers
5k views

bridge does not forwarding packets centos

I am using CentOS 6.5 64 and use xen to create a virtual machine (CentOS) ifconfig [root@CentOS ~]# ifconfig eth0 Link encap:Ethernet HWaddr 08:00:27:54:B3:FA inet6 addr: fe80::a00:...
0
votes
1answer
79 views

CentOS - Java in Browser

My output of java -version [root@CentOS ~]# java -version java version "1.6.0_30" OpenJDK Runtime Environment (IcedTea6 1.13.3) (rhel-5.1.13.3.el6_5-i386) OpenJDK Client VM (build 23.25-b01, mixed ...
1
vote
1answer
46 views

Changing internal database to external JDBC in Atlassian crowd

I have installed Atlassian crowd using the internal database method on Centos 6. Installation went successfully and now I want to use external database (mysql) using JDBC. I cant find the option to ...
1
vote
0answers
187 views

linux - centos won't boot after rebuilding raid

I have a dedicated server with OVH. Yesterday they had to replace one of the HDD because it was about to fail. After replacing the disk, we had to rebuild the RAID and now the server won't boot ...
1
vote
1answer
40 views

CentOS - installing jdk

I run the command yum search jdk Output: So I run yum install ldapjdk.1686 IT says: No package ldapjdk.1686 available
1
vote
1answer
376 views

Can't `ls` Long File Name [duplicate]

Using CentOS 6.5, there's a file in my directory whose name is 161 characters. This directory is shared between the host VM (Windows) and Guest VM (Vagrant). I can't access it with ls: > ls long.....
0
votes
1answer
422 views

FTP File display works in filezilla, but lists blank in other apps? (Centos 6/vsftpd/ssh)

So had to basically re install entire server, lost everything, but I am trying to add this one script that has a custom installer that uploads the FTP files directly through its self extracting ...
0
votes
1answer
416 views

Move rvm/gems or make available to root

On a CentOS 6 server I accidentally installed rvm and a bunch of gems as non-root user. Everything is running well, however I'll need to run rvm scripts as super user later. I'd like to fix my ...
0
votes
1answer
969 views

Connect as “root” but write as “apache” with samba and some configuration tips

I have a VMware virtual machine running CentOS 6.5 and I have installed samba.x86_64 0:3.6.9-168.el6_5 package for sharing resources between virtual machine and host (Windows 7 in my case). I have a ...
0
votes
1answer
66 views

How to safetly add a repository

To add a repository to my Centos server, I am doing the following: wget -O /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6 https://www.fedoraproject.org/static/0608B895.txt gpg --quiet --with-fingerprint /etc/...
0
votes
1answer
216 views

Do I have to install Openssl 1.0.1g in usr/local/lib64 to overwrite usr/lib64 one? (CentOS 6.4, heartbleed issue)

I am using a VPS, I need to upgrade openssl with the new package in consequence of the heartbleed vulnerability issue. But I am a newbie in managing server, I need to know if I am getting this right :...
1
vote
1answer
599 views

ip routing on centos

My server has two network interfaces. I set ip address as 10.254.1.5/16 and 172.16.20.40/16 and default gateway 10.254.1.1/16. 172.16.0.0 network between the two devices. This network is not ...
1
vote
1answer
66 views

See total download speed on server CentOS

I have a few PHP scripts running every 10 minutes on my server downloading backup files, Is there a way to see the total MB/s download speed the server is currently pulling ? The server is running ...
1
vote
1answer
77 views

How to install packages without interfering existing ones without using yum and without root?

I have this specific problem of setting virtual dev environment without interfering existing system and tool. The question is general. Basically I want to develop some stuff in the company, but we ...
1
vote
1answer
583 views

Domain Resolving To Wrong IP Using DNSMASQ

I have two VMs, one with my application which talks to the other vm running asterisk (and centos). The config for the application server needs to point to the asterisk box. To avoid having to change ...
-1
votes
1answer
74 views

Recover PHP file from CentOS?

I've just accidentally overwritten a PHP file on my centOS Server and i don't have a backup of that file, Is there anyway i can recover the old revision of the file some how ? Thanks
1
vote
1answer
2k views

Is it possible to install an over 2TB HDD CentOS on Hetzner?

Wanted to just check here before I open a ticket at Hetzner. I just got a server from Hetzner with 2x 3TB. I want to set them up in a RAID 0. I’ve ran the “Installimage” command once in rescue-mode, ...
0
votes
1answer
303 views

CentOS Gnome only showing 1TB on 6TB Server?

I just bought a new server and want to use it to store files, It has 2x 3TB hard drives. I Set them up in raid 0 as i don't need any redundancy. I don't know much about servers and command-lines ive ...
0
votes
1answer
2k views

Trying to share folder in CentOs after installing guest Addtitions

I have VirtualBox 4.3.10 running a Minimal CentOS 6.5 using NAT adapter in my Win 7 . I have installed Guest Additions and I am trying to share Drive E: as you can see in this picture. Next I ...
0
votes
2answers
57 views

VMWare Player keeps ignoring boot DVD on boot

I have a restored clone Centos VM that needs to have it's initrd remade to boot properly. To do this I need to boot from the centos DVD. It has worked in the past but now will not. I have set the VM ...
1
vote
0answers
339 views

Avoiding sleep when lid is close and no one is logged in

I've an old Dell Latitude laptop that I've converted to CentOS 6.5. As this is going to work like a server (i.e. no one will use it directly) I've changed from UI the power management option to ignore ...
6
votes
1answer
10k views

Attempting to install tmux on CentOS 6.x fails with error: ‘EVBUFFER_EOL_LF’ undeclared

I tried compiling tmux using the following steps: yum -y install ncurses-devel libevent-devel wget http://downloads.sourceforge.net/tmux/tmux-1.9a.tar.gz tar -xvzf tmux-1.9a.tar.gz cd tmux-1.9a ./...
0
votes
1answer
698 views

set up (VirtualBox + CentOS) with (nginx + PHP + MySql) on MacOS

I'm trying to set up (Virtual Box + CentOS) with (nginx + PHP + MySql) on MacOS, the future I can coding on MacOS then throw file to the share folder with (Virtual Box + CentOS) and execute on (...
0
votes
1answer
2k views

phpMyAdmin No activity within 1440 seconds; please log in again. Issue

I have installed latest phpMyAdmin on Apache+php+mysql on CentOs. But after sometime of inactivity i am getting No activity within 1440 seconds; please log in again. And redirected to the ...
0
votes
1answer
1k views

Unable to access localhost & Internet using one adapter in CentOs

I have the below dev. environment. Hardware:- Windows 7, 32bit, HP Laptop. Software:- CentOs 6.5 running on VirtualBox 4.3.10. In a nutshell The problem is that I can't access the internet and ...
0
votes
1answer
127 views

Custom kernel 2.6.18 compile in centos ends on fail

I'm compiling from RPM source. The same compile worked in the past but not this time. May be you can help me to solve this issue? make[2]: Leaving directory `/root/rpmbuild/BUILD/kernel-2.6.18/xen/...
0
votes
1answer
370 views

Error getting server's IP address using Python on CentOS

I'm using Python's socket module to get the server's IP address server_ip = socket.gethostbyname(socket.getfqdn()) I get this error: socket.gaierror: [Errno -2] Name or service not known Weird ...
0
votes
1answer
234 views

What would cause MySQL to not respond to connections on 127.0.0.1 but work fine using localhost?

having a strange issue on one of my CentOS servers. I've noticed MySQL randomly will not respond if I try to connect via 127.0.0.1 in my PHP script. Basically, 1 out of 20 requests or so will usually ...
1
vote
0answers
361 views

Is there a way to get host Hyper-V UUID from linux gest?

I have a CentOS 6.4 runing on Hyper-V VM. If I export the VM to other Hyper-V server, the UUID keeps the same. Is there a way to avoid this, or use other identifyer to know that the host hardware have ...
1
vote
1answer
216 views

Change default compression levels for file-roller?

I'm using gnome on cent OS and have installed file-roller but i want to store my files in uncompressed archives there doesn't seem to be a compression selection within the UI but i read that there's a ...
0
votes
1answer
1k views

Routing internal traffic in centos to the internet using iptables

Hello friends i am struck in routing traffic from the office to internet i have a network structure like this http://asthana.me/images/ip.png I have assigned static ip to the cent os server(which ...
1
vote
0answers
145 views

Does a VirtualBox/CentOs need two adapters to work properly ?

I have a Windows 7, 32bit, HP Laptop. I have CentOs 6.5 running on VirtualBox 4.3.10. Here is my eth0 config. Code: #vi /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 HWADDR=08:00:27:81:0F:...
0
votes
1answer
119 views

Turning iptables off on development server permanently?

What would be the downsides of turning off iptables permanently on a development environment? I don't like the fact that every time I restart virtual box I must do: service iptables stop service ...
154
votes
9answers
18k views

I accidentally typed password into bash command line

I accidentally typed my password into bash command line, mistaking the Last login: ... line for Wrong password (I was in a hurry). What do I do to cover my trace? What I did was editing .bash_history ...
2
votes
0answers
206 views

Convert rtf to pdf removing the hidden text of rtf file

I am using Ted on CentOS 6, for conversion of RTF to PDF documents via shell_exec command from php script like: shell_exec(rtf2pdf.sh test.rtf test.pdf) But the issue is that if the RTF file has any ...