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
2answers
1k views

Disable SELinux in apache to stop warning

I keep getting this error when I restart httpd: DocumentRoot does not exist What else can I do besides disable editing /etc/sysconfig/selinux to fix it?
0
votes
4answers
7k views

HTTPd shows PHP code instead of executing it

My setup: # grep php /etc/httpd/conf/httpd.conf LoadModule php5_module modules/libphp5.so AddType x-httpd-php .php AddHandler php5-script .php # grep PHP /etc/httpd/conf/httpd.conf PHPIniDir ...
1
vote
1answer
110 views

mouse in midnight commander works only under root

I posted a question a little time ago about mouse that doesn't work with terminal, and then I remarked that mouse works fine, but only under root. Can I change this behavior? It seems i need to ...
1
vote
3answers
3k views

Slow start of Midnight Commander on CentOS

Is there any way to prevent mc from taking 10-30 seconds to open? Never seen this with Debian.
2
votes
1answer
586 views

can't connect to samba drive in centos 6.3

#smbclient //ballzdeep/torrents Server not using user level security and no password supplied tree connect failed: NT_STATUS_BAD_NETWORK_NAME Does this mean i need to require username and password ...
1
vote
2answers
2k views

Centos 6.3 can't resolve hostname of network drive while others can

I have a network drive (external network) being used as media storage for a media server running on my router. I'm trying to switch the media server to my Centos 6.3 machine so I can take advantage of ...
0
votes
1answer
600 views

how come has firebird-superserver stopped and how to prevent from happening again?

On a CentOS 6.2 x86_64 server I have an instance of Firebird 2.5 that suddenly stopped working. The last part of the /var/log/firebird/firebird.log is: cpc-5556l (Server) Fri Nov 30 10:12:03 ...
0
votes
0answers
287 views

How to stop mail with PHP error messages to root?

Today, my Centos has a problem. When I type df -h in SSH I get: /dev/vzfs 61G 61G 0.3G 99% / The disk is full. I found that /var/spool/mail/root is nearly 53GB. tail /var/spool/mail/root -n 50 ...
1
vote
1answer
325 views

Firewall/routing rule in Centos for this setup

I have two ethernet interfaces, namely eth0 and eth1. I want to implement an advanced routing rule but I am totally new to firewall/routing rules in CentOS. Here is what I am trying to do: Both my ...
2
votes
2answers
974 views

What is the process `sendmail`?

When I type top commond, I see many sendmail, what are these sendmail? I never set mail in my service. SER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 16110 root 17 0 234m 35m ...
1
vote
0answers
91 views

How to install master branch of freeradius on Centos

Could someone take me through the steps to install the master branch of freeradius on a fresh Centos 6 installation?
0
votes
2answers
2k views

SSH connection refused

I have a CentOS Linux server with a SSH connection. It works perfectly but from time to time, the server refuses the connection. If I reboot the server, I can SSH again. What could be wrong?
1
vote
2answers
199 views

Hot partition CentOS 6 and add boot pick?

I have an existing CentOS 6 installation working wonderfully and its owner now wants to add a separate Debian installation onto the same machine. He only accesses this host via the command line and ...
2
votes
2answers
3k views

Fatal error: Class 'HttpRequest' not found

Whilst trying to make this request I have this error. I have tried to run "sudo pecl install pecl_http" but always fails. Could not find curl/curl.h After I have tired(yum instead of apt-get ...
2
votes
1answer
283 views

SELinux - CentOSx86_64: User command limitation

SELinux - CentOSx86_64: User command limitation Is SELinux the right tool for this job? If so, what is the best way to do it? I would like to limit a particular user to only running some list of ...
2
votes
3answers
2k views

Combining Centos 6 ISO images

I was wondering if I can create a single ISO image by cating two DVD ISO images together. I have heard that this only works if the ISO is split into different parts and not two distinct ISO images, ...
3
votes
1answer
667 views

Problem with path MTU discovery over pppd

I'm having an issue with pppd doing PPPoE on CentOS 6.3. The CentOS system is a dedicated router/gateway which performs NAT (both directions) and various packet filtering. It has separate NICs for ...
5
votes
1answer
2k views

Global /etc/profile setenv or export overwriting user settings in .profile

I need to call a modified version of a program in /home/user_name/bin rather than the (older) version in /opt/program_name/current on a CentOS 5.3 cluster. The program creates a tcsh script using ...
8
votes
2answers
2k views

How can I disable TCP/IP for an Ethernet adapter?

I have CentOS 6.3 running in a (virtual) machine with two Ethernet adapters. I have eth0 connected to a TCP/IP LAN and eth1 connected to a DSL modem. The system is intended as a dedicated ...
6
votes
2answers
9k views

How do I copy a symbolic link?

I have a symbolic link to a file in one directory. I would like to have that same link in another directory. How do I copy a symbolic link? I tried to cp the symbolic link but this copies the file ...
1
vote
0answers
369 views

Editing isolinux leads to kernel panic error in Centos Live CD

I downloaded a CentOS Live CD and tried to customize features on it. The CD boots fine if I use it "as-is". If I edit "isolinux.cfg" to edit the change the title of the CD or the automatic boot time, ...
14
votes
2answers
10k views

In CentOS, what is the difference between yum update and yum upgrade?

What is the difference between yum update and yum upgrade, and when should I use one over the other?
3
votes
4answers
7k views

CentOS 6 - nameserver entry in resolve.conf resetting after restarting network services?

In /etc/resolv.conf, I've changed the nameserver line to a new IP address. After saving and exiting, I run service network restart. I then go open /etc/resolve.conf again and see that the IP address ...
0
votes
2answers
2k views

How to add an IP to hostname file

I have a Centos 5.8 server. How can I add my server IP address 192.168.20.254 so that it reflects when I run the command hostname -i At the moment the command only shows the loopback IP 127.0.0.1 and ...
0
votes
1answer
734 views

How to setup SVN over VPN?

I'm looking on how to implement a SVN connection over a VPN on my CentOs server. I need to see up this VPN to work with the team in the office from outside. required packages ( yum ... ) ...
1
vote
1answer
458 views

mouse in gnome-terminal

how to set up mouse in terminal window? when i click on midnight commander captions i get raw data from mouse printed as characters in terminal and any running progs don't understand mouses clicks. I ...
0
votes
1answer
411 views

Can't access /transmission

I have installed Transmission service on Centos. It is running. The problem is when I type myservername/transmission in my browser address it doesn't open. It was working before.
3
votes
2answers
11k views

No network connection in CentOS 6.3 Minimal under VMWare Player

I'm trying to replicate in VMWare Player the exact same conditions I have under my Dedicated Server for testing purposes. Now, the thing is that that when I try to install something, or ping ...
2
votes
1answer
2k views

Edit a file on CentOS 6.3 Minimal

I installed CentOS 6.3 Minimal on VMWare Player, and I realized how 'minimal' the setup is... Don't have network connectivity. From what I searched on google, I need to edit the file ...
2
votes
1answer
135 views

is it secure /not dangerous to ssh with keys through public transparent proxy?

I use pub key for ssh. Is it normal practice to connect to own server through public proxy? I think with plain pass it is surely dangerous but how about RSA keys?
1
vote
2answers
412 views

Installing RPMS on Centos

Is generally installing standalone rpms considered 'dangerous'? Are these affected by any system upgrades, package upgrades etc.? How about dependencies and libraries?
1
vote
1answer
1k views

Install Shutter on Centos

I'm trying to figure out a way to install shutter on Centos. Are there any repos somewhere?
3
votes
3answers
3k views

How to know CentOS version?

How to know version of a CentOS server without access to any graphical interface? I've tried several commands: # cat /proc/version Linux version 2.6.18-128.el5 (mockbuild@hs20-bc1-7.build.redhat.com) ...
1
vote
1answer
1k views

Why did yum-builddep not provide the dependencies to install my rpm?

I am trying to rum my rpm package but getting this dependencies error. [root@localhost ~]# rpm -ivh /root/x86_64/asterisk-1.8.12.2-1.fc15.x86_64.rpm error: Failed dependencies: ...
2
votes
1answer
672 views

Changing service startup order

I use wpa_supplicant to configure the wireless connection. Now I have a problem in that the network service starts before wpa_supplicant so this happens: Bringing up interface wlan0: Determining IP ...
0
votes
2answers
161 views

public key authentification doesn't pass, why?

I'm trying to connect to Server with ssh and id_rsa key. That key is only key in authorized_keys (just added with ssh-copy-id) When i do connect, server ask doesnt end with keys but always ask for ...
1
vote
2answers
5k views

tar: Unexpected EOF in archive

I am trying extract .tar.gz file it but with no luck gzip: stdin: unexpected end of file tar: Unexpected EOF in archive tar: Unexpected EOF in archive tar: Error is not recoverable: exiting now the ...
1
vote
2answers
1k views

Multiple gcc and linking between them

I'm running centOS 6.3 which comes with gcc 4.4.6 and I installed gcc 4.6.3 using these instructions. But when I type gcc -v it still says gcc 4.4 is the version I'm using. The newer version is under ...
1
vote
1answer
334 views

How can I configure postfix smtp per user?

I have previously used msmtp as my MDA. msmtp has a configuration file with username and password of the outgoing smtp server (eg gmail) stored in my home directory. I've recently changed ...
0
votes
2answers
2k views

How can I reinstall Network Manager after uninstalling it?

I am running a version of RHCE6 on my laptop, and lately I've been trying various stuff about network configuration through command line. Last night, I tried removing the NetworkManager using yum ...
1
vote
1answer
658 views

Unable to install CentOS in VirtualBox

I am trying to install CentOS 5.6 in My VirtualBox but I got this error on boot screen. Your CPU Does not support long mode : use a 32 bit Distribution My CPU is 64 bit I checked that using uname -a ...
1
vote
2answers
879 views

ffmpeg and libvpx: error while loading shared libraries

When I run ffmpeg I get the following error: /usr/local/bin/ffmpeg: error while loading shared libraries: libvpx.so.1: cannot open shared object file: No such file or directory Output of ls -l ...
1
vote
0answers
217 views

Set default Soundcard Centos

How do I set my default soundcard on Centos/Linux? I have two soundcards installed on my system and it always detects the wrong one, upon boot.
1
vote
0answers
114 views

Naming process in init scripts

I'm trying to write an init script that will start a service that needs to have started postgresql server before. Bellow is the postgresql's init header: #!/bin/sh # # postgresql This is the init ...
0
votes
3answers
2k views

CentOS Live CD won't install server

Sorry if this is a very nooby question, but it's my first time trying CentOS and I'm installing from Live-CD. I want to get a server up and running in VirtualBox but during installation no option for ...
5
votes
5answers
17k views

CentOS 6.3 Device eth0 does not seem to be present (Minimal non-cloned setup)

I installed CentOS 6.3 on my hardrive partition (new install...minimal install). After successful installation, I see that eth0 was down looked for 70-persistent-net.rules file under /etc/udev .. ...
4
votes
1answer
399 views

How to change the repository settings for yum installer?

I am pretty much new to Linux. I am trying to install tint2 on CentOS. When I try to install using the command yum install tint2, it gave following error checking for X11... configure: error: Package ...
2
votes
2answers
266 views

Missing dependency during rpm install

When I install CodeAnalsyt, i get a failed dependency on libbfd-2.20.51 on Centos 6.3. Binutils is installed on my system and the failed dependency does exists at ...
2
votes
2answers
4k views

CentOS 6 VSFTP 553 Could not create file

I installed vsftpd yesterday on CentOS 6, however didn't get a chance to test it today. When I went to upload a test file it's coming back and giving me this error: 553 Could not create file After ...
1
vote
0answers
361 views

RHN Satellite scout won't push

My RHN Satellite (Spacewalk) server is having issues with monitoring. The Spacewalk Monitor Scout will not push out successfully. It always stops with a Request Expired status. I can't seem to find ...