Tagged Questions

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

learn more… | top users | synonyms (2)

5
votes
1answer
728 views

Apache, Group Permissions and User Uploads

I have a folder named "digitalgoods" with the following ownership -- apache:apache residing outside of the htdocs folder and is therefore not accessible to the public. However I need the same folder ...
1
vote
0answers
23 views

Can a RHEL 6.4 DS sync with a CentOS 5.4 DS

I have two CentOS 5.4 Directory Servers that sync information on a daily bases. I'm wanting to replace them with two RHEL 6.4 Directory Servers. Before the existing two are decommissioned all four ...
2
votes
2answers
697 views

Custom Kickstart ISO process - packages to RPM mapping

I want to start by saying that I am new to kickstart so if I use the wrong terms I apologize in advance. What I am trying to accomplish: I am trying to create a customer ISO for installation of ...
0
votes
1answer
59 views

Permissions for non-htdocs directory

I have created a folder outside of my htdocs directory as a means of adding extra security for downloadable digital goods to be sold from within a Magento storefront; so my question is: what ...
0
votes
1answer
128 views

What software should I use to create a HPC (High performance compute) cluster with CentOS 6.5 VMs locally?

I've read about Torque, Slurm resource managers and Maui, Open Grid scheduler, Sonf of Grid Engine but I do not know which is more appropriate to use in a local environment? I've also read that I need ...
1
vote
0answers
748 views

CentOS 6.5 will not sleep after period of inactivity

I've recently upgraded my Ubuntu 12.04 LTS to CentOS 6.5. This is a desktop PC (non-server) that I would like to sleep/power down after a period of inactivity. I have the following settings in my ...
1
vote
1answer
475 views

Repairing CentOS 6.5 permissions after file migration

I'm running CentOS 6.5 in a VirtualBox VM. Recently, I ran out of space for my virtual hard disk. To remedy this, I decided to create a second hard disk for the /usr directory. I mounted that and ...
0
votes
1answer
339 views

How to add Ip Aliases with Two Gateway on same nic Centos

I have 2 allocated address range, example 10.10.12.25/28 10.12.12.24/28 How to add Ip Aliases with Two Gateway on same nic with Centos?
-1
votes
1answer
82 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
52 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
1k 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
266 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 ...
0
votes
0answers
107 views

Setting up apache axis client on centos

I have below codes. import java.util.*; import java.io.*; import java.net.URLConnection; import java.net.MalformedURLException; import org.apache.axis.client.Call; import ...
2
votes
1answer
471 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
151 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 ...
0
votes
0answers
107 views

How to enter LVM GUI from CentOS live CD?

I'm trying to reduce in size one of my logical volumes in CentOS. I booted from the CentOS 5.10 installation CD into linux rescue and tried running: lvreduce --resizefs --size 450g ...
0
votes
2answers
6k 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
192 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
113 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
80 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
185 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? ...
1
vote
0answers
158 views

Segmentation Fault on execution [closed]

I am getting this segmentation fault (core dumped) error on excecuting my c++ program on Centos. I am compiling my code using g++. Everything was executing fine for hours. Suddenly, on executing the ...
3
votes
1answer
2k 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 ...
1
vote
0answers
115 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 ...
4
votes
2answers
1k views

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

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
248 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 ...
0
votes
0answers
74 views

Issue while we install EPEL Packages on CentOS 6

I Just try to install system requirements of http://magento.com/resources/system-requirements , But facing the issues below attached the same. For my every install EPEL package, there was a issue of ...
1
vote
1answer
447 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
208 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 ...
1
vote
1answer
919 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
38 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
271 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
42 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
23 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 ...
1
vote
0answers
363 views

how to resolve yum replace php-common --replace-with=php55w-common error? [closed]

How to resolve yum replace php-common --replace-with=php55w-common error on CentOS 6.5? root@server [~]# yum replace php-common --replace-with=php55w-common Loaded plugins: fastestmirror, replace, ...
2
votes
1answer
179 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 ...
1
vote
1answer
2k 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
150 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
1k 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
91 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
144 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
117 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
1k 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
428 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
214 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
3k 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 ...
2
votes
4answers
12k 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
3k 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 ...
2
votes
3answers
123 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
75 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 ...