CentOS stands for Community ENTerprise Operating System, the most popular Linux distribution for web servers with almost 30% of all servers using it. Third-party software is not included in the base.

learn more… | top users | synonyms

1
vote
1answer
228 views

Why crontab command is not available to me even I am root

I am using the CentOS release 6.3 (Final). My problem is that even I have logged in as a root to my centos server through ssh crontab command is not available to me . I got the following when ever ...
1
vote
2answers
2k views

Issue with CentOS 6.4 – NX Client/OpenNX and keyboard configuration

since CentOS 6.4 was released yesterday, I started doing testing with it and found a weird issue, so I ask here in case somebody else can help me with a solution. My setup Linux CentOS 6.3 Server + ...
0
votes
1answer
641 views

CentOS 6.3 x86_64, 3.3GB memory available, 4GB memory installed

I've searched serverfault and found this question: Linux x86_64 reports 3.2G of memory instead of 4G But my problem is slightly different from that one. I've checked my BIOS. I didn't find the Memory ...
2
votes
2answers
3k views

Simplest way to check for dynamic IP change

What would be the easiest way to find, with a script, if my IP address has changed? Background info: I have a standard home cable modem connexion, and my ISP assigns me a dynamic IP. It changes ...
0
votes
2answers
413 views

Can CentOS deny SSH access to everyone but my IP?

I was wondering how I could deny all SSH logins from any IP but mine? This would be using IPTables.
8
votes
3answers
4k views

I can't open phpMyAdmin, get error 301 or 500

I've installed phpMyAdmin, but I can't open it on any browser: I get a 301 redirect(*) if I browse to http://localhost:8080/phpmyadmin. If I add a / to the end of the addres, I get a 500 error status ...
1
vote
1answer
426 views

restart tomcat server as non-root

info: Apache Tomcat/6.0.36 CentOS 2.6.32-279.14.1.el6.x86_64 Is it possible? I heard from someone that an older version of tomcat had a manager tool that allowed non-privileged users to restart the ...
4
votes
3answers
7k views

How do I setup reverse dns for my IP?

I want the results of nslookup MyIP to give my fully qualified domain name instead of the name u123123123.online-servers.com which is setup by default by my host provider, how do I do that?
0
votes
1answer
4k views

Converting from MXF to MPEG format with FFmpeg

We're trying to convert .mxf video to .mpeg on ffmpeg-0.9.2 and looks like 0.9.2 version doesn't support .mxf conversion to .mpeg. We don't want to switch on latest 0.11 version of ffmpeg as the ...
3
votes
1answer
4k views

CentOS: Yum Dependency Problems

I am trying to install fail2ban on CentOS but I can't figure out why it won't install: [root@server ~]# yum install fail2ban Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile ...
0
votes
2answers
154 views

How to SSH multiple service with a for in SHELL?

I would like to access some server via SSH, run some commands and exit. Do this for lots of servers. I know I can do this for one machine only, with this script : ssh **IP** << EOF chown -R ...
1
vote
1answer
956 views

“command not found” after editing /etc/profile

I followed this tutorial to add a JAVA variable for all users. I then opened the editor that my hosting service supplies and added the last 2 lines. Centos 5.9 server. # /etc/profile # System wide ...
2
votes
0answers
288 views

How do I install sass on centos 5.9 with ruby 1.8.7?

I have CentOS 5.9 on an x86_64. I've installed ruby 1.8.7. Whenever I try to install sass I get an Error saying sass requires Ruby version >= 1.8.7. but that's what I have installed. This is the ...
0
votes
1answer
387 views

Setup SSHd on port 522 on CentOS 6.3 (x64)

I currently run a server with SSH on a non-standard port for security reasons. That was 522 on CentOS 5, but CentOS 6 doesn't (easily) allow SSH to run on any port below 1024, other than 22 ...
1
vote
1answer
558 views

Can't Install Python 2.7.3 on CentOS 6

I have a CentOS 6 (minimum install or netinstall, I can't remember which) on a virtual machine. I'm trying to install Plone 4.2.4 on it for testing purposes. I have installed all the required ...
1
vote
2answers
3k views

How create a service correctly?

Here it's what I do: 1) create an user some_deployer 2) then create a folder to script like /company/script/<service name> 3) in this folder I create the start.sh and stop.sh scripts and ...
0
votes
1answer
114 views

XServer not working

After I remove the perl.i386 using yum remove, Centos 5.4 upon boot cannot start the XServer. How can I configure XServer to get it working? How can I add the other remove packages?
0
votes
1answer
222 views

Issue after removing perl.i386 package

I am using CentOS and I have tried to remove Perl from my machine to re-install it. For that, I have used 'Yum remove perl.i386' . But it results in the removal of other packages including Graphics. ...
0
votes
0answers
177 views

Error in Perl installation

I have removed the pre-installed Perl and am trying to re-install it. But when I open a file with vim, I get an error like: error while loading shared libraries: libperl.so: cannot open shared ...
2
votes
0answers
557 views

CentOS Freezes on Startup

I'm very new to Linux, so please go easy! I created a Linux install on VMWare Workstation 8 in order to install a piece of software called OpenClinica. The program is Java based and depends on ...
1
vote
4answers
4k views

CentOS installing jre/jdk error

[root@jony source]# sh run.sh Error occurred during initialization of VM Could not reserve enough space for object heap Error: Could not create the Java Virtual Machine. Error: A fatal exception has ...
2
votes
1answer
520 views

How do I list all the files not owned by any package in a RPM-based system?

I want to look for files polluting an old CentOS system in my company. Is there an easy way to do that?
1
vote
2answers
431 views

Possible to use “screen” over SSH in script?

I am having this interesting problem, where I would like to start this command nc -l 8023 | zfs receive tank3/pro1 on a remote host 10.10.10.11. If I run ssh -n 10.10.10.11 'nohup nc -l 8023 | ...
3
votes
2answers
4k views

Which binary clang version I should use for CentOS

Based on http://llvm.org/releases/download.html Clang Binaries for FreeBSD9/x86_64 (69M)(.sig) Clang Binaries for Ubuntu-12.04/x86 (67M)(.sig) Clang Binaries for Ubuntu-12.04/x86_64 (71M)(.sig) ...
0
votes
1answer
1k views

How do I downgrade php from 5.4 to 5.3 in CentOS?

I have a webserver running CentOS 6. Yesterday, I installed php-gd with yum install php-gd because I couldn't see graphics on my website. However, when I see my php version, it changed from 5.3 to ...
0
votes
1answer
330 views

how to fix when deleted folder /var/lib/* centos 6

unfortunately, I deleted folder /var/lib/* in centos 6 how to recovery folder /var/lib/* in centos 6 Plz help me
0
votes
1answer
1k views

Unable to build Awstats report - permission denied on awstats.pl

I just installed a fresh copy of Awstats 7.1 on my server running CentOS 6.3 and nginx. When I try to run this command to generate the report: /usr/local/awstats/tools/awstats_buildstaticpages.pl ...
0
votes
1answer
1k views

Internet access ok on host, fails from guest unless host is using VPN

I have a Vagrant-provisioned CentOS guest on an Ubuntu host. Internet access from host is absolutely fine. But Internet access from guest often fails unless host is using VPN. For example: Host ...
1
vote
1answer
4k views

BIND named… unknown host

I have a very basic home network: A CentOS 6.3 server (storage, DNS, httpd, etc), a desktop, several laptops. I was running an old version of CentOS on the server for a long time (5.4 or something) ...
1
vote
1answer
144 views

Running multiple vsftpd daemons with multiple PAM files

If I am running multiple vsftpd daemons on a single machine, is it possible to specify the pluggable authentication module for each one? In other words, can two vsftpd server instances run on ...
2
votes
1answer
121 views

How to run designer software

I've installed Centos not so long ago, installed it both with KDE and Gnome. Also installed NVidia drivers. So I have no idea which Linux Distro is good, but I like CentOS, sometimes embarrassed with ...
0
votes
0answers
23 views

HTTPD and MYSQLD

I have to restart HTTPD and MYSQLD everytime I boot CENTOS 6.0. This wasnt the case earlier (in the earlier installation). Please help.
0
votes
2answers
197 views

Any way to share a once-off ssh session like TeamViewer/VNC without creating a user?

Hi, I would like to trial some dev ops/sysads/db admins but I don't want to give them the keys to the kingdom until they've proven their skillz. I'd like something analgous to TeamViewer in the ...
0
votes
2answers
514 views

Why am I getting “No such file or directory” after install?

If I command convert --version it shows this. bash: /usr/bin/convert: No such file or directory All what I did was this 1. $ wget ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick.tar.gz 2. $ ...
3
votes
1answer
5k views

How can I remove “ImageMagick” completely?

I think I accidently did install 2 ImageMagicks to my CentOS 5.8 before. Version 6.2.8 was removed by yum erase ImageMagick However, it still shows this when I typed $convert -version Version: ...
1
vote
1answer
2k views

How to remove perl script process taking up CPU

I've got a process running on my server (CentOS 5.2) that is taking up 99-100% of my CPU. The ps command reveals the name fakeproc as follows: 30571 ? R 3620:06 fakeproc Running top ...
1
vote
1answer
1k views

Installing PHP 5.4 on CentOS 6

I want to update my CentOS 6 PHP version from 5.3 to 5.4 so I tried this guide: http://www.webtatic.com/packages/php54/ But after running yum install php54w I get this: Setting up Install Process No ...
0
votes
2answers
2k views

YUM Update error

I got a virtual machine with CentOS 6 on it. I've tried to run yum update, but I got this error: http://mirror.centos.org/centos/6/addons/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The ...
0
votes
2answers
51 views

None of my directories are writable

Argh help lol I have ran a chown command (silly me) which I did not fully understand now when I connect via filezilla and try do anything write/delete files/directories I get Error: mkdir ...
4
votes
3answers
5k views

Why can't I sudo some commands? (e.g., vim)

I have sudo access on my friends server, running centos-6.3, but when I try to run some commands like sudo vim /var/www/html/index.html I get an error sudo: vim: command not found I can, however, run ...
3
votes
3answers
10k views

Boot to Live CD with VMWare

I have a CentOS6 virtual machine running on VMWare Workstation 7 and I need to boot to a LiveCD to increase my disk size. My problem is that I cant get the VM to boot to the ISO. It always boots to ...
1
vote
2answers
535 views

ata failed command: READ DMA on virtualized hard drive under ESXi

I've got a CentOS 6 webserver running in a VM on ESXi 5. After about 133 days of uptime I rebooted it. Now it won't boot. It hangs here for a while: Then finally: If this were a real hard drive, ...
5
votes
1answer
12k views

How to completely uninstall a package (including all extra files that came with it) using yum (or rpm)?

When I do yum remove, it sometimes keeps a package's configuration files. Is there anyway to remove a package completely, without keeping any file that belonged to the package? I am running CentOS.
1
vote
0answers
165 views

how to use Environment Modules without root

For some reason, I have a hard time finding a tutorial on how to manage user software install with Environment Modules (http://modules.sourceforge.net/) without root. the closest thing is ...
0
votes
1answer
1k views

CentOS 6 sshd: Logging in works, but still claims “access denied”

I have just installed a plain CentOS 6.3 system. I enabled sshd, and try to connect with Putty. This works, but here is what I get: login as: user Access denied user@192.168.1.7's password: Last ...
0
votes
0answers
1k views

Disable reverse DNS lookup in SSH Client

I was trying to avoid the reverse dns lookup by the ssh client. But I can not use the UseDNS option since it requires file modification to /etc/ssh/sshd_config which I'm not privileged to do. Tried ...
0
votes
1answer
66 views

I need some guidance on what to do next with my server

I have a server with the following specifications: HP DL180 G6 2 x Intel Quad-Core Xeon E5620 8GB RAM 4 x 2TB Hard drives running in a RAID10 NGINX running as download webserver It is connected at ...
0
votes
0answers
174 views

Permission denied httpd webrequest to perl

Sorry for the somewhat confusing title, and my lacking English. Now we have that out of the way my question: I have httpd - Apache/2.2.15 on a CentOs virtual machine. This is running Seccubus, with ...
0
votes
1answer
223 views

PPTP daemon client cannot download full web pages

I have a PPTP daemon V1.3.4 running on a CentOS server. My client connections come from both Linux and Windows machines. When PPTP connection is active, the clients are unable to download full web ...
1
vote
0answers
187 views

Using NTPD as a client on Cent OS without Undisciplined Local Clock any disadvantage?

The following is the NTP configuration. My server is a physical system, not a virtual machine. The following ntp-4.2.2p1-15.el5.centos rpm I am using. tinker panic 0 restrict default kod nomodify ...