Guys,
When doing the install step
cat images_pgsql.sql | psql -U zabbix zabbix
Password for user zabbix:
I get loads of these
WARNING: nonstandard use of \\ in a string literal
LINE 1: INSERT INTO images VALUES (1,1,'Hub','\\211PNG\\015\\012\\03...
^
HINT: Use the escape string syntax for backslashes, e.g., E'\\'.
ERROR: duplicate key value violates unique constraint "images_pkey"
WARNING: nonstandard use of \\ in a string literal
LINE 1: INSERT INTO images VALUES (2,1,'Hub (small)','\\211PNG\\015\...
^
What am I missing here? Is there a more recent images_pgsql.sql I should be using? (I can see from google I'm not the first with this error but I can't find anyone with a good answer yet. Am I looking at doing a global replace with sed?)
Thanks,
Pete
When doing the install step
cat images_pgsql.sql | psql -U zabbix zabbix
Password for user zabbix:
I get loads of these
WARNING: nonstandard use of \\ in a string literal
LINE 1: INSERT INTO images VALUES (1,1,'Hub','\\211PNG\\015\\012\\03...
^
HINT: Use the escape string syntax for backslashes, e.g., E'\\'.
ERROR: duplicate key value violates unique constraint "images_pkey"
WARNING: nonstandard use of \\ in a string literal
LINE 1: INSERT INTO images VALUES (2,1,'Hub (small)','\\211PNG\\015\...
^
What am I missing here? Is there a more recent images_pgsql.sql I should be using? (I can see from google I'm not the first with this error but I can't find anyone with a good answer yet. Am I looking at doing a global replace with sed?)
Thanks,
Pete
Comment