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
3answers
3k views

How can I reinstall Network Manager after uninstalling it?

I am running a version of RHCE6 on my laptop, and lately I've been trying various stuff about network configuration through command line. Last night, I tried removing the NetworkManager using yum ...
1
vote
1answer
69 views

Can start custom systemd service, can't enable it

I want to create a daemon of Telegram-cli (https://github.com/vysheng/tg). I have created the file /etc/systemd/system/telegram.service with the following contents: [Service] Type=simple ...
0
votes
1answer
69 views

yum Error:rpmdb open failed

I'm trying to run yum update and I'm running this error: rpmdb: PANIC: fatal region error detected; run recovery error: db3 error(-30974) from dbenv->open: DB_RUNRECOVERY: Fatal error, run ...
3
votes
4answers
21k views

Yum update problems on CentOS 6.5 minimal as VMware guest

INFO: I am using Windows 7 Pro (64bit) with VMware Workstation version 10.0.1 . I am using CentOS(64bit) 6.5 minimal, for the first time. I am running this from my workplace network, which may use a ...
2
votes
8answers
1k views

Linux server monitoring software

The dedicated server I'm looking after started to crash occasionally, I suspect because of overload, so I need some performance/resource based monitoring software, preferably with web interface, ...
1
vote
0answers
168 views

Add files to Centos Live CD

I'm trying to 'inject' 2 files into a Centos 6 live CD ISO. Process to date: extracted the files from the iso to ./files/ extracted the files from the squashfs.img to ./squashfs/ mounted the ...
0
votes
0answers
20 views

“iptables -L” isn't showing a rule I just added

I have issue with iptables it's not listing any newly added IPs. I tried both: iptables -A INPUT -s 188.143.232.15 -j DROP and iptables -I INPUT -s 188.143.232.15 -j DROP and service iptables ...
1
vote
1answer
88 views

Enable Promiscous mode in CentOS 7

How to enable promiscuous mode on network adapter. I have tried by adding PROMISC=yes in /etc/sysconfig/network-scripts/ifcfg-ensxxx but no effect even after network restart or rebooting the system.
3
votes
2answers
948 views

No 32 development library error after install glibc-devel.i686

I am trying to install gcc 4.9.0 on centOS 6. During ./configure there is an error coming up: /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/4.4.7/libgcc_s.so when searching for ...
1
vote
1answer
39 views

Use the -i option on ssh/scp

I would like to setup the ability to log into my redhat server by specifying the -i option on ssh or scp command line. I have followed the steps according to google but it doesn't appear to work. ...
1
vote
2answers
3k views

Unable to login as normal user on CentOS

My normal user account isn't working correctly in CentOS, but logging in as root works fine. What should I do to debug/fix the problem?
2
votes
1answer
61 views

How to prevent tzdata updates on CentOS resetting /etc/localtime

I am using a local timezone (non-UTC) on my server. Whenever I update the tzdata via yum, the system resets /etc/localtime to the default file and I am back on UTC. While #date still shows the ...
1
vote
1answer
39 views

configure: error: LDFLAGS

I am trying to install LTTng. I was installing lttng-tools-2.6.0 and got the following error: configure: error: Cannot find libuuid uuid_generate nor libc uuid_create. Use LDFLAGS=-Ldir to specify ...
2
votes
1answer
31 views

How to set up robust RAID 6?

Perhaps I'm going about this all the wrong way, but I am having chronic trouble managing a RAID6 software array in CENTOS7. The system has an internal pair of drives (2x500GB) in RAID1 which has been ...
0
votes
2answers
51 views

SSL by IP or domain

The server that this is for will operate in a intranet environment... I have Apache working with SSL. I am using a self-signed SSL Certificate created using the steps outlined here: ...
0
votes
1answer
33 views

umask getting sets to 022 even though all necessary files are modified

umask is creating lots of problem to me . I tried following . I have commented umask set entry in /etc/profile and /etc/bashrc . There is not even single file in my home direcotry where i set umask ...
0
votes
1answer
1k views

MySQL service doesn't start

I have a CentOS 6.6, on the system there was a working Mysql and a mysql server already installed and a running mysqld service, but i needed a fresh install, so i did the whole removal through yum, ...
2
votes
2answers
5k views

Problem Starting MySQL on new Centos 6 build

I have a VPS with ChicagoVPS that's running Centos 6. Official version of the build is: Linux RedHat 6.5(Final 2.6.32-042stab078.26 x86_64) I followed this guide to add the repository and ...
1
vote
1answer
47 views

Can't push git updates & run Unix commands when connecting via SSH

I have installed java 8 on my bluehost VPS. I have followed http://tecadmin.net/install-java-8-on-centos-rhel-and-fedora/ instructions . In order to add directories to PATH variable I have added ...
2
votes
0answers
81 views

MySQL read only error but permissions set and SELinux AFAICT correct

I am new to MySQL and Linux and because I had issues with an old MySQL version (5.1) I used mysqldump and installed MySQL 5.6. I changed the datadir location by copying everything to the new folder ...
1
vote
1answer
40 views

ssh 3des private key encrypt and decrypt

i have converted my ssh private key with 3des encryption openssl pkcs8 -topk8 -v2 des3 -in ~/.ssh/id_rsa.old -out ~/.ssh/id_rsa how do I remove encryption and get the old key?
0
votes
1answer
2k views

mcrypt, EPEL and CentOS 6.4

I am having issues installing php-mcrypt. I am not an administrator of any level. I have performed the following. Installed EPEL Installed REMI Configured EPEL Updated YUM Cleaned YUM Installed ...
2
votes
1answer
42 views

CentOS 6.6 memory size and lack of GUI installer?

I just installed CentOS 6.6 on my computer using VirtualBox. My question is why when I create a virtual machine with 1024MB have a GUI but if I create a virtual machine with 512MB I do not as in the ...
0
votes
1answer
29 views

Centos missing ext3.ko

Earlier I encountered this error. lv_root: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY Which may be caused by the constant power failure here in our office. I fixed it by inserting a centos 6.4 disc ...
0
votes
0answers
12 views

Configure a VSFTP User to have Access to /var/www Directory Centos 7 [duplicate]

How do I go about configuring VSFTP to have access to the web root folder in my LAMP Centos 7 server? I cannot seem to have anything displayed in the var directory. Thank you!!
1
vote
2answers
68 views

CentOS 7 shell script interpretor

I am starting to write a shell script to be run in CentOS 7. Which interpreter should it call, and what should the shebang line look like? I tried this: #!/bin/sh But when I type cd /bin ...
1
vote
3answers
2k views

Virtual Interface Not Showing up in ifconfig?

I am trying to create a virtual interface for the purpose of NameBased Virtual Hosting on my CentOS linux box; please find below is the devices' information:- DEVICE=eth0 BOOTPROTO=dhcp ...
0
votes
1answer
139 views

bash cannot find mvn command after install

I tried to install Maven on CentOS 7, but afterwards typing mvn -version in the terminal results in bash: mvn: command not found.... How can I fix this so that I can call maven from the CentOS 7 ...
0
votes
2answers
78 views

/usr/java/jre1.8.0_31/bin/java.exe: No such file or directory

I've been trying to run a plugin inside a I have hired, and I've constantly been getting this error: [04:13:41] /bin/sh: /usr/java/jre1.8.0_31/bin/java.exe: No such file or directory Not too sure ...
1
vote
1answer
216 views

Thruk installation “failed to open socket”

I am extremely confused, and Google isn't really helping. Also, I'm kind of a Linux novice. I've taken a couple of classes, but that was all about how to configure things in a basic Linux setup. I'm ...
1
vote
1answer
57 views

Postfix Mail Relay Server with TLS

I currently have Postfix set up on a Centos 6 server, as a simple forwarding service. Currently in /etc/postfix/main.cf I have set the following: smtpd_client_restrictions = ...
0
votes
0answers
24 views

centos 7 installation with customized bridge module

I have installed latest Centos 7 x64 edition in my server. I need to modify the linux-bridge module with some customized changes and use it as a default bridge module. Currently I am building centos ...
7
votes
3answers
26k views

CentOS on HyperV - eth0 not in ifconfig?

I've launched a CentOS install in HyperV and assigned a NIC the same way I've done on an Ubuntu VM, however, the device simply isn't picked up. Only my loopback is found by ifconfig. How should I go ...
0
votes
0answers
102 views

Centos 6.6 unrecognized services during boot rsyslogd / iscsid / iscsi / mcstrans / syslog / yum-updatesd / rhnsd

Could anyone explain what is going on here, the server used to boot fine without errors and now all of a sudden services cannot be found anymore? When researching any of these errors I get no ...
4
votes
2answers
71 views

mdadm - Can't Remove Components In RADI1

I have my /boot partition in a RAID 1 array using mdadm. This array has degraded a few times in the past, and every time I remove the physical drive, add a new one, bring the array being to normal, ...
0
votes
2answers
865 views

php-fpm error unable to bind listening socket for address '127.0.0.1:9003': Permission denied (13)

I've added a config file to /etc/php-fpm.d ; Start a new pool named 'joeri'. ; the variable $pool can we used in any directive and will be replaced by the ; pool name ('joeri' here) [joeri] ; Per ...
0
votes
0answers
40 views

Fail2Ban: Sending Mails with CentOS 7 using postfix

I am seeking advise on how to get Fail2Ban installed and configured on CentOS7 using firewalld and postfix for sending reports. I am not in need and even don't want having a fully featured mail server ...
6
votes
4answers
7k views

How do I combine two logical volumes that reside on a single physical volume in LVM?

I have two logical volumes, one is mounted as /, the other is mounted as /home. I want to combine them, because the / volume is constantly running out of space. (Yes, I know what's using all that ...
0
votes
0answers
39 views

CentOS 7: write failed: broken pipe when trying to reboot

Commands I've tried: sudo reboot sudo systemctl reboot Both commands just ask for my password for sudo then write: Write failed: Broken pipe Then they close the SSH connection and I can ...
1
vote
1answer
831 views

Any better alternative to chroot on an OpenVZ VPS?

Are there any better alternative to chroot environment? I'm thinking about running nginx on a jailed environment. BTW, I'm on OpenVZ VPS, so modifying the Kernel is a no-no. (I think that prevents ...
1
vote
1answer
107 views

Installing new NVIDIA driver fails

I hope this is as easy as an already answered question I didn't find on SE. So, I have an LTSP server running CentOS 6. Linux kernel version of both LTSP image and server are the same: is ...
1
vote
1answer
248 views

LFTP mirror includes - including other directories other than what I've included

My question: How can I make sure LFTP only includes files AND directories using --include or --include-glob, and not download a bunch of extra directories from the root of the remote that aren't in ...
0
votes
0answers
105 views

How to use binaries in jailshell?

I'm offering jailshell (on CentOS- whm) access to someone in order to use the folder sync tool called Unison (Some sort of bidirectional rsync) That's for the background. Unison is installed, as ...
2
votes
1answer
49 views

Clustered NFS server reply ERR 24: Auth Bogus Credentials (seal broken)

I have 4 servers on the VirtualBox. Two of the servers are a CentOS 7 cluster with Pacemaker(corosync), and they have an NFSv4 server in Active/Passive mode. There are also 2 clients with CentOS 6, ...
5
votes
2answers
111 views

What is brandbot?

What is the "brandbot" service running in Centos 7? What does it do? All I can find (it has no manpage) is "Flexible Branding Service" and that it's part of the "base" repo.
3
votes
1answer
48 views

`find` multiple -o -name condition AND ! -name

I'd been playing with this snippet and seems like I can't make my desired find work. I tried google but all tutorials does not seem to tackle this scenario suppose i have the following files ...
2
votes
2answers
115 views

replace `while` with more suitable function so looping would wait for each process to end

I have a bash script that look out for files recursively under multi-sub folders, then use ffmpeg to each file. at debug, it works great if i use echo ffmpeg but the thing is, at real work where it ...
1
vote
1answer
125 views

Bash script problem in RPM postinstall

I created an rpm package that extract a Node.js project into a specific folder and then I created a postinstall script that cd into that folder and perform an "npm install --production" #!/bin/bash ...
1
vote
1answer
3k views

How can I copy a file from a usb drive to a directory on the hard drive in Centos 6?

I would like to copy some files from a usb to a ssd hard drive running CentOS 6.5 How do I do this?
1
vote
1answer
3k views

Unknown DAV provider: svn

I did something wrong On my CentOS 5.9, I did the following: cd /usr/local/directadmin/custombuild ./build rewrite_confs But now I get an error restarting httpd: [root@1332 conf]# service httpd ...