CentOS is an Enterprise-class Linux Distribution derived from Redhat Enterprise Linux sources freely provided to the public.
2
votes
1answer
61 views
Previous login notification
I am using CentOS 6. How can I configure it so the system notifies the user, upon successful login, of the date and time of the last login? Is that possible?
0
votes
2answers
56 views
Create a CentOS Guest img over Ubuntu
I want to create a basic CentOS 5.8 system from scratch.
for now i build my own img for Ubuntu Guest (debootstrap), my host is a Ubuntu 12.04.1LTS but I don't know how to make for a CentOS, is ...
0
votes
1answer
331 views
“client denied by server configuration” with “AllowOverride All”
I've installed CentOS 6.3 with Apache 2.2 on a VM. I'm trying to set up a LAMP stack with these VirtualHosts:
localhost loads the path /var/www/html/
lcl.mydomain.com loads the path ...
0
votes
1answer
306 views
How to change terminal character encoding
Today I uninstalled the GUI packages on my home CentOS installation. Now, when the machine starts, I get the login prompt. It acts finicky. Sometimes pressing enter just once after answering each ...
3
votes
0answers
221 views
iptables routing marked packets from router to PC and routing them back to router
I'm trying to do deep packet inspection on HTTP packets. The purpose of this is to collect HTTP payload data and then create some proxy/cache-independent reports. Following this, the idea is to ...
2
votes
1answer
163 views
How to get rid of special characters in the output of make on centos
I installed centos6.3. When I run gcc, it outputs errors but the function names are surrounded by special characters like this
‘setup_connection’:
This same is repeated with variable names. I ...
1
vote
3answers
290 views
Minor upgrades and version numbers on CentOS
I installed CentOS 6.0. Later I ran yum update to apply software updates. After that my operating system version changed to 6.3. Why did the version change? How far up will it go? How can I choose ...
3
votes
1answer
665 views
Using autofs to mount under each users' home directory
(crosspost from SF, where I wasn't getting much joy)
I have a CentOS 6.2 box up and running and have configured autofs to automount Windows shares under a /mydomain folder, using various howtos on ...
1
vote
1answer
125 views
User gets rejected after system crash on CentOS
The power went out on my PC running CentOS 6.3 while I was logged in as a regular user. Since then, when I try to login from the GUI, my screen flashes to black then returns to the login screen, ...
0
votes
2answers
140 views
Plugin support for gcc in RHEL/CentOS?
Is there anyway to enable or install plugin support for gcc in RHEL/CentOS?
0
votes
0answers
91 views
Need help configuring Fedora client authentication for 389 server with Kerberos
Trying to setup kerberos authentication with 389-ds and having trouble figuring out how the two fit together.
Here is my setup:
A CentOS 6 VM (centos01) where I setup bind, 389 ds, and kdc services
...
0
votes
1answer
76 views
How to know which hard disk is the new one and which one is the old one
I ordered 2 SSDs from my provider.
However, which drive is the main drive?
How do I know which drive is the new SSD drives?
1
vote
1answer
103 views
security concern around adding cron user to web application group
I have a permissions issue on my CentOS 5.6 machine with regards to the cron user.
On my test/staging environment my cron user (picco-cron) is a member of one group - picco-cron, as below:
...
0
votes
2answers
68 views
Problem accessing an Apache-hosted folder
I'm running Centos 6.2, and Apache. I'm running into an error to do with access rights/permissions when trying to navigate to a webpage. I'm trying to go to the URL http://localhost/repos, but I get ...
1
vote
1answer
240 views
CentOS: Avoid that ALT-F4 switches to console
At least every Linux system that I worked with used the convention to switch to the non-graphical consoles by Ctrl-Alt-F1, Ctrl-Alt-F2 and so on.
Recently, I installed CentOS 6.3 on a machine. The ...
0
votes
1answer
65 views
Cent OS 6.3: How to make places show up folders in tabbed versions (or at least not in a new window)
I moved to CentOS 6.3 recently. The places application shows folders but each folder is shown in a new window. So if I go to 2 different folders and go deep in 3 sub folders, I will have six windows ...
0
votes
1answer
384 views
Is the maximinm value of network.http.pipelining.maxrequests still 8?
I've detected some slowness in Firefox 17 under Fedora 18, so I decided to modify some configuration options.
So, the question is: Does someone know if the maximum value of ...
3
votes
1answer
1k views
How do I configure the network interfaces persistently in CentOS so it will survive a reboot?
I configured a network interface with the following commands:
ifconfig eth0 up
ip addr add 192.168.9.1/28 dev eth0
route add default gw 192.168.0.1
This works. However, when I reboot the machine I ...
1
vote
0answers
77 views
Fail2ban showing error Unable to contact server. Is it running?
We start fail2ban in centos using this command service fail2ban start but when we run service fail2ban status we get as below? What could be the mistake ya?
Fail2ban (pid 2810
2813) is running...
...
0
votes
1answer
753 views
How to install emacs using YUM without X11 libraries?
I have installed a minimal installation of CentOS 6.3 inside a VirtualBox VM. Now, I would like to install Emacs for use from the command line only.
When I do a search for emacs using yum search ...
1
vote
4answers
564 views
CPU monitoring tool for Centos
I'm looking for a CPU monitoring tool that could monitor the different processors in my machine, and also has a GUI (similar to the Ubuntu monitoring tool).
Is there anything like that in Centos?
2
votes
0answers
95 views
How to edit rpm's HEADER and NAME-VERSION-RELEASE
Is there's a way or a tool that can modify the HEADER and the NAME-VERSION-RELEASE for an existing rpm without installing/rebuilding it?
1
vote
0answers
121 views
iSCSI on startup
I've configure iSCSI but CentOS 6.3 is unable to recognize if on startup.
Here is fstab config:
/dev/sdb1 /home ext4 _netdev 0 0
Here is iscsi.conf ...
1
vote
0answers
318 views
Running gnome-keyring-daemon in Centos
I successfully installed MySQL Workbench in Centos 6.2. When I run MySQL Workbench and try to store a password by clicking "Store in Keychain", I get the following error
Could not store password: ...
1
vote
2answers
2k views
Error on application install: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
When I executed a command to install an application, the following error occurred
/lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
I was not aware on how to fix this problem. I ...
2
votes
4answers
567 views
CentOS | [root@hostname] does not show anymore?
For some reason I logged into my CentOS6 server and at the beginning of every line it normally shows
[root@hostname]#
Now it shows
-bash-4.1#
What does this mean? And how to I get it back to ...
1
vote
2answers
478 views
fix the virtualbox centos after vdi resizing or expand a LV group
I successfully resized my centos vdi in virtualbox with command VboxManage.exe modifyhd Centos.vdi --resize 12000 But when i started Centos i got error messages that gnome power manager not been ...
0
votes
1answer
122 views
What to do if Cacti monitering server goes down in Centos 6.3?
I have successfully deployed cacti with plugins thold, nectar, realtime. Currently I am monitering my amazon ec2 servers and internal servers in my organization. but I afraid what to do In following ...
0
votes
3answers
147 views
recreate mysqld file centos
I have tried installing mysql several times but keep getting this error:
mysqld: unrecognized service
I've tried:
yum remove mysql-server
yum remove mysql
yum remove MySQL-*
then
yum install ...
0
votes
1answer
198 views
Remove noexec from Home folder
I trying to deploy an rails application into /home/app/myapp, but when application tries to connect to Mysql, I get this error:
** [out :: 192.168.110.50] ...
1
vote
1answer
490 views
How to add a GUI to a minimal install of CentOS?
I did a minimal install of CentOS 6.3 and now want to add a GUI. I tried using yum to install a GUI, but it is unable to resolve the CentOS repository server mirror.centos.org. I tried to install ...
0
votes
1answer
219 views
Get list of top 10 memory consuming processes with graph using Cacti in Centos 6.3
I'm using Cacti in Centos 6.3 and I would like to get the list of the top 10 memory consuming processes, with a memory graph, so that if server fails I can easily find the processes behind that.
It ...
2
votes
2answers
316 views
Huawei E303 internet key with Linux CentOS?
Are there any programmes, downloads, patches, drivers available to use a Huawei E303 Internet Key in CentOS?
1
vote
1answer
123 views
Accounts attacked
I have run two commands below. I find some of the accounts attack as below. I do not have the account test,teste,oracle and admin in my home directory. As there system account. How to know which are ...
2
votes
2answers
101 views
Unable to install rbenv with deployer user in CentOS - Permission denied
I created a new user in CentOS 6.3 using this commands
useradd deployer
passwd deployer
visudo
then I added this line to file:
deployer ALL=(ALL) ALL
Fine!
Now I trying to install rbenv, to ...
1
vote
1answer
169 views
How to compile tmux 1.7 on CentOS 5.8?
I would like to have tmux 1.7 on my machine with CentOS 5.8 (64 bit).
It requires libevent in version at least 1.4.14b or 2.0.20 and the latest version in yum packages for CentOS 5.8 is 1.4.13 .
I ...
0
votes
1answer
517 views
SVN server with remote GUI administration
I have 2 Linux servers. One is Centos 5.5 another is Centos 6.
I want to install SVN server on both server separately.
Can anyone tell me which svn server has a good remote administration GUI.
Also ...
0
votes
1answer
217 views
how to solve postfix errors?
After following several tutorials on setting up postfix at basic level on CentOs for my VPS, continue to get the following:
-bash-4.1# postfix start
/usr/libexec/postfix/postfix-script: line 317: ...
1
vote
2answers
59 views
Where can I find mailfromd RPM's for CentOS 6?
I have been trying to locate an RPM for GNU Mailfromd and it's dependencies and have been quite surprised to find it absolutely nowhere on the 'net. Only place I could find any RPM's were for ...
0
votes
4answers
282 views
umask is not working for directories
I have an odd problem with umask.
My current setting is:
$ umask
0022
$ umask -S
u=rwx,g=rx,o=rx
This only works for files though and not directories:
$ touch abc
$ ll abc
0 -rw-rw-rw- 1 user1 ...
1
vote
1answer
79 views
CentOS: disable a non-reachable repository
How to disable a non-reachable repository?
I have an error when I use yum repolist or yum list:
# yum list | grep 404
http://download.opensuse.org/repositories/home%3A/SannisDev/
CentOS_CentOS- ...
0
votes
1answer
575 views
enable apache mod rewrites to load clean-urls
In CentOS, a2enmod rewrite results in “command not found” but httpd -M lists rewrite module as listed and shared. I'm trying to enable it so can then have these rewrite rule apply so I can switch back ...
0
votes
2answers
290 views
Disable SELinux in apache to stop warning
I keep getting this error when I restart httpd:
DocumentRoot does not exist
What else can I do besides disable editing /etc/sysconfig/selinux to fix it?
0
votes
3answers
623 views
HTTPd shows PHP code instead of executing it
My setup:
# grep php /etc/httpd/conf/httpd.conf
LoadModule php5_module modules/libphp5.so
AddType x-httpd-php .php
AddHandler php5-script .php
# grep PHP /etc/httpd/conf/httpd.conf
PHPIniDir ...
1
vote
1answer
75 views
mouse in midnight commander works only under root
I posted a question a little time ago about mouse that doesn't work with terminal, and then I remarked that mouse works fine, but only under root. Can I change this behavior? It seems i need to ...
0
votes
1answer
605 views
Slow start of Midnight Commander on CentOS
Is there any way to prevent mc from taking 10-30 seconds to open? Never seen this with Debian.
1
vote
1answer
398 views
can't connect to samba drive in centos 6.3
#smbclient //ballzdeep/torrents
Server not using user level security and no password supplied
tree connect failed: NT_STATUS_BAD_NETWORK_NAME
Does this mean i need to require username and password ...
1
vote
2answers
749 views
Centos 6.3 can't resolve hostname of network drive while others can
I have a network drive (external network) being used as media storage for a media server running on my router. I'm trying to switch the media server to my Centos 6.3 machine so I can take advantage of ...
0
votes
1answer
163 views
how come has firebird-superserver stopped and how to prevent from happening again?
On a CentOS 6.2 x86_64 server I have an instance of Firebird 2.5 that suddenly stopped working. The last part of the /var/log/firebird/firebird.log is:
cpc-5556l (Server) Fri Nov 30 10:12:03 ...
0
votes
0answers
173 views
How to stop mail with PHP error messages to root?
Today, my Centos has a problem. When I type df -h in SSH I get:
/dev/vzfs 61G 61G 0.3G 99% /
The disk is full. I found that /var/spool/mail/root is nearly 53GB. tail /var/spool/mail/root -n 50 ...