I have been working on this problem for several days and cannot find any other suggestions on-line.
I have an old Lucent server running a proprietary Unixware 2.1.3 that I want to access but do not know any of the passwords. By building a new install of 2.1.3 on a spare disk I have built my emergency boot diskettes and can boot and mount the old hard drive and edit the files. However, when I remove the hash from the /etc/shadow file:
root::10630::::::
daemon:NP:6445::::::
bin:NP:6445:::::: .....
The system still wants a password for root. Just Pressing Enter doesn't work.
I have also tried setting the /etc/passwd file to:
root::0:3:0000-Admin(0000):/:/usr/bin/ksh
daemon:x:1:12:0000-Admin(0000):/:
bin:x:2:2:0000-Admin(0000):/usr/bin:
with the same result.
Experimenting on the new install drive I get the same results, however on the new install I can log in as root and run "passwd -d root" and the system behaves as expected and does not prompt me for a password at login.
If it has any relevance, I notice that the /etc directory contains shadow, oshadow (which appears to be a backup of shadow) and shadow.em that contains entries for root, bin and sys. Ditto with the passed file. I have tried editing these files too, but with no success.
Finally, I tried editing the home directory for root in the passed file on the new install but when I logged in it made no difference. Is it possible that the system is using an alternate to passwd, and if so how do I determine which file it is?
Thank you in advance.
From a tek-tips post: http://www.tek-tips.com/viewthread.cfm?qid=1204328
The boot floppys must match the Intuity software release.
To reset the root password do the following:
MACH 3 & 4
• Bring Intuity up with the emergency boot floppy installed.
• When prompted for keyboard type, type 1
• Screen will then say "If you would like a host bus adapter loaded from a floppy, insert it now and type yes"
• Insert the HBA floppy and type yes .
NOTE: You must type the word yes or no, not y or n
• Screen will again ask for hba diskette- remove diskette and press
• A # Prompt will then appear, type passwd root
• Enter password but do not use the password that you will actually want to use.
• Type exit and press cnt-alt-delete when prompted making sure there are no diskettes in drive.
• After the Intuity is up, log in with new password and you will be immediately prompted to change password.
• Put in password that you actually want.
*NOTE: An ACCX (AYC22) card in the system can cause the floppy to not be read. Remove it and proceed.
MACH 5
• If the system is currently running, bring it down.
• Insert boot floppy #1 into the floppy drive.
• Boot the machine.
• Insert boot floppy #2 into the floppy drive when requested and press
• When the system displays the menu that asks if you want to "load the system, access the shell or reboot", select access the shell .
• At the shell prompt type: SHBOOT
• Navigate the menus that select the hardware (5P, 40P or 100P) and disk configuration (IDE or SCSI) for the machine you are recovering. This process loads the correct device drivers for access to the disk(s) on your machine.
• Mount the root filesystem; type: mount /dev/root /mnt
• Change the password; type: chroot /mnt /usr/bin/passwd root
• Enter the new password
You shouldn't need root though, stick with SA or VM
Related
Failed to attach volume Data to VM Nas12U41; org.libvirt.LibvirtException: internal error: unable to execute QEMU command '__com.redhat_drive_add': could not open disk image /mnt/3c164f13-17f2-3edf-b836-74299f20a559/65bcbd35-4fc5-4714-af04-4712a6a7f0e7: qcow2: Image is corrupt; cannot be opened read/write
you may want to check if the storage is healthy, and the file exists and is healthy. Depending on what filesystem and primary storage you're using you may run fsck or equivalent to recover the corrupted file. You may also want to check file permissions. Can you share your CloudStack version, output of "virsh version", "qemu-img info" on the qcow2 file and KVM host distro.
To discuss further pl join the CloudStack users mailing list and ask there http://cloudstack.apache.org/mailing-lists.html
I am trying to use the migration tool utility from within PingFederate but I keep getting the following error:
List adapters... Downloading adapter index from source... ERROR:
Unable to download from source.
java.security.NoSuchAlgorithmException: E rror constructing
implementation (algorithm: Default, provider: SunJSSE, class:
sun.security.ssl.SSLContextImpl$DefaultSSLContext) Done.
From the configcopy.log:
Caused by: java.net.SocketException: java.security.NoSuchAlgorithmException
Caused by: java.security.NoSuchAlgorithmException: Error constructing implementation
Caused by: java.io.IOException: Invalid keystore format
Windows 7 Professional SP1
java version "1.8.0_144" Java(TM) SE Runtime Environment (build
1.8.0_144-b01) Java HotSpot(TM) 64-Bit Server VM (build 25.144-b01, mixed mode)
PingFederate: 8.4.2
I am attempting this because we want to automate a deployment process which has currently been manual. I am only trying to use the listadapters.conf template and have set the source.conf to output to a file. The command I am entering is:
configcopy.bat -Dconfigcopy.conf.file=configcopy_templates\\source.conf;configcopy_templates\
\listadapters.conf
and I am running this from the <PF_HOME>/bin directory. The contents of the two files I mentioned are:
source.conf
source.connection.management.service.url =
<my local install url on port 9999>/pf-mgmt-ws/ws/ConnectionMigrationMgr
source.connection.management.service.user = Administrator
source.connection.management.service.password =
OBF:JWE:eyJhbGciOiJkaXIiLCJlbmMiOiJBMTI4Q0JDLUhTMjU2Iiwia2lkIjoibGJhaGtDZlNiSiIsInZlcnNpb24iOiI4LjQuMi4wIn0..ryNLCcpzwEx6KGzXi1FboA.34NbypXUud45R77TLwMvjg.dQFNb9NpbDY_EWIePb9hMA
configcopy.connection.trust.keystore = C:\Program Files\Ping
Identity\pingfederate-8.4.2\pingfederate\server\default\data\pf.jwk
output.file = c:\temp\pf-config.txt
The Administrator is the default one from install with all three roles added to it and the password was obfuscated using obfuscate.bat in the bin directory.
listadapters.conf
cmd=listadapters
debug=true
select.adapter.role = idp
Even though it doesn't look like it above all backslashes are escaped that just hasn't come through here.
I have tried:
removing the path to the keystore altogether
ERROR: Unable to download from source.
sun.security.validator.ValidatorException : PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to
find valid certification path to requested target Done.
Setting the path to cacerts in jre/lib (same error as above)
I have installed the data.zip from the DotNet-Integration-Kit-2-5-2.zip and that is the only set up on this PC. (my dev box)
The integration kit puts two certificates (maybe the same one twice, not sure) that can be viewed through
Server Configuration > Trusted CAs
Server Configuration > SSL Server Certificates
And I have also added one into
Server Configuration > SSL Client Keys & Certificates
The kits certs show as RSA1024 and the one I created shows as RSA2048.
Questions:
Why does the error state algorithm:default (key store format?)
Is there a setting I am missing that would change it from default
Does anyone know of any docs other than the admin manual (almost know
it by heart now)
Why is pf.jwk the wrong format
Any other ideas at all please.
[update] Dam, I have been trying to use the migration utility but as I am on a version over 7.2 I should be using the administrative API. Back to the drawing board. Still looking for advice though!
The pf.jwk file is an encrypted Java web key. The truststore is a standard jks file that you add PingFed's SSL key to, or its signing CA's public key.
However, as you have found, you should use the admin API. Configcopy is no longer being developed.
C:\Program Files\weblogic>"C:\Program Files\Java\jdk1.8.0_102\bin\java" -jar fmw_12.2.1.1.0_wls_quick.jar
Launcher log file is C:\Users\kb\AppData\Local\Temp\OraInstall2016-10-05_10-23-23PM\launcher2016-10-05_10-23-23PM.log.
Extracting the installer . . . . . . . . Done
Checking if CPU speed is above 300 MHz. Actual 2594 Passed
Checking swap space: must be greater than 512 MB Passed
Checking if this platform requires a 64-bit JVM. Actual 64 Passed (64-bit not required)
Checking temp space: must be greater than 300 MB. Actual 825693 MB Passed
Preparing to launch the Oracle Universal Installer from C:\Users\kb\AppData\Local\Temp\OraInstall2016-10-05_10-23-23PM
Log: C:\Users\kb\AppData\Local\Temp\OraInstall2016-10-05_10-23-23PM\install2016-10-05_10-23-23PM.log
*****************************************************
Distribution Name : Oracle Fusion Middleware 12c WebLogic and Coherence Developer
Distribution Version : 12.2.1.1.0
Oracle Home : C:\Program Files\weblogic\wls12210
Java Home : C:\Program Files\Java\jdk1.8.0_102
Note: Oracle Home not supplied (defaulted to <present working dir>\wls12210)
*****************************************************
Copyright (c) 1996, 2016, Oracle and/or its affiliates. All rights reserved.
Skipping Software Updates
Starting check : CertifiedVersions
Expected result: One of 6.1,6.2,6.3,10.0
Actual Result: 10.0
Check complete. The overall result of this check is: Passed
CertifiedVersions Check: Success.
Starting check : CheckJDKVersion
Problem: This JDK version was not certified at the time it was made generally available. It may have been certified following general availability.
Recommendation: Check the Supported System Configurations Guide (http://www.oracle.com/technetwork/middleware/ias/downloads/fusion-certification-100350.html) for further details. Press "Next" if you wish to continue.
Expected result: 1.8.0_77
Actual result: 1.8.0_102
Warning: Check:CheckJDKVersion completed with warnings.
Validations are enabled for this session.
Verifying data
[VALIDATION] [ERROR]:INST-07004: Oracle Home location contains one or more invalid characters
[VALIDATION] [SUGGESTION]:The directory name may only contain alphanumeric, underscore (_), hyphen (-) , or dot (.) characters, and it must begin with an alphanumeric character. Provide a different directory name.
installation Failed. Exiting installation due to data validation failure.
The log(s) can be found here: C:\Users\kb\AppData\Local\Temp\OraInstall2016-10-05_10-23-23PM.
Press Enter to exit
I tried SET ORACLE_HOME="C:\Program Files\weblogic"
executing from C:\Program Files\weblogic
How to solve this problem? Or is there any other weblogic jar files needs to be used?
Set the ORACLE_HOME argument when executing the Java command at the command-line:
i.e.:
C:\Program Files\Java\jdk1.8.0_144\bin>java -jar C:\WebLogicDownloads\fmw_12.2.1.2.0_wls_quick.jar ORACLE_HOME=C:\WebLogicServer
The issue is solved. I changed the JDK location to C driver "C:\" from "C:\program files".
Thanks!
Apparently the following error is important:
INST-07004: Oracle Home location contains one or more invalid characters
[VALIDATION] [SUGGESTION]:The directory name may only contain alphanumeric,
underscore (_), hyphen (-) , or dot (.) characters, and it must begin with
an alphanumeric character. Provide a different directory name. installation
Failed. Exiting installation due to data validation failure.
The problem is the space in the middle of "Program Files". Do to the limitations on the name you can't even use the 8-character abbreviated name for Program Files (usually PROGRA~1). I suggest you install WebLogic directly into the root of your C: drive, so try using C:\weblogic.
Best of luck.
Your folder name with setup is invalid or you are installing from rar directly then this problem arises. Check the software information path to see if it is invalid.
I am currently working on a project which aims to find out what the system is doing behind a series of user interaction on the android UI. For example, if user click send button in Facebook Messenger, the measured response time for such action is 1.2 seconds. My goal is to figure out what the 1.2 seconds consist of. My friend suggested that I should take a look into 'Systrace'.
However, when I tried systrace on my HTC one M8, I have encountered some problems:
First, error opening /sys/kernel/debug/tracing/options/overwrite - no such file or directory. I solved this problem by building up the support of the kernel following http://opensourceforu.com/2010/11/kernel-tracing-with-ftrace-part-1/ and mount -t debugfs none /sys/kernel/debug. Then I could find the tracing directory. Besides, I set ro.debuggable=1 in file default.prop within Ramdisk and burn the boot.img into my phone.
Now I encounter another problem: when I run - python systrace.py --time=10 -o mynewtrace.html sched gfx view wm, the following error(19) pop up: error truncating /sys/kernel/debug/tracing/set_ftrace_filter: No such device (19). I don't know if the way my building up kernel support for systrace is incorrect or anything is missing.
Could anyone helps me out with this problem, please?
I think I have worked out the solution. My environment is Ubuntu 16.04 + HTC one M8. I will write the steps as followed:
open terminal and enter: $adb shell
(1) $su (2) $mount -t debugfs none /sys/kernel/debug. Now you should be able to see many directories under /sys/kernel/debug/. (You may cd into /sys/kernel/debug to confirm this)
New a new terminal and enter: dd if=/dev/block/platform/msm_sdcc.1/by-name/boot of=/sdcard/boot.img to generate the boot.img kernel image from your device.
Use AndroidImageKitchen to unpack the boot.img and find the default.prop within Ramdisk folder. Then change ro.debuggable=0 to ro.debuggable=1. Repack the boot.img and flash boot it to your device.
Once the device boot, under terminal, enter: adb root and message like: restarting adbd as root may pop up. Disconnect the USB and connect again.
cd to the systrace folder, e.g. ~/androidSDK/platform-tools/systrace and use:
python systrace.py --time=10 -o mynewtrace.html sched gfx view wm
Now you may able to generate your own systrace files.
On the console.. I get the following -
Usage: java [-options] class [args...]
(to execute a class)
or java [-jar] [-options] jarfile [args...]
(to execute a jar file)
where options include:
-cp -classpath <directories and zip/jar files separated by ;>
set search path for application classes and resources
-D<name>=<value>
set a system property
-verbose[:class|gc|jni]
enable verbose output
-version print product version
-version:<value>
require the specified version to run
-showversion print product version and continue
-jre-restrict-search | -no-jre-restrict-search
include/exclude user private JREs in the version search
-agentlib:<libname>[=<options>]
load native agent library <libname>, e.g. -agentlib:hprof
see also, -agentlib:jdwp=help and -agentlib:hprof=help
-agentpath:<pathname>[=<options>]
load native agent library by full pathname
-javaagent:<jarpath>[=<options>]
load Java programming language agent, see java.lang.instrument
-? -help print this help message
-X print help on non-standard options
-splash:<imagepath> show splash screen with specified image
-ea[:<packagename>...|:<classname>]
-enableassertions[:<packagename>...|:<classname>]
enable assertions
-da[:<packagename>...|:<classname>]
-disableassertions[:<packagename>...|:<classname>]
disable assertions
-esa | -enablesystemassertions
enable system assertions
-dsa | -disablesystemassertions
disable system assertions
Eventually the server doesn't start and gets stopped after time-out. The Server was working fine. However, I wanted to restart it. I stopped the server completely and tried starting it. Since then I am facing this issue.
You can check the script that is getting executed when you right click and start the server.
Check if there are any unwanted entries in the java options which does not confirm to the java command line.