Small display issues...

13 posts / 0 new
Last post
#1 Tue, 08/21/2007 - 15:04
tony.p

Small display issues...

Hi,

I noticed some small display issues in Quotas on the main page when using Firefox 2.x, Safari 2.x or Opera 8.x

Screenshot:

[img size=362]http://www.virtualmin.com/components/com_fireboard/uploaded/images/Pictu...

All of the sites are using the same "unlimited" disk quota! So something is going wrong here. ;)

Other things I noticed.. I don't get to see any bars or status for Real Memory, Virtual Memory and Local Disk Space. I guess Virtualmin does not know how to read any info on OSX about that right? Would be nice at least to see the remaining disk space. :)

I also do not get any Status on ProFTPd wich is installed and running fine!? However, it does show up when I change "ProFTPd IP-based virtual server enabled?" to "Yes" instead of "No". The problem is that I don't want to offer this feature but still would like to see if ProFTPd is up and running in the first place.

Thanks Tony

EDIT: I should mention that the quota you see in the picture must be wrong as well it seems. The first site uses 300KB cause its only one simple page, the second about 17 MB, and the third about 670 MB.<br><br>Post edited by: tony.p, at: 2007/08/21 15:17

Thu, 08/23/2007 - 02:29
Joe
Joe's picture

Howdy Tony,

I'll see about fixing the line feed in that quota graph. I think I can force it to nowrap. Not sure why I haven't done that to date...but it usually looks fine, so I guess I never saw a need.

As for wrongness, spend some time looking at what the system is reporting for quota usage, and force a quota recalculation. Virtualmin's quotas (at least most of them) come from the system-level quotas. If they are wrong, then your system quota tools have are wrong. Virtualmin doesn't (usually) calculate disk usage itself, though it might be on Mac OS X (I'm not sure of the state of quotas on Mac OS X).

Check the Webmin System:Disk Quotas module, force a check of the quotas, and file a bug if things aren't reporting sanely.

--

Check out the forum guidelines!

Thu, 08/23/2007 - 10:48 (Reply to #2)
tony.p

Joe,

kewl thanks for fixing that. No big deal though but just thought I mention it anyway.

As for the quotas, funny and odd enough, Webmin &gt; System &gt; Disk Quotas does show ALL of the quotas and they are all correct!?

Check it out:

Thu, 08/23/2007 - 10:50 (Reply to #3)
tony.p

Sorry but forum did not like my picture size and submit only the text message.

Here is what I see in Disk Quotas Module:
[img size=499]http://www.virtualmin.com/components/com_fireboard/uploaded/images/Pictu...

Fri, 08/24/2007 - 01:25
Joe
Joe's picture

Hi Tony,
Regarding the quotas, do you have group quotas enabled on your system? This is highly recommended, as without them Virtualmin cannot properly enforce usage by all mailboxes in a domain.

Regarding the disk, memory and CPU use on OSX, you are correct that they are not shown because I don't know how to get that information on OSX. But it would be easy to add if you know of a command or special file in which this can be found.

Regarding ProFTPD, most likely the reason it doesn't have a start/stop button is that it is launched on-demand from inetd or xinetd, rather than having a permanent server process.

--

Check out the forum guidelines!

Fri, 08/24/2007 - 06:39 (Reply to #5)
tony.p

Thanks Jamie,

will see if I have group quotas enabled or not, but how come the quotas module is showing these numbers while the frontpage is showing something entirely different!?

As for ProFTPd, I do have a start stop button on the ProFTPd module page but again this is just not showing up on the frontpage UNLESS I change &quot;ProFTPd IP-based virtual server enabled?&quot; to &quot;Yes&quot; instead of &quot;No&quot;. That I find funny.

ProFTPd is launched on demand at startup on OSX definatly but I can not see the difference between that and for instance mysql or apache which are started the same way?

Tony

ps: I will check if there is such a command on OSX and let you know.

Fri, 08/24/2007 - 07:47
Joe
Joe's picture

The quotas shown in Virtualmin for domains are computed by adding up the usage for all users in the domain, if you don't have group quotas active . And it may be that this isn't working properly .. so let me know if you have group quotas on or not. You can see this in the Disk Quotas module.

Regarding ProFTPd, this is quirk of Virtualmin at the moment - unless you have the 'ProFTPd IP-based virtual server enabled?' feature enabled, it doesn't considered FTP server management to be under its control, and thus doesn't show that button. This is arguably incorrect, as domain owners and some mailbox users can still FTP in.

--

Check out the forum guidelines!

Fri, 08/24/2007 - 08:00
Joe
Joe's picture

By the way, in Virtualmin 3.45 the proftpd start/stop/restart buttons will always appear if it is installed, even if you have the proftpd private IP feature turned off.

--

Check out the forum guidelines!

Fri, 08/24/2007 - 11:23 (Reply to #8)
tony.p

Jamie,

I have &quot;User and Group Quotas Active&quot; for the drive I use for my vhosts and emails. I have seperated the hosting part from the drive where webmin/usermin/virtualmin are on. Do I need to enable it also for the &quot;main&quot; / &quot;boot&quot; drive then?

<div class='quote'>Regarding ProFTPd, this is quirk of Virtualmin at the moment - unless you have the 'ProFTPd IP-based virtual server enabled?' feature enabled, it doesn't considered FTP server management to be under its control, and thus doesn't show that button. This is arguably incorrect, as domain owners and some mailbox users can still FTP in.</div>

Right, that was what I meant. FTP access is in general still allowed for all vhosts. I just don't want to allow &quot;anonymous&quot; IP-based ftp but at least would like to know if the service is up and running as soon as I login to Virtualmin/Webmin.

Tony

Fri, 08/24/2007 - 11:30 (Reply to #9)
tony.p

Sorry did not see your last post right away.

<div class='quote'>By the way, in Virtualmin 3.45 the proftpd start/stop/restart buttons will always appear if it is installed, even if you have the proftpd private IP feature turned off.</div>

Nice, thanks for telling me. Right now I am still on 3.44 and want to wait for one of the next updates because of some manual changes you walked me thru with the FileManager and stuff.

Fri, 08/24/2007 - 21:21 (Reply to #10)
Joe
Joe's picture

You need to have quotas enabled only for the filesystem on which Virtualmin home directories and email is stored. Typically this is /home , which contains domain directories like /home/whatever.com , and also users' mail files in ~/Maildir directories.

However, if your mail server delivers to /var/mail/username, you will also need quotas enabled on /var/mail if that is a separate filesystem.

--

Check out the forum guidelines!

Sat, 08/25/2007 - 09:22 (Reply to #11)
tony.p

Ok, well then I am set and good to go. Group Quotas enabled on the drive where email and vhosts reside.

Tony

Sun, 08/26/2007 - 06:39 (Reply to #12)
Joe
Joe's picture

Sounds like there is a bug in Virtualmin then, in the fetching or display of quotas. But to debug it further I'd need to login to your system myself to see what is happening under the hood .. contact me via email at jcameron@virtualmin.com if this is possible.

--

Check out the forum guidelines!

Topic locked