webalizer reports not compiling after downgrade

Hi.

Need some help with webalizer reports not processing after downgrade from commercial to gpl.

I had a clear message I have not copied looking for a reseller function in /var/webmin/miniserv.error... Now... Reseller functions are not existent in GPL version so I corrected my /etc/yum.repos.d/virtualmin.repo file and found out I needed to update some webmin/virtualmin packages... Which was totally ok since I downgraded.

But now, I see: [25/Aug/2011:14:28:34 -0400] Perl module Authen::PAM needed for PAM is not insta lled : Can't locate Authen/PAM.pm in @INC (@INC contains: /usr/libexec/webmin /u sr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5. 8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread- multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5 /5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .) at (eval 17) line 1. BEGIN failed--compilation aborted at (eval 17) line 1. in /var/webmin/miniserv.error

Can you help me?

Status: 
Active

Comments

Howdy -- Webmin doesn't actually require the Authen::Pam module you see listed there, that should just be a warning. It'll fall back to using /etc/passwd and /etc/shadow directly in the absence of the PAM module.

Are you seeing any problems on your server, or any symptoms within Webmin itself that something isn't working properly?

No. I see nothing out of the ordinary.

I have had some problems at downgrade time with pro version reverting over gpl settings, thus bringing some services to a halt.

But except the fact a customer told me he had problems with his stats subdir, I had seen nothing out of the ordinary.

Any idea as why it's not reverting to passwd file?

Regards

Marc

Well, it is using the passwd file.... it's just noisy when it does so :-)

It's common to see the warning you're seeing in the logs.

That particular warning wouldn't be related to webalizer running. Webalizer runs from cron -- any errors it produces would be sent to the root user via email.

This log is produced when I manually click the "generate report" button in the webalizer configuration page of a domain.

The daily log I receive from the server says everything is fine with this domain.

After carefull inspection of my list of domains, only a few have this problem. Out of 53 domains, only 6 have this issue with webalizer report generation.

What do you suggest I look into to find the problem?

Thanks

Marc

Can you paste in the output you get within Virtualmin when you click the "Generate Report" button? Thanks!

Sure! With pleasure. Here it is.

Module Index Generate Report

Running Webalizer to generate report from /var/log/virtualmin/abcdetail.ca_access_log ..

.. Webalizer failed! See the output above for details.

<- Return to log details | Return to log files list

I know it's not much to help you but that's it.

Regards.

Marc

Interesting! Is there any chance we could see the log file that it's failing on, /var/log/virtualmin/abcdetail.ca_access_log?

I've marked this ticket as private, so that only Virtualmin staff can see it.

Nothing shows in there too...

Here are the last 20 lines of the log RIGHT AFTER having clicked on the "generate report" button:

/var/log/virtualmin/abcdetail.ca_error_log Last lines of Only show lines with text

[Sun Aug 28 23:49:47 2011] [error] [client 182.48.60.230] File does not exist: /home/abcdetail/public_html/sqladm [Sun Aug 28 23:49:50 2011] [error] [client 182.48.60.230] File does not exist: /home/abcdetail/public_html/pmabd [Sun Aug 28 23:49:50 2011] [error] [client 182.48.60.230] File does not exist: /home/abcdetail/public_html/mydb [Sun Aug 28 23:49:51 2011] [error] [client 182.48.60.230] File does not exist: /home/abcdetail/public_html/mysql_administrator [Sun Aug 28 23:49:51 2011] [error] [client 182.48.60.230] File does not exist: /home/abcdetail/public_html/pma_mydb [Sun Aug 28 23:49:55 2011] [error] [client 182.48.60.230] File does not exist: /home/abcdetail/public_html/myphp [Sun Aug 28 23:49:55 2011] [error] [client 182.48.60.230] File does not exist: /home/abcdetail/public_html/Myphp [Sun Aug 28 23:49:55 2011] [error] [client 182.48.60.230] File does not exist: /home/abcdetail/public_html/phpas [Sun Aug 28 23:49:56 2011] [error] [client 182.48.60.230] File does not exist: /home/abcdetail/public_html/_pma [Sun Aug 28 23:49:56 2011] [error] [client 182.48.60.230] File does not exist: /home/abcdetail/public_html/scripts [Sun Aug 28 23:50:00 2011] [error] [client 182.48.60.230] File does not exist: /home/abcdetail/public_html/_phpadmin [Sun Aug 28 23:50:00 2011] [error] [client 182.48.60.230] File does not exist: /home/abcdetail/public_html/_admin [Sun Aug 28 23:50:00 2011] [error] [client 182.48.60.230] File does not exist: /home/abcdetail/public_html/_phpmyadmin [Sun Aug 28 23:50:04 2011] [error] [client 182.48.60.230] File does not exist: /home/abcdetail/public_html/_php [Sun Aug 28 23:50:04 2011] [error] [client 182.48.60.230] File does not exist: /home/abcdetail/public_html/sql [Sun Aug 28 23:50:04 2011] [error] [client 182.48.60.230] File does not exist: /home/abcdetail/public_html/_sql [Sun Aug 28 23:50:05 2011] [error] [client 182.48.60.230] File does not exist: /home/abcdetail/public_html/my-php [Sun Aug 28 23:50:05 2011] [error] [client 182.48.60.230] File does not exist: /home/abcdetail/public_html/My-php [Mon Aug 29 09:22:18 2011] [error] [client 65.52.108.198] File does not exist: /home/abcdetail/public_html/robots.txt [Mon Aug 29 22:32:57 2011] [error] [client 77.88.28.246] File does not exist: /home/abcdetail/public_html/robots.txt

Last lines of Only show lines with text

<- Return to system logs

What I'd like to try is running that full log through Webalizer to see if I can reproduce that error.

Is there any chance you could attach the full "/var/log/virtualmin/abcdetail.ca_error_log" file to this request? Thanks!

since the logg is small, I attached the .1.gz log too... You'll have to rename it.

You'll see they are of no use...

Thanks

Marc

Nuts, I copied and pasted the wrong log file name :-)

The error log isn't actually what Webalizer uses, it uses the access log.

So it's actually "/var/log/virtualmin/abcdetail.ca_access_log" that I'm interested in.

Sorry about that :-)

But if you could attach that, that'd be super!

Hi.

No problem. Mistakes happen. The Lord knows and that's why I'm still with you and not with him.

Here is the current and the .1 log files.

Regards.

Marc

ARG!!!

I get this trying to create an email in another domain:

Error - Perl execution failed

Undefined subroutine &virtual_server::get_reseller called at /usr/libexec/webmin/virtual-server/virtual-server-lib-funcs.pl line 3518, line 9.

It clearly is looking for a reseller function that is not there anymore.

Can you help?

Marc

That's a Virtualmin bug that can happen if you had a domain with a reseller and then downgraded.

The only fix until the next release is to manually edit all files in /etc/webmin/virtual-server/domains and remove any lines that start with reseller=

HA!

Glad I could help you point a glitch.

There are a lot of them. All domain were actually owned by 2 reseller.

Any idea when is the next release for? It'll spare me the 50+ files editing.

Marc

It is likely to be in a week or two..