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

Help filtering logs - auditd

System: RHEL release 6.3 (santiago) Issue: Once I start the audit service I'm starting to get thousands of logs in /var/log/audit/audit.log Most of the logs received are of - sshd Log sample: ...
0
votes
0answers
5 views

Why is traffic matching the public zone instead of the desired zone

Trying to self-train on firewalld I set up apache and configured the zones as follow: My expected result is that traffic from the hypervisor would match the "work" zone and since http isn't allowed ...
0
votes
0answers
49 views

What's the most efficient way to find out what is consuming disk space? [on hold]

I usually check disk space consumption by running du --max-depth=1 -h / but for some reason, it's taking a long time on one of my servers. What is the most efficient way of doing this?
1
vote
0answers
4 views

How can I cause cvs update to use the destination folder's default posix acl mask?

I have a directory and file with these permissions: # file: blue/ # owner: user-a # group: group-a user::rwx user:user-b:rwx group::rwx mask::rwx other::r-x default:user::rwx default:user:user-b:rwx ...
2
votes
1answer
9 views

assigning two ports to one service in firewalld

Is there a way to assign two ports to the same service in firewalld? For example, I would like for the SMTP service to listen on both port 25 and port 465. My first instinct is to change ...
1
vote
1answer
45 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 ...
0
votes
1answer
41 views

setting up a relay port for postfix smtp on CentOS 7

A CentOS 7 server has postfix, dovecot, and mailx installed. I am able to make an IMAP connection to the server from my remote Thunderbird client running on my local devbox. But I am not able to ...
0
votes
1answer
27 views

ip6tables allow IPv6 traffic from OpenVPN through my VPS

I've established a fully working IPv4 OpenVPN setup and wanted to go one step further and experiment with setting up IPv6. My VPS server does not get a native IPv6 block but does have a 6in4 tunnel ...
0
votes
1answer
22 views

Centos 7 not starting anymore [on hold]

My Centos 7 VPS is just crashed and not starting anymore. I get several errors when starting and is not responding anymore. Errors (random on rebooting) Unable to handle kernel paging request ...
1
vote
2answers
34 views

How do I enable remote desktop of the GUI?

I can ssh into my machine. I want to be able to login to the GUI to do dev work. I went go Applications > System Tools > settings > Sharing > and I have Remote login and Screen Sharing both on. I ...
-1
votes
0answers
7 views

Grub Installation RAID 1 CentOs [duplicate]

I have configured two hard disk with Software RAID 1.The grub is not installed properly in the hard disk.I came to know this issue by booting the hard disk in separate process.The Centos 6.2 did not ...
1
vote
0answers
17 views

Libpcap share directory method missing

so im trying to run a c program but everytime i try to run it i get this message error while loading shared libraries: libpcap.so.0.8: cannot open shared object file: No such file or directory ...
2
votes
1answer
78 views

postfix smtp connection timed out, why?

A CentOS 7 web server has postfix, dovecot, and mailx installed. I have been able to make an IMAP connection to the server in order to read inbox mail using a remote Thunderbird client, but I am not ...
0
votes
0answers
25 views

Combine the output of while loop into tar

I'm trying to create a script that mysqldumps all my databases, creating an individual .sql file for each database and combines the output into backup-DATE.tar.gz. I've gotten as far as being able to ...
0
votes
0answers
11 views

CentOS install spanning 2 or more CDs

I have a custom CentOS install which used to fit on 1 CD. With recent additions, it takes up more space than can fit on 1 CD. Some of our customers have old systems that aren't DVD compatible so we ...
0
votes
0answers
18 views

Linux user ssh connection disabled after execution of setfacl command

I have very little linux administration experience, after searching a lot stuff online, finally I decided that I must hope that someone helps. The problem is, I needed to share an account with a ...
0
votes
0answers
12 views

No cursor/caret in Linux VMC under Windows Hyper-V?

I have just installed CentOS-7, Minimal Installation, into a Hyper-V VM under Windows Server 2008 R2. When I Start the VM from Hyper-V Manager it opens a window it calls Virtual Machine Connection, ...
0
votes
0answers
13 views

rich rules in firewalld to log imap and smtp attempts

How can I set up rich rules in firewalld that will record what is happening when a remote Thunderbird client tries to connect via imap and smtp? I imagine that two rules might be required, one for ...
0
votes
0answers
4 views

RHEL 5 box constantly displaying NIC statistics on console screen, how can I disable this?

I have a RHEL 5 box that is constantly displaying nic statistics on the console screen when using the KVM. This makes it very hard to do any troubleshooting when the box goes down as these statistics ...
1
vote
1answer
65 views

unable establish remote imap connection, why not?

A remote CentOS 7 web server is able to successfully receive email sent from elsewhere on the internet addressed to me@mydomain.com . An app running on the same CentOS 7 server is able to use ...
0
votes
1answer
32 views

Starting Services without Systemd?

Is it possible to start services on and post startup in CentOS/Fedora distributions without using systemd (systemctl)? If yes, how? Systemd does not work in non-privileged docker containers; ...
1
vote
0answers
10 views

Where can I find the server config that I am using to send emails with sendmail in CentOS 5.6?

I have a CentOS 5.6 VM and have been able to send emails from my PHP application up until two days ago. I am trying to find the SMTP server config details in my sendmail files somewhere, but I cannot ...
1
vote
1answer
35 views

What is the proper encoding name to use in locale for UTF-8?

Just wondering here as I have on this CentOS 7 system: $ locale -a <snip> en_US.utf8 <snip> and yet: $ localectl System Locale: LANG=en_US.UTF-8 To add to that, the preferred name ...
0
votes
0answers
7 views

Refresh/reinstall CentOS 7 in automatic mode remotely

Is it able to fully reinstall (with erasing disk data) CentOS 7 without physical access to the computer, only remotely SSH?
1
vote
1answer
31 views

Which unix / linux flavor should I learn looking at job opportunities in future? [closed]

I am a Computer Engineer and I want to start exploring the Unix & Linux environment. Which flavor of Unix and also Linux should I learn looking at a job opportunity in these two fields in future? ...
1
vote
0answers
21 views

Upgrading OTRS 2.4 to 4.0 - Fedora or Centos?

Situation I want to upgrade an OTRS 2.4 installation to OTRS 4.0. The upgrade path is via 3.0, 3.1, 3.2 and 3.3, and I want to use RPM installations.. For OTRS 2.4 I can only find Fedora RPMs. The ...
4
votes
2answers
238 views

Delete files older than specific file

I need to delete from a folder all files older than a specific file. Running bash on CentOS 7. I have a solution for this, but I think there should be a more elegant way do it: ...
0
votes
1answer
17 views

unix2dos not recogonizing outfile

I typed unix2dos /path/to/filename_unix.txt /path/to/filename_dos.txt in the CentOS 7 terminal, but I got the following in response: unix2dos: converting file /path/to/filename_unix.txt to DOS format ...
1
vote
1answer
37 views

Why scripts run as user but not as a cron?

I have a script that checks to see if port 4000 is open and listening, if it is return true, else start a service that also outputs a logfile. The script runs fine if I execute it as a user, but if I ...
1
vote
1answer
36 views

Desktop gone after upgrade to Centos 6.6

I upgraded a local Centos VM from 6.5 to 6.6. After the update, no restart is needed and the desktop works. When I restart, I see the blue startup bar and CentOS 6.6 on the right side of it. When the ...
4
votes
0answers
52 views

Centos 7 boot up with custom kernel problem

I have installed centos 7 on virtualbox machine which has kernel-3.10.0-123.20.1.el7.x86_64. I am trying to build Linux kernel from kernel sources. I downloaded the kernel source files from: ...
1
vote
1answer
45 views

firewalld settings for OpenVPN with https, ssh, and smtp

I am configuring a remote CentOS 7 webapp server to wrap https and ssh inside OpenVPN, while keeping smtp running outside of OpenVPN. I notice that, when I establish an OpenVPN connection from a ...
-1
votes
1answer
69 views

“No package stress available, nothing to do” and "bash: yum-config-manager:command not found

I am trying to install the stress package on CentOS 7 virtual machine running on vmware player on windows 7 laptop. I have tried many packages and have updated yum but whenever I run sudo yum install ...
2
votes
0answers
146 views

What's wrong with my NFS setup?

I had previously been able to configure an NFS server on a computer running CentOS 6.6, and to mount the file system in a Virtual Machine with the same OS and using autofs. Last week I did a fresh ...
1
vote
1answer
38 views

Question about CentOS and KVM virtualization and PCI Passthrough

I want to replace Windows Server 2012 R2 and Hyper-V on my homeserver with CentOS and KVM. My plan is to virtualize one Windows 8.1 machine and several smaller Linux machines like on Hyper-V, there is ...
0
votes
1answer
145 views

yum command not found, cannot install stress [closed]

When I try to install the stress package on SUSE11 and Centos 7, yum tells me that it isn't found or that stress as a command does not exist. Anywhere I have looked online tells me that it is as easy ...
0
votes
2answers
31 views

Delete/repair files with weird permissions/owner/group

I have the following files (output of ls -l): ?rw------- 6144 1684128777 2049835008 50331648 Jan 1 1970 image1.jpg br-xrwSrw- 25120 1987343475 1936028517 110, 110 May 30 2032 image2.jpg ...
2
votes
1answer
45 views

To be SOX compliant I need to keep years worth logs. Need help with particuliars

My company is going through an audit and I have taking over the role of Linux systems administrator unofficially. I see our current logging system has it to were we basically keep a months worth of ...
0
votes
0answers
18 views

Xvfb differences on Ubuntu and CentOS

I have an html screen capture utility built using Qt that uses WebKit. It basically takes html as input and produces a screen capture as a png. On Ubuntu desktop 12.04 the capture quality is ...
0
votes
0answers
17 views

Have CentOS push custom updates to windows 7 clients

Is there anyway do deploy updates for Windows OS desktops, from a custom source? I frequently work on computers, and installing Windows 7 with an OEM disk and waiting for my slow internet connection ...
1
vote
0answers
25 views

Temporarily mounted filesystems suddenly unmount

On a CentOS 7 machine, I've had several instances recently where filesystems mounted manually (not using an entry in fstab) suddenly get unmounted. This always occurs when I/O is occurring on the ...
2
votes
2answers
52 views

menu script over ssh

I have a script that asks for input from the user. When I run this locally it does what I want however I'd really like to run it over ssh. I've tried the regular ways I'd run a script: ssh ...
0
votes
1answer
20 views

Centos & PostgreSQL - cannot create database cluster

I have a server with CentOS 6. I installed on it postgreSQL 9.4, but didn't tell my mate and he installed 8.4 which included in CentOS by default. So we removed (service remove postgresql) both of ...
-1
votes
0answers
10 views

Vm doesnt show any gui

i have Centos 6 installed, it was work fine till today, but suddenly when i turned it on today my vms doesn't show any thing, all my setup are correct i know that for sure but my graphic doesnt work i ...
0
votes
1answer
14 views

Running xinetd and httpd on centos 6

We are running several centos 6.4 lamp stacks, and our backup solution (unitrends) has a client that requires xinetd. Can these two coexist on the same server? If so, is there any secret handshake I ...
0
votes
0answers
12 views

How to reboot OS in KRDC without command?

I cant enter the command because some app are been stucked. Ctrl+Alt+Del exit me into the Windows Logon Screen. Alt+PrtSrn+b reboot myself. What to do?
0
votes
1answer
28 views

How to reboot centos with hotkeys?

I stuck on installation in centos with some soft on error. How I can exit of installation proccess or reboot server?
0
votes
1answer
28 views

CentOS 7 very slow boot up after changing NIC

I have created a VM in VMWare esxi. I then cloned the VM, the clone receiving a new NIC along with a new MAC address. I change the IPADDR, HWADDR, and BOOTPROTO values and reboot the cloned-VM. ...
1
vote
1answer
98 views

multiple user-types/access-rules for OpenVPN on CentOS 7 and firewalld

How can I define separate roles for users and administrator in OpenVPN running on CentOS 7 server? Specifically, the users must only be allowed to https, while the administrator must be allowed to ...
0
votes
2answers
23 views

Ubuntu CentOS RHEL cross bash script su support

I know that title was a little ambiguous. Allow me to explain our issue. We designed an installer script on Ubuntu since Debian based systems are our primary core, however, some of our cloud based ...