If you forget your root password, you need to edit the /etc/shadow
file. The following procedure outlines how to boot from the Solaris 2.x CD-ROM
and edit the /etc/shadow
file. You must have a CD-ROM drive
to perform this procedure.
init 0
command.
If this is not possible, enter the
sync
command three times, then do an emergency shutdown by pressing the L1 and A keys simultaneously (the infamous L1-A).
OK boot cdrom -s
The screen displays:
Resetting...
(many lines of bootup information that take quite a while)
INIT:SINGLE USER MODE
#
# fsck /dev/rdsk/c0t3d0s0
c0t0d0s0
so edit the following if necessary):
# mount /dev/dsk/c0t3d0s0 /a
# TERM=sun
# export TERM
# chmod 600 /a/etc/shadow
# vi /a/etc/shadow
root:09PsdfrJut:9259:::::::
should be changed to this:
root::9259::::::
vi
program using
:wq.
# cd /
# umount /a
# fsck /dev/rdsk/c0t3d0s0
# init 6
root
without a password. To establish a new root
password, use
the passwd
command. Perform the follow procedures if you take a spectra and your peaks do not fully decouple or if they show no decoupling at all.
/vnmr/tests/gamah2.par
for testing gammah2. Check that the probe
is properly tuned for both C13 and H1.
dmf
settings. Follow the procedures in the Acceptance Test
Procedures manual.
Transmitter #2 (these signals are measured straight into the oscilloscope) P2X4 Synth Input: +10 dBm J2X5 LO Output: +10 dBm J2X3 Xmtr Output: +10 dBm When doing homodecoupling, the decoupler signal is combined with the observe signal at J297.
AMT #1 J4073 Channel A Output: 0 dB (measured through a 30-dB attenuator, about 1 W is needed to heterodecouple, less for homodecoupling)
J4072 Channel B Output: +24 - + 26 dBm (measured through a 30 dB attenuator) The measurement at the probe input should be approximately the same as the AMT output.
Transmitter #2 (these signals are measured straight into the oscilloscope) P3306 Synth Input: +10 dBm J3302 LO Output: +10 dBm J3304 Xmtr Output: +16 dBm (BB decoupler), +30 dBm (fixed-frequency decoupler) When doing homodecoupling, the decoupler signal is combined with the observe signal at AMT Channel A Input.
AMT #1 J4073 Channel A Output: 0 dB (measured through a 30-dB attenuator) about 1 W is needed to heterodecouple, less for homodecoupling)
J4072 Channel B Output: +24 - + 26 dBm (measured through a 30-dB attenuator) The measurement at the probe input should be about the same as the AMT output.
High-band Transmitter board (these signals are measured straight into the scope and P66 REF IN 0.9 Vp-p (+3 dBm) SMB to BNC connector)
J62 LO Output: 0.6 Vp-p (+0 dBm) J63 Xmtr Output: 0.7 Vp-p (+1 dBm) Low-band Transmitter board P44 REF IN: 0.9 Vp-p (+3 dBm) J42 LO Output: 0.6 Vp-p (+0 dBm) J43 Xmtr Output: 0.7 Vp-p (+1 dBm) AMT amplifier J207 Ch A Output: +0 dBm (measured through a 30-dB attenuator) J211 Ch B Output: +24 - + 26 dBm (measured through a 30-dB attenuator) When doing homodecoupling, the decoupler signal is combined with the observe signal at J23. Make sure your system has homodecoupling option.
1H Transmitter board (these signals measured straight into the oscilloscope) J2602 LO Output: 2 Vp-p (+10 dBm) J2603 Xmtr Output: 20 Vp-p (+30 dBm) [400 MHz @ 2 Vp-p (+10 dBm)] 13C Transmitter board J2702 LO Output: 2 Vp-p (+10 dBm) J2703 Xmtr Output: 20 Vp-p (+30 dBm) Broadband Transmitter board J2702 LO Output: 2 Vp-p (+10 dBm) J2703 Xmtr Output: 2 Vp-p (+10 dBm) 1H/13C Pulse Amplifier board J2904 1H Output: +10 dBm @ 200 MHz, +14 dBm @ 300 MHz (through a 30-dB attenuator) Kalmus amplifier J2904 1H Output: +20 dBm (measured through a 30-dB attenuator) J2902 13C Output: +22 dBm (measured through a 30-dB attenuator) When doing homodecoupling, the decoupler signal is combined with the observe signal at J2904. Make sure your system has the homodecoupling option.
config
table.
temp
from the VNMR command
bar to get the Temp window, and then click the RESET button with the mouse
to reset the controller.
Unmounting /vol error
INIT: failed write of utmpx...
We read this information in "Inside Solaris" magazine. April 1997
Unmounting /vol error
This problem is caused by an error in one of the Solaris .rc files.
The system attempts to unmount the /vol file system before shutting down the vold daemon which is using /vol. By trying to unmount a used file system, an error is created. The solution is to kill the daemon before unmounting the file system.
Killing the vold daemon first will fix the problem. You will have to become root first. Then create a link to an existing shutdown script before entering run level 0.
Become root and enter the following:
# ln -s /etc/init.d/volmgt /etc/rc0.d/K68volmgt
The /etc/rc0.d directory contains scripts that are executed when
Solaris enters run level 0 (Shut Down). Solaris runs all scripts starting with K
and passes them "stop" as a parameter. The volmgt script found in the
/etc/init.d directory already uses this protocol and the above procedure
will cause vold to shutdown properly.
INIT: failed write of utmpx...
The error messages that is most frustrating, however, are this pair of
messages. On some installations, We get these errors, and on other
installations, We don’t.
For a long time, We’ve just been putting up with these
error messages. It turns out that these messages occur for a similar reason as
the previous error.
Here, the init command is trying to update the
utmpx log file, which contains information about system run-level transitions,
as well as user login and logout information. On some Solaris installations, the
/var file system was on a separate partition!
When Solaris goes to run level 0, it un-mounts all the
expendable file systems, such as /var. However, init then tries to enter
this information in the log file, which is no longer accessible. That certainly
clears things up!
Thus, all you do is provide a place for init to write your log file
entries. If you really don’t care about the run-level transition messages, you
can just write the information to/dev/null, and it’ll be thrown away
without a trace. To do this, shut down your system and restart it. However, when
you restart it, make sure you issue a boot -s command to boot it
initially in single-user mode. Once you’ve booted up in single-user mode, enter
these commands:
(If you try to bypass the boot -s step by executing the init S
command to go to single-user mode, umount will tell you that the /var
file system is busy. Don’t even try to circumvent the shutdown/boot -s
procedure, it won’t work.)
Now we simply have a fake file system at the /var mount point. So when
Solaris unmounts /var, the files /var/adm/utmpx and /var/adm/utmp
will still exist. (They just won’t be the same ones.) Now, init won’t
fail when it writes the log entries. You might wonder why we created both utmpx
and utmp, when init was complaining only about utmpx. It turns out that
if you create the utmpx file, init then complains about the utmp file. It
writes log entries to both files, but writes to utmpx (and fails) first.
If you’d really rather keep all the log in-formation, you can try a similar
trick. Instead of throwing away all the data, move your utmpx and utmp
files to another location. Then create links to these new files at both their
real locations and at the fake locations at the mount point. Then you can get
rid of the messages and keep all your logging information.
Symptom: The following message appears:
You can run Vnmr and analyze pre-existing data, but all attempts to collect new data fail.
To correct this problem:
/vnmr/bin/Vnmr, /vnmr/bin/send2Vnmr and /vnmr/acqbin/Expproc
-rwsr-sr-x 1 vnmr1 nmr 1575260 Dec 18 1996 Vnmr -rwsr-sr-x 1 vnmr1 nmr 7916 Dec 18 1996 send2Vnmr -rwsr-sr-x 1 vnmr1 nmr 113896 Dec 18 1996 Expproc
If they do not have the UID and GID bit set, do the following correction:
(This will change the sticky bit for these files, if you looked at the permissions for these files they will look like this; -rwsr-sr-x)
The Print button in the config windows uses the vnmrprint command. Unfortunately this requires you to create a print device LP. The adddevices program will not let you create an entry called LP. What you will need to do is add the device LP using the admintool program. This can be done by performing the following(These procedures are for HP printers only):
Your Print button in the Config window should now work
Usually the command unlock(n) where n, the experiment number, will "unlock" that experiment. If this does not work, check the file listings in vnmrsys (Example: /export/home/vnmr1/vnmrsys) for the user that you are logging in as. If there is more than 1 file of the format lock_?.primary (where "?" is the experiment number other than the one you are currently in) remove that "lock" file. To check for multiple locked files perform the following:
cd ~/vnmrsys
ls
(you will get a listing of the files in that directory that may be similar to the below example)
data/ help/ manual/ shapelib/ exp1/ imaging/ menulib/ shims/ exp2/ lock_2.primary psglib/ tablib/ exp3/ lock_3.primary pulsecal templates/ global maclib/ seqlib/
rm lock_3.primary
(or rm lock_2.primary, whichever experiment you wish to unlock)
****NOTE**** You should always have one lock?_primary. This locks your current experiment so that remote logins cannot interfer with your current acquisition.
Open the Style Manager ( fourth ICON from the right on the ICON bar). Select "More Colors" button and select "More colors for applications". Click "OK". Log out and log back in.
Workaround:
The requested font, which is used by Sun's OpenLook for various screen displays is missing on the SGI. To create it:
On the SGI, become root.
cd /usr/lib/X11/fonts/misc
vi fonts.dir
In the file, find the line olgl12.pcf.Z-sun-open look glyph-----12-120-75-75-p-113-sunolglyph-1 Duplicate the line that starts with olgl12.pcf.Z and then change the 113 to 116 in the duplicate. The result will look like the following:
olgl12.pcf.Z -sun-open look glyph-----12-120-75-75-p-113-sunolglyph-1
olgl12.pcf.Z -sun-open look glyph-----12-120-75-75-p-116-sunolglyph-1
Save your changes to fonts.dir and exit from the editor. Now enter the UNIX command xset fp rehash