Sponsored Content
Full Discussion: HP 9000 runnig Unix
Top Forums UNIX for Dummies Questions & Answers HP 9000 runnig Unix Post 19393 by Kelam_Magnus on Wednesday 10th of April 2002 04:43:55 PM
Old 04-10-2002
First of all, let me say that there is a great website for HPUX.
www.itrc.hp.com Go to the search page and type in your problem and click on the criteria you want to search for answers. The forum and manuals are good ones to pick.

Okay, here's the situation. Is this running HPUX? What version? What is the MINX product? Is that an application?

I will assume you have a version of HPUX.

You will have to do one or more of several things.

Regarding the disabled root, You can fix this when you log back in to single user mode. Just create a password for root using " passwd root " command.

First, we will try the easiest thing. Reboot the box, power off and power on again. When the box is coming back up, there will be a point to break in and stop the boot process. Do this.


Now, depending on what version of unix you are running, you will want to get to single user mode.

If you have a menu there, type in whatever it asks for to get you to single.

In HPUX, type " hpux boot -is " or " hpux -is ".

When you get there, perform fsck on all the filesystems. Do a man on fsck if you have another box. Here is some of that man page.


fsck(1M) fsck(1M)
NAME
fsck (generic) - file system consistency check and interactive repair

SYNOPSIS
/usr/sbin/fsck [-F FSType] [-m] [-V] [special ...]
/usr/sbin/fsck [-F FSType] [-o FSspecific-options] [-V] [special ...]

DESCRIPTION
The fsck command audits and interactively repairs inconsistent
conditions for HP-UX file systems on mass storage device files
identified by special. If the file system is consistent, the number
of files on that file system and the number of used and free blocks
are reported. If the file system is inconsistent, fsck provides a
mechanism to fix these inconsistencies, depending on which form of the
fsck command is used.

special represents a special device (e.g., /dev/rdsk/c1d0s8).
Options
fsck recognizes the following options:

-F FStype Specify the file system type on which to operate (see fstyp(1M) and fs_wrapper(5)). If this option
by matching special with an entry in that file.
system type is determined from the file /etc/fstab
by matching special with an entry in that file.
If there is no entry in /etc/fstab, then the file
system type is determined from the file
/etc/default/fs.

-m Perform a sanity check only. fsck will return 0
if the file system is suitable for mounting. If
the file system needs additional checking, the
return code is 32. If the file system is mounted,
the return code is 33. Error codes larger than 33
indicate that the file system is badly damaged.
*********************************************

Now, if that doesn't work you will need to have a CDROM or backup tape to restore from. Reboot the box, and have either the CDROM or tape in the system. Break in as before during the boot cycle, and boot from the tape or CDROM.

You may have to reinstall via the CDROM if you don't have a tape or can't restore from it.

My fear is that your old admin has sabotaged your box. Smilie
You may have to reinstall, if when you get to single and see that filesystems are missing.

Please respond with your progress!!Smilie
 

9 More Discussions You Might Find Interesting

1. IP Networking

runnig squid at boot up

Hi Does any body know how i can run a program at bootup? I have squid (cache server) installed on my PC but after boot up i should run it manually but i want it to run automaticly is there a way? I used to do it by entering the address ina file but i've forgotten it now. But i remember that ... (2 Replies)
Discussion started by: hessam
2 Replies

2. UNIX for Advanced & Expert Users

UPS for HP-9000

Hello Everyone I run 4 HP 9000 servers with HP-UX 11.0 on all 4, with an Infomix Database. About 6 months ago one system starting acting real weird it will display the message that it lost power (which did not) and it would shutdown, Then roughly 30 seconds later it would then say power has... (4 Replies)
Discussion started by: JackieRyan26
4 Replies

3. UNIX for Dummies Questions & Answers

HP 9000 workstation configuring

Hi, I have an HP9000 rp7420 running 11.i. I managed to mess up the console and can no longer get it to act as the console. When resetting the MP it seems to works, and after booting partition I can telnet into the box. Can anyone direct me to configuring the console HP700/96 is the model.... (0 Replies)
Discussion started by: ukitus
0 Replies

4. UNIX for Dummies Questions & Answers

Runnig Remote Shell

Please I need your help. I want to run remotely a unix shell that run a java process, from a Visual Basic Client. Thanks mac33 :) (4 Replies)
Discussion started by: mac33
4 Replies

5. Shell Programming and Scripting

Runnig a Windows command from UNIX

Hi, I need to execute a Windows command from UNIX crontab ( or similar utility). We are evaluating the schedular applications that will easily solve this issue although it will be a while by the time the tool selection happens and I need something to implement this solution in the iterim. ... (1 Reply)
Discussion started by: ashpon
1 Replies

6. Shell Programming and Scripting

runnig a perl program from a different dir..

hi, This is perl, v5.6.1 built for MSWin32-x86-multi-thread in win2000advanced server,... i have all my perl programs in d drive.. i like to run perl programs from a different drive(ex : c drive..) that is simple in unix.. but i dont know how to do that in win.. do u know how to do... (3 Replies)
Discussion started by: sekar sundaram
3 Replies

7. UNIX for Dummies Questions & Answers

runnig script from window machine

i want to run a script from window machine the script is ksh for i in $(cat some.txt) do rm $i done exit i have it saved as a file say progremove & made it chmod 7777 how do i run this script from a window machine vie a batch file telnet -l username servername then what... (2 Replies)
Discussion started by: sjumma
2 Replies

8. Solaris

PSU info M4/5/8/9000

I need to find out PSU info for some M class severs, normally prtdiag -v show's the relevant PS info, however these M classes don't seem to go down to that level !? Anyone any ideas , no physical or console access available at this stage :( thx... (3 Replies)
Discussion started by: itsupplies
3 Replies

9. HP-UX

HP 9000 340 help

Hi all, I've salveaged a fully working HP 9000 340 model with hard disk and floppy drive. It boots up and I get to the login screen. I don't have any usernames or passwords. Anyone know any hacks for the version of Unix it runs? Is there anyway I can reset the root password? Via Floppy? ... (0 Replies)
Discussion started by: robbo007
0 Replies
SYSTEMD-FSCK@.SERVICE(8)				       systemd-fsck@.service					  SYSTEMD-FSCK@.SERVICE(8)

NAME
systemd-fsck@.service, systemd-fsck-root.service, systemd-fsck - File system checker logic SYNOPSIS
systemd-fsck@.service systemd-fsck-root.service /lib/systemd/systemd-fsck DESCRIPTION
systemd-fsck@.service and systemd-fsck-root.service are services responsible for file system checks. They are instantiated for each device that is configured for file system checking. systemd-fsck-root.service is responsible for file system checks on the root file system, but only if the root filesystem was not checked in the initramfs. systemd-fsck@.service is used for all other file systems and for the root file system in the initramfs. These services are started at boot if passno in /etc/fstab for the file system is set to a value greater than zero. The file system check for root is performed before the other file systems. Other file systems may be checked in parallel, except when they are on the same rotating disk. systemd-fsck does not know any details about specific filesystems, and simply executes file system checkers specific to each filesystem type (/sbin/fsck.*). This helper will decide if the filesystem should actually be checked based on the time since last check, number of mounts, unclean unmount, etc. If a file system check fails for a service without nofail, emergency mode is activated, by isolating to emergency.target. KERNEL COMMAND LINE
systemd-fsck understands these kernel command line parameters: fsck.mode= One of "auto", "force", "skip". Controls the mode of operation. The default is "auto", and ensures that file system checks are done when the file system checker deems them necessary. "force" unconditionally results in full file system checks. "skip" skips any file system checks. fsck.repair= One of "preen", "yes", "no". Controls the mode of operation. The default is "preen", and will automatically repair problems that can be safely fixed. "yes" will answer yes to all questions by fsck and "no" will answer no to all questions. SEE ALSO
systemd(1), fsck(8), systemd-quotacheck.service(8), fsck.btrfs(8), fsck.cramfs(8), fsck.ext4(8), fsck.fat(8), fsck.hfsplus(8), fsck.minix(8), fsck.ntfs(8), fsck.xfs(8) systemd 237 SYSTEMD-FSCK@.SERVICE(8)
All times are GMT -4. The time now is 06:31 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy