DNP: SmarterStats service is unavailable

As tried performing Diagnostics from DNP, I am getting the below:

Error: SmarterStats service is unavailable. The request failed with HTTP status 400: Bad Request.

Solution:

Remote access to the server > IIS > look for SmarterStats > Advanced setting

change:  the IP to all unassigned; Port 9999; Host Header Blank <—-all unassigned is IMPORTANT!!!

Now, you can perform again Diagnostics, it should work fine now :)

Comments

Year 2010

今天是2010年1月1日,进入新的一年了

我在哪里呢?老样子,现在,正在做工!过去的一年,我又做了什么?

。。。。。。。。。。。。。。。。

Wishing every one dreams come true!!

Comments

Fetching mail through Horde mail (cpanel)

Horde application file path: /usr/local/cpanel/base/horde/

How to increase limit of the size of emails that can be fetched using Hordemail.

The path: /usr/local/cpanel/base/horde/imp/config/
conf.php
config.xml

Look for the above two files and edit the size limit at field and save it.

$conf['fetchmail']['size_limit'] = ‘4000000′;

You might need to increase value for ‘memory_limit’ in php.ini

php.ini for Horde application: /usr/local/cpanel/3rdparty/etc/horde

You could always run the file: test.php at /usr/local/cpanel/base/horde to check on the application setting, etc.

~!! :)

Comments

email_accounts.yaml

What is the usage for email_accounts.yaml ??

/home/username/.cpanel]# pico email_accounts.yaml

Answer:

YAML file contains a list of the current e-mail accounts

Comments

Service: [httpd] has been disabled by the sys admin (Cpanel)

Ooops..I got the below message while restarting httpd services and WHM is not working fine :(

Service: [httpd] has been disabled by the sys admin

Solution:

Have a check on the path /etc/ , list those files which contain *disable*

Result:

root@bearbear [/etc]# ls *disable*

httpddisable apachedisable entropychatdisable interchangedisable melangedisable mysqldisable

>> Delete the file: httpddisable apachedisable

Now, service httpd is running fine.

root@bearbear [~]# service httpd status

Server uptime: 4 seconds

~!! :)

Comments

Import Emails Into Horde (cpanel)

Import Emails Into Horde

  • Login to Horde mail
  • In the menu bar, click “Folders”
  • Let say you wish to import emails to the Inbox
  • Select Inbox by checking its box.
  • Select “Import Messages” from the “Choose Action:” drop-down box.
  • Next you’ll browse to the download location you used above and select your .mbox file to import and click “Import.”
  • Your messages should automatically be imported into your Inbox folder.
  • Double check the Inbox folder

~Done

Comments

Install clamAV (linux @ cpanel)

To install ClamAV through cpanel,  simply log into WHM > cPanel section > Manage Plugins, look for “clamavconnector” , click Install and Keep updated , then click save at the bottom of the page. This will install ClamAV. It may take a few minutes.

To install ClamAV AntiVirus manually, type in the command
yum install clamav clamav-devel clamd > Enter.

When asked to confirm download, type in y and press Enter.

To update the virus database, type in the command freshclam and press Enter.
freshclam

clamAV config path: /etc/clamd.conf

Comments

RoundCube

RoundCube sending error:

I cant send email from RoundCube, whywhy?!

Below is the error that I got while tailing the log, tail -f /var/cpanel/roundcube/log/errors

Error:

[17-Dec-2009 10:59:43] STARTTLS failed ():
[17-Dec-2009 11:05:13] Invalid response code received from server (421):
[17-Dec-2009 11:05:13] Invalid response code received from server (-1):
[17-Dec-2009 11:05:13 +0800] SMTP Error: SMTP error: Authentication failure: STARTTLS failed (Code: ) in /usr/local/cpanel/base/3rdparty/roundcube/program/steps/mail/func.inc on line 1248 (POST /3rdparty/roundcube/index.php?_task=mail

Google from Internet, it is a bug in PHP’s latest Net-SMTP module.

Temporary fix as below:

edit file:
// SMTP username (if required) if you use %u as the username RoundCube
// will use the current username for login
$rcmail_config['smtp_user'] = ‘%u’;

change to the below:
// SMTP username (if required) if you use %u as the username RoundCube
// will use the current username for login
$rcmail_config['smtp_user'] = ”;
usr/local/cpanel/base/3rdparty/roundcube/config/main.inc.php) and noticed a workaround until the module is patched/updated

It works!! Thanks!!But from exim maillog, it seems that there is no authentication leh?!

I have read for other solution is to run the command: /scripts/autorepair net_smtp_fix to fix the net_smtp, but I haven’t try yet.

~Cont~

Comments (1)

Sending mail

I google around and got this:

a. /usr/lib/sendmail -f sender@abc.com -v rcpt@abc.com
b. mail -f sender@abc.com -v rcpt@abc.com

But as I tested, both are not working.

For the b, I am getting this “Cannot give -f and people to send to”

~Still checking why?!

Comments

Forwarders . Domain Forwarders (cpanel)

Normal Forwarders path:

/etc/valiases/domain.tld

How about domain forwarders?

Answer: /etc/vdomainaliases/domain.tld

Comments

« Previous Page« Previous entries « Previous Page · Next Page » Next entries »Next Page »