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

learn more… | top users | synonyms

1
vote
1answer
55 views

How to run java service as a non-root user on CentOs 6

I have a script that starts a Java application as a service on CentOS 6: #!/bin/sh # chkconfig: - 80 20 SERVICE_NAME=cn4server PATH_TO_JAR=/usr/local/share/myserver/cn4server.jar ...
0
votes
1answer
29 views

Is there a quick way to download a directory in a repo?

I'm actually working from a windows machine, attempting to retrieve centOS 5.4 from their vault. I don't have unpacking software, so I don't want to use the iso's. I was wondering if there's an easy ...
1
vote
1answer
296 views

Centos6.4 Kickstart stuck at %POST

I have the below kickstart %post, but it hangs at the Post Installation Screen. Any thing I had missed or done wrongly? Thanks. %post --log=/root/my-post-log ( echo "# Running Post Configuration #" ...
1
vote
1answer
39 views

How to give Root privileges for User in Centos 6.2 minimal

I installed Centos 6.2 minimal x86_64 server in Virtual Machine Manager. After installed I created Username in the server. And I added the User into a wheel group. # useradd testuser # ...
3
votes
1answer
2k views

CentOS 6.5 Login Screen GDM Issues

I have a few issues with the GDM login screen. I am using CentOS 6.5 and installed GNOME. I was able to change the background of the login screen by replacing the default.png image on the system. ...
2
votes
3answers
73 views

What iptables command do I need to allow web server traffic?

I have a hard time understanding iptables rules. I am running a centos 6.5 VM on my laptop (vmware hypervisor) and it looks like it comes with this setup for iptables: # iptables -L Chain INPUT ...
2
votes
2answers
172 views

Difficulty with EncFS on CentOS

I'm trying to figure out encfs, but am having some difficulty. This is what I have done so far: I created 2 test folders mkdir /home/oshiro/Desktop/encrypted mkdir /home/oshiro/Desktop/decrypted ...
0
votes
1answer
1k views

What caused my CentOS 6.4 box to reboot itself?

I noticed that the MySQL daemon running on my CentOS 6.4 machine was suddenly not running anymore. I checked the MySQL log, but didn't see anything relevant: 121229 22:17:45 mysqld_safe mysqld from ...
5
votes
2answers
632 views

Setting ulimit correctly for PHP on Linux

I have /etc/security/limits.conf set to the following: nobody soft nofile 409600 nobody hard nofile 1024000 phpuser soft nofile 409600 phpuser hard nofile 1024000 httpd soft nofile 409600 httpd hard ...
1
vote
1answer
864 views

Setting up SMTP-AUTH & TLS in Postfix

So I have been in the process of installing a Postfix Server on my CentOS 6.2 Virtual Private Server. I have been following this tutorial: ...
2
votes
2answers
25 views

centos5 maximum memory setting for all users

I'm using Centos5 for operating server and the machine has limited memory. There are many users using the server and some of them are running programs which use a lot of RAM. When I check the used ...
2
votes
3answers
2k views

Combining Centos 6 ISO images

I was wondering if I can create a single ISO image by cating two DVD ISO images together. I have heard that this only works if the ISO is split into different parts and not two distinct ISO images, ...
-1
votes
0answers
22 views

How to encrypt nfs file system with ecryptfs

I've got a NFS file system on my Dell equilLogic and it is shared as nfs. Is there any way to encrypt that file system through Linux ecryptfs? Such as nfs will mount on centOS and storing will be ...
2
votes
0answers
31 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 ...
1
vote
1answer
2k views

Installing Dovecot and Exim on CentOS 6.4

I've been looking for some guides on setting up a secure Dovecot and Exim mail server setup on CentOS 6.4, however it seems there's nothing out there. Does anyone know of any guides - or - if someone ...
1
vote
0answers
99 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, ...
0
votes
1answer
352 views

Yum Returns Errors when using

When I try to use Yum (e.g. # yum update) I get an error and it prevents me from using Yum. Any help on this would be really cool! This is the error that I get when I try to run a Yum command: # yum ...
3
votes
1answer
42 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:
2
votes
2answers
1k views

CentOS 6.4 Mail Server

I'm trying to install a mail server on my root server. I'm relative new to Linux but not a absolute beginner. There are many many how to's on the internet I tried to get my own mail server with ...
0
votes
1answer
374 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 ...
2
votes
2answers
764 views

Packet loss with RX error packets

I am seeing packet loss from all my blade servers within the HP Blade C7000 enclosure. # ping 192.168.2.140 PING 192.168.2.140 (192.168.2.140) 56(84) bytes of data. 64 bytes from 192.168.2.140: ...
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 ...
2
votes
1answer
1k views

CentOS Local User not able to view directories/files via FTP login

Currently running CentOS 6.5 with vsftpd. As a newbie, I would like to explain my process and then have the proper process explained back to me from scratch which I believe will solve my issue. I am ...
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 ...
0
votes
1answer
5k views

enable apache mod rewrites to load clean-urls

In CentOS, a2enmod rewrite results in “command not found” but httpd -M lists rewrite module as listed and shared. I'm trying to enable it so can then have these rewrite rule apply so I can switch back ...
2
votes
1answer
550 views

can't connect to samba drive in centos 6.3

#smbclient //ballzdeep/torrents Server not using user level security and no password supplied tree connect failed: NT_STATUS_BAD_NETWORK_NAME Does this mean i need to require username and password ...
2
votes
0answers
27 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 ...
0
votes
1answer
25 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 ...
3
votes
2answers
561 views

USB memory stick failing to mount - Not Authorized

One of my customers uses a machine running CentOS 6.4 with Gnome 2.28.2. Whenever he plugs a USB memory stick or external hard drive into the machine he gets an error pop-up that simply states Unable ...
-2
votes
2answers
19 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 ...
1
vote
1answer
733 views

How to change terminal character encoding

Today I uninstalled the GUI packages on my home CentOS installation. Now, when the machine starts, I get the login prompt. It acts finicky. Sometimes pressing enter just once after answering each ...
4
votes
1answer
1k views

grub error : “File not found” for separate /boot/efi partition

I've installed CentOS 6.4 on UEFI enabled machine, created /boot/efi partitions. But my grub is not automatically starting, if I start the PC, I start in Windows 8. I can only start CentOS by ...
0
votes
1answer
1k views

Centos 6 stuck at loading splash screen after successful installation

I'm trying to dual-boot CentOS with Windows 7. My current disk layout are as follow:- /dev/sda1 - Windows 7 /dev/sda3 - NTFS partition I created a standard partition for /boot and that was ...
0
votes
1answer
47 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
42 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
2answers
76 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
58 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
62 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 ...
3
votes
5answers
604 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
votes
1answer
40 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 ...
0
votes
1answer
601 views

Upgrade OpenGL from 1.2 to 2 for Nvidia GT218 [GeForce 310]

To run my application OpenGL version 2.0 or higher is required. glxinfo | grep OpenGL yields: Xlib: extension "NV-GLX" missing on display ":1007.0". OpenGL vendor string: Mesa project: ...
5
votes
1answer
945 views

What is SSTP vpn server and how can I run one?

I've read a couple of L2TP and PPTP tutorials on the net and there are just dozens of "running PPTP/L2TP on Linux" guides available out there and I successfully made packages like open-swan or pptpd ...
2
votes
1answer
65 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 ...
4
votes
3answers
13k views

CentOS 6.3 Device eth0 does not seem to be present (Minimal non-cloned setup)

I installed CentOS 6.3 on my hardrive partition (new install...minimal install). After successful installation, I see that eth0 was down looked for 70-persistent-net.rules file under /etc/udev .. ...
3
votes
1answer
982 views

SELinux - allowing rsyslog open/read access to some files

So I've got three files I need rsyslog to open in order to forward the entries to another server. SELinux is preventing this with the following error: type=AVC msg=audit(1371186588.768:1324460): ...
1
vote
2answers
109 views

Possible to get RAID1, by simply adding HDD? [duplicate]

I have server and there is one 1TB drive in it and I guess it's not running any raid, I'm thinking if it's possible to add another 1TB HDD and setup RAID1 somehow?(software raid1) Server is running ...
5
votes
4answers
4k views

iptables rules not reloading on CentOS 6.x

I have one single ipset added to my iptables on a CentOS 6.x box and this rule is lost when the machine reboots. I've found this answer showing how to make a Ubuntu system reload the iptables rules ...
1
vote
1answer
35 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 ...
4
votes
1answer
431 views

How to create a git repo using Nginx?

I've a CentOS 5 server at domain.fr. I am trying to set a subdomain so that I can use it with git : git.domain.fr My repositories are in /home/git (example /home/git/repos.git) I've installed ...
1
vote
1answer
361 views

System Halt on REBOOT, Shutdown & Restarts as expected

Recently went from Centos 6.4 to Centos 6.5. System is Dell T410 Tower. Whenever I reboot, system runs through post, passes IPv4 Settings, then announces: PCIe Training Error: Slot 1 system halted ...