0
votes
2answers
32 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 ...
-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 ...
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 ...
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 - ...
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: ...
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
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 ...
-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. ...
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 ...
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
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 ...
0
votes
1answer
122 views

CentOS server high load and server freezes

My server seems to get sudden high loads within second and when I run dmesg, following logs appear: INFO: task auditd:2185 blocked for more than 120 seconds. "echo 0 > ...
2
votes
2answers
75 views

Dhcrelay init.d script runs improperly

I am trying to use dhcrealy on a CentOs 5 kernel which have kernel version 3.5.3. I configured /etc/sysconfig/dhcrelay file like that dhcrelay -i eth1 192.168.0.1 While dhcrealy is stopped, I ...
0
votes
1answer
77 views

linux server frozen after yum update

Updated today with yum update: qmail-scanner x86_64 1:2.10-8.el5.art atomic 349 k tortixd x86_64 2.2.23-8.el5.art asl-3.0 1.1 M tortixd-mod_ssl no errors but after 15 minutes the servers started to ...
2
votes
2answers
181 views

Httpd restart “Address already in use” error

I have an .rpm, which I created. In its %post part, I do some stuff, and in the end of this script, i call service httpd restart. It gives the following error: + service httpd restart Stopping httpd: ...
0
votes
1answer
87 views

IP bases access control list script

I would like to setup ACL (python script or any ready made Centos compatible scipt) & limit rate for all IP addresses, who are hitting the site very frequently. For example crawlers, bots (except ...
0
votes
2answers
350 views

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 ...
0
votes
1answer
244 views

How can I confirm if my CentOS server supports multiple CPUs?

CentOS 5.8 | VMWare I've got a server running a hardened version of CentOS 5.8. I've been using a single CPU on it and am planning to add another (via vmware). When I run uname, I see SMP which ...
3
votes
3answers
113 views

one 16K random read I/O issues 2 scsi I/O (16K and 4K) requests in linux

I noticed weird issue when benchmarking random read I/O for files in linux (2.6.18). The Benchmarking program is my own program and it simply keeps reading 16KB of a file from a random offset. I ...
-1
votes
2answers
47 views

How to configure apache2 from source with php from repo?

I'm asking this question out of my curiosity. Is there anyway around to configure apache2 with the php that had been install through yum? Or vice versa? Because based on my self experiences and ...
-1
votes
3answers
82 views

Will the data be deleted when resizing a partition [closed]

I'm planning to resize one of the server partition from 40GB to 1900GB. The current partition has files on it while the space to be added is unallocated. Will my existing files be deleted? Any help ...
0
votes
0answers
66 views

Java won't install

# rpm -ivh jre-7u6-linux-x64.rpm Preparing... ########################################### [100%] package jre-1.7.0_06-fcs.x86_64 is already installed But I also get: # rpm -e ...
1
vote
1answer
108 views

Can't Send Large Messages Using Sendmail CentOS 5

I have recently replaced a Fedora Core 3 server with one running CentOS 5 for the purposes of a mail relay in a DMZ. My problem is that when the server is sending messages to a particular remote ...
0
votes
2answers
4k views

Too many Bind query (cache) denied, DNS attack?

Once Bind crashed and I did: tail -f /var/log/messages I see a massive number of logs every second. Is this a DNS attack? or is there something wrong? Sometimes I see a domain in logs like this: ...
5
votes
3answers
645 views

Clear / Flush cached memory

I have a small VPS with 6GB RAM hosting a couple of websites. Recently I have noticed that my cached memory size is quite high - see below: Cpu(s): 0.1%us, 0.1%sy, 0.0%ni, 99.1%id, 0.0%wa, ...
2
votes
1answer
2k views

Linux service --status-all shows “Firewall is stopped.” what service does firewall refer to?

I have a development server with the lamp stack running CentOS: [Prompt]# cat /etc/redhat-release CentOS release 5.8 (Final) [Prompt]# cat /proc/version Linux version 2.6.18-308.16.1.el5xen ...
2
votes
2answers
295 views

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 ...
3
votes
1answer
110 views

Is it possible to migrate CentOS from (Mac) VMware Fusion into (Cisco VPS) VMWare ESXi?

Is there any solution to clone CentOS (full mirror) from Mac VMware fusion to VMWare ESXi on Cisco VPS server?
0
votes
1answer
147 views

/tmp always gets full even after resize

I have a cPanel Server with 4GB of Ram and 4GB of /tmp space. I always get this error: Will this cause slow performance? and can I delete everything? Drive Critical: /tmp (/var/tmp) is 95% full ...
3
votes
1answer
334 views

Troubleshooting “connection reset” error on my linux server

I fervently hope someone here can help me with the problem I am experiencing. I am a programmer, and I have very little understanding of linux sysadmin terminology/concepts. I am attempting to ...
2
votes
3answers
292 views

Should I continue using CentOS 5.3?

Our small company has rented a remote machine some 3 year ago. The machine is used as a company server, runs our email, web, source code repository, bugtracker, forum, wiki, etc. OS is linux CentOS ...
0
votes
0answers
141 views

using tcpdump to display XML API requests without headers or ack packets

I need assistance, I am trying to use tcpdump in order to capture API requests and responses between two servers, so far I have the following command: tcpdump -iany -tpnAXs0 host xxx.xxx.xxx.xxx and ...
1
vote
2answers
2k views

CentOS 5.8 - Can't login to tty1 as root after updates?

I've ran a yum update on my CentOS 5.8 box and now I am unable to log into the console as root. Basically what happens is I receive the login prompt, enter the correct username and password, and am ...
0
votes
1answer
1k views

CentOS 5.8 why does my /etc/hosts file mess up after a reboot?

I'm running CentOS 5.8 (it's the Citrix XVA appliance provided on the website) but having an issue where every time I restart the server, the /etc/hosts file loses the IP address of the server...for ...
1
vote
0answers
221 views

pgsql troubles on centOS 5 with directadmin

I'm having trouble configuring pgsql for PHP 5.2 on the server I administer. It's a DirectAdmin enabled server, and the contents of ap2/configure.php5 are: #!/bin/sh ./configure \ --with-apxs2 \ ...
0
votes
0answers
93 views

Quota not working on third partition

I'm setting quota on CentOS 5.8 64-bit (kernel 2.6.18-308.11.1.el5) for user with: setquota -u topmedium 52428800 52428800 0 0 -a Quota is set only for two first partitions: quota -u topmedium ...
1
vote
1answer
279 views

Random CentOS 5.x Server Hangs

I have a CentOS 5.8-based VPS and for 4 months I have been facing random system hangs every 2 or 3 days; then I need to reset the VPS through its control panel. How and where can I start debugging ...
0
votes
0answers
418 views

/lib64/libuuid.so.1: no version information available (required by /lib64/libblkid.so.1)

When i try to run umount I got a warning message: /lib64/libuuid.so.1: no version information available (required by /lib64/libblkid.so.1) How to correct this ? I use CentOS 5.8 64-bit.
1
vote
2answers
1k views

How to run unprivileged scripts from rc.local at system boot?

I've set up my /etc/rc.local to start some services using a couple of scripts to bring my system up on reboot. One script runs as root and starts nginx, mysql, php etc... and works fine. The other ...
1
vote
1answer
197 views

iptables not allowing outgoing packets on 1194

I am trying to setup openvpn and am making some good progress. I'm not at the point yet where I am testing the tunnel- i am firstly making sure that the ports are all set correctly through the ...
2
votes
3answers
179 views

Centos how to set default permissions for specific folder

I have a centos server that one of my apps creates files in a tmp folder. The files are always created with the permissions r--r--r-- and i need all the new files in this directory to be created with ...
2
votes
2answers
64 views

similar files has the same permission & owner but some of them give forbidden error

I moved a file from another server to my server. in directory listing Apache doesn't show it and I cant download it from browser (forbidden) but I created a new file and chmod + chown both of them to ...
1
vote
1answer
696 views

`GLIBC_2.7' not found

I have fpcalc installed on Linux and when I execute the following command: ./fpcalc I get an error saying: ./fpcalc: /lib/libc.so.6: version `GLIBC_2.7' not found (required by ./fpcalc) I ...
0
votes
0answers
73 views

Openvpn access server public ip adress

How to configure openvpn access server to use another ip address, rather than default eth0 ? So I've ripe ip block and want openvpn to use them, so each client will have their public ip adress. ...
2
votes
2answers
206 views

Download files from server while logged in via ssh

I have root ssh logins disabled on my server, but I currently want to back up some files owned by root onto my my local box. I am trying to figure out a way to use SCP to retrieve files while logged ...
0
votes
1answer
102 views

dhcp demon faild to start

I am trying to setup dhcp demon in my CentOS machine. But whenever I start dhcpd, it fails. I don't know the reason. Here is the /etc/dhcpd.conf file. ddns-update-style none; allow bootp; subnet ...
2
votes
2answers
613 views

MySQL InnoDB ext3 block size

I'm looking for recommendations for ext3 filesystem block size for MySQL 5.6 using InnoDB. Running a CentOS 5.4 VM in VMware ESXi 5, VMFS 5 datastore on NetApp FibreChannel LUNs (which have 4k chunk ...
2
votes
1answer
398 views

My CentOS 5.7 server can't access the internet

I have a CentOS 5.7 server setup in my office. I have recently moved to a new router (Linksys E3200) and I don't seem to be able to access the web at all through it (git, yum etc.). All the other ...
3
votes
2answers
339 views

CentOS 5 clock running twice as fast

The system clock on a CentOS 5 install is running twice as fast as it should. The hardware clock is fine, and when I run a ntp sync, it resets to the correct time. But within 2 minutes, it is already ...
2
votes
1answer
669 views

How do I format this regex so it will work in fail2ban?

I've just installed fail2ban on my CentOS server in response to an SSH brute force attempt. The default regular expressions in fail2ban's sshd.conf file do not match any entries in audit.log, which ...

1 2 3