CentOS is an Enterprise-class Linux Distribution derived from Redhat Enterprise Linux sources freely provided to the public.

learn more… | top users | synonyms (2)

7
votes
7answers
31k views

How to extend CentOS 5 partition on VMware?

I have a CentOS 5 virtual machine and I added 20GB more to disk size. How do I initialize and extend the available space? I'm new to Linux, so what should I do? I tried loading GParted as well, ...
1
vote
1answer
28 views

SELinux ignoring configuration?

I'm using Vagrant and VirtualBox to run a CentOS 6.5 VM. In /etc/sysconfig/selinux I have set SELINUX=permissive. However, everytime I restart the VM, sudo getenforce shows SELinux as Enforcing. ...
1
vote
0answers
18 views

Extract configuration from linux and emulate in fresh copy of same linux

I have a short project on emulating linux distros. The project involves extracting system-wide configuration i.e packages, services, configuration files of services, users informations from a linux ...
2
votes
2answers
675 views

installing eric5 in CentOS 6.4

I am trying to install Eric Python IDE 5 in my CentOS 6.4. The problem here is even I have installed PyQT4 its again saying that module is missing. what I am supposed to do ? here is the terminal log ...
1
vote
1answer
35 views

How to remove a service that keeps the system from booting?

I created a service that starts a script using exec, because it works on upstart. On systemd it keeps the system from booting, because it waits for my script to end, but since it is a webserver, it ...
0
votes
1answer
1k views

Apache fails to start after changing cert and key

The problem appeared after I changed https certificate and key. sudo /etc/init.d/httpd restart shows this: Stopping httpd: [FAILED] Starting httpd: [FAILED] Apache's error_log: [Tue Dec 03 ...
1
vote
2answers
1k views

How do I install Exim and Horde on Centos 7 with MariaDB 10?

I can't find a guide for this (they are old and don't work) and I can't seem to manage to install it. I can't install Postfix because of its dependencies, so I'm going with Exim, which I installed ...
0
votes
1answer
83 views

Where to find the Crontab logs in CentOS

First of all I'm using CentOS [root@a etc]# cat system-release CentOS release 6.5 (Final) [root@a cron.daily]# ps -ef | grep cron root 982 1 0 Jun14 ? 00:01:15 crond root ...
4
votes
1answer
1k 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
0answers
9 views

linux centos graph and data usage problem in client management

I have change my linux centos few days back and I am running small ISP in my area, after I changed the os, in my AAA software every thing working properly but client side when I download file from ftp ...
2
votes
1answer
170 views

nameservers erased after systemctl restart network.service

I'm working on centos 7, and having problematic behaviour when setting network interface from dhcp to static ip configuration. I edit /etc/resolv.conf, and run systemctl restart network.service The ...
2
votes
1answer
30 views

httpd doesn't serve relative url from tomcat, why not?

In a CentOS 7 server, I am trying to set up httpd to act as a reverse proxy for tomcat. I have httpd running perfectly in the sense that I type in http/mydomain.com and it serves up static content ...
3
votes
2answers
261 views

apache won't restart after adding VirtualHost conf file, why not?

In a CentOS 7 server, I get the following error when I type sudo apachectl restart after I add an include file at the bottom of httpd.conf: Job for httpd.service failed. See 'systemctl status ...
4
votes
1answer
9k views

How can I install latest VLC player in cent os 6.4?

I have installed cent os 6.4 in my laptop, I want to know the method of installing VLC in cent os 6.4, Is it necessary to download the vlc package and compile or can I use ''yum install vlc'' to ...
0
votes
1answer
25 views

Panic fault when mounting LVM2 volume

I have a CentOS 7 system that I can boot using a live cd. The system HDD's have an lvm2 partition with 2 volumes /root and /home. I can mount /root volume without any problems in the live ...
2
votes
1answer
63 views

Why string comparision results always false

I am trying to do a one time check about apache's mod-status page for updates like this(this is just a test script): firstcontent=$(lynx -dump http://some-server/server-status-page) echo ...
0
votes
2answers
767 views

Why can't I access to my ftp server with my local user account?

First of all I'm using Centos 6 server, putty and wordpress.org I followed the instructions from this link to set up vsftpd and ftp in centos server. For the vsftpd.conf file, these were the changes ...
1
vote
1answer
100 views

CentOS 7 Crash on boot

Getting this message attempting to boot CentOS 7 BUG: unable to handle kernel NULL pointer dereference at 000000000000009B And then a kernel panic Happens when trying to boot from the OS HDD or ...
1
vote
0answers
23 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
1answer
517 views

Can't yum WINE from repo - No package wine available

I'm trying to install WINE on Centos 5.10 as per some instructions I wrote last year using this instruction: # yum install wine However when run, it can't find any package under that name: # yum ...
0
votes
0answers
37 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 ...
0
votes
0answers
40 views

text colors in CentOS 6.5

I've got an inventory/ordering program that runs on cobol on CentOS. The program is pretty much all text-based and looks like an old DOS program. I did a reinstall of the server, updating from ...
1
vote
1answer
454 views

centos dropbox newest version not starting

I have some issues getting dropbox to run on Centos 6.3. These issues started after I recently got a security warning to upgrade Dropbox. Before this, the older version (not sure which one exactly) ...
2
votes
0answers
63 views

How can I reset an unknown root password if a file system check interrupts the startup sequence?

This morning I was helping a fellow admin with a crash that occurred on a CentOS 5.8 VM. Earlier in the day, the underlying SAN hosting various VMs experienced an issue and ultimately caused some ...
1
vote
1answer
101 views

How to block the social websites in centos through proxy?

I am installed squid in centos system. Blocked the social websites to all ip address through squid in my server systems. But someone access social websites through proxy websites, because lot of proxy ...
0
votes
1answer
135 views

unable to start nginx on centos 7

service nginx start Redirecting to /bin/systemctl start nginx.service Job for nginx.service failed. See 'systemctl status nginx.service' and 'journalctl -xn' for details. [root@myvps ~]# systemctl ...
1
vote
1answer
43 views

Stopping postfix - are messages queued when postfix is idle?

I am running some scans on my server tonight and would like to disable email notifications since there is a chance for a LOT of them to be sent out. I am planning to issue service postfix stop ...
0
votes
0answers
19 views

Use HUAWEI Gsm Modem in centos 5.01

I'm trying to develop an application that sends sms from my centos pc. And in order to accomplish this I am using HUAWEI Gsm modem. But I can't get to connect the modem to my virtual centos 5.01 ...
0
votes
0answers
34 views

Unable to trap “CTRL+C” within kickstart “%pre” bash script

I'm using an interactive pre-installation bash script in a CentOS-7 kickstart image. I was trying to use "trap" to catch user Ctrl+C (SIGINT) and run some code as follows: trap_ctrl_c() { #Some ...
1
vote
2answers
99 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
0answers
16 views

Every time I try to resize the partition I get 2 MB instead of what I wanted?

I'm trying to partition my hard drive when installing CentOS 7. I chose manual partitioning, set the partitioning scheme on Standard Partitioning, then clicked on "Create them automatically". The ...
1
vote
2answers
2k views

Where / How to install CentOS 7 for 32 bit system?

I have windows 7 with 32 bit system, and previously I used CentOS-6.5-i386-minimal to run centos on my virtual box, but now I would like to run CentOS 7 and it seems (if I am not mistaken) that there ...
5
votes
1answer
3k views

When exactly does tmpwatch clear out files I place in /tmp?

CentOS 6.x I'm confused on when exactly files I place in /tmp/ are deleted. /etc/cron.daily/tmpwatch has the following: #! /bin/sh flags=-umc /usr/sbin/tmpwatch "$flags" -x /tmp/.X11-unix -x ...
0
votes
0answers
54 views

DNS/BIND configuration to resolve *.mail.*.outlook.com subdomains

I'm running BIND 9.3.3rc2 on a CentOS 5 system acting as an SMTP server. Until last week, I haven't had any problems with DNS or name resolution. The only problems I have resolving are with subdomains ...
0
votes
0answers
37 views

how to make firewall changes permanent via firewall-cmd?

I am trying to open some ports in CentOS 7. I am able to open a port with the following command: firewall-cmd --direct --add-rule ipv4 filter IN_public_allow 0 -m tcp -p tcp --dport 7199 -j ACCEPT ...
0
votes
1answer
2k views

What caused my CentOS 6.4 box to reboot itself?

I noticed that the MySQL daemon running on my CentOS 6.4 machine was suddenly not running anymore. I checked the MySQL log, but didn't see anything relevant: 121229 22:17:45 mysqld_safe mysqld from ...
2
votes
0answers
48 views

Making static routes persist after a reboot

I have two VLANs (default vlan and vlan 5 for voip). I have 2 interfaces, one for each VLAN. My route table looks like this right now: Destination Gateway Genmask Flags Metric ...
2
votes
2answers
1k views

Linux empty buffer cache command permission denied

I'm using the following commands to flush cache: # sync; echo 3 > /proc/sys/vm/drop_caches # sync; echo 2 > /proc/sys/vm/drop_caches # sync; echo 1 > /proc/sys/vm/drop_caches When I use ...
1
vote
0answers
60 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 ...
0
votes
0answers
138 views

CentOS 7 won't serve static https content, why not?

I just re-installed httpd and created a static index.html file. I have firewalld configured to allow internet access to the https service. But when I type https://my.server.ip in a web browser, the ...
1
vote
1answer
61 views

Will I receive critical security updates if I lock CentOS yum to a specific repo version?

We run Citrix XenServer as our virtualisation platform. Presently we're right up to date with our XenServer service packs and hotfixes i.e. we're running XenServer 6.2SP1 with the SP1015 update ...
4
votes
3answers
3k views

Install Git on CentOS 5.5

I have added EPEL repo and here goes... # yum install git-core Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * addons: mirror.team-cymru.org * base: yum.singlehop.com * ...
1
vote
1answer
1k views

Centos 6.5 from Desktop to basic server

I have already installed centos6.5 on a virtualbox, and I realized that I missed choosing the the basic server mode,can I change it now that the installation is over ?
1
vote
2answers
58 views

script to add users to otrs

Im looking for a fast way to import customer users into otrs (ticket system) I have an export from Active Directory with: firstname lastname password email username There is a script in the otrs/bin ...
0
votes
0answers
14 views

Installing xcache-admin after easyapache configuration(issues) RHEL6

I configured my server with easyapache with setups up XCACHE for me. The issue is it doesnt include xcache admin and I need that to use our platform. When I try and YUM the package from EPEL, It tells ...
1
vote
1answer
69 views

/sys: cpio: chown failed - Read-only file system (Building Passenger RPM using Docker) [duplicate]

While I'm trying to build rpm using Docker for Phusion Passenger 4.0.53 (https://github.com/phusion/passenger_rpm_automation), I get the following error. Any help is most appreciated. $ ./build -p ...
0
votes
1answer
135 views

CentOS 7 add new user with root privileges

I am reading this tutorial, and trying to create a new user with root privileges and then block root access via ssh in a CentOS 7 server. The problem is that the new user is blocked from doing root ...
0
votes
0answers
33 views

Setting different path for installation in python packaging

I am new to python packaging. My Command Line Interface (CLI) named virtdc modules has to be installed in /var/lib/virtdc. virtdc is the top folder structure /var/lib/virtdc/ framework/ ...
8
votes
6answers
49k views

Why does find -mtime +1 only return files older than 2 days?

CentOS 5.9 I'm struggling to wrap my mind around why the find interprets file modification times the way it does. Specifically, I don't understand why the -mtime +1 doesn't show files less than 48 ...
3
votes
1answer
7k views

How to configure CentOS 6 as a Proxy Server

I have installed new server with CentOS 6. How do I configure it to become a Proxy Server?