INS-30131 Initial setup required for the execution of installer validations failed - database

i just uninstall oracle 12c manually on windows 10 and now am reinstalling it shows errors:
Cause - Failed to access the temporary location. Action - Ensure that
the current user has required permissions to access the temporary
location. Additional Information:
 - Framework setup check failed on all the nodes
- Cause: Cause Of Problem Not Available
 - Action: User Action Not Available Summary of the failed nodes desktop-81i87ss
 - Version of exectask could not be retrieved from node "desktop-81i87ss"  - Cause: Cause Of Problem Not Available
 - Action: User Action Not Available

In some cases, there is a possibility that your computer name contains some special character, unique installer throws same error in that case. Try removing any special character by renaming your system to a new name and then try installation again.
For Example: My system had name "LAPTOP-GENCONIAN". Problem was solved for me after renaming to "GENCONIAN"

I come across similar issue and was able to resolve with this method
Open CMD
CD into the folder in which setup file exits
3.Run the command - setup.exe -ignorePrereq -J"-Doracle.install.client.validate.clientSupportedOSCheck=false"
Now the intallation window will open without validation check and you can continue

Related

Getting ORACLE_HOME must be set and %ORACLE_HOME%\database must be writeable createdb terminated unsucessfully while creating db in postgres

I am getting the following error and the process of creating a DB gets terminated automatically while creating a DB in PostgreSQL.
ORACLE_HOME must be set and %ORACLE_HOME%\database must be writeable
createdb terminated unsucessfully.
How to create a Database in Postgres using createdb command?
Running the same command on the Git Bash also doesn't work, the process doesn't getting terminated and it showing as in the picture below.
I wanted to leave this as a comment but I cannot, there are several issues that may be happening here, the first that comes to mind is that your command prompt is not showing as admin. This can also be a path issue, because sometimes cmd will not recognize paths for software except when you try to use it on the folder its installed. Another common issue with Windows is that sometimes you want to run the GUI software instead of cmd, and if you absolutely need cmd try powershell with admin rights.
The error it gives makes me believe that its either a path error or a user rights error, I also agree with the comments. My suggestion if you keep having issues like this who are either depending on your windows path system or your system requirements in general is to try using Anaconda or (conda), this will give you a clean environment to properly see what you did wrong.

Credentails Manager service is stopped

Hi,
I am getting the below error when trying to update my view . Also, creds manager service is stopped and not getting started.
As long as the credmanager.exe is not started, none of the view (snapshot or dynamic) will work. So you need to debug that first.
Typically, you would check the ClearCase logs, and the Windows event, to see what the issue is. See "how to fix or investigate 'Operation “view_ws_is_ws_view” failed'?", using cleartool getlog.
That kind of error ("This application has failed to start becauselibatriaks.dllwas not found. Re-installing the application may fix this problem") was seen with rather old versions of ClearCase (7.0.1).
See for instance this thread.
If the DLL is present and the directory is in your path you should never
get this error.
Check to see how far ...\rational\clearcase\bin is down your SYSTEM path, and make sure the DLL's are in there.
ccgzip.exe will be called (by the client process) when checking in any files that fall back to the "compressed_file" element type. It may be called by the view server during file opens and checkouts to construct cleartext if needed. The former uses your user path, the latter will normally use the SYSTEM path.
We've seen odd behavior on Windows when the path gets >500 characters
long, though there seems to be no "official" limit to the length this environment variable (%PATH%) can grow to.
The error message you see is likely a path issue. Whether that's related to the other issue is unknown...
Is the albd server process running? The credential manager service is flagged to depend on this service. If that service fails to start, or terminates, the credential manager service will also fail.
A service startup failure should be in the Application or System Event logs. and from there the "Troubleshooting albd startup failures" technote on ibm.com would likely be a good place to start.

Trying to resolve Pkgdef error

I am running scripts in Sql server management studio and something is causing SSMS to reset. After some investigation and reading the message that pops up, I run the application from the command line and use the /log switch. reviewing the log I find this error :
PkgDef encountered data collision in section
'HKEY_CURRENT_USER\Software\Microsoft\SQL Server Management
Studio\11.0_Config\CLSID{00a2c8fe-3844-41be-9637-167454a7f1a7}' for
value 'Assembly'
this is just one example...there are many. So I look online for pkgdef troubleshooting tips and found one site...http://blogs.msdn.com/b/visualstudio/archive/2010/03/22/troubleshooting-pkgdef-files.aspx
this told me the following:
Issue: Registry Value Collisions Sometimes the same registry value is
being set by more than one pkgdef file. In other cases, a registry
value is being set, but it’s not clear which pkgdef file is doing it.
You can either scan all of the pkgdef files and discover where the
value is being set. Or use /log again. Remedy: Use /log to discover
which pkgdef(s) set a value To discover all pkgdef files that are
setting a value, use a simple trick: explicitly set that same value by
temporarily changing the master pkgdef (C:\Program Files\Microsoft
Visual Studio 10.0\Common7\IDE\devenv.pkgdef) to explicitly set the
value before all of the other pkgdef files are processed. This will
require Administrator rights to edit the file, but is otherwise
straightforward. Make a backup copy of devenv.pkgdef, then bring it up
in an editor. Below the [$Initialization$] section, add a new section
for the parent key of the value. Then add the key value below it, save
it, and run devenv.exe with /log. The pkgdef loader will log all of
the additional writes to that value, along with the path to the
offending pkgdef.
I found the devenv.pkgdef file but i really don't understand how to modify the file as it suggests.
I would like to know how to modify the file(with example) to find the problem and then to fix it.
Thanks for your patience

Failed to update database becase the database is read only

I have created a winform application and programmatically trying to attach the database when an application runs first time. Unfortunately in windows 7 i always got an error. Please view the screenshot below it tells the whole story. Now my question is that how can i get rid from this error, is there any way to automatically give required rights on the folder where the application installs?. I want to permanently resolve this error and need smooth attachment. Anyone please help.
Please view the error below. Thanks in advance
Try ALTER DATABASE MyDatabaseName SET READ_WRITE
More informations here on This forum
Edit
This was asked by someone else
If you put your database in your own subdirectory of the directory returned by Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData then the user will have read/write access to it.
See Environment.SpecialFolder Enumeration to determine if a different location would be more suitable, e.g. ApplicationData if you need it to roam or CommonApplicationData if you need all users of the computer to use it.
Edit: I found a slightly more extensive version of this answer: Where Should I Store my Data and Configuration Files if I Target Multiple OS Versions?, please also see the articles it links to.
I know this answer is somehow late, but I believe people always face the same problems so my case is worth to be shared.
tl;dr = Change the permission of deployed files manually or using icacls command.
Actually I use InstallForge for packing and deploying my application(s).
No matter what setup creator is used, when the application is installed to a non-system folder ( e.g. D:\ ) the program works perfectly and the database is readable/writable.
Whereas when the application is installed in [Program Files] folder or [Program Files (X86)] folder, Windows takes a preventive security measurement and sets file permission to be only [Read] and [Read & Execute].
I think Windows Vista and later versions of Windows have this behavior.
You can check that by right-clicking the installed file and going to properties then Security tab.
The files I installed on D:\ had Full-Control permission while, as I mentioned, the ones on C:\ had only Read & Execute permissions.
You won't notice the difference when you install a normal program on C:\ because you might not be writing data on a file or a database. But in case of database deployment, the file has to be writable.
Finally, the solution for this case was telling InstallForge to change file permissions at the end of the installation using icacls commands :
icacls "C:\MyApp\MyDB.mdf" /Grant Everyone:F
icacls "C:\MyApp\MyDB_log.ldf" /Grant Everyone:F
In my case, it is okay to give everyone full-control on the database files, but you might need a customized solution for your case so please refer to :
http://ss64.com/nt/icacls.html
You can tell your setup creator to run those commands, or you can put them together in a batch file and run it after the installation.

Get parameters from WiX packed .EXE

Few days back I asked a similar question.
I have an application that is using WiX (Windows Installer XML) as a package manager to create a .exe file with some supporting files (folders and .dlls). Double clicking this .exe will extract into a new folder and Setup.exe will run from that location. I just wanted to know if I can get the parameters for this .exe and also of Setup.exe so that I can create a batch file to install the complete application silently.
Unfortunately without knowing what the Setup.exe is made with it'll be very difficult. To me it just sounds like it is a normal program if dll's are dropped next to it.
However if it is a Burn created bootstrapper you switch on logging by running with the following commandline:
Setup.exe -log "%CD%\installLog.txt"
you will be able to see any variables that are being setup by looking for lines similar to:
[2013-01-10T11:20:09]: Initializing string variable 'SqlServer' to value '(local)'
[2013-01-10T11:20:09]: Initializing string variable 'SqlInstance' to value 'SQLEXPRESS'
[2013-01-10T11:20:09]: Initializing string variable 'SqlAdminUser' to value 'sa'
[2013-01-10T11:20:09]: Initializing hidden variable 'SqlAdminUserPassword'

Resources