I encountered this error when trying to publish a map service to an ArcGIS Server 10.1 (installed on linux).
————————— Service Publishing Result
————————— Packaging succeeded, but publishing failed.ERROR 001359: Failed to connect to the server.
Please consult the GP Results Window for enhanced error description
.
Other info:
The geodatabase is registered with the server. And it did work in the past.
We use a PostgreSQL gdb server.
Best Answer
apparently in our case it was an IP problem. we changed the IP of our gis server a couple of days ago. and the gdb didn't recognized the new ip, so changed back to the old IP.