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
1answer
648 views

Centos/RHEL 5.5/5.6 supported SCSI adapters

We have a batch of SuperMicro 6014H-82 servers that have Adaptec 2015S SCSI controllers fitted. Unfortunately, according to the bug tracker (0002087: CentOS installer won't detect harddrives) it looks ...
2
votes
1answer
407 views

Setting up a user for sftp acces into a sub directory of another users home directory

An interesting problem. The broader goal is to setup a directory that one of our clients can sftp into (via ssh keys, not user/pass combination) and upload files. This directory will need to be ...
9
votes
1answer
502 views

MySQL gets killed by OS every 25 days or so

About 4 months ago we migrated from MS SQL Server to MySQL 5.5. Since then we have been experiencing an issue once approximately ever 25 days since where CentOS runs out of memory and as a result it ...
3
votes
1answer
8k views

gparted live CD can't resize a partition?

I recently ran out of space on a VirtualBox VM (CentOS guest) managed by Vagrant. It was using a .vmdk image, so I couldn't dynamically resize it. Following these instructions, I cloned the old image ...
2
votes
1answer
662 views

Can rpm handle an install of another OS into another Logical Volume?

I am trying to install fedora as a domU under a CentOS dom0 using the method outlined in The Book of Xen. I have asked another question regarding a consistent error message of cpio: Bad magic when I ...
2
votes
1answer
7k views

How to configure CentOS 6 as a Proxy Server

I have installed new server with CentOS 6. How do I configure it to become a Proxy Server?
0
votes
2answers
2k views

Netboot - How to set a static IP

I've modified a CentOS net install image to load my kickstart file over http. This works great when running on a network that has a DHCP server. Obviously, without DHCP this fails because the ...
9
votes
2answers
2k views

Should you run automatic updates

I'm running production Centos web servers. I want to know what is best practice for running updates. Should I automate this with yum-cron or yum-updatesd? Or is there a danger of updates breaking ...
2
votes
1answer
757 views

Installing centos server in a virtual machine

I have little Unix/Linux experience, so sorry if this sounds stupid. What I want to do is simple: I want to learn CentOs so that I can manage my own web server. I did so by buying a dedicated and ...
2
votes
2answers
5k views

Where is the system profile that gets sourced at login on CentOS 5.8?

In CentOS release 5.8 (Final), where is the bash system profile? Is it /etc/profile ? I've added the following to source my ~/.bashrc file but haven't had any luck as it fails. I know it fails ...
2
votes
1answer
467 views

How to migrate from CentOS to RHEL?

What packages do I need to install to migrate my CentOS 5.7 server to identical version of RHEL. I have RHN subscription but I don't want to create a fresh install and move files.
1
vote
3answers
379 views

Is there a way to find out which webpages are being accessed by clients on a UNIX webserver?

My web server is running CentOS and every time a certain page is accessed on my forum, httpd locks up and I can never seem to pinpoint the exact file. Is there any way to view the pages that ...
2
votes
2answers
2k views

CentOS: Sharing WLAN for internet access

I have installed CentOS 6.2 on HP Proliant server. I want to share my USB wireless internet (Tata photon +). I am able to start internet on my server, but when I enable my LAN, I don't have internet ...
2
votes
1answer
1k views

iSCSI and runaway log file

I have a OpenVZ VPS running CentOS 5.7 that I've been using to get some sysadmin experience. I found a log file called brcm-iscsi.log in /var/log and it's getting big (140 MB). INFO [Sun Dec 18 ...
0
votes
1answer
429 views

Syncing time with Windows Server Dual Booting systems

I am about to work on getting the workstations on my network here to be connected to the Active Directory on my Windows 2003 server using Likewise Identity Service. One of the security requirements is ...
4
votes
1answer
3k views

install using YUM without root permissions

So I don't have root permissions but I've been installing packages to a local directory on my(CentOS) system and it works fine. But I was wondering if I can do the same using yum. The reason I want ...
5
votes
1answer
6k views

Encode with ffmpeg using avi to mp4

What command lines to use to convert from avi to mp4, but without destroying the framesize and making the file small as the original size or a little bit bigger, and same thing with mp4 to avi? ...
1
vote
0answers
288 views

ffmpeg: error while running with libx264

Main code: ffmpeg -i 2269801.avi -threads 0 -vcodec libx264 -b 900k -acodec libfaac -ar 44100 -ab 96k -ac 2 earthgirlsareeasy1.mp4 [libx264 @ 0x16cdde10]broken ffmpeg default settings detected ...
2
votes
1answer
147 views

dag.repo overwritten

I accidentally overwrote dag.repo by trying to add this [dag] name=DAG RPM Repository baseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag gpgcheck=1 enabled=1 does anyone have the ...
1
vote
0answers
199 views

i386 libtool conflicting with x86_64 libtool when installing Handbrake

I've been trying to install Handbrake on centos 5.8 with the help of some different guides. I'm running x86_64, and whenever I try to install packages necessary to build the binary, the arch ends up ...
1
vote
1answer
268 views

Does CentOS fall into System V family? How is it considered to be while comparing with Unix System V family?

CentOS is "derived entirely from the Red Hat Enterprise Linux (RHEL) distribution" (more here). Does it fall into any UNIX System V family? Such as PDP-11 or etc? If not, where does CentOS stands ...
3
votes
3answers
2k views

What RPMs do I need for timeconfig?

I've got setuptools set up and have read through the list of what's in /etc/setuptools.d I'm interested in installing timeconfig as well, but I only need the TUI version (no GUI). Which RPMs do I ...
-1
votes
2answers
409 views

Centos Crontab not responding

I was learning and experimenting with crontab today. The default editor was just too difficult for me to figure out which caused me to remove my crontab by running crontab -r. Now, when I run ...
2
votes
2answers
2k views

How to permamently disable SELinux?

We run a site with big traffic surges and, because of that, SELinux usually thinks that the traffic is a SYN flood attack. We have this same problem on many different CentOS servers. Despite ...
1
vote
1answer
161 views

Centos apache virtual hosts definition

Please excuse me if my logic is flawed as I am really new to Centos. I know I can define multiple virtual hosts in my httpd.conf file. But what I would like is to define virtual hosts in individual ...
4
votes
2answers
785 views

Limiting the Size of Apache HTTPD Memory Footprint

I have a web server running Cent OS 5 with Apache. I have over 1GB of Ram and the MaxSpareServers set to 15. This would be fine under most situations, but for some reason my httpd processes are ...
1
vote
2answers
4k views

Partitioning for Web Servers

I was curious what some general best practices are in relation to partitioning for a new Linux VM that will be used as a web server? Are there certain guides that should be consulted or followed? ...
1
vote
0answers
627 views

Hanging at “Running Transaction Test” when trying to install php-soap

I have here a CentOS 5 and I'm trying to run yum install php-soap but the installer hangs on and the last step is Running Transaction Test. I found out that NFS shares are the problem. See here or ...
2
votes
3answers
2k views

How to configure SELinux to print date and time in each entry in audit log?

I'm using CentOS 5.5 and by default my /var/log/audit/audit.log looks like this: type=USER_AUTH msg=audit(1331897657.359:8435): user pid=15610 uid=0 auid=4294967295 ...
0
votes
1answer
263 views

Automount cdrom when accessed via NFS

I am currently running CentOS 5 on a server that has a built-in CDROM drive. I currently have a setup where /media/cdrom is automatically mounted by autofs as needed and I am exporting /media/cdrom ...
0
votes
1answer
3k views

Centos 6.2 static IP: only getting IPV6 address and need IPV4

I installed a Centos 6.2 min install. I have edited /etc/sysconfig/network-scripts and I have ifcfg-eth0,eth1 I have tried to setup static IPs but I only get IPV6 address back on both adapters and ...
0
votes
0answers
37 views

How to make unused dependencies clean with yum? [duplicate]

Possible Duplicate: How can I remove Orphan Packages in Fedora? I need something equal gentoo's emerge --depclean so how to make unused dependencies clean with yum?
0
votes
1answer
689 views

Seem to be having a problem with RealVNC with centos can't input username

Hello I seem to be having a problem with RealVNC with centos. I want to connect to a another machine, but can't because it has been "grayed out". In otherwords, I can't type in the username in the ...
3
votes
3answers
4k views

Trying to Open a Port using CentOS

(I'm new to this!) I'm running a virtual server running CentOS. I'm trying to run a server that listens on port 37760. The code I'm running executes successfully, so I run netstat -lptu To show a ...
1
vote
3answers
3k views

How to kill a printing job on centOS

How does one kill a printing job on centOS?
5
votes
2answers
35k views

Static IPv4 & IPv6 configuration on CentOS 6.2

I try to configure static IPv4 & IPv6 configuration on CentOS 6.2. The configuration below works perfectly : # ifconfig eth0 x.x.x.x/29 # route add defalt gw x.x.x.y # ip addr add dev eth0 ...
7
votes
2answers
20k views

CentOS on HyperV - eth0 not in ifconfig?

I've launched a CentOS install in HyperV and assigned a NIC the same way I've done on an Ubuntu VM, however, the device simply isn't picked up. Only my loopback is found by ifconfig. How should I go ...
2
votes
1answer
3k views

Trying to install gearman on CentOS, and ./configure cannot find event.h even though libevent is installed

I'm trying to compile and install gearman onto a CentOS 6 box, and am getting an error when I compile from its source code. It requires the boost libraries, and was failing on that at first, but I ...
6
votes
1answer
4k views

Xvfb or Firefox throwing errors & gratuitously logging

per the answer to this question, I'm running Xvfb to make a virtual display so firefox will run on my CentOS server. (I don't need to see firefox or do any actual key or screen input/output with ...
1
vote
1answer
335 views

I cannot install “unifdef” on CentOS 6

After I ran yum install unifdef I got "No package unifdef available" I already added all sources. (Base, contrib, Debuginfo, Extras, Plus and Updates)
1
vote
1answer
655 views

cURL on Linux not compiled, although installed

cURL is not compiled into PHP. I'm running: [root@vps ~]# cat /etc/issue CentOS release 5.7 (Final) Kernel \r on an \m Then I execute yum install curl and yum install php-curl. Then: [root@vps ...
1
vote
2answers
1k views

Which are best repo for Cent OS 5.7? [closed]

Which are best repo for Cent OS 5.7? Should I install apt-get and use other deb packages on Cent OS? I mainly used Ubuntu which is really easy to update any packages.
1
vote
1answer
359 views

How to remotely control a CentOS 5.4 install

I need to support a legacy system that's running CentOS 5.4. There are errors coming up during the install and walking through the admin on the other end is quite tedious and inefficient. Does ...
2
votes
2answers
4k views

“Cannot run C compiled programs” error when installing PDO PHP module

I have a cPanel server I want to install some packages on. I connected to the server as root and ran the following commands to update and delete all the existing repositories: yum update yum clean ...
1
vote
1answer
745 views

rtorrent: Can't connect to trackers on CentOS 5.6

I'm trying to set up rtorrent on my CentOS 5.6 server, and it currently cannot connect to any trackers. I compiled libtorrent-0.12.6 and rtorrent-0.8.6. I also compiled libcurl 7.21.7 with c-ares ...
4
votes
1answer
14k views

apache2 Invalid command 'SSLEngine'

Running: CentOS6 x64 When I restart httpd, I get the following error. What am I missing? [root@localhost ~]# service httpd restart Stopping httpd: [ OK ...
7
votes
1answer
828 views

Why isn't the ls command listing huge filesizes?

In my Redhat Linux, I am getting the following error when executing the ls command. # ls ls: sugar.sql: Value too large for defined data type
6
votes
2answers
378 views

Mysterious write IO

I am just reviewing the disk IO of a XEN VM server. I stumbled across a DomU that has constant write traffic. To narrow that traffic further down I logged in to the DomU (CentOS 5, 64 Bit) and ...
2
votes
0answers
301 views

Odd Inode/Ram cache drops happening in CentOS

I run a CentOS 5.7 machine (64bit) with 24GB ram and 4x SAS drives in RAID10 setup. This machine runs nginx/1.0.10, php-fpm & xcache. About a month back the RAM usage of this machine has changed. ...
2
votes
1answer
633 views

Will the Firewall GUI in CentOS overwrite changes implemented by IPTABLES manual edits?

I would like to restrict access to the SSH port of a new CentOS 6.2 server to select IP addresses but the Firewall GUI utility seems to be an all-or-nothing scenario. Either the port is firewalled or ...