Question/Problem setting up multiple projects with separate changelists.Server Depot Multiple Changelist Separate Project Administration
Posted 04 February 2019 - 11:37 PM
My name is Will, and thank you in advance for any and all assistance.
Now that the pleasantries are out of the way, I'll get straight to the point:
I'm trying to set up multiple game design projects, either using separate servers or depots most likely, and I need them to have separate change lists. So far, attempts have failed.
Until now I've been using a single server on my PC to host files among a small team (2 people) and using different workspace configurations for separate projects. Functional, but all projects share a single change list.
I've attempted to set up separate depots within a single server, but ran into issues trying to get it to work properly and (as far as I'm aware) the changelist is Server relative, not depot relative. If that is incorrect, please let me know and I'll revisit that option.
The problem I'm encountering now is that, after going through all the steps of creating the second server service in the command line, setting its variables, and verifying that the service exists, I cannot seem to start it. Using the "svcinst start -n Perforce2" command at the end of the steps listed here, I get an error stating that the file cannot be found. Yet, my task manager's services tab shows Perforce2 there, and it cannot be started manually either. Checking the files in the root directory for the server, everything is there that should be, so I'm at a bit of a loss.
Posted 05 February 2019 - 03:23 PM
Posted 05 February 2019 - 09:01 PM
- Using Windows Powershell as Administrator.
- In the directory of the second server I set up following the instructions here.
- Using the final start command:
svcinst start -n Perforce2
I get the following:
Starting Service Service stopped... starting StartService(): failed, The system cannot find the file specified
Checking both services for errors/inconsistencies, the only thing I see is I don't have the following on server 2:
This is the output for said checks:
PS D:\Program Files\Perforce> p4 set -S Perforce P4EDITOR=C:\Windows\SysWOW64\notepad.exe (set) P4JOURNAL=journal (set -S) P4LOG=log (set -S) P4PORT=1666 (set -S) P4ROOT=D:\Program Files\Perforce\Server (set -S) P4USER=William (set) P4_1666_CHARSET=none (set) PS D:\Program Files\Perforce> p4 set -S Perforce2 P4EDITOR=C:\Windows\SysWOW64\notepad.exe (set) P4JOURNAL=journal (set -S) P4LOG=journal2 (set -S) P4PORT=1667 (set -S) P4ROOT=D:\Program Files\Perforce\Server2 (set -S) P4USER=William (set)
And finally a little proof that the files needed are there:
Posted 05 February 2019 - 09:45 PM
Does starting the service from the services panel behave any differently? How about "net start Perforce2"?
Posted 05 February 2019 - 09:53 PM
I'll look up how to set that and see if that fixes the issue. Please hold.
Hm, standard windows sc config command is saying:
Set-Content : A positional parameter cannot be found that accepts argument 'binPath='. At line:1 char:1 + sc config Perforce2 binPath= "D:\Program Files\Perforce\Server2\p4s.e ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidArgument: (:) [Set-Content], ParameterBindingException + FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.PowerShell.Commands.SetContentCommand
I assume that means the service's definition lacks the binPath value to be set, so fun. I'll start checking perforce commands, maybe there's something there.
Turns out it does, I was just using the CMD command rather than Powershell's command. It -appears- to be fixed, it started, so now I'll see if I can connect.
Success! I can connect.
Thank you. I'll have to make note of how to verify and set the service path. Seems like that should be a step in the creation process that isn't listed on that page or is out of date.
Also tagged with one or more of these keywords: Server, Depot, Multiple, Changelist, Separate, Project, Administration
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users