<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body style='font-size: 10pt; font-family: "Book Antiqua",Palatino,serif'>
<p>Dear Eric,</p>
<div>
<p class="p1"><span class="s1">My current sysctl kern.sysv gives</span></p>
<p class="p1"><span class="s1">kern.sysv.shmmax: 4194304</span></p>
<p class="p1"><span class="s1">kern.sysv.shmmin: 1</span></p>
<p class="p1"><span class="s1">kern.sysv.shmmni: 32</span></p>
<p class="p1"><span class="s1">kern.sysv.shmseg: 8</span></p>
<p class="p1"><span class="s1">kern.sysv.shmall: 1024</span></p>
<p class="p1"><span class="s1">kern.sysv.semmni: 87381</span></p>
<p class="p1"><span class="s1">kern.sysv.semmns: 87381</span></p>
<p class="p1"><span class="s1">kern.sysv.semmnu: 87381</span></p>
<p class="p1"><span class="s1">kern.sysv.semmsl: 87381</span></p>
<p class="p1"><span class="s1">kern.sysv.semume: 10</span></p>
<p>I tried to modify sysctl.conf with the values you mentioned. But it's not changing even after rebooting.</p>
<p>Note that I don't have /Previous.</p>
I wrote down bellow my full input AIPS command and output messages that may help to trace the problem. </div>
<div>--------------------------------------------------------------------------</div>
<div>
<p class="m_403798537260939985gmail-p1"><span class="m_403798537260939985gmail-s1">MacBookPro-Suvendu-3:Radio_images rakshit$ aips tv=local</span></p>
START_AIPS: Will use or start first available Unix Socket based TV<br />START_AIPS: Your initial AIPS printer is the <br />START_AIPS: - system name , AIPS type<br />START_AIPS: User data area assignments:</div>
<div><a href="http://dadevs.pl/" target="_blank" data-saferedirecturl="https://www.google.com/url?hl=en&q=http://DADEVS.PL&source=gmail&ust=1481822730317000&usg=AFQjCNEGAgrkmjcdO5vI0vaJO7zc7gR6IA">DADEVS.PL</a>: This program is untested under Perl version 5.018<br /> (Using global default file /Users/rakshit/aips/DA00/DADEVS.LIST for <a href="http://dadevs.pl/" target="_blank" data-saferedirecturl="https://www.google.com/url?hl=en&q=http://DADEVS.PL&source=gmail&ust=1481822730317000&usg=AFQjCNEGAgrkmjcdO5vI0vaJO7zc7gR6IA">DADEVS.PL</a>)<br /> Disk 1 (1) is /Users/rakshit/aips/DATA/LOCALHOST_1<br />Tape assignments: <br />Tape 1 is REMOTE<br />Tape 2 is REMOTE<br /><br />START_AIPS: Starting TV servers on localhost asynchronously<br />START_AIPS: - WITH Unix Sockets as requested...<br />START_AIPS: Starting TPMON daemons on LOCALHOST asynchronously...<br />Starting up 31DEC16 AIPS with normal priority<br />Begin the one true AIPS number 1 (release of 31DEC16) at priority = 0 <br />AIPS 1: You are not on a local TV device, welcome stranger<br />AIPS 1: You are assigned TV device/server 3<br />AIPS 1: You are assigned graphics device/server 3<br />AIPS 1: Enter user ID number<br /><br />?<a href="http://dadevs.pl/" target="_blank" data-saferedirecturl="https://www.google.com/url?hl=en&q=http://DADEVS.PL&source=gmail&ust=1481822730317000&usg=AFQjCNEGAgrkmjcdO5vI0vaJO7zc7gR6IA">DADEVS.PL</a>: This program is untested under Perl version 5.018<br />UNIXSERVERS: Start TV LOCK daemon TVSRV2 on localhost<br />TVSERVER: Starting AIPS TV locking, Unix (local) domain<br />UNIXSERVERS: Start XAS2 on localhost, DISPLAY :0<br />XAS: ** TrueColor FOUND!!! <br />XAS: *** Using shared memory option for speed ***<br />XAS: Using screen width 3350 height 980,<br />max grey level 8191 in 16 grey-scale memories<br />Shared memory id failure: Invalid argument<br />UNIXSERVERS: Start graphics server TKSRV2 on localhost, display :0<br />STARTPMON: [LOCALHOST] Starting TPMON1 with output SUPPRESSED<br />ZVTPO3: tcp/aipsmt0 is not a service<br />ZVTPO3: check /etc/services or NIS map!<br />UNIXSERVERS: Start message server MSSRV2 on localhost, display :0<br />AIPS 1: Enter user ID number<br />?12<br /><br />AIPS 1: 31DEC16 AIPS:<br />AIPS 1: Copyright (C) 1995-2016 Associated Universities, Inc.<br />AIPS 1: AIPS comes with ABSOLUTELY NO WARRANTY;<br />AIPS 1: for details, type HELP GNUGPL<br />AIPS 1: This is free software, and you are welcome to redistribute it<br />AIPS 1: under certain conditions; type EXPLAIN GNUGPL for details.<br />AIPS 1: Previous session command-line history *not* recovered.<br />AIPS 1: TAB-key completions enabled, type HELP READLINE for details.<br />AIPS 1: Loading a brand new POPS vocabulary<br /><br /></div>
<div>>task 'FITLD'<br />>datain 'INDATA:BBB.FITS'<br />>go<br />AIPS 1: Resumes<br />>mc<br />AIPS 1: Catalog on disk 1<br />AIPS 1: Cat Usid Mapname Class Seq Pt Last access Stat<br />AIPS 1: 1 12 13390+48304F.COADD . 1 MA 14-DEC-16 12:01:42<br />>tvinit<br />AIPS 1: ZSSSO2 connect (UNIX), No such file or directory<br />AIPS 1: ZSSSOP: CHANNEL ASSIGN ERROR FOR LUN 9<br />AIPS 1: YTVOPN: TV OPEN ERROR 6<br />AIPS 1: TV OPEN ERROR 6</div>
<p>---------------------------------------------------------------------</p>
<p>Please let me know how to proceed.</p>
<p> </p>
<p>with regards,</p>
<p>Suvendu</p>
<p> </p>
<p> </p>
<p> </p>
<p>On 2016-12-14 21:08, Eric Greisen wrote:</p>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<pre>On 12/13/2016 11:40 PM, suvendu.rakshit wrote:</pre>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px">Dear Aips support, I am running AIPS (version 31DEC16) on a Macbook OS X EI Captian (version 10.11.2) machine. I can load files in AIPS using task FITLD but I am facing some problem with "tvinit" and "tvlod" command. If I type "tvinit" I found the following messages: 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 Could you please tell me how to solve this problem?</blockquote>
<pre>I can try but you have not given me the important information. This simply says that there is no TV. There are messages that appear after you enter the "aips" command that say what is happening with the TV and other servers. I need to see them. As a not-so-wild guess I would suspect that there is a shared memory failure. I attach the instructions from the AIPS Manager FAQ:
On the latest "leopard", "snow leopard", "lion", "mountain lion", and "yosemite" (X 10.5-10.10) systems, /etc/rc is gone and creating it will have no effect. You need to create an /etc/sysctl.conf file and put the values in it,
kern.sysv.shmmax=10485760
kern.sysv.shmmin=1
kern.sysv.shmmni=32
kern.sysv.shmseg=8
kern.sysv.shmall=4096
You should use the values you had when you were running tiger. Those could be in /Previous\ System/etc/rc, assuming you have "Previous System". So three different OS upgrades and three different ways to adjust the default shared memory. Note: You will need to reboot the system for the change in shared memory to take place. You can check if the shared memory changes happened by typing "sysctl kern.sysv" in a terminal or xterm window. Look for the kern.sysv.shm* values. If the values have not changed, make sure you haven't inadvertently left in "sysctl -w" in the /etc/sysctl.conf file or mis-typed one of the values. If the /etc/sysctl.conf file is not properly formatted, or shmmax is not an integer multiple of shmall, the shared memory will not be adjusted after the reboot.
Eric Greisen
</pre>
</blockquote>
<p> </p>
<div> </div>
</body></html>