Asset Server Install Error

I’m having a problem installing the asset server on a Ubuntu box. I’ve converted the rpm package to a debian package with Alien. When I try to install the .deb package with ‘sudo dpkg -i [package name here]’ i get this error:

/etc/init.d/unity_asset_server: line 10: /etc/init.d/functions: No such file or directory

Does anyone know what I should do to fix this problem. It is true that I do not have a file or directory named functions in /etc/init.d.

Aaron

The /etc/init.d/unity_asset_server startup script does not work on Debian based Linux distributions.

See this thread for more information: http://forum.unity3d.com/viewtopic.php?p=65431

Keli, thanks for the info on running the Asset Server on Ubuntu. I was able to make the edits to the init.d/unity_asset_server script. I couldn’t find whee I should make the edit the the postgres configuration file, though, or the install.sh file. Can you tell me where those files are?

Here’s the reference in that post:
Add --without-readline to postgres configure (line 41) and change update-rc.d (line 123) in install.sh:

Thanks.

Aaron

You need to download the source tarball and not the rpm package and install that. The files you need to modify are in the top-level directory after extracting the archive.

After modifying the files, you need to follow the instructions for “Installing from source” on this page: Real-time tools for 3D, AR, and VR development | Products

edit: and you don’t really have to change line 123 in install.sh, as this is only a comment.

Thanks. Installing from source has gotten me closer. Now, when running the install.sh script I’m getting this error:

Starting Unity Asset Server: [OK]
psql: could not connect to server: No such file or directory
Is the server running locally and accepting connections on Unix domain socket “/tmp/.sPGSQL.10733”?
Could not update database template1.

Any idea what might be causing this problem?

Aaron

I am reading through these posts, has anyone had any luck getting it going on Ubuntu?

I am interested in helping out since we use Ubuntu for our LAMP servers. I would like to keep the Linux OS standard across our setup.

What could I do to help?

I am loading the source code now.

I was able to fix my problem by putting the permissions back to 0700 on the /Data directory. Apparently that was throwing the PostGres server off.

Aaron