Hidden Value – August 2000

 

Q: I am having a problem purging a group. The group has zero files and no disk space associated with it, but when I try to purge it, I'm told that it is in use. I suspect that somebody logged in to the group to purge all the files and then went home without logging off. The question I have is "how can you tell who is logged into a group?"

A: Keven Miller replied:

Try

LISTFILE /ACCT/GROUP,ACCESS

Q: I am completely new to setting up Network Printing, but thought I had everything set up correctly. I am using a JetDirect EX Plus and C2951A Cable from the LPQ800 to the Jetdirect. The printer has been configured as LDev 1427 using IOCONFIG. I just did a very simple NPCONFIG.PUB.SYS: 1427 (network_address = 192.168.4.27). I am able to start spooling for the device without error messages. However, when trying to send a spoolfile to the printer I receive:

SNMP error SNMPERR_GENERR reported while retrieving printer status.

The long and short of all this is that I then tried to PING 192.168.4.27 and get back:

Destination Node does not exist: error # 1 Unknown Node.

What could be wrong?

A: Michel Jourdevant replied:

Are you sure your JetDirect is configured with the IP address 192.168.4.27 and appropriate subnet mask and gateway? When you power on a JetDirect box for the first time it tries to get an IP from a DHCP server. If no DHCP server is available, it will take the default IP 192.0.0.192.

Q: While trying to use IOCONFIG to add a network printer, I get the following error message:

**note** Retrieving NMMGR configuration data...
Class(es) updated, so rerun asoctbl.pub.sys to recreate asociate.pub.sys.

keeping to group BOOTUP.SYS

Purge old configuration (yes/no)?Automatic yes

**error** can't purge configuration file MISCP.BOOTUP.SYS

SECURITY VIOLATION (FSERR 93)

followed by a file system tombstone. What does this mean?

A: Ed Stouder and Gerald Dillard replied:

Your last boot was done using "start recovery". This causes the default configuration group to be BOOTUP.SYS, instead of the normal CONFIG.SYS. BOOTUP.SYS is a special configuration group that saves your configuration as of the last START NORECOVERY, and is write protected once the system is up and running. IOCONFIG should have made the changes to the running system, but could not save the changes to the BOOTUP.SYS configuration group. What you need to do is to go into SYSGEN, change the base group to CONFIG and make the changes again; otherwise the next time you boot the system up, you will lose the changes you made. You will even lose the changes if you boot with a START RECOVERY, because the changes could not be written to the BOOTUP.SYS configuration, and that is the one that the system will use with a START RECOVERY.

Q: Is there a way that you can view the current software that is loaded on a particular system (Image, Suprtool, Cobol etc.)?

A: Barry Lake, Dennis Heidner and Gary Sielaff all replied more or less simultaneously:

Try either

:run psswinvp.pred.sys; xl="xl.pred.sys,xl.diag.sys"

or, simply,

:xeq psirpt.pred.sys

But, this only shows HP software, as Stan Sieler points out in:

There is no registry of software on the HP 3000. This means that some HP software and nearly all third-party software will be unreported by xeq psirpt.pred.sys.

Editor's note: Several people suggested using either MPEX, or MPE's LISTFILE with "code=" option, to list all program files on the system and then go through the list manually. A better idea came from Andreas Schmidt:

Most third-party applications reside in their own account, so a simple REPORT XYZ.@ should allow you to fairly easily identify third-party applications that may be on your system.

Q: I've heard that you can create a "startup" file with commands to be executed whenever the system starts. How? Is it just a text file containing the commands? Where does it need to be and what does it need to be named?

A: Mel Rees replied:

Create a file called SYSSTART.PUB.SYS. It has a format very similar to a UDC file, but is not identical. You can have different sections for your system, here is a small example from memory:

STARTUP
JOBFENCE 7
OUTFENCE 10
****
WARMSTART
LIMIT 0,0
****
COLDSTART
STREAM COLDJOB.UTIL.SYS
****

The STARTUP section is executed each time you restart, the other sections are run as appropriate.

Ian Sargent and Rich Holloway added:

Regarding SYSTART.PUB.SYS, don't forget that it must be owned by MANAGER.SYS and reside on LDEV 1!

Finally, Barry Lake suggested:

It would be a very good idea to set all the access permissions for the file to "CR" to prevent prying eyes from looking at your setup. For example,

:altsec sysstart.pub.sys;access=(r,w,a,l,x:cr)

Some sites put a STARTSESS command in the SYSSTART file in order to logon OPERATOR.SYS at the console during a system startup. Typically, this requires embedding passwords in the SYSSTART file, and you certainly wouldn't want unauthorized people to see this.

Q: Why don't RESLVCNF and Samba get along? It seems Samba runs flawlessly when I comment out my DNS servers in RESLVCNF but as soon as I put the DNS back in, I cannot attach to my Samba shares. My HP e3000 resolves IP's just fine but no luck with Samba. Any ideas?

A: Michael Gueterman replied:

Check that the DNS you're pointing to has an entry for the loopback address in it:

127.0.0.1 localhost

As:

MPE doesn't use the HOSTS file if it gets a valid DNS response.

Many DNS servers do not include the localhost entry as it is standard in their HOSTS file (which MPE won't look at if the DNS is up and responding).

This leads to a situation where you can resolve names just fine, but Samba/iX will not function correctly as it uses "localhost" internally, and can't resolve that name to the loopback address.

Q: Occasionally, we have a gateway go down and have been stopping and restarting the network to fix things. However, this is very disruptive. Is there a better way?

A: Fred Metcalf and John Dunlop separately replied:

We have lost a Gateway before and have used the magic command :

:NETTOOL.NET.SYS "nam;rou;gatel;quit" (that is gatel with an "L")

to check that the Gateways are active. Look under the "Active" column. The command :

:NETCONTROL UPDATE=INTERNET;NET=xxxxxx (where xxxxxx is the LAN name)

is used to resume service without stopping/restarting the Network.

Q: I have a defective system disk, which I filled up with garbage. When I run discfree.pub.sys, it tells me I have 533 Mbytes free for transient free space and 0 Mbytes for permanent free space. How is that possible?

A: Gary Paveza, Dennis Heidner, James Reynold and Jeff Kell replied:

It depends on how you have the system setup. MPE allows you to specify maximum percentages for each of transient and permanent. Say, for example, you have a 1000 MB disc and have configured transient to use at a maximum 50%, and permanent to use 75%. That would allow transient to use up to 500 MB, and allow permanent up to 750 MB. Obviously, both cannot occur at the same time. Suppose now you use 200 MB for permanent and 500 MB for transient. Your available transient free space would be 0 MB, but you would still have 300 MB free on the disc. However, it can only be used for permanent file space.

Q: How can I find out the hardware (MAC) address of the network adapter in my HP e3000?

A: Doug Werth replied:

:LINKCONTROL @,ALL

Q: I have enabled the auto reboot flag at the ISL prompt but when rebooting I get the following error "Cannot find an Auto-execute file auto boot aborted". Where do I set up this file and does it need to have a specific name? I would like it to do a START NORECOVERY.

A: Editor's note: several good responses were given, but a better one can be found (courtesy of Gilles Schipper) <Plug> in the upcoming "Best Of Hidden Value and net.digest" </Plug>:

Log on as MANAGER.SYS, and do as follows:

STEP 1

:EDITOR
/A
1 START NORECOVERY#@
2 //
...

/C "#" TO '13 IN 1 <<changes # to a CR >>
/C "@" TO '10 IN 1 <<changes @ to LF >>
/KEEP AUTOBOOT
/EXIT

STEP 2

:SYSGEN
SY
AAUTO FILE=AUTOBOOT.PUB.SYS TYPE=DISC
HOLD
E
KE
EXIT

STEP 3

Create new slt tape

STEP 4

At ISL prompt,

ISL > AUTOBOOT ON

STEP 5

Boot from SLT and UPDATE CONFIG

You MUST use the UPDATE CONFIG option to complete the task successfully. Failure to do so will not enable you to utilize the AUTOBOOT feature.

Q: Does DDS verify as it writes? Does DLT?

A: Steve Dirickson replied:

DDS, DDS-DC, and DDS2: No

DDS3 and DDS4: Yes

DLT: Yes

Q: Is there a way to see the boot history for my HP e3000?

A: Bill Cadier replied:

SYSINFO.PRVXL.TELESUP produces a boot history with the "MI" command.

Q: I have a 9x7 that works fine except for two errors that occur during bootup.

Right after it displays "Entering - System I/O Configuration" this error appears:

LLIO error - Subsys: 213, Proc_num: -9, Error_num: -38 for path 12
Error - LLIO Device configuration error: -11
Status - Subsys: #150 info: #-11

It then does the "Path 56.0.... already configured" stuff for a few lines and the error is repeated, but for path 8. This does not seem to affect the operation of the system at all, but I'm wondering what these errors mean and how I can get rid of them, just for the sake of having a "squeaky-clean" system?

A: Doug Werth replied:

This error is telling you that there are I/O adapter cards configured in slot 2 and slot 3 that physically aren't there. Chances are they were removed from the system before you took ownership of it, but they were not removed from the configuration.

In SYSGEN, you need to DP (delete path) on the adapters. You may also need to remove any devices that are configured underneath the adapters, although you didn't include any error messages that would indicate any of these exist.

Once you remove the extraneous adapters from the configuration it should boot up clean.

Q: Is it possible to FCOPY from a KSAM file to a regular MPE file WITHOUT the deleted records in it? I only want those valid entries from the KSAM file to get into the MPE file and not all of them.

A: Leonard Berkowitz replied:

The default for FCOPY is to copy only non-deleted records. If you want both deleted and non-deleted records, you would add the parameter ";NOKSAM".

Q: Is there an MPE utility to convert an ASCII file to EBCDIC?

A: Seven people leaped all over this:

FCOPY FROM=FROMFILE;TO=TOFILE;EBCDICOUT

Barry Lake contributed a url for a pdf version of the FCOPY manual:

http://jazz.external.hp.com/papers/pdfdocs/32212-90008.pdf

Phil Anthony and Dave Knispel added: If you have packed decimal fields in the file, you will need to exclude them; otherwise, you will have bad data in the packed fields

Q: Is qzip available for the HP e3000?

A: Mark Klein replied:

Go to http://jazz.external.hp.com/src/gnu/gnuframe.html and pick up the GNUCORE binaries - it is contained within that archive.

Q: I frequently execute the REPORT command for a group that exists in none of our accounts in order to obtain a quick listing of file usage at the account level. The following is the output returned from REPORT (I put the commas in for readability). Note the ** for the AMISYS account:

ACCOUNT FILESPACE-SECTORS CPU-SECONDS CONNECT-MINUTES

/GROUP COUNT LIMIT COUNT LIMIT COUNT LIMIT

AMISYS ** ** 0 ** 0 **

FSEN 245,322,128 ** 0 ** 0 **

SYS 0 ** 0 ** 0 **

TAURUS 47760 ** 0 ** 0 **

No groups found in group set. (CIWARN 432)

Now I know independently that the AMISYS account has 1,224,270,400 sectors. Can the reason for the ** in the REPORT output be a numerical overflow? If so, will this be fixed in 6.5?

Something else that I just noticed in the REPORT command output. SYS shows up as having a group on this particular user volume. When I check further (REPORT @.SYS;ONVS=PHC_DEVL), I find that it is PUB. A LISTGROUP PUB.SYS indicates that it resides on the system volume set. Can someone explain this?

A: Patrick Santucci replied:

It's a limitation in the REPORT command. Any account or group with a COUNT or LIMIT over 99,999,999 sectors will display "**". You can see for yourself by playing with the "files=" option of ALTGROUP and ALTACCT.

The S/R (which I am told is now a "C/R") for this problem is JAGAC78384. The title as I originally submitted it was "REPORT command improperly displays file usage/limit over 99,999,999 sectors." In my S/R I asked HP to

a) enhance LISTACCT to be able to use ONVS= so you can see the limit and space used by an account on a particular volumeset, and

b) fix REPORT to properly display more than 99,999,999 sectors.

Andreas Schmidt added:

The PUB.SYS group must exist on all user volumes. This is the place where the user volume's directory table is kept (or so HP told me).