CentOS is a free (as in beer and speech) GNU/Linux distribution that is community driven and based on source code released from RedHat.

learn more… | top users | synonyms

1
vote
3answers
9k views

How to configure cron job to run every 2 days at 11PM

I have a centos server and I want to run a job on it at 11PM every 2 days, how do I do that?
0
votes
2answers
110 views

“503 5.5.1 Error: authentication not enabled” when trying to connect to my postfix server remotley

I have the following: postfix-2.10.1-6.el7.x86_64 cyrus-sasl-lib-2.1.26-17.el7.x86_64 cyrus-sasl-plain-2.1.26-17.el7.x86_64 cyrus-sasl-2.1.26-17.el7.x86_64 my postconf -n is: alias_database = ...
0
votes
0answers
8 views

Maldet HIT LIST - what now? [duplicate]

I have gotten the following result after a maldet scan, should I just delete the 3 files, or is there something else I should do? FILE HIT LIST: {HEX}gzbase64.inject.unclassed.15 : ...
1
vote
1answer
1k views

What is stopping my Visual JVM remote connection?

I have started my application with this settings below: -Dcom.sun.management.jmxremote=true -Dcom.sun.management.jmxremote.port=43588 -Dcom.sun.management.jmxremote.authenticate=false ...
1
vote
2answers
4k views

Apache fails to start after ssl

after installing an ssl cert (using ssl.conf) apache won't restart and only gives these warns in the log: [Wed Aug 14 14:16:46 2013] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec) [Wed ...
2
votes
1answer
1k views

Starting a service only after another one is completely started (on CentOS)

I have installed on my CentOS server postgresql service and another one called netnfork. The 'netnfork' service starts only after postgresql starts. netnfork init script: #!/bin/sh # # netnfork init ...
1
vote
1answer
1k views

Yum install error (mysql-devel) depsolve

I get the following error on yum install mysql-devel. Can anyone help? I dont have this in my /etc/yum.conf exclude list. --> Finished Dependency Resolution mysql-server-5.0.45-7.el5.x86_64 from ...
2
votes
1answer
36 views

Does 'tuned' need to keep running?

On my CentOS 7 systems, I use tuned-adm to set a profile appropriate to the environment during configuration, but after that, I never subsequently change that profile. It seems that the tuned system ...
0
votes
1answer
1k views

FreeNX 0.7.3 under CentOS 6.3 - Negotiating link parameters

since some days I try to get freenx (CentOS package 0.7.3) running under CentOS 6.3. It is like found on many websites: First login is successfull, after that all login attempts fail with the ...
1
vote
1answer
3k views

Centos set default ftp directory for a user

I am setting up accounts for people to connect to the server through ssh and SFTP. When I test the login, it goes straight to the "/" directory, and I do not want that to happen. I want to make it so ...
5
votes
4answers
12k views

Excessive DHCP requests in /var/log/messages: DHCPINFORM, DHCPACK and DHCPREQUEST repeated

I have a CentOS 5.5 system running DHCP for several subnets. In /var/log/messages, I'm seeing constant DHCPINFORM, DHCPACK and DHCPREQUEST messages. I don't understand why these requests are more ...
0
votes
1answer
52 views

Centos 7 Avahi doesn't resolve from windows machines

I have installed and configured avahi-daemon and samba on Centos 6.6 and it's working when I am testing it from an Ubuntu machine. e.g.: ping myhostname.local or smb://myhostname.local However, when ...
0
votes
1answer
1k views

ldapsearch returns result, but getent does not

I am setting up a fresh CentOS 7 server to and need to setup LDAP authentication i.e. there already exists a server that authenticates users, which we use for other GNU/Linux servers. For instance, ...
0
votes
1answer
2k views

“Disk Not Found” Error when trying to install iso image of CentOs on ESXI using VSphere

When trying to install CentOs setup as an iso image on datastore, i get an error : "Disk Not Found". I am using ESXi 4.1 as host VM. Is there a way to attach DVD/CD as iso image ? I tried "Connect at ...
0
votes
1answer
259 views

View PHP error logs on VM - Vagrant CentOS via Puphpet

I have a Vagrant VM running CentOS, which was built from a puphpet file (config.yaml), and I'm trying to get the PHP error logs setup and accessible. config.yaml - PHP section: php: install: '1' ...
1
vote
2answers
1k views

/etc/sysconfig/network is ignored on CENTOS7

I have a server with two NIC's. The default gateway has to be on a specific one, therefore I configured the GW via /etc/sysconfig/network. But obviousely, this is completely ignored by the ...
19
votes
2answers
3k views

Should I be worried that yum update suddenly wants to update well over 100 packages on my CentOS 6 system?

I get an email alert whenever there's something to update, and typically do them that day. This tends to happen most days. For whatever reason I've had no alerts since 20th July until today (I ...
5
votes
1answer
1k views

Varnish returning 503, FetchError (could not get storage)

On the current setup we're running into a problem with Varnish, we're running a CentOS 5.7 x86_64 xenpv, with Cpanel WHM, hosted at VPS.net. Sometimes we will recieve a Guru Meditation from Varnish, ...
1
vote
3answers
196 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 ...
0
votes
1answer
955 views

apache crash and mod_fcgi error

Apache crash with the following error : mod_fcgid: can't apply process slot for /usr/local/cpanel/cgi-sys/php5 mod_fcgid: /usr/local/cpanel/cgi-sys/php5 spawn score 10 >= 10, skip the spawn ...
2
votes
3answers
3k views

Production Instance : CLOSE_WAIT Connection Issue

I am using 10EC2 Instances behind 1 ELB. And ELB configured 80 to 8080 and 443 to 8080 port. And all 10EC2 instances having installed with Apache Tomcat, total request on ELB around 8000 to 10000 in ...
1
vote
1answer
1k views

Yum repo basic auth not working

So we've got this yum repo that is protected via basic auth. My yum.repo definition looks like this [custom-repo] name=Releases Repository ...
0
votes
1answer
95 views

How can I exclude packages with yum-cron on CentOS7?

On earlier versions of CentOS, and I'm assuming RHEL, you could exclude packages by adding their names to /etc/sysconfig/yum-cron. Putting several newer servers into use now, and I can't find this ...
1
vote
2answers
533 views

Spacewalk - creating software channels

Is there a way to assign one child channel to multiply parent channels, basically I don't want to duplicate channels (EPEL): How can I achieve something like this: CentOS 6 - x86_64 |- CentOS 6 ...
1
vote
0answers
14 views

Why is Postfix throwing “malformed response” and “bad command startup” errors when I send mail? [duplicate]

Why is Postfix throwing "malformed response" and "bad command startup" errors when I send mail? When sending an email from my server like: mail -s testing email@example.tld this is a test EOT I ...
-2
votes
2answers
101 views

postfix error: 535 5.7.8 Error: authentication failed: authentication failure

I need to connect to Dyn mail relay and I'm using their KB. I'm trying to connect to my postfix server with telnet to port 25. This is the postconf -n alias_database = hash:/etc/aliases alias_maps ...
1
vote
2answers
5k views

Mounting LUN from EMC VNX5300 via FC on Centos 6

On my VMX5300, I have created LUNs, configured hosts etc. Mounting LUNs in my ESXi is very simple, ESXi host discovered new FC device and with a few clicks I was able to mount new FC storage. On ...
1
vote
3answers
98 views

Yum the same version as in a repository (automatic upgrades/downgrades)

In our infrastrcture, we have servers installed and managed by puppet. All our software is then installed from rpm. On each server is a small script that performs yum update if there is some change in ...
0
votes
1answer
1k views

puma init.d for centos 6 fails with runuser: user /var/log/puma.log does not exist

Trying to get a init.d/puma to work on Centos 6. It throws error runuser: user /var/log/puma.log does not exist I run this from the /srv/books/current folder but it fails. I tried to debug the ...
-1
votes
1answer
30 views

How to get output 'xentop' or 'xm top' command in centOS

I would like to develop shell script by 'xmtop' or 'xm top' command get output in same format or just show on command line like, top -c, w .
16
votes
5answers
28k views

Upgrade Subversion 1.6 to 1.7 on CentOS? (can't find yum repository)

I want to upgrade my SVN Server from 1.6 to 1.7. Unfortunately I can't find anything on the internet how to do this with yum. I have checked rpmforge-extras but it has only svn 1.6 and not 1.7 I ...
0
votes
3answers
2k views

latest openbox Yum package standalone install centos

i am trying to install openbox on centos. when i try yum install openbox i get no openbox package available nothing to do how can I install this standalone with the yum command?
0
votes
2answers
74 views

Can not install IBM installation manager on CentOS 6.5

I have a problem when I try to install IBM installation manager into CentOS 6.5. I tried to install all versions of IBM installation manager (both remote from window and on GUI mode), but the same ...
2
votes
5answers
4k views

resolv.conf after reboot on CentOS 5.5 EC2 instance

I'm having trouble getting my CentOS 5.5 EC2 instances (both i386 and x86_64) to properly populate resolv.conf after booting. No matter what I do, I end up with the default EC2 resolv.conf: ; ...
0
votes
0answers
37 views

Centos 6.4 ignoring static ip address, getting dhcp address?

I have a Centos 6.4 server, which has been running at the same ip address for over a year. Today the server was rebooted, despite being setup to have a static ip, it used an ip from the dhcp server. ...
-1
votes
1answer
45 views

Change MX record to another server

I have a host-machine with Centos 7 and a guest machine with Centos 6.6. I want my guest to be a mail server on dedicated static ip for all my domains (on the same host-ip and not). P.S. I use ...
1
vote
0answers
32 views

CentOS Apache redirects every port to 80

I am running CentOS release 6.4 (Final) on my server and I have the following problem. I have an Apache 2.2.15 installation running perfectly, but then I added another virtual host to the ...
1
vote
1answer
246 views

Centos 7/1503 — Getting Error setting up base repository during installation

I've created bootable USB flash drive using recommended LiveUSB Creator using CentOS-7-x86_64-Everything-1503-01.iso. Now being at Installation Summary screen I'm getting Error setting up base ...
3
votes
2answers
3k views

supervisord: error: <class 'socket.error'>

I can't get supervisord to work; after starting the process with: # supervisord -n -c /etc/supervisord.conf 2013-05-29 11:34:11,861 CRIT Supervisor running as root (no user in config file) 2013-05-29 ...
3
votes
6answers
11k views

run script as another user from a root script with no tty stdin

Using CentOs, I want to run a script as user 'training' as a system service. I use daemontools to monitor the process, which needs a launcher script that is run as root and has no tty standard in. ...
1
vote
4answers
11k views

How to specify the log file for memcached on RHEL / CentOS

I'm running memcached 1.4.5 on RHEL5.5. I installed this using yum which has installed the standard memcached script in /etc/init.d and the configuration file in /etc/sysconfig/memcached: ...
-2
votes
1answer
40 views

Centos 6.6 on HP Proliant DL360 G5 - remote ssh issue

i have a fresh instalation of centos 6.6. on a HP Proliant DL360. i have installed mysql, php, apache i unable to login through putty from my ip x.x.x.x but when using within my lan 192.168.0.5 i can ...
0
votes
1answer
22 views

ip6tables port dropping and defaults

On CentOS 6, ip6tables is literally giving a nightmare on this machine. Having ip6tables -P INPUT ACCEPT ip6tables -P OUTPUT ACCEPT ip6tables -P FORWARD ACCEPT with ip6tables -A INPUT -p tcp -m ...
0
votes
0answers
32 views

Uwsgi “Permission denied” after “Gracefully killing worker”

I run python environment with uwsgi on old centos 6.6 (it necessary for customer). But often i get error 502. log of uwsgi with error: 1) Request to /show/12763 took 0.474370002747 seconds Request ...
1
vote
1answer
53 views

date and hwclock not in sync - why

I am on GMT+8 and I set my hwlock to UTC. [root@sjoam2 ~]# date Sat Aug 1 16:32:04 SGT 2015 [root@sjoam2 ~]# hwclock --systohc --utc [root@sjoam2 ~]# hwclock --debug hwclock from util-linux-ng ...
2
votes
0answers
98 views

Many gettimeofday in Apache 2.4 + fcgid + centos 6.6 - Long Wait time for static files

When i perform a strace on apache process, i see many gettimeofday before & after GET request, even when Apache returns a static file like an image file. It results in a long downtime period ...
-1
votes
1answer
187 views

CentOS 7 firewall-cmd not found

I have just installed CentOS 7: [root@new ~]# cat /etc/redhat-release CentOS Linux release 7.1.1503 (Core) I am trying to configure the firewall, and I'm told that in CentOS 7 iptables is no ...
15
votes
5answers
28k views

How to backup a full Centos Server?

I switched a few weeks ago from a dedicated server to a VPS. Now that everything is working well on the VPS I would like to shutdown the dedicated server and close my account with the hosting company. ...
0
votes
0answers
31 views

xrdp changing PATH environment variable

All, I'm using xrdp to connect to a Centos 7 box. I notice that my PATH environment variable is different depending on whether I RDP in or SSH and I can't for the life of me figure out where that's ...
0
votes
1answer
23 views

Bind 9: Two public IPs x One Server (CentOS 6)

My current network has the following logic. Each router has a public IP. Router 1 192.168.0.1 255.255.255.0 Router 2 192.168.0.2 255.255.255.0 Server 1 192.168.0.7 255.255.255.0 I want to ...