http://topdog-software.com/oss/baruwa/1.1.1/docs/baruwa.pdf
# apt-get install mysql-server - This i found was missing in my first
attempt so i decided to pre install this time round.
# apt-get install rabbitmq-server
# rabbitmqctl add_user baruwa your_password
# rabbitmqctl add_vhost baruwa
# rabbitmqctl set_permissions -p baruwa baruwa ".*" ".*" ".*"
# rabbitmqctl delete_user guest
# wget -O - http://apt.baruwa.org/baruwa-apt-keys.gpg | apt-key add -
# nano /etc/apt/sources.list
add to bottom:
deb http://apt.baruwa.org/ubuntu lucid main
# apt-get update
# apt-get install baruwa
#nano /etc/MailScanner/conf.d/baruwa.conf
Quarantine User = exim #(Or what ever your "Run As User" is set to)
DB DSN = DBI:mysql:database=baruwa;host=spam01;port=3306 #set to valid DSN
DB Username = baruwa # your DB username
DB Password = password # your DB password - Have actually set the password
to password in test enviroment
# MailScanner --lint
RESULT:
DBD::mysql::st execute failed: Table 'baruwa.scanner_config' doesn't exist
[for Statement "SELECT value FROM scanner_config, scanners WHERE
scanner_config.host_id = scanners.id AND external = ? AND scanners.address =
?" with ParamValues: 0='mailscannerversionnumber', 1='server1'] at
/usr/share/MailScanner//MailScanner/ConfigSQL.pm line 134.
DBD::mysql::st execute failed: Table 'baruwa.scanner_config' doesn't exist
[for Statement "SELECT value FROM scanner_config, scanners WHERE
scanner_config.host_id = scanners.id AND external = ? AND scanners.address =
?" with ParamValues: 0='mailscannerversionnumber', 1='server1'] at
/usr/share/MailScanner//MailScanner/ConfigSQL.pm line 134.
# /etc/init.d/mailscanner restart
RESULT:
chown: invalid user: `Debian-exim'
/etc/init.d/mailscanner: directory /var/spool/MailScanner: wrong owner
(expected Debian-exim but is mail)
The lint and the restart result dont give me much hope, the database is
there but has no tables, not sure about the restart error any help? or is
this normal at this stage?
--
View this message in context: http://baruwa-users-list.963389.n3.nabble.com/Ubuntu-10-04-apt-install-linux-newbie-tp3771395p3771395.html
Sent from the Baruwa users list mailing list archive at Nabble.com.
_______________________________________________
Keep Baruwa FREE - http://pledgie.com/campaigns/12056
> DB DSN = DBI:mysql:database=baruwa;host=spam01;port=3306 #set to valid DSN
Is your DB hostname spam01 ? I guess not, you need to change that to 127.0.0.1 if your
DB is on the same machine.
You did not follow the guide fully you missed the part where you are supposed to populate
the database and create the admin account.
I copied that directly from the guide as these are the steps listed in
section 8, i did on my install change that to localhost.
I followed the instructions exactly, (even added my own step of
preinstalling sql as it didnt install first time i tried)
Any Ideas?
--
View this message in context: http://baruwa-users-list.963389.n3.nabble.com/Ubuntu-10-04-apt-install-linux-newbie-tp3771395p3772111.html
Sent from the Baruwa users list mailing list archive at Nabble.com.
--
View this message in context: http://baruwa-users-list.963389.n3.nabble.com/Ubuntu-10-04-apt-install-linux-newbie-tp3771395p3774851.html
--
Jeremy McSpadden
On Feb 23, 2012, at 11:19 PM, "Andrew Colin Kissa" <and...@topdog.za.net> wrote:
>
> You did not follow the guide fully you missed the part where you are supposed to populate
> the database and create the admin account.
_______________________________________________
is there a commend missed out of the guide?
--
View this message in context: http://baruwa-users-list.963389.n3.nabble.com/Ubuntu-10-04-apt-install-linux-newbie-tp3771395p3775301.html
Sent from the Baruwa users list mailing list archive at Nabble.com.
This will ask you for the hostname of the system you are setting up, and
then initialize the system for you. The command does attempt to guess your
hostname, so if its correct just press enter.
--
Jeremy McSpadden
Flux Labs, Inc
http://www.fluxlabs.net <http://www.fluxlabs.net/>
Endless Solutions
Office : 850-588-4626
Cell : 850-890-2543
Fax : 850-254-2955
On 2/25/12 11:04 AM, "ManicD" <ash...@tetrabyte.com> wrote:
If you reply to this email, your message will be added to the discussion below:http://baruwa-users-list.963389.n3.nabble.com/Ubuntu-10-04-apt-install-linux-newbie-tp3771395p3775484.html
however, I'm at the end (p.s. not figured out how to check the noted logs
yet, will have to spend some time googleing)
all seems fine except, that when i go to the server in a web browser all i
get is the initial apache page
"It works! This is the default web page for this server.The web server
software is running but no content has been added,yet."
any idea what went wrong?
--
View this message in context: http://baruwa-users-list.963389.n3.nabble.com/Ubuntu-10-04-apt-install-linux-newbie-tp3771395p3777031.html
any ideas?
--
View this message in context: http://baruwa-users-list.963389.n3.nabble.com/Ubuntu-10-04-apt-install-linux-newbie-tp3771395p3778180.html
<VirtualHost *:80>
SetEnv PYTHON_EGG_CACHE /var/tmp
Alias /favicon.ico /usr/lib/python2.4/site-packages/baruwa/static/imgs/favicon.ico
Alias /static/ /usr/lib/python2.4/site-packages/baruwa/static/
<Directory /usr/lib/python2.4/site-packages/baruwa/static>
Options +FollowSymLinks
Order deny,allow
Allow from all
</Directory>
ServerName baruwa.domain.com
WSGIScriptAlias / /usr/lib/python2.4/site-packages/baruwa/baruwa.wsgi
<Directory /usr/lib/python2.4/site-packages/baruwa>
Order deny,allow
Allow from all
</Directory>
ErrorLog logs/baruwa-error_log
CustomLog logs/baruwa-access_log common
</VirtualHost>
--
Jeremy McSpadden
Flux Labs, Inc
http://www.fluxlabs.net
Endless Solutions
Office : 850-588-4626
Cell : 850-890-2543
Fax : 850-254-2955
--
View this message in context: http://baruwa-users-list.963389.n3.nabble.com/Ubuntu-10-04-apt-install-linux-newbie-tp3771395p3778189.html
The installation process will also configure apache, mysql and baruwa should you choose let the install configure the system for you.
The install asks you for the following info
- apache virtualhost name (The name used to configure the baruwa apache virtualhost)
- database host (The hostname or ip of the host running your mysql database)
- database admin user (A user account with admin access on the database server)
- database admin password (The password fo the above user)
- database user (The user baruwa will use to connect to the database)
- database password (The password for the above)
- database name (The name of the baruwa database)
- rabbitmq host (The rabbitMQ hostname or IP address)
- rabbitmq vhost (The RabbitMQ vhost)
- rabbitmq user (The RabbitMQ user)
- rabbitmq password (The RabbitMQ password)
- baruwa admin user (The baruwa admin user)
- baruwa admin password (The baruwa admin user password)
- baruwa admin email (The baruwa admin user email address)
.............
Did you follow the prompts through the installer ? all of these should have been configured.
>any ideas?
Take a look at the SpamSnake's configuration of Nginx, might lead you in the correct direction.
Rocky
apache virtualhost name (The name used to configure the baruwa apache
virtualhost)
am i correct to be putting in server1.domain.com <--- my domain
or should i leave it as the default?
bear in mind i'm doing NO other configuration first, just installing this
onto a clean ubuntu install
--
View this message in context: http://baruwa-users-list.963389.n3.nabble.com/Ubuntu-10-04-apt-install-linux-newbie-tp3771395p3788983.html
--
Jeremy McSpadden
I did find i had to install mysql-server first, but is there a list of
things to install first?
thanks for your help!!!
--
View this message in context: http://baruwa-users-list.963389.n3.nabble.com/Ubuntu-10-04-apt-install-linux-newbie-tp3771395p3789044.html
--
Jeremy McSpadden
--
View this message in context: http://baruwa-users-list.963389.n3.nabble.com/Ubuntu-10-04-apt-install-linux-newbie-tp3771395p3789060.html