[rt-users] Trying to get AssetTracker1.2.4b1 to work with RT3.8.7
Alan Yuen
alan at securematics.com
Thu Jun 17 18:04:43 EDT 2010
Hi,
I am a newbie to RT, so any help is appreciated.
I installed RT the lazy way, running Fedora 13, I just "yum install" RT, RT
is up and working in no time.
Then I did "svn checkout
http://ass-tracker-4rt.googlecode.com/svn/at/tags/1.2.4b1", got the beta
source to AT, followed all the steps in README.
Everything seems to be ok, rebooted Fedora 13, however I don't see anything
change in RT (ie didn't add "Asset" under "Tools"). Am I missing something?
Here is what happened in make install:
[root at localhost 1.2.4b1]# make install
mkdir -p //opt/rt3/etc/AssetTracker/
cp etc/AssetTracker/AT_Config.pm //opt/rt3/etc/AssetTracker/AT_Config.pm
[ -f //opt/rt3/etc/AssetTracker/AT_SiteConfig.pm ] || cp
etc/AssetTracker/AT_SiteConfig.pm
//opt/rt3/etc/AssetTracker/AT_SiteConfig.pm
chgrp rt //opt/rt3/etc/AssetTracker/AT_Config.pm
chown root //opt/rt3/etc/AssetTracker/AT_Config.pm
chgrp rt //opt/rt3/etc/AssetTracker/AT_SiteConfig.pm
chown root //opt/rt3/etc/AssetTracker/AT_SiteConfig.pm
Installed configuration. about to install at in
for dir in `cd ./lib/ && find . -type d -print`; do \
/bin/sh ./install-sh -c -d -m 0755 /opt/rt3/lib/$dir ; \
done
for f in `cd ./lib/ && find . -type f -name \*.pm -print`; do \
/bin/sh ./install-sh -c -m 0644 lib/$f /opt/rt3/lib/$f ; \
done
for dir in `cd ./html/ && find . -type d -print`; do \
/bin/sh ./install-sh -c -d -m 0755 /opt/rt3/share/html/$dir ; \
done
for f in `cd ./html/ && find . -type f -print`; do \
/bin/sh ./install-sh -c -m 0644 html/$f
/opt/rt3/share/html/$f ; \
done
for dir in `cd ./po/ && find . -type d -print`; do \
/bin/sh ./install-sh -c -d -m 0755 /opt/rt3/po/$dir ; \
done
for f in `cd ./po/ && find . -type f -print`; do \
/bin/sh ./install-sh -c -m 0644 po/$f /opt/rt3/po/$f ; \
done
mkdir -p -m 0755 /opt/rt3/sbin/;
for dir in `cd ./sbin/ && find . -type d -print`; do \
/bin/sh ./install-sh -c -d -m 0755 /opt/rt3/sbin//$dir ; \
done
for f in `cd ./sbin/ && find . -type f -print`; do \
/bin/sh ./install-sh -c -m 0644 sbin/$f /opt/rt3/sbin//$f ; \
done
mkdir -p //opt/rt3/etc/AssetTracker/
cp -rp \
etc/AssetTracker/acl.* \
etc/AssetTracker/initialdata \
etc/AssetTracker/schema.* \
etc/AssetTracker/drop_* \
etc/AssetTracker/upgrade \
//opt/rt3/etc/AssetTracker/
# Make the libraries readable
#chmod 0755 /
chown -R root //opt/rt3/lib
chgrp -R bin //opt/rt3/lib
chmod -R u+rwX,go-w,go+rX //opt/rt3/lib
chmod 0755 //opt/rt3/etc/AssetTracker/
chmod 0500 //opt/rt3/etc/AssetTracker//*
#TODO: the config file should probably be able to have its
# owner set separately from the binaries.
chown -R root //opt/rt3/etc/AssetTracker/
chgrp -R rt //opt/rt3/etc/AssetTracker/
chmod 0554 //opt/rt3/etc/AssetTracker/AT_Config.pm
chmod 0554 //opt/rt3/etc/AssetTracker/AT_SiteConfig.pm
# Make the web ui readable by all.
chmod -R u+rwX,go-w,go+rX //opt/rt3/share/html
chown -R root //opt/rt3/share/html
chgrp -R bin //opt/rt3/share/html
make dropdb.`/usr/bin/perl -I/opt/rt3/lib -I/opt/rt3/lib -e'use RT;
RT::LoadConfig(); print ${$RT::{$ARGV[0]}};' DatabaseType`
make[1]: Entering directory `/root/1.2.4b1'
mysql `/usr/bin/perl -I/opt/rt3/lib -I/opt/rt3/lib -e'use RT;
RT::LoadConfig(); print ${$RT::{$ARGV[0]}};' DatabaseName` -u root -p <
etc/AssetTracker/drop_schema.mysql
Enter password:
make[1]: Leaving directory `/root/1.2.4b1'
/usr/bin/perl /opt/rt3/sbin//at-setup-database --action init --datadir
./etc/AssetTracker/ --dba root --prompt-for-dba-password
Name "RT::DatabaseHost" used only once: possible typo at
/opt/rt3/sbin//at-setup-database line 221.
In order to create or update your RT database,this script needs to connect
to your mysql instance on localhost as root.
Please specify that user's database password below. If the user has no
database
password, just press return.
Password:
Now populating AssetTracker database schema.
Creating database schema.
Done setting up database schema.
Now inserting AssetTracker database ACLs
Done setting up database ACLs.
Now inserting AssetTracker data
Creating Superuser ACL...done.
Creating groups...141.142.done.
Creating types...1.done.
Creating ACL...That principal already has that right.done.
Done setting up database content.
[root at localhost 1.2.4b1]#
Thanks.
Rgds,
Alan
More information about the rt-users
mailing list