Crucial Paradigm

Call us now 1300 884 839

Member Login
Australia USA

Location: Australia

Crucial Feature 01 Crucial Feature 02 Crucial Feature 03 Crucial Feature 04

Crucial Paradigm Australia Official Blog

RSS Feed

centos

cPanel: FATAL! Failed to properly update /scripts

March 12, 2010

If you are getting an error something along this lines of the following:

-bash-3.2# sh ./latest
Creating directory installd
Verifying archive integrity… All good.
Uncompressing cplyr1-cPanel………………………………………………………………………………………………..
____ _
___| _ \ __ _ _ __ ___| |
/ __| |_) / _` | ‘_ \ / _ \ |
| (__| __/ (_| | | | | __/ |
\___|_| \__,_|_| |_|\___|_|

Installer Version 11.25.0 r176

Ensuring system time is set
Updated system time from rdate.cpanel.net: Fri Mar 12 04:54:26 UTC 2010
Verified directory /scripts exists.
Verified directory /scripts/cPScript exists.
Verified directory /usr/local/cpanel exists.
Verified directory /usr/local/cpanel/logs exists.
Verified directory /usr/local/cpanel/Cpanel exists.
Verified directory /var/cpanel exists.
cPanel configuration /var/cpanel/cpanel.config already exists.
Syncing /scripts
Unable to sync: $! at ./updatenow line 38.
Done syncing /scripts
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
FATAL! Failed to properly update /scripts
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-bash-3.2#

Make sure you have install rsync, and perl. You can do this by doing:

yum install rsync perl -y


No Comments

How to list installed packages with yum

December 21, 2009

You can list installed packages with yum by running the following command:

yum list installed


No Comments

How to find out which version of Linux you are running.

November 30, 2009

How many times have you logged into a server, and need to find out which exact version of the operating system you are running (Linux).

These commands will give you some details:

lsb_release -a
uname -a
cat * /etc/*release*


No Comments

How to install ntop using yum – the easy way!

November 20, 2009

Rather than building from source, there is a much quicker way of installing ntop on CentOS 5 or RHEL. You can do it via yum! Just add the following file: /etc/yum.repos.d/dag.repo:

[dag]
name=Dag RPM Repository for Red Hat Enterprise Linux
baseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag
gpgcheck=1
gpgkey=http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt
enabled=1

Then just run:

yum install ntop -y


No Comments

ntop installation error: configure: error: cannot find macro directory `m4′

November 20, 2009

If you receive this error while trying to install ntop:

configure: error: cannot find macro directory `m4′

Try creating the directory m4 in the ntop installation directory:

mkdir m4


No Comments

How to install rrdtool using yum

November 20, 2009

Rather than building from source, there is a much quicker way of installing rrdtool on CentOS 5 or RHEL. You can do it via yum! Just add the following file: /etc/yum.repos.d/dag.repo:

[dag]
name=Dag RPM Repository for Red Hat Enterprise Linux
baseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag
gpgcheck=1
gpgkey=http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt
enabled=1

Then just run:

yum install rrdtool


No Comments

-bash: ./configure: No such file or directory

November 19, 2009

Have you encountered the following error while trying to compile applications from source on your VPS or server?

-bash: ./configure: No such file or directory

To fix this on CentOS, just install make:

yum install make


No Comments

How to create a new partition on a Linux Server

November 18, 2009

This article describes how to configure a new partition from free space on a dedicated server, or a virtual machine with full virtualization (such as VMware or XenServer):

  1. Verify the partitions available on the server: fdisk -l
  2. Choose which device you wish to use (such as /dev/sda or /dev/sdb)
  3. Run fdisk /dev/sdX (where X is the device you would like to add the partition to)
  4. Type ‘n’ to create a new partition.
  5. Specify where you would like the partition to end and start.  You can set the number of MB of the partition instead of the end cylinder.  For example:  +1000M
  6. Type ‘p’ to view the partition, and type ‘w’ to save the partition
  7. Run the command ‘partprobe’ to have the OS detect the new partition table.  If it still does not detect the partition table, you might need a reboot.
  8. Format the partition by doing:  ‘mke2fs -j /dev/sdaX’ – where X is the number of the partition you have created.
  9. Create a directory where you wish to mount the new drive, for example: /newpartition.  ‘mkdir -p /newpartition’
  10. To mount, you can use the following command: ‘mount /dev/sdaX /newpartition’
  11. If you would like the drive to be mounted automatically each time you boot, add the following to /etc/fstab: ‘/dev/sdaX /newpartition ext3 defaults 1 2′

Make sure you have backups before you perform any formatting, or creating new partitions!


No Comments

How to install lm sensors on Centos 5

November 6, 2009

This is a the quick easy way to get lmsensors installed on your server (without having to compile kernel modules, etc):

  1. Run: yum install sensor
  2. Run: sensors-detect (to configure sensor automatically)
  3. Run: restart senors
  4. sensors

With lm_sensors you can view system temperature, fan speeds, voltages, etc.  Its a great way to monitor some of the finer aspects of your server.


No Comments

Very Funny: Government Deparment’s and IT.

June 2, 2008

Its an old article, but very fun nonetheless.  Came across it a few days, and had be laughing for ages: http://www.centos.org/modules/news/article.php?storyid=127


No Comments

Authors

Copyright 2003-2010 © Crucial Paradigm Pty Ltd, All Rights Reserved