0
votes
0answers
2 views

What account does mrtg usually run as and can this be changed?

CentOS 6 / MRTG 2.16.2 I've noticed that mrtg is running as root on one of my servers and that concerns me. Is this a requirement? I didn't see it mentioned in the mrtg documentation. Can this be ...
-1
votes
0answers
26 views

Centos server gave blue screen

I have a centos server that is about 3 years old. In the last 30 days I found it dead twice. Upon raising a ticket with the data center they connected a monitor and found a blue screen with random ...
3
votes
1answer
24 views

Automatically give Apache write permissions to newly added git clone files (-R g+rw)

I'm having a problem with allowing Apache to automatically have write access to an .htaccess file being pulled from a git repository. Here's my process: I'm logged in as a newly created user ...
4
votes
4answers
176 views

Centos server keeps jumping to address instead of static assigned address

I have a headless Centos server that I've configured with a static IP address. I've disabled Network Manager, avahi-daemon etc. Whenever I restart the network it just jumps to 10.155.90.100 instead of ...
1
vote
2answers
48 views

Swap memory exhausting server even site has small visitors

I have CentOs 6.5 running on a 32bit VPS host. It is running only php-fpm, nginx, and mysql. I have a site that gets on average 20 visitors per day, but I am recently getting this message from my ...
0
votes
0answers
14 views

Newly setup Centos 6 server, cloning from .GIT as user other than ROOT [duplicate]

Apologies for being so new and lost, i'm brand new to all of this and the more I search the more I feel I'm getting closer, but then realize i'm lost. I setup a CentOS 6 server on an Amazon E2 ...
0
votes
2answers
47 views

Rotating DNS servers specified by DHCP

I've got an OpenStack cluster running with about 200 CentOS instances and I've gotten a complaint from my hosting provider that the DNS traffic is getting to be too much for their servers. To address ...
1
vote
1answer
33 views

How do I setup a runit service in Centos which is initially stopped

I have a service called 'hello' which I would like to run on CentOS release 5.8 (Final). However I would like it to be initially stopped. The service is a runit service which looks like this ├── ...
3
votes
1answer
30 views

Puppet: how to run an exec only if puppet has made changes

We are doing basic management of some servers via puppet - The servers themselves run as part of a clustered system that handles other aspects like user accounts etc and includes a monitoring script ...
1
vote
0answers
17 views

What's causing high CPU load by kjournald process?

I'm running CentOS 5.4 (Final) server as my PDC and Windows file server. Until earlier today, the server has been running non-stop for over 6-months (since the last reboot). The problem now is that ...
0
votes
1answer
28 views

Deleted File, Available Space Did Not Return [duplicate]

On CentOS linux, I just deleted a large log file over 3gb on XFS file system. After deleting the file, the available file space did not return to the drive seen via df -h. Is there anything I can do ...
0
votes
1answer
26 views

Anonymous User Can't Delete file from ftp

I've created a new directory in /var/ftp with the name uploads the owner and group of this directory is ftp the permissions are set to 777. Content of my vsftpd.conf file anonymous_enable=YES ...
0
votes
0answers
17 views

Odd behaviour with varnishlog and stream redirecting

I wrote a helper to debug varnish installation and have used it on both production and development server. The odd thing is, I encountered different behaviour even though the setup is nearly identical ...
3
votes
2answers
109 views

What to look for when buying a FiberChannel card?

I have a couple of these LSI arrays LSI Model 0834 LSI product name: 1932 LSI Product codename: Mary Jane Enclosure name: Shea (DM1300) End of Life: 31-Dec-2010 but I can't find any information ...
4
votes
1answer
60 views

CVE-2014-0196 Vulnerability for CentOS

Trying to patch CVE-2014-0196 Vulnerability but yum can't find packages updates CentOS 6.5 (Final) Panel version: 11.0.9 Update #61 # uname -r 2.6.32-358.11.1.el6.x86_64 # yum update kernel Loaded ...
1
vote
1answer
66 views
+50

Google reCAPTCHA not working on Linux system

I am working on integrating reCAPTCHA with my registration page and everything seems working fine except one strange issue. I have tested this code on all local machines and well on our test server ...
0
votes
1answer
39 views

apache error logs issue

I have a vps server but the vps provider stop managed service. I having problem with logs file. Every thing seems was alright, but after few month auto logs deletion does not working. Every minute the ...
0
votes
0answers
26 views

Can I change venet0:0 main ip to venet0:1 ip?

I would like change my main IP from venet0:0 to venet0:1. Is this possible? This is my ifconfig: [root@marketport tmp]# ifconfig lo Link encap:Local Loopback inet addr:127.0.0.1 ...
0
votes
2answers
36 views

Apache server on centos (by VMware)

I have a windows server 2012 and it has a valid IP address in internet. I installed VMWare on windows server and create a Linux CentOS virtual machine in VMWare. In the Linux i run Apache server and ...
0
votes
1answer
48 views

How to connect to CentOS after killing permissions?

So I will try to keep this short and simple. For our dev server at work, I was trying to add a new user last friday and I think instead of changing his file permissions I ended up changing group ...
0
votes
3answers
83 views

IPTABLES won't keep changes on restart [duplicate]

I have a hostgator VPS that has a CENT OS. When I stop the VPS and start it again, the changes I've made to the IPTABLES won't save I've tried to save the IPTABLES and to no avail. Every time I ...
-2
votes
3answers
91 views

Port 8080 on CentOS 6 didn't open to outside [closed]

I've running a webserver with Bottle in Python. The server is running on port 8080. But from outside it doesn't work en he can't connect... This is the output of: semanage port -l|grep http ...
0
votes
1answer
36 views

iptables slows down outgoing web request

Before I enabled iptables, requests via curl to this url were instant. But after configuring iptables it takes almost 30-40 seconds to get response. How do I make particular url white listed so it can ...
0
votes
2answers
51 views

resetting iptables seems to make connections clear faster

I have iptables setup on 2 servers. Server#1 is public and Server#2 only allows the ip address of Server#1 to have ACCESS. Server#2 has a mySQL database that Server#1 queries. I ran a query and it ...
0
votes
0answers
30 views

Add routes for VPN on CentOS

I am a completely new in server routing and VPN. I have a CentOS 6 server with 2 interfaces running (eth0, eth1) and current routes like this # route Kernel IP routing table Destination Gateway ...
0
votes
1answer
55 views

Install php 5.5 on centos with puppet

I am trying to get a more recent version of php and mysql on a centos 6.5 x64 box. I added the yum repos epel and remi and have the remi as a dependency for php but it will not install. The error I ...
1
vote
1answer
27 views

Execute a script before fsstab is read

For a netboot cluster, I'm creating a CentOS 6.5 root disk. The goal is to mount / read-only over NFS, and various other folders, such as /var/log, on the local disk. Here's my first idea: On boot, ...
0
votes
1answer
35 views

no package ipset available (centos EL5 x86_64)

I want to install ipset, but none of my repos seem to have it when I run yum install ipset [root@ora1 /]# cd /etc/yum.repos.d/ [root@ora1 yum.repos.d]# ls CentOS-Base.repo CentOS-Debuginfo.repo ...
1
vote
3answers
301 views

Error installing new OpenVZ kernel

Seem to have an error when updating the kernel on a OpenVZ server when running "yum update" im getting the below Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: ...
0
votes
3answers
57 views

CentOS/Linux Block External Port

Suppose I have an internal service running on port 7676, how would I (On CentOS) block port 7676 from external sources, so that it can only be accessed locally - AKA 127.0.0.1, not using, for example, ...
0
votes
1answer
30 views

Too many emails from munin

I have recently taken the time to look into munin and fix some of the plugins that wore not working. Among them yum. Now for the last few days there have been a few updates released for my centos and ...
1
vote
1answer
22 views

First Boot Script for variety of platforms

I'd like to make a firstboot script for CentOS 5/6 and Ubuntu 12.04/12.10/14.04. If possible, I'd like to use one method to trigger this script to run. From what I can tell, this rules out ...
0
votes
1answer
31 views

Unable to get out of rescue mode after a spontaneous reboot

I am experiencing a weird problem where the CentOS 6.5 system I was using spontaneously underwent a restart that was not authorized by me, and then enters Rescue Mode, where I am unable to diagnose ...
0
votes
1answer
39 views

Migrate Entire SVN Server

We have an SVN server with around 55 GB of code, and a second, brand spanking new SVN server which currently serves one project. I'd like to move all of the content on the old server to the new ...
0
votes
1answer
38 views

In CentOS 4.3 Webmin 1.3000 bandwidth monitoring is eating disk space. How to delete those files?

I maintain Linux server being used for Mail, Squid and DNS service. Recently I observed that something was eating server disk space. But at last, today I caught the culprit which was consuming the ...
13
votes
2answers
487 views

What can be done to improve time synchronization on networks with sporadic internet access?

I'm looking for advice setting up time servers for a very non-typical network. I support many closed networks that have occasional access to the internet. A network would get access most days for a ...
1
vote
1answer
60 views

pxelinux hanging when booting client machine

I'm kind of new to all of this, so please forgive any vagueness/misunderstandings on my part. I'm using pxelinux and VMs to create CentOS 6.0 machines that have the same install every time. I have a ...
0
votes
1answer
29 views

How to get atop to create daily logfile

I'm running a website on a VPS running Centos 6.5 and am having some issues. I'm new to serveradmin so just learning. atop was already installed on our machine and it's working. I wanted to go in and ...
0
votes
0answers
37 views

The best way to make full system dump on Centos [duplicate]

I am on Centos 6.5 with a lot of soft and services installed and working. Also I've got a lot of configs which damaged my brain and I dont want to do it again:) So, can anyone please advice the ...
-2
votes
1answer
106 views

resize2fs bad magic number in super-block — Extending a Logical Volume

So I'm following these instructions to extend the logical volume on my VM http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1006371 Everything is ...
1
vote
4answers
272 views

How to make a copy of /proc/xxxxx? [closed]

A users account have been hacked on one of my servers, where the hacker have started some spam binaries. Before I kill the processes would I like to make a copy of them, but when I tar czf ...
0
votes
2answers
42 views

Resolving a subnet to a specific domain

I am trying to figure out how to resolve a subnet for a specific domain on my CentOS machine. for example Google owns a range of IP addresses and one range in particular is 64.233.160.0 - ...
0
votes
1answer
38 views

CentOS default never fsck root partition on start up?

Most documentation or sites will say use "tune2fs -l " to check if the system will do fsck on the system partitions on next boot, in particular, should look at "Mount count" and "Maximum mount count" ...
0
votes
1answer
43 views

Moving cpanel location from /usr/local to /home

My /usr partition is almost full, and it seems that the most practical option is to move the largest directory /usr/local/cpanel which is almost 4GB, to /home. Something like: Create link to new ...
2
votes
1answer
57 views

SSH Mounted Drive, home directory for websites changed

A week or so ago I had a new hard drive added onto my dedicated server for additional storage because I am placing a video site up on the server and will be storing a lot of videos. So I wanted to ...
3
votes
1answer
49 views

Restrict whole system on certain cores except a few process?

Hi I am running some latency sensitive program on a Linux machine (more specifically, CentOS 6), and I don't want the threads of the process being preempted. So in my plan, the first step is to set ...
0
votes
1answer
42 views

Host says server is affected by malware, anyone knows this one ? What to do? [duplicate]

My host sent a notification that says server is infected with a malware, it doesn't seem very popular. The Symantec site about this malware shows windows machines as targets, but not CentOS. Anyone ...
0
votes
1answer
148 views

postfix failed to start CentOS 6.5

DISCLAIMER: I am new to CentOS, so please forgive me if I overlooked something simple. Here is my issue: I recently just reformatted my server to CentOS 6.5 x64 and I have been having issues getting ...
2
votes
0answers
77 views

Linux cgroups cpuset w/ subs causes cgconfig not to start

I am having a problem trying to separate 2 groups using cpuset subsystem. This works fine, however if i go to add a subgroup to that group (in this case -- user1), cgconfig will fail to start with ...
1
vote
1answer
44 views

Difference between “crontab -e” & editing crontab file manually? [duplicate]

I noticed some people use "crontab -l" to view cronjobs and "crontab -e" to edit them. However there are also times where people manually modify "/etc/crontab" to view/add/remove cronjobs. Both ...