The XFS filesystem is broken in RHEL/CentOS 6.x – What can I do about it?
Recent versions of RHEL/CentOS (EL6) brought some interesting changes to the XFS filesystem I’ve depended on heavily for over a decade. I spent part of last summer chasing down an XFS sparse file situation resulting from a poorly-documented kernel backport. Others have had unfortunate performance issues or inconsistent behavior since moving to EL6. XFS was my default filesystem for data and growth-partitions, as it offered stability, scalability and a good performance boost over the default [...]
Continue Reading »Best Practices for updating a previously unmaintained server RHEL5.7
A new RedHat EL5.6 server has been recently put under my care. It is immediately obvious that, for the previous 12 months, little to no attention has been given to any sort of package updates. Typically I am of the mindset of if it isn’t broke – don’t fix it. However, after registering the server with RHN, and also using the yum-security plugin to check security updates, there are just over 1100 “security” updates available. [...]
Continue Reading »Where is the sshd log file on Red Hat Linux stored?
Can someone please tell me where to find the SSHD log on RedHat and SELinux…. I would like to view the log to see who is logging into my account.. Asked by user150591 Login records are usually in /var/log/secure. I don’t think there is a log specific to the SSH daemon process, unless you’ve broken it out from other syslog messages. Answered by John Check more discussion of this question. Bookmark on Delicious Digg this [...]
Continue Reading »Connecting to Gest ip address usign host alias [closed]
I have RedHat OS running on VMWare Player. My host operating system is windows7. Network configuration i am using on my virtual machine is NAT. I have configured my Guest operating systems /etc/hosts to have following configuration. [ora112@jipsl01t ~]$ cat /etc/hosts # Do not remove the following line, or various programs # that require network functionality will fail. 127.0.0.1 localhost 192.168.179.129 jipsl01t jipsl01t.com when i ping from my host operating system, i can ping to [...]
Continue Reading »Running drupal as root in order for it to run bash scripts
I store a website on redhat and using drupal. There is a button on the site that activates a php script and that php script use exec to activate bash script on the server. Right now the script is not being run, i guess because of permission reason – the drupal user that runs the bash does not have root access to run the bash script. How can i add the user as a root [...]
Continue Reading »How do I setup VirtualHosts to point two ports on same IP to different ServerNames?
I have set up the wiki software Gitit to run on two separate ports of the same Apache server (ports 1848 and 4000). I’ve confirmed that they are running. Now I want to proxy these two sites to prettier URLs, like sitea.com and siteb.com. The IP address for both is the same (say, 12.34.56.78). My server admin has added DNS entries for the names, but I can’t seem to get my Apache configuration to work. [...]
Continue Reading »Issues migrating a CentOS 4 xen guest to VMWare
I am migrating a xen guest. It is running a CentOS 4. I am using the same steps that have worked in the past for our RHEL5 and RHEL6 based systems but for some reason, I’m getting errors. Here are the steps in brief: On the guest, install a non-xen kernel and the kernel’s devel package. Turn off database and other services that may cause data inconsistencies Using VMWare vCenter Converter, migrate data to VMWare [...]
Continue Reading »Updating and deleting java (red hat / centos) (closed)
I am a total noob with linux. So please explain clearly if you have a solution for me. I have an VPS and I want to update JAVA. I found a guide on the Java site which says: rpm -e < package_name > I searched for the packages: [root@srv1 ~]# rpm -qa | grep java java_cup-0.10k-5.el6.x86_64 java-1.5.0-gcj-1.5.0.0-29.1.el6.x86_64 Than I tried to do the delete command [root@srv1 ~]# rpm -e java-1.5.0-gcj-1.5.0.0-29.1.el6.x86_64 error: Failed dependencies: java-gcj-compat is [...]
Continue Reading »Upstart won’t reload it’s configuration
I have a service I’m trying to write an upstart script for and it’s not going too well. At some point, I decided I needed a fresh start and removed the upstart configuration file. stop myservice rm -f /etc/init/myservice.conf initctl reload-configuration However, upstart still shows my service in the list as “stopped/killed”. initctl list status myservice How is this possible and how can I get rid of my service for good without restarting the machine? [...]
Continue Reading »On AWS do I have to open ports in an EC2 instance’s firewall as well as security group?
If I change my SSH port from 22 to 23453, I can no longer ssh in. In more detail, I’m using a Red Hat EC2 instance on Amazon Web Services. This is the second change I’ve on a fresh install (first change was to add a non-root user). I can ssh in fine using Git Bash and a local .ssh/config file, I edit the line in /etc/ssh/sshd_config that currently says #Port 23453 to say Port [...]
Continue Reading »


