Lian To | 25 Apr 2012 09:18

Vadmin ubuntu installation

Hi,

I just tried to install vadmin plugins into our squirrelmail. But I confuse with the statement belong to "/usr/share/squirrelmail/plugins/vadmin/conf/apache.conf" which is said " for apache-2.0 running on sensible platforms, just install it as /etc/httpd/conf.d/vadmin.conf". I believe this guide is refer to redhat system. Can you help to provide us with ubuntu one please.
Here are our system information :
  • ubuntu 10.0.4 LTS.
  • PHP version 5.3.5-1ubuntu7.7
  • Apache/2.2.17 (Ubuntu)
  • squirrelmail version 1.4.21

I have tried to debug the configuration with VADMIN_DEBUG.PHP and the result is :

RUNNING VADMIN DEBUG --------------------- Looking for mcrypt functions: found Looking for CRYPTO_HASH_LINE: not found This most likely means one or both of the following: * An 'include' line was not added to httpd.conf * You did not restart apache after installing vadmin * You misconfigured the apache.inc. Check your httpd.conf. You should see this line: Include /opt/web/includes/apache.inc Add this line if you don't see it. Restart the apache if you didn't and then run this debug again. If you did restart apache, check the <Directory> directive provided in the include (includes/apache.inc): Current working dir as seen by Apache is: /opt/web You should check the include file and make sure that the path in the <Directory> directive EXACTLY matches the one above, as seen here: <Directory /opt/web> SetEnv CRYPTO_HASH_LINE "YOUR_CRYPTO_HASH" SetEnv MCRYPT_ALGO "YOUR_ALGO" </Directory> If the problem persists, please contact squirrelmail-plugins <at> lists.sourceforge.net.

Thank you.

Best Regards,
Lian To

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
-----
squirrelmail-plugins mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-plugins <at> lists.sourceforge.net
List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins
Brett Johnson | 26 Apr 2012 12:57

Re: Vadmin ubuntu installation

> Hi,
>
> I just tried to install vadmin plugins into our squirrelmail. But I
> confuse with the statement belong to
> "/usr/share/squirrelmail/plugins/vadmin/conf/apache.conf" which is said
> " for apache-2.0 running on sensible platforms, just install it as
> /etc/httpd/conf.d/vadmin.conf". I believe this guide is refer to redhat
> system. Can you help to provide us with ubuntu one please.

Ubuntu config for Apache is /etc/apache2 so you should copy (or sym link)
vadmin/conf/apache.conf to /etc/apache2/conf.d/vadmin.conf. Then restart apache.

> Here are our system information :
>
>   * ubuntu 10.0.4 LTS.
>   * PHP version 5.3.5-1ubuntu7.7
>   * Apache/2.2.17 (Ubuntu)
>   * squirrelmail version 1.4.21
>
> I have tried to debug the configuration with VADMIN_DEBUG.PHP and the
> result is :
>
> RUNNING VADMIN DEBUG
> ---------------------
> Looking for mcrypt functions: found
> Looking for CRYPTO_HASH_LINE: not found
>
> This most likely means one or both of the following:
>   * An 'include' line was not added to httpd.conf
>   * You did not restart apache after installing vadmin
>   * You misconfigured the apache.inc.
>
> Check your httpd.conf. You should see this line:
> Include /opt/web/includes/apache.inc
>
> Add this line if you don't see it.
>
> Restart the apache if you didn't and then run this debug again. If you
> did restart apache, check the<Directory>  directive provided in the
> include (includes/apache.inc):
>
> Current working dir as seen by Apache is: /opt/web
>
> You should check the include file and make sure that the path in the
> <Directory>  directive EXACTLY matches the one above, as seen here:
>
> <Directory /opt/web>
>   SetEnv CRYPTO_HASH_LINE "YOUR_CRYPTO_HASH"
>   SetEnv MCRYPT_ALGO "YOUR_ALGO"
> </Directory>
>
> If the problem persists, please contact squirrelmail-plugins <at> lists.sourceforge.net.
>
> Thank you.
>
> Best Regards,
> Lian To
>
--
Brett

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
-----
squirrelmail-plugins mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-plugins <at> lists.sourceforge.net
List archives: http://news.gmane.org/gmane.mail.squirrelmail.plugins
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-plugins


Gmane