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

learn more… | top users | synonyms (2)

0
votes
2answers
3k views

Winbind PAM.D AD Groups, CentOS 5, Allow Only?

I'm attempting to create a configuration, where users in specified AD groups can log in. I'm having trouble stopping every AD user from logging in. I've been doing this though /etc/pam.d/sshd/ but ...
1
vote
1answer
4k views

How to change SMTP outgoing port on Centos 6.3

I have a dedicated server running Centos 6.3. My customer wants to use Microsoft Outlook to send and receive e-mails. He can connect and receive his mails but when he tries to send e-mail he can't ...
3
votes
2answers
3k views

CentOS grub2 booting iso via loopback

I've got a usb-key setup to multi-boot different Linux images. I'm trying to add CentOS, here's a post with similar entries for grub.cfg set drive_label=multipass01 set isopath=/iso menuentry ...
3
votes
0answers
170 views

Traffic getting routed through Apache

for some reason, certain outgoing traffic on my server gets routed to the apache webserver i am running. this problem just started happening. i have the webserver set up to use vhosts, the webserver ...
3
votes
2answers
616 views

Is it possible for a CentOS system on EC2 to not have a bootloader?

I'm attempting to look for grub: [root /]# find / -iname "*grub*" /sbin/grubby /usr/share/man/man8/grubby.8.gz /usr/share/vim/vim70/syntax/grub.vim /usr/share/vim/vim70/ftplugin/grub.vim ...
3
votes
2answers
3k views

yum - list configure flags/options used to compile package

How can I see a list of flags/options used to configure and compile a certain package in yum, without having to install it first? Say apache, for example. $ yum list available httpd Available ...
6
votes
3answers
9k views

What prevents a machine from responding to pings?

I have a CentOS release 5.4 linux box on Amazon EC2 that I'm trying to set up to be monitored via Nagios. The machine is in the same security group as the nagios server, but it seems to be ...
3
votes
1answer
2k views

Start network service at boot time on CentOS

I've recently reinstalled CentOS onto a computer of mine. I have OpenSSH Server on it now, as did I before I reinstalled the operating system. Here's the difference: Before, SSH started without even ...
1
vote
1answer
158 views

Is rpm the only file extension for repositories

I've noticed that repositories in CentOS have the .rpm extension. Are there other extensions? Is .rpm specific to the operating system? i.e. do other linux operating systems have other extensions? ...
2
votes
2answers
1k views

Installing Audacity - Package Problems

Have CentOS 6.2. I'm trying to install Audacity, and I'm getting package problems. The Audacity webpage says I need the wxWidgets library, which I think I've installed correctly (./configure, make, ...
6
votes
3answers
3k views

What does it mean to be in group 0?

Several users in a system I inherited have their group set to 0 in /etc/passwd. What does that mean? Do they essentially get full root privileges? The system is running CentOS 5, and the users ...
0
votes
1answer
202 views

Which wiki software does CentOS.org use? [closed]

Like the title says, if you goto CentOS.org and hit up the wiki, I am trying to figure out which wiki software it is. Usually I can scroll to the bottom and get the wiki software name and version from ...
5
votes
3answers
1k views

How can I know the process name which is opening a tcp port?

I have two linux servers. Let's say they are C and S. C is client of S On my S machine, I type. $ netstat -an | grep ESTABLISHED tcp 0 0 192.168.1.220:3306 C:57010 ...
15
votes
11answers
55k views

Cannot enable network after CentOS 6.3 fresh install

I am trying to perform a fresh CentOS 6.3 installation then run various yum commands such as yum install httpd. The installation runs fine, however I cannot run any network based commands like yum I ...
1
vote
2answers
294 views

How to maintain file ownership when running 'yum update'

I'm running CentOS 6.2 and installed nginx as root. After the install I changed the owner and group of the install to it's own user and group to keep thing a bit more secure. I logged in as root and ...
5
votes
2answers
202 views

High-level command to request several branches of snmp in one tcp-session?

We are trying to monitor our servers mainly with SNMP. Due to performance reasons we are changing this from single requests to snmp-bulk-requests (as allowed in SNMP v2c). In theory (at least to my ...
1
vote
1answer
986 views

Path issues with a source install

I hope my title isn't confusing. I've got a CentOS 5 machine and I had Ruby 1.8.7 installed on here. So in order to upgrade my Ruby installation and gems/rails I Uninstalled Ruby: sudo yum remove ...
0
votes
1answer
83 views

CentOs Unable to load pages that are on server

I am having a little difficulty accessing pages that are on my server. Under /var/www/html/ I have an index.html page, and when I try to access it from chrome, it times out. The permissions on html/ ...
2
votes
1answer
195 views

How to block ip adresses which access more than n-pages in m-prediod of time?

How to block ip adresses which access more than n-pages in m-prediod of time? I want to blovk all auto-traffic and I am not sure how to approach this issue.
0
votes
1answer
3k views

Postfix Configuration - different servers for subdomains and domain

I have a following setup: 1 postfix server: a.example.com that needs to accept all emails for any subdomain on example.com (*@*.example.com) and delivers to mailman account and also send emails to any ...
0
votes
2answers
318 views

yum is asking the kernel version which is already there

I have a server with centos 5.3 x86_64 on it. I am trying to install some asterisk modules on this server using yum. So yum asked me to upgrade my kernel to "kernel-2.6.18-308.11.1.el5" Then i have ...
1
vote
2answers
2k views

CentOS 6.3 (kernel 2.6.32-279) & wl-kmod won't compile

I have been trying (unsuccessfully) to compile a Broadcom driver for use on my CentOS laptop. Previously, I had used the instructions located here to compile and it worked flawlessly. Now, I cannot ...
7
votes
6answers
30k views

How to extend CentOS 5 partition on VMware?

I have a CentOS 5 virtual machine and I added 20GB more to disk size. How do I initialize and extend the available space? I'm new to Linux, so what should I do? I tried loading GParted as well, ...
-2
votes
2answers
367 views

Download and Install 32-bit Haskell GHC on CentOS

I need to install Haskell GHC 32 bit from the command line and I can't find this anywhere. I need to install it because I need libgmp.so.3 for the 32-bit and i have read somewhere that I can find it ...
3
votes
2answers
545 views

Error establishing a database connection; how can I determine whether or not these connections are real?

I've just run into a problem today with MySQL reaching its database connection capacity. The error I'm receiving is, Error establishing a database connection. When I try to access /phpma, I get this ...
1
vote
0answers
591 views

I can't find my tape library changer under centos 5 with a quantum scalar i40

i have a quantum scalar i40 connect on a centos 5 machine trough SAS interface. I fight with it since a while because the media changer does not work. I finally understood yesterday that the system ...
0
votes
1answer
2k views

Giving apache user same permissions as root only on specific folders

Not sure if this is possible but is there a way to grant the Apache user same level of permissions (ownership) as root only on specific folder(s). Why I need this: We have a CentOS 6.2 server with ...
4
votes
2answers
4k views

How do I configure which ethernet connections are active on boot?

I have an unmanaged dedicated server that I administer, running CentOS. Recently when I reboot the server, I am unable to use SSH. Both times this has happened the server host has determined the issue ...
1
vote
1answer
1k views

Setting up SMTP-AUTH & TLS in Postfix

So I have been in the process of installing a Postfix Server on my CentOS 6.2 Virtual Private Server. I have been following this tutorial: ...
6
votes
1answer
2k views

Can Yum express a preference for x86_64 over i386 packages?

I run a 64-bit version of CentOS5. At the moment, when I run Yum updates or installs, unless Yum is purged of i386 packages prior, it will install i386 packages when x86_64 are available. Is it ...
1
vote
4answers
215 views

How can I tell if a package is safe to update on CentOS?

I have a simple two-node CentOS cluster based on DRBD, Corosync and KVM. When I try to update its packages via yum it lists something like Updating: clusterlib x86_64 ...
4
votes
1answer
308 views

Mail Server Spoofing Prevention

I was in the mail logs yesterday when i noticed the following messages.. only there were more like 10,000 odd hits... Jun 21 10:47:10 exi-svr-2 dovecot: pop3-login: Disconnected: user=, method=PLAIN, ...
1
vote
1answer
1k views

Newly installed CentOS 6 shows squares instead of letters

I have a VPS which I've just reinstalled an OS on. The OS is CentOS 6 x32. I've exactly done the following: yum install wget nano firefox yum update yum groupinstall Desktop useradd wajed ...
1
vote
2answers
122 views

SSNiper SSN Scanner support

I work for a major university and we have a policy that requires annual scanning of all computers for social security numbers (SSNs). I started using a utility called SSNiper that was created at UIUC. ...
1
vote
2answers
418 views

centos primary/secondary nameserver setup

I am new to Linux/unix and would like to know how to setup my (ve) server to host my website. The (ve) server will have centos 5.5 installed with a LAMP stack. I am specifically looking for a way to ...
2
votes
3answers
3k views

“No package wine available” and “No package fluxbox available”

I'm running "Centos 6 64-bit" on a Virtual Private Server (VPS) (i.e. on the cloud). When I issue this command: "yum install vnc-server wine xterm fluxbox vsftpd firefox vnstat" I get some results ...
0
votes
1answer
3k views

IPtables string match

I'm trying to write iptables string match rule To block http://domain.com:8888 and https://domain.com:8888 when it matches the supplied string in the rule. And another rule to redirect the ports also ...
1
vote
1answer
395 views

Bring up alias interface on boot, when the main interface is down

In my CentOS 6.2 server, I have the following configuration for networking: The NetworkManager package wasn't installed on eth0 I have a DHCP configuration on eth0:1 alias interface I have a static ...
0
votes
0answers
325 views

Linux webserver reboot issue

I've webserver, it works fine when there is no load into it. when I've load onto it and try to restart httpd server gets reboot itself or sometimes it automatically get reboot It is Xen HVM with OS ...
2
votes
1answer
9k views

Error, some other host already uses address IPADDRESS

I have the following scenario on my Centos 6.2 server: eth0 : has IP 192.168.50.10 eth0:5 : has IP 10.0.0.1 When I boot the system, everything is up and working. When I run: ifdown eth0:5 and after ...
4
votes
3answers
2k views

Recursively list files with file names, folder names and permission in CentOS

Is there anyway I can list files by typing a command in the shell which lists all the file names, folder names and their permissions in CentOS?
1
vote
2answers
322 views

Interface and alias up at the same time

I have on my eth0 NIC card the following IP alias (I'm running CentOS 6.2): eth0 - IP: 192.168.50.1 eth0:5 - IP: 10.0.0.1 Now, when I boot the server, both interfaces come up and respond, but if I ...
4
votes
1answer
695 views

How to disable floppy seek at linux startup?

It is annoying enough that my BIOS has no switch that allows me to disable the floppy-seek at boot. But when I boot CentOS 5 the floppy seeks again - I suspect hald to do this. How can I disable that ...
3
votes
1answer
1k views

dual booting centos5.5 and fedora

I already have CentOS 5.5 on my system whose hard disk is ~500GB. I have tried to dual boot with Fedora 16. while installing fedora 16 I have created a ~250GB and ~4GB partitions for "/" and swap. The ...
5
votes
4answers
2k views

How to get better desktop performance in linux?

Normally I do not care much about desktop - performance, since my servers do not run any gui. But at home I run some older hardware (Pentium) which gets sometimes very sluggish (mouse-movements in ...
4
votes
2answers
2k views

/etc/crontab permissions

The /etc/crontab file has the permissions: -rw-r--r-- I understand that this file is for system cron jobs and other users should not have permission to modify it. The current permissions allows all ...
3
votes
2answers
4k views

Unable to install the php-posix package on CentOS 5.6

I have the following PHP packages installed on my CentOS 5.6 host and I am trying to install php-posix. When I run yum install php-posix I receive an error saying that php53-common conflicts with ...
3
votes
2answers
3k views

Why does CentOS not have an NTP drift file?

It seems that CentOS does not have a ntp.drift or similar file. In /etc/ntp.conf, it says that you can use /var/lib/ntp/drift as a drift file but this file does not exist. Does CentOS does not ...
0
votes
3answers
138 views

changing name of some files in bulk [duplicate]

Possible Duplicate: Rename all the files within a folder with prefix “Unix_” how can I rename multiple files by inserting a character? Is there a way to make a change in name of some ...
3
votes
1answer
625 views

CentOS network connection breaks every 5 min

I installed CentOS 6.2 about a month ago and it worked fine. Two days ago I saw that the internet connection is broken, so I reconfigured it. I was able to use it but after a few minutes it broke ...