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

learn more… | top users | synonyms (2)

2
votes
1answer
10 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
21 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
9 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
60 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
17 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.
-1
votes
0answers
21 views

UID less than 500 is getting created even after specifying UID_MIN as 500 in /etc/login.defs [on hold]

This is my /etc/login.defs: [root@nightly51-1 ~]# cat /etc/login.defs # # Please note that the parameters in this configuration file control the # behavior of the tools from the shadow-utils ...
0
votes
0answers
25 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
20 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
25 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
32 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
24 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
5 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
111 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
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 ...
0
votes
0answers
21 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
12 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
24 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
31 views

Error when compiling nginx [on hold]

I use CentOS 6.5 and nginx 1.7.8. When I compile no matter what configure options use, I get this message: -lpthread -lcrypt -lpcre -lcrypto -lcrypto -lz make[1]: Leaving directory ...
-2
votes
0answers
47 views

certain web sites are not accesible from Centos 6.5

HW: Lenovo T520 laptop with MS WIN 7 dedicated PC (DELL GX 280) SW: CentOS 6.5 (64-bit) installed using VMware Player on MS WIN 7 host CASE A) -- BRIDGED networking selected CASE B) -- NAT ...
2
votes
0answers
28 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
28 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
28 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
22 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
6 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
58 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
39 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
103 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
34 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
223 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) ...
0
votes
0answers
29 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/ ...
1
vote
0answers
23 views

How to configure nginx to dynamically read folders, user accounts/domains?

I have cPanel and Apache 2.4 on my CentOS 6.6 VPS. I installed Nginx as a reverse proxy. Everything works fine. I have 2 domains on the VPS & I'm able to configure them both on nginx. The ...
3
votes
0answers
35 views

How to disable sudo related logging for successful command execution under CentOS/Fedora?

You can disable sudo related log messages via adding something like Defaults:juser !syslog to our sudoers file. That is disabling logging to syslog. But under e.g. CentOS/Fedora there is an auditd ...
0
votes
0answers
8 views

Automated STIG implementation on CentOS7

As someone new to STIG who has done a lot of reading, I'm looking for options on automated STIG implementation on CentOS7. Specifically, I'd like a package similar to the stig-fix-el6 package. My ...
1
vote
1answer
28 views

Centos 5.01 can't connect to the internet

I am trying to download USB driver for centos 5.01 but I can't connect to the internet. I have tried to set ONBOOT="yes" , NM_CONTROLLED="yes" and BOOTPROTO="dhcp" on ...
0
votes
1answer
26 views

Emails not sending to one specific domain

We have a AWS server where emails are delivered to domains other than our own domain. I have confirm that I can send an email to my gmail account but I can't send to my hosted gmail account. So for ...
0
votes
2answers
40 views

Service start and Permission denied

I have a script that execute a java program, and I want to create a service to start this script at boot time. So I've created a script called run.sh. /test/run.sh #!/bin/bash java -cp ...
0
votes
0answers
18 views

Configuration of “Same Host Name” for my all LAN Machines under squid proxy

I am having the network model as Modem N/w Switch ISDN (Airtel) -----------> Server(Centos) [Squid] -----------------> Client Machines. ...
1
vote
1answer
34 views

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

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
0answers
24 views

Automatically creating windows shares when logging on to CentOS7

I am in charge of researching the suitability of deploying CentOS 6 or 7 to around 200-400 macs in a triple boot (OSX,Win7,CentOS 6or7) configuration. We currently dual boot Win7 & OSX using ...
1
vote
1answer
52 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 ...
0
votes
0answers
73 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 ...
0
votes
1answer
82 views

error re-installing httpd on CentOS 7, how can I resolve it?

On a CentOS 7 server, I am encountering an error when trying to re-install httpd. How can I resolve this error and get httpd up and running again? Here is the first error that resulted when I ...
0
votes
1answer
34 views

removing virtualmin and webmin from remote CentOS 7 server

Webmin and Virtualmin were recently installed using rpm packages on a remote CentOS 7 server. How do I uninstall them? I have googled this, but all the results are either so old as to be obsolete ...
0
votes
0answers
15 views

suddenly no service, except ssh is accessible from wan

I recently did install the GNOME Desktop and Graphical Administration Tools package groups to my remote host, for remote desktop connection. After the installation of nearly 550 dependencies was done, ...
2
votes
0answers
37 views

Is there way to print the entered password in PAM?

We are using CentOS 6.5. We have a perl script for our automation testing. One of the script login to the user as non-root user and test "su -" command. This test case passes most of the times but ...
1
vote
1answer
28 views

Delay before new/modified file appears

I'm seeing two separate cases where there's a (random?) delay before a new or modified file appears. The first case is my Rails development environment: I modify a code file (in vim) and save it, ...
0
votes
1answer
55 views

Cabal error: Cannot run c compiled programs

I have an old version of cabal-install so I downloaded cabal-install 1.20 and When installing it errors out. Additional note: ghc 7.8.3 OS: CentOS 6.6 Error: Building network-2.4.2.3... ....... ...
0
votes
1answer
81 views

SSL-encrypted proxy server for war files in CentOS 7

How can I configure a CentOS 7 web server to serve only SSL-encrypted content from war files, with tomcat running behind a proxy server? I imagine this involves using firewalld, https, and tomcat. ...
0
votes
0answers
9 views

Unable to Install and Configure Apache Wave on CentOS

I have been going about this for a few hours now and I am stuck at this point. I am installing Wave on CentOS per the instructions found Here. I get to the point where I use ant to grab the third ...
0
votes
0answers
39 views

Xvfb: keyboard error

We have some GUI tests (selenium) that are run on a virtualized CentOS6.6 environment and when the Xvfb process is started, we get the following error: The XKEYBOARD keymap compiler (xkbcomp) ...