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
7answers
45k views

yum update fails: Error: Cannot retrieve repository metadata (repomd.xml) for repository …

I'm using CentOS 6.3. When I try to update my system with yum I have this message: yum update Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirrors.ircam.fr * ...
2
votes
0answers
64 views

How does ldap work on a client?

This is on CentOS I read the various openldap howto's, they mention /etc/openldap/ldap.conf and editing /etc/nsswitch.conf for example: ...
2
votes
3answers
60 views

How to list packages with files in a particular directory?

I'm switching to CentOS from another distribution, and I'm not used to working with yum. I'd like to know if there's a way to know which installed packages have files in a directory. For example I'd ...
0
votes
0answers
58 views

How do I set up a secure Samba share on CentOS 7?

I want to set up secured Samba shares so I can connect different users on the same computer to their own separate shares. I'll use a script to discover the user's credentials then run mount -t cifs ...
1
vote
2answers
118 views

Can't start systemd user instance

I'm using CentOS 7, and am trying to create a systemd service for my local user. However, before I can do that, I need my systemd user instance, which I cannot find or create to begin with. Running ...
1
vote
3answers
295 views

Taking away a User's Read/Write/Execute Permission

So I have a user that is able to go in /etc and read files like httpd.conf. I would like to deny that user access to any critical locations such as /etc, /var and so on. What would be the best way ...
4
votes
1answer
419 views

Windows Changes File Permissions in Samba File Shares

I have mounted an external USB drive that is used for file shares on CentOS. All of the clients access the shares are Windows XP or 7. Within Windows, I use the "Manage your credentials" feature in ...
1
vote
1answer
111 views

Telnet session closed by foreign host

I'm trying to telnet to imap-mail.outlook.com on port 993. When I connect to it, I get Trying 157.56.195.250... Connected to imap-mail.outlook.com. Escape character is '^]'. And I can enter a ...
2
votes
1answer
902 views

I cant save files in /var/www/html

I'm running Centos 6.5 and I'm having problems saving my files to /var/www/html. The folder currently belongs to root and I have gone through everything from SELinux to configuration procedures, but ...
0
votes
0answers
17 views

How do I get debug information from rsyslog?

I followed the directions from: http://www.rsyslog.com/doc/debug.html I put the following in /etc/rsyslog.conf: $DebugLevel 2 $DebugFile /root/RSYSLOG.txt then I try: kill -USR1 `cat ...
1
vote
1answer
58 views

HTTPS won't run. (CentOS) [closed]

I've installed my SSL using the following guide as I would usually with other servers: http://wiki.centos.org/HowTos/Https However when I run httpd and try to connect using https it doesn't work. I ...
1
vote
2answers
63 views

Package installed and not installed at the same time

Sometime ago I tried to install Steam on my CentOS 5 server and tried almost everything I found on Internet and it seems that I have been able to leave libstdc++ installed and not installed at the ...
3
votes
2answers
3k views

Yum update error: “can't start new thread”

I found several posts on this, but none of them work. When I do yum update, I get the error thread.error: can't start new thread; full stacktrace follows: [root@ripper234 ~]# yum update Loaded ...
1
vote
1answer
159 views

Different package versions in different repositories

Following the advise on Using Awesome window manager on CentOS 7, I installed the fedora 19 repository so I could get Awesome working on CentOS7. However, when I run yum update, I am getting this ...
1
vote
2answers
952 views

Using Awesome window manager on CentOS 7

Awesome works fine on Fedora 19, so it should work on CentOS 7, right? Well, I tried and failed to get it to work. After a long time, I managed to compile it from source and set GDM to boot from an ...
1
vote
1answer
63 views

rsyslog: how do I set up remote logging?

I am simply trying to set up a remote logging system. I think my setup is correct but it fails and I can't get any messages from rsyslog to show up in the logs, so I can't find out why. My iptables ...
3
votes
2answers
2k views

What does eno mean in network interface name 'eno16777736' for CentOS 7 or RHEL 7?

Under consistent network device naming scheme, what does 'eno' stand for in network interface name 'eno16777736' for CentOS 7 or RHEL 7?
0
votes
0answers
27 views

Accessing CentOS7 server from public

recently I switched to CentOS 7 OS and set up basic webserver with Apache. I had no problems configuring SSH, FTP and LAN access to the webpage. But accessing from other IP's won't work. I'm 99% sure ...
0
votes
0answers
16 views

Asus T101 Touchscreen Not Recognized

I'm running CentOS 6.6 x86 on an ASUS T101-MT which originally came with Windows 7... Is there a way to get the touchscreen to work? I couldn't find any answers for this online and everyone seems to ...
1
vote
1answer
42 views

scp a file from one server to another one, got “permission denied”

source server IP 162.244.xxx.xxx file -rwxrwxr-x 1 user1 admin 36005278 Sep 10 2013 filename.tar at destination server scp user1@162.244.XXX.XXX:home/filename.tar ./ got a Permission ...
0
votes
0answers
32 views

Port randomly closing (iptables)

I'm running CentOS 6.5 on a VPS and one of the services I have running is murmur/mumble (A voip application). The issue I'm having is that the port clients connect on will be open when I initially ...
40
votes
9answers
59k views

Is CentOS exactly the same as RHEL?

I'm sure this question has been asked again and again elsewhere (I did not find anything specific to CentOS vs RHEL in SE), but I would still like to ask and confirm a few specific points. I am well ...
0
votes
1answer
29 views

cannot connect mobile device to tomcat on Centos Linux

i have my web services in local and run in Tomcat and it works (in local). Now i want to connect from smartphone browser to this tomcat. For example my Pc have ip:192.168.1.140 and my ...
1
vote
0answers
47 views

centos virtual machine not registering with intranet dns server

When I am creating a Ubuntu virtual machine on virtual box it automatically registered with DNS server in my intranet network, it has both intranet IP and domain name. When creating CentOS virtual ...
0
votes
0answers
113 views

Samba 4 has high CPU usage when accessing mapped drive through Windows

I have noticed that when I access my Samba share from Windows, the smbd daemon will always use aprox 10-20% CPU - no matter if the share is used or not from Windows. Even if I close the share/window, ...
1
vote
0answers
8 views

VSFTPD Home Directory CentOS 6 [duplicate]

I’ve installed vsftpd on my CentOS 6 server and it works fine. I’ve created a user and can connect to the server and edit files in that users home directory fine. However, I am trying to be able to ...
2
votes
1answer
4k views

CentOS Local User not able to view directories/files via FTP login

Currently running CentOS 6.5 with vsftpd. As a newbie, I would like to explain my process and then have the proper process explained back to me from scratch which I believe will solve my issue. I am ...
1
vote
1answer
38 views

java upgrade problem on centos 6.5

I want to upgrade my jdk on a centos server, after some simple searches i found some solutions. From this link, you can see that the instructions are simple: jdk 7 installation guide for centos ...
2
votes
1answer
65 views

GRUB2 not detecting Windows; rootnoverify: command not found

Story: I had Windows on one partition, and an unallocated partition. I then installed CentOS 7 on the unallocated partition. (I selected the option for the installer to automatically create the ...
0
votes
1answer
144 views

Does all packages included in CentOS Everything ISO get installed along the base system?

The Everything ISO for CentOS is significantly bigger than the regular DVD ISO because it contains a lot more packages. Question: are these extra packages all installed automatically when I install ...
1
vote
0answers
90 views

Port Forward For OpenVpn

I have setup a OpenVPN server on CentOS 6, and it starts ok when i /etc/init.d/openvpn start it shows me Starting openvpn: [ OK ] so far so good, but ...
1
vote
1answer
30 views

How to install openstack havana (compute) in centos?

I am working openstack havana, so how do I install openstack havana on centOS? When i try to install it I get this error: Loading mirror speeds from cached hostfile base: centos.excellmedia.net ...
0
votes
1answer
137 views

Route Client Traffic Through VPN Tunnel

I have configured a vps following this tutorial, the server and client are successfully connected and can ping each other, server is at 10.8.0.1 and the connected client (android-OpenVPN Connect) get ...
1
vote
1answer
24 views

Configuring Named DNS zones (Centos7), specifically CNAME

having trouble with some DNS configuration, I have managed to get part of the site working, however adding the prefix 'www', I'm finding a little tricky. Essentially, what I want is mysite.net -> ...
1
vote
1answer
69 views

CentOS-7 Kernel Image has a “debug” suffix after a Kickstart installation

After finishing a customized CentOS-7 kickstart installation from a CDROM, the system has booted as expected and according to the ks.cfg file. At the grub menu the options I have are: CentOS Linux, ...
2
votes
1answer
94 views

Curl failed to read known_hosts file

I'm trying to download a file from a Centos 6 server using another Centos 6 server as client and curl with the scp protocol and I'm getting this error output: $ curl -v -O scp://cz/path/to/file * ...
0
votes
2answers
55 views

Tomcat 8 doesn't start

Upgraded tomcat 6 to 8 on Centos 7. I get this error in logs: /usr/local/ctera/apache-tomcat-8.0.14/bin/catalina.sh: line 421: -Djava.endorsed.dirs=/usr/local/ctera/apache-tomcat-8.0.14/endorsed: ...
0
votes
0answers
32 views

Permissions doesn't change while mounting windows directories (mount.cifs)

I used this command: mount.cifs //192.168.1.106/ukv_sftp$ /home/admin/public_html/remote -o credentials=/root/.smbcredentials, uid=500, gid=500 but permissions set only for root user, uid=500 and ...
2
votes
1answer
36 views

egrep multiple patterns with dashes

I am trying to match the followings with egrep '201411[08|09|10|11]-[117|111]-' 20141108-111-xyz-abc 20141110-117-342-lala But for some reasons, the 2nd character class pattern ([117|111]) doesn't ...
0
votes
0answers
92 views

Where is module prefork.c settings in Centos 7?

I used to edit the settings in etc/conf/httpd.conf for better memory performance <IfModule prefork.c> StartServers 2 MinSpareServers 3 MaxSpareServers 3 ServerLimit 15 ...
1
vote
0answers
26 views

Centos web camera, fast application for snapshot?

I'm using ffmpeg for taking snapshots / still images with web cameras. I'm going to use several web cameras to take photos at the same time or one after the other (timelapse). It's important for me ...
1
vote
1answer
69 views

How can I manually reset RX / TX counters in ifconfig output without impacting data delivery?

CentOS 5.9 I'd like to reset the RX/TX counters in ifconfig output for an interface. My understanding is that these counters get reset during a reboot but I'd like to avoid rebooting. Is there ...
0
votes
1answer
823 views

Converting update-rc.d redis_6379 defaults to chkconfig command

I'm trying to run the command below on CentOS and of course I get command not found: $ update-rc.d redis_6379 defaults How do I then perform the equivalent using chkconfig?
14
votes
3answers
23k views

How To Install Virtualbox Guest Additions On CentOS via Command Line only

Reading the Virtualbox user manual, I finally got [here], which explains how to install Virtualbox Guest Additions on a Linux guest via Command Line. But it's not clear enough for me (I just started ...
0
votes
2answers
5k views

I'm not able connect internet from vmware player with centos

I installed centos 6.4 and when I installed I set the network config. But somehow centos did not save them. Now I forced server to use dhcp but it is taking wrong IP address and it is not able to ...
2
votes
1answer
250 views

Install Solaris 8 on Qemu-SPARC

I've been struggling with installing Solaris 8 Sparc-32bit on Qemu for a while. So far I've viewed several sites with instructions on how to install Solaris-sparc32bit on Qemu. But only yesterday was ...
3
votes
4answers
126 views

same encryption with /etc/shadow

I'm doing a gui tool for some malware detection script in linux to let server administrators to analyse the result of this script within the web. as I know the encryption used in /etc/shadow is ...
2
votes
3answers
3k views

CentOS 6.5 in virtual box : can't install any package

I have just installed CentOS 6.5 on my virtualbox. I wanted to install the GUI, using this command : yum groupinstall -y 'X Window System' but it gave me the following error message : "couldn't ...
2
votes
2answers
1k views

The name > org.freedesktop.PolicyKit1 was not provided by any .service files

When attempting to launch system-config-users from command line, I get the following warning, and the tool does not open. I'm using CentOS 7 with Mate 1.8.1. WARNING **: Error enumerating ...
0
votes
0answers
28 views

How do you connect app and DB servers from separate containers?

With Docker, how can I make the DB in one container accessible by the app server in another?