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

learn more… | top users | synonyms (2)

-2
votes
1answer
3k views

What is the difference between egrep, fgrep, find and grep commands? [duplicate]

i am new to linux console, however i know i can use grep to find files however i am wondering what the particular difference between these common commands ? They all seems to be equal in meaning to ...
1
vote
3answers
4k views

Failed dependencies: libcurl.so.4(CURL_OPENSSL_3)(64bit)

I'm trying to install Synergy in my CentOS 6.5, here's what happens: # rpm -ivh ./synergy-1.4.16-r1969-Linux-x86_64.rpm error: Failed dependencies: libcurl.so.4(CURL_OPENSSL_3)(64bit) is needed ...
2
votes
0answers
164 views

ffmpeg hardcode subs on flv

Giving up on trying to use videosub.js, I am now trying to hard code subtitles to the video file using ffmpeg. Have run into trouble with configuration files not found, when trying to hard code the ...
2
votes
2answers
14k views

Change sshd logging file location on CentOS?

How do I change the sshd logging file location on CentOS? sshd logs to /var/log/messages instead of /var/log/secure. How can I change the setting so sshd will stop sending logs to /var/log/messages?
0
votes
1answer
43 views

How to locate an application that is using the 'bash' command? [closed]

I saw a command called 'sshd' that is using the BASH command (according to ps aux) to write to a file. But how to locate the code of this application that is using the bash command?
2
votes
1answer
679 views

Is there an easy way to check which program wrote to /var/log/messages?

Is there an easy way to check which program wrote to which file? I'd like to check which program wrote an error to /var/log/messages for example.
0
votes
2answers
1k views

How to permanantly disable /var/log/lastlog?

When I delete files such as /var/log/lastlog, /var/log/utmp and /var/log/wtmp the files will be recreated. How do I disable the recreation of those files?
1
vote
2answers
2k views

Is there a Lubuntu, Centos equvialent…Centos that runs lxde out of the box?

Are there any CentOS distros that run LXDE out of the box? I want to use CentOS for a server I'm throwing together instead of Ubuntu, but I want to be able to run LXDE as the system I'm using has ...
0
votes
0answers
86 views

Problems connecting to IRC server from VPS

So I'm running a CentOS 6 VPS that I've got irssi installed on. I'd like to run irssi as a permanent connection to an IRC server so I can log in from anywhere and not lose my conversations. Irssi ...
2
votes
2answers
5k views

CentOS how to update Ant Version to 1.8.x and higher?

I'm using CentOS v6.5 and installed Ant by using: yum install ant But it came with Ant version 1.7.1. And i need the latest Ant version 1.8.0. How to properly get the latest Ant version 1.8.x (or ...
2
votes
1answer
4k views

Can I safely disable abrtd on CentOS 6?

There is this nice new daemon called abrtd running on CentOS6. This was inherited from upstream RHEL6. There this can be used (for instance) to automatically generate service-requests. In an ...
1
vote
0answers
164 views

How to disable PAE feature of kernel, after installation?

I am using RHEL 5.3(x86) as a base platform for my development purpose.My machine's spec is as follows: Intel, Core-i3 Processor @ 2.5GHz 4GB RAM Problem is whenever I am attempting to install the ...
3
votes
2answers
32k views

How to properly set up 2 network interfaces in CentOS (running in VirtualBox)?

I have a VirtualBox machine running CentOS 6.5. I've created 2 network adapters for it in VirtualBox's networking settings for the machine. The first is NAT which I want the guest to use to connect to ...
1
vote
2answers
3k views

CentOS 6.4: Unable to mount disc, doesn't like UDF

I'm trying to use a CD on CentOS 6.4, but I keep getting this error: Unable to mount Disc Error mounting: mount: unknown filesystem type 'udf' I've installed udftools I've tried changing the ...
2
votes
2answers
982 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 ...
4
votes
1answer
2k views

Differences between %pre and %post in Kickstart on CentOS?

I have been setting up machines with Kickstart on CentOS and I am unsure about the differences between the %pre and %post sections of the kickstart .cfg file. The CentOS Documentation for the ...
1
vote
1answer
2k views

“SELinux is preventing /usr/sbin/openvpn from name_bind access on the tcp_socket”

I am configuring an openvpn server on a new centos 6.5. But the main problem is that selinux is blocking openvpn to use the default port tcp 1194. The following is the sealert -a ...
4
votes
2answers
8k views

How to find a cron job if you know the specific time it runs?

I've been using kSar to look at my servers resource use. There is a definite spike in process creation at 4:04AM daily. Cron seems to define the interval they should be run, but not the specific time ...
1
vote
1answer
690 views

what does mean crond[2113] : (*system*) RELOAD (/etc/cron.d/mycron)

crond[2113] : (*system*) RELOAD (/etc/cron.d/mycron) My cron job is not working and I got the error above in log, What does mean that, how can I know what is going on. My cron job code: ...
1
vote
1answer
979 views

CentOS 6 KVM host with CentOS 6 guests kvm-clock enabled major time drift

I have a CentOS 6 KVM host with CentOS 6 guests, all 64bit. The host syncs time from NTP and has remained bang on. All the guests have kvm-clock listed as current_clocksource but over the last 3 ...
1
vote
2answers
268 views

Is it possible for a OpenVZ container to interact with a MySQL database on the host?

Say every container and the host itself has its own dedicated, external IP. Is it possible to do this without any problems? And is this really a good plan? Instead of hosting a database per ...
2
votes
1answer
901 views

/root/bin/ffmpeg: error while loading shared libraries: libtheoraenc.so.1: cannot open shared object file: No such file or directory

My ffmpeg command gives error when I try to convert video format. I have installed ffmpeg manually following this guide. For above issue I checked ffmpeg: error while loading shared libraries: ...
0
votes
2answers
108 views

Updating CentOS by YUM command without removing previous version

I wanna update my system by yum command, after executing yum update it wants to update kernel to 2.6.32-431.5.1.el6 version also it wants to remove my oldest kernel version (2.6.32-279.el6). ...
1
vote
2answers
338 views

Adding useraccount as root using “usermod -G root useraccount”?

I'm on CentOS. I try to add an useraccount as root using "usermod -G root useraccount". But this does not seem to work. Any way to fix this without having to use visudo?
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
391 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
1k 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
5k 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
136 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
769 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
237 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
496 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
693 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
95 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
54 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
63 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
641 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
239 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
46 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
215 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
129 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
904 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 ...