Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: [mv] I'm going crazy with DataBases



******    message to minivend-users from jojo@buchonline.net     ******

On 14 Jul, Eduardo Marquez wrote:
> ******    message to minivend-users from Eduardo Marquez <emarquez@wmega.es>     ******
> 
> Hi all , i'm new in minivend.I installed it and created a shop with a
> TAB products file , and no problem.
> 
> My problem comes when i want to use a products database with PostgreSql.
> 
> I'd like somebody explain to me where is my error in the catalog.cfg
> file , because i  allways get this message when i try to access database
> with: [data base=products field=price key=as20]
> 
> - - - [14/julio/2000:12:22:58 +0000] - - Died in select, retrying: error
> 'Llamad
> a al sistema interrumpida' from select.
> 
> This is my catalog.cfg file:
> 
> Variable  SQLDSN   dbi:Pg:dbname=test_minivend host=xxxx.xxxx.xxx
> port=11111
> Message <<EOF
> 
> Using PostgreSQL for databases, DSN=__SQLDSN__.
> EOF
> 
> Variable  SQLPASS  xx
> Variable  SQLUSER  minivend
> 
> Database            products        ../pgsql/products.pgsql     SQLDSN
> 
> 
> Thanks in advance

The cause of your trouble is your locale setting of you OS. It is set
to "espanol"? You get 

'Llamad a al sistema interrumpida' 

instead of

"Interrupted system call".

MV use for example

--------snip Server.pm-------
 while (!defined $r and $! =~ m/^Interrupted/);
--------snip-------

(Interrupted <> Llamad).

Set your OS to US (locale).

Joachim

-- 
Hans-Joachim Leidinger
buch online                 jojo@buchonline.net
Munscheidstr. 14            FAX: +49 209 1671449
45886 Gelsenkirchen         FAX: 0209 1671449

-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: