CentOS is a free (as in beer and speech) GNU/Linux distribution that is community driven and based on source code released from RedHat.

learn more… | top users | synonyms

3
votes
1answer
56 views

difference between ifdown, ifconfig stop and ONBOOT=no

my ifcfg-eth1 config as below DEVICE=eth1 TYPE=Ethernet UUID=5e4f36f8-14eb-4f0c-8fa9-3af9be3899a7 ONBOOT=no NM_CONTROLLED=yes BOOTPROTO=dhcp DEFROUTE=yes IPV4_FAILURE_FATAL=yes IPV6INIT=no ...
0
votes
2answers
57 views

Larger than 4GB file corrupted on Centos. How to extract?

I zipped a folder on centOS 5. It zipped up to around 4.1GB. Now i am trying to unzip it but it gives error. I have tried a number of options. First with using the unzip command it says then i ...
3
votes
1answer
30k views

Create new vsftpd user and lock to (specify) home / login directory

I need to periodically give temporary and limited access to various directories on a CentOS linux server that has vsftp installed. I've created a user using useradd [user_name] and given them a ...
4
votes
1answer
1k views

cloud-init does not grow the partition nor the filesystem

I am currenty preparing OpenStack-ready images of CentOS 7 and Ubuntu 14.04. For the "automation" I use Packer, which is provided by you with a JSON-template. Packer then starts the installation ...
7
votes
4answers
1k views

Does SELinux make Redhat more secure?

Does SELinux make Redhat more secure? I can't remember the number of times when I have disabled SELinux because it kept frustrating my ability to get stuff running. Lots of times to there was no ...
0
votes
1answer
26 views

Server is blacklisted on Cloudmark but EXIM logs showing no evidence of outgoing spam

My server is getting the following warning when sending email SMTP error from remote mail server after initial connection: 554 p3plibsmtp01-04.prod.phx3.secureserver.net bizsmtp IB103. Connection ...
0
votes
1answer
11 views

Rsyslog logging to rolled log instead of unrolled log

Forgive me if I am vague, but I am trying to keep this as secure as possible. I have a CentOS server setup as a central remote logging server. Servers have been sending their logs to this server for ...
-2
votes
1answer
32 views

CentOS root+nologin

Can I somehow get access to root account after changing /etc/passwd file? Similar problems: Lost root access possibility /sbin/nologin How do I regain access to root after accidental chsh ...
0
votes
2answers
2k views

LDAP user authentication on CentOS 7: Permission denied

I configured LDAP on CentOs 7 and now I'm trying to configure external user authentication. Browsing I found this: https://www.centos.org/docs/5/html/Deployment_Guide-en-US/s1-ldap-pam.html that is ...
-1
votes
2answers
22 views

Access Centos7 server through windows network for Nagios

We have a windows network setup at work. A new server was spun up that has Centos 7 on it for us to install Nagios to monitor some services. I need to be able to access the Centos server from a ...
0
votes
0answers
26 views

No volume groups found - CentOS

I have migrated a CentOS 5.11 server from VmWare to Hyper-V and when trying to boot the server. I'm getting the following error messages: "No volume groups found" ""VolumeGroup00" not found" and ...
0
votes
0answers
87 views

Cannot get current device settings: Operation not supported ethtool CentOS 7

Received an error "Cannot get current device settings: Operation not supported ethtool" while changing network speed using ethtool command on centos, # ethtool -s eth0 autoneg off speed 100 duplex ...
0
votes
1answer
34 views

CentOS 7 on XenServer 6.5

I am having problem trying to get CentOS 7 Graphical installer to work on XenServer 6.5 (Service pack 1). I have used CentOS 7 template. Graphical installer does not work, getting blank screen with ...
0
votes
2answers
113 views
+50

iptables with transparent proxy, how to pass the user IP

I have a local transparent proxy, but my problem is that packets, when re-routed, have the router IP and not the user. These are the rules that I currently have in place: iptables -t nat -A ...
0
votes
1answer
10 views

Is it possible to specify multiple upstream ssh proxys for openssh in linux

Is it possible to configure openssh to use a specific upstream ssh server when connecting to a specific IP range in order to have a single ssh server that client connect through to get to multiple IP ...
0
votes
3answers
38 views

Centos server provides javascript for localhost but not local lan

I have a centos 6 server running an asterisk, freepbx, and apache 2.2.25. On this server, the apache server serves up a webpage called fop2. I've talked to the developer, and he says the files are all ...
0
votes
0answers
167 views

OpenQRM installation on Centos - database initialisation runs into timeout

I installed OpenQRM on a fresh CentOS 6.5 from the latest source code as described here: ...
1
vote
3answers
937 views

How to find biggest folder in CentOS using a command

Our disk on our VPS is somehow magically full, I was manually looking for any big files, even used a command to print all files bigger then 500MB, I got no results. Is there a command which would ...
4
votes
3answers
2k views

Can disk space be the reason for a server crash?

After looking into the MySQL error file, I found an error regarding disk space. Now I think its the reason for MySQL crashing: [root@xxxx ~]# cat /var/lib/mysql/xxxx.com.err 120528 17:45:05 [Note] ...
0
votes
1answer
2k views

CentOS 7 installer: blank screen

I am trying to figure out CentOS 7 unattended network (PXE) installations in my setup, but the installer always ends up running into a black screen without interaction options. This is being tried in ...
0
votes
1answer
18 views

fstab entry causes emergency mode on reboot

I am using a loop file system because I do not have another partition to mount and I am only practicing as I study for my sysadmin exam. I added the following line to my stab /tmp/imagefile ...
2
votes
1answer
139 views

Upgrading CentOS from 6 to 7 has broken my boot sequence

I ran the upgrade assistant provided by CentOS for upgrading from CentOS 6 to 7. The upgrade appeared to have been a success, however my system now hangs when trying to boot up. (Keep in mind I have ...
1
vote
1answer
3k views

Tomcat fails to start, no logs or error provided

I have a Centos5 box running tomcat5 (a version before 5.5, there's no bin/version.sh script). When attempting to start tomcat, whether through init.d or service, I get the FAILED message with no ...
-2
votes
1answer
22 views

Rsyslog not working properly on Centos6.6

The TCPDUMP output from the source server is given below: 04:48:03.074010 IP RCVSPRLN002.37915 > 10.61.0.12.syslog: SYSLOG authpriv.info, length: 103 This shows that the server RCVSPRLN002 is ...
107
votes
16answers
94k views

How do you install Node.JS on CentOS?

I've found numerous installation instructions for Node.js but they all seem so complicated -- I'm not a super sys admin but I can get around. I have yum on the system, but I didn't find any node.js ...
-3
votes
0answers
32 views

Replacing Rsyslog with Syslog in Centos 6.6

Centos 5.x comes with syslog, however Centos 6.x comes with Rsyslog. I want to switch to Syslog only because of some specific requirements. Please note that I do not want to install syslog-ng, I want ...
6
votes
2answers
122 views

Preventing specific folder deletion in CentOS

I have a CentOS server running PureFTPd with multiple virtual users mapping to a single system user. Each of these virtual users gets chrooted to a directory corresponding to their username. The ...
0
votes
1answer
31 views

httpd error log “Error: Document has not the mandatory ending %EOF”

The company I work for recently outsourced a website rebuild, and along with it came a CMS. Despite my lack of expertise, I am the nominated server expert. Go Figure. Anyway, when trying to ...
3
votes
5answers
14k views

certutil: function failed: security library: bad database.

when I'm using certutil it returns this error: certutil: function failed: security library: bad database. e.g. I can't list certs or keys How Can I fix this? Thanks
4
votes
2answers
72 views

yum updates - are .rpmnew files ever critical / important to act upon?

When yum installs updates sometimes, it will give some message like: warning: /etc/ssh/sshd_config created as /etc/ssh/sshd_config.rpmnew My thought is that it would be wise to act upon these ...
1
vote
0answers
19 views

CentOS appliance becomes unresponsive with lot of outgoing http connections [on hold]

I have an ESXi VM running CentOS-7. My application is deployed inside a tomcat instance running on this server. The application periodically makes 1200 "outgoing" http connections every 15secs. I am ...
-1
votes
0answers
34 views

error trying to install CentOS 7 and remove windows 8.1 [on hold]

I have a USB boot stick that I am trying to use to install CentOS 7 and also completely remove windows 8.1 from a computer. I pressed del to enter setup and then navigated to the boot options, and ...
1
vote
0answers
18 views

Nginx can't speak with uwsgi (prematurely closed connection)

What I'm missing in my nginx/uwsgi/php-embed configuration? rpm -qa|grep php php-cli-5.4.16-36.el7_1.x86_64 php-xml-5.4.16-36.el7_1.x86_64 php-devel-5.4.16-36.el7_1.x86_64 ...
0
votes
0answers
10 views

autofs runs under root user and not as the local logged in user

I had described in this answer a solution how to use automount / autofs for mounting net drives with different credentials depending on the logged in user. To do that I can use ${HOME} like this: ABC ...
-3
votes
2answers
45 views

How do I block SSH connections except those originating from within a /29 block of IP's or LAN? (CentOS 7 and Ubuntu 12) [closed]

I see thousands of failed login attempts on our servers and want to do what I can to prevent a successful one from the bad guys. I want to block anyone not originating from a /29 block we own from ...
1
vote
1answer
3k views

Error while bringing up eth1

I'm getting this error while bringing up my network card: (process:2550): WARNING **: _nm_object_get_property: Error getting 'State' for /org/freedesktop/NetworkManager/ActiveConnection/3: (19) ...
-1
votes
1answer
36 views

How to I configure CentOS command sudo su with a password [on hold]

I have disable accessibility on my CentOS server by using given username and password, I allow them to access server by using Public Key instead, but I noticed that every account can change to root ...
5
votes
4answers
8k views

How do I configure RAID 5, especially stripe size, with 24 x 1.2 TB drives for CentOS 6?

For a Dell R920 with 24 x 1.2TB disks (and 1TB RAM), I'm looking to set up a RAID 5 configuration for fast IO. The server will be used to host KVM VMs that will be reading/writing files of all sizes, ...
0
votes
0answers
25 views

add user for ssh and accept uplaod file , nginx + centos

I just install nginx on CentOS 6.5 try to move all old project write in php and NodeJS, from Apache to this. goal: website admin upload folder and file through ssh accept user upload file in ...
-1
votes
2answers
41 views

CentOS cant grow partition

I have the following problem: I have a CentOS 7 VM virtualized by Hyper-V. Initially the Disk was about 200GB since it was only used as a MailServer. Now I'm running low on available diskspace and I ...
-1
votes
1answer
24 views

LDAP down - exim down

I need some ideas here: Centos 5 with ldap authentication loses exim functionality once the ldap server becomes unavailable (in the logfile I can see it just hangs once receives "rcpt to:") , any ...
-4
votes
0answers
16 views

LEMP Setup on CentOS at DigitalOcean [on hold]

I'm following this tutorial. I got some issues start from step four: Configure Nginx to Process PHP Pages. After I typed this $ sudo vi /etc/nginx/conf.d/default.conf. I can't find server { listen ...
0
votes
1answer
1k views

Installing mysql-devel to match MySQL version

I'm running MySQL 5.1.52 on CentOS 4.6 and I'm trying to install mysql-devel to match my MySQL version. If I do yum install mysql-devel it wants to upgrade MySQL to 5.1.58, yet if I do yum search ...
-2
votes
0answers
66 views

I can not update centos 6.6. Error: Package: and duplicated packages [on hold]

I'm no expert in vps server support, I'm learning. I am getting the following error when trying to 'yum update'. [root@localhost ~]# yum update . . . Error: Package: ...
-1
votes
0answers
14 views

myisamchk results in segmentation fault

My database table is marked as "in use" in phpMyAdmin. I tried to run repair on it. I get this issue and followed the instructions here: ...
0
votes
1answer
14 views

mdadm set the mode before a second device raid1?

i have a problem. server use two disk softraid1. disk sda is die, and replaced disk. and reboot now, copy partition table sdb to sda ok. next step copy boot record sdb to sda ok. finaliy add sda in ...
0
votes
1answer
41 views

tshark packet capture performance CentOS 6 v CentOS 7

I am attempting to capture approx 20mbit/sec worth of traffic continuously with tshark. If I capture packets with tshark on CentOS 6.5 I get around 4% to 66% packets dropped. If I do the same thing on ...
0
votes
1answer
30 views

How can I strip or rewrite the sender's name of a from address when using postfix?

Objective I'm trying to configure a CentOS 7 system so all mail sent to local system accounts gets redirected to an alternate email address. For example, if mail is sent to root I want it to be ...
72
votes
11answers
13k views

How bad is it really to install Linux on one big partition?

We will be running CentOS 7 on our new server. We have 6 x 300GB drives in raid6 internal to the server. (Storage is largely external in the form of a 40TB raid box.) The internal volume comes to ...
0
votes
5answers
3k views

nginx: php-fastcgi running but php files not executing

I have recently set up a nginx server with PHP running as FastCGI process. The server is running with HTML files however PHP files are downloading instead of displaying and PHP code is not processed. ...