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

0
votes
0answers
19 views

named can not find a certain domain

I have setup named in chroot and it has been working for some days. Now it does not find a certain domain's IP: # dig arstechnica.com ; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.30.rc1.el6_6.1 ...
1
vote
3answers
62 views

mount a root disk in mnt

How can I mount a root virtual disk from another VM on my CentOS ? In order to change some files on it, not to use it as a real root disk. there are 2 partitions on my virtual disk : /boot (Linux ...
0
votes
1answer
26 views

Forwarding Ports on Centos 7

I'm working on a CentOS 7 server and I'm trying to get JBoss to work the way I want it too. I'm running Java 8 and JBoss(wildly) 8. I have gotten those installed and working on the default ports, ...
-1
votes
0answers
16 views

Accessing Google with Squid Proxyserver

ive installed a Squid Proxyserver on my vServer with Cent OS. Im using this Configuration: # # Recommended minimum configuration: # acl manager proto cache_object acl localhost src 127.0.0.1/32 ...
0
votes
0answers
9 views

Can multiple firewalld zones be active at any given time?

I've been struggling through some weird (to me) firewalld errors but am now seeing the firewall behavior I'd like. But, baffling to me, what works seems to be a mix of both the drop zone and the ...
1
vote
1answer
26 views

Why does my Firewalld configuration on CentOS 7 fail to start and show iptables errors?

I'd like to: Drop all incoming connections from the external Web except 80 and 443 Allow internal machines on 192.168.0.0/16 to connect to :9000 :8080 Here's what I did to setup my drop zone via ...
0
votes
1answer
1k views

upgrade CentOS from 6.5 to 7 in an EC2 Instance

How can I upgrade CentOS from 6.5 to 7.0 under Amazon Web Services EC2 instance? I have added the redhead upgrade tool to my repository and installed it, called the preupg and then imported the ...
0
votes
2answers
4k views

How to unlock my IP on Centos firewall?

I have a VPS with Centos and with firewall that I used to configure by Lxadmin. Now I don't have Lxadmin control panel and can't go to change it by web interface. How to discover what firewall I have ...
-1
votes
1answer
18 views

How do I automate suppling the network location of the kickstart config file when booting a Redhat variant 7 install iso

When booting a Scientific Linux 7 install iso for example, one could immediately hit tab and add some text to specify the location of the ks.cfg file they would like to use. I would like to automate ...
-2
votes
0answers
8 views

Plesk 12: Redirecting a subdomain on an alias to primary [on hold]

I have a domain, lets call it 'primary.com', and it has an alias ('alias.com'). These were set up in the plesk GUI and work as expected, insofar as www.alias.com and alias.com redirect with a 301 to ...
0
votes
1answer
54 views

Can't ssh into Centos vm in Openstack

In Openstack, I can spawn ubuntu and fedora images and ssh into them. But when I am trying the same with Centos image (6.5 or 7), then my key is refused (or even ignored) and I am proposed to use ...
-1
votes
0answers
17 views

RHEL/CentOS - hugepages configuration for Oracle DB

I am going to use hugepages on my RHEL6. I have 6 Oracle db instances on it. SGA are configured and memories parameters setted to 0. I would like to know how to calculate the value to use for ...
2
votes
2answers
259 views

How to properly use kexec with systemd on CentOS 7?

I want to use kexec to speed up reboots of my CentOS 7 machine. How can I do that in a way that nicely integrates with existing shutdown/reboot systemd targets? What's the proper (official) way to do ...
1
vote
1answer
1k views

LINUX CENTOS 6.3 - 14:Pycurl Error 77 - Yum repository error

I have a new install of Centos 6.3 64 bit and receive this error when I try to do a yum erase of any httpd. Could not retrieve the mirrorlist ...
0
votes
1answer
891 views

How to install pecl spidermonkey on CentOS 6

Running the following command: > sudo pecl install spidermonkey I receive the following error: ... ... a bunch of successful checks ... ... checking whether to enable spidermonkey support... ...
3
votes
2answers
25 views

logrotate not emailing log

My logs are being rotated properly, however, I am not being emailed the rotated log. What am I doing wrong? My main logrotate.conf is: include /etc/logrotate.d here is my ...
7
votes
2answers
8k views

How do I authenticate with LDAP via the command line?

The LDAP server is hosted on Solaris. The client is CentOS. OpenLDAP/NSLCD/SSH authentication via LDAP work fine, but I am not able to use the ldapsearch commands to debug LDAP issues. [root@tst-01 ...
0
votes
1answer
56 views

vnstat service not showing status

When I run service vnstat status No result is returned. Usually one of the following three results would come up. But I got nothing when checking the service status. vnstat (pid 94330) is ...
5
votes
3answers
246 views

rkhunter warns of inode change but no file modification date changes

I have several systems running Centos 6 with rkhunter installed. I have a daily cron running rkhunter and reporting back via email. I very often get reports like: ---------------------- Start ...
-2
votes
1answer
27 views

Empty /boot/grub/grub.conf of a remote server, how to recrete it from recovery?

My remote server (running CentOS 6.6 x64) can't boot anymore. Using the emergency recovery (a LIVE CD) i can actually look that /etc/boot/grub/grub.conf and it's empty (0 bytes). I don't know why, ...
2
votes
2answers
36 views

Why does the sendmail.mc file support entries that are not formatted for m4 syntax?

I recently discovered that /etc/mail/sendmail.mc supports entries that are not in m4 syntax. For example: LOCAL_CONFIG O CipherList=HIGH This doesn't make sense to me because pretty much ...
0
votes
1answer
35 views

conflict in network interface configuration of CentOS 6.5

I am trying to create 2 network interfaces, one with DHCP and the other with static IP on a CentOS VM running on ESXi Server. Content of file ifcfg-eth0 is as follows: DEVICE=eth0 ONBOOT=yes ...
0
votes
0answers
30 views

Finding and renaming directories by regex in linux

I'm trying to match (and later rename) directory names like: A0000 (SOME-NAME) A0001 (SOME-OTHER-NAME) A0001 (ANOTHER-NAME) I'm testing to see if I match any using the find command but doesn't seem ...
16
votes
3answers
1k views

useradd not encrypting passwords in /etc/shadow

I stumbled accross this problem when trying to create new FTP users for vsftpd. Upon creating a new user with the following command and attempting login with FileZilla, I would get an "incorrect ...
-2
votes
1answer
44 views

Population of /etc/resolv.conf upon new server installation [on hold]

I purchased two Linux servers that have CentOS preinstalled. One was bare whilst one has many other common packages installed(httpd, bind, mysql, php). I purchased one of these servers with 2 ...
2
votes
1answer
2k views

Error pushing to remote with git

I have a fresh Centos 6 server stood up and I have installed git version 1.7.1 through yum. I am using the smart http method through apache for access. When I try to push to the remote server this ...
-4
votes
0answers
19 views

Understanding the different IP's setup in my core server files- Confusion [on hold]

I am running CentOS 5 with BIND and httpd, using PuTTy to connect via SSH. I login to SSH with IP 200.100.107.187 and can access my server through a webbrowser also at that IP This IP is the one my ...
-3
votes
0answers
17 views

Error message when logging into ZPanel [on hold]

I have ZPanel installed on a VPS which runs a couple of websites. All of a sudden, whenever I try to log into ZPanel, I get the following error message: Application Error: [0204] - The form you ...
0
votes
1answer
25 views

Postfix - Need to log email and then redirect to same user different domain

My goal is to add emails to a DB and then send them on to the user at a different domain. My mail server is hosted elsewhere using my domain, (me@example.com). TO get this working, I set up postfix ...
-1
votes
0answers
11 views

How to install The Intel MKL (Math Kernel Library) on Linux (CentOS 7) for free? [duplicate]

I need to install The Intel MKL (Math Kernel Library) on my CentOS, but I found on Wiki, that: As of May 2014, a commercial license is required for each development machine in concurrent use. Certain ...
2
votes
3answers
12k views

How to fix yum install not valid release error on Centos 5

When I try to yum install anything I get: -bash-3.2# yum install strace Loading "fastestmirror" plugin Determining fastest mirrors * dag: apt.sw.be * lxlabsupdate: download.lxlabs.com * rpmforge: ...
-4
votes
0answers
56 views

Creating zones and editing named.conf - Centos [on hold]

I am running CentOS, with bind(BIND 9.3.6-) installed, and accessing via SSH with PuTTy. My goal is to setup a nameserver for my domain d.org on my dedicated server 44.44.44.44 which also hosts the ...
2
votes
1answer
920 views

VPN error 619 - “A connection to the remote computer could not be established.”

Have been trying to get this PPTP VPN working on a CentOS 6 x64 VPS for a few days but im getting: "Error 619 - A connection to the remote computer could not be established." I did research on ...
1
vote
1answer
2k views

Tomcat fails to start, no logs or error provided

I have a Centos5 box running tomcat5 (a version before 5.5, there's no bin/version.sh script). When attempting to start tomcat, whether through init.d or service, I get the FAILED message with no ...
0
votes
3answers
6k views

Why won't my timezone changes be reflected in the date command?

I copied /usr/share/zoneinfo/Asia/Kolkata to /etc/localtime. I also tried editing ZONE in /etc/sysconfig/clock but my default timezone is still CEST and not IST. I already checked to make sure that a ...
-4
votes
1answer
23 views

Doesn't NFSv4 have no_root_squash?

When I in /etc/fstab have nas:/tank/nobackup /mnt/nas nfs exec,nosuid,rw,bg,soft 0 0 then mount -a; mount gives nas:/tank/nobackup on /mnt/nas type nfs ...
1
vote
2answers
4k views

Centos 7 save iptables settings

Problem: iptables resets to default settings after server reboot. I'm trying to set rule like this: iptables -I INPUT -p tcp --dport 3000 -j ACCEPT after that I do: service iptables save and it ...
0
votes
5answers
2k views

nginx: php-fastcgi running but php files not executing

I have recently set up a nginx server with PHP running as FastCGI process. The server is running with HTML files however PHP files are downloading instead of displaying and PHP code is not processed. ...
-2
votes
0answers
18 views

Setting up test environment with old computer tower to match current sever perfect. Centos Need quick guidance [on hold]

We have a Centos 6 server running our website through a dedicated host. It has Apache, PHP, WHM and MySQL configured as well as various packages. I would like to basically clone that setup and use it ...
0
votes
1answer
1k views

L2TP over IPSec VPN with OpenSwan and XL2TPD can't connect, timeout on Centos 6

I'm setting up LT2p over IPSec on my Centos 6.3 fresh install. I have iptables flushed, permit all. Whenever I try to connect, i get a 'no reply from vpn' and nothi Here's my ipsec.conf file ...
-3
votes
0answers
22 views

error404 /cgi-sys/defaultwebpage.cgi [on hold]

I have a Mac mini I install vagrant with nginx + php on my Mac mini I set up a hostname(*.dev.com) on my Mac mini path /etc/hosts I set up a same hostname on my vagrant If vagrant IP Address is ...
0
votes
1answer
31 views

PHP Script causing server to run out of RAM and wont release

Ive been running a very resource hungry script the past 2 days. I manually trigger the call and it lasts for about 30 minutes then stops. Last night the script stalled when ram hit 100%. I restarted ...
0
votes
1answer
895 views

Installing mysql-devel to match MySQL version

I'm running MySQL 5.1.52 on CentOS 4.6 and I'm trying to install mysql-devel to match my MySQL version. If I do yum install mysql-devel it wants to upgrade MySQL to 5.1.58, yet if I do yum search ...
0
votes
2answers
144 views

Netstat count TIME_WAIT connections by port

I can obtain individual TIME_WAIT counts on a port, netstat -nat | grep :11300 | grep TIME_WAIT | wc -l; but how to do this based on all ports eg: 11300 2900 connection 3306 1200 connection ...
0
votes
1answer
1k views

drivers/rtc/hctosys.c: unable to open rtc device (rtc0) after recompile on boot

After recompiling a new kernel on CentOS 6.3, using the same kernel I have been using on several other machines, I am getting a kernel panic on two machines. I get the following when trying to boot: ...
1
vote
1answer
25 views

How to customize the default set of apps launched with gnome desktop on CentOS 6.*

Background We run a series of CentOS 6.5 servers which each host multiple users (~100s) coming in via X-Window XDMP from their MS Windows desktops. These users don't need the host of default ...
1
vote
0answers
28 views

Why is sendmail not relaying some email to Exchange?

On my network I have an Internet facing CentOS 6.5 server running sendmail. It receives email from my Sonicwall router running the full gambit of gateway spam and IPS services. It then relays ...
0
votes
1answer
4k views

how to solve NT_STATUS_HOST_UNREACHABLE in CentOS when connecting to (windows) file server via SAMBA

I am using CentOS and I need to connect to a file server running on windows. My friend told me that I need to install SAMBA to be able to do that. and so I installed samba and when I try to check if ...
1
vote
0answers
9 views

config variable php_suffix does not match

I have a php instance on Webuzo (centos-6-x86_64.openvz) in /usr/local/apps/php54/. It already has pecl and phpize in /usr/local/apps/php54/bin/. When installing igbinary with command ...
1
vote
1answer
15 views

ProxyPass Not working (No errors)

I am attempting to forward one of my apache domains onto a different port (which is hosting an Nginx-backed rails app) In my http.conf for the particular virtual host I have: <VirtualHost ...