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

learn more… | top users | synonyms (2)

-1
votes
1answer
186 views

What does ~ mean at the end of a file name (e.g. httpd.conf~)? [duplicate]

I edited a fresh apache config file in CentOS 5 using gedit. When I looked at the directory I saw now two files: httpd.conf and httpd.conf~ What does the ~ signify?
1
vote
1answer
82 views

Upgrading CentOS web server

Have just taken over control of a CentOS 6.4 web server with Apache. My question is, to update the server software, is it a case of just using yum update and then yum upgrade? Server has been ...
3
votes
5answers
2k views

bash restart mysql when it gone run well in SSH part, but not in cronjob

My system is centos 6.5, I write a simple bash shell to check if mysql is crashed, restart service again. I put it in /home/myspace/mysql.sh chown root:root /home/myspace/mysql.sh then run every ...
1
vote
1answer
513 views

CentOS 5 - hdparm - how to set DMA mode

I'm running CentOS 5 with a PATA hard drive. I've used hdparm to tune the hard disk for better performance, but there are 2 settings that don't work: hdparm -M 254 /dev/hda gives the error ...
2
votes
1answer
549 views

Downgrade PHP 5.4 -> 5.3 on CentOS 5.10 [closed]

Due to being in some dependency hell and some issues with PHP 5.4, we downgraded from PHP 5.4 -> 5.3. Since doing so, a few of our web apps are acting strange. E.g: # php index.php Results in: ...
2
votes
2answers
365 views

Lose network connectivity when bringing up second NIC

I currently have a CentOS 6.5 box with 4 NICs. eth0, eth2 and eth3 all come up fine, however when I bring eth1 up with an IP address, even on it's own, it causes complete network loss. If I remove ...
3
votes
4answers
13k 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 ...
2
votes
1answer
333 views

speed up linux server [closed]

On my VPS, I have centOS 6.5 installed with 2 virtual cpu 2048 MB memory, 60 GB disk and 300 GB monthly data. Doing a speed test today resulted in 168.62 Mbit/s dload and 37.39 Mbit/s upload. Then my ...
1
vote
0answers
172 views

Forward Only Email Server

I have a custom domain (I'll use the real domains cause I'm desperate at this point :) ) www.grantorino.io, and I want to forward all email addresses sent to yehiasalam@grantorino.io to ...
1
vote
0answers
138 views

Create partition on CentOS server?

I have a headless CentOS server that I'd like to create a new partition on so I have a separate boot and data partition. I have an existing server with the setup that I want to achieve and running ...
3
votes
1answer
453 views

Fencing VM nodes

I'm using VMware Workstation as my hypervisor. I want to create a cluster with two nodes and a sharing storage with FreeNAS. My questions are around fencing. Is it possible to do it in this case? ...
3
votes
1answer
3k views

fstab does not mount cifs at startup

I'm using Cent OS 6.5. I have a cifs share which needs to be automatically mounted at the system reboot/startup. Following is the line from my /etc/fstab file : //192.168.1.2/files/ /users/ cifs ...
2
votes
0answers
190 views

how to install avxsynth on centos?

i am using centos 6 x86_64 and i am trying to install avxsynth for centos, but it always failed from link page i found that i have to install automake libtool MPlayer sudo apt-get install ...
7
votes
2answers
3k views

Can't resize lvm volume “lv_home is in use. e2fsck: Cannot continue, aborting” [closed]

I would like to shrink my logical volume for home directory, so that I can extend volume for root. df -h /dev/mapper/vg_mitoscomp-lv_root 50G 33G 15G 70% / /dev/mapper/vg_mitoscomp-lv_home ...
1
vote
1answer
409 views

yum update baseurl error

I am new CentOS, I tried to install openssh using yum -y install openssh-server openssh-clients which resulted in Loaded plugins: fastestmirror, refresh-packagekit, security Loading mirror speeds ...
3
votes
1answer
894 views

ioctl: invalid argument for HDIO_GET_IDENTITY

I wrote a program to get the details of hard disk drive using HDIO_ ioctl calls. For writing program, I'm referring Documentation/ioctl/hdio.txt in kernel source(2.6.32). Here is my main part of ...
0
votes
1answer
378 views

How to take incremental backup in tape drive

I am having 1 tape drive and I want to take incremental backup of 5 folder to the tape drive on every Friday. But the location of the five folders are on one server and the LTO mounted on a different ...
2
votes
1answer
2k views

Public key problem when installing ovirt on aws

I started an instance on AWS with centos 6.4. I ran the following two commands: $ yum localinstall http://resources.ovirt.org/releases/ovirt-release.noarch.rpm $ yum -y install ovirt-engine I got ...
3
votes
0answers
54 views

broken filesets after install VLC via RPMFusion

Needed a media player, followed the link on this site Here is the last part of the YUM output; After following the link above, VLC installed and executed fine, but I was left with broken filesets ...
3
votes
3answers
855 views

What is centos /root/core.* files? they eat my hard disk till it is full

I have a vps server with 130GB hard disk. Recently, the server is crash down, I access ssh and use dh -h, Filesystem Size Used Avail Use% Mounted on /dev/vzfs 130G 130G 0 ...
-1
votes
1answer
45 views

Apache Downloading a lot data, how to find out which script?

Apache Downloading a lot data, how to find out which script? I host a few sites, i noticed a ton of bandwidth being Downloading (not so much when uploading) when the httpd service is running, when I ...
1
vote
0answers
24 views

How can I use iptables to block certain processes from accessing the network? [duplicate]

I can set the processes to run under special uid's and use the technique from this SF answer: -A OUTPUT -m owner --uid-owner 400 -j DROP ...But are there any other ways to blacklist based on the ...
2
votes
1answer
390 views

Is it possible for du to report significantly more disk in use than the mount point has available?

I ran into an interesting situation the other day. I have a 1TB NFS filesystem mounted on /backup. df reported approx 1TB total size, as expected. However, running du -csh . in the /backup/.snapshot ...
2
votes
3answers
4k views

Issues in XRDP installation on Cent OS 6.5

I already went through the similar issue tracked in Installing XRDP on Cent OS 6.5, however it haven't helped me to fix. I am using MAC and trying to install XRDP in CentOS release 6.5 (64 bit). So ...
2
votes
2answers
403 views

mount changes directory permissions to admin:admin?

I'm mounting a samba share from one CentOS server to another using: mount -t cifs -o blarg,password //10.151.170.170/events /var/blarg/copy-to When I do this the permissions of /var/blarg/copy-to ...
2
votes
1answer
2k views

System Halt on REBOOT, Shutdown & Restarts as expected

Recently went from Centos 6.4 to Centos 6.5. System is Dell T410 Tower. Whenever I reboot, system runs through post, passes IPv4 Settings, then announces: PCIe Training Error: Slot 1 system halted ...
2
votes
1answer
99 views

Fedora 8 - out of date?

We use Fedora 8 (an Amazon EC2 Public Image) for some of our servers. I see that Fedora is at version 20 now, and Fedora 8 is from around 2006/7. What confuses me is that these servers were installed ...
0
votes
0answers
276 views

When I create a new partition for /home, the partition editor moves it to /dev/hda2 instead of /dev/hda3

I have a CentOS system I'm tying to duplicate. I can't use dd or cat over SSH from the source server so I have to initiate the command from the target server. My first choice is to duplicate each ...
0
votes
0answers
127 views

no network connection

I am Newbie to CentOS. I have problems with my network connection eth0 I created /ifcfg-eth0 file since it was not present at /network-scripts. I tried ifconfig which does not display eth0. I have ...
2
votes
2answers
3k views

Automate DISA STIG controls for RHEL/CentOS?

I am deploying systems that must be configured using the Red Hat 6 (v1r2) Security Technical Implementation Guide(STIG) published by the Defense Information Systems Agency (DISA). Link to site. I've ...
0
votes
1answer
903 views

how to configure catch all mail in zpanel

I have a CentOS configured with zpanel and I want to setup catch all mail but there is no option in zpanel to configure it. I have tried to search with google but not find any working solution. How ...
2
votes
2answers
470 views

Does /var/log/secure log successes?

Short one that I've been unable to find a decent answer for. Centos 5.10 server, trying to trawl through all the logs I can to see what IPs successfully accessed the server. I've been mucking about ...
2
votes
1answer
6k views

CentOS Local User not able to view directories/files via FTP login

Currently running CentOS 6.5 with vsftpd. As a newbie, I would like to explain my process and then have the proper process explained back to me from scratch which I believe will solve my issue. I am ...
3
votes
4answers
24k views

Yum update problems on CentOS 6.5 minimal as VMware guest

INFO: I am using Windows 7 Pro (64bit) with VMware Workstation version 10.0.1 . I am using CentOS(64bit) 6.5 minimal, for the first time. I am running this from my workplace network, which may use a ...
1
vote
2answers
6k views

Running tomcat under tomcat service account in CentOS

I'm installing tomcat on a CentOS box for use as an application server. My system admin created a tomcat user service account under which to run tomcat. I'm generally following instructions on this ...
4
votes
6answers
348 views

Most innocuous package to install to test yum?

I'm trying to test yum is working in CentOS from a local repo. To do this I need a package that: Isn't already installed with standard OS install Is small in size Has few or no dependencies Doesn't ...
1
vote
1answer
87 views

What does ^Z mean?

I tried using ^Z to send and application to the background(to then use fg to restore) but I notice that it says "Stopped" and in another terminal while monitoring htop, everything just freezes. Is ...
1
vote
2answers
3k views

yum and openssl disagree on currently installed version in Centos 6.5

I'm attempting to ensure that we are using the most recent openssl version on Centos 6.5, and yum reports that we are, but openssl continues to report that its version is an older one: ...
1
vote
1answer
713 views

Can't yum WINE from repo - No package wine available

I'm trying to install WINE on Centos 5.10 as per some instructions I wrote last year using this instruction: # yum install wine However when run, it can't find any package under that name: # yum ...
2
votes
1answer
3k views

passwordless ssh is not working in CentOS 6.4?

I am setting up passwordless login from this link but I can't get it to work. When I do ssh localhost it always asks for a password. I have also referred to this question: ssh password less ...
1
vote
1answer
68 views

Acting on a different display when using SSH [duplicate]

I am connecting to a Linux CentOS 2.6 computer via SSH wit the display deported on my screen (using MobaXterm). It is also possible to access to this computer "physically". However, I would like a ...
3
votes
1answer
2k views

Mount Realtek RTS5129 Card Reader Controller in CentOS 6.5

I have an in-built card reader that works fine under windows, but in Linux, I cannot mount the drive whatever I do. lspci doesn't show the device lsusb shows Bus 001 Device 004: ID 0bda:0129 ...
0
votes
0answers
54 views

Citrix printing problem on centos - hp

I have setup Centos 6.3 - 6.5, installed wine and running Citrix app. I can print perfectly Wine based apps (i.e. wine notepad) but when printing Citrix through wine it is printing ASCII characters. ...
2
votes
3answers
9k views

Restart all services without reboot

I do some group permission changes on the CentOS server, And then need restart all services. How can I restart all services safely without rebooting?
2
votes
1answer
851 views

How to clone a CentOS server to a VM?

I have a HP Proliant DL380 CentOS 5.10 server that I'd like to clone to a VMWare VM. I have successfully cloned it to identical hardware using Clonezilla, however when I try to restore it to a VM it ...
1
vote
1answer
629 views

Yum doesn't work

Today I try to list installed php packages with yum but when I run "yum list php*". I have got a strange error "There was a problem importing one of the Python modules required to run yum. The error ...
9
votes
4answers
3k views

/bin /etc /lib64 /root /sbin deleted or moved by mv folder/* /* while su

OS is Centos 6.5 64-bit I downloaded a tar file and wanted to untar and mv it. I untared, then accidentally (as root) ran mv folder/* /* instead of mv folder/* . bash said it couldn't overwrite some ...
0
votes
1answer
229 views

Autologin enabled, keychain blocking VNC connection

I have a CentOS server set to autolog in so we can remotely connect to the machine. When the machine reboots and we try connect to the machine, the CentOS server needs a keychain password... due to ...
4
votes
1answer
8k 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
1answer
4k views

How can I copy a file from a usb drive to a directory on the hard drive in Centos 6?

I would like to copy some files from a usb to a ssd hard drive running CentOS 6.5 How do I do this?