home   |   about us   |   our network   |   services   |   affiliates   |   contact
 
Services
» Web Hosting
» Reseller Hosting
» Dedicated Servers
» Windows/ASP.net Hosting
» Managed Web Hosting
» Server Security / Auditing
» Remote Backup / Storage
» Linux VDS
» Windows VDS
 
Support
» Support Desk
» Client Login
» Forums
» FAQs
» Help Files
» Acceptable Use Policy
» Client Testimonials
» Blog
 
Tutorials
» Dedicated Server Tutorial
» Website Optimization
» Search Engine Optimization
» Web Hosting Tutorials
» Web Programming Tutorials
» Networking Tutorials
» Virtual Server Tutorials
» Resources

The Crucial Blog - Archive

February 18, 2008

Problems Logging into Horde – cPanel

When you are having problems logging into on , 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: , ,

No Comments

Filed under: Uncategorized by — aaron @ 10:08 pm


February 17, 2008

Resetting lost root password in Debian server

In 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: 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: , ,

(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 via today, I received the following error:

[root@sXXX ~]# yum install subversion
Loading “installonlyn” plugin
Setting up Install Process
Setting up repositories
extras 100% |=========================| 1.1 kB 00:00
updates 100% |=========================| 951 B 00:00
base 100% |=========================| 1.1 kB 00:00
addons 100% |=========================| 951 B 00:00
Reading repository metadata in from local files
Excluding Packages in global exclude list
Finished
Parsing package install arguments
Resolving Dependencies
–> Populating transaction set with selected packages. Please wait.
—> Downloading header for subversion to pack into transaction set.
subversion-1.4.2-2.el5.i3 100% |=========================| 42 kB 00:00
—> Package subversion.i386 0:1.4.2-2.el5 set to be updated
–> Running transaction check
–> Processing Dependency: libaprutil-1.so.0 for package: subversion
–> Processing Dependency: perl(URI) >= 1.17 for package: subversion
–> Processing Dependency: libneon.so.25 for package: subversion
–> Processing Dependency: libapr-1.so.0 for package: subversion
–> Restarting Dependency Resolution with new changes.
–> Populating transaction set with selected packages. Please wait.
—> Downloading header for apr-util to pack into transaction set.
apr-util-1.2.7-6.i386.rpm 100% |=========================| 7.3 kB 00:00
—> Package apr-util.i386 0:1.2.7-6 set to be updated
—> Downloading header for neon to pack into transaction set.
neon-0.25.5-5.1.i386.rpm 100% |=========================| 6.7 kB 00:00
—> Package neon.i386 0:0.25.5-5.1 set to be updated
—> Downloading header for apr to pack into transaction set.
apr-1.2.7-11.i386.rpm 100% |=========================| 10 kB 00:00
—> Package apr.i386 0:1.2.7-11 set to be updated
–> Running transaction check
–> Processing Dependency: libpq.so.4 for package: apr-util
–> Processing Dependency: perl(URI) >= 1.17 for package: subversion
–> Restarting Dependency Resolution with new changes.
–> Populating transaction set with selected packages. Please wait.
—> Downloading header for postgresql-libs to pack into transaction set.
postgresql-libs-8.1.11-1. 100% |=========================| 16 kB 00:00
—> Package postgresql-libs.i386 0:8.1.11-1.el5_1.1 set to be updated
–> Running transaction check
–> Processing Dependency: perl(URI) >= 1.17 for package: subversion
–> Finished Dependency Resolution
Error: Missing Dependency: perl(URI) >= 1.17 is needed by package 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//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
You should now have successfully installed Subversion:

[root@sXXX ~]# svn help
usage: svn [options] [args]
Subversion command-line client, version 1.4.2.
Type ‘svn help ‘ for help on a specific subcommand.
Type ‘svn –version’ to see the program version and RA modules
or ‘svn –version –quiet’ to see just the version number.

Most subcommands take file and/or directory arguments, recursing
on the directories. If no arguments are supplied to such a
command, it recurses on the current directory (inclusive) by default.

Available subcommands:
add
blame (praise, annotate, ann)
cat
checkout (co)
cleanup
commit (ci)
copy (cp)
delete (del, remove, rm)
diff (di)
export
help (?, h)
import
info
list (ls)
lock
log
merge
mkdir
move (mv, rename, ren)
propdel (pdel, pd)
propedit (pedit, pe)
propget (pget, pg)
proplist (plist, pl)
propset (pset, ps)
resolved
revert
status (stat, st)
switch (sw)
unlock
update (up)

Subversion is a tool for version control.
For additional information, see http://subversion.tigris.org/

Tags: , , , ,

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 directory

Error: 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 host.

Tags: , , ,

No Comments

Filed under: Uncategorized by — aaron @ 6:58 pm


February 13, 2008

cPanel – Hostname A Entry Missing!

This is common error on new / or virtual dedicated ():

Once you get the POP-UP window for the error, add the ‘ 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 propagation has been completed.

It seems like WHM doesn’t take into account the /etc/hosts entry.

Tags: , , , , ,

(1) Comment

Filed under: Uncategorized by — aaron @ 6:53 pm




     

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