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
0answers
1k views

Set Up New Locale On CentOS 6

I am trying to set up a new locale for my centos server environment. Here is currently shows for locale -a command: en_AG en_AG.utf8 en_AU en_AU.iso88591 en_AU.utf8 en_BW en_BW.iso88591 en_BW.utf8 ...
1
vote
3answers
304 views

Reverse a chmod command on a directory

Is there a way to undo a chmod command on a directory in CentOS ?
2
votes
3answers
6k views

CentOS 6.5 in virtual box : can't install any package

I have just installed CentOS 6.5 on my virtualbox. I wanted to install the GUI, using this command : yum groupinstall -y 'X Window System' but it gave me the following error message : "couldn't ...
0
votes
1answer
9k views

(CentOS) default FTP (SFTP) Log File?

I'm on CentOS v6.4 and using its native FTP Server, which i suppose is sftp. (Am i right?) Now i can use FTP well. But i need to log the actions taken by Users. Logs for the actions, such us, who ...
2
votes
1answer
317 views

Missing /dev/ram0 /dev/ram1 and /proc/kcore

I have been experimenting with etckeeper to store different snapshots of /etc in a git repo. I have cloned a working /etc in /etc-1 of a clean VPS and I have restored metadata with etckeeper, the I ...
1
vote
2answers
148 views

CentOS 6 with Linux-Libre kernel?

I understand that CentOS ships with nonfree blobs in its kernel. It seems that a "nonfree blob"-free kernel exists, a.k.a. Linux-Libre. Is it possible to somehow get CentOS to use Linux-Libre kernel ...
0
votes
1answer
4k views

Install java, tomcat7 or tomcat6 on RHEL5 centos5

I wish to install tomcat7 on centos5 sticking on yum but I have --> Finished Dependency Resolution java-1.6.0-sun-compat-1.6.0.03-1jpp.i586 from jpackage-generic-nonfree has depsolving problems ...
2
votes
2answers
6k 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
1answer
209 views

libphp4 Not Found?

I'm using CentOS 6.5 and Apache 2.2.15 I've installed PHP 4.3.11 by download: wget http://museum.php.net/php4/php-4.3.11.tar.gz tar zxvf php-4.3.11.tar.gz cd php-4.3.11 ./configure make make install ...
12
votes
2answers
25k views

I Can't login as root with su command, but I can with SSH

How is it possible that I cannot log in as root by su root or su (I get incorrect password error), but I can log in by ssh root@localhost or ssh root@my_local_IP with the same password? I'm using ...
0
votes
1answer
259 views

Linux re install order of events to include ffmpeg

Before I go ahead and wipe my whole system and start from scratch, is there a way I can avoid what just happened on trying to install ffmpeg? I still don't actually know the correct way to install it ...
1
vote
2answers
2k views

ffmpeg installation on Linux REHEL/CentOs 6.X

I had a static installation of ffmpeg but was running into trouble with config files not found so I have since just deleted it. Then I tried re-installing a more current static version just to see if ...
1
vote
4answers
95 views

targeting a specific block with e2fsck to shorten wait

Recently had a LVM'd CentOS 6.5 install get accidentally cold-shutdown. On bootup, it says that the home partition need fscking: /dev/mapper/vg_myserver-lv_home: Block bitmap for group 3072 is not ...
5
votes
1answer
2k 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 ...
0
votes
2answers
2k views

Where are my emails stored on CentOS 5.6

I have a CentOS 5.6 VM installation and currently have a handful of emails that I would like to get access to. When I run mail as root, I get: [root@dev mail]# mail Mail version 8.1 6/6/93. Type ? ...
-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
5k 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
182 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 ...
3
votes
2answers
18k 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?
3
votes
1answer
858 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
2k 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
103 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
7k 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
5k 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 ...
0
votes
0answers
197 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
36k 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
4k 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
1k 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
9k 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
847 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
1k 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
322 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
990 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
127 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
382 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
7k 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
448 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
76 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
7k 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
145 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
912 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
269 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
568 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
806 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. ...