New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !
Bubba Bandwidth Monitor
Bubba Bandwidth Monitor
Hello, this is a repost in the correct area.
I have given my friends access to my server to download files etc.
Although I have “unlimitedâ€
I have given my friends access to my server to download files etc.
Although I have “unlimitedâ€
OK – I am by no means an expert but I am a tryer. Tryers always get stuck!!
I have tried to install awstats as it seems it will do the job described in the thread above. I have followed this howto http://www.debuntu.org/2006/04/21/33-ho ... bianubuntu
However when I have got to the stage of restarting my apache2 server I get the following message;
bubba:/etc# /etc/init.d/apache2 reload
Syntax error on line 1 of /etc/apache2/awstats.conf:
Invalid command 'Alias', perhaps misspelled or defined by a module not included in the server configuration
failed!
To me that seems to suggest that I need to install something else so that the server understands the term / command 'Alias'
Does anyone with any better idea than me on Apache2 know what my next move should be?
Many thanks in advance.
S
I have tried to install awstats as it seems it will do the job described in the thread above. I have followed this howto http://www.debuntu.org/2006/04/21/33-ho ... bianubuntu
However when I have got to the stage of restarting my apache2 server I get the following message;
bubba:/etc# /etc/init.d/apache2 reload
Syntax error on line 1 of /etc/apache2/awstats.conf:
Invalid command 'Alias', perhaps misspelled or defined by a module not included in the server configuration
failed!
To me that seems to suggest that I need to install something else so that the server understands the term / command 'Alias'
Does anyone with any better idea than me on Apache2 know what my next move should be?
Many thanks in advance.
S
Many thanks for the suggestion.
My awstats.conf reads as;
I did find some other information by googling that suggested I was missing the following from the apache2.conf;
Any help appreciated.
S
My awstats.conf reads as;
I have also posted my apache2.conf as I think this may have something to do with the problem;Alias /awstatsclasses "/usr/share/awstats/lib/"
Alias /awstats-icon/ "/usr/share/awstats/icon/"
Alias /awstatscss "/usr/share/doc/awstats/examples/css"
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
ScriptAlias /awstats/ /usr/lib/cgi-bin/
Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
Include /etc/apache2/awstats.conf
I did find some other information by googling that suggested I was missing the following from the apache2.conf;
but adding that 2 x lines to the apache2.conf leaves me with the error message;Include /etc/apache2/mods-enabled/*.load
Include /etc/apache2/mods-enabled/*.conf
So I removed the lines from the file.Syntax error on line 4 of /etc/apache2/mods-enabled/fastcgi.conf:
FastCgiIpcDir /var/lib/apache2/fastcgi: access for server (uid 1002, gid 100) failed: write not allowed
failed!
Any help appreciated.
S
Thanks for the reply! Will investigate mtrg a bit more, although it looks like this has to be installed by compiling rather than through apt-get, which I am sure will open up another can of worms
Does mtrg work through a web based gui? It looks similar but not a user friendly as awstats?
Whilst I investigate further any more info on my AWstats problems appreciuated.

Does mtrg work through a web based gui? It looks similar but not a user friendly as awstats?
Whilst I investigate further any more info on my AWstats problems appreciuated.
It does work from the web and I didnt compile anything that I remeber... however, I'm not sure it provides you with a total transferred bytes that you are looking for.
Still, it's a nice feature to see graphs for your bandwidth usage.
There's a demo page at http://oss.oetiker.ch/mrtg/
Still, it's a nice feature to see graphs for your bandwidth usage.

There's a demo page at http://oss.oetiker.ch/mrtg/
Monitor for available bandwidth
Is there a tool out there for monitoring the bandwidth available from my ISP? I'd like my Bubba to report on available bandwidth once an hour.
I'm thinking of something like the speed tests offered for free by DSLreports.com. (http://www.dslreports.com/speedtest). I'd like to find a way to run a test like this on the Bubba every hour.
I'm thinking of something like the speed tests offered for free by DSLreports.com. (http://www.dslreports.com/speedtest). I'd like to find a way to run a test like this on the Bubba every hour.
Re: Bubba Bandwidth Monitor
Hello,
i will say thank you for the tip here. I have found one more
info tool. Named vpsinfo http://www.labradordata.ca/home/13.
Take alook and give it a try.
i will say thank you for the tip here. I have found one more
info tool. Named vpsinfo http://www.labradordata.ca/home/13.
Take alook and give it a try.
Re: Bubba Bandwidth Monitor
kan anyone make a how2do please
installed using apt-get install vnstat.
downloaded the php frontend but it does not seem to work.
Rene
installed using apt-get install vnstat.
downloaded the php frontend but it does not seem to work.
Rene
B3 1T + B-Stor 2T, B2 1T as backup
40 users active....
Opensat4all.Com
40 users active....
Opensat4all.Com
Re: Bubba Bandwidth Monitor
Just working on configuring the frontend at the moment and its pretty easy. I have wget installed, but you can install that easily if you don't have it
1. Firstly install vnstat
2. Download and put the vnstat frontend on your webserver.
3. The next steps aren't essential, but I do it anyway, just for neatness
4. Run vnstat to set up your databases for the interface(s) you want to monitor
then it starts to record your data.
5. cd into the vnstat frontend directory
6. edit the config.php file to set your interfaces the right way round and add /usr/bin/vnstat to the $vnstat_bin protocol and you should be good to go
7. Now you may want to download and install the daemon script from the vnstat homepage if you want to run vnstat on reboot, or you can just start it manually. http://humdi.net/vnstat/init.d/debian/vnstat You can use update-rc.d to set it up as well. This is the debian equivalent of chkconfig
8. Up to you if you want to password control the directory using .htaccess file. I do
Code: Select all
apt-get install wget
Code: Select all
apt-get install vnstat
Code: Select all
cd /home/web
wget http://www.sqweek.com/sqweek/files/vnstat_php_frontend-1.4.1.tar.gz
tar xvfz vnstat_php_frontend-1.4.1.tar.gz
Code: Select all
mv vnstat_php_frontend-1.4.1 vnstat
chown -R www-data:users vnstat
4. Run vnstat to set up your databases for the interface(s) you want to monitor
Code: Select all
vnstat -u -i eth0
vnstat -u -i eth1
5. cd into the vnstat frontend directory
6. edit the config.php file to set your interfaces the right way round and add /usr/bin/vnstat to the $vnstat_bin protocol and you should be good to go
7. Now you may want to download and install the daemon script from the vnstat homepage if you want to run vnstat on reboot, or you can just start it manually. http://humdi.net/vnstat/init.d/debian/vnstat You can use update-rc.d to set it up as well. This is the debian equivalent of chkconfig
Code: Select all
cd /etc/init.d
wget http://humdi.net/vnstat/init.d/debian/vnstat
chmod a+x vnstat
update-rc.d -f vnstat defaults
Re: Bubba Bandwidth Monitor
It woul'd be nice when i can get vnstat on my bubba. Possible i can't read
.
On my try with apt-get install vnstat i get:
E: Couldn't find package vnstat
Have i overseen something since the last B2 update?
Possible someone can help out.
The wiki is now no longer up to date in this case.
Thanks for help.

On my try with apt-get install vnstat i get:
E: Couldn't find package vnstat
Have i overseen something since the last B2 update?
Possible someone can help out.
The wiki is now no longer up to date in this case.
Thanks for help.