i also have this error in the webadmin, statistics, I get a 404.
so i think it is a general error
________________________________________
Fra: fred-users-bounces(a)lists.nic.cz [fred-users-bounces(a)lists.nic.cz] På vegne
af Julian De Marchi [julian(a)jdcomputers.com.au]
Sendt: 4. november 2008 10:47
Til: fred-users(a)lists.nic.cz
Emne: Re: Fred dramas
Jaromír Talíř wrote:
Hi Julian,
according to log, it looks like database installation didn't finish
correctly. create_object() is postgresql stored procedure written in
plpgsql language. This language must be installed (createlang command)
into database before SQL script with FRED database structure is loaded.
We have fred-dbmanager script that takes care of this dependency:
$ grep -A4 -B5 createlang /usr/sbin/fred-dbmanager
if [ "$(get_db_version)" = "" ]; then
/usr/bin//createuser fred -SDR -p 5432 > /dev/null 2>&1
/usr/bin//createdb fred -O fred -E UTF8 \
-p 5432 > /dev/null 2>&1
/usr/bin//createlang plpgsql fred \
-p 5432 > /dev/null 2>&1
/usr/bin//psql fred -U fred -f $STRUCTSQL -p 5432 >/dev/null
2>&1
fi
In default installation command '/usr/sbin/fred-dbmanager install' is
called during fred startup inside command '/etc/init.d/fred-server
start'.
That was the trick;
REG-FRED_A(a)192.168.0.18> create_contact CID:ID02 'Jan Ban'
info(a)mail.com Street Brno 123000 CZ
Do you really want to send this command to the server? (y/N): y
Contact ID: CID:ID02
Created on: 2008-11-05T16:46:15+10:00
I now have success. Thank you very much! Next problem, on the webadmin
page and click on statistics, I get a 404. Where does that info come from?
--julian
_______________________________________________
Fred-users mailing list
Fred-users(a)lists.nic.cz
https://lists.nic.cz/mailman/listinfo/fred-users
This email and its attachments may be confidential and are intended solely for the use of
the individual to whom it is addressed.
If you are not the intended recipient or authorized to receive information for the
intended recipient you are notified that disclosing, copying, distributing or taking any
action in reliance on the contents of this information is strictly prohibited. If the
email contains proposals, they are valid for 30 days following the date of email
transmission. Finally, the recipient should check this email and any attachment for the
presence of viruses. The company accepts no liability for any damage caused by any virus
transmitted by email.