Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Mahmood Al-Yousif on July 29, 2002, 05:47:24 PM
-
I've successfully installed Postgresql on SME 5.5. I intend to use the installation to run the sql-ledger software (http://www.sql-ledger.com) which seems worth investigating.
I've gotten sql-ledger to work as far as displaying the admin page etc is concerned, but am facing a problem in that the page links result in error 500's.
On investigating in the /var/log/httpd/error-log I get the following messages which relate to DBD and DBI installations (no rpms availalbe for the versions that I want and I don't know how to create RPMs (yet!)):
[Mon Jul 29 15:24:25 2002] [error] [client 192.168.0.11] Premature end of script headers: /home/e-smith/files/ibays/ledger/html/admin.pl
install_driver(Pg) failed: Can't locate loadable object for module DBD::Pg in @INC (@INC contains: /usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i386-linux /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl .) at (eval 6) line 3
Compilation failed in require at (eval 6) line 3.
Perhaps a module that DBD::Pg requires hasn't been fully installed
at SL/User.pm line 198
Compilation failed in require at /home/e-smith/files/ibays/ledger/html/admin.pl line 89.
I did install the "DBD-Pg-0.73-1" rpm (rpmfind) however the version required by the software is more recent (1.13) and that is available only on source, as SME does not have the "make" program I cannot compile it locally.
Has anyone installed DBD and DBI (latest or recent versions) or at least can point me to a How-To build an RPM on a remote system then install them on SME?
Many thanx
Mahmood
-
Hi Mahmood,
I succesfully installes sql-ledger 2 weeks ago. I installed both DBD and DBI without problems. I'm changing the current how-to for installation on SME 5.5 (or are you..?)
All the files needed are here:
http://www.star-support.com/downloads/mitel/contrib/sql-ledger/
Demo can be found here:
https://www.star-support.com/accountant/login.pl
user: demo
pass: demo
Have fun.
Regards,
RequestedDeletion
httpd
-
Hi,
My websit
http://www.hklinux.no-ip.com/SQL-Ledger/
-
Thanks for that. No please go ahead and complete the how-to as you've started it and this is my first experience with both sql-ledger and postgresql.
regards
Mahmood
-
Thank you. Those files are just what were needed!
-
I have followed the instructions in the install.htm until I create the custom template directory, then I cannot find the files I need to copy into it.
Could someone please point me in the direction of these files or mail them to me?
Thankyou
Tony
-
Hi,
cp 50DirectoryIndex00 /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/
cp 50DirectoryIndex00PHP /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/
cp 80AddHandler00 /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/
cp 90e-smithAccess40ibays /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/
The above command will copy the template fragments from /etc/e-smith/templatesetc/httpd/conf/httpd.conf/ to the new custom template.
You have to change to dir /etc/e-smith/templates/etc/httpd/conf/httpd.conf/ and then execute the commands.
Regards,
guestHH
-
Thank you, I never thought to look there!
Tony
-
OK
I did everything as per the instructions. When I try to access:
http://account/admin.pl
I get "this page cannot be displayed"
http://tbcomputing.com/account/admin.pl
I get "you are not authorised to view this page"
http://account/
I get "this page cannot be displayed"
http://tbcomputing.com/account/
I get "index of /account"
Any help please
Tony
-
Hi,
http://www.yourdomain.com/account/admin.pl doesn't work ?
HFW
-
Hi,
Sorry about my website PHP index cannot show the file 50DirectoryIndex00 ...
Now you can get all file from my website.
http://hklinux.no-ip.com/SQL-Ledger/
-
No
It does not work.
do I need to upgrade PHP
I am running SME 5.1.2
Any other ideas please
Thanks to C K Kung for posting the files.
Tony
-
Tony,
My server is same of you. 5.12.
What problem you have?
-
YFYI
I made a backup of C.K. Kung's file here:
http://www.star-support.com/downloads/mitel/contrib/sql-ledger/
among some other sqlledger related files.
Thanks C.K.
Regards,
guestHH
-
Hi,
Note: my server's sql-ledger-1.8.4.1.tar.gz file is 1.84 + patch
-
OK
Its working on 5.5 after a lot of work.
I will do it again on a clean box and write a howto.
Tony