[daip] lock
Lawrence Rudnick
larry at umn.edu
Tue Mar 24 14:12:55 EDT 2020
see later email. sorry for false alarms. it was tvserv
On 3/24/20 12:56 PM, Eric Greisen wrote:
> On 3/24/2020 9:54 AM, Lawrence Rudnick wrote:
>> i set the memory allocation but now getting errors about shared memory
>>
>> sudo sysctl.e
>> Password:
>> kern.sysv.shmmax: 16777216 -> 16777216
>> kern.sysv.shmall: 4096 -> 4096
>>
>> .......
>>
>> aips tv=local:0
>>
>> START_AIPS: Will start a new Unix Socket based TV
>> START_AIPS: Your initial AIPS printer is the (no description supplied
>> by installer)
>> START_AIPS: - system name Canon_MG6100_series__7A33352CC1BE, AIPS
>> type PS-CMYK
>>
>> START_AIPS: User data area assignments:
>> DADEVS.PL: This program is untested under Perl version 5.018
>> (Using global default file
>> /Users/larry/APPLICATIONS/AIPS/DA00/DADEVS.LIST for DADEVS.PL)
>> Disk 1 (1) is /Users/larry/bin/AIPS/DATA/LOCALHOST_1
>> Disk 2 (2) is /Users/larry/bin/AIPS/DATA/LOCALHOST_2
>> Disk 3 (3) is /Users/larry/bin/AIPS/DATA/LOCALHOST_4
>> Disk 4 (4) is /Users/larry/bin/AIPS/DATA/LOCALHOST_5
>> Disk 5 (5) is /Users/larry/bin/AIPS/DATA/LOCALHOST_3
>> /Users/larry/bin/AIPS/DATA/LOCALHOST_6 is currently
>> unavailable.
>>
>> Tape assignments:
>> Tape 1 is REMOTE
>> Tape 2 is REMOTE
>>
>> START_AIPS: Starting TV servers on localhost asynchronously
>> START_AIPS: - WITH Unix Sockets (new instance) as requested...
>> START_AIPS: Starting TPMON daemons on LOCALHOST asynchronously...
>> Starting up 31DEC19 AIPS with normal priority
>> Begin the one true AIPS number 2 (release of 31DEC19) at priority = 0
>> AIPS 1: ZDCHIN: NO NETSP ENTRY FOR DA03
>> AIPS 1: ZDCHIN: NO NETSP ENTRY FOR DA04
>> AIPS 2: You are not on a local TV device, welcome stranger
>> AIPS 2: You are assigned TV device/server 4
>> AIPS 2: You are assigned graphics device/server 4
>> AIPS 2: Enter user ID number
>> ?DADEVS.PL: This program is untested under Perl version 5.018
>> UNIXSERVERS: Start TV LOCK daemon TVSRV3 on localhost
>> TVSERVER: Starting AIPS TV locking, Unix (local) domain
>> UNIXSERVERS: Start XAS3 on localhost, DISPLAY
>> /private/tmp/com.apple.launchd.wksfDbU2E9/org.macosforge.xquartz:0
>> XAS: ** TrueColor FOUND!!!
>> XAS: *** Using shared memory option for speed ***
>> XAS: Using screen width 2550 height 1318,
>> max grey level 8191 in 16 grey-scale memories
>> Shared memory id failure: Cannot allocate memory
>>
>> On 3/23/20 8:40 PM, Lawrence Rudnick wrote:
>>> more info; i removed the LOK file but that didn't help.
>>>
>>> then i rebooted, but i had forgotten to reset shared memory, but
>>> then i fixed that and same problem
>>>
>>>
>>> /private/tmp
>>> (base) spa-larry-malka:tmp larry$ ls -al
>>> total 24
>>> drwxrwxrwt 18 root wheel 576 Mar 23 20:26 .
>>> drwxr-xr-x 6 root wheel 192 May 25 2019 ..
>>> drwxrwxrwt 2 root wheel 64 Mar 23 20:21 .ICE-unix
>>> -r--r--r-- 1 larry wheel 11 Mar 23 20:21 .X0-lock
>>> drwxrwxrwt 3 root wheel 96 Mar 23 20:21 .X11-unix
>>> drwxrwxrwt 2 root wheel 64 Mar 23 20:21 .font-unix
>>> -rw-rw-r-- 1 larry wheel 0 Mar 23 20:26 AIPS1.2377
>>> -rw-r--r-- 1 root wheel 0 Mar 23 20:13 AlTest1.err
>>> -rw-r--r-- 1 root wheel 0 Mar 23 20:13 AlTest1.out
>>> srwxr-xr-x 1 larry wheel 0 Mar 23 20:26
>>> MSS.1..private.tmp.com.apple.launchd.wksfDbU2E9.org.macosforge.xquartz
>>> -rw-rw-rw- 1 root wheel 5354 Mar 23 20:16 adobegc.log
>>> drwxrwxrwx 3 root wheel 96 Mar 23 20:13 boost_interprocess
>>> drwx------ 3 larry wheel 96 Mar 23 20:14
>>> com.apple.launchd.8KvIW79Xu2
>>> drwx------ 3 larry wheel 96 Mar 23 20:14
>>> com.apple.launchd.lNesAWmDKe
>>> drwx------ 3 larry wheel 96 Mar 23 20:14
>>> com.apple.launchd.wksfDbU2E9
>>> drwxr-xr-x@ 4 larry wheel 128 Mar 23 20:15 com.google.Keystone
>>> drwx------ 2 root wheel 64 Mar 23 20:13 cvcd
>>> drwxr-xr-x 2 root wheel 64 Mar 23 20:13 powerlog
>>>
>>> On 3/23/20 8:24 PM, Lawrence Rudnick wrote:
>>>> eg- i rebooted, but i forget how to recover from this, thx. mac
>>>> mojave
>>>>
>>>> lr
>>>>
>>>> >tvlo
>>>> AIPS 1: ZSSSO2 connect (UNIX), No such file or directory
>>>> AIPS 1: ZSSSOP: CHANNEL ASSIGN ERROR FOR LUN 9
>>>> AIPS 1: YTVOPN: TV OPEN ERROR 6
>>>> AIPS 1: TV OPEN ERROR 6
>>>>
> This is almost certainly the error you have been getting all along.
> The first stuff you sent is only AIPS finding out the XAS is not
> running. Your Mac must have updated its OS which wipes out
> /etc/sysctl.conf. You might have a copy of that file already in one
> of your directories. In which case "sudo cp sysctl.conf /etc"
> Otherwise consult the aips manager FAQ page (drag and drop does not
> work on my home computer). You will need to reboot after putting this
> file in /etc. the command "sysctl kern.sysv" will show you the
> current settings. Depending on how big your screen is you will need
> kern.sysv.shmmax to be 10485760 or even 16777216
>
> Eric
>
>
>
>
More information about the Daip
mailing list