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
1answer
19 views

assigning read/write privileges for a folder to a user in CentOS 7

I am logged into a CentOS 7 server as root. I created a folder /somefolder. I want someusername to be able to write to that folder via scp from a remote computer. What command should I run so that ...
0
votes
1answer
18 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
1answer
14 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
41 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
28 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
0answers
109 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
25 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
13 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
22 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
26 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
20 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
31 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
15 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
20 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
0answers
37 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
49 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
60 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
24 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, ...
0
votes
0answers
23 views

User's password keeps setting to something else [closed]

I am having a strange problem on my server. I am running CentOs 6.6. I can log in to the machine via SSH, VNC etc by shooting the password which was set earlier. But once logged in, inside the ...
2
votes
0answers
34 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
42 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... ....... ...
-2
votes
0answers
19 views

arp who-has XXX.XXX.XXX.XX tel X [closed]

I get a message from ovh i tried to contat heme bu they don't care so can you help me please You will find below a sample of queries sent by your server: ------- EXTRACT OF REQUESTS ------- Tue ...
0
votes
1answer
65 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
29 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) ...
0
votes
0answers
22 views

web container options for war file in CentOS 7

I know that Tomcat and NginX are both able to host web applications that are defined by war files. But can httpd also host a war-file-based web application on a CentOS 7 server? If so, how would you ...
0
votes
2answers
70 views

cp: cannot stat : No such file or directory

I am getting an error when I try to copy a file from my local computer to a remote server with ssh. I get the same error whether I use cp or scp. Here is my input at the resulting error: ...
0
votes
0answers
20 views

Install SVN 1.8 on Centos 7

I've tried installing the newest version of SVN but nothing is working. On yum there is 1.7. When downloading rpm/zip error occurs when trying to configure. Setting some additional repositories ...
1
vote
1answer
20 views

Number of open file descriptors won't change when I set them in CentOS 6.3?

uname -a Linux lab.testing.com 2.6.18-164.el5 #1 SMP Thu Sep 3 03:33:56 EDT 2009 i686 i686 i386 GNU/Linux ulimit -Hn 1024 ulimit -Sn 1024 ulimit -n 1024 I opened /etc/sysctl.conf in vi and added ...
0
votes
0answers
16 views

deploying a war file to a remote centos 7 server

If tomcat is installed in a remote centos 7 dedicated web server, and a war file is placed in the webapps folder, how would you set things up so that http requests originating all over the internet ...
0
votes
0answers
26 views

CentOS 7 Firewalld zone configuration for private web application

I have read all the man pages related to firewalld and also explored all of the files that come pre-installed in firewalld before it is configured. How can I configure the zones of the firewall to ...
-1
votes
0answers
37 views

How to run the script that requires root acccess as a regular user without adding that user to sudoers?

I have an account with root privileges and need to run the install script for a specific user. I don't want/can't analyse the script upfront to figure out the list of all other packages it is going to ...
1
vote
1answer
32 views

Understanding the top command high load average and high CPU idle

DirectAdmin sent me the following top output: This is an automated message notifying you that the 5 minute load average on your system is 179.99. This has exceeded the 10 threshold. One Minute ...
-1
votes
1answer
75 views

php: command not found on centos

I've currently installed CentOS (6.5 version), nginx, mysql and php. I've tried to navigate to index.php in a browser, and it looks fine, but if I try to run the script via the command-line I get: ...
-2
votes
0answers
51 views

How to recover my source code that is removed by stupid CentOS automatically?

I have no backup, and my server scripts are running as production, but unfortunately CentOS removed my all files stored in /var/tmp Now my source codes are lost, but still its running as below, how ...
0
votes
1answer
23 views

How can I upgrade libxml2 package on CentOS 6?

On CentOS 6.5, when I am trying to upgrade the libxml2 package with: yum localinstall libxml2-2.9.1-99.1.src.rpm I am receiving the following output: Examining libxml2-2.9.1-99.1.src.rpm: ...
0
votes
0answers
23 views

How to use i3 on CentOS 7 with Gnome?

I have a CentOS 7 with Gnome running on my machine. Now I want to use i3 as the window manager. I managed to install i3 but I don't know how to make CentOS 7 use i3 now. I tried to edit .xinitrc like ...
2
votes
1answer
81 views

installing fail2ban on CentOS 7

I am using @GarethTheRed 's answer to this question to install fail2ban on a remote CentOS 7 server. I am able to complete all the steps up until tail -f /var/log/fail2ban.log, at which point I get ...
0
votes
2answers
20 views

downloading sshd logs from remote centos 7 server

When I log into a remote centos 7 server as root, I am able to see the sshd logs by typing journalctl _COMM=sshd in the terminal. But the logs are massive. How can I download all the logs into a ...
1
vote
1answer
27 views

Assp won't start

I tried to install ASSP (Anti-Spam SMTP Proxy Server),but when I try to start it I get the following: $ perl assp.pl Perl version 5.012003 (5.12.3) is at least recommended to run ASSP 2.4.3 (14313) ...
1
vote
0answers
30 views

rp_filter dropping packets in linux bridges+vlan_tagged interface + tap interfaces configuration

I've a linux bridge which has it's first interface as a eth0.123 (VLAN tagged interface) & one or more tap interfaces created by kvm. (libvirt+kvm VM) [root@compute1 ~]# brctl show bridge name ...
0
votes
1answer
34 views

viewing firewalld logs via remote login to CentOS 7 server

I have firewalld installed in a remote CentOS server. When I log into the server over the internet as root, I type the following command to access the firewalld logs: journalctl ...
0
votes
1answer
55 views

CentOS 7 VPN server

How do I set up a remote internet web server using CentOS 7 so that it is completely shielded by a VPN? Here is the use case: 1.) This means that ALL requests for ANY interaction with the web ...
0
votes
0answers
32 views

Network firewall on CentOS, host cannot be resolved?

I have a centos machine and I am trying install some dependencies using yum. When I do this I keep getting a message saying the host cannot be resolved. I was told the previous person that used the ...
0
votes
1answer
35 views

No Sendmail but ISPConfig Postfix

This is what php uses to send php mail with the php mail() function: ; For Unix only. You may supply arguments as well (default: "sendmail -t -i"). ...
0
votes
1answer
32 views

how etc/hosts file is created during Centos 4.9 installation

We have our servers running CentOS 4.9. I want to find how /etc/hosts file is created during installation. A related question here (What creates /etc/hosts (RHEL 5.5)) says that in RHEL 5 /etc/hosts ...