I was creating a deployment manager profile in IBM WebSphere. I stopped it while it was creating using ctrl+C. When I ran the command manageprofiles.sh -listProfiles, it did not return any profiles([]). Then I tried creating the profile with the same name but I got a message stating a profile with the same name already exists. So I tried running the manageprofiles -delete command with the partially created profile name only to find that the profile does not exist.
Just delete the partially created directory from WAS_ROOT/profiles/ and run the manageprofiles -validateAndUpdateRegistry command. You should be fine then.
-validateAndUpdateRegistry
Checks all of the profiles that are listed in the profile registry to see if the profiles are present on the file system. Removes any
missing profiles from the registry. Returns a list of the missing
profiles that were deleted from the registry.
See manageprofiles command
Related
I'm trying to pre-setup a new Firefox installation with a custom user.js. However, no profile is made until Firefox is first run, unless you run this command:
Firefox.exe -CreateProfile <NAME>
Problem is, even if this command is run, Firefox will still create and launch with the default-release profile. Is there any way to set a default profile via the command line or by modifying a file?
Solved:
Used Process Monitor to see what it does when changing default profile.
In %APPDATA%\Roaming\Mozilla\Firefox\profiles.ini there's a Default=<Profile Path> line. Replace
<Profile Path> with your desired profile's path, which should be included in that file as well. Ex. Profiles/bd3a3mdf.default-release
After updating macOS to Mojave (10.14.4), my Mac was restarted and upon opening Jenkins (at localhost:8080) it appeared that I've lost all my jobs and the entire system configurations.
There was only 1 user (admin) defined in my installation and my usual password was deemed invalid, when I tried to log back in. So, I tried entering another password I normally used and it was accepted. I then found that all my jobs and configs have disappeared. It looked as if I've just started Jenkins for the first time.
Looking through here on StackOverFlow, there were suggestions to check the JENKINS_HOME variable to find out where the jobs are saved on the disk, but when I typed export $JENKINS_HOME I just get an empty response. So, it looks like I've never configured it during set up.
I then dig through the hard drive and found the folders matching the names of the jobs I created under ~/.jenkins/workspace. However, the contents of all the folders are empty. I was expecting to see the usual files, e.g. build.xml, config.xml, etc.
I then did a global search for build.xml and config.xml on Mac Finder it turned up nothing.
Any idea where my jobs went and what could have caused all the contents of the folders of the jobs to be empty?
You can find your Jenkins installation directory in "Manage Jenkins" -> "configure System" --> "Home directory". Find what was the Jenkins home before you restart MAC. It looks like your home directory is either deleted by you or you are pointing to new folder now. Set it to earlier folder.
If can help,
I'm having a similar problem.
The curious part is about the new directory after the service restart ".jenkins" directory inside :
'/var/root/'.
And now, the password that Jenkins request me is not from
'/Users/username/.jenkins/secrets/initialAdministratorPassword' but from the newst one with same path pattern.
Simon
My WebSphere profile has issues, so I wanted to delete and recreate it. When I do the following from a command line (win7)
[WAS-installDir]/bin/manageprofiles.sh -delete -profileName [Profilname]
it tells me that the profile is corrupted and can't be deleted:
So what other possibilites do I have? (The German reads to: The Profile ________ is currently in use. Repeat the command at a later point in time. If this is not possible, the profile might be corrupted. Use the command validateAndUpdateRegistry and recreate the profile.
INSTCONFFAILED: The profile cannot be deleted. More information can be found at C:\Program Files\IBM\WebSphere8.5\AppServer\logs\manageprofiles_________delete.log)
In the mentioned log file it says again that the profile can't be deleted because it is in use.
Is there a way to delete this profile anyhow, without destroying something important? Is it saved in some directory that I can simply delete?
Firstly I read through many existing threads and followed the instructions there
Here
Here
Here
Here
Here
Here
Almost all the above threads asked me to delete the cache file. I went into the machine and deleted the cache file. I even edited the cache file (XML file named version config) but still it gets overwritten
But still even after that I am seeing the same issue.
The build agent has got dynamic $SourceDir as value
What else can I do to fix this? Please Help.
I tried doing tf workspaces but it simply keeps saying that "Unable to determine the source control server"
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\TeamBuild\Microsoft.TeamFoundation.Build.targets (838): Unable to create the workspace 'NVM1756PDV_105_7' due to a mapping conflict. You may need to manually delete an old workspace. You can get a list of workspaces on a computer with the command 'tf workspaces /computer:%COMPUTERNAME%'.
Details: The path C:\Builds\7\Common_Security\cloud\src is already mapped in workspace NVM1756PDV_104_7.
Run the tf workspace /delete NVM1756PDV_104_7 command to correct this error.
Try using TFS Sidekicks to delete the workspace using the Workspace Sidekick.
I'm trying to remove all of my personal provisioning profiles that were loaded into my work computer when I added my account to Xcode.
I've already removed my account from the Accounts tab in settings.
I deleted all profiles in ~/Library/MobileDevice/Provisioning Profiles
I deleted and reinstalled Xcode. No matter what I do, the provisioning profiles will still appear in Build Settings > Provisioning Profile.
Is there another place where these are stored? I am using Xcode 6.4
EDIT:
I've made some progress. In the folder /Users/admin/Library/Developer/Xcode (admin is my username), I searched for one of the profiles by ID using
sudo find . -type f -exec grep -l '2322c49f' {} +
where 2322c49f is the beginning of the ID. This showed me that this ID was in the file DeveloperPortal 6.4.db-wal. When I opened it, it showed a lot of characters that couldn't be rendered, so I thought maybe it's a binary file. Then scrolling down was a plist embedded in it. The plist consisted of all the profiles. I delete this file and the two other similar files, listed below
DeveloperPortal 6.4.db DeveloperPortal 6.4.db-shm
I restarted XCode, it regenerated these three files, but the profiles continued to appear in them
I found another location where profiles are kept
/System/Library/MobileDevice/Provisioning Profiles/
I deleted the profiles from here and that solved the issue