Questions tagged [centos6.4]
96 questions
18
votes
2 answers
Creating SFTP users and jailing to chroot on CentOS - user authentication error
I've got a CentOs release 6.4 with Digital Ocean and would like to successfully create SFTP users and jail them to the user's own chroot home directory but I fear I'm making a mess of this.
I've tried a lot of things, far too many to list here…

zigojacko
- 1,453
- 2
- 12
- 25
11
votes
6 answers
HAproxy 503 Service Unavailable No server is available to handle this request
I'm new to this load balancing scenario and I'm being tasked to figure out how to make this load balancing works.
My environment:
Centos 6.4 64 Bit
Webserver: Lighttpd
All running in ESXI
virtual IP: 192.168.1.6
LB1: 192.168.1.4
LB2:…

Le Dude
- 381
- 2
- 6
- 14
6
votes
1 answer
CentOS won't boot on Virtual Box
I installed CentOS 6 on Virtual Box. After the install it starts up and I select boot from local disk. When I do this, it goes to a black screen that says
Booting from local disk...
FATAL: INT18: BOOT FAILURE
The CentOS version is…

quickshiftin
- 2,125
- 5
- 27
- 41
5
votes
3 answers
How to allow SSH logins even when filesystem forced check fails
Intro
I'm having a problem with a few servers (CentOS 6.4) in a production environment, the problem is making the servers crash from time to time and we need to actually reboot those server in order to be able to use them again.
The problem
The…

Sergio Ayestarán
- 195
- 1
- 10
5
votes
1 answer
Linux 2.6.32 Centos 6.4 setuid() fail / security changes?
After recently updating to CentOS 6.4, two machines have setuid() restrictions which act like either capabilities or selinux, however both are disabled. E.g. the following fails:
[root@host statd]# perl -e 'use POSIX;…

Patrick
- 61
- 6
5
votes
3 answers
Trouble compiling modern GCC with antique glibc
I am trying to get a modern GCC to compile on Centos 6.4. The problem is that Centos does not have a modern glibc and GCC 4.8.x and 4.7.x keep giving me the following compile error:
... -DL_gcov -c ../../.././libgcc/libgcov.c
In file included from…

vy32
- 2,088
- 2
- 17
- 21
4
votes
1 answer
mkdir -p ignores facl?
I am trying to enforce file perms of 777 across a specific set of dirs. I used "setfacl -m d:o::rwx" and got what appears to be the right permissions
$ getfacl .
# file: .
# owner: blah
# group: blah
# flags:…

Kevin
- 41
- 1
4
votes
0 answers
Failed to access samba shared directory, Log port error, protocol not found
I tried to configure samba server for internal sharing purpose. I can access the global environment but when I tried to access directory environment, it is failed.
I checked to log file of samba and I found below error, I tried to googling it but,…

Haniel
- 41
- 1
- 3
4
votes
2 answers
How to detect if mount point exists from init.d script?
After a reboot, I'm executing an application from a mounted network share (autofs) using an init.d script. The script starts by waiting 30 seconds before attempting to execute the command, in order to wait for the network/mount point to be up.
I…

fredrik
- 731
- 15
- 20
4
votes
3 answers
iptables redirect ports 80/443 to 8080/8181
On Centos 6.4, I want to block all incoming ports except 22, 80 and 443. 80 (external) should be redirected 8080 (internal). 443 (external) should be redirected to 8181 (internal). I used the following commands:
service iptables stop
iptables -A…

Steve
- 200
- 2
- 4
- 13
3
votes
1 answer
.htaccess not working on Cent Os 6.4
I have installed Cent Os 6.4 -Final Version and set the environment for PHP web development.
My application uses the .htaccess for url rewrite & denying direct access of files.
my configuration file of httpd - /etc/httpd/conf/httpd.conf as…

Gaurish
- 31
- 1
- 4
3
votes
0 answers
How can I determine if nohz=off (CentOS 6.4 64bit - Hyper-V)
I've edited /boot/grub/grub.conf and added nohz=off to the command line of the default kernel.
I do not see any difference, kernel is compiled with 1000Hz, but when I test with the following…

Vincent De Smet
- 133
- 1
- 6
3
votes
3 answers
Make Solr server accessible on network
So I've installed Solr on a linux server and I want to access it from another web server and/or my computer.
From the Solar Server, I can see that it's running
[root@solr ~]# wget -qO- http://localhost:8983/solr

Steve Robbins
- 1,932
- 5
- 23
- 26
3
votes
2 answers
Find out limits of other user
On CentOS 6.4 / 64 bit - how to find the limits of the user "nobody"?
Because I can not just su - nobody and call ulimit -a:
# id nobody
uid=99(nobody) gid=99(nobody) groups=99(nobody)
# su - nobody
This account is currently not…

Alexander Farber
- 714
- 4
- 17
- 38
2
votes
2 answers
Incredibly high load average on a Centos server
I have a Centos 6.4 server that's being used as a Cassandra node in a production environment, it is still working and responding to queries etc, but the load average is rather "high" a.k.a. buggy? In any case, you have to see it for yourself:
Has…

Sergio Ayestarán
- 195
- 1
- 10