CentOS is an Enterprise-class Linux Distribution derived from Redhat Enterprise Linux sources freely provided to the public.

learn more… | top users | synonyms

2
votes
0answers
30 views

Transparent Proxy

I am setting up attempting to set up a transparent proxy on CentOS using Squid. So far I have managed to filter the content and get it working perfectly. The only issue I am having is getting a form ...
3
votes
1answer
41 views

SSHD Password Feedback (Show Asterisks for Characters)

Is it possible to have SSHD show asterisks for the password characters much like pwfeedback does for sudo? I am using CentOS 6.5. For example:
0
votes
0answers
16 views

how to find where buffers/cache are and how to clean them up? [duplicate]

I want to create 20gb ram disk for ANSYS to work in yet on free -g I see: And personally I have not created any ram drives yet. So I wonder how to maximize avaliable ram: how to locate what is using ...
5
votes
1answer
43 views

forward outgoing traffic port using iptables

I am trying to forward all outgoing traffic from port 80 to port 8080 using iptables and I tried the following rule, though it did not work: iptables -t nat -A OUTPUT -p tcp --dport 80 -j REDIRECT ...
2
votes
1answer
25 views

Device URI for Printer

I have the system printer GUI installed on Centos 6.6. I added the printer (HP LaserJet Pro P1102). The model exists. The problem is that the GUI is asking for the Device URI which I'm not sure where ...
1
vote
0answers
87 views

Help with lost software RAID5 on CentOS 6.5

I've been searching for hours and giving up / too scared to delete all my data. I have a file server running CentOS 6.5 which has 4 WD RED 2TB drives (all > 1 year old) in software raid 5 with mdadm, ...
2
votes
0answers
23 views

Linuxwacom xsetwacom/xorg.conf

I have a CentOS 6.2 workstation with linuxwacom 0.21.0 installed. I am trying to map a button on a cintiq tablet to a keyboard key. I can do it successfully using: xsetwacom set "Wacom Cintiq 24HD ...
-2
votes
2answers
18 views

Check multiple files with string

i.e. for each .csv file, do the following: Check if the file contains the string “HEADER” in the first line. If its missing, do the following: Display, “ERROR: Missing HEADER record for ” Rename ...
0
votes
1answer
42 views

I try to setup zabbix server on CentOS 6 (close system) but can find zabbix-server binary file after run rpm install rpm package

I try to setup zabbix on CentOS 6 in closed system ( no internet connection ). So I can only put rpm to that machine, and run command rpm -ivh zabbix-2.2.3-1.el6.x86_64.rpm ...
1
vote
1answer
39 views

How not to write kernel warnings into /var/log/messages?

I keep getting these log warnings due to a bug in kvm. Jun 30 19:12:31 server kernel: kvm: 28882: cpu0 ignored rdmsr: 0x345 Jun 30 21:12:31 server kernel: kvm: 31191: cpu0 ignored rdmsr: 0x345 Jun ...
-1
votes
1answer
38 views

Sqlite Browser NOT opening on Centos 6.5

When I try to open an .exe file in centOS (Release 6.5) by double clicking, it is not opening. I am creating an app which requires databases. I cannot check whether the data has gone in database or ...
-1
votes
2answers
67 views

My Centos Server cannot resolve the DNS host name [closed]

My Server OS: Centos 6.3 x64. The server iptables is: *filter :INPUT DROP [0:0] :FORWARD ACCEPT [0:0] :OUTPUT ACCEPT [0:0] -A INPUT -p tcp -m tcp --dport 22 -j ACCEPT -A INPUT -p tcp -m tcp --dport ...
2
votes
1answer
55 views

No 32 development library error after install glibc-devel.i686

I am trying to install gcc 4.9.0 on centOS 6. During ./configure there is an error coming up: /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/4.4.7/libgcc_s.so when searching for ...
4
votes
2answers
61 views

777'd some files. How do I repair SSH?

So I'm messing around on a test server and accidentally ran the following (which resulting in SSH breaking): # chmod -R 777 /var Because it's a test server, I'd rather not re-install right now, I ...
2
votes
1answer
49 views

set ip default outgoing in centos

I have server which has Centos and I want to change the outgoing IP address. This is the output of my route and route list commands. [root@marketport tmp]# route -n Kernel IP routing table ...
2
votes
0answers
43 views

How to activate reverse tethering on CentOS 5

Most examples for reverse tethering are for Ubuntu. They go something along these lines: Attach smartphone Configure usb0 Start reverse tethering on the smartphone Use the PC network via USB from ...
2
votes
1answer
27 views

Create an RPM to distrubute custom SELinux policy

I have created two custom SELinux Policy modules to allow rsyslog to parse audit.log. Can I create an RPM of these two policies to distribute to 300+ clients? Is there a better way to go about this? ...
2
votes
1answer
29 views

virt-install cpu0 unhandled rdmsr

I'm trying to install a guest VM using KVM on a partition. I use virt-install. I call the following command: virt-install -n centos --ram=1536 --vcpus=1 ...
3
votes
1answer
44 views

Make RPM Satisfy Dependency Requirements of Other Installed Packages

So, I am installing a java app that I wrote which uses jnetpcap. This requires libpcap of at least v1.0.0. My CentOS 5.8 only has libpcap 0.9.4, which is required by other installed packages. I've ...
2
votes
3answers
72 views

Unable to access CentOS setup Network Configuration after attempting Python update

I attempted to update Python on my CentOS 5.6 VM and have encountered some issues afterward. Initially, yum wouldn't work, but I have resolved that. However, now I am unable to access the Network ...
0
votes
0answers
43 views

Can not call a command

I have a script /etc/init.d/tilestream with: TILESTREAM="/usr/bin/tilestream" MAPPATH="/data" HOST="host" #HOST="localhost" #UIPORT="9001" UIPORT="8888" #TILEPORT="9000" TILEPORT="8888" ...
0
votes
1answer
21 views

How to add TileStream in autoload CentOS

I'm new with CentOS. I have a installed tilestream. Now want to tilestream start automaticaly after system restart. Do like this tutorial. /etc/init/tilestream.conf #!upstart #description ...
2
votes
1answer
67 views

How to install Node.js in CentOS 5.10 with Python 2.4?

I want to use Grunt on websites we have hosted on our WHM dedicated server. It is running CENTOS 5.10 x86_64 standard with WHM 11.42.1 (build 21). It is critical that things do not break, as we have ...
1
vote
1answer
30 views

CUPS filter for a raw queue

I am having issues figuring out how to add a filter for a raw queue in CUPS - if this is possible. Basically, what I need to do, is convert a TIFF to PS before sending it to the raw queue. The ...
-1
votes
1answer
37 views

Password length and complexity

I am using CentOS and I want to set the minimum password length, minimum password expiry , maximum password expiry and password complexity in my system. I have looked over some tutorials to change ...
0
votes
0answers
44 views

Unable to mount cgroup

I've been searching for a solution to this problem but none was working. I would like to start my LXC container but i need to mount cgroup before. [root@stag-devCentOs ~]# lxc-start -n debianLxc ...
1
vote
1answer
178 views

Upgrading kernel 2.6.18 to 2.6.32 on CentOS 5.10

I've been looking on Google for 4 hours and I can't find a solution to my problem. I have a computer running CentOS 5.10 using Kernel 2.6.18-371.9.1.el5 and I would like to upgrade my kernel to ...
2
votes
3answers
417 views

CentOS - install using yum Apache 2.4

I need Apache 2.4 in CentOS because with Apache 2.2 mod_proxy_wstunnel is not possible. I have tried https://fedorahosted.org/SoftwareCollections/ but unfortunately its for RHEL after installing i ...
1
vote
2answers
107 views

eth0 not installed on CentOS

How would I go about installing eth0 on CentOS? When I do ifconfig -a, eth0 is not there. Here is the output of ip link: 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue link/loopback ...
0
votes
3answers
29 views

CentOS returning 403 for all https URLs

We've found that all https URLs on a CentOS 6 VPS are returning a 403, across multiple vhosts. Is there a config setting somewhere that I should be looking for to check what's going on? Or a log to ...
0
votes
0answers
16 views

Start Netbeans as super user as a shortcut with password embedded

For my work purposes, I need to start netbeans in super user mode. I find it quite irritating to have to type this : su then enter the password ./netbeans everytime I want to start netbeans. How ...
0
votes
0answers
17 views

The Case of the Conflicting Bootloaders

A server with a 2-disk RAID array (mirrored) is serviced by a 4-port 3Ware controller. Recently it became inaccessible after a restart. At the console it asked for the runlevel. Indeed, the /etc ...
1
vote
1answer
43 views

Why isn't this XMLStarlet Query Working?

I'm trying to write a simple bash script that parses price info from the ebay developer API search results. Here's an example of XML search results for "Detective Comics 700": ...
2
votes
1answer
29 views

How do I find the NetBSD release for CentOS 6.5?

I want to find the NetBSD rump package used for CentOS 6.5. The list is present here. I want to get the rump package for CentOS and after searching, I found this version of netbsd-rump used in ...
0
votes
1answer
27 views

How to start the Snort service with logging enabled?

I setup snort on Centos server and add as a service. When I use service snortd start command, the log file is created but it is empty. If I use snort -q -l /var/log/snort command, the log file created ...
0
votes
1answer
35 views

How to reconfigure PHP

We have a new linux server CentOS 6.5 with Plesk. Default PHP is 5.3.3, I have installed PHP5.4 & 5.5 on the server. I am a beginner on linux. Actually, I don't know how to install software on ...
0
votes
0answers
9 views

CentOS Run Command as Root on Startup [duplicate]

I need to designate my network card device p4p1 with a certain IP address on startup. The command I am using is as follows : /sbin/ip addr add 129.100.14.2/24 dev p4p1 this works from the command ...
1
vote
1answer
24 views

CentOS as an xterminal

I have recently built a new VM on my CentOS 6.5 system. The VM has Ubuntu with ROS, the robotic operating system on it. I just wanted to experiment with ROS and I've been running some of the ...
0
votes
1answer
66 views

What is the foolproof/proper way to set hostname and domain on CentOS

I've seen a few ways of changing hostnames of domain names. One way is to issue the hostname command followed by the name such as: hostname localhost.localdomain /etc/sysconfig/network also has a ...
4
votes
1answer
69 views

STIG (Security Technical Implementation Guides) automation

Has anyone here found the best way to STIG a version of RHEL 6.x automatically? The other answers I have found are either out of date or do not completely STIG the machine. Even an image that has a ...
1
vote
1answer
45 views

CentOS Traffic Filter

I am trying to use Squid to filter the traffic flowing through the network. I am also trying to make this system transparent. My network setup is like so: Router -> CentOS Machine -> The rest ...
1
vote
0answers
56 views

checking sendmail status as NON root user

I am in the process of converting to CentOS 6.5 from 5.5 and need a way to check if sendmail is on or not. For reasons I don't want to go through, I need to be able to check if sendmail is ON as a ...
0
votes
0answers
45 views

can xsp4 run .net 4.5 based application using mono framework?

I have installed mono 3.2.8 package into centOS 6.5 to run web application using mod-mono module. I have also installed apache 2, mod-mono 2.10 and xsp 2.10.2 in that system. Then I have tried to ...
0
votes
0answers
22 views

How can I make CentOS 6 treating WiFi flexibly like Ubuntu 12.04?

In my office, I have AT&T Uverse. The router is a 2wire 3600HGV. The WiFI is provided by a Cisco Linksys E1000 that is plugged in the 2wire device. With my notebook running Ubuntu 12.04 LTS ...
0
votes
0answers
14 views

CUPS - no document types are supported?

I'm hoping to eventually share out a printer for my household using CUPS. At this point I haven't made it past the initial config on the CentOS 6.2 x64 machine. Any document type I try to print using ...
0
votes
2answers
50 views

Cant install gnutls.i686 on a x64 CentOS install

I need to install gnutls.i686 on CentOS 7 but I get this error in yum: Transaction check error: file /usr/share/man/man5/pkcs11.conf.5.gz from install of p11-kit-0.18.7-4.el7.i686 conflicts with ...
1
vote
0answers
45 views

X11 connection rejected because of wrong authentication — on CentOS, for all users (including root)

I'm configuring a small computing cluster with CentOS. The last step is setting up X11 forwarding, and here I find problems that I cannot solve. On all compute nodes except one, I can set up ...
0
votes
0answers
38 views

CentOS: FTP (vsftpd) Error 530

I struggled my way into setting up FTP on this VPS and I can not get the accounts to work. I did adduser passwd but I get this error in filezilla Response: 220 (vsFTPd 2.0.5) Command: USER Main ...
-1
votes
1answer
31 views

CentOS, Apache Vhosts enabled,but DOCUMENT_ROOT cant towards /home/auser/website/www1 [closed]

environment CentOS 6.5 x86_64 Apache2.4.9 (locate=/usr/local/apache2) PHP 5.5.13 (locate=/usr/local/php5) Apache vhosts enabled. site1 domain=localhost ...
0
votes
4answers
216 views

Alternative for “locate” on debian

I often use "locate" command on CentOs to find files. What's the alternative for this command on Debian ?