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
5k views

CentOS 6 not regestering new hostname on Windows Server 2003

I rebuilt a Windows 7 Workstation with CentOS 6.5. The Windows 7 had a host name aaa attached to domain ddd.local. The new CentOS hostname is bbb. When I try to ping it: $ ping bbb ping: unknown ...
1
vote
1answer
4k views

SELinux Write access for vsftpd and samba

This should be easy enough I think, but I'm new to SELinux. I have a CentOS 6 file server. I have some LVM file systems at /var/media and I want to use both Samba and FTP to share them with a Windows ...
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 ...
0
votes
0answers
29 views

CentOS 7: Can't connect wifi using wpa_supplicant

I recently got a new wireless card, specifically Intel Dual Band Wireless-AC 7260 WiFi Bluetooth Half Mini Card. Previously I had been connecting with ethernet so this machine has never been on the ...
0
votes
0answers
16 views

How to benchmark performance and ensure high-availability in a CentOS 7 cluster?

To give you a little context on my question, I'd like to mention that I am writing an essay on high performance and high availability clusters using a 2-node (I know that is not optimal, but it's what ...
0
votes
1answer
16 views

Centos 6.4 and UEFI

I have centos 6.4 64. In /boot/efi/EFI/redhat I have grub.efi file (about 251Kb). However, when I execute efibootmgr I get Fatal: Couldn't open either sysfs or procfs directories for accessing ...
3
votes
1answer
2k views

SELinux - allowing rsyslog open/read access to some files

So I've got three files I need rsyslog to open in order to forward the entries to another server. SELinux is preventing this with the following error: type=AVC msg=audit(1371186588.768:1324460): ...
0
votes
1answer
45 views

Print file name,Modified Date and Size with Header

How do I print file size, file name and modified date with header.Till now I have come up with: find . -regex '.*\.csv' -execdir stat --printf '%n,%y,%s' {} \; How to add header and do not print ...
0
votes
2answers
196 views

Is it ok to install CentOS rpm in fedora?

I want to try gitlab community edition in my fedora laptop. From the downloads page, it has binary packages for Ubuntu and CentOS 6 and CentOS 7. Which one should I be installing in fedora(release 21) ...
0
votes
0answers
25 views

haproxy removing mod_expires set by apache

I've haproxy server which is routing requests to different web service instance based on rules. The web service instances have apache running at port 80. Now, I'm trying to set some expiry header by ...
0
votes
1answer
2k 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 ...
0
votes
1answer
34 views

RPM install add yum repository

Is it possible to add a yum repository as part of the Requires field on an RPM spec file? For instance: Requires: my_custom.repo, software.xyz (only available in my_custom.repo) If not what is the ...
0
votes
2answers
1k 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
452 views

CentOS 5 - hdparm - how to set DMA mode

I'm running CentOS 5 with a PATA hard drive. I've used hdparm to tune the hard disk for better performance, but there are 2 settings that don't work: hdparm -M 254 /dev/hda gives the error ...
0
votes
0answers
22 views

How to access VPN network from Linux machine? [closed]

This is my case How to access the VPN from the Host machine? VPN is connect to the Windows VM.
0
votes
0answers
43 views

Can't access Apache test page in desktop browser?

I've installed Apache on CentOS 7 (virtual machine) and haven't touched any of the current settings. I've started Apache and made sure I was connected to a network. Using the elinks browser, I'm able ...
0
votes
2answers
1k views

How to permanantly disable /var/log/lastlog?

When I delete files such as /var/log/lastlog, /var/log/utmp and /var/log/wtmp the files will be recreated. How do I disable the recreation of those files?
1
vote
2answers
1k views

Allow remote MySQL to a specific IP - using CentOS 6.4

I've spent a day now trying to find out how to allow remote MySQL to work for my other virtual server. This is proving very difficult so I'm hoping you guys could help me out ;( I've used the ...
1
vote
3answers
3k views

New local user can't login to vsftpd

I'm a bit puzzled with this one and could really use some help. We have a CentOS 6 box running VSFTPD as a dropbox for our customers. Each customer gets a local user and is chrooted to their home ...
4
votes
2answers
34 views

Can I mount a case-insensitive tmpfs/ramfs?

I would like to utilize the performance of tmpfs/ramfs for some file operations, but the programs/processes that use these files assume a case-insensitive file system. I cannot find any documentation ...
4
votes
2answers
1k views

What is the purpose of avahi on a RHEL 7 server?

Running a server machine with CentOS 7, I've noticed that the avahi service is running by default. I am kind of wondering what the purpose of it is. One thing it seems to do (in my environment) is ...
7
votes
4answers
19k views

Commands not found: netstat, nmap on CentOS 7

I'm using the following CentOS: $ cat /etc/centos-release CentOS Linux release 7.0.1406 (Core) The commands nmap, netstat and lsof are not found on CentOS7. Why? $ type -a nmap bash: type: nmap: ...
0
votes
0answers
12 views

Auto Connect OpenVPN Client on Startup Windows 8 [closed]

I am trying to get my VPN to auto connect on startup so I don't have to always make sure that it is connected and running. I've read numerous ideas for running RegEdit ...
1
vote
1answer
464 views

Got the “ERROR: Cannot decode data link type 239” message when turn on sniffer mode

I would like install snort 2.9.6 into Centos 7 the installation is ok and the result of the self-testing mode is correct but when I run this command to change Snort into sniffer or nids mode. I got ...
1
vote
2answers
31 views

why nginx holds file descriptions of logs?

on Red Hat Enterprise Linux Server release 6.6 (Santiago) nginx version: nginx/1.0.15 I use common nginx logrotate config, logrotate works fine and nginx creates new log file like access.log or ...
2
votes
3answers
42 views

Can system time be paused?

This may or may not be the right approach, but it's feasibility was requested of me: We have a demo server that we update from time to time in order to keep the statistical calculations up-to-date. ...
7
votes
1answer
29k views

CentOS - install using yum Apache 2.4

I need Apache 2.4 in CentOS because with Apache 2.2 mod_proxy_wstunnel is not possible. I have tried this, but unfortunately its for RHEL. After installing, I can't execute the Apache 2.4. Can anyone ...
0
votes
1answer
27 views

Are there any drawbacks to running a GUI on a CentOS server?

I need to build several CentOS 6.6 servers, mostly into web servers and a couple of mail servers. Are there any disadvantages to running a GUI environment as opposed to having no X11 at all? I'm ...
0
votes
2answers
851 views

Where are my emails stored on CentOS 5.6

I have a CentOS 5.6 VM installation and currently have a handful of emails that I would like to get access to. When I run mail as root, I get: [root@dev mail]# mail Mail version 8.1 6/6/93. Type ? ...
-1
votes
2answers
5k views

How to install parted on CentOS?

root@host [/]# parted -bash: parted: command not found I am using CentOS. Looks like I simply have to yum it first or something. How would I do so?
4
votes
3answers
3k views

What RPMs do I need for timeconfig?

I've got setuptools set up and have read through the list of what's in /etc/setuptools.d I'm interested in installing timeconfig as well, but I only need the TUI version (no GUI). Which RPMs do I ...
0
votes
1answer
629 views

CentOS 6.5 nmblookup not found

After installing Samba (yum install samba) on a fresh CentOS 6.5 install, I cannot run nmblookup ("command not found"). I also tried searching the file system and could not find it anywhere.
0
votes
1answer
20 views

What's the difference between `grubx64.efi`and `gcdx64.efi`

CentOS7 package grub2-efi provides two files that are very similar. -rwxr-xr-x 1 root root 1070976 Mar 26 09:27 ./boot/efi/EFI/centos/gcdx64.efi -rwxr-xr-x 1 root root 1070976 Mar 26 09:27 ...
5
votes
1answer
2k 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
3answers
27 views

Check installed grub2 modules

I run CentOS 7. Is there a way (e.g., a command) to check which grub2 modules are currently installed?
0
votes
0answers
24 views

seeking hints for correct escaping of sed commands WITHIN yaml

I am having a hard time finding the issue why following lines of "code" break my cloud-init config. Basically I am calling a son object as part of the DigitalOcean API which has a yam format - I got ...
0
votes
1answer
47 views

Cannot use EPEL repo, get NSS error -5990 (PR_IO_TIMEOUT_ERROR)

I'm using vagrant to start up a centOS 7.0 VM. My provisioner is trying to set up EPEL 7 via yum install epel-release -y and then trying to install ansible via yum install ansible -y It installs ...
0
votes
0answers
51 views

CentOS limits.conf & cpulimit not working

I have a CentOS server I am testing things out on. In it, I have configured USERNAME hard maxlogins 4 USERNAME hard cpu 1 USERNAME hard nproc 10 in ...
0
votes
1answer
34 views

Rebooting Centos Servers configured with MYSQL Master/Slave Replication

Sometime ago we configured MYSQL replication on our main web server to another CentOS 6 server. All is working perfectly and we can see the replication is working fine. My question is how to safely ...
0
votes
0answers
38 views

PHP 5.4 ON CENTOS 7 , NGINX , page not found error

I am trying to install PHP 5.4 on CentOS 7 currently , my conf files look like the following : /etc/nginx/conf.d server { listen 80; server_name 178.62.255.79; root ...
0
votes
0answers
19 views

Centos 6-7 install argument for GUID Partition Table

From here http://www.tecmint.com/centos-7-installation/ item 11 NOTE:For those users, who have hard-disks more than 2TB in size, the installer automatically will convert partition table to GPT, ...
1
vote
0answers
31 views

iptables not getting saved ? centos

I am trying to save the iptables, when I run command #service iptables save it says [ok] but when I again open the iptables the rules get revert to default. Can anyone help me to understand this ...
0
votes
0answers
64 views

mount exFAT HDD on CentOS 7

I'm running CentOS 7 on my server. I can't yum install fuse-exfat exfat-utils so I installed exfat-utils 1.0.1-1.el7.nux and fuse-exfat 1.0.1-1.el7.nux via RPM. I have a WD Green hard disk, which is ...
3
votes
2answers
3k views

Installing python modules for python2.6

On my CentOS 5.8 system (el5 , 64bit), I had python2.4 after OS install and I installed python2.6 now. Now I want to install python modules using yum. But whenever I install a new python module it ...
0
votes
2answers
47 views

Yum Broke For some reason

i am trying to install Mysql Client i am getting this annoying message. I am still unable to find the proper answer. [root@localhost Downloads]# yum install mysql-bench There was a problem importing ...
0
votes
0answers
27 views

How to fix: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.15' not found

I need to install doctotext hence in the base directory, I run doctotext.sh and I got the following error (./doctotext: /usr/lib64/libstdc++.so.6: version 'GLIBCXX_3.4.15' not found). When I did ...
1
vote
1answer
61 views

Centos inside Virtualbox — how to set custom resolution?

I have Centos inside Virtualbox. I need custom resolution for my screen. I run xrandr as proposed on the net. New resolution appears in the dropdown. But it doesn't work. Virtualbox addons are ...
4
votes
1answer
4k 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 ...
0
votes
2answers
23 views

many missing dependencies , no links (centOS 7 , postgresql 9.3)

I am trying to install postgresql 9.3 on centOS 7 first , I needed to install libxml2 , and then I tried to install libxml2-devel /$ rpm -iUvh ...
0
votes
1answer
42 views

httpd 2.4.6 on CentOS 7 - question related to module config in httpd.conf

I am sorry to post this type of question here but due to the great experience and skillsets here, I hope for your understanding. I am using (unfortunately) httpd package (v 2.4.6). In various guides, ...