When attempting to deploy a TIBCO BusinessWorks project using TIBCO TRA AppManage for example:
D:\projects\MyProject>D:\tibco\tra\5.7\bin\AppManage --propFile "D:\tibco\tra\5.7\bin\AppManage.tra" -deploy -ear build\MyProject.ear -deployConfig build\MyProject.xml -app /Projects/MyProject -user myuser -domain DEV -pw secret
Deployment fails with the following error:
Failed to create adjustment process
Add .exe to the AppManage command:
D:\projects\MyProject>D:\tibco\tra\5.7\bin\AppManage.exe --propFile "D:\tibco\tra\5.7\bin\AppManage.tra" -deploy -ear build\MyProject.ear -deployConfig build\MyProject.xml -app /Projects/MyProject -user myuser -domain DEV -pw secret`
This may be related to the version of the operating system (without .exe works fine on Windows 7 but not on Windows Server 2008 R2).
Related
I need some help please, I am upgrading postgresql from v10 to v11 on Windows, but get the following error message: could not open version file: C:/Program Files/PostgresSQL/11/data/PG_VERSION.
Here are the steps taken:
Stopped both PostgresSQL v10 and PostgresSQL v11 services using
services.msc
Set full access control/complete permissions for users for both v10 and v11.
Created 'postgres' user account with full admin rights.
Opened command-line and entered
RUNAS /USER:postgres "CMD.EXE
prompted to enter password for user postgres user.
New command-line window opens and cd to 'C:\Program Files\PostgreSQL\11'.
Entered the following:
pg_upgrade.exe --old-datadir "C:/Program Files/PostgreSQL/10/data" --new-datadir "C:/Program Files/PostgreSQL/11/data" --old-bindir "C:/Program Files/PostgreSQL/10/bin" --new-bindir "C:/Program Files/PostgreSQL/11/bin" --check
On pressing enter I get the above mentioned error.
I am new to the whole process of using PostgreSQL.
Any thoughts on what is wrong?
I had to grant \postgres modify access to both the old and the new datadirectory. That solved the problem for me while upgrading from 9.6 to 10
I had the same problem. I solved it by not running a cmd as postgres user.
Instead I made a passwsord file and set the env PGPASSFILE accordingly:https://www.postgresql.org/docs/11/libpq-pgpass.html
Apparently when running cmd as postgres user, it was some permissions that prohibited the PG_VERSION to be opened
I have a service running at local system account (NT AUTHORITY\SYSTEM). This service shall connect to local subversion repository. Is this possible?
I tried this
svn export --non-interactive http://localhost/svn/MyRepository TargetFolder
but it does not work. As far as I know I cannot set any password for "NT AUTHORITY\SYSTEM". I don't like to use my personal account and put my password there as clear text.
My SVN runs on VisualSVN-Server
You should never use SYSTEM account for such tasks for numerous security reasons. Create and use a dedicated local Windows or Active Directory account with limited permissions.
Setting up the cached authentication credentials for the System user requires running an svn.exe command as the System user. Windows Vista+/Server 2008+ doesn't make that easy.
Install psexec from https://learn.microsoft.com/en-us/sysinternals/downloads/psexec
Start an elevated cmd.exe as Administrator.
Run "psexec -i -s cmd.exe".
A new cmd.exe should appear which is running as the System user.
Type whoami. Verify the output reads something like "nt authority\system".
Perform a subversion command like "svn --username your-svn-user list your-https-repo-url".
When prompted by svn.exe, enter the password for your-svn-user.
The "svn auth" command allows you to examine the cached credentials.
Note if a new SSL certificate is installed on the Subversion server, you'll have to repeat this process.
For more responses on this topic: How do you run CMD.exe under the Local System Account?
I use psshutdown.exe to remote shutdown computers .
but for windows 2008 and windows 7, when I use psshutdown.exe, it has error "ACCESS is denied "
I use administrator username and password
how can I solve it ?
try the following command:
shutdown -s -t 0
Win7. Postgres 9.3.
Every time I type "postgres" in cmd I get this error.
Created a new account without any admin rights and with "Log on as" rights and with correct directory access rights to postgres/data, then I set this account as the "Log on as" in the services menu, but I still get the same error.
update2017: I never found a solution to this.
For windows do this:
Start cmd.exe (administrator as you are)
Add postgres user:
net user postgres your_password /add
Start a cmd.exe using your new postgres account:
runas /user:postgres cmd.exe
You can validate you are login correctly using" whoami
Run postgres normally.
It is not clear from your question whether you are trying to start the Postgres service or "manually" start Postgres without having a Windows service registered.
Since 9.x Postgres does not require it's own Windows user account to run the service. It defaults to use the built-in "Network" account.
To start the Postgres service (if it has been correctly installed), simply use use
net start postgresql-9.3
(the actual name might be different)
If you did not register a Windows service you should start Postgres through pg_ctl.exe not through postgres.exe. pg_ctl.exe will drop any administrative privileges from the process when starting the server.
To start Postgres manually from the commandline use:
pg_ctl -w -D c:\Path\To\The\DataDirectory
assuming that the access rights to the data directory are setup correctly so that the current user has full access to the directory.
If you want to install/create the Windows service manually, you can also do this through the pg_ctl program:
pg_ctl register -N "postgresql-9.3" -D c:\Path\To\The\DataDirectory
Again the access rights to the data directory must be setup correctly.
I installed the Subversion package version 1.7 on windows 7 operating system using admin account
I created the depository with the following command: svnadmin create "c:\svn_repository"
I modified the svnserve.conf and passwd files : anon-access = read, auth-access = write, and password-db = passwd
I installed the Subversion as a windows service and I started it using the following commands:
sc create svnserver binpath= "C:\Program Files (x86)\Subversion\bin\svnserve.exe --service -r c:\svn_repository" DisplayName= "Subversion" depend= tcpip start= auto
I also setted the variable SVN_EDITOR to : set SVN_EDITOR=c:\windows\system32\notepad.exe
The problem I faced is when I invoke the following command :
svn mkdir svn://localhost/myproject
I receive the following error :
svn: E200002: Unable to connect to a repository at URL 'svn://localhost'
svn: E200002: C:\svn_repository\conf\svnserve.conf:19: Option expected
check the svnserve.conf for whitespace at the beginning of the line for each option you specified (in your case, check line 19 of svnserve.conf, if you have a white space before that line, remove it)
-r c:\svn_repository" and svnadmin create c:\svn_repository are incompatible
-r define common root of repositories and can't be repository per se