0
votes
2answers
33 views

rbash to limit user to its home directory closes sftp connection

Server: Red Hat Enterprise Linux Server release 6.5 (Santiago) Using openssh-server to allow sftp connexions. I'm trying to limit users to their own personal home directory. So i modified ...
0
votes
2answers
199 views

MySQL won't start: “Can't start server : Bind on unix socket: Operation not permitted”

Running a minimal Centos 6.0 build as a vagrant box, with SELINUX=permissive. Right off the bat, performing a "yum install mysql-server" and then "service mysqld start" it fails. Inside ...
0
votes
1answer
61 views

Adding an interface-specific gateway

Desired result: Assign an interface-specific gateway in the circumstance that are also receiving general DHCP-supplied gateway settings. Current situation: Interface-specific gateway setting is not ...
0
votes
0answers
65 views

Printing to the console with CentOS's Upstart

I'm trying to print an error message to the console as part of an Upstart script (in a pre-start script stanza). According to the general Upstart documentation, adding console output should do the ...
0
votes
3answers
134 views

Preferred way to add a new name server to a host in Red Hat or CentOS

I am managing a particular host machine, and I would like to locally add a new name server for it to query (i.e. not changing its name server settings via the dhcp server). It seems that there are ...
0
votes
1answer
38 views

How is it determined which name server will be used for a particular interface?

According to the documentation for interface configuration files in RHEL 6, an interface can specify which name server it would like to use by including the directive DNS{1,2}=address . The ...
13
votes
1answer
1k views

HP DL380p Gen8 (p420i controller) I/O oddity on XFS partitions

On DL380p gen8 servers using XFS on top of LVM on top of raid 1+0 with 6 disks, an identical workload results in a ten-fold increase in disk writes on RHEL 6 compared to RHEL 5, making applications ...
-1
votes
1answer
541 views

updates-testing repo for CentOS 6?

What is the equivalent CentOS 6 repo for the updates-testing repo of RHEL/Fedora? I am trying to follow the node.js installation instructions here and am having trouble figuring out what repo to add ...
0
votes
1answer
234 views

What is an active CentOS6 / RHEL6 repository providing icinga? [closed]

There are several CentOS6 repositories listed in the wiki and I checked nearly all of them. Only RPMForge provides icinga / icinga-web, but in v1.7.2 which is fairly outdated and contains several ...
4
votes
1answer
242 views

RHEL/CENTOS6 Interface naming and IP assignment for rotating MACs

Background: I am creating an RHEL6 OS disk image that will potentially be passed around to many different computers with identical hardware (except for serial numbers such as MACs). The image is ...
5
votes
2answers
1k views

Persist IP address alias across reboots in CentOS/RHEL 6 using “ip” command

I've always used the ifcfg-eth0:1 alias files to create additional addresses. However, in recent rhel documentation, it states that: As the ip command of the iproute package now supports assigning ...
1
vote
1answer
56 views

sendmail.mc to fwd all mails for a domain -> First.Last@gmail.com (MX record already set up)

I'm currently using Google Apps to forward mails addressed to recipients at my domain balkan-preferans.de (176.9.40.169) to my address First.Last@gmail.com - this is done by the following DNS-zone ...
1
vote
1answer
374 views

A stock install of Moodle doesn't seem to run on CentOS or RHEL 6.3

I've got a clean instance of CentOS and a clean instance of RHEL 6.3 - I've tried to installed Moodle on both. Error: Database connection failed It is possible that the database is overloaded or ...
0
votes
1answer
346 views

Best practices for tuning virtual hosts

While digging around to find resources on tuning virtual hosts I found an article on VMWares knowledgebase about changing the I/O scheduler. What else should be considered for improving ...
4
votes
1answer
493 views

chkconfig creating service symlinks with the wrong order

On RHEL 6.3, I have a system service that should be starting after postgresql and httpd (order 64 and 85, respectively), but chkconfig always places it at order 50. I tried an experiment on a CentOS ...
1
vote
1answer
309 views

Doubled up RAM to 32 GB - now how to speed up a “LAPP” server?

I run a small Facebook game at a CentOS 6.3 quad core machine with PostgreSQL 8.4.3 + few PHP scripts (doing mostly select queries) + 1 Perl daemon and even though the server worked ok, I've suggested ...
2
votes
2answers
8k views

How to add interface alias on RHEL6 or CentOS6 with NetworkManager?

How to add a network interface alias (for example eth0:0) on CentOS6 or RHEL6 in the "correct" way that is through NetworkManager without NM_CONTROLLED=no. And this has to be done without GUI. Thank ...
0
votes
1answer
184 views

Sphinx search on RHEL / CentOS MySQL cluster

Is it possible to add a new resource type to an RHEL or CentOS 6.x cluster, in order to allow Sphinx fulltext search to run alongside MySQL? The clusters are managed using luci/ricci and cman.
0
votes
1answer
429 views

Centos/RHEL 6: 32bit PHP package on 64bit architecture

How can I install the i686 php package on an x86_64 architecture?
5
votes
3answers
4k views

Interpreting cryptic kernel “page allocation failure” messages

I have a multi-user CentOS 6.1 database system running an application named ABC. The server is 64-bit, 8GB RAM and 6 vCPU (on VMWare ESXi 4). We get frequent dumps into the dmesg and the system logs ...
5
votes
2answers
1k views

Modify XFS filesystem creation parameters during kickstart installation

I'm streamlining the kickstart process for a series of EL6.2 (RHEL, CentOS, SL, etc.) systems. I'd prefer to use XFS over ext4 for the growth/data partition. However, I'd like some control over the ...
1
vote
4answers
5k views

how to change screen resolution in rhel/centos 6?

I have cent os 6 dvd installed on my computer.my monitor resolution is 1920 X 1080. i cannot increase screen resolution to 1920 X 1080. system->preference->Display can give maximum resolution as 1280 ...
3
votes
4answers
840 views

Reloading a kernel “live” in CentOS / RHEL 6

When upgrading the kernel package on CentOS or RHEL 6, is it possible to load the new kernel without rebooting? My gut tells me it's not, but if it were, it'd be handy - especially when compiling ...
2
votes
3answers
3k views

Compiling realtime kernel from RHEL 6 MRG sources on CentOS 6

I'm trying to compile kernel-rt-2.6.33.9-rt31.75.el6rt.src.rpm from RHEL6 MRG source RPMs on Centos 6 x86_64 system. It's first time I'm doing this, so I did research on how to do this properly. From ...
1
vote
1answer
754 views

rhel6 repsitories gives broken dependencies

i tried several repositories for rhel 6 like epel,freshrpms,etc and all the repositories give broken dependency while installing pakages(eg:vlc,exaile).From where i get a repository without broken ...
1
vote
3answers
8k views

/etc/inittab respawn script migrating from RHEL/CentOS 5.x to 6.x

I have a non-forking perl script running as a TCP-sockets daemon (this script is a backend for a multiplayer game) in CentOS 5.7. It is being started and respawned by /etc/inittab: ...
13
votes
2answers
25k views

Upgrade CentOS 5.x to CentOS 6.x - tips and techniques

Now that CentOS 6.0 is making its way to the various mirror sites, I wanted to solicit opinions on the upgrade process. In working with the commercial RedHat 5.6 and 6.x distributions for the past few ...