[rt-users] Trying to get AssetTracker1.2.4b1 to work with RT3.8.7

Torsten Brumm torsten.brumm at googlemail.com
Mon Jun 21 11:48:34 EDT 2010


Hmm, ok, have you checked, that it is really installed under /opt/rt3 ?

2010/6/21 Alan Yuen <alan at securematics.com>

> Hi,
>
> There is a /var/cache/rt3/mason_data/obj directory, and there is nothing in
> it, and I have also restarted the httpd service, and it is still the same.
>
> Yes, I think it is placed in /opt/rt3 with Yum, it does have etc/ lib/ po/
> sbin/ and share/ subdirectories in it.
>
> Any suggestion/help is greatly appreciated.
>
> Rgds,
> Alan
>
>
> ________________________________________
> From: Torsten Brumm [mailto:torsten.brumm at googlemail.com]
> Sent: Saturday, June 19, 2010 2:28 PM
> To: Alan Yuen
> Cc: rt-users at lists.bestpractical.com
> Subject: Re: [rt-users] Trying to get AssetTracker1.2.4b1 to work with
> RT3.8.7
>
> OK, have you tried to clean the mason cache and restart apache?
>
> Another point: i'm not sure where RT is installed via yum, is it placed in
> /opt/rt3 ?? or somewhere else?
>
> Torsten
> 2010/6/18 Alan Yuen <alan at securematics.com>
> 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
>
>
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com
>
>
>
> --
> MFG
>
> Torsten Brumm
>
> http://www.brumm.me
> http://www.elektrofeld.de
>
>


-- 
MFG

Torsten Brumm

http://www.brumm.me
http://www.elektrofeld.de
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20100621/7b513f87/attachment.htm>


More information about the rt-users mailing list