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

learn more… | top users | synonyms

-1
votes
1answer
69 views

MIC not working due to USB bandwidth

Using debian and centos, i get the same error when plugging my USB mic in. In Windows (xp thru 8.1) it works fine. [ 304.237543] usb 2-1.6.2: USB disconnect, device number 6 [ 305.220785] usb ...
2
votes
1answer
135 views

Building OpenFOAM 2.2.2 for Xeon Phi

I'm trying to build OpenFOAM for Xeon Phi on CentOS 6.5 (Linux 2.6.32-431.11.2.el6.x86_64) Using these steps Install Intel Parallel Studio tar xvfz parallel_studio_xe_2013_sp1_update2.tgz cd ...
1
vote
1answer
21 views

Unable to access external content with this IPTABLES ruleset

My application server is on a network protected by a organization wide firewall, and my server is also using fail2ban. That said, I'd like to set up an additional layer of protection with iptables. ...
3
votes
3answers
69 views

How to display the time of sadf in epoch format

I have a problem in sadf between ubuntu and centos. The thing is how the date is displayed in both. Ubuntu: root@db1:/usr/local/nagios/libexec/nrpe_local# sadf | head -10 ...
0
votes
1answer
21 views

i2b2 VM: Copy VM won't give me a valid IP address (CentOS 6.5 running with VMWare Player in Windows)

Posting on here as well in case this was the incorrect site to post the question. http://serverfault.com/questions/595337/i2b2-vm-copy-vm-wont-give-me-a-valid-ip-address
0
votes
3answers
50 views

Iptables in linux

Please explain me the use of bold character below iptables -A INPUT -i eth0 -p tcp --dport 443 -m state --state NEW,ESTABLISHED -j ACCEPT -A -i -p -m state --state -j
0
votes
1answer
60 views

PHP on centos 6 not working

I have installed PHP, MySQL, Apache on CentOS 6, now I have restarted the Apache and mysql, to test PHP i have created a index.php on /var/www/html/test/ now once i go to localhost/test/index.php then ...
2
votes
1answer
94 views

Problem setting up iptables (LDAP traffic blocked)

My application server is on a network protected by a organization wide firewall, and my server is also using fail2ban. That said, I'd like to set up an additional layer of protection with iptables. ...
0
votes
1answer
34 views

install python module for particular python instance

I have 2 python instance on a CentOS machine, i.e. /usr/bin/python2.4 and /usr/bin/python2.7. Modules for 2.4 are in /usr/lib/python2.4, and modules for 2.7 are in /usr/local/python27. When I do ...
1
vote
1answer
90 views

Missing Messages and Secure logs files on CentOS

I'm having troubles with CentOS release 6.4 (Final). I'm looking for log files in /var/log/ and I'm obviously missing two files: /var/logs/messages /var/log/secure I was checking if rsyslog is ...
1
vote
0answers
36 views

probably gfs2 problem

We have a Mail Server (CentOS 6.5) with these component: Postfix Dovecot Mysql MailScanner (spamassassin,clamav) GFS2 Partition Last night the server crashed and this is the kernel logs before ...
1
vote
1answer
104 views

problem with unique ssh public/private key pair on second user

I have created an ssh key pair using ssh-keygen -t rsa for my main user and everything seems to be working well. Password login has been disabled. I have a second user that I am trying to create a ...
0
votes
0answers
63 views

Can't open any tool of the system administration panel in CentOS 6 that demands the root password

When I try to open any graphical tool that demands the root password, it won't launch after I enter the password. I have tried the "Authentication" and "Date and Time" apps, for example. When I try to ...
0
votes
1answer
52 views

Is it possible triggering a script with a change of amount of files in a directory? [duplicate]

Is it possible to create some kind of directory watcher and trigger a script when the folder is not empty? I have a CentOS machine with jenkins CI on it. i would like to create a job that will move ...
3
votes
1answer
91 views

XEN stop all virtual machine when shutdown

I am using XEN on CentOS 6.5 64 I want a way to stop all virtual machine when XEN server shutdown I build service call in stop xm shutdown -a but not working #!/bin/bash # chkconfig: 2345 95 20 # ...
0
votes
1answer
151 views

Graphics card recommendation, Dell PowerEdge R210 & CentOS 6.5 [closed]

I have server with displays and a keyboard-mouse for displaying network map status and for use as a shell and virtual console in my server room. Need a recent video card that is > $100 that can ...
0
votes
1answer
90 views

Disable iptables service on CentOS

I don't want the service to start after reboot. my code does this: service iptables stop service iptables save chkconfig --level 123456 iptables off service iptables status iptables: Firewall is not ...
0
votes
2answers
242 views

Building from SRPMs on CentOS 6.5

NOTE: I'm very new to yum/rpm, but am familiar with Linux. I'm trying to compile Awesome on CentOS 6.5 using rpmbuild. I found SRPMs for Fedora Core and am trying to rebuild them on my CentOS install ...
0
votes
0answers
87 views

Saxon rpm build fails due to “ant: command not found”

Hopefully this is a question I can ask this community. I'm currently working on building zookeeper-3.4.5-13 for a CentOS 5 environment. During this process I've been going down a long list of required ...
0
votes
2answers
52 views

Creating an iso from the virtual machine

I have openSuse installed as a virtual machine on Oracle Virtual Box, and I have configured some softwares with the way I require. I need to replicate the similar environment on a new Server (NOT the ...
1
vote
2answers
66 views

Allow remote MySQL to a specific IP - using CentOS 6.4

I've spent a day now trying to find out how to allow remote MySQL to work for my other virtual server. This is proving very difficult so I'm hoping you guys could help me out ;( I've used the ...
0
votes
1answer
361 views

Empty desktop after installing xrdp on Centos 6.5 with XFCE as window manager

I followed the directions to install xRDP from this site (http://ajmatson.net/wordpress/2014/01/install-xrdp-remote-desktop-to-centos-6-5/) When I RDP from Windows -> Linux, I successfully enter ...
1
vote
2answers
67 views

simply change IP after installation on server minimal

I'm using CentOS 6.5 minimal. Is there any way to display a dialog to change the IP after login? In other words, some way of entering a command with a dialog to change the IP?
0
votes
3answers
84 views

Data transfer between Ubuntu and CentOS [duplicate]

How do I transfer data between Ubuntu and CentOS using LAN cable, in the same network? I tried installing Samba which did not go well in CentOS.
2
votes
1answer
122 views

Executing PHP with CronJobs in CentOS 6.4 not working?

So I've spent around 2-3 hours now and some times researching, I found several of the same responses online but none seem to work! I'm trying to execute a PHP script every minute (as a test), but it ...
0
votes
0answers
92 views

VNC server on Centos 6.4

I have a Centos Desktop VM installed in Virtualbox, and want to connect to it using VNC. I have tried to install vnc-server, but could not connect. I removed it, then tried tigervnc-server, but same ...
0
votes
1answer
147 views

Cannot connect to WIFI

I finally made the switch from windows to Linux. CentOS to be precise. Unfortunately, I am unable to have my wireless connection working, so accessing the web is a hassle. Following directions on the ...
0
votes
0answers
42 views

Oidentd problem with centos 6.5

I have installed oidentd and it is not working with ipv6s only, it works with ipv4 just fine. I have done some search on google and applied a patch on oidentd to work with ipv6 but i still cant make ...
1
vote
4answers
144 views

How to check physical device contents

I got a server with 2 hard drives. I would like to know what is on 2nd drive. How would I list all contents on physical device ? lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT xvda 202:0 0 ...
5
votes
1answer
152 views

Apache, Group Permissions and User Uploads

I have a folder named "digitalgoods" with the following ownership -- apache:apache residing outside of the htdocs folder and is therefore not accessible to the public. However I need the same folder ...
1
vote
0answers
21 views

Can a RHEL 6.4 DS sync with a CentOS 5.4 DS

I have two CentOS 5.4 Directory Servers that sync information on a daily bases. I'm wanting to replace them with two RHEL 6.4 Directory Servers. Before the existing two are decommissioned all four ...
2
votes
2answers
196 views

Custom Kickstart ISO process - packages to RPM mapping

I want to start by saying that I am new to kickstart so if I use the wrong terms I apologize in advance. What I am trying to accomplish: I am trying to create a customer ISO for installation of ...
0
votes
1answer
36 views

Permissions for non-htdocs directory

I have created a folder outside of my htdocs directory as a means of adding extra security for downloadable digital goods to be sold from within a Magento storefront; so my question is: what ...
0
votes
0answers
65 views

What software should I use to create a HPC (High performance compute) cluster with CentOS 6.5 VMs locally?

I've read about Torque, Slurm resource managers and Maui, Open Grid scheduler, Sonf of Grid Engine but I do not know which is more appropriate to use in a local environment? I've also read that I need ...
1
vote
0answers
242 views

CentOS 6.5 will not sleep after period of inactivity

I've recently upgraded my Ubuntu 12.04 LTS to CentOS 6.5. This is a desktop PC (non-server) that I would like to sleep/power down after a period of inactivity. I have the following settings in my ...
0
votes
1answer
96 views

How to add Ip Aliases with Two Gateway on same nic Centos

I have 2 allocated address range, example 10.10.12.25/28 10.12.12.24/28 How to add Ip Aliases with Two Gateway on same nic with Centos?
-1
votes
1answer
57 views

What does ~ mean at the end of a file name (e.g. httpd.conf~)? [duplicate]

I edited a fresh apache config file in CentOS 5 using gedit. When I looked at the directory I saw now two files: httpd.conf and httpd.conf~ What does the ~ signify?
1
vote
1answer
35 views

Upgrading CentOS web server

Have just taken over control of a CentOS 6.4 web server with Apache. My question is, to update the server software, is it a case of just using yum update and then yum upgrade? Server has been ...
3
votes
5answers
591 views

bash restart mysql when it gone run well in SSH part, but not in cronjob

My system is centos 6.5, I write a simple bash shell to check if mysql is crashed, restart service again. I put it in /home/myspace/mysql.sh chown root:root /home/myspace/mysql.sh then run every ...
1
vote
1answer
115 views

CentOS 5 - hdparm - how to set DMA mode

I'm running CentOS 5 with a PATA hard drive. I've used hdparm to tune the hard disk for better performance, but there are 2 settings that don't work: hdparm -M 254 /dev/hda gives the error ...
0
votes
0answers
61 views

Setting up apache axis client on centos

I have below codes. import java.util.*; import java.io.*; import java.net.URLConnection; import java.net.MalformedURLException; import org.apache.axis.client.Call; import ...
2
votes
1answer
168 views

Downgrade PHP 5.4 -> 5.3 on CentOS 5.10 [closed]

Due to being in some dependency hell and some issues with PHP 5.4, we downgraded from PHP 5.4 -> 5.3. Since doing so, a few of our web apps are acting strange. E.g: # php index.php Results in: ...
2
votes
2answers
88 views

Lose network connectivity when bringing up second NIC

I currently have a CentOS 6.5 box with 4 NICs. eth0, eth2 and eth3 all come up fine, however when I bring eth1 up with an IP address, even on it's own, it causes complete network loss. If I remove ...
0
votes
0answers
60 views

How to enter LVM GUI from CentOS live CD?

I'm trying to reduce in size one of my logical volumes in CentOS. I booted from the CentOS 5.10 installation CD into linux rescue and tried running: lvreduce --resizefs --size 450g ...
0
votes
2answers
949 views

How to update CentOS 6.5 to kernel 2.6.32-431?

I need to update my CentOS 6.5 kernel to 2.6.32-431. Running yum clean all && yum update doesn't do it for me. How do I update? And what could be the issue? [root@centos64 ~]# uname -r ...
1
vote
0answers
62 views

Forward Only Email Server

I have a custom domain (I'll use the real domains cause I'm desperate at this point :) ) www.grantorino.io, and I want to forward all email addresses sent to yehiasalam@grantorino.io to ...
1
vote
0answers
50 views

Create partition on CentOS server?

I have a headless CentOS server that I'd like to create a new partition on so I have a separate boot and data partition. I have an existing server with the setup that I want to achieve and running ...
3
votes
1answer
73 views

Fencing VM nodes

I'm using VMware Workstation as my hypervisor. I want to create a cluster with two nodes and a sharing storage with FreeNAS. My questions are around fencing. Is it possible to do it in this case? ...
1
vote
0answers
92 views

Segmentation Fault on execution [closed]

I am getting this segmentation fault (core dumped) error on excecuting my c++ program on Centos. I am compiling my code using g++. Everything was executing fine for hours. Suddenly, on executing the ...
3
votes
1answer
377 views

fstab does not mount cifs at startup

I'm using Cent OS 6.5. I have a cifs share which needs to be automatically mounted at the system reboot/startup. Following is the line from my /etc/fstab file : //192.168.1.2/files/ /users/ cifs ...