CentOS is a free (as in beer and speech) GNU/Linux distribution that is community driven and based on source code released from RHEL.
0
votes
1answer
9 views
RubyGem installation can't find header files
I'm running Ruby 1.9.3 on CentOS 5.3. I installed it by compiling Ruby 1.9.3 from source, along with libyaml. I'm also using rbenv to manage versions, so I placed the compiled installation in ...
0
votes
2answers
31 views
Limit if open files mistake on centos 5.5
On my centos 5.5 server,i set in limits.conf with bellow:
* soft nofile 409600
* hard nofile 409600
but when i issue command:ulimit -n. It tell me :
open files (-n) 1024
I ...
0
votes
1answer
23 views
CentOS 5.9 Apache mod_php issues
I'm currently using NGINX with FastCGI and PHP 5.4 on the production server.
Lately we've been getting mass CPU usage spikes and I'd like to spend a few days using Apache and mod_php again to see if ...
0
votes
1answer
50 views
CentOS 5.7 Yum Segmentation fault (core dumped) error [duplicate]
My system Info: OS :CentOS release 5.7 (Final)
Apache 2.2.3 Server Running
DirectAdmin 1.40.1 Running
Exim 4.76 Running
MySQL 5.1.57 Running
Named 9.3.6 Running
ProFTPd ...
-1
votes
2answers
22 views
/var/log/messages filled with FAIL: check_mk address from=
The /var/log/messages log file on our server is filled with endless lines of
May 5 11:10:38 crm xinetd[24532]: FAIL: check_mk address from=1.2.3.4
It seems to log every 3 minutes or so, the number ...
0
votes
2answers
46 views
Cannot hit nginx from outside localhost
I am a newbie on nginx, what I am trying to do is setup nginx and be able to use it as my webserver.
The issue I am facing now is that when I try to access the IP or domain name that nginx is ...
0
votes
0answers
26 views
Upgrade OpenSSL to Latest Version
I'm build app ruby on rails but openssl on my server is old. I need upgrade openssl because openssl certificate verfication failed.
OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008
Centos 5.8
I have tried ...
1
vote
1answer
34 views
Why do I sometimes (but not always) see “internet address” data for an MX record in output for nslookup queries?
CentOS 5.x
I've noticed that sometimes I'll see "internet address" for an MX record in the output of nslookup. This doesn't happen all the time though.
For example, let's say that foo.com uses ...
1
vote
4answers
117 views
Good pratices to update servers? [closed]
I have many servers running CentOS 5.* and CentOS 6.*, I would like to update them, but there's some applications running and I might crash these applications, which led me to write this post with ...
1
vote
1answer
31 views
Centos install in Xen problems
I'm running ubuntu 12.04.1, and I want to install CentOS 5 or 6 using network installation via http. Using xen images from http://mirror.centos.org/centos/5.7/os/x86_64/images/xen/
my config:
...
0
votes
0answers
17 views
Alias on apache2 gets Error 403 forbidden
Hello I am trying to do an Alias to my home directory but i always get Error 403 here is my script
Alias /Videos "/home/myHome/Videos"
<Directory "/home/myHome/Videos">
DirectoryIndex ...
0
votes
1answer
48 views
Can't connect to remote CentOS server, possibly disk full
We have a remote server using CentOS 5 with Apache 2.2/PHP/MySQL that have crashed due to possible hard disk being full.
Can't access WHM - giving "500 Internal Server Error"
Can't access SSH - ...
1
vote
0answers
73 views
Nagios: check services being orphaned?
Recently I noticed that there are some warnings in the nagios.log:
[1366060611] Warning: The check of service 'pt-deadlock-logger' on host 'xx' looks like it was orphaned (results never came back). ...
0
votes
1answer
34 views
Cannot start NFS daemon
I'm trying to set up a NFS share but I cant start NFS service:
$ service nfs start
Starting NFS services: [ OK ]
Starting NFS daemon: ...
0
votes
1answer
43 views
How to build from source on CentOS 5.9?
I'm building iptraf-ng on CentOS 5.9 and running into the following errors:
src/packet.c: In function ‘packet_process’:
src/packet.c:322: error: ‘ETH_P_QINQ1’ undeclared (first use in this function)
...
1
vote
1answer
61 views
Adaptec RAID array was not detected after updating the kernel?
Continue from this topic, the newer kernel booted successfully but it doesn't see my sdc - which is a hardware RAID array (level 10).
I'm sure the aacraid module is loaded:
# grep aacraid ...
-1
votes
1answer
75 views
dd test indicated that it took 51 second to transfer 1 kilobyte, VPS hosting provider claimed not responsible, how? [closed]
I did a dd test on my VPSs, for your information, I am purchasing a VPS with 5 node from tmdhosting. My result:
Last login: Wed Apr 10 22:04:46 2013 from 115.85.128.54
...
0
votes
0answers
24 views
Command to restore CentOS VPS to the new purchased CenOS machine (VPS or dedicated server)
I have a VPS backup. I have moved to a dedicated server.
The hosting provider has given me a tar.gz backup.
They have also setup a CentOS 5 that has initial settings. Really initial (I mean only ...
0
votes
1answer
54 views
High Load Average, low CPU and Memory Usage and minimum wait time for IO Operation (5%)
I have a VPS with the OS centos 5.7, and it is behaving very weirdly. My VPS is located on a 2-core machine.
For a 2-core machine, the load average I can see is very high, as evident when I use the ...
0
votes
0answers
17 views
Migration in the vCenter changed network interface in a CentOS virtual machine
I have a vCenter 5.1 and two hosts with ESXi 4.1 (Host1) and ESXi 5.1 (Host2). They are working fine.
I migrated a CentOS from host1 to the host2. The state of the virtual machine was "powered off", ...
3
votes
0answers
54 views
OpenSSL handshake failure
We were recently forced to migrate our production cloud servers from GoDaddy to Azure because GoDaddy is ending thier cloud server service.
One of our servers was a CentOS 5.7 running a JasperReports ...
-1
votes
2answers
52 views
Centos 5 - Configuring a crontab PHP job [duplicate]
I'm running a CentOS 5 server, and trying to schedule a job which runs a php file every day at the same time, I've added a new file to the directory
/etc/cron.d/
called get_files
The get_files ...
0
votes
1answer
30 views
How can I change path for xml2-config
I've already asked same question in stackoverflow.I need some more help.
I’m trying to upgrade libxml2 from 2.6.26 to 2.7.7 on CentOS5.5
I installed libxml2-2.7.7 in /opt/libxml2-2.7.7/bin/
I'd ...
0
votes
2answers
54 views
Cannot install php-intl on CentOS
When I run:
yum install php-intl
I get this error:
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.as29550.net
* epel: ftp.nluug.nl
* extras: ...
4
votes
3answers
225 views
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 ...
2
votes
2answers
74 views
CentOS VM, NTP synchronization problems
We have three CentOS 5.9 VMs on an ESX3.5 host.
Because of the nature of the services we provide it is required that the NTP time is synchronized and the time is correct on all three of them.
...
0
votes
1answer
89 views
Many of joomla websites on my server have been hacked; no other kind of website [duplicate]
Today I got that many of Joomla websites on my server are hacked.
Some of the hacked joomlas were updated (the last version from 2.5 series) with the last version.
In many cases, the main index.php ...
0
votes
1answer
57 views
Allowing root login on sftp while disallowing it over ssh?
For security I only allow a dummy user to log in via SSH on my CentOS 5.8 server, for this I added:
AllowUsers dummyaccount
When accessing my server I then login with the dummy and use su - to gain ...
0
votes
1answer
169 views
Starting MySQL. ERROR! Manager of pid-file quit without updating file.
Im on CentOs v5.6 .When trying to start mysql im getting the following error
Starting MySQL. ERROR! Manager of pid-file quit without updating file.
In /var/log/mysqld.error.log i have the following
...
4
votes
1answer
112 views
Cent OS: How do I turn off or reduce memory overcommitment, and is it safe to do it?
From time to time "my" server stalls because it runs out of both memory and swap space. (it keeps responding to ping but nothing more than that, not even ssh).
I'm told linux does memory ...
0
votes
1answer
198 views
Checking Hard Disk Health on HP P410 RAID Card
How can I regularly check health of HDDs on a HP DL180 with P410 RAID Card on a live system?
hpacucli is installed, however, could not see any options for this feature.
Using CentOS, 64-bit.
Thanks ...
0
votes
1answer
29 views
Volume group not created
I have a Professional XXL with 2x 1TB HDDs (1TB RAID) server from velia.net and i want to create a volume group in it but when first i create pv it's showing.
[root@xen17 ~]# pvcreate ...
0
votes
1answer
106 views
CentOS 5: is %wa too high or optimal?
i have question about waiting for HDD. I'm not sure what is optimal %wa.
Server running browser game, i know that there is a lot hdd writing but im not sure what is optimal %wa.
Server running 8 ...
0
votes
0answers
62 views
Connection to MSSQL via zend framework not working
I have been trying to set up pdo_dblib and pdo_mssql, and have followed this guide. Following is my application settings for the database
resources.multidb.local.adapter = "PDO_MSSQL"
...
1
vote
0answers
124 views
Why is LVS dropping packets?
I am currently trying to get down to the core of a problem where my
LVS-director seems to drop a packet coming from a client from time to
time. We have this problem on our production systems and can ...
0
votes
2answers
228 views
sshd[4344]: error: ssh_selinux_setup_pty: security_compute_relabel: Invalid argument?
OpenSSH_5.8p1, OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008
selinux-policy-2.4.6-338.el5
pam-0.99.6.2-12.el5
SELinux is running in permissive mode:
# sestatus
SELinux status: enabled
...
1
vote
1answer
86 views
assign a USB to KVM virtual machine centos 5.8
can any one advice how to assign a USB to a guest based on KVM and host is centos 5.8 64-bit ?
when i tried with gui using virt-manager -> add physical device-> usb i got all usb like null
despite ...
0
votes
1answer
853 views
Explain CentOS 5 vs. CentOS 6 - why are releases not sequential?
I was confused about why my new server had CentOS 5.9 installed on it, when CentOS 6.3 is available.
But CentOS 5.9, it turns out, is actually the latest release.
Why are 5.x versions being released ...
0
votes
1answer
62 views
Server not responding to pings on external interface
I'm sure this is an easy routing question, but I've been banging my head over it for hours now.
Centos 5.
eth1 private. 10.0.0.12/24 gw 10.0.0.1
eth0 public 216.234.x.x gw 216.234.x.x
route command ...
-2
votes
1answer
50 views
Linux Server HDD Corrupted
Today I put my forum offline just before scheduled Cpanel backup. An hour later when I checked it says DATABASE error occured(or whatever the database error was) I logged into SSH and perform reboot. ...
0
votes
1answer
94 views
PHP curl showing wrong version
Hi I have been trying to get Curl with SSL support on CentOS 5.9 server . I have in the process updated php to 5.4.11 using the remi repo. The system is running plesk and when I do I look at phpinfo() ...
-1
votes
2answers
84 views
IP board not working on my new vps [closed]
my invision power board is not working on my new vps but it working on my old hosting provider's server.
ERROR:
Warning: Cannot modify header information - headers already sent by (output started at ...
0
votes
1answer
49 views
Error when restarting postfix
When I have restarting the postfix server I am facing the below error ::
postfix-out/master[1714]: fatal: open lock file pid/master.pid: cannot create file exclusively: Permission denied
I having a ...
2
votes
2answers
120 views
Linux process swap usage is greater than the overall system swap usage
I have a strange problem that when I run top command it shows that some processes are using around 1.5GB of swap space but then the overall usage of the system swap is way to less to something around ...
1
vote
0answers
106 views
Is there a tool to do packet mirroring in CentOS 5.9?
I know iptables + xtables can do it in more recent versions using the TEE target supplied by the xtables-addon package for iptables. However, the kernel in CentOS 5.9 is 2.6.18 and this version is not ...
0
votes
1answer
175 views
OpenLDAP: pwdChangedTime attribute isn't created after changing the password?
I'm going to integrate the check_mk's Multisite with OpenLDAP. After configuring the LDAP connector, I get the following error when opening the "Users & Contacts" page:
Error executing sync hook
...
0
votes
1answer
23 views
An SPF setup example
To set up SPF for an OpenEMM server (emm.example.com.sg) for the site:
domain: example.com.sg
web server: www.example.com.sg
EMM server: emm.example.com.sg (say, ip: 201.202.203.204)
The ...
0
votes
1answer
61 views
User permission restriction
I am using CentOS 5.5.
I would like to control user that can access granting application. User can't use any application or any resource (e.g calculator, default application of normal user)that isn't ...
1
vote
0answers
140 views
OpenVPN server won't start (CentOS 5)
I am trying to setup a VPN server on 1&1 VPS.
I was able to install OpenVPN-AS more or less as instructed; separately, I have checked and cat /dev/net/tun/ yields
cat: /dev/net/tun: File ...
1
vote
4answers
171 views
Linux high load with ImageMagick convert utility and server freezes (blktrack output attached)
I'm using ImageMagick to convert a JPG to TIF file, and I'm using the limit options for Imagemagick as below:
/usr/bin/convert -limit memory 256 -limit map 512 subjectfile.jpg -colorspace Gray -depth ...
