cPanel : UPCP error : Undefined subroutine &Cpanel::Update::automatic_updates_enabled called at /scripts/upcp line 273

January 15th, 2012 No comments

I have seen recent cPanel upgrade from old version 11.24 to 11.30 and got the following error.

# /scripts/upcp
/scripts/upcp syntax OK
Running Futex Check/Fix……Done
Undefined subroutine &Cpanel::Update::automatic_updates_enabled called at /scripts/upcp line 273.

This can be fixed using below :

wget -O /root/updatenow.static http://httpupdate.cpanel.net/cpanelsync/RELEASE/scripts/updatenow.static && perl /root/updatenow.static --manual

Upgrade the cPanel :

/scripts/upcp --force

it should be work perfect.

Regards

Alex P

Categories: Cpanel Server Tags:

zimbra : Error in NoteBook. system failure: wiki formatter failure

May 20th, 2010 No comments

I have this when I enter in notebook, inte user interface I click on Notebook, and didn`t work why is it?  what would the wrong ?

HTTP ERROR 500

Problem accessing /service/home/admin@domainname/Notebook. Reason:

    system failure: wiki formatter failure

Powered by Jetty://

Sounds like you don’t have Documents enabled,You can use following steps to enable it.

All you need to do is re-initalize the notebook template for the renamed wiki user (wiki@domain.com)

1. login to the zimbra server.
2. Shell into the zimbra account (su – zimbra)
3. run zmprov in wiki@domain.com
4. look for the following output: Initializing folders

Regards

Alex P.

Mail cannot be sent through AtMail error “Could not send message to SMTP server. Check you have access to send messages via the server and that all To/CC/BCC addresses are valid\nError: SMTP Server rejected email. Returned:553″

May 16th, 2010 1 comment

Emails cannot be sent through AtMail. When click Send Mail popup window is created with the following message:

Could not send message to SMTP server. Check that you have access to send messages via the server and that all To/CC/BCC addresses are valid\nError: SMTP Server rejected mail. Returned:553

What may cause the problem?

Solutions :

Seemed like atmail didn’t authenticate when trying to send the email. After searching through the sources found that in the @mail config file (/var/www/atmail/libs/Atmail/Config.php) there is an option to authenticate with an username/password


’smtpauth_password’ => ”,
’smtpauth_username’ => ”,

by default they’re empty.
if you put here a valid username and password, the messages will be sent.
The problem is that I wanted that the users authenticate with their own credentials when sending messages.

So here’s the way I fixed it:

Open the file /var/www/atmail/libs/Atmail/SendMsg.php

Search for the line “// Optionally authenticate with the SMTP server”

Add below line :

$auth =& $atmail->getAuthObj();
$pref['smtpauth_username'] = $auth->Account;
$pref['smtpauth_password'] = $auth->password;

That’s it. This will override the auth settings from Config.php with the credentials the user used to log in.

After that try to send an email it will work.