It is currently Wed May 08, 2024 5:21 am

News News of Lik`s forum

Site map of Lik`s forum » Forum : Lik`s forum

cPanel/WHM/OpenVZ/Xen/Linux/IPMI Lik`s forum

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 : 3427 | Replies : 0 | Forum : Server Side Actions




SMART basics

SMART basics

SMART is the abbreviation for "Self Monitoring And Reporting Technology". It is a standard interface protocol and set of the disk features that allows disk to check its status and report it to a host system. SMART information consists of "attributes", each one describing some particular aspect of drive condition. Some attributes may be designated "life-critical", which implies that the corresponding parameters are more important than other ones.

Three values are associated with ...
Read more : SMART basics | Views : 2758 | Replies : 0 | Forum : Linux specific


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 : 2760 | Replies : 0 | Forum : Server Side Actions


Make an ISO Image

To make an ISO from your CD/DVD, place the media in your drive but do not mount it. If it automounts, unmount it.
Code: Select all
dd if=/dev/dvd of=dvd.iso # for dvd
dd if=/dev/cdrom of=cd.iso # for cdrom
dd if=/dev/scd0 of=cd.iso # if cdrom is scsi

To make an ISO from files on your hard drive, create a directory which holds the files you want. Then use the mkisofs command.
Code: Select all
mkisofs -o /tmp/cd.iso /tmp/directory/

This results in ...
Read more : Make an ISO Image | Views : 2600 | Replies : 0 | Forum : Linux specific


Common vi commands

Common vi commands

Image
Read more : Common vi commands | Views : 2565 | Replies : 0 | Forum : Linux specific




How to extract an RPM package without installing it

As the name implies, rpm2cpio takes an RPM package file and converts it to a cpio archive. Because it's written to be used primarily as a filter, there's not much to be specified. rpm2cpio takes only only one argument.

Code: Select all
rpm2cpio php-pdo-5.1.6-24.el5_4.5.i386.rpm| cpio -idmv

./etc/php.d/pdo.ini
./etc/php.d/pdo_sqlite.ini
./usr/lib/php/modules/pdo.so
./usr/lib/php/modules/pdo_sqlite.so
202 blocks


Output of rpm2cpio piped to cpio command with following options:
i: Restore archive
d: Create leading directories where needed
m: Retain previous file modification times when ...
Read more : How to extract an RPM package without installing it | Views : 3126 | Replies : 0 | Forum : Linux specific




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 : 1870 | Replies : 0 | Forum : Server Side Actions


 

Login


Statistics

Total posts 505 • Total topics 442 • Total members 22