Re: mvsdasd

2011-11-10 Thread Edmund R. MacKenty
than ftp for example ? We should perhaps try that :) Unlike FTP, you can tune NFS to improve your throughput. Here's some info about doing that: http://nfs.sourceforge.net/nfs-howto/ar01s05.html That applies to Linux. Not sure how tunable the z/OS side is. - MacK. - Edmund R.

Re: ssh tunnel & NFS mounting

2011-10-21 Thread Edmund R. MacKenty
170280-solved-nfs-mount- via-ssh-tunnel.html - MacK. - Edmund R. MacKenty Software Architect Rocket Software 275 Grove Street - Newton, MA 02466-2272 - USA Tel: +1.617.614.4321 Email: m...@rs.com Web: www.rocketsoftware.com --

Re: Ubuntu on z?

2011-09-08 Thread Edmund R. MacKenty
really stable. Using Kbuntu Desktop for my primary user system too. I uses SuSE and RedHat at work, of course, but it will be good to have another distro in the mix. - MacK. ----- Edmund R. MacKenty Software Architect Rocket Software 275 Grove Street - Newton, MA 02466-2272 - USA Tel: +1

Re: Mount error - Network config problem

2011-08-26 Thread Edmund R. MacKenty
believe I saw that STARTMODE had an uppercase value but totally missed that BOOTPROTO did too! I guess I'm half-blind or something. Glad you got it working, Saurabh. - MacK. - Edmund R. MacKenty Software Architect Rocket Software 275 Grove Street - Newton, MA 02466-2272 - USA Tel

Re: Mount error - Network config problem

2011-08-25 Thread Edmund R. MacKenty
ing in there. You might also want to take a look at the end of /var/log/messages to see if any errors generated while you do the "service network restart" appear in there. - MacK. - Edmund R. MacKenty Software Architect Rocket Software 275 Grove Street - Newton

Re: Mount error - Network config problem

2011-08-25 Thread Edmund R. MacKenty
On Thursday, August 25, 2011 11:34:57 am you wrote: > >>> On 8/25/2011 at 09:45 AM, "Edmund R. MacKenty" > >>> > wrote: > > Yes. The scripts need the NETWORK parameter to set things up properly. > > Actually, not. You're better off leaving

Re: Mount error - Network config problem

2011-08-25 Thread Edmund R. MacKenty
roadcast address. That sure looks like a broadcast address to me. But there's no "addr" keyword for the ifconfig command, so I think you should use the "broadcast" keyword instead. Try this: ifconfig eth0 10.241.1.193 netmask 255.255.255.0 broadcast 10.241.1.255 up Be sure

Re: Mount error - Network config problem

2011-08-25 Thread Edmund R. MacKenty
On Thursday, August 25, 2011 09:32:06 am you wrote: > Does it necessary to code network parameter in this. Yes. The scripts need the NETWORK parameter to set things up properly. - MacK. ----- Edmund R. MacKenty Software Architect Rocket Software 275 Grove Street - Newton, MA 02466-2

Re: Mount error - Network config problem

2011-08-25 Thread Edmund R. MacKenty
ss defined, which should be specified with REMOTE_IPADDR=something. With the NETMASK value you have there, the third component of your NETWORK address must be 8 or higher, so 10241.8.0 is a valid network given that netmask. If the default route and NETWORK addresses are correct, then your NETMASK sh

Re: Websphere and its presence on a running Linux system

2011-08-25 Thread Edmund R. MacKenty
pache configuration files before installing WAS, because it will modify them. - MacK. - Edmund R. MacKenty Software Architect Rocket Software 275 Grove Street - Newton, MA 02466-2272 - USA Tel: +1.617.614.4321 Email: m...@rs.com Web: www.rocketsoftware.com --

Re: NFS Mount

2011-08-04 Thread Edmund R. MacKenty
/mnt as a non-root user. It will probably work OK. - MacK. - Edmund R. MacKenty Software Architect Rocket Software 275 Grove Street - Newton, MA 02466-2272 - USA Tel: +1.617.614.4321 Email: m...@rs.com Web: www.rocketsoftware.com ---

Re: NFS Mount

2011-08-04 Thread Edmund R. MacKenty
non-option argument (/mnt) on the command line. It is thus looking in /etc/fstab to see if it can find out just what it is you want to mount on /mnt. Removing that second -o will make it interpret the IP:path argument as the device to be mounted. - MacK. - Edmund R. MacKenty Software

Re: Showing a process running in BG

2011-08-01 Thread Edmund R. MacKenty
p in that list, then it is running in the background. You can use the fg and bg built-in commands to move jobs between the foreground and background. There can be only one foreground job, but as many background jobs as you want. - MacK. - Edmund R. MacKenty Software Architect Rocket Softwar

Re: cleaning up /tmp

2011-03-11 Thread Edmund R. MacKenty
want to temporarily save a file as a user, I put it in $HOME/tmp. That way I'm responsible for cleaning it up and it comes out of my quota. I'll bet no one else does that. :-) - MacK. - Edmund R. MacKenty Software Architect Rocket Software 275 Grove Street - Newton,

Re: cleaning up /tmp

2011-03-11 Thread Edmund R. MacKenty
hey log out. but the general rule as proposed may not work well for system UIDs, such as lp, which don't really have the concept of a "session" after which cleanup should occur. If you're going with a UID-based scheme, I'd limit it to UIDs greater than or equal to UID_MIN, as

Re: BASH question - may even be advanced - pipe stdout to 2 or more processes.

2011-02-09 Thread Edmund R. MacKenty
veral ways to do anything in Linux. I focused on doing it entirely in bash. - MacK. - Edmund R. MacKenty Software Architect Rocket Software 275 Grove Street - Newton, MA 02466-2272 - USA Tel: +1.617.614.4321 Email: m...@rs.com Web: www.rocketsoftware.com ---

Re: BASH question - may even be advanced - pipe stdout to 2 or more processes.

2011-02-09 Thread Edmund R. MacKenty
ntax requires a number. So, for example, the first time around the first loop, the command: 3>"$file" is what gets executed. I haven't tried to run this, but the idea might help. - MacK. - Edmund R. MacKenty Software Architect Rocket Software 275 Gr

Re: A Mix of LDAP and non-LDAP Users

2011-01-11 Thread Edmund R. MacKenty
ot;ps" command does these lookups. If performance is bad, run the Name Service Cache Daemon (nscd) by doing "service nscd start && insmod nscd". This will speed things up again for you. - MacK. - Edmund R. MacKenty So

Re: SLES 11 SP 1 - Ncurses version of YaST

2011-01-06 Thread Edmund R. MacKenty
unlikely to conflict with an existing display on the remote system; and the screen number is "0" meaning the first screen within that pseudo-display. If you really want more info on this, do "man X" and read the "DISPLAY NAMES" section. But you've probably heard eno

Re: SLES 11 SP 1 - Ncurses version of YaST

2011-01-06 Thread Edmund R. MacKenty
n, do "echo $DISPLAY" to see if it is set or not. - MacK. ----- Edmund R. MacKenty Software Architect Rocket Software 275 Grove Street - Newton, MA 02466-2272 - USA Tel: +1.617.614.4321 Email: m...@rs.com Web: w

Re: A little more script help

2010-12-23 Thread Edmund R. MacKenty
int "Maximum:", max, "at", maxtime; \ print "Average:", sum / NR; \ }' /tmp/test That will output the minimum, maximum and average values of the third column, along with the most recent times the min and max occurred. Just a simple example of

Re: Documentation: DocBook vs. Lyx vs. LaTex vs. texinfo?

2010-12-20 Thread Edmund R. MacKenty
of SGML. XML is much easier to process, so more people are writing tools using it. When you're authoring, though, there's little difference between the two except for the DOCTYPE and document element in your top-level file and XML allows the short form of content-less elements (ie. ).

Re: Can't create ctcmpc groups

2010-11-05 Thread Edmund R. MacKenty
you'll see sysfs entries for that device appear as the Linux driver detects the new "hardware". - MacK. - Edmund R. MacKenty Software Architect Rocket Software 275 Grove Street - Newton, MA 02466-2272 - USA Tel: +1.617.614.4321 Email: m...@rs.com Web: www.rocketsoftwa

Re: Silly quesiton on PuTTY

2010-11-04 Thread Edmund R. MacKenty
ram the strings are delimited by single-quotes. In your C program, they are no doubt delimited by double-quotes. Perhaps THE treats the two kinds of quotes differently? At any rate, you now know the source of the TABs. - MacK. - Edmund R. MacKenty Software Architect Rocket Software 275 G

Re: Silly quesiton on PuTTY

2010-11-04 Thread Edmund R. MacKenty
' > exit You sure your editor isn't inserting TAB characters when you type spaces? Some try to be "smart" about indentation. A simple way to find out: od -c test.rxx If you see any "\t" sequences in the output, then you know the TABs are in the source

Re: Linux Shared DASD

2010-10-21 Thread Edmund R. MacKenty
f that block happens to contain a directory, or part of the filesystem's hash table, you've just trashed things badly. So use NFS, because there's only one Linux guest caching that filesystem. - MacK. - Edmund R. MacKenty Software Architect Rocket Software 275 Grove Street -

Re: I/O Error

2010-09-17 Thread Edmund R. MacKenty
DASD I/O > errors? Try /var/log/messages. - MacK. ----- Edmund R. MacKenty Software Architect Rocket Software 275 Grove Street - Newton, MA 02466-2272 - USA Tel: +1.617.614.4321 Email: m...@rs.com Web: www.rocketsoftware.com -

Re: Suse SLES 11 / reiserfs / readonly problem

2010-08-25 Thread Edmund R. MacKenty
owner" of > it. Thanks Mark! I was writing a similar reply when yours arrived. Having a read-write mount to a shared Linux filesystem is just asking for it to be corrupted, because of multiple caches being unaware of each other. Please do not do that! - MacK. ----- Edmund R. MacKenty Sof

Re: Anyone have 2 NICs on SLES11 SP1 working ?

2010-08-25 Thread Edmund R. MacKenty
is reporting any errors when you have that problem connecting on both interfaces. There ought to be something in there on an interface failure. - MacK. ----- Edmund R. MacKenty Software Architect Rocket Software 275 Grove Street - Newton, MA 02466-2272 - USA Tel: +1.617.614.4321 Email:

Re: Anyone have 2 NICs on SLES11 SP1 working ?

2010-08-24 Thread Edmund R. MacKenty
We've set up multiple NICs on SLES 11.0 with no problems. Not sure if we've done that on SP1, though. Havn't ever seen them interferring with each other. What sort of NIC is this? Hipersocket? VSWITCH? Do you perhaps have them using the same virtual device numbers? I would ima

Re: Shared root and shutdown

2010-08-12 Thread Edmund R. MacKenty
hold of specific writable devices and arrange them into the correct directory structure. Forgive me for going on and on about this, but this pivot_root approach is near and dear to me because implementing it solved a lot of problems for us. - MacK. - Edmund R. Ma

Re: Shared root and shutdown

2010-08-10 Thread Edmund R. MacKenty
essentially what you suggested: letting an admin maintain software on one system using RPM, and having my tool distributing those changes to the many Linux instances it has created, dealing with R/O filesystems in its own way. - MacK. - Edmund R. MacKenty Software Architect Rocket Softwa

Re: Shared root and shutdown

2010-08-10 Thread Edmund R. MacKenty
in on a read-only filesystem and bind-mounted those directories onto the writable filesystem. This gives us more flexibility to make changes as user needs evolve over time. But it's the same basic idea. - MacK. - Edmund R. MacKenty Software Architect Rocket Software 275 Grove Street ·

Re: CRON

2010-08-05 Thread Edmund R. MacKenty
or stream into logger, but re-directs the output stream to the null device. Hope this helps! - MacK. - Edmund R. MacKenty Software Architect Rocket Software 275 Grove Street · Newton, MA 02466-2272 · USA Tel: +1.617.614.4321 Email: m...@rs.com Web: www.rocketsoftware.com

Re: CRON

2010-08-05 Thread Edmund R. MacKenty
g the output to null would be >00,15,30,45 * * * * /home/marpace/bin/scanftp.rxx > /dev/null 2> >/home/marpace/scanftp.err >That look correct? Yup. That will do the trick. - MacK. - Edmund R. MacKenty Software Architect Rocket Software 275 Grove Street · Newton, MA 02466

Re: Files on disk

2010-07-22 Thread Edmund R. MacKenty
ry to restore that 26GB sparse file to use 26GB of DASD, even if it compressed it down to 200MB on the server because of all the blocks of zeros in it. Has anyone investigated that problem? - MacK. - Edmund R. MacKenty Software Architect Rocket Software 275 Grove Street · Newton, MA

Re: Files on disk

2010-07-21 Thread Edmund R. MacKenty
a file as it backs it up, I doubt it would be making a file sparse again upon restore just because some blocks contain all zeros. I'd look for some configuration option that makes it aware of sparse files. - MacK. - Edmund R. MacKenty Software Architect Rocket Software 275 Grove

Re: Files on disk

2010-07-21 Thread Edmund R. MacKenty
proper Linux file copy is done. The cp command also does that. - MacK. - Edmund R. MacKenty Software Architect Rocket Software 275 Grove Street · Newton, MA 02466-2272 · USA Tel: +1.617.614.4321 Email: m...@rs.com Web: www.rocketsoftware.com --

Re: Files on disk

2010-07-21 Thread Edmund R. MacKenty
e used for these logs because they are in a kind of record-oriented format, where the position in the file is the record key. That's why you need to use last(1) and faillog(8) to look at those files: they are not plain text files the way /var/log/messages is. - MacK. - Edmund R. M

Re: SCO's case is DEAD! Novell wins!

2010-06-11 Thread Edmund R. MacKenty
ppeal is filed in 3... 2... 1... - MacK. - Edmund R. MacKenty Software Architect Rocket Software 275 Grove Street · Newton, MA 02466-2272 · USA Tel: +1.617.614.4321 Email: m...@rs.com Web: www.rocketsoftware.com -

Re: Open Office 3.2 on SLES 11 for s390x

2010-06-08 Thread Edmund R. MacKenty
linux.com/archive/feed/52385 http://www.schnarff.com/blog/?p=17 http://commandline.org.uk/command-line/dealing-with-word-documents-at-the-command-line/ - MacK. ----- Edmund R. MacKenty Software Architect Rocket Software 275 Grove Street · Newton, MA 02466-2272 · USA Tel: +1.617.614.4321 Email: m.

Re: tar extract - code conversion.

2010-06-03 Thread Edmund R. MacKenty
On Thursday 03 June 2010 17:04, Larry Ploetz wrote: > On 6/3/10 8:51 AM, Edmund R. MacKenty wrote: >> ConvertDirTree() >> { >> find "$1" -type f | while read file; do >> tmp="$file.ic$$" >> if iconv -f "$2" -t "

Re: tar extract - code conversion.

2010-06-03 Thread Edmund R. MacKenty
ly on a directory tree. An exercise for the reader: Write a FilterDirTree() function that executes an arbitrary command on each plain file in a directory tree. The function should take the command to be executed as an argument, which can be

Re: DB2 Connect keeps the guest active

2010-05-10 Thread Edmund R. MacKenty
ed systems, so I almost always turn it off. To do that, comment out the line in /etc/inittab that refers to it. - MacK. - Edmund R. MacKenty Software Architect Rocket Software 275 Grove Street · Newton, MA 02466-2272 · USA Tel: +1.617.614.

Re: zLinux entropy

2010-05-03 Thread Edmund R. MacKenty
c/devices. The minor number is that of the "z90crypt" device in /proc/misc. With those values, you can then do: mknod /dev/hw_random c [major] [minor] to create the device node you need. - MacK. - Edmund R. MacKenty Software Architect Rocket Software 275 Grove Str

Re: zLinux entropy

2010-05-03 Thread Edmund R. MacKenty
v/hw_random /dev/random and all apps will use the random numbers from the crypto cards. - MacK. - Edmund R. MacKenty Software Architect Rocket Software 275 Grove Street · Newton, MA 02466-2272 · USA Tel: +1.617.614.4321 Email: m.

Re: Waiting for device

2010-01-15 Thread Edmund R. MacKenty
way when I had a guest that took forever to boot. One really should be using readlink(1) instead of ls for this sort of thing, but unfortunately the powers that be placed readlink in /usr/bin, which is often not available at boot-time. So we're stuck with ls. - MacK. - Edmund

Re: locking dir for LVM and /etc/lvm/lvm.conf

2010-01-06 Thread Edmund R. MacKenty
27;re doing this during the boot sequence, you have complete control and nothing else will be running an LVM tool, so you don't really need the locks, right? - MacK. - Edmund R. MacKenty Software Architect Rocket Software 275 Grove Street · Newton, MA 02466-

Re: SLES 10 SP2 upgrade to SLES 10 SP3 error

2010-01-06 Thread Edmund R. MacKenty
f you have a set of stable apps running but not execing new programs, you should be OK. On a production system, it would be best to bring it down to single-user mode first. - MacK. - Edmund R. MacKenty Software Architect Rocket Software 275 Grove Street · Newton, MA

Re: x86 to z CPU comparison for calculating IFLs needed

2010-01-04 Thread Edmund R. MacKenty
On Monday 04 January 2010 16:46, Stewart Thomas J wrote: >/proc/sys/kernel/HZ must be a SLES thing, don't see that on RHEL. Red Hat > folks have ideas on where to find the equivalent? That would be /proc/sys/kernel/hz_timer - MacK. ----- Edmund R. MacKenty Software Archi

Re: z/OS ftp server / Linux client - lowercasing Linux file name on MGET.

2009-12-21 Thread Edmund R. MacKenty
ring mget commands. When case is on (default is off), remote computer file names with all letters in upper case are written in the local directory with the letters mapped to lower case. Sounds like what you want. - MacK. - Edmund R. MacKenty Software Architect Rocket Software 275 Gro

Re: weird(?) idea for an extended symlink functionality

2009-11-17 Thread Edmund R. MacKenty
, it's unlikely anyone's applications use it. Neither does cat(1), as of yet (coreutils-7.6). That's a pity, because this call could really increase the throughput of processes that just copy data around. - MacK. - Edmund R. MacKenty Software Architect Rocket Softw

Re: weird(?) idea for an extended symlink functionality

2009-11-16 Thread Edmund R. MacKenty
ime in user-space, and the named pipe took more system time. But for these small jobs that system time could be just noise. - MacK. - Edmund R. MacKenty Software Architect Rocket Software 275 Grove Street · Newton, MA 02466-2272 · USA Tel: +1.617.614.4321 Emai

Re: weird(?) idea for an extended symlink functionality

2009-11-13 Thread Edmund R. MacKenty
nod pipe p # time (cat one two three four five > pipe & od -c pipe > /dev/null) real58m19.154s user56m56.490s sys 0m20.361s Now this is just on a laptop, and a very crude measurement, but it sure looks like there's a bit of overhead in them thar named pipes and cat!

Re: weird(?) idea for an extended symlink functionality

2009-11-13 Thread Edmund R. MacKenty
why I'm thinking of a new file type of "meta-file". I thought the original poster rejected the idea of named pipes because of concern about the I/O overhead? Named pipes are the UNIX-style solution to this problem, but can they match the performance of a concatenated dataset?

Re: weird(?) idea for an extended symlink functionality

2009-11-13 Thread Edmund R. MacKenty
al symlinks in a directory, which is the final argument. It's an interesting idea, but I'm not convinced of its utility. I'd like to know what percentage of the I/O time (or CPU cycles) is used by piping files via cat. Anyone have any measurements? - MacK. ---

Re: Where does "games" come from?

2009-11-03 Thread Edmund R. MacKenty
ising later incident > and the removal of the accounts This should certainly be considered, and if a look at the log files reveals a "/var/games: No such file or directory" message from some daemon, I would be very surprised. - MacK. - Edmund R. MacKent

Re: Where does "games" come from?

2009-11-03 Thread Edmund R. MacKenty
It's /etc/login.defs where those values are defined. We don't want to change those. - MacK. - Edmund R. MacKenty Software Architect Rocket Software 275 Grove Street · Newton, MA 02466-2272 · USA Tel:

Re: Where does "games" come from?

2009-11-03 Thread Edmund R. MacKenty
r cron job should report it to you. Oh: I ran the above command for the "ftp" user and group too: no output at all. Of course, I don't have a lot of junk installed on this instance. It's supposed to be a server, after all. - MacK. - Edmund R. MacKen

Re: Where does "games" come from?

2009-11-03 Thread Edmund R. MacKenty
On Tuesday 03 November 2009 11:16, Jack Woehr wrote: >Edmund R. MacKenty wrote: >> . I don't think the UID/GID can be re-used, as >> your vendor controls their assignments for system accounts and useradd(8) >> will not assign UID/GID values below 500 > >That num

Re: Where does "games" come from?

2009-11-03 Thread Edmund R. MacKenty
ete "games", no one else will get to own them. Besides, you're running a security scanner that checks for files with UIDs that are not in /etc/passwd and notifies you, right? So even if you do install some package that has a file owned by "games", you'll know

Re: emulating a z/OS DDNAME dataset concatenation in Linux

2009-10-02 Thread Edmund R. MacKenty
Use cat to concatenate the files together and then pipe them into your program, like so: cat file1 file2 file3 file4 | myprogram If the program doesn't read from its standard input, but only from a file named on its command line, you can make it read from the standard input li

Re: intrusion detection on the zLinux Platform

2009-09-17 Thread Edmund R. MacKenty
f you want to find out what happened after you've been compromised, there's the venerable TripWire (http://www.tripwire.org/). - MacK. - Edmund R. MacKenty Software Architect Rocket Software 275 Grove Street · Newton, MA 02466-2272 · USA Te

Re: Lin_tape and IBMtapeutil

2009-06-23 Thread Edmund R. MacKenty
irectory1 /directory2 That puts everything into one big tarfile onto that tape. You can list as many directories you want on the tar command line. - MacK. - Edmund R. MacKenty Software Architect Rocket Software 275 Grove Street · Newton, MA 02466-2272 · USA Tel: +1.617.614

Re: How to determine memory size for sles9 64 bit linux guest

2009-05-28 Thread Edmund R. MacKenty
al' /proc/meminfo You can also run top(1) and look at the header information. It's all in there. - MacK. - Edmund R. MacKenty Software Architect Rocket Software 275 Grove Street · Newton, MA 02466-2272 · USA Tel: +1.617.614.4321 Email: m...@rs

Re: Setting up a FTP server to server Linux Distributions - advice needed

2009-05-20 Thread Edmund R. MacKenty
660 ro,loop 0 0 That will make the loop mount get set up at boot-time. - MacK. - Edmund R. MacKenty Software Architect Rocket Software 275 Grove Street · Newton, MA 02466-2272 · USA Tel: +1.617.614.4321 Email: m...@rs.com Web: www.rocketsoftware.com --

Re: crypto on z9 with Sles10s2

2009-05-20 Thread Edmund R. MacKenty
dw/linux390/docu/l26cdd04.pdf I haven't used it myself; just looked into it a while back. - MacK. - Edmund R. MacKenty Software Architect Rocket Software 275 Grove Street · Newton, MA 02466-2272 · USA Tel: +1.617.614.4321 Email: m.

Re: server inventory ?

2009-05-15 Thread Edmund R. MacKenty
ble. Well, of course it does. There's command line programs to get at all that information, which is in XML files anyway so it's pretty open. - MacK. - Edmund R. MacKenty Software Architect Rocket Software 275 Grove Street · Newton, MA 02466-2272

Re: server inventory ?

2009-05-15 Thread Edmund R. MacKenty
isioning Expert run those SMT registration commands as part of the instance creation operation. The "application configuration" script feature is how you can extend PE's functionality to handle things like this. That would let SMT report on your instances as well. - MacK. -

Re: Stateless Linux for zSeries

2009-05-14 Thread Edmund R. MacKenty
ve. That's just off the top of my head; I'm not really a kernel hacker so I only kinda-sorta know this stuff. - MacK. - Edmund R. MacKenty Software Architect Rocket Software 275 Grove Street · Newton, MA 02466-2272 · USA Tel: +1.617.614.4321 Email: m...@rs.com W

Re: Stateless Linux for zSeries

2009-05-14 Thread Edmund R. MacKenty
nionfs, although I'd very much like to. It would make a lot of the stuff I do with shared DASD *much* easier. Mark, do you know if Novell plans to make unionfs (or anything like it) available in SLES anytime soon? Can we nudge them in that direction? - MacK. - Edmund R. MacKenty S

Re: Stateless Linux for zSeries

2009-05-14 Thread Edmund R. MacKenty
storage appliance. If there's a problem with the guest, you just configure another one and replace it. Lots of people on this list have been doing that for years, as have I. There're products around that will help you implement this (contact me off-list). So Alan, tell that &quo

Re: Control-D from 3270 ?

2009-05-04 Thread Edmund R. MacKenty
ot password, then it will give you a shell prompt. Once in that interactive root shell, you can issue the appropriate fsck commands to fix up your filesystems. You may also need to remount your root filesystem read-write, as another poster suggested. - MacK. - Edmund R. MacKenty Soft

Re: Control-D from 3270 ?

2009-05-04 Thread Edmund R. MacKenty
ust typing "exit". The CONTROL-D is just the Linux end-of-file character, and when you type that into an interactive shell it will terminate. The "exit" command does the same thing. - MacK. - Edmund R. MacKenty Software Architect Rocket Software 275 Grove Stree

Re: /etc/init.d start/stop scripts for DB2 MQ and Websphere

2009-04-30 Thread Edmund R. MacKenty
setup? That's what I use in my rc script. - MacK. - Edmund R. MacKenty Software Architect Rocket Software 275 Grove Street · Newton, MA 02466-2272 · USA Tel: +1.617.614.4321 Email: m...@rs.com Web: www.rocketsoftware.com --

Re: Stopping java based applications

2009-03-31 Thread Edmund R. MacKenty
xecute by user, execute by group, no access to anyone else). That script finds the correct PID then does its "kill -15" as root, which will send the SIGTERM to that process. - MacK. - Edmund R. MacKenty Software Architect Rocket So

Re: Read-Only Mdisk

2009-03-10 Thread Edmund R. MacKenty
ary? re-LINK? remount? Anyone know the >minimum necessary action to see changes? You should just never do this. Do not modify DASD while a Linux guest has it mounted read-only. There is no way you can know what parts of that DASD are cached and what is not. - MacK. - Edmund R.

Re: Read-Only Mdisk

2009-03-10 Thread Edmund R. MacKenty
cause it sets up shared DASD by default. Works just fine, because I tell both z/VM and Linux that the device is read-only. They both need to know about that. - MacK. - Edmund R. MacKenty Software Architect Rocket Software 275 Grove Street · Newton, MA 02466

Re: Sharing

2009-02-26 Thread Edmund R. MacKenty
ls /etc, all you see is the mtab which is really in /local/etc. So I don't see a problem here. I'm assuming that your /local/etc really does contain only mtab. You did not provide a listing of that directory. Do a "ls /local/etc" to see what is there. I'll bet it wil

Re: How to determine which lpar a linux guest is hosted on ?

2009-02-19 Thread Edmund R. MacKenty
to get the name of the LPAR that Linux guest is running in. - MacK. - Edmund R. MacKenty Software Architect Rocket Software 275 Grove Street · Newton, MA 02466-2272 · USA Tel: +1.617.614.4321 Email: m...@rs.com Web: www.ro

Re: Trouble with script to add ts1120 tape drives

2009-02-17 Thread Edmund R. MacKenty
ntTapes 3590) ts1120=$(CountTapes 3592) if [ "$ts1120" -eq 0 ] thenAddDevice 0402 500507630f594801 ... Actually, AddDevice() really should be checking to be sure the device appears in /proc/scsi/IBMtape, but I don't know the format of that file off-hand so I can&#

Re: Good editor for under the 3270 console interface

2009-01-28 Thread Edmund R. MacKenty
e all fullscreen editors. Actually, sed is a "script editor". The classic line editor is ed. And vi is the "visual editor". Why it wasn't called "ved", I don't know. :-) - MacK. - Edmund R. MacKenty Software Architect Rocket Software 275 G

Re: bash question.

2009-01-08 Thread Edmund R. MacKenty
the pipes as it is parsing the pipeline, before it parses the simple commands within the pipeline. I hope that makes sense! :-) - MacK. - Edmund R. MacKenty Software Architect Rocket Software 275 Grove Street · Newton

Re: Sles8 boot messages

2008-12-15 Thread Edmund R. MacKenty
7;t use plain old getty anymore. But then again, neither does RHEL. Both use mingetty. It sounds like the /etc/inittab is badly corrupted. Here's the /etc/inittab from a SLES 8 system. If you compare it to your broken one, you should be able to figure out what has been changed. - MacK

Re: Relocating /etc/passwd, shadow and group

2008-12-09 Thread Edmund R. MacKenty
ed filesystem. - MacK. - Edmund R. MacKenty Software Architect Rocket Software, Inc. Newton, MA USA -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] wit

Re: Keys and Fingerprints

2008-11-20 Thread Edmund R. MacKenty
hose hosts before. That's what my cloning tool does. - MacK. - Edmund R. MacKenty Software Architect Rocket Software, Inc. Newton, MA USA -- For LINUX-390 subscribe / signoff / archive access instructions, send em

Re: XML on zLinux

2008-11-18 Thread Edmund R. MacKenty
stener calling the Xalan-C library. Your XSLT stylesheet is the only custom part, and it would be the same for PERL or C XSLT daemons. Hit me up for more details if you want to. - MacK. - Edmund R. MacKenty Software Architect Rocket Software, Inc. Newton, MA USA -

Re: problems when running mksles9root.sh for SP4

2008-10-28 Thread Edmund R. MacKenty
ake more device nodes if your system doesn't have the max_loop thing. - MacK. - Edmund R. MacKenty Software Architect Rocket Software, Inc. Newton, MA USA -- For LINUX-390 subscribe / signoff / archive access instructi

Re: problems when running mksles9root.sh for SP4

2008-10-28 Thread Edmund R. MacKenty
t. Or, change max_loop and manually create the new device nodes you need if you want to avoid a reboot. This little loop will do the trick: n=8; while [ $n -lt 64 ]; do mknod /dev/loop$n b 7 $n; n=$((n+1)); done - MacK. - Edmund R. MacKenty Software Architect Rocket So

Re: problems when running mksles9root.sh for SP4

2008-10-28 Thread Edmund R. MacKenty
tach whatever is attached to a particular loopback device. Make sure it is unmounted and not needed before you detach it, though. - MacK. - Edmund R. MacKenty Software Architect Rocket Software, Inc. Newton, MA USA -- Fo

Re: Daylight Savings Time adjustment

2008-10-27 Thread Edmund R. MacKenty
nto /usr/share/zoneinfo. That should be available for Slackware by now. If not, you can get the sources for the zoneinfo files here: ftp://elsie.nci.nih.gov/pub. - MacK. ----- Edmund R. MacKenty Software Architect Rocket Software, Inc.

Re: The correct way to shutdown z/Linux Guest Softly

2008-10-20 Thread Edmund R. MacKenty
CPU you'll get. So the problem may not be that the Oracle shutdown sequence hasn't completed by the time CP logs your guest off. That might finish just fine, but unless your filesystems are sync'd and unmounted before the logoff, you haven't really saved the final state of the

Re: SSH Null Passphrase (originally Re: ZFS or LVM2 on Debian?)

2008-10-09 Thread Edmund R. MacKenty
/write, say, the U.S. Declaration of >Independence? Depends on what the block size of your parchment device is. It's been a while since I used such a device, but seem to I remember they have a variable block size that depended on both the skill of the writer and the quality of their

Re: Timestamp a command?

2008-09-23 Thread Edmund R. MacKenty
es the shell. vmstat 10 86040 | while read line; do echo "$(date) $line"; done > vmstat.out You could use "$(date +%F_%T)" if you want a sortable timestamp field. - MacK. - Edmund R. MacKenty Software Architect Rocket Software, Inc. Newton, MA USA --

Re: Weird application freeze problem

2008-09-15 Thread Edmund R. MacKenty
he VM TOD clock. - MacK. - Edmund R. MacKenty Software Architect Rocket Software, Inc. Newton, MA USA -- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message:

Re: Weird application freeze problem

2008-09-11 Thread Edmund R. MacKenty
d, it uses adjtime() to adjust the software clock as needed, ensuring that you don't jump backwards in time. To run it as a daemon, use a command such as: "sntp -x -a ntp.example.com /dev/null 2>&1 &". The undocumented -x option is what makes it run forever. Perhaps this

Re: NTP daemon problem (was: Weird application freeze problem)

2008-09-10 Thread Edmund R. MacKenty
On Wednesday 10 September 2008 12:27, Malcolm Beattie wrote: >Edmund R. MacKenty writes: >> Does anyone know of a Linux tool that would give more accurate information >> about process wake-ups? It would be nice to be able to profile Linux >> daemons like this and see which o

Re: Weird application freeze problem

2008-09-10 Thread Edmund R. MacKenty
! Apparently, the authors optimized it for low network traffic, but didn't care about wake-ups. - MacK. - Edmund R. MacKenty Software Architect Rocket Software, Inc. Newton, MA USA -- For LINUX-390 subscribe / signoff

NTP daemon problem (was: Weird application freeze problem)

2008-09-10 Thread Edmund R. MacKenty
hink most of the time it's just adjusting some counters and going back to sleep. Does anyone know of a Linux tool that would give more accurate information about process wake-ups? It would be nice to be able to profile Linux daemons like this and see which ones play nice in a VM environment,

Re: Weird application freeze problem

2008-09-09 Thread Edmund R. MacKenty
I have some time, I'll do some experiments on ntpd to see how often it really runs. - MacK. - Edmund R. MacKenty Software Architect Rocket Software, Inc. Newton, MA USA -- For LINUX-390 subscribe / signoff / a

  1   2   3   >