Questions tagged [centos5]

CentOS 5 is an obsolete, free (as in beer and speech) GNU/Linux distribution that is community driven and based on source code released from RHEL.

CentOS 5 is a free (as in beer and speech) GNU/Linux distribution that is community driven and based on source code released from RHEL. It went end-of-life on 2017-03-31, is now unsupported, and shouldn't be used on production systems.

806 questions
4
votes
1 answer

date command displays different time

I have one centos 5.8 Linux server. I am experiencing a bit strange issue and figured out it is something with system time. When I check date command, outputs are really strange. Here is example: [root@web ~]# date Thu Feb 19 21:21:59 JST…
mask8
  • 169
  • 5
4
votes
2 answers

Difference between httpd and httpd-devel package on CentOS 5

I'm trying to update PHP 5.1 to 5.3 on CentOS 5.10. On the server, httpd-devel is installed but trying to install php53 on CentOS 5, it wants to install httpd. This is a production server so I need to know if it's safe to install httpd when…
superbarney
  • 73
  • 1
  • 7
4
votes
1 answer

Near 100% disk usage, df and du show very different results, lsof not the answer

The issue is that my CentOS 5.8 machine is telling me that I am nearly out of disk space when I am pretty confident this is not the case. I've done a fair amount of researching on this issue and have been unable to find a solution. 'df -h' shows…
edwaa
  • 49
  • 2
4
votes
3 answers

List sudo users in centos

How do I list all sudo users at CentOS server? There are many groups(root, wheel, adm etc) at server, and have users in it. I am looking an easy way/command to find users in all groups who have sudo access. Note: My user also have sudo access. And I…
Ahsan
  • 151
  • 1
  • 1
  • 6
4
votes
3 answers

Compiling kernel version >= 2.6.34 on CentOS 5: RAID set "ddf1_foo" was not activated?

I want to mount a Ceph FS on some CentOS 5 servers. Since the ceph-fuse failed with below errors: # ceph-fuse --no-fuse-big-writes -m 192.168.2.15:6789 /mnt/ceph/ ceph-fuse[7528]: starting ceph client ceph-fuse[7528]: starting fuse fuse: unknown…
quanta
  • 51,413
  • 19
  • 159
  • 217
4
votes
2 answers

High Server Load cannot figure out why

My server is currently running CentOS 5.2, with WHM 11.34. Currently, we're at 6.43 to 12 for a load average. The sites that we're hosting are taking a lot time to respond and resolve. top doesn't show anything out of the ordinary and iftop…
Tango Bravo
  • 143
  • 5
4
votes
2 answers

Auto restart server if virtual memory is too low

There are quite number of software running on my server: httpd, varnish, mysql, memcache, java.. Each of them is using a part of the virtual memory and varnish was configured to be allocated 3GB of memory to run. Due to high traffic load which is…
Sukhjinder Singh
  • 393
  • 1
  • 4
  • 12
4
votes
1 answer

Monitor or log directory permission changes?

I'm having an issue with a cPanel shared server running CentOS 5 where a few directories under the public_html folder keep getting changed to 777 from 755. The customer says they are not changing it and i'm wondering if there is a way to monitor…
sMyles
  • 153
  • 1
  • 1
  • 8
4
votes
3 answers

How to clear a disk entry from Linux

I have few Linux (RHEL 5.x / Centos 5.x) boxes running on KVMs, on which I used to attach and detach disks on the fly. Now the problem with EL5 versions are, when we add a disk, initially it will be marked as /dev/sdb. When I remove it and re-attach…
4
votes
4 answers

Do i need swap memory on my CentOS vps?

Do i need a swap memory for my centos vps? Will it increase performance and if so how do i go about setting it up? I've found this link (http://www.centos.org/docs/5/html/Deployment_Guide-en-US/s1-swap-adding.html) but it shows three methods of…
4
votes
1 answer

Mount Mac OS X 10.7 share on CentOS?

I need to create a mount point/share on a Mac OS X 10.7.4 (non-server) machine that a CentOS 5.2 box can mount. I've searched a ton but most instances are for using a linux server and Mac client... I'm going the other way around. I spent a day…
user1337
  • 153
  • 2
  • 6
4
votes
2 answers

Is this a hacking attempt? (CENTOS, NGINX log file)

Here's what I found from /var/log/nginx/error.log file. 2012/02/23 04:28:32 [error] 1704#0: *2 open() "/usr/share/nginx/html/MyAdmin/scripts/setup.php" failed (2: No such file or directory), client: 116.255.168.108, server: localhost, request: "GET…
user269334
  • 161
  • 2
  • 5
4
votes
2 answers

How do I specify the DHCP IP address ? (CentOS 5.3)

I would like to shorten the bootup time of my CentOS Virtual Machines. They are spawn up automatically during our test cycle. We noticed that it could take up to 15 seconds to obtain an IP address from the DHCP server, and suspect it has to do with…
Itai Frenkel
  • 203
  • 1
  • 8
4
votes
1 answer

making sure daemons are safe

So I was wondering, what steps should we take to make sure PHP daemons are safe? One of the things that I read about was assigning the daemon to run as a user with limited priveleges? But how can we do that in UNIX? I am guessing using the useradd…
Pota Onasys
  • 169
  • 1
  • 4
4
votes
4 answers

Configuring several IPs on centOS from different networks

So i have a plesk centos server. This server has public IPs and is hosted at a datacenter. And i have several IPs. The ones working lets say 192.168.1.50 .51 .52 192.168.1.50 is configured has eth0 like…
GriffinHeart
  • 411
  • 6
  • 14