I have been using the asset server for a while with no problems, running it locally on my development machine. After booting up today it refuses to start.
Trying to start it from the controller gives the error “Could not start server. Cannot start service Unity Asset Server on computer ‘.’.”.
Trying to start the service manually from “Computer Management” gives me the error “Windows could not start the Unity Asset Server service on Local Computer. Error 1069: The service did not start due to a logon failure.”.
When I booted my computer today there was some update from Windows Update, but I didn’t pay attention to what it was.
Techincal specs: Unity 3 Pro (with asset server license), Windows 7 (64 bit).
I haven’t made any system changes recently except for that windows update this morning (and certainly nothing related to Win7 users). However I rarely reboot my development machine, so theoretically the error could have snuck in sometime in the past week or so (although the asset server worked fine before the reboot). I did lower the UAC settings a while back, but I’m certain I rebooted afterwards and have been using the asset server since.
I am wondering if re-installing the asset server would fix this, but I don’t really want to experiment with that unless I know a 100% safe way to backup the asset server data.
The asset server is just a postgresql database, so do a google search for something like “postgresql error 1069 windows” and you’ll find a bunch of stuff. The most likely reason is that there is a problem with the user or password that the service is trying to start as. Double check those in the service settings.
Thanks for the quick response. In the “properties” dialog for the service it was set to run as user “.\unitysrv” or something like that. Changing it to “Local System” seems to fix it.
(makes we wonder how it managed to work in the first place though)
I am getting the same issue.
However when I switch the user to Local System and start the service, a window pops up saying the service started then stopped.
When I start the AS from its gui it times out again.
@Sproket, how did you start the service after switching the login to local?
To get the AS installing correctly (if the install fails you won’t be able to start it), ensure that you login on the expected account ie UnitySrv and install it from within there.
This interestingly works and so will it do after that point
I re-installed in Administrator because there was no unitysrv user, the install created a Unity Asset Server user automatically and reset logon to ./unitysrv
it still doesn’t work
Sproket, can you outline the steps that allowed you to make the AS function again.
Is there anyone at Unity left to provide support on the Asset Server, it feels abandoned.
you must create a UnitySrv user, because unity will ALWAYS run from that one. yet the problem is that the setup does not work commonly and it can not register itself correctly against it when not on it.
I’ve on the official thread to AS2 mentioned the steps but from what I recall:
Create UnitySrv user with admin rights
login to it and install AS2
Switch back to administrator and feel free to remove the admin rights again
be happy
bit annoying and hard to believe that this many months were not enough to fix a trivial bug.
But It seems that I have another problem, something with the database.
I do a fresh install in unitysrv, removing the old database folder (and packing it 7z style)
the server starts no problem
i stop the server and unpack the old database
the server won’t start
I tried changing the credential of the old database but unitysrv and administrator already have “allow all”
Finally no log is created when the AS does not start.
the server itself is not that difficult. the problem is that although the problems with the windows install were reported very early it didn’t get fixed.
also, what do you mean with old database? potentially an AS 1 one?
I had the same problem when I rebooted today. I am running Win 7 Pro x64 with SP1 installed and had no updates pending and am running as a domain user. Running Unity Asset Server 2.0.1f1_33964.
I opened up Computer Management console (compmgmt.msc) and noticed that the unitysrv user’s properties had “User must change password at next logon” checked and “Password never expires” was not checked. I set the password for the unitysrv user to the admin password of the Asset Server and checked “Password never expires”.
This allowed me to start the server with no problems again!
I (sadly) have the asset server installed on a Windows Vista Home Premium machine.
This does not give me access to the user management from the computer management… nor to gpedit.msc, which seems to be required to add the snap-in…
Any ideas how to edit non-user account passwords (and set to not expire) on Vista Home Premium ?