[daip] Fwd: Mac xas problem

Wes Young wyoung at nrao.edu
Mon Nov 20 07:39:06 EST 2006


Begin forwarded message:

> From: John Cannon <cannon at astro.wesleyan.edu>
> Date: 20 November 2006 12:26:07 GMT
> To: Wes Young <wyoung at aoc.nrao.edu>
> Subject: Re: Mac xas problem
>
> Hi again Wes,
>
> I have set the firewall options as described in http:// 
> www.aoc.nrao.edu/aips/aipsmgr/index.html.  I then rebooted, and  
> started AIPS, receiving the same error messages as last time.  The  
> following two screen capture show these settings in System  
> Preferences -> Sharing -> Firewall:
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: screen1.jpg
Type: application/applefile
Size: 102929 bytes
Desc: not available
URL: <http://listmgr.nrao.edu/pipermail/daip/attachments/20061120/aa211414/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: screen1.jpg
Type: image/jpeg
Size: 277009 bytes
Desc: not available
URL: <http://listmgr.nrao.edu/pipermail/daip/attachments/20061120/aa211414/attachment.jpg>
-------------- next part --------------
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: screen2.jpg
Type: application/applefile
Size: 106834 bytes
Desc: not available
URL: <http://listmgr.nrao.edu/pipermail/daip/attachments/20061120/aa211414/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: screen2.jpg
Type: image/jpeg
Size: 791469 bytes
Desc: not available
URL: <http://listmgr.nrao.edu/pipermail/daip/attachments/20061120/aa211414/attachment-0001.jpg>
-------------- next part --------------
>
> Does this mean that I have to configure my desktop AIPS  
> installation as a laptop installation?  If so, are there different  
> installation instructions for this?
>
> Thanks,
> John
>
> On Nov 19, 2006, at 12:25 PM, Wes Young wrote:
>
>> Once you reset the firewall did you try it again? If not you  
>> should and we'll see. In principle this shouldn't matter, but...
>>
>> wes
>> wyoung at aoc.nrao.edu
>>
>>
>> On 19 Nov 2006, at 17:12, John Cannon wrote:
>>
>>> Hi Wes,
>>>
>>> Thanks for your help; I know that most people shouldn't be around  
>>> on Sundays...
>>>
>>> The section you refer to on http://www.aoc.nrao.edu/aips/aipsmgr/ 
>>> index.html reads:
>>> My Mac will not do TV displays from a compute server
>>> Macs usually run a firewall that blocks outside access to most  
>>> numbered ports. Traditionally AIPS uses ports 5000, 5002, and  
>>> 5008 - 5010+NTAPE to let other AIPS computers talk to the local  
>>> TV, message, TEK, and tape servers. To open these ports:
>>>
>>> Open the "Sharing" folder in the "System Preferences" utility.
>>> Click on "Firewall" and when it comes up click on "New".
>>> Select Port Name "Other" and type in both the TCP and UDP Port  
>>> Numbers "5000-5017".
>>> Give it a name in the "Description" field, for example "aips".
>>> Click "OK".
>>>
>>> I have done these steps:
>>> 	- Port name is chosen as "Other"
>>> 	- TCP Port Number(s): 5000-5017
>>> 	- UDP Port Number(s): 5000-5017
>>> 	- Description: aips
>>>
>>> I will have our I.T. Mac specialist look at this as well.
>>>
>>> Thanks again,
>>> John
>>>
>>> On Nov 19, 2006, at 12:11 PM, Wes Young wrote:
>>>
>>>> John,
>>>>
>>>> There are more things on that page, well if you can get to it  
>>>> which I can't right now.  Go to http://www.aoc.nrao.edu/aips/ 
>>>> aipsmgr/index.html.  There's a section on "My Mac will not do TV  
>>>> displays from a computer server".  Just follow those  
>>>> instructions and we can hope it's that, otherwise, you have to  
>>>> configure AIPS to run on a laptop even if it isn't.  If that  
>>>> fails, then I'll try a test installation on my mac and see if I  
>>>> can replicate your problem.
>>>>
>>>> btw, I'm in Oxford England (my wife is on sabbatical), and will  
>>>> have to to tend to evening duties with the family shortly
>>>>
>>>> wes
>>>> wyoung at aoc.nrao.edu
>>>>
>>>>
>>>> On 19 Nov 2006, at 16:48, John Cannon wrote:
>>>>
>>>>> I followed the instructions as best I could; looking back over  
>>>>> them, there are no instructions to check firewall ports.  From  
>>>>> the page http://www.nrao.edu/aips/aipsmgr/ I find that System  
>>>>> Preferences -> Sharing should be edited, adding a "New" port  
>>>>> with TCP and UDP port numbers set to 5000-5017, then calling it  
>>>>> "aips".  I have done this, rebooted, but still get the same  
>>>>> error message.
>>>>>
>>>>> On Nov 19, 2006, at 11:39 AM, Wes Young wrote:
>>>>>
>>>>>> Good.  This may sound silly but did you open up the firewall  
>>>>>> ports on the mac as specified?
>>>>>> wes
>>>>>> wyoung at aoc.nrao.edu
>>>>>>
>>>>>>
>>>>>> On 19 Nov 2006, at 16:29, John Cannon wrote:
>>>>>>
>>>>>>> Hi Wes,
>>>>>>>
>>>>>>> Indeed, increasing shmmax to 16777216 eliminated the first  
>>>>>>> error I noted below.  Unfortunately, the second persists  
>>>>>>> (message & TV servers).  Here is what I get when starting up  
>>>>>>> AIPS (again I have highlighted in red the apparently  
>>>>>>> erroneous messages that I get):
>>>>>>>
>>>>>>> Hawkeye <33> aips
>>>>>>> START_AIPS: Your initial AIPS printer is the VVO Computer Lab
>>>>>>> START_AIPS:  - system name mcx_3, AIPS type PS
>>>>>>> START_AIPS: User data area assignments:
>>>>>>>   (Using global default file /Volumes/MyData/myApplications/ 
>>>>>>> DA00/DADEVS.LIST for DADEVS.PL)
>>>>>>>    Disk 1 (1) is /Volumes/MyData/HAWKEYE_1
>>>>>>>
>>>>>>> Tape assignments:
>>>>>>>    Tape 1 is REMOTE
>>>>>>>    Tape 2 is REMOTE
>>>>>>> START_AIPS: I am GUESSING you are at a workstation called  
>>>>>>> hawkeye
>>>>>>> START_AIPS: Starting TV servers on hawkeye asynchronously
>>>>>>> START_AIPS:  - with Internet Sockets...
>>>>>>> START_AIPS: Starting TPMON daemons on HAWKEYE asynchronously...
>>>>>>> Starting up 31DEC06 AIPS with normal priority
>>>>>>> Begin the one true AIPS number 1 (release of 31DEC06) at  
>>>>>>> priority =   0
>>>>>>> AIPS 1: You are assigned TV device/server   1
>>>>>>> AIPS 1: You are assigned graphics device/server   1
>>>>>>> AIPS 1: Enter user ID number
>>>>>>> XASERVERS: Start TV LOCK daemon TVSERV on hawkeye
>>>>>>> XASERVERS: Start XAS on hawkeye, DISPLAY :0
>>>>>>> XASERVERS: Start graphics server TEKSRV on hawkeye, DISPLAY :0
>>>>>>> XAS: ** TrueColor FOUND!!!
>>>>>>> ?XASERVERS: Start message server MSGSRV on hawkeye, DISPLAY :0
>>>>>>> XAS: ***  Using shared memory option for speed ***
>>>>>>> XAS: Using screen width height 1910 1100, max grey level 255
>>>>>>> TVSERVER: Starting AIPS TV locking, Inet domain
>>>>>>> STARTPMON: [HAWKEYE] Starting TPMON1 with output SUPPRESSED
>>>>>>> 2419
>>>>>>> AIPS 1:                          31DEC06 AIPS:
>>>>>>> AIPS 1:      Copyright (C) 1995-2006 Associated Universities,  
>>>>>>> Inc.
>>>>>>> AIPS 1:            AIPS comes with ABSOLUTELY NO WARRANTY;
>>>>>>> AIPS 1:                 for details, type HELP GNUGPL
>>>>>>> AIPS 1: This is free software, and you are welcome to  
>>>>>>> redistribute it
>>>>>>> AIPS 1: under certain conditions; type EXPLAIN GNUGPL for  
>>>>>>> details.
>>>>>>> AIPS 1: Previous session command-line history recovered.
>>>>>>> AIPS 1: TAB-key completions enabled, type HELP READLINE for  
>>>>>>> details.
>>>>>>> AIPS 1: Recovered POPS environment from last exit
>>>>>>> >mc
>>>>>>> AIPS 1: Catalog on disk  1
>>>>>>> AIPS 1:  Cat Usid Mapname      Class   Seq  Pt     Last  
>>>>>>> access      Stat
>>>>>>> AIPS 1:    1 2419 N6822       .IRAC1 .    1 MA 14-NOV-2006  
>>>>>>> 13:01:09
>>>>>>> >mc
>>>>>>> AIPS 1: Catalog on disk  1
>>>>>>> AIPS 1:  Cat Usid Mapname      Class   Seq  Pt     Last  
>>>>>>> access      Stat
>>>>>>> AIPS 1:    1 2419 N6822       .IRAC1 .    1 MA 14-NOV-2006  
>>>>>>> 13:01:09
>>>>>>> >getn 1
>>>>>>> AIPS 1: Got(1)   disk= 1  user=2419   type=MA   N6822.IRAC1.1
>>>>>>> >tvall
>>>>>>> ZSSSL2: hawkeye: UNKNOWN HOST
>>>>>>> AIPS 1: ZSSSLK: ERROR   2 ON LOCK
>>>>>>> AIPS 1: ON LOCK ERROR    6 FROM ZSSSLK
>>>>>>> AIPS 1: YTVOPN: TV LOCK OPEN ERROR      6
>>>>>>> AIPS 1: TV OPEN ERROR      6
>>>>>>>
>>>>>>>
>>>>>>> Further suggestions?  Thanks alot,
>>>>>>> John
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Nov 19, 2006, at 11:11 AM, Wes Young wrote:
>>>>>>>
>>>>>>>> Try pushing the shmmax to 16777216, you'll have to reboot.
>>>>>>>>
>>>>>>>> wes
>>>>>>>> wyoung at aoc.nrao.edu
>>>>>>>>
>>>>>>>>
>>>>>>>> On 19 Nov 2006, at 15:57, John Cannon wrote:
>>>>>>>>
>>>>>>>>> Hi,
>>>>>>>>>
>>>>>>>>> Thanks for looking into this.  The shared memory appears to  
>>>>>>>>> be set correctly:
>>>>>>>>>
>>>>>>>>> Hawkeye <1> sysctl kern.sysv
>>>>>>>>> kern.sysv.shmmax: 10485760
>>>>>>>>> kern.sysv.shmmin: 1
>>>>>>>>> kern.sysv.shmmni: 32
>>>>>>>>> kern.sysv.shmseg: 8
>>>>>>>>> kern.sysv.shmall: 4096
>>>>>>>>> kern.sysv.semmni: 87381
>>>>>>>>> kern.sysv.semmns: 87381
>>>>>>>>> kern.sysv.semmnu: 87381
>>>>>>>>> kern.sysv.semmsl: 87381
>>>>>>>>> kern.sysv.semume: 10
>>>>>>>>>
>>>>>>>>> Further suggestions?  Best wishes,
>>>>>>>>> John
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Nov 19, 2006, at 4:20 AM, Wes Young wrote:
>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>> John,
>>>>>>>>>>
>>>>>>>>>> Let's try to tackle the shared memory problem first. First  
>>>>>>>>>> check that your shared memory changes took place on a  
>>>>>>>>>> terminal window do
>>>>>>>>>>
>>>>>>>>>> sysctl kern.sysv
>>>>>>>>>>
>>>>>>>>>> and make sure the results are what you set.
>>>>>>>>>>
>>>>>>>>>>> Thus, the startup seems normal, except for the memory  
>>>>>>>>>>> problem noted
>>>>>>>>>>> for Macs.  I have a 23 inch screen;  I have thus edited the
>>>>>>>>>>> applicable line in /etc/rc to read:
>>>>>>>>>>> sysctl -w kern.sysv.shmmax=10485760 kern.sysv.shmmin=1
>>>>>>>>>>> kern.sysv.shmmni=32 kern.sysv.shmseg=8 kern.sysv.shmall=4096
>>>>>>>>>>>
>>>>>>>>>>> This does not seem to fix the problem (even after system  
>>>>>>>>>>> reboot).
>>>>>>>>>>
>>>>>>>>>> wes
>>>>>>>>>> wyoung at aoc.nrao.edu
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> ------------------------------------------
>>>>>>>>> John M. Cannon
>>>>>>>>> Wesleyan University
>>>>>>>>> cannon at astro.wesleyan.edu
>>>>>>>>> ------------------------------------------
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>> ------------------------------------------
>>>>>>> John M. Cannon
>>>>>>> Wesleyan University
>>>>>>> cannon at astro.wesleyan.edu
>>>>>>> ------------------------------------------
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>> ------------------------------------------
>>>>> John M. Cannon
>>>>> Wesleyan University
>>>>> cannon at astro.wesleyan.edu
>>>>> ------------------------------------------
>>>>>
>>>>>
>>>>
>>>
>>> ------------------------------------------
>>> John M. Cannon
>>> Wesleyan University
>>> cannon at astro.wesleyan.edu
>>> ------------------------------------------
>>>
>>>
>>>
>>>
>>>
>>
>
> ------------------------------------------
> John M. Cannon
> Wesleyan University
> cannon at astro.wesleyan.edu
> ------------------------------------------
>
>



More information about the Daip mailing list