![]() |
||
The Crucial Blog - Archive February 18, 2008
Problems Logging into Horde – cPanelWhen you are having problems logging into Horde on cPanel, and just keep getting the same login page over and over again. This is usually due to the horde_sessionhandler table being corrupt in the Horde database. You can usually fix the issues with logging into Horde by doing one of the following steps: 1. In MySQL try: repair table horde_sessionhandler; If this does not fix the issue, try the following: 2. In MySQL delete, and recreate the horde_sessionhandler table as follows: drop table horde_sessionhandler; CREATE TABLE horde_sessionhandler (session_id VARCHAR(32) NOT NULL, session_lastmodified INT NOT NULL, session_data LONGBLOB,PRIMARY KEY (session_id)) ENGINE = InnoDB; GRANT SELECT, INSERT, UPDATE, DELETE ON horde_sessionhandler TO horde@localhost; FLUSH PRIVILEGES; Hope this helps! Tags: cpanel, horde, mailNo Comments Filed under: Uncategorized by — aaron @ 10:08 pm February 17, 2008
Resetting lost root password in Debian serverIn Debian getting into just the single user mode may not allow you to reset the root password. It might prompt you with the following question ‘Give root password for maintenance (or Control-D to continue)’ . Don’t worry, reboot the server. (1) At grub boot screen, select the kernel and press ‘e’ to edit the entry. (2) Another list will show up. Scroll down and pick from the list something that looks like this (or something similar): kernel /vmlinuz-x.x.x-x.x ro root=/dev/abc/ (3) Type ‘e’ again to edit this line. Make sure that you press the space bar and add the following: init=/bin/bash (4) Then press enter. The line should look something like this then: kernel /vmlinuz-x.x.x-x.x ro root=/dev/abc/ init=/bin/bash (5) Press ‘b’ to boot. This will take you into a bash terminal. From there you’ll have to mount your hard drive and allow for read/write permissions. (6) mount -o remount,rw / You need to do this because / is currently mounted read-only and many disk partitions might have not been mounted yet. Or If you have to see the mount details. Type the command mount It should come up with something like, for /: /dev/abc (rw) It looks like it’s already set for read/write permissions, but it’s not (just try and reset the password with the passwd command and see what happens). To mount it again type the following command: mount -o remount,rw /dev/abc / (7) Now you should be able to change the root password by issuing the following command: passwd (8) After the password has been reset, type ‘reboot’ and reboot the server. The job is done Note: For LILO: (1) As the server reboots, you might have to hold in the “shift” key to see the lilo: prompt (depending on the setup) (2) At the lilo boot screen, as soon as ‘boot:’ appears enter: boot: Linux init=/bin/bash This causes the system to boot the kernel and run /bin/bash instead of its standard init. Follow the same procedure of remounting slash as with GRUB. Tags: debian, linux, system administration(1) Comment Filed under: Uncategorized by — aaron @ 2:39 pm February 13, 2008
Installing Subversion Using yum on CentOS 5 (Error: Missing Dependency: perl(URI) >= 1.17 is needed by package subversion)While attempting to install Subversion via yum today, I received the following error: [root@sXXX ~]# yum install subversion Steps to resolve this: 1. Download the perl(URI) with version greater than 1.17 using the following command. wget http://fr.rpmfind.net/linux/fedora/core/3/x86_64/os/Fedora/RPMS/perl-URI-1.30-4.noarch.rpm 2. Install the specified package using the follwing command. rpm -i perl-URI-1.30-4.noarch.rpm 3. Install subversion using “yum”. yum install subversion [root@sXXX ~]# svn help Most subcommands take file and/or directory arguments, recursing Available subcommands: Subversion is a tool for version control. No Comments Filed under: Uncategorized by — aaron @ 7:17 pm February 13, 2008
error: xenconsole: Could not open tty `/dev/pts/2′: No such file or directoryError: xenconsole: Could not open tty `/dev/pts/2′: No such file or directory If you come across this error when using xm console, then you can do the following: In that case, make sure that xenconsoled is running. ps aux |grep xenconsoled If is not running, just execute xenconsoled Now you should be able to login to the VPS using xm console. What is xenconsoled? xenconsoled is the daemon which enables you to console into each virtual server on a Xen host. Tags: hypervm, vds, virtual dedicated servers, xenNo Comments Filed under: Uncategorized by — aaron @ 6:58 pm February 13, 2008
cPanel – Hostname A Entry Missing!This is common error on new cPanel/WHM servers or virtual dedicated servers (VDS): Once you get the POP-UP window for the error, add the ‘Hostname A Entry’ by clicking the ‘Add’ button in the POP-UP, after verifying the IP address details that it shows. This should be done just once. This error message will keep coming up until the hostname of the server has started resolving to the correct IP address and the DNS propagation has been completed. It seems like WHM doesn’t take into account the /etc/hosts entry. Tags: cpanel, dns, hostname, servers, virtual dedicated servers, whm(1) Comment Filed under: Uncategorized by — aaron @ 6:53 pm |
Tag Cloud
centos
firewall
wordpress
esxi
gentoo
virtual dedicated servers
lxlabs
debian
microsoft
php
fedora
cpanel
cisco
apache
storage
ssh
webmin
centos5
windows 2008 server
windows server
servers
yum
mail
subversion
virtualization
lxadmin
system administration
vps
security
fantastico
xen
ruby-on-rails
linux
networking
XenServer
joomla
control panels
ubuntu
raid
vmware
windows
server-administration
exchange
vds
hypervm
|
|
Quick Links: Debian Dedicated Servers, Direct Deposit Hosting, Unmetered Dedicated Servers, Virtual Dedicated Servers, Windows Server Management, High Traffic Web Hosting - Load Balanced Clusters, Windows 2008 Server Virtual Dedicated Servers
© Copyright 2003-2008
Crucial Paradigm
ABN 97 125 618 662