Questions tagged [centos]

CentOS is a free (as in beer and speech) GNU/Linux distribution that is community driven and based on source code released from RedHat.

Filter by
Sorted by
Tagged with
2 votes
1 answer
6k views

Mounting MS DFS with support for referrals on CentOS [duplicate]

Possible Duplicate: Mount a Windows DFS Namespace in Linux We have a domain-based DFS namespace that refers to redundant (replicated) file servers shares. With Windows client, failing over are (...
addp009's user avatar
  • 21
-1 votes
1 answer
51 views

recently installed packages

Is there anyway in CentOS 6 to see the recent installed applications, at least those done by yum? Is there anything like a log-file by default? If it is not available/enabled by default, how can I ...
Mahdi's user avatar
  • 287
1 vote
2 answers
7k views

MySQL with NFS as datadir on CentOS

I'm trying to set up MySQL using a NFS mount as datadir on CentOS. When starting mysqld while using a mount I get this error: chown: changing ownership of '/srv/mysql': Operation not permitted I ...
moa's user avatar
  • 13
0 votes
1 answer
556 views

Nginx as reverse proxy for Apache and subdomain setup

I have subdomain set up under Nginx and proxy passing to Apache to serve PHP files Below is my config: server { listen 80; server_name sub.domain.com.au; location ~* \...
Passionate Engineer's user avatar
-1 votes
1 answer
228 views

Overwrote less command, how do I reinstall it?

I was trying to use the following command to pipe the results to less so that I could read a listing fully: ls -lh | less This, according to various sources pipe the contents to less and allow ...
Exit's user avatar
  • 141
-1 votes
1 answer
2k views

Redirects and masking with Apache

I've got a domain like domain.com and a path in it like /path so that domain.com/path redirects to another server entirely (let's say 128.10.10.10). This works, but I'd like to set it up so when I'm ...
t56k's user avatar
  • 115
0 votes
1 answer
2k views

Installing mysql-devel to match MySQL version

I'm running MySQL 5.1.52 on CentOS 4.6 and I'm trying to install mysql-devel to match my MySQL version. If I do yum install mysql-devel it wants to upgrade MySQL to 5.1.58, yet if I do yum search ...
markxi's user avatar
  • 43
1 vote
1 answer
813 views

Updating phpMyAdmin

I'm running CENTOS 5.7 I have phpMyAdmin - 2.11.11.3 installed via yum. Trying to update to 3.5.6. If I run: yum list installed | grep phpMyAdmin I get: phpMyAdmin.noarch 2.11....
TuK's user avatar
  • 237
0 votes
2 answers
2k views

Startup services are not getting started in CENTOS

I deployed my project on a Shared Hosting that has Root access the Server in picture is CENTOS now although I have defined the service to start on boot it not getting started chkconfig --level 35 ...
Viren's user avatar
  • 181
0 votes
1 answer
4k views

VPN tunnel via IPSec

I'm not so familiar with installing and configuring VPN connections, but I need to link up our web server (CentOS 6) to a Cisco 3945. Here is the information I have from the Cisco device: VPN Device ...
Mahdi's user avatar
  • 287
1 vote
1 answer
923 views

New installation of CentOS -- ssh from the server returns: Permission denied (publickey,gssapi-keyex,gssapi-with-mic). Why?

Centos 6.3. Brand new installation. Did ssh-keygen and files are in my ~/.ssh directory. when I ssh [email protected], it returns: Permission denied (publickey,gssapi-keyex,gssapi-with-mic). I can't ...
usafitz's user avatar
  • 71
2 votes
2 answers
6k views

How to differentiate intentional reboot and power failure from logs

One of my centos host rebooted recently unfortunately no monitoring was implemented . How can i find out what caused it to reboot. i only have ssh access to it. How can determine if the cause is due ...
kevin's user avatar
  • 191
0 votes
1 answer
1k views

SFTP creates file but can't complete transfer

I'm trying to upload files to a VPS over SFTP. Unfortunately, I'm having a strange problem. While uploading a file over SFTP as root, the transfer appears to randomly stops somewhere in the first ...
Nathaniel Hudson's user avatar
0 votes
2 answers
786 views

Is it possible to modify the date/time format for sendmail logs?

CentOS 5.x | SendMail I'm cross-referencing logs with another application/server and would like to change the date format on the SendMail maillog. Presently it's MMM DD HH:MM:SS Is there any way ...
Mike B's user avatar
  • 12k
0 votes
2 answers
2k views

Why does Centos 6 have an older kernel than Ubuntu 12.04 [closed]

Hi can some one help me in understanding this. On Centos 6.2 its showing kernel as 2.6.32-220.el6.x86_64 whereas on Ubuntu 12.04 its showing as 3.2.0-23-generic. 3.0 kernel is one of the latest ...
kevin's user avatar
  • 191
-4 votes
2 answers
4k views

CentOS : showing error message No space left on device [closed]

I am using CentOS-5.5 its not stasting. while booting its showing "GDM could not write a new authorization entry to disk.Possible out of diskspace.Error: No space left on device" if press then ...
Sangmesh Karki's user avatar
0 votes
1 answer
213 views

Remote server administration on a large scale

I need to remotely manage virtual machines (many of them) via secure channel. SSH inbound is disabled. Anyway to use some web based tool running behind SSL. It will be used to push updates, config ...
Ma Diga's user avatar
  • 151
5 votes
2 answers
6k views

Getting auditd to record the original user

This question is related to my previous question: Log all commands run by admins on production servers It is company policy for admins to login to the servers via a personal username, and then run ...
Soviero's user avatar
  • 4,376
1 vote
3 answers
2k views

what can I do when the server refused to connect by ssh

I have a server running well before but today I can not ssh to it, it shows me: ssh: connect to host 10.0.0.117 port 22: Connection refused I guess something is wrong with it but I can not log onto ...
Mickey Shine's user avatar
0 votes
1 answer
356 views

run nginx in port different than apache port

I want to know how to run nginx on different port than apache port For example when someone go to link http://site.com It will be served as apache If he go to the link http://site.com:81 The ...
iLinux85's user avatar
  • 215
0 votes
2 answers
823 views

Error: Missing Dependency: /usr/X11R6/bin/xmessage is needed by package wine-core

I've the following error on CentOS when installing wine: sudo yum install wine Error: --> Finished Dependency Resolution wine-core-1.2.3-1.el4.rf.i386 from rpmforge has depsolving problems --&...
kenorb's user avatar
  • 6,759
0 votes
2 answers
2k views

/var/lib/mysql folder is not coming up after install

I'm having some trouble with reinstalling MySQL, since i uninstalled it. I have been unable to install it again. yum install mysql-server yum install mysql But what ever I do, the folder /var/lib/...
user156461's user avatar
0 votes
1 answer
1k views

"Unable to get term attr: Invalid argument" while trying to SCP

I have to set up two LDAP servers for replication. My problem is that when i want to copy the master-slapd's database files with scp command i get the next message after typing in the account's ...
user156431's user avatar
2 votes
2 answers
7k views

How to fix yum error: No module named CElementTree?

I've the following problem with yum: $ yum There was a problem importing one of the Python modules required to run yum. The error leading to this problem was: No module named cElementTree Please ...
kenorb's user avatar
  • 6,759
8 votes
2 answers
44k views

a2ensite equivalent in CentOS

I already setup a conf for a site in the /etc/httpd/sites-available. However, I am wondering how can I enable this, like a2ensite in Debian, wherein the conf file will appear in the sites-enabled?
fishcracker's user avatar
3 votes
2 answers
3k views

OpenDKIM - cannot determine host's domain name, so skipping default key generation

I've just set up OpenDKIM on my CentOS 6 server but keep getting the following warning each time I start the service: Cannot determine host's domain name, so skipping default key generation. I have ...
Zishan Neno's user avatar
-4 votes
1 answer
541 views

Replace yum with apt on CentOS 5? [closed]

I used to have apt available on my CentOS server, but I had to reinstall and now I have yum. I've searched on how to replace it with no results. If anyone could help, thanks! I am on CentOS 5.9, if ...
alexpja's user avatar
  • 123
1 vote
1 answer
1k views

Centos 6.3 can't connect to ethernet

I've just installed Centos 6.3 and I'm having trouble with my eth0 connection. After I installed Centos 6.3 there was no ifcfg-eth0 file, so I made one. inside my eth0 file I have: DEVICE=eth0 ...
Jose Calderon's user avatar
3 votes
4 answers
9k views

How to completely remove New Relic application

My server is running Centos 5.8 64 bit and I installed New Relic a short while ago to try and solve a few performance issues - as the server is not especially high spec I found it used too much system ...
bhttoan's user avatar
  • 650
1 vote
3 answers
2k views

Configuring Iptables On CentOS 6 Locks Me Out

I'm running the following bash script as root to configure iptables (I'm logged in via SSH): #!/bin/bash # Delete all existing rules iptables --flush # Set default chain policies iptables -P INPUT ...
Jongosi's user avatar
  • 364
-3 votes
2 answers
2k views

CentOS 6.3 - Add IP's To Eth0?

How would I go about adding 3 IP's to my eth0. When I tried the following, the whole network crashed. ifconfig eth0 192.95.22.105 netmask 255.255.255.0 gateway 198.27.64.254 How would I go about ...
user156165's user avatar
0 votes
1 answer
409 views

Assigning two IPs to one NIC in CentOS

I have been following this method described here: http://linuxwave.blogspot.com/2010/01/setting-virtual-ip-in-centos.html To assign a virtual IP to one NIC. Basically I copied ifcfg-eth0 and makde ...
Shiroi98's user avatar
  • 283
8 votes
4 answers
22k views

Flush-0:n processes causing massive bottleneck

I have a LAMP cluster that shares files via NFS and occasionally one of them will be stricken for a while when mysterious flush processes start appearing. Can anyone help me? The only way to resolve ...
Tom's user avatar
  • 731
3 votes
2 answers
8k views

LINUX CENTOS 6.3 - 14:Pycurl Error 77 - Yum repository error

I have a new install of Centos 6.3 64 bit and receive this error when I try to do a yum erase of any httpd. Could not retrieve the mirrorlist http://mirrorlist.centos.org/?release=6&arch=x86_64&...
john's user avatar
  • 31
1 vote
1 answer
2k views

PHP script throwing syntax error after server move

I have just finished moving a WordPress site to a new server. Absolutely no changes have been made to the code, but when I try to view the site mod_fcgid: stderr: PHP Parse error: syntax error, ...
Sudowned's user avatar
  • 288
2 votes
1 answer
468 views

Uninstall Gitorious

I have installed Gitorious on my CentOS server but the ssh public key authentication method does not serve my purpose as most of the users are on Windows and will be using more than one computer. I ...
MEOW's user avatar
  • 21
2 votes
2 answers
25k views

How do I add an SSH key to my remote server? [closed]

I'm trying to set up a Cloud9 development environment on my CentOS virtual server using SSH but I can't figure it out. The instructions I'm trying to follow from Cloud9 are here: https://docs.c9.io/...
zscregan's user avatar
0 votes
1 answer
234 views

How to return a package to its original state

I'm running a CentOS 6 server with VirtualBox 4.2 Headless. Lately my virtualbox installation hasn't been running correctly. The problem is that, whenever I try to do something I get this error: [...
Chris Powell's user avatar
0 votes
2 answers
2k views

Postfix spam attack on Cent Os

Someone is using my server (probably from insecure form) to send out mass spam email. I had a look at mailq but I cannot seem to find out where to look in order to solve this issue. Is there a way ...
John Kim's user avatar
  • 153
0 votes
1 answer
398 views

upgrade php to 5.2 on centos 5

I'M triyng to upgrade php 5.1 to 5.2 on centos 5 following these directions. I enabled the centos-testing repo: But yum can't find any package to upgrade... rpm -qa |grep php php-mbstring-5.1.6-39....
user avatar
1 vote
1 answer
2k views

Connect KVM virtual network to internet

I have a CentOS server running KVM and need to connect a virtual network to the internet. The network must be routed or NATted, it must not be bridged (port security). If possible, I would like to ...
ssube's user avatar
  • 164
1 vote
0 answers
1k views

Unable to mount samba share

I'm using CentOS 5 and I'm trying to mount a share, but I continuously receive the same error. mount error: cifs filesystem not supported by the system mount error(19): No such device I have samba ...
user155548's user avatar
3 votes
1 answer
161 views

Puppet: Accessing var/val of more complex hieradata yaml files

I've been Googling around and haven't seen any examples of a more complex hieradata yaml config. Consider this: # /path/to/hieradata/vhost/config.yaml vhost_config_melikedev: port: 53002 ...
Mike Purcell's user avatar
  • 1,738
0 votes
2 answers
263 views

Is it "safe" to allow external access via SSH if authorized keys are required? [closed]

CentOS 6 | OpenSSH I have an external facing server and would like the convenience of being able to access it via my phone. The system itself is an island and has no association/connection to my ...
Mike B's user avatar
  • 12k
1 vote
0 answers
1k views

L2TP & IPSec (OpenSwan) on Centos time out when connecting

I'm having big trouble setting up a very simple VPN. Using Centos 6. My Server Address : 61.34.26.32 (fictive) Whenever I try to connect (from iPhone5 or MacOS X) i get a connection timeout. I ...
Disco's user avatar
  • 1,451
0 votes
1 answer
3k views

iptables returns me "no chain/target/match by that name"

Been trying to run iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o venet0:0 -j MASQUERADE and I keep getting the above error message. Trying to set up openvpn on my server. Does anyone have any ...
laurenceputra's user avatar
-1 votes
1 answer
169 views

Solving mysql 2003 error

Hi I've just created my new linux server and have yum installed various modules which all seem to be working ok now. My trouble comes from mysql. It's installed and running but when I and connect from ...
Richard Housham's user avatar
15 votes
4 answers
18k views

yumdownloader vs repotrack

I'm working on CentOS 6.3. Recently I come across repotrack from yum-utils. yumdownloader --resolve and repotrack looks very similar, but it looks like yumdownloader download only part of ...
dimba's user avatar
  • 293
4 votes
1 answer
2k views

yumdownloader downloads only i686 resolved rpms

Having CentOS 6.3 installed on x86_64. Below I'll demonstrate my problem using parted package. Running: yumdownloader --destdir=001 --assumeyes --resolve parted As a result downloaded the ...
dimba's user avatar
  • 293
2 votes
1 answer
458 views

Linux: md Software RAID array out of sync

We had a CentOS server report this software RAID issue via /etc/cron.weekly/99-raid-check WARNING: mismatch_cnt is not 0 on /dev/md2
objectoriented's user avatar

1
132 133
134
135 136
214