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

learn more… | top users | synonyms (2)

1
vote
0answers
64 views

Creating ISO Bootable Image from a CentOS (Linux) system

I have a Linux machine (CentOS 5.8) on which I have installed multiple applications and tools (with yum and few others after compiling the source code) on it. As I have spent considerable time in ...
0
votes
1answer
232 views

Upgrading centOS 6.6 to 7

I have recently upgraded centOS 6.6 to 7. It seemingly boots up, but it can not open the log in page, Actually the systems is frozen here. Does anybody have similar experience? If so, it would be ...
0
votes
2answers
48 views

Installing MySQL on CentOS throws error that cannot find mysqld.sock

I have yum install mysql in CentOS 6.4. Now, when I use mysql command, it throws the following error: ERROR 2002 (HY000): Can't connect to local MySQL server through socket ...
3
votes
1answer
31 views

RAID 5 built using mdadm starts in degraded mode. Is this normal?

I am setting up a new set of drives on a CentOS 7 installation (10x1TB), however am seeing something annoying during the build process. When I attempt to build the array, it is immediately recognised ...
-2
votes
1answer
83 views

Cannot ping from CentOS 7 host, but I can browse and lookup domain name

I have new CentOS 7 box and I have a problem with the ping command. When I try to ping ping google.com I get time out and 100% packet loss, but I can dig/nslookup google.com, and I can browse ...
0
votes
2answers
60 views

Where to locate resolv.conf file in CentOS 7

I know that "/etc/resolv.conf" is auto generated file by "/etc/resolvconf/resolv.conf.d/head" when reboot Ubuntu 14.04. It's ok But where i can locate same "/etc/resolvconf/resolv.conf.d/head" file ...
3
votes
0answers
59 views

Linux - On boot do push-button-connect to strongest wireless

I'm trying to configure linux (in this case CentOS) to automatically connect to the nearest WiFi via "push-button-connect". This micro computer has no keyboard or display, so the goal is to hit the ...
2
votes
1answer
44 views

Reliable and persistent installation of the Nvidia driver on Centos 5

We have a bunch of computers controlling equipment that run on Centos 5. We also need to use the proprietary Nvidia driver, the default nv driver doesn't work correctly with some software we need. ...
0
votes
0answers
49 views

/usr/include/mysql/my_config_x86_64.h:653:2: error: #error <my_config.h> MUST be included first!

Hi I am trying to install this software on Cent OS. I am getting the following error. [root@localhost root-master]# make bin/rmkdepend -R -fsql/mysql/src/TMySQLServer.d -Y -w 1000 -- -pipe -m64 ...
0
votes
0answers
36 views

hooking up dovecot/postfix to mysql on CentOS 7

On a CentOS 7 web server, a java web application with a mysql database needs to be able to process incoming email. This means that each email message received by a specific email address needs to be ...
2
votes
0answers
33 views

Installed coreutils on CentOS for sort --human-readable flag but it still doesn't work

I'm trying to do du -h | sort -h, but my CentOS 5.7 doesn't have -h flag for sort. So I installed coreutils Updated: coreutils.x86_64 0:5.97-34.el5_8.1 Complete! yet sort still doesn't have ...
0
votes
1answer
52 views

How can I programmatically access the contents of a Dovecot mailbox in CentOS 7?

I just set up postfix and dovecot on a CentOS 7 server using this tutorial. I am able to successfully create a mail record using echo "TEST" | mail -s "testmail" youruser@localhost && tail -f ...
3
votes
1answer
98 views

ACL/MAC Permissions for dovecot and postfix in CentOS 7

I am using this tutorial to set up Postfix and Dovecot on a CentOS 7 web server. But when I try to send a test email using sudo echo "TEST" | mail -s "testmail" newuser@localhost && sudo tail ...
0
votes
3answers
54 views

what is dhcpv6-client service in firewalld, and can i safely remove it?

In a CentOS 7 server, I type in firewall-cmd --list-all, and it gives me the following: public (default, active) interfaces: enp3s0 sources: services: dhcpv6-client https ssh ports: ...
2
votes
1answer
57 views

blocking all but specific ips from specific services in CentOS 7

In a CentOS 7 web server that needs to remain totally closed to the public, I need to block all ip addresses and then only allow specified ip addresses to access specified services. How can I ...
0
votes
1answer
24 views

/usr/lib/python2.4/site-packages/cElementTree.so: wrong ELF class: ELFCLASS32

yum update There was a problem importing one of the Python modules required to run yum. The error leading to this problem was: /usr/lib/python2.4/site-packages/cElementTree.so: wrong ELF class: ...
3
votes
1answer
208 views

Cannot update glibc on CentOS 7

I have CentOS 7 installed. I want to install the APR package for Apache, and I'm told I cannot install it because it requires at least glibc.2.14 while I have glibc.2.12 installed. I have downloaded ...
0
votes
0answers
11 views

centos cluster set core/each_program

I'm using unix server (OS: centos5) and I'm using several clusters. Some clusters have 8 cores, other are 24 cores and etc. I execute jobs using this command. qsub -q cluster_name -d $PWD ...
2
votes
0answers
927 views

How to update glibc to 2.14 in CentOS 6.5

I want to install Android NDK on my CentOS 6.5 machine. But when I ran the program, it says it needs glibc 2.14 to be able to run. My CentOS 6.5 only has Glibc 2.12 installed. So I tried to update ...
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 ...
1
vote
1answer
36 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
97 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 ...
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. ...
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
32 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 ...
0
votes
1answer
27 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 ...
1
vote
0answers
25 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 ...
2
votes
1answer
64 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 ...
1
vote
1answer
74 views

while installing centos error is that 'sda must have gpt label'

While trying to install CentOS 6.4 IN DUAL BOOT with win 7 there was this error "sda must have gpt label". I don't know how to fix it and I also don't want to repartition my hard drive.
0
votes
0answers
42 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 ...
0
votes
0answers
40 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
0answers
73 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
108 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
150 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 ...
0
votes
0answers
23 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 ...
3
votes
2answers
272 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 ...
0
votes
0answers
17 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 ...
0
votes
0answers
60 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
42 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
0answers
35 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 ...
2
votes
0answers
49 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 ...
1
vote
0answers
73 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
71 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 ...
0
votes
1answer
63 views

Checking if a mail has arrived, if not then alert

I am using fetchmail in combination with procmail for mail filtering on CentOS where my mail contains various log messages. They serve me so I could search through my mail(logs) for error strings. So ...
0
votes
0answers
19 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 ...
0
votes
1answer
143 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 ...
1
vote
2answers
66 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
308 views

CentOS 7 httpd failed to make connection with backend

In a CentOS 7 server with apache httpd 2.4 set up as an ssl reverse proxy for tomcat, I am getting an error indicating that httpd is not able to connect with tomcat. How can I resolve this error so ...
0
votes
0answers
97 views

completely clean re-install of mysql on CentOS 7

I have encountered problems with a mysql installation on CentOS 7. All the data is backed up, so I just want to completely erase every remnant of mysql on the machine and then do a clean install. My ...
1
vote
1answer
472 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) ...