Here's my Hercules 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: # 0440.2 LCS -n /dev/net/tun 192.168.200.2
Thanks.