Send netdisco-users mailing list submissions to
        netdisco-users@lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.sourceforge.net/lists/listinfo/netdisco-users
or, via email, send a message with subject or body 'help' to
        netdisco-users-requ...@lists.sourceforge.net

You can reach the person managing the list at
        netdisco-users-ow...@lists.sourceforge.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of netdisco-users digest..."
Today's Topics:

   1. Exported and Restored database on a new server and got these
      errors if deploying again (Basti S.)
--- Begin Message ---
Hello,

I have created a dump on my Netdisco machine with
*pg_dump netdisco > netdisco.dump*

and restored it the following way on a new Netdisco installation:



*psql -U postgres -d postgres -c "DROP DATABASE netdisco;"psql -U postgres
-d postgres -c "CREATE DATABASE netdisco;"psql -U postgres -d netdisco -f
../../../tmp/netdisco.dump*

Afterwards I deployed Netdisco again and get the following errors:

















*Download and update vendor MAC prefixes (OUI data)? [y/N]: yUpdating OUI,
Manufacturers, Enterprises, and Products...
psql:/home/netdisco/netdisco-lookup-tables.sql:33854: ERROR:  relation
"enterprise" does not existLINE 1: DELETE FROM "enterprise";
    ^psql:/home/netdisco/netdisco-lookup-tables.sql:33855: ERROR:  relation
"enterprise" does not
existpsql:/home/netdisco/netdisco-lookup-tables.sql:52018: ERROR:  syntax
error at or near "1"LINE 1: 1 NxNetworks
^psql:/home/netdisco/netdisco-lookup-tables.sql:81369: ERROR:  syntax error
at or near "Oy"LINE 1: Oy
^psql:/home/netdisco/netdisco-lookup-tables.sql:121389: error: invalid
command \Spsql:/home/netdisco/netdisco-lookup-tables.sql:146202: error:
invalid command \.psql:/home/netdisco/netdisco-lookup-tables.sql:179531:
error: invalid command
\.psql:/home/netdisco/netdisco-lookup-tables.sql:179531: ERROR:  syntax
error at or near "LTD"LINE 1: LTD        ^done.*

Any idea how to solve this?
The data was imported, all switches are in the inventory, but I am afraid
that anyway there's a problem in the system.

Or is there a better way to move a Netdisco installation to a new server?

Any help is much appreciated!

Thanks!
Bastian

--- End Message ---
_______________________________________________
Netdisco mailing list - Digest Mode
netdisco-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/netdisco-users

Reply via email to