I want to install IBM Rational Software Architect 9 and i have this error message during the setup :
Locking is not possible in the directory D:\RSA9.0\RSA_SETUP\InstallerImage_win32_x86\configuration\org.eclipse.osgi.
A common reason is that the file system or Runtime Environment does not support file locking for that location.
Please choose a different location, or disable file locking passing "-Dosgi.locking=none" as a VM argument
This generally happens when you have incorrect permissions to edit the folder, or if it is set to read only. I would recommend looking into those first.
If that doesn't make any difference, try following the steps listed and passing the parameter to the install command. After that I would just recommend contacting IBM Directly for support.
Related
Let me give a quick background of the work I do and then I'll explain the problem I am facing.
I am a software developer with more than 15+ years work experience. My work involves a lot of varied tasks:
data analysis using R, Python
development of web applications using Ruby on Rails, JS, etc.
building models using open source libraries
So far, I have been doing all this in my personal laptop (Ubuntu 18.04) and have faced no issues.
But I would soon need to start using a laptop provided by the organisation that I am working for. This org is not a IT company, it's a public body. They only use Windows (10) and don't provide admin access to anyone. It's very hard to get permission to install any kind of "approved" software. Just to give an example, they refused to install Chrome in my laptop as they wouldn't be able to control the updates.
So here's my problem - what do I do to work peacefully using their laptop? The primary reason I have to use the work laptop is that there are a lot of important documents kept in shared drives that are accessible only in their machines.
I have been looking at options like WSL or Hyper-V. But, before I put in a request to the IT team to get them to agree, I wanted to know a few things:
1) Which among WSL or Hyper-V would be the better approach for setting up the dev environment that I want?
2) IF I get the IT team to install WSL/HV, would I be able to set up everything else without having to go back to them for each software? Is there a way of secure local admin access these options would provide that will ease their concerns?
3) Is there some other way of setting up what I want?
If still applicable and actual I can share my solution:
If you should work on a windows machine where you don’t have administrative privileges, you can very easily make a portable R/Rstudio installation.
Download a recent version of R from the CRAN site and the recent version of RStudio. After download extract RStudio installation exec with 7Zip and copy files from $_OUTDIR to the desired location (in case you making an update, simply overwrite all files, that already exist). Your RStudio executable will be in
your-chosen-directory/bin/rstudio.exe
Then run CRAN-R installation, ignore the warning that you don’t have administrative privileges and go forward until installation will complete. Run RStudio, from the menu
Tools->Global Options
locate where your R installation is located.
If you performing an update (more recent version of R), copy all files from the library subfolder of the old R installation into new, but this time DON’T OVERWRITE! This operation vill preserves the packages you have installed in the previous version of R. After copying update all your packages from the RStudio window (Packages->Update). When the packages update process will end check which packages failed to update (You will see warning messages near them in the RStudio console). Remove these packages (write down names of failed packages and delete corresponding folders from library subfolder). For this, you will need to exit from RStudio. After deletion launch RStudio again and execute the packages install command in the RStudio console:
install.packages(c("package1", "package2", "package3"))
Congratulations, You are ready to go!
After upgrading system to Windows 10 - os 1803 we are getting below issues while working with ClearCase 8.0.1.x/9.0.1.x
Unable to checkin/checkout.
Not able to create views.
Not able to add any file to source control.
The system hangs & crashes while performing any ClearCase operation.
There is no error message, but I have attached screenshot for reference.
Please let us know if there is any issue with the Windows 10 ver(1803), any security system enabled?
Or has ClearCase provided any fix?
We have tried 9.0.1.5 and issue still persists.
This is what we got from windows event log.
The computer has rebooted from a bugcheck.
The bugcheck was:
0x000000c2 (0x0000000000000004, 0x00000000535be990, 0x000000000004efd3, 0xfffff803e01848b1)
for most of them whoever has upgraded to windows 1803 ver :( for people who are still using ver1709 it is working perfectly fine
Then I would recommand contacting IBM support: only them can update their ClearCase 9/Windows 10 compatibility matrix and confirm if MVFS is supported on a more recent (1803) Windows 10 edition.
We also facing same problem and I have raised the case with IBM. Still not yet resolved. As IBM said there are some limitations to work ClearCase with windows 10 and windows 2016.
We tried all the options except Secure boot disable. If possible please do disable secure boot option in Windows 10 and try to checkin/checkout code from CleraCase
Note : It works for Snapshot views. That means the issue related to MVFS
I'm seconding #VonC's recommendation to open a ticket with IBM. When you do that, save a step and collect a clearbug2 and a kernel memory dump to send in as soon as the case is opened. It will save the turn-around time of us asking you for it. If the installed programs list doesn't list installed security software (DLP, Privilege management sw like Avecto, other endpoint security tools), please list those separately as well.
I would also love to know who # IBM told you there are "limitations" with Win10-1803.
There are a few issues with Windows 10 "version upgrades" breaking things, but they generally don't cause system crashes. Windows 10 upgrades are actually full OS installs that then (imperfectly) migrate application settings. Anything that uses custom network providers (ClearCase is one example) will find that the network providers will be broken or partially broken. Reinstalling is usually required. Again, that has not yet been reported as a cause of a BSOD.
If the upgrade/reinstall didn't fix view creation, please post a separate question on the view creation issue. There may be things we can do to the SMB 2 caches to allow view creation to work in cases where the view storage is not on the client host.
I noticed that the screen shot you posted is a Terminal Services disconnect screenshot. Does the issue only occur over a Terminal Services client connection or does it also happen on a local connection?
Are there any more cmdlets for Linux Azure Powershell apart from these?
Is there an official repository for Azure Powershell for Linux?
Is there a way for terminal to launch powershell on startup, not bash?
My google-fu is weak today :(
Your question is old but I'll still answer it. In hopes that you will receive my response via email, others seeking help in the future will see this, and to establish reputation on this damn site so I can actually start using it effectively.
Are there any more cmdlets for Linux Azure Powershell apart from these?
I assume you're specifically looking for Azure because of your title. AzureRM.Netcore has been released as of ~1 month ago. This supports 90% of the functionality you need to deploy to Azure.
https://www.powershellgallery.com/packages/AzureRM.Netcore/0.9.1
Unfortunately, I am finding that some older cmdlets are not supported yet though, since they are in an older module called Azure, which does not yet have a .NET Core implementation. See my recent post for more information on that.
Is there an official repository for Azure Powershell for Linux?
You can find all of that discussion on the official Powershell repository. It is cross-platform. Additionally Microsoft intends to build Powershell 6 on top of .NET Core 2.0 which was released yesterday. So it's likely that future development will heavily support Linux. This will be your best resource: https://github.com/Azure/azure-powershell
Is there a way for terminal to launch powershell on startup, not bash?
There is. But I wouldn't recommend doing that. That just sounds wrong. But I'm a pretentious Linux user with a bias towards Microsoft so take my opinion with a grain of salt. There are two methods you can use to accomplish that.
1) Most Linux distros come with a command called chsh just for that. Try chsh -s /usr/bin/powershell provide that is the location of your installed Powershell binary. If you are not sure where it is, you can use which to determine the installation location. which powershell. Do not execute this command with sudo as that will attempt to change the shell for your root user rather than your current user.
2) Alternatively you can manually edit the file /etc/passwd on Linux. Locate the line that contains your user account, go to the very end of it, and replace /bin/bash or whatever shell you use with /usr/bin/powershell, or the proper location of your Powershell Binary.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
I installed Gitbash in my Windows and defined the Linux command lines (ls to list directory for example) but the command line is returning strange characters.
Reginaldo#Dell MINGW64 /c/dev/php/laravel/flamboyant (master)
$ php artisan
←[32mLaravel Framework←[39m version ←[33m5.1.29 (LTS)←[39m
←[33mUsage:←[39m
command [options] [arguments]
←[33mOptions:←[39m
←[32m-h, --help←[39m Display this help message
←[32m-q, --quiet←[39m Do not output any message
←[32m-V, --version←[39m Display this application version
←[32m --ansi←[39m Force ANSI output
←[32m --no-ansi←[39m Disable ANSI output
←[32m-n, --no-interaction←[39m Do not ask any interactive question
←[32m --env[=ENV]←[39m The environment the command should run under.
←[32m-v|vv|vvv, --verbose←[39m Increase the verbosity of messages: 1 for norm
al output, 2 for more verbose output and 3 for debug
←[33mAvailable commands:←[39m
←[32mclear-compiled←[39m Remove the compiled class file
←[32mdown←[39m Put the application into maintenance mode
←[32menv←[39m Display the current framework environment
←[32mhelp←[39m Displays help for a command
←[32minspire←[39m Display an inspiring quote
←[32mlist←[39m Lists commands
←[32mmigrate←[39m Run the database migrations
←[32moptimize←[39m Optimize the framework for better performance
←[32mserve←[39m Serve the application on the PHP development ser
ver
←[32mtinker←[39m Interact with your application
←[32mup←[39m Bring the application out of maintenance mode
←[33mapp←[39m
←[32mapp:name←[39m Set the application namespace
←[33mauth←[39m
←[32mauth:clear-resets←[39m Flush expired password reset tokens
←[33mcache←[39m
←[32mcache:clear←[39m Flush the application cache
←[32mcache:table←[39m Create a migration for the cache database table
←[33mconfig←[39m
←[32mconfig:cache←[39m Create a cache file for faster configuration loa
ding
←[32mconfig:clear←[39m Remove the configuration cache file
←[33mdb←[39m
←[32mdb:seed←[39m Seed the database with records
←[33mevent←[39m
←[32mevent:generate←[39m Generate the missing events and listeners based
on registration
←[33mhandler←[39m
←[32mhandler:command←[39m Create a new command handler class
←[32mhandler:event←[39m Create a new event handler class
←[33mkey←[39m
←[32mkey:generate←[39m Set the application key
←[33mmake←[39m
←[32mmake:command←[39m Create a new command class
←[32mmake:console←[39m Create a new Artisan command
←[32mmake:controller←[39m Create a new resource controller class
←[32mmake:event←[39m Create a new event class
←[32mmake:job←[39m Create a new job class
←[32mmake:listener←[39m Create a new event listener class
←[32mmake:middleware←[39m Create a new middleware class
←[32mmake:migration←[39m Create a new migration file
←[32mmake:model←[39m Create a new Eloquent model class
←[32mmake:policy←[39m Create a new policy class
←[32mmake:provider←[39m Create a new service provider class
←[32mmake:request←[39m Create a new form request class
←[32mmake:seeder←[39m Create a new seeder class
←[32mmake:test←[39m Create a new test class
←[33mmigrate←[39m
←[32mmigrate:install←[39m Create the migration repository
←[32mmigrate:refresh←[39m Reset and re-run all migrations
←[32mmigrate:reset←[39m Rollback all database migrations
←[32mmigrate:rollback←[39m Rollback the last database migration
←[32mmigrate:status←[39m Show the status of each migration
←[33mqueue←[39m
←[32mqueue:failed←[39m List all of the failed queue jobs
←[32mqueue:failed-table←[39m Create a migration for the failed queue jobs dat
abase table
←[32mqueue:flush←[39m Flush all of the failed queue jobs
←[32mqueue:forget←[39m Delete a failed queue job
←[32mqueue:listen←[39m Listen to a given queue
←[32mqueue:restart←[39m Restart queue worker daemons after their current
job
←[32mqueue:retry←[39m Retry a failed queue job
←[32mqueue:subscribe←[39m Subscribe a URL to an Iron.io push queue
←[32mqueue:table←[39m Create a migration for the queue jobs database t
able
←[32mqueue:work←[39m Process the next job on a queue
←[33mroute←[39m
←[32mroute:cache←[39m Create a route cache file for faster route regis
tration
←[32mroute:clear←[39m Remove the route cache file
←[32mroute:list←[39m List all registered routes
←[33mschedule←[39m
←[32mschedule:run←[39m Run the scheduled commands
←[33msession←[39m
←[32msession:table←[39m Create a migration for the session database tabl
e
←[33mtracker←[39m
←[32mtracker:tables←[39m Create the migrations for Tracker database table
s and columns
←[33mvendor←[39m
←[32mvendor:publish←[39m Publish any publishable assets from vendor packa
ges
←[33mview←[39m
←[32mview:clear←[39m Clear all compiled view files
Reginaldo#Dell MINGW64 /c/dev/php/laravel/flamboyant (master)
Can someone help me please?
You need to enable ansi control code processing. See here for details.
By Jason Karns in shell
Link content included for reference in case link ever gets deleted.
Having used git on windows for over three years now, I’ve fallen back in love with the command line. Bash, of course, not the windows command prompt. Beautiful, ubiquitous, warty bash. Git depends heavily on GNU utilities so on Windows it requires either cygwin or msys. Having been burned by cygwin in the past, I prefer the minimalism and simplicity of msys + mingw. Along with git, the entire ruby ecosystem lives in the shell. However, the numerous tools, gems and utilities that assume standard ANSI color support in the shell began to wear on me. Lo and behold, there is a lovely solution to provide ansi color support for bash (and cmd) on Windows: ansicon.
Download the zip and extract. There are a few ways to install:
Extract to a permanent location (I use C:/bin/ansicon). Execute ansicon.exe -i from within the appropriate directory for your system (x86/x64), and you’re all set. Any new shells (bash and windows cmd included) will autorun the ansicon utility for displaying color output. Be sure not to move the executable prior to running ansicon.exe –u. This removes the registry entry and prevents an ugly error message for every command shell.
Alternatively, place the ansicon executable in your PATH, or add its location to your PATH. Then you can launch ansicon for a session with ansicon.exe –p.
This utility has been working great for my on Windows XP. I’ve been having trouble getting it to work on Windows 7, but I hear it should be supported. I’ll post an update when the Windows 7 issue is resolved.
Update
Root cause, uncovered! If you use JRuby with a 64-bit JVM on Windows x64, ansicon won’t work. The issue is that ansicon (64-bit) is capable of injecting into 32-bit processes, but not vice versa. Currently, the JRuby launcher is a 32-bit executable. Thus, if you’re running a 64-bit shell (cmd, bash, or otherwise), ansicon will inject correctly into that process. It will then inject successfully into the 32-bit JRuby launcher process. At this point, for all intents and purposes, you’re running the 32-bit version of ansicon. Thus, if you’re running JRuby on a 64-bit JVM, then 32-bit ansicon is not able to inject into 64-bit JVM. There is an open feature request for JRuby to ship its 64-bit version with a 64-bit launcher. You should vote for this feature. I also hear that adoxa (Jason Hood) has a potential fix for this issue in the works. Stay posted.
Of course, the easiest solution at the moment is to ensure that JRuby uses a 32-bit JVM. Just change (or set) your JAVA_HOME environment variable to point to a 32-bit JVM and you’re golden.
Update 2: Issue Resolved
The latest 64-bit binaries (ansi6432.zip) have fixed the issue. Just download and extract them over-top the 1.51 version.
For MingGW64 I found going into the Options > Terminal and switching from xterm (the default I presume) to xterm-256color fixed the issue. I also restarted the console.
This answer helped me with my weird characters in gradle output from git bash in windows. Just add export TERM=cygwin to the last line of git/etc/bash.bashrc. If this helps you, be sure to send the upvotes to their answer—I'm only reposting it here since this is where google brought me.
I didn't remember the last version of GIT. I faced same problem after updating Git Bash to 2.11.
Downgrading to 2.10 solved my problem.
https://github.com/git-for-windows/git/releases/tag/v2.10.0.windows.1
My site is hosted on Azure. I need to programmatically turn off Internet Explorer's default enhanced security configuration settings whenever I repave or redeploy a new box on Azure.
How do I do this?
I found this article on another site http://jetlounge.net/blogs/teched/archive/2009/10/25/fix-ie-esc-won-t-turn-off-internet-explorer-enhanced-security.aspx. It included the following command line syntax, but on my local box I couldn't find the IEHARDEN.INF file it referred to. I also don't think this solution is Azure-specific.
rundll32.exe setupapi.dll,InstallHinfSection IESoftenAdmin 128 %windir%\inf\IEHARDEN.INF
I need to turn off these default hardening settings under Azure because I have a 3rd party IE screen capture DLL that needs to execute Javascript on webpages.
I think that this approach, shaped in a Windows Azure StartupTask running in Elevated execution context will help you.
Just remember that the .bat or .cmd file you create needs to be UTF8 encoded. There used to be some issues with the batch files if they are not UTF8.
UPDATE
I decided to update the answer, because it would have been too long for a second comment. I want to first make clear that I do not intend to offend anyone and the next is just mine personal view and thoughts.
Well, I mine vision might be (is) distorted through mine prism. But, I think that these specifics has nothing to do with Windows Azure itself.
These are OS related configuration specifics and the approach would be one and the same (with some variations) regardless of a (hosting/cloud) provider. If you had to deploy your solution to a dedicated (or virtual) server, you would had to create some kind of scheduled task, or startup task to make these configuration changes. Or even interactively login to make these changes.
Since Windows Azure offers the StartUp Task, it is up to us (developers) to decide what to do and how to shape the OS according to our needs.
The OS configuration changes that one can possibly need are only limited by the total ammount of all available Windows Server 2008/R2 configuration options. I personally do not believe that these needs to be reflected in Windows Azure documentation by any means. They have their place in Windows Server documentation. It is arguable which are "commonly used", because what might be common for one, might also be "never needed" for others ...