It is currently Thu May 02, 2024 9:37 am

News News of Server Side Actions

Site map of Server Side Actions » Forum : Server Side Actions

Here you can find tutorials and notes for server-side maintenance/configuration
Forum rules
All information is given AS IS

Roundcube: MySQL to SQLite

cPanel 11.25 introduces a new feature: The ability to have RoundCube use SQLite instead of MySQL. After benchmarking resource usage and performance, I’ve come to the conclusion that SQLite is definitely the best way to go for Roundcube. Having trouble making the decision? This article may help clear things up for you.

Here are the pro’s for running Roundcube over SQLite:

* SQLite is generally faster than MySQL
* Since the SQLite databases are stored ...
Read more : Roundcube: MySQL to SQLite | Views : 3223 | Replies : 0


Roundcube backup/logs location

Roundcube backups and logs can be found at the following directory on the cPanel-based server:
Code: Select all
ls -la /var/cpanel/roundcube

Simple way to list all the available backups in this directory is:
Code: Select all
find /var/cpanel/roundcube -maxdepth 1 -type f -name "roundcube.backup.sql*"


Via root SSH access, the following command may be used to monitor the Roundcube logs while sending a test message in attempt to trigger the issue (and to see the resulting error details that are logged):
tail ...
Read more : Roundcube backup/logs location | Views : 2749 | Replies : 0


Re-Install Auxiliary cPanel Software scripts

Cpanel has a lot of supporting software that you may be using on your server. In case something goes amiss, here is a list of scripts that reinstall cpanel-provided software on your system. For most all of these, you can pass a –force as an argument to force a reinstall of the application.

cPanel
Code: Select all
/scripts/upcp

MySQL
Code: Select all
/scripts/mysqlup

PostgreSQL
Code: Select all
/scripts/installpostgres

Roundcube
Code: Select all
/usr/local/cpanel/bin/update-roundcube

Horde
Code: Select all
/usr/local/cpanel/bin/update-horde

Squirrelmail
Code: Select all
/usr/local/cpanel/bin/update-squirrelmail

phpMyAdmin
Code: Select all
/usr/local/cpanel/bin/updatephpmyadmin

pureFTP
Code: Select all
/scripts/ftpup

Exim
Code: Select all
/scripts/eximup

Courier IMAP
Code: Select all
/scripts/courierup

Dovecot ...
Read more : Re-Install Auxiliary cPanel Software scripts | Views : 2740 | Replies : 0


Install recent ImageMagick on Centos5

ImageMagick® is a software suite to create, edit, and compose bitmap images. It can read, convert and write images in a variety of formats (over 100) including DPX, EXR, GIF, JPEG, JPEG-2000, PDF, PhotoCD, PNG, Postscript, SVG, and TIFF. Use ImageMagick to translate, flip, mirror, rotate, scale, shear and transform images, adjust image colors, apply various special effects, or draw text, lines, polygons, ellipses and Bézier curves.

You may find changelog at:
http://www.imagemagick.org/script/changelog.php

Let`s begin ...
Read more : Install recent ImageMagick on Centos5 | Views : 6323 | Replies : 1




Countries IP blocks

Read more : Countries IP blocks | Views : 2339 | Replies : 0


Horde Net_SMTP::getGreeting() warning

During email sending via web mail client Horde you may receive the following warning message:
Fatal error: Call to undefined method Net_SMTP::getGreeting() in
/usr/local/cpanel/3rdparty/lib/php/Mail/smtp.php on line 316

To get rid of this warning one should update PHP pear class Net_SMTP for cPanel`s PHP to the latest version.
# /usr/local/cpanel/3rdparty/bin/pear list

Installed packages, channel pear.php.net:
=========================================
Package Version State
Archive_Tar 1.3.2 stable
Auth_SASL 1.0.2 stable
Console_Getopt 1.2.3 stable
DB 1.7.13 stable
Date 1.4.7 stable
File 1.3.0 ...
Read more : Horde Net_SMTP::getGreeting() warning | Views : 3426 | Replies : 0


Centos 5 reiserfs support in default kernel

Apparently the Out of the box CentOS kernel doesn't support reiserfs and a whole bunch of things. The support for ReiserFS will be built into the CentOS Plus kernel, but the centos plus for CentOS 5 isn't populated.

The CentOSPlus repository contains packages that are upgrades to the packages in the CentOS base + CentOS updates repositories. These packages are not part of the upstream distribution and extend CentOS's functionality at the expense of upstream ...
Read more : Centos 5 reiserfs support in default kernel | Views : 2759 | Replies : 0


File Manager (HTML Editor) Session Expired Problem

Here are the possibles solutions to it.

1) Confirm that session.save_path is set as /tmp in /usr/local/lib/php.ini

2) /tmp has correct permission and is writable

3) session.gc_maxlifetime is set as 14400

4) session.bug_compat_42 is turned off

5) If none of the above works, try the following.

touch /var/cpanel/usecpphp

The presence of that file causes cpsrvd to use a non-system PHP provided by cPanel.

http://docs.cpanel.net/twiki/bin/view/A ... srvdAndPhp
Read more : File Manager (HTML Editor) Session Expired Problem | Views : 1869 | Replies : 0


Customize Apache2 Mod_Bwlimited Module Error Message

First, Login to your server through ssh and backup the following files, just in case you need to restore them later.

Code: Select all
/home/cpeasyapache/src/mod_bwlimited.c
/usr/local/apache/modules/mod_bwlimited.so


To make a backup of these files, execute the following commands.
Code: Select all
cp -Rpf /home/cpeasyapache/src/mod_bwlimited.c /home/cpeasyapache/src/mod_bwlimited.c.bak
cp -Rpf /usr/local/apache/modules/mod_bwlimited.so /usr/local/apache/modules/mod_bwlimited.so.bak


Now that we have the backups, it’s time to modify the mod_bwlimited.c file.

Go to the cpeasyapache source directory.

Code: Select all
cd /home/cpeasyapache/src


Open the mod_bwlimited.c using your favorite ...
Read more : Customize Apache2 Mod_Bwlimited Module Error Message | Views : 2124 | Replies : 0


 

Login


Statistics

Total posts 505 • Total topics 442 • Total members 22

cron