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

learn more… | top users | synonyms (2)

0
votes
2answers
6k views

CentOS yum install gcc error: glibc-common conflicts with glibc

I met a problem with installing gcc on my CentOS. Outputs of my command sudo yum install gcc: Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * addons: centos.ustc.edu.cn ...
2
votes
0answers
409 views

Cannot configure Postfix to receive mail

I try to configure Postfix on CentOs 6. I can send mails from the server just fine, but cannot receive. The Delivery Status Notification that I get is: The error that the other server returned was: ...
2
votes
2answers
3k views

How to permanantly disable /var/log/secure?

When I delete /var/log/secure this file will be recreated. How do I disable the recreation of this file?
1
vote
1answer
2k views

Create service from command [closed]

I have following command which I try to setup to run on startup: su -l hive -c "nohup hive --service metastore > /var/log/hive/hive.out 2> /var/log/hive/hive.log &" I was thinking about ...
2
votes
1answer
75 views

Where would additional IP addresses assigned to a NIC be configured on CentOS 4.4?

I have a very old CentOS 4.4 machine with multiple IP addresses assigned to eth0. However these ip addresses are not configured in /etc/sysconfig/network-scripts where I would expect them to be i.e. ...
4
votes
2answers
6k views

How can I find which version of libmysqlclient is installed in Centos?

I have a custom exe provided to me but to install it I need an older version of libmysqlclient. How can I check which version is installed?
0
votes
1answer
142 views

Resin Server - Can't install into Eclipse kepler

I'm using CentOS 6.4. I have downloaded Resin server from the this official website. I have the folder in /home/admin/. I followed this site for adding resin server into Eclipse. but couldn't able to ...
1
vote
1answer
824 views

syslog-ng won't write to log file - “No such file or directory”

I have set up a fresh instance of syslog-ng using the conf file included below. I can see that messages are trying to route to the right place (var/log/bash) when I look in val/log/messages. But I ...
1
vote
3answers
248 views

Installing ack on cpanel

I need to install ack on an instance of whm/cpanel (I have root access as it is a VPS) but I have not found any information on how to do that. I tried to install it using the WHM RPM manager, but the ...
1
vote
2answers
528 views

CentOS 6.5 applications won't minimize on lower panel

I believe this question is related to something that happened earlier today. Right now, when I press minimize on any Gnome application, it dissappears, is still running, but I cannot get to it to ...
0
votes
1answer
730 views

Strange sosreport running on CentOS 6.5 upon login

Before beginning this question, I fully plan to update this post with more information if suggested by commentors or answerers, but other than what I've posted here, I'm not sure what else to post. ...
2
votes
1answer
102 views

Why does AWK not like dots in one of two substitutions?

I'm trying to use AWK in a bash script to look for a placeholder string in a template file and replace it with the contents of a variable that (can) contain various special characters. Example: ...
1
vote
0answers
56 views

what interface does lpsched provide that cups does not?

Work has a Linux stock/erp custom system that uses the Unix System V (Solaris, SCO, HP-UX) lpsched program that someone who used to work here compiled for RHEL/CentOS 5 i686 (I have no idea why or ...
1
vote
2answers
1k views

yum install mod_auth_token not working on CentOS

On CentOS 6.5 how do I make yum install mod_auth_token work these days? According to my own HOWTO I wrote 12 months back, you used to be able to just type it now you have to DIY it, which is bad ...
1
vote
0answers
66 views

Why CentOS 6 adjusts console width when running screen?

I run a console window through my PuTTY session. That console windows has a column width of 140. When I start the screen session, the console shrinks to 80 columns. I do not see this behavior on ...
0
votes
1answer
671 views

Update yum fails

I'm using centOS 6.4. I'm getting this error when I use "yum update" in the terminal window. Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os ...
4
votes
2answers
2k views

Do I need Nautilus on RedHat / CentOS / Scientific Linux 6?

I've found that Nautilus causes problems in my Scientific Linux 6 desktop (specifically it gets into an infinite loop opening the file manager at startup). While those problems are interesting in ...
4
votes
1answer
1k views

How to turn on Keyboard Autorepeat permanently on VMware instances of CentOS 6?

In my lab we have about 40-50 machines, all cloned with the same image of CentOS 6. For some reason the keyboard auto repeat function decides to randomly turn itself off. Typically we just have ...
2
votes
5answers
252 views

Can I use KdirStat over SSH?

I have a headless server running Centos 5.9. I can only SSH into it, is it possible to use KdirStat or a similar tool to get a graphical view of disk usage?
2
votes
3answers
2k views

Tape device file does not exist

I am trying to Read / Write data into my HP LTO3 1X8 Autoloader Tape drive. I have the required drivers installed. When I ran rpm -qa | grep mt-st I got: mt-st-1.1-5.el6.x86_64 Further when I ran ...
-1
votes
1answer
47 views

IPVS loadbalancer is not talking to realserver [closed]

I am trying to configure IPVS (IP Virtual Server) in Centos 6.3 and I have read http://www.austintek.com/LVS/LVS-HOWTO/HOWTO/LVS-HOWTO.install.html and followed ...
1
vote
1answer
218 views

What problems should I expect when adding a CentOS yum repository to RHEL?

I've added the CentOS 6 Updates yum repository to my RHEL 6.4 machine. That's because RHEL doesn't ship with the php-snmp package - and the easiest one to find is on the CentOS site. Anyways, this ...
0
votes
1answer
134 views

What is the equivalent of update-modules in CentOS 6.4?

I am adding files to /etc/modprobe.d, and a README of some software that I'm installing advised to run update-modules afterwards. $ sudo update-modules -bash: update-modules: command not found What ...
0
votes
2answers
1k views

Enable 9p filesystem type in Centos 6 virtual guest?

My question is linked to this one : http://stackoverflow.com/questions/17880460/mounting-shared-folder-in-kvm-vm-error-mount-unknown-filesystem-type-9p (but can't comment it) I have apparently the ...
0
votes
1answer
983 views

Unable to view traps through snmptrad?

I've been unable to view traps through snmptrapd. I generated a SNMP trap manually using the below provided snmptrap command: snmptrap -c public -v 2c -n "" localhost 0 uptime But I'm ...
1
vote
1answer
3k views

Is there any way to do a CentOS minimal install without LVM / ext4?

I'm trying to benchmark the disk throughput of a base CentOS install on my lab XenServer setup, and am installing from the CentOS 6.4 minimal CD. However, the install ISO boots into a text-mode ...
3
votes
1answer
5k 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. ...
1
vote
1answer
318 views

kickstart is frozen at 100%

I'm trying to install CentOS 6.5 into virtualbox using packer, but the install screen is freezing at 100%: The other consoles are showing the following information: Alt+F2 (blank screen) Alt+F3 ...
1
vote
1answer
2k views

How to restart Java with a specific argument?

While running my Minecraft server, I noticed the following message outputted in the console. 24.01 02:11:04 [Server] INFO Warning, your max perm gen size is not set or less than 128mb. It is ...
0
votes
1answer
3k views

How to check which specific processes (Python scripts) are running?

Using the command 'top' I can see 2 python scripts are running. However, how do I check their names or directory/location? I want to identify them so I can see what is running properly and what isn't. ...
2
votes
1answer
34k views

How can I create an SFTP user in CentOS?

I'd like to give temporary SFTP access to a support guy. How do I create an SFTP user? And how can I delete it once the job is done? Also, how do I specify a home directory for them? Can I prevent ...
1
vote
1answer
17k views

Uninstall JDK rpm to reinstall

Where do I find the JDK install to uninstall? @terdon had explained using an rpm type download so it would be easier to uninstall, but I cannot find it.
0
votes
1answer
278 views

PPTP: Allow remote clients to communicate with each other

I have a PPTP server. Clients log in to the server, but can not ping each other. The clients are at different locations. The problem is with my IPTABLES forward chain .... here is my iptables: ...
1
vote
2answers
10k views

How do you change the desktop theme in CentOS?

I have a couple of questions, and am a complete newbie, so please be kind. How do you change the desktop theme in CentOS? How does one download CentOS themes from the internet? How do you install ...
0
votes
1answer
260 views

Is there something wrong with df output? [duplicate]

I'm using the command df -h to check disk usage on CentOS 6.4. I see an inconsistency with the output. look at the line Filesystem: total 490Gb, used 55Gb, and Available 411Gb. What is it mean? I ...
1
vote
1answer
214 views

What linux server settings allow my long running processes to keep running after the terminal is closed/terminated?

In previous jobs and experiences, I used screen or nohup to run my long running jobs from my terminal screen. Most, if not all of my previous jobs' servers dropped you if it didn't detect any ...
2
votes
1answer
1k views

Locked out of server with SSH - anything I can do?

I accidentally locked myself out of my server. I changed the port, added ssh-keys, PermitRootLogin is 'no' and if I remember correctly PasswordAuthentication is also no. Logging in on another server ...
2
votes
0answers
305 views

How to reset linux centOS 6.0 keyboard shortcuts with custom changes to default one?

On Single Desktop Environment.... I created some custom shortcuts, but currently I want to revert all the changes to default settings (which having no custom changes). Example: created like CTRL + N ...
0
votes
2answers
402 views

How to Find the Cause of Too Many Dropped SSH Connections?

Overview: I have a home setup, behind a home router, on which there is Proxmox Hypervisor running over 10 VMs. One of those VMs is the first point of entry after router. It is just a jump host Centos ...
2
votes
0answers
2k views

Can't Install ImageMagick on Centos using Yum

I am trying to install ImageMagick on my dedicated-virtual Centos server for use with PHP. I first ran the following commands successfully: # yum install gcc php-devel php-pear # yum install ...
2
votes
2answers
6k views

How to have the login screen through VNC in Oracle Linux?

Basically what I am looking for is similar feature like RDP on Windows. I should be able to view the login screen through VNC Viewer. Even if server is restarted I should still be able to access it ...
0
votes
0answers
497 views

Postfix not responding to telnet

I am doing a Postfix installation on CentOS 6.5 I can't get # telnet localhost 25 to do more than this: Trying ::1... Connected to localhost. Escape character is '^]'. EHLO ^] telnet> quit ...
0
votes
2answers
5k views

What causes cron to continuously send mail and how can I disable it?

I have a problem on CentOS 6.3 system where the crond process tries to unsuccessfully send mail over and over (at least I think this is what its doing) until the OS eventually generates a "too many ...
0
votes
1answer
910 views

no irq handler vector

I'm a Linux newbie and I've just installed CentOS 6.4 on my desktop machine. Everytime I start my terminal I get these error messages and I can't figure out why. How can I trace the problem and fix ...
6
votes
9answers
81k views

yum update fails: Error: Cannot retrieve repository metadata (repomd.xml) for repository …

I'm using CentOS 6.3. When I try to update my system with yum I have this message: yum update Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirrors.ircam.fr * ...
0
votes
1answer
58 views

Rebuilding RPM results in “invalid numeric value”

I am attempting to add some config changes to Bash and repackage it as an RPM in CentOS x86. This is not something I've done before, so I'm at the mercy of info I've found around the internet. I am ...
4
votes
3answers
56k views

Open port 80 in CentOS 6.5

I'm trying to open the Port 80 in my CentOS 6.5, on my virtual machine, so I can access the apache from my desktop's browser. If you take a look at the screenshot above.... I've added the line ...
1
vote
1answer
76 views

Using passwordless ssh on CentOS 6

I have a fresh install of CentOS 6 that I am trying to connect to using ssh without a password. But each time I try to login, I am asked for the password. Here are the commands in order: ssh-keygen ...
5
votes
2answers
5k views

Two ways to lock a password but only one to unlock

CentOS 6 Linux has two ways to lock a password: passwd -l usermod -L Today I found out, that they do something different. passwd writes two exclamation marks into the shadow file. # passwd -d ...
1
vote
3answers
3k views

New local user can't login to vsftpd

I'm a bit puzzled with this one and could really use some help. We have a CentOS 6 box running VSFTPD as a dropbox for our customers. Each customer gets a local user and is chrooted to their home ...