Newest 'centos6.5' Questions

Q&A for system and network administrators

Cobbler/TFTP: No filename or root path specified, but why?

I've installed a new Cobbler server and configured it as a DHCP /TFTP server. I've configured the /etc/dhcp/dhcpd.conf like so: [root@centolel ~]# cat /etc/dhcp/dhcpd.conf ddns-update-style interim; ...

Can't install PHP Intl on CentOS 6.5

I'm trying to install this package on my server running PHP 5.4 with no success. However, it only took a few seconds on my PC running OpenSUSE 13.2. The name of the package was "php5-intl-5.6.1-18.1....

Promises not triggering in hosts - cfengine

I'm new with cfengine. I created a simple promise that creates a file named testing into /etc/test-cfengine body common control { bundlesequence =>{"create_test_file"}; } bundle agent ...

10,000 entries in iptables on CentOS 4GB Ran, dual core 2.3ghz?

I am running a linux box with FreePBX/Astrisk installed. I have blocked China and Hong Kong using lists from ip2location. com/blockvisitorsbycountry.aspx website. My fail2ban was going off like ...

Upgrade php version on centos 6.5

On the current stack i hv centos 6.5 (64 bit) , PHP 5.3 available. I'm a linux new bee & need to perform php upgrade to PHP 5.5. Tried following but that returned error: wget http://dl....

Squid Segmentation Fault?

I'm currently fixing an issue with one of our production servers. The issue is related to squid not able to run properly. When I try to run service squid start/stop, it throws an error: 2015/03/11 ...

Cannot start cgconfig on Centos 6.5 : cannot mount cpuset to /cgroup/cpuset: Invalid argument

I'd like to try docker-io on Centos 6.5 but the cgconfig daemon will not start: /etc/init.d/cgconfig restart Stopping cgconfig service: [ OK ] Starting cgconfig ...

Enable SSH on public IP [closed]

I've just taken the control of a server. This server worked in a private environment, in a VPN, accesible via a private IP. Now it's public and linked to a domain name. I can access SSH via the VPN ...

How to enable ffmpeg php extention in Cent OS 6.5 server with php 5.5

I need to create a screenshot from a video. I have followed this tutorial to do the initial setup in Windows 8, php 5.3. I downloaded the ffmpeg from here for 64 bit operating system. I followed ...

Getting “Connection timed out” on a tftp server though it seems everything is configured correctly, what could be the reason?

I've just installed a cobbler (with tftp/dhcp) server on a CentOS 6.6 machine at work. I've configured tftp to run under xinetd and the conf file looks like so: service tftp { disable ...

Apache error log permission issue after deleting in CWP

I am using CentOS Web Panel (CWP) and Apache as a web server. I have deleted the Apache error_log and recreated one using the command below: touch error_log I have successfully created the error_log ...

How do I replace self compiled packages (php, mysql, memcahed) with yum version in centos6.5

I have at least 5 development servers (dev, QA, staging) that have php and other packages compiled from source. I would like to remove all of them and update those servers with yum packages. If I can ...

IPMI web management on Supermicro not working: “Could not open device at /dev/ipmi0 or /dev/ipmi/0 or /dev/ipmidev/0:…” and “Invalid Channel 255”

Troubleshooting an IPMI issue on a centos 6.5 server. Specifically, I am not able to set up IPMI web management due to errors when trying to work with IPMI LAN settings. I get the following error ...

CentOS 6 fail2ban fails to ban http dos requests

Fail2ban fails to ban clients that make an excessive amount of requests over HTTP. SSH bans do work fine To test this I have made several tests using ab and curl from other servers. I even made sure ...

Sending shutdown messages to all clients from server

I'm trying to find a way to broadcast a shutdown message to all the users on clients connected to my centos server. The wall command sends only to users logged into the server and not to clients .I ...

Virtual machine with separate desktop accounts [closed]

On our Centos-6.5 server, I want to install a temporary windows xp guest using virtual machines for windows applications. Thing is, I want to run the virtual machine in background and each windows ...

HTTPS Apache VirtualHost Not Working

Virtual hosts are working fine for all my HTTP sites on Apache (CentOS). I have one site that is HTTPS. Anytime I go to visit the HTTPS site, I get "The page cannot be displayed". Can anyone see the ...

Why won't apache allow symbolic links, with SELinux?

I have a simple scenario: I want to symlink /home/leonard/apache/sandbox/markdown to /home/leonard/github/markdown-editor, so that the markdown-editor can be viewed from my browser. I setup the link ...

CentOS - yum install - Fails: Protected Multilib versions: problems found libselinux

I have CentOS 6.5 I'm trying to intsall git via yum but getting an error while installing the pre-requisite packages. I don't need to but it doesn't hurt running sudo with root. Error message: --&...

how do you secure mysql without a server root password?

I'm currently trying to install mySQL server on a centos6.5 server. I do not have a root password because i use a SSH Key Pair to access the server. During the installation process the prompt says: ...

upgrade centos kernel to 4.5 for mpls support [duplicate]

i am using Centos 6.5 which it's kernel version is "2.6". for MPLS support in Linux i need to upgrade the kernel version to 4.5 or above. i wonder if it's possible to upgrade centos 6.5 kernel to +4.5 ...

CentOS 6.5 ssh ChrootDirectory not working

I have been trying to configure my CentOS 6.5 minimal 64 bit machine to allow SFTP users to connect and get jailed to specific folders. I can sftp in using the unix commmand: "sftp user@localhost" and ...

HBase Kerberos SaslException: GSS initiate failed (Mechanism level: Failed to find any Kerberos tgt)

I am trying to set up Kerberos authentication for HBase using this http://hbase.apache.org/0.94/book/security.html documentation and have very little progress so far. HBase 1.1.1 from Apache without ...

Centos 6.6 Web Server iptables FTP issue

I have finished setting up my iptables, but the FTP login/connection does not work. the NAT/Firewall at the hardware/router level is forwarded correctly. I have added an entry for ftp but it appears ...

In centos6.x kvm guest, What is the difference On the following two disk format?

I add a new virtual hard drive vdb to the KVM guest(centos6.5),like this [root@centos ~]# fdisk -l | grep vdb Disk /dev/vdb: 8589 MB, 8589934592 bytes Then,there are two ways to format the disk a. ...

How to install visual studio code on linux?

I'm install Visual studio code in Linux centos 6.5 But I got some error because that code required any library but I don't know how to find it Here is the errore code code: /usr/lib64/libstdc++.so....

Trying to mount from freebsd to centos NFS server

I cannot map my FreeBSD client to my CentOS NFS server. On trying to mount I get: RPCPROG_NFS: RPC: Port mapper failure - RPC: Unable to send Version of client is: FreeBSD 8.0-RELEASE Version of ...

iptables centos block one port and allow all [closed]

How should I build iptables rules with the following requirements? Filter traffic on port 12001 to allow tcp/udp Filter should allow only one single IP sending traffic to the port 12001. Any other IP ...

Nginx won't start after server ip change

I have a centos server with nginx running on it. The server ip recently changed and nginx no longer starts up it gives the following error message where 123.123.123.123. is the old ip address of the ...

Apache Prefork MaxClients cannot exceed 256 [closed]

I manage a Centos 6.6 server (with cpanel expired license / maybe it's not important) with 8 cores and 64GB RAM and my HTTP server becomes very slow when it reaches between 250 and 300 simultaneous ...

how to configure the internal dns?

System:centos 6.5 , bind version:bind-9.8.2-0.17.rc1.el6_4.6.x86_64 I must set up an internal dns , i am not geek new for network jobs so sorry for if it is an idiot question. My centos system cannot ...

Centos 6.5 auditd fails to start with service or /etc/init.d/audit start

Fail: # service auditd start Starting auditd: [FAILED] Fail: # /etc/init.d/auditd start Starting auditd: [FAILED]...

In centos mouse and keyboard does not work after deleting /var/cache [closed]

After deleting accidentely /var/cache in centos 6.5, restart my PC, the mouse and keyboard does not work anymore

How can I access ActiveMQ remotely on CentOS 6.5?

I tried to use the following code: iptables -A INPUT -m state --state NEW -m tcp -p tcp \ --dport 8161 -j ACCEPT -m comment \ --comment "ActiveMq Server port" Still I was unable to access it ...

Cannot find mysqladmin command below in the wait_for ready() function [closed]

Hi i am installing Installing MariaDB Alongside MySQL on cPanel CENT 6.5 I have got thru all but one change I can not seem to see this line in any of the cod so I can change it before running the ...

CentOS 6.5 Dependency errors while installing hhvm

I am trying to install hhvm on newly created droplet. For this, I am following this guide. After adding the Gleez repository, I tried running yum update && yum upgrade Lots of lines, and ...

Why am I unable to execute command as another user in CentOs?

On a remote server, it used to be the case that it was possible to execute a command as another user using the sudo -u command but lately, I have been unable to accomplish this. When I do I receive ...

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 ...

CentOS 6.5 Apache redirect to 127.0.0.1

I have to install a new CentOS Server v6.5 I already install httpd and want to access Apache Welcome Page by serverIP. But I get a timeout, so I stop iptables service for a moment. Now I get an 301 ...

Yum update without upgrading CentOS

Is there a manner in which we can yum update and pull the latest packages but not end up updating CentOS itself? I know we can alter yum.conf and exclude certain packages and even repos, but if that ...

FCOE on CentOS 6.5. port state offline

I am a network engg, and this is the first time I am trying to get FCOE working. Here is my setup: Centos server --------- transit switch ---- FC gateway ---- FC switch --- Netapp I believe the ...

Can't find IPMI mac address

The MAC address listed under ipmitool lan print seems to be incorrect, since there is no entry in the arp cache for the set ip address, 10.224.242.121: # arp 10.224.242.121 10.224.242.121 (10.224.242....

pscp fails to copy wil failure 'unable to open'

I am trying to overwrite some directories with content in them on a remote location using pscp to a remote location. I use root user (root@locationServerName). It succeeds in most of them, but fails ...

Applying firewall rules: iptables-restore: line 1 failed [closed]

I'm trying to do Port forwarding on my centOS machine. When i'm restarting iptables i'm getting the error iptables: Applying firewall rules: iptables-restore: line 1 failed [FAILED]. My iptables file ...

Gre tunnel routing Public IPs between two servers

I want to route public IPs from server A and use them on server B. I created the GRE tunnel and it works. I then setup a route on server A in the following way: (public IP not actual IP) 192.168.11....

Backup server external backup

I have a 4TB External HDD and i converted this HDD file system as ext3 i want to know how can i take backup of backup server using this HDD i have already a 3TB HDD(with power), in that i could able ...

Installing Boost on CentOS 6.5 (Rocks 6.1.1)

I have a Rocks 6.1.1 (with CentOS 6.5) installed on a VM, and I'm trying to get Boost installed on it. I tried doing yum install boost-devel. However, it complains about missing dependencies: ...

Centos 6.5 MD1 full disk space

I have almost full disk space on md1 [root@server ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/md1 20G 18G 645M 97% / tmpfs 7.8G 0 7.8G 0% /dev/shm /...

Running TOR on Centos 6

I'm the operator of the XMPP server on darkness.su.The server runs on Centos 6. I installed TOR and configured it to provide a hidden service access to the server.It was working fine at first,but ...

Using System-Config-LVM in CentOS 6 results in a corrupt filesystem

I am used to being able to use the system-config-lvm utility in RedHat Linux (I was using RHEL 5) to resize the LVM while the system was running. To be clear, I did this while running on the disk I ...
Translating... 0%