LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Closed Thread
  Search this Thread
Old 08-14-2006, 07:23 AM   #1
shipon_97
Member
 
Registered: Oct 2005
Location: Bangladesh
Posts: 504

Rep: Reputation: 31
Question Webcbq Problem


Dear Friends ,

I have configured my "webcbq(webcbq-0.2.tar.gz)" into my Linux Enterprise 4 server 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 ?
 
Old 08-14-2006, 11:03 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate of http://www.linuxquestions.org/questi...d.php?t=471912.
 
  


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
webcbq can't show in webpage shipon_97 Linux - Networking 1 08-09-2006 05:13 PM
perl problem? apache problem? cgi problem? WorldBuilder Linux - Software 1 09-17-2003 08:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 09:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration