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

learn more… | top users | synonyms

0
votes
2answers
10k views

Yum update error: Could not retrieve mirrorlist

I'm trying to do yum update. This is the error I'm getting. sudo yum update Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile Could not retrieve mirrorlist ...
5
votes
2answers
1k views

Is it possible to add an item to the GNOME right click menu?

I want to add an item to my right click menu, and run a command when a user clicks on it. I'm using Centos 6.2, is it possible? If yes please tell me how I can do this.
1
vote
2answers
3k views

Postfix, Amavis-new, ClamAV: Permission denied. ERROR

Error lines in /var/log/maillog Sep 22 12:08:20 sun amavis[4493]: (04493-09) (!)run_av (ClamAV-clamd) FAILED - unexpected , output="/var/spool/amavisd/tmp/amavis-20130922T052321-04493-crApLkq5/parts: ...
4
votes
4answers
2k views

Question about using pdflatex on RedHat in CentOS

I am a novice in using Linux systems. I was given an assignment of writing a document using LaTeX and converting the file into a pdf file to submit. So I tried using my CentOS to do so. The version ...
4
votes
2answers
4k views

How to install git for CentOS?

I tried several suggestions from this answer but none of them worked. [root@308321 sugar-dev]# yum install git Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: ...
2
votes
4answers
14k views

How to undelete just deleted directory with “rm -R” command?

I deleted an important directory with rm -R command. This is an very populer host data. It was located /var/zpanel/hostdata/ayrintilih After remove ayrintilih directory has gone everything. I tried ...
4
votes
2answers
230 views

How and where is the at command configured?

When I install a new Linux system, one of my first tasks is to have crontab send all its email to a designated email address, not root. I want to do the same for the at command. That is I would like ...
1
vote
2answers
264 views

How to run a command ( ifup eth0 ) 10 seconds AFTER the desktop loads?

My modem does not connect as fast to the internet as the computer reboots. My modem and my computer are connected to the same outlet that I shut off and on via remote, so I need the computer to wait ...
3
votes
1answer
775 views

Does segfaults mean bad memory

This is a brand new server with a new install and fresh compile of Apache/PHP with nothing crazy. Just a WordPress site hosted and I get the following. Could this just mean bad RAM? If so how can I ...
2
votes
1answer
424 views

Debugging dmesg logs

I noticed I have the following in my logs. I just am not sure as to how to go about figuring out how to fix or find out what is causing them and if they are serious. [582046.956291] Core dump to ...
2
votes
2answers
159 views

How to use -d in ntfsundelete?

As far as I can tell from the manpage of ntfsundelete getting a file back is done with e.g. ntfsundelete /dev/sdb3 -u -m important.txt which would undelete the file in-place. If I don't want ...
2
votes
0answers
93 views

Applications are not using the same keyboard mappings, it seems

I’m using an american keyboard and writing in Portuguese. I updated /etc/sysconfig/keyboard as the following article suggested. It worked but only in the console. Firefox and Sublime Text2 shows '+c ...
1
vote
1answer
3k views

PHP Upgrade Error (PHP 5.3.3 to PHP 5.4.19 on CentOS 6.4)

I'm using CentOS 6.4 and I was following this tutorial in order to upgrade PHP from v 5.3.3 to v 5.4.19 but I got the following error: Error: php54w-common conflicts with ...
3
votes
2answers
726 views

Replacing libpng-devel (1.5.3) with libpng12-devel RPMs on CentOS

I have a CentOS 6.4 box with a lot of other RPMs. I want to replace libpng-devel with libpng12.devel. If I do an rpm -e libpng-devel I get the following: error: Failed dependencies: ...
2
votes
1answer
69 views

Is there a more proper place than /etc/rc.local for writing to configure binfmt?

I want to be able to run clr (>NET/mono) exes on my redhat machines, so I add the following to /etc/rc.local: echo ':CLR:M::MZ::/opt/mono-head/bin/mono:' > /proc/sys/fs/binfmt_misc/register This ...
0
votes
1answer
111 views

centos 6.4 trouble with /dev/pts/ptmx

I have a problem with the server running on CentOS. CentOS has been upgraded to version 6.4 and has all updates. Updates were made according to the official repositories. On the server running the ...
0
votes
1answer
119 views

Problems in installing firefox 23 on centos 6.3 ( libpangoft2-1.0.so.0)

XPCOMGlueLoad error for file /home/xd/firefox/firefox/libxul.so: libpangoft2-1.0.so.0: cannot open shared object file: No such file or directory Couldn't load XPCOM. I cannot find a way to install ...
2
votes
0answers
120 views

Issues accessing CIFS share directories

Disclaimer 1: Crossposted from Serverfault because there was no activity over there. Disclaimer 2: This question is similar to Automounting not working correctly for CIFS shares; weird results but ...
3
votes
2answers
2k views

Installing python modules for python2.6

On my CentOS 5.8 system (el5 , 64bit), I had python2.4 after OS install and I installed python2.6 now. Now I want to install python modules using yum. But whenever I install a new python module it ...
0
votes
2answers
474 views

GCC compilation - where the __stack_chk_fail@GLIBC_2.4 symbol comes from?

I'm using GCC 4.7.2 from devtoolset package on CentOS 5 (CentOS 5 because we need compatibility with old Linuxes, and GCC 4.7 because it optimizes better than 4.4). There is one symbols that prevents ...
0
votes
1answer
634 views

CentOS bridge not passing traffic to eth1?

I'm setting up a network bridge on CentOS 6.4 and I'm not able to pass icmp or tcp traffic via eth1. UDP traffic looks fine. I'm sure that my test host is cabled to eth1 correctly. My config files ...
-3
votes
1answer
134 views

When opening a terminal, I can't type without clicking it first [closed]

In Xfce4 with CentOS 6, when I double click on the terminal icon to open the terminal, I can't start typing in it unless I click in the terminal once. It's as if the window is not selected or ...
1
vote
1answer
178 views

Installing python module pyexiv2 on CentOS?

I downloaded the latest pyexiv2 files: pyexiv2-0.3.2.tar.bz2 and I looked at the README file which said: To build and install the library, while in the top-level directory (e.g. '~/dev/pyexiv2', ...
1
vote
1answer
62 views

MySQL 3.23 on Centos 6?

Don't ask why, just is it possible to install old mysql 3.23 on new CentOS 6.4 i386 or x64 version (same to me)?
1
vote
1answer
513 views

Why did CentOS 6.4 set up sendmail-related stuff up this way?

After my CentOS 6.4 install, sendmail-related components were set up as follows: mail:x:12:mail,postfix in /etc/group drwx------ 2 root mail 4096 Sep 6 14:06 /var/spool/mqueue And I was getting ...
1
vote
1answer
2k views

Nagios uses sendmail, new mail server, need to change SMTP server

I'm working with a CentOS server that has Nagios running and sending notification emails. The emails are still going to the old email system which was kept up to ensure all emails were being routed to ...
4
votes
2answers
221 views

Why and how to track /var/log/dmesg with version control

On this wiki they recommend tracking /var/log/dmesg using Mercurial. I wanted to set up a cron job on CentOS 6.4 like on this page to remind myself to make commit messages for such a repo. However, ...
1
vote
1answer
232 views

Centos Linux no longer has “ System ---> Administration ---> Printing ” after re-install from “Minimal” iso file

Recently i installed centos linux minimal and then installed GUI over it. i noticed it no longer has System ---> Administration ---> Printing given that this is not a 'software' how can i ...
0
votes
1answer
817 views

Everything works in the auto-generated kickstart file for installing centos-linux except for selecting target drive + boot dot

I discovered that if I copy the auto-generated kickstart file in CentOS Linux, I could re-install CentOS Linux without having to fill stuff, and so on.. It appears centos saves the auto-generated ...
0
votes
1answer
36 views

How to get back on track of your Linux PC fails and your USB drives with Linux O.S. are lost [closed]

Assumption is you take your netbook or nettop and fly to another country where you have no friends, etc. You can not create a bootable usb drive with a linux iso file unless you purchase a windows pc ...
0
votes
2answers
1k views

How to use ( yumdownloader --resolve <package name> ) on ( yum -y groupinstall “Desktop” “Desktop Platform” “X Window System” “Fonts” )?

As soon as I finish installing "centos-minimal" from the minimal ISO file, I need to install the GUI desktop. for this I simply run, ifup eth0, and then I run: yum -y groupinstall "Desktop" "Desktop ...
0
votes
1answer
2k views

How to install [ gcc ] without internet connection?

I simply ran yum install gcc this is what came up: ================================================================================ Package Arch Version ...
1
vote
0answers
53 views

Where is the default icon used by Gnome when no icons are found?

Just to experiment, I moved the folder /user/share/icons/ away, as in saved it on a USB drive and deleted it from Linux. Now, all icons are shown as the default "white" icon. Where is this icon ...
2
votes
1answer
306 views

How to download a file from repo, and install it later w/o internet connection?

Assuming that I want to install a program called leafpad later. Currently the only way to install it is via: yum install leafpad -y but I want to save this and install it later without internet ...
1
vote
1answer
389 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
182 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
2k 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 ...
7
votes
1answer
6k 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
140 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 ...
0
votes
0answers
84 views

Configure linux to use digest proxy

I'm using Centos 6.4 and I'm connected to a network that's using proxy with Digest authentication. The problem is when using wget with any URL, I get the error "Authentication required ". I've tried ...
2
votes
1answer
32 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
401 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 ...
1
vote
0answers
72 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
692 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
269 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
214 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
90 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
1k 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 ...
2
votes
1answer
666 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
159 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 ...