Koozali.org: home of the SME Server
Legacy Forums => Suggestions => Topic started by: Luiz on November 24, 2000, 05:14:46 PM
-
It would be nice if E-Smith had a tool that could tell you how many mails it handles in a day or week or.......
-
I have a couple of RPMS to do just that :)
Have a look at ftp://ftp.e-smith.org/pub/e-smith/contrib/peters/RPMS and grab the following RPMS:
i386/qmailanalog-0.70-2.i386.rpm
noarch/e-smith-qmailanalog-1.1-3.noarch.rpm
After installing them, you'll need to manually fix the permissions on the web panel. Run the following command as root:
chmod o+rx /etc/e-smith/web/functions/qmailanalog
(You need to do this, otherwise you won't be able to run the panel. This is because these RPMS were based on a future release of the e-smith server and gateway).
-
I installed your rpms and after following your installtion instructions I went to use it and got this message:
Software error:
[Sun Nov 26 13:40:57 2000] db.pm: Can't locate esmith/db.pm in @INC (@INC contains: /usr/lib/perl5/5.00503/i386-linux /usr/lib/perl5/5.00503 /usr/lib/perl5/site_perl/5.005/i386-linux /usr/lib/perl5/site_perl/5.005) at /etc/e-smith/web/panels/manager/cgi-bin/qmailanalog line 40. BEGIN failed--compilation aborted at /etc/e-smith/web/panels/manager/cgi-bin/qmailanalog line 40.
What could this be?
-
Thanks for that. BUT there is no file /etc/e-smith/web/functions/qmailanalog
Have I missed something? I installed both the files as advised. But I cant seem to find the file that you are refering to.
Thanks for your help.
-
I get the same. Have you figured it out yet? Cause I'm still scratching.
-
Sorry about that - comes from trying to use new features on an previous release.
I now have a working e-smith-qmailanalog RPM for e-smith-4.0.1 (that will encourage you to upgrade :)
If you managed to install the broken e-smith-qmailanalog, remove it:
rpm -e e-smith-qmailanalog
Then get the working version from:
ftp://ftp.e-smith.org/pub/e-smith/contrib/peters/RPMS/noarch/e-smith-qmailanalog-1.0-5.noarch.rpm
This one has been tested on e-smith 4.0.1
It will NOT work with e-smith 4.0.
-
As Charlie just pointed out, you can avoid the rpm removal step with a simple rpm upgrade as follows:
rpm -Uvh --force \
ftp://ftp.e-smith.org/pub/e-smith/contrib/peters/RPMS/noarch/e-smith-qmailanalog-1.0-5.noarch.rpm
-
Peter Samuel wrote:
> Then get the working version from:
>
> ftp://ftp.e-smith.org/pub/e-smith/contrib/peters/RPMS/noarch/e-smith-qmailanalog-1.0-5.noarch.rpm
>
> This one has been tested on e-smith 4.0.1
>
> It will NOT work with e-smith 4.0.
Well, after upgrading to 4.0.1, I get the following error message:
[root@e-smith files]# rpm -Uvh e-smith-qmailanalog-1.0-5.noarch.rpm
error: failed dependencies:
e-smith-base >= 4.0.12-56 is needed by e-smith-qmailanalog-1.0-5
Do I really have to install e-smith-base >= 4.0.12-56 if I want to use qmailanalog ?
(There are another problems with upgrading to e-smith-base >= 4.0.12-56 on a machine running webstats-addon-0.1-3 as well, so I'd rather not mess up the system:)
[root@e-smith files]# rpm -Uvh e-smith-base-4.0.12-56.noarch.rpm
file /etc/e-smith/templates/etc/httpd/conf/httpd.conf/05NoHostLookups from install of e-smith-base-4.0.12-56 conflicts with file from package webstats-addon-0.1-3
file /etc/e-smith/templates/etc/httpd/conf/httpd.conf/45CustomLogs from install of e-smith-base-4.0.12-56 conflicts with file from package webstats-addon-0.1-3
-
Lasse Johansson wrote:
> Peter Samuel wrote:
>
> > Then get the working version from: > >
> ftp://ftp.e-smith.org/pub/e-smith/contrib/peters/RPMS/noarch/e-smith-qmailanalog-1.0-5.noarch.rpm
> > > This one has been tested on e-smith 4.0.1 > >
> It will NOT work with e-smith 4.0.
>
> Well, after upgrading to 4.0.1, I get the following error
> message:
>
> [root@e-smith files]# rpm -Uvh
> e-smith-qmailanalog-1.0-5.noarch.rpm error: failed
> dependencies: e-smith-base >= 4.0.12-56 is needed by
> e-smith-qmailanalog-1.0-5
If you don't have e-smith-base-4.0.12056 installed then you haven't upgraded to e-smith 4.0.1.
> Do I really have to install e-smith-base >= 4.0.12-56 if I
> want to use qmailanalog ?
Yes, it wouldn't have that dependency listed otherwise.
Regards
Charlie
-
Following your advice in another forum, rpm -Uhv --force e-smith-base-4.0.12-56.noarch.rpm, took care of the situation.
Thanks for a very quick response!