Web Based CBQ Problem!

anisanis Member Posts: 34 ■□□□□□□□□□
Dear Friends ,

I have configured my "webcbq(webcbq-0.2.tar.gz)" into my Linux redhat 9 in the following way :

Configuration

a) Edit "config.php" from where you copy WebCBQ files

Here you configure the following:
- Network interfaces on your machine
- Language you would like to see in WebCBQ (english or spanish)
- Directory where you save cbq.init rules files
- Directory where you have cbq.init script

b) Aggregates in apache config file

cp /var/www/html/webcbq/webcbq.conf /etc/httpd/conf/
vi /etc/httpd/conf/httpd.conf
(add the following line at the end
Include /etc/httpd/conf/webcbq.conf

c) Add the users that will be granted to access WebCBQ

htpasswd -c /etc/httpd/conf/webcbq.passwd admin
(enter the user password)

htpasswd /etc/httpd/conf/webcbq.passwd AnotherUser
(enter the user password)

d) Change some directories permissions:

chmod 755 /var/www/html/webcbq
chown root:apache /etc/sysconfig/cbq
chmod -R 775 /etc/sysconfig/cbq

*NOTE*: If you have rules files, YOU MUST add "P__" to the name or
description.
Ej.: cbq-1000.eth0 --> cbq-1000.P__eth0

e) THIS IS INSECURE BUT I COULD NOT FIND THE WAY TO RUN cbq.init AS ROOT.

vi /etc/sudoers
(add the following line at the end
apache ALL = (ALL) NOPASSWD: /sbin/cbq.init,/sbin/tc,/sbin/ip

f) Restart APACHE service

/usr/sbin/apachectl restart

(or)

service httpd restart

Test
Test enter to http://localhost/webcbq

And finally I get the webbased output into my web browser . But It can't work properly . No link is working and it doesn't show any error . Here I mention that , My php and http log file has no error . So I don't understand what is the problem . Can any one plz help me in this regards ?

Comments

  • sprkymrksprkymrk Member Posts: 4,884 ■■■□□□□□□□
    Have you started the cbq.init?

    [apache@localhost bin]#/sbin/cbq.init start

    Unfortunately it looks like there is very little documentation around the net on this project.
    All things are possible, only believe.
Sign In or Register to comment.