Oracle FMW 12c forgot weblogic user password

Forgot the weblogic user password? You know the drill:

You move the data directory of your AdminServer to the side, fire up the setDomainEnv.sh script to load your environment variables and run “java weblogic.security.utils.AdminAccount weblogic welcome1 .” after cd’ing to your domain’s security directory. That’s okay, you’ll manage to start your admin server after resetting weblogic’s password but after that, FMW and your deployments will be completely messed up. 403 errors while accessing the SBConsole, alsb-system-user puking out errors like crazy, you name it.

As with everything  related to “conFusion Tupperware”, I learnt to fix this the hard way:

FMW has lots of nuances when talking about security. One of them is the EmbeddedLDAP hierarchy, which must be respected for most of the FMW environments. In this case, I’ll cover how to fix OSB 12c’s user hierarchy.

First, shutdown ALL your WebLogic Servers. Then, start only the Admin through the usual .sh. When it changes to RUNNING, go to your security realm and ensure you have the following hierarchy. If not create it. Don’t worry about the passwords. Just make sure you choose the same for weblogic and OracleSystemUser.

AdminChannelUsers (G)
IntegrationAdministrators (G)
–> Administrators (G)
—-> weblogic (U)
—-> OracleSystemUser (U)
AdminChannelUsers (G)
–> IntegrationAdministrators (G)
–> IntegrationDeployers (G)
–> IntegrationMonitors (G)
–> IntegrationOperators (G)
IntegrationDeployers (G)
–> Deployers (G)
ALSBSystemGroup (G)
—-> alsb-system-user (U)
AppTesters (G)
CrossDomainConnectors (G)
OracleSystemGroup (G)
—-> OracleSystemUser (U)

After that, DELETE all your managed servers, don’t worry they will be recreated Next time the AdminServer tries to boot them.

Now, shutdown the AdminServer nicely — no kill -9!

Fix your boot.properties and start it up again. Open your /sbconsole link. Hopefully you’ll have Weblogic welcoming you. DON’T login yet.

Start your managed servers and wait for them to load everything. Now try to login. Hopefully you’ll have sbconsole back.
Good luck!

yaroze / October 20, 2016 / DBA, geek, oracle, OSB, sysadmin, Uncategorized / 0 Comments

Boot Windows 7 x64 on a MacBook Pro from a USB harddisk

So the last weekend I got a new game. The problem is that it doesn’t run on Mac OS X… 🙁

Wine doesn’t handle it and Parallels is something to forget.

Then I remembered I have an Intel processor inside my laptop! Well… that’s great! So let’s install Windows on Boot Camp! 😀

The only problem is that my internal harddrive is already with 4 partitions: EFI, HFS+, Linux Swap and Ext4!…

My first thought was to clean up the trash I have on my HFS+ partition and resize it. However, 30 GB is barely enough for Windows and the game. Then I thought of installing Windows on an external drive. The problem is that it doesn’t support that…

Here’s what I did:

(more…)

yaroze / June 14, 2011 / Uncategorized / 0 Comments

Nokia 5800 EAP+TTLS+debrand

Olá a todos!
Já há algum tempo, tenho reparado que por vezes me vêm perguntar como é que consegui “colocar” o EAP+TTLS a funcionar no Nokia 5800, se este não existe! (?). A resposta é relativamente simples… (more…)

yaroze / March 10, 2010 / Uncategorized / 0 Comments

OSX crazy Terminal.app

First of all, I have to say I love my Mac. But if there’s something that drives me crazy, is the Terminal.app’s keybindings.

After being a Linux user for some years, the way Terminal.app works makes me get crazy. Here’s how to put everything working like it sould:

First of all, open ~/.profile in a text editor. Add the following line  to the beginning of the file:

TERM=linux

Then, get to the Terminal preferences menu->Settings->Keyboard. Change the following keys to those actions. Simply click on Edit->Action: Send String to shell.

Change the following:                                To:

home                                              33[1~

end                                                  33[4~

page up                                          33[5~

page down                                     33[6~

control cursor right                     33f

control cursor left                        33b

Now it all should work fine.

To make 33 appear, simply press ESC on the text area.

If you get to screw Terminal.app, simply delete the file ~/Library/Preferences/com.apple.terminal.plist to reset the settings.

yaroze / February 25, 2010 / Uncategorized / 2 Comments

Eduroam nos Nokia na Universidade do Minho

 

 

Depois de ver alguns posts e tutorials sobre como configurar a ‘net nas várias Universidades portuguesas, recorrendo ao eduroam, infelizmente não vi nada relacionado com a Universidade do Minho…


É para isso mesmo que serve este post. Vamos lá ver…
(more…)

yaroze / February 11, 2010 / Uncategorized / 30 Comments