Hercules on Mac OSX gives a AUTOMOUNT error

View: New views
2 Messages — Rating Filter:   Alert me  

Parent Message unknown Hercules on Mac OSX gives a AUTOMOUNT error

by Nigel DeFreitas :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm using a Aluminium Macbook/64 bit with Leopard (OS X 10.6.1). I
installed the Leopard download of Hercules from here:
http://www.hercules-390.org/hercules-3.06-leopard.dmg

Here's my startup output...

*** start output ***

MacBook:conf nigeldefreitas$ sudo hercules -f hercules.cnf
Hercules Version 3.06
(c)Copyright 1999-2007 by Roger Bowler, Jan Jaeger, and others
Built on Jan 9 2009 at 20:10:10
Build information:
Modes: S/370 ESA/390 z/Arch
Max CPU Engines: 8
Using setreuid() for setting privileges
Dynamic loading support
Loadable module default base directory is /usr/local/lib/hercules
Using shared libraries
No External GUI support
HTTP Server support
Regular Expressions support
Automatic Operator support
Machine dependent assists: cmpxchg1 cmpxchg4 cmpxchg8
Running on MacBook.local Darwin-10.0.0.Darwin Kernel Version 10.0.0:
Fri Jul 31 22:47:34 i386 MP=2
Crypto module loaded (c) Copyright Bernard van der Helm, 2003-2008
Active: Message Security Assist
Message Security Assist Extension 1
Message Security Assist Extension 2
HHCCF020W Vector Facility support not configured
HHCCF077I Engine 0 set to type 0 (CP)
cckd invalid keyword: cache
HHCCF090I Default Allowed AUTOMOUNT directory = "/Users/nigeldefreitas/tapes/"
HHCCF091S Invalid AUTOMOUNT directory: "/tapes": No such file or directory
HHCIN900I Begin Hercules shutdown
HHCIN901I Releasing configuration
HHCIN902I Configuration release complete
HHCIN903I Calling termination routines
HHCHD900I Begin shutdown sequence
HHCHD901I Calling hdl_term
HHCHD950I Begin HDL termination sequence
HHCHD951I Calling module *Hercules cleanup routine
HHCHD952I Module *Hercules cleanup complete
HHCHD959I HDL Termination sequence complete
HHCHD902I hdl_term complete
HHCHD901I Calling logger_term
HHCLG014I logger thread terminating
HHCHD902I logger_term complete
HHCHD909I Shutdown sequence complete
HHCIN904I All termination routines complete
HHCIN909I Hercules shutdown complete
HHCHD900I Begin shutdown sequence
HHCHD909I Shutdown sequence complete
MacBook:conf nigeldefreitas$

*** end output ***

and the config file I'm using....

*** start cnf file ***

####################################################################
# HERCULES EMULATOR CONTROL FILE #
# (Note: not all parameters are shown) #
####################################################################


#
# System parameters
#


ARCHMODE ESA/390
OSTAILOR OS/390
LOADPARM 0120....

CPUSERIAL 000611
CPUMODEL 3090
CPUVERID FD
LPARNAME HERCULES
MODEL EMULATOR
PLANT ZZ
MANUFACTURER HRC
MAINSIZE 64
XPNDSIZE 0
NUMCPU 1
NUMVEC 1
ENGINES CP
SYSEPOCH 1900
YROFFSET -28
TZOFFSET -0500

HTTPROOT /usr/local/share/hercules/
HTTPPORT 8081 NOAUTH

CCKD cache=8
SHRDPORT 3990

PANTITLE "My own private MAINFRAME!"
PANRATE FAST
LOGOPT TIMESTAMP
CODEPAGE default
CNSLPORT 3270
CONKPALV (3,1,10)
LEGACYSENSEID OFF

HERCPRIO 0
TODPRIO -20
DEVPRIO 8
CPUPRIO 15

TIMERINT DEFAULT
TODDRAG 1.0
DEVTMAX 8

DIAG8CMD disable
SHCMDOPT disable

DEFSYM TAPEDIR "$(HOME)/tapes"
AUTOMOUNT $(TAPEDIR)
AUTOMOUNT +/tapes
AUTOMOUNT -/tapes/vault

MODPATH /usr/local/hercules
LDMOD dyncrypt

PGMPRDOS restricted
ECPSVM no
ASN_AND_LX_REUSE disable

AUTO_SCSI_MOUNT no
MOUNTED_TAPE_REINIT allow

INCLUDE mydevs.cfg
IGNORE INCLUDE_ERRORS
INCLUDE optdevs.cfg


#
# Device statements
#


0009 3215-C /

000A 1442 adrdmprs.rdr
000C 3505 jcl.txt ascii trunc
000D 3525 pch00d.txt ascii
000E 1403 prt00e.txt

001F 3270 * 192.168.0.1
0200.4 3270 * 192.168.0.0 255.255.255.0
0220.8 3270 GROUP1 192.168.100.0 255.255.255.0
0228.8 3270 GROUP2
0230.16 3270

0000 SYSG SYSGCONS

0120 3380 ${DASD_PATH=dasd/}mvsv5r.120
0121 3380 ${DASD_PATH=dasd/}mvsv5d.121
0122 3380 ${DASD_PATH=dasd/}mvswk1.122
0123 3380 192.168.1.100

0140 3370 dosres.140
0141 3370 syswk1.141
0300 3370 sysres.300

0400 CTCT 30880 192.168.100.2 30880 2048
0401 CTCT 30881 192.168.100.2 30881 2048
0420.2 CTCI 192.168.200.1 192.168.200.2
# 0440.2 LCS -n /dev/net/tun 192.168.200.2

0580 3420 /dev/nst0 # SCSI (Linux or Windows)
0581 3420 \\.\Tape0 # SCSI (Windows only)
0582 3420 ickdsf.aws noautomount
0583 3420 /cdrom/tapes/uaa196.tdf
0584-0587 3420 $(TAPEDIR)/volumes.$(CUU) maxsizeM=170 eotmargin=131072

0590 3480 /dev/nst0 --no-erg --blkid-32 # Quantum DLT SCSI

0023 2703 lport=3780 rhost=localhost rport=3781 dial=no

*** end cnf file ***

Any ideas what I'm doing incorrectly here? I tried creating a folder
called "tapes" in the location specified, but that had no effect. I
commented the LCS line but that had no effect either: # 0440.2 LCS -n
/dev/net/tun 192.168.200.2

I installed tun tap, but didn't perform any additional configuration
(just installed with defaults by double-clicking the package). I'm not
sure why I get the tapes
message even after I manually create the tapes folder in OS X. I'm
using this command to launch "sudo hercules -f hercules.cnf" where my
hercules.cnf file is located here:
/Users/nigeldefreitas/Projects/Hercules - Mainframe Emulator/conf/

Thanks.

--
Nigel DeFreitas



--
Nigel DeFreitas

RE: Hercules on Mac OSX gives a AUTOMOUNT error

by fish-8 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Nigel DeFreitas wrote:

> I'm using a Aluminium Macbook/64 bit with Leopard
> (OS X 10.6.1). I installed the Leopard download of
> Hercules from here:
> http://www.hercules-390.org/hercules-3.06-leopard.dmg


[...]
> cckd invalid keyword: cache
> HHCCF090I Default Allowed AUTOMOUNT directory =
> "/Users/nigeldefreitas/tapes/"
> HHCCF091S Invalid AUTOMOUNT directory: "/tapes": No such file or directory
 [...]

<snip>

> ####################################################################
> # HERCULES EMULATOR CONTROL FILE #
> # (Note: not all parameters are shown) #
> ####################################################################

[...]

> CCKD cache=8

[...]

> DEFSYM TAPEDIR "$(HOME)/tapes"
> AUTOMOUNT $(TAPEDIR)
> AUTOMOUNT +/tapes
> AUTOMOUNT -/tapes/vault
<snip>


> Any ideas what I'm doing incorrectly here?

Yes:


First (non-fatal) problem: "cckd invalid keyword: cache":

It appears you are using our "sample" configuration file which unfortunately
contains an error. We apologize for that. Just like the error message says,
"cache" is indeed an invalid keyword.

The error has already been corrected in current SVN and will formally appear
in the next release (hopefully).


Second (fatal) problem: "HHCCF091S Invalid AUTOMOUNT directory: "/tapes":

The directory specified in the SAMPLE configuration file you are using was
"/tapes" (i.e. the "AUTOMOUNT +/tapes" statement). On the host operating
system you are using (Apple Leopard OS X 10.6.1), path specifications
starting with "/" are ABSOLUTE paths, not relative paths.

The directory it is looking for is "/tapes".

The directory it is NOT looking for is "/Users/nigeldefreitas/tapes/".

The two directories (paths) are completely different from each other. They
are NOT the same thing.


> I tried creating a folder called "tapes" in the location
> specified,

Actually no, you did not.  :)

You THOUGHT you did, but you actually didn't.  :)


> but that had no effect. I commented the LCS line but that had
> no effect either: # 0440.2 LCS -n /dev/net/tun 192.168.200.2

The LCS device statement does not have anything to do with the error that
was reported.


> I installed tun tap, but didn't perform any additional
> configuration (just installed with defaults by double-clicking
> the package).

LCS devices have nothing to do with the error you are reporting.


> I'm not sure why I get the tapes message even after I manually
> create the tapes folder in OS X.

You created your tapes directory in the wrong place.  :)

Either: a) create the directory in the correct location, or: b) remove the
AUTOMOUNT statement from your configuration file.

Or better yet, create your OWN configuration file instead of trying to use
our sample (which is only meant to be illustrative but not necessarily
correct/valid for anyone's particular system).


<snip remainder>


Welcome to Hercules, Nigel. We hope your stay is a pleasant one.

  :)

- --
"Fish" (David B. Trout) - fish@...
Fight Spam! Join CAUCE! <http://www.cauce.org/>
7 reasons why HTML email is a bad thing
http://www.georgedillon.com/web/html_email_is_evil.shtml
PGP key fingerprints:
DH/DSS: 9F9B BAB0 BA7F C458 1A89 FE26 48F5 D7F4 C4EE 3E2A
RSA: 6B37 7110 7201 9917 9B0D 99E3 55DB 5D58 FADE 4A52





-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 9.8.0 (Build 2158)
Charset: us-ascii

wj8DBQFK/BWNSPXX9MTuPioRArUvAKCObhEJ2lrbabRlREUOHqopQfK9vACeIezA
1zWIsdLZRcodst+m0HYYSjU=
=Rza+
-----END PGP SIGNATURE-----