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

learn more… | top users | synonyms (2)

3
votes
1answer
1k views

Why iptables does not fetch information from /etc/sysconfig/iptables on centOs?

I'm new in Linux and encountered with problem with iptables. Here is content of /etc/sysconfig/iptables file # Generated by iptables-save v1.4.7 on Tue Nov 27 21:41:04 2012 *filter :INPUT ACCEPT ...
1
vote
2answers
377 views

Saving iptables on CentOS, and merging the previous rules with the newly saved ones?

I added some new rules using iptables command, then saved them using /sbin/service iptables save as described here: http://www.centos.org/docs/4/html/rhel-rg-en-4/s1-iptables-saving.html After ...
1
vote
1answer
4k views

CentOS 6.2 black screen…help

I'm facing some problems with the CentOS graphical interface. When I try to reboot the machines, it seems everything okay. I can connect to the machine through ssh from other machine and it has no ...
20
votes
1answer
27k views

what is the CentOS equivalent of /var/log/syslog (on Ubuntu)?

On ubuntu this file exists: /var/log/syslog. However the same file does not appear on CentOS Distributions. What is the equivalent file on CentOS?
1
vote
2answers
216 views

Change chkconfig used by Centos 6.3 to print “on” in bright green (like Ubuntu's chkconfig)?

chkconfig on Ubuntu will highlight services that are on in green when using list mode. http://i.stack.imgur.com/Jx1jW.png This does not occur on CentOS 6.3. I'd like that highlighting on the CentOS ...
2
votes
1answer
54 views

Missing 'which' executable on CentOS

We booted up our CentOS (6.4 Final, kernel version 2.6.32.... i686) VM today (running on a Windows machine, yeah I know...) and for some bizarre reason the 'which' binary has gone missing. (Last week, ...
2
votes
2answers
893 views

make permanent virtual interface?

I want to have two IPs sharing the same interface and it's just working fine by creating a virtual interface using the following command (eth0 is my original interface): ifconfig eth0:0 ...
2
votes
0answers
110 views

Resize /home on CentOS vmware guest

I have a new vmware guest, let's say I want to extend it from 100 GB to 300 GB My question is how to insert all the 200gb into /home? Where can I start? df -h displays:
0
votes
2answers
3k views

Does Yum have an equivalent to apt / aptitude's DEBIAN_FRONTEND=noninteractive?

On Ubuntu you can use something like this: export DEBIAN_FRONTEND=noninteractive sudo -E apt-get update Which will prevent things that require input (choosing grub versions or conflicts between ...
0
votes
1answer
387 views

Does SerNet compile Samba 4 with CUPS support? (How to tell in general?)

I have SerNet Samba 4.0.9 installed on CentOS 6.4. How can I tell if it was compiled with CUPS support?
0
votes
1answer
435 views

Similar method to /etc/init.d

I have set my script to run using the /etc/init.d method. All works good. The problem is that my script does packet capturing and when it restarts the machine after say the crond is loaded then it ...
0
votes
1answer
137 views

C-library HMAC_MD5 questions

We are working with an older software product that has some limited programming capabilities - specifically, no bit manipulation functions. This has created a significant problem as we need to ...
2
votes
1answer
2k views

Cent OS + VSFTP, 553 could not create file, how to allow uploading of files?

I have a ftp server running on Cent OS VM. the goal: public map can be seen by everyone (readonly for anonymous users, write for logged in users) upload map can only be seen by local users logged ...
3
votes
1answer
1k views

How can I set gdm login screen time to 24 hour format?

I installed CentOS 6.4 within VMWare 7 by easy setup. Afterwards I had to change locale settings to German. Everythings works fine accept that the clock on the login screen is still in ...
0
votes
1answer
264 views

Duplicity Centos 6 Error

I am trying to verify backup from ftp server using this command. duplicity verify ftp://xxx.net@ftpback-bhs1-15.ip-198-100-151.net/ /home I am getting this error Difference found: File home/nginx ...
0
votes
0answers
117 views

CTRL meta key 'sticky' in GUIs over X11 forwarding from CentOS to fedora

Despite numerous problems, I managed to get X11 forwarding working from a SSH server running on a CentOS host to a Fedora client (changing various settings and finally fixing it by installing a ...
2
votes
2answers
2k views

How to change default permissions of files created by a process?

I'm running a game server (unreal tournament 2004) on Centos 6 x86. I use a sh script to start it in a background process. This process (game server) creates different files (demos, logs) and they all ...
2
votes
1answer
445 views

/etc/init.d/ script starts during loads and crash the system

I have centos 6.4 machine. I created my own script using /etc/init.d/ . Below is the snippet which I took from the net and tried it. The problem now I notice which loading my os when this is loaded it ...
2
votes
3answers
974 views

installing eric5 in CentOS 6.4

I am trying to install Eric Python IDE 5 in my CentOS 6.4. The problem here is even I have installed PyQT4 its again saying that module is missing. what I am supposed to do ? here is the terminal log ...
1
vote
1answer
2k views

Samba 4 gives “Failed to find a writeable DC for domain” on samba-tool domain join

I have a CentOS 6.4 box with SerNet's Samba 4.0.8 installed and no smb.conf file yet, as it should be. I want it to become an AD DC in my existing Windows domain, replicating from the existing ...
3
votes
2answers
7k views

When to use BIND vs internal DNS for Samba 4 backend

The docs say, "Bind as DNS backend is recommended, if you plan setup a complexer DNS setup, than the Samba 4 internal DNS currently made possible." What exactly is the threshold for "a complexer DNS ...
2
votes
1answer
664 views

vsftpd - how to allow user to delete files added by another user/group

I have 2 CentOS servers, A and B A, our live server, has an instance of Apache Tomcat running, that downloads files from an external FTP server. After it has downloaded these files, it also copies ...
3
votes
2answers
6k views

Use inotifywait to move file when it loads in dropbox folder

I'm trying to find a way to immediately move a file to another folder as soon as it appears in my dropbox on CentOS. I have scoured the internet for some clues but I can't get any further than the ...
1
vote
2answers
344 views

update failure in CentOS

I am using CentOS 6.4 .while I am doing package updating i am getting these errors. please help me to resolve those issues. file /usr/lib/libpostproc.so.52 conflicts between attempted installs of ...
0
votes
0answers
597 views

Issues mounting a NTFS share on Centos 6.3

We have a web server running on Centos 6.3 and we intend to mount a shared Windows drive (Windows 2008) so that we can do our daily backups on to the shared drive. This is how I am mounting the drive ...
1
vote
1answer
688 views

Installing CentOS and Kali as dual boot?

I'm going to install a machine with both CentOS and Kali. What are the steps to follow? Which should I install first CentOS or Kali? The issue I tried to run Kali as virtual machine however, it just ...
0
votes
1answer
2k views

Cannot create new service with xinetd in RHEL6

I've installed the Nagios on My RHEL 6.4(x64) machine. and i added one more module name called "NSCA" for some central monitoring solution.so the setup required add NSCA service detail under xinetd. ...
3
votes
3answers
684 views

Is it possible to share an external hard drive through server?

I was wondering if it is possible to share an external hard drive in CentOS server? Sorry if this question seems basic. I'm new to system administration.
0
votes
1answer
136 views

Unkillable process after connection lost to Samba share?

Using this manual I've mounted a Samba share. I'm copying files to it using a Python script. Everything is working fine until some problem with the network occurs. After that I get unkillable ...
0
votes
2answers
69 views

how to get data of ntfs to linux?

I have dual boot of Windows 2003 server and Cent-OS 6.X on my PC. I have files in windows environment, can I get those files using any utility to my Linux environment with out using any external ...
1
vote
2answers
5k views

binding ip address to hostname

I just registered a domain name and paid for hosting with CentOS and I found that I had to do the binding myself following the lengthy steps http://www.linux-sxs.org/internet_serving/bind9.html I was ...
1
vote
0answers
571 views

FFmpeg-php installation error on CentOS 6 x64 bit

I'm trying to install ffmpeg and ffmpeg-php. FFMpeg installed perfectly. When I try to install ffmpeg-php, I'm running ./configure and it's configured fine. However, when I run make it gives me the ...
5
votes
1answer
717 views

How can I make the eth1 up and always available for remote access, where eth0 will be used for host to host IPSec VPN?

I am running Amazon EC2 instance with Red hat enterprise linux, where I have two network interface. Now: eth0 is currently active having public ip where I am remotely logged in via SSH, to ...
2
votes
1answer
1k views

Can I use yum to manage a “package” installed from source

I am running CentOS 5.5. I need to upgrade some packages to newer versions, unfortunately they're not available. I am stuck building from source. Is there a simple way to use yum to manage ...
0
votes
1answer
2k views

Hostname not changing on Centos 6.4

We have centos machine. We have tried both the /etc/hosts and also /etc/sysconfig/network. Edited both files and service network restart. Yet the hostname is showing as localhost.localdomain. How to ...
0
votes
1answer
2k views

Difficulty installing PHP from source to CentOS 6.4

The problem: After installing PHP from source, functionality is not present - my phpinfo test page does not work. If I use yum to install from the repository functionality is restored. Why am I ...
0
votes
2answers
235 views

Intrusion system suggestion specifically for Centos 6.4 [closed]

We are trying to evaluate a good possible intrusion detection package specifically for centos 6.4. So far Ossec looks promising. Any other based on others experience.
0
votes
1answer
5k views

How to install lsblk on CentOS 5

I'm more used to Debian so yum and CentOS is a little new to me. Apparently, lsblk is not available on this system. I'm trying to install it via yum with no luck. I just get "nothing to do". I ...
1
vote
2answers
6k views

File uploads successfully however it is 0 bytes

I have an interesting problem where I have the ability to upload files, change permissions, download files using FTP on Cent OS. However, the interesting and annoying part is that the files are ...
2
votes
2answers
4k views

Running Open Vas via KALI Linux

We would like to run open-vas penentration test on a remote server and would no like to install it on the remote machine. Thus we have setup a Kali Linux Live machine for this purpose. So we first ...
1
vote
0answers
584 views

Restore a Linux backup on virtual machine

I have made a backup of my Linux OS in a bacukp.tgz, the OS is Centos 6.4. Now I want to create a new VMWare virtual machine from it. Do I first need to install Centos from CD or ISO, and then ...
1
vote
1answer
425 views

What are “Allowable Drives” in Cent 6.4 Installation

Durring an install of CentOS 6.4, I see two locations where I can select "Allowable Drives" The first time I select "Allowable Drives" is to select which drives are added to my fstab. That makes ...
1
vote
2answers
1k views

Minimize PHP.CGI.Argument.Injection and further hardening of the Centos 6.4 web server

We have Centos 6.4 server with a physical firewall. We keep seeing quite an number of PHP.CGI.Argument.Injection is detected by the firewall. On the server itself we have done the basic apache ...
2
votes
3answers
6k views

CentOS use .pac file as proxy

I have to use a proxy with authentication to connect to the Internet. But I can't find any solution for this. I have modify my yum.conf, with a lot of possibilities: ...
0
votes
1answer
71 views

CentOS - acts abnormal every week and causes my whole setup to be down, how can I rollback / restore back to one week?

I have CentOS and Red hat enterprise Linux running, where I have now working Google Apps Engine and related other Python web applications. Every week or depending on any Google Apps Engine latest ...
1
vote
0answers
1k views

How can I enable fail2ban and mod_secure logs to appear in logwatch on centos 6.4?

I have logwatch working fine but I don't see the fail2ban and mod_secure logs appearing in my logwatch logs. How do I enable this? What do I need to do to logwatch's configuration file? Below is the ...
0
votes
1answer
869 views

SMTP/POP server only for internal e-mails on hosted domain

We have a domain for a web site and e-mail that's hosted off-site. (We don't have a reliable enough connection to host it ourselves.) Our shared host sometimes has SMTP problems, but never POP ...
1
vote
1answer
5k views

Mail Server on CentOS - Relay access denied

I have setup Postfix and Dovecot on my CentOS Server. Now I am using unsecure SMTP and POP/IMAP (ports 25 and 110/143). I can send mail locally to and from myself, but when I want to send email TO ...
0
votes
1answer
1k views

rsync “Permission denied” despite ownership

I just rsync'd a bunch of files, from a Windows box running cygwin sshd, to a CentOS 6.4 box. I ran rsync -e sshd... on CentOS to do this. Then I plugged in a USB drive on the CentOS box, formatted ...
3
votes
2answers
5k views

How do I find out what file Apache is serving when a port is hit?

I'm working on a server someone else set up. The server is CentOS 4.6 running Apache/2.0.59 (httpd). They have an update service setup on port 8443. I know it is working but I need to find out what ...