Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - IzaTOP

Pages: [1]
1
Всем привет! И всем спасибо  :) Разобрался со своей проблемой. Причина - невнимательность.
В Зентиал был отключен ВебСервер. Включил его.

В Апачи конфиг подправил так:
Alias /bandwidthd /var/lib/bandwidthd/htdocs/
<Directory /var/lib/bandwidthd/htdocs>
        Options +FollowSymLinks
        AllowOverride All
        order allow,deny
        allow from all
</Directory>

И создал симлинк
ln -s /var/lib/bandwidthd/htdocs /var/www/bandwidth

Заработало.Наблюдаю.
(Я вобщем-то не магистр в Линуксах. Как говорится - "не волшебник, только учусь"  :))

2
Здравствуйте все! Тоже проблема с bandwidthd на Zential

На Зентиал
 eth1 subnet 192.168.2.0/24 - внешний
 eth0 subnet 192.168.1.0/24 - внутренний

1. Конфиг bandwidthd

subnet 192.168.2.0/24
subnet 192.168.1.0/24

# Device to listen on
# Bandwidthd listens on the first device it detects
# by default.  Run "bandwidthd -l" for a list of
# devices.
#dev "eth0"

dev "eth0"

#Put interface in promiscuous mode to score to traffic
#that may not be routing through the host machine.
#promiscuous true

promiscuous false

#Log data to cdf file htdocs/log.cdf
#output_cdf false

output_cdf true

#Set the cdf log output directory
#log_dir "/var/lib/bandwidthd"

#Read back the cdf file on startup
#recover_cdf false

recover_cdf true

#Set META REFRESH for static pages in seconds(default 150, use 0 to disable).
#meta_refresh 150

meta_refresh 150

#Set the static html output directory
htdocs_dir "/var/lib/bandwidthd/htdocs"

2. Конфиг Апачи в \apache2\sites-available\default

ServerName zentyal3
<VirtualHost *:80>
   ServerAdmin webmaster@zentyal3

   DocumentRoot /var/www/
   <Directory />
      Options FollowSymLinks
      AllowOverride None
   </Directory>
   <Directory /var/www/>
      Options Indexes FollowSymLinks MultiViews
      AllowOverride All
      Order allow,deny
      Allow from all
   </Directory>

   ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
   <Directory "/usr/lib/cgi-bin">
      AllowOverride None
      Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
      Order allow,deny
      Allow from all
   </Directory>

   ErrorLog /var/log/apache2/error.log

   # Possible values include: debug, info, notice, warn, error, crit,
   # alert, emerg.
   LogLevel warn

   CustomLog /var/log/apache2/access.log combined

    Alias /doc/ "/usr/share/doc/"
    <Directory "/usr/share/doc/">
        Options Indexes MultiViews FollowSymLinks
        AllowOverride None
        Order deny,allow
        Deny from all
        Allow from 127.0.0.0/255.0.0.0 ::1/128
    </Directory>

    Alias /bandwidthd/ "/var/lib/bandwidthd/htdocs"
    <Directory "/var/lib/bandwidthd/htdocs">
   Order Allow,Deny
   Allow from All
    </Directory>

</VirtualHost>

При попытке открыть http://192.168.1.250/bandwidthd получаю ошибку -
"Firefox не может установить соединение с сервером 192.168.1.250"

Подскажите пожалуйста - где косяк?

Pages: [1]