Hi Jeff,

The info is posted below.  The strangest thing happened though,
something must have been blocking the process from executing further.
When I woke up this morning and checked, I saw additional output from
the server process saying that it had opened up a log file, etc.  I
then checked connectivity from the localhost and all was well.
Pressing Ctrl-C while it is running will cause the server to terminate
normally.  After restarting the server, it again seemed to hang for a
(what would sure again be) long period of time.  Pressing Ctrl-C at
this point multiple times would simply yield:


**************************************************
*                                                *
* Open your web browser to http://localhost:8000 *
*                                                *
**************************************************

^Cselect() error: Interrupted system call
^Cselect() error: Interrupted system call
^Cselect() error: Interrupted system call
^Cselect() error: Interrupted system call




The normal output, which eventually occurred after some hours, is the following:



**************************************************
*                                                *
* Open your web browser to http://localhost:8000 *
*                                                *
**************************************************
2009-04-30 06:21:57-0700 [-] Log opened.
2009-04-30 06:21:57-0700 [-] twistd 8.1.0 (/opt/sage/local/bin/python
2.5.2) starting up
2009-04-30 06:21:57-0700 [-] reactor class: <class
'twisted.internet.selectreactor.SelectReactor'>
2009-04-30 06:21:57-0700 [-] twisted.web2.channel.http.HTTPFactory
starting on 8000
2009-04-30 06:21:57-0700 [-] Starting factory
<twisted.web2.channel.http.HTTPFactory instance at 0xb89836c>
xprop:  unable to open display ''
usage:  xprop [-options ...] [[format [dformat]] atom] ...

where options include:
    -grammar                       print out full grammar for command line
    -display host:dpy              the X server to contact
    -id id                         resource id of window to examine
    -name name                     name of window to examine
    -font name                     name of font to examine
    -remove propname               remove a property
    -set propname value            set a property to a given value
    -root                          examine the root window
    -len n                         display at most n bytes of any property
    -notype                        do not display the type field
    -fs filename                   where to look for formats for properties
    -frame                         don't ignore window manager frames
    -f propname format [dformat]   formats to use for property of given name
    -spy                           examine window properties forever

Error: no display specified
/usr/bin/xdg-open: line 372: mozilla: command not found
/usr/bin/xdg-open: line 372: netscape: command not found
xdg-open  no method available for opening
'http://localhost:8000/?startup_token=3f551e6ee2124c6e5dd9a8870cc8d3f9'

q^C2009-04-30 09:40:37-0700 [-] Saving notebook...
2009-04-30 09:40:37-0700 [-] Notebook cleanly saved.
2009-04-30 09:40:37-0700 [-] Saving notebook...
2009-04-30 09:40:37-0700 [-] Notebook cleanly saved.
2009-04-30 09:40:37-0700 [-] (Port 8000 Closed)
2009-04-30 09:40:37-0700 [-] Stopping factory
<twisted.web2.channel.http.HTTPFactory instance at 0xb89836c>
2009-04-30 09:40:37-0700 [-] Main loop terminated.
2009-04-30 09:40:37-0700 [-] Server Shut Down.
True





Here is the zone information:



# zonecfg -z solsage info
zonename: solsage
zonepath: /export/home/solsage
brand: native
autoboot: true
bootargs:
pool:
limitpriv:
scheduling-class:
ip-type: shared
hostid:
inherit-pkg-dir:
        dir: /lib
inherit-pkg-dir:
        dir: /platform
inherit-pkg-dir:
        dir: /sbin
inherit-pkg-dir:
        dir: /usr
net:
        address: 192.168.5.36
        physical: nge0
        defrouter not specified
device:
        match: /dev/sound/*


-------------

bash-3.2#  ifconfig -a
lo0:3: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL>
mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000
nge0:3: flags=201000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4,CoS> mtu
1500 index 2
        inet 192.168.5.36 netmask ffffff00 broadcast 192.168.5.255
lo0:3: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL>
mtu 8252 index 1
        inet6 ::1/128


Thank you,





Brandon Barker
Phone: (607) 262-6009
brandon.bar...@gmail.com
http://brandon.barker.googlepages.com/home



On Thu, Apr 30, 2009 at 9:49 AM, Jeff Victor <jeff.vic...@sun.com> wrote:
> Hi Brandon,
>
> Would you send us the output of these commands:
>
> from the global zone:
> #  zonecfg -z solsage info
>
> from the zone:
> #  ifconfig -a
>
> Brandon Barker wrote:
>>
>> Hello,
>>
>> I set up a sparse zone on the system version below:
>>
>> bash-3.2# uname -a
>> SunOS solsage 5.11 snv_109 i86pc i386 i86pc
>>
>> I then tried to run a server application in the zone on port 8000, and
>> after being unable to connect (including even locally connect), I looked at
>> the netstat output from within the zone (there is none):
>>
>> bash-3.2# netstat -an
>> bash-3.2#
>>
>> >From the global zone, the only entry that shows up is the terminal
>> connection:
>>
>> # netstat -an | grep solsage
>> ffffff035db0b860 stream-ord ffffff055319f700 0000000
>> /var/run/zones/solsage.console_sock                #
>> The server application is running in the foreground and not giving me any
>> hints of anything going amiss (its a fairly widely used application,
>> sagemath.org's notebook server).
>>
>> Any suggestions on where to look from here?
>>
>> Appreciatively,
>> Brandon
>>
>
_______________________________________________
sysadmin-discuss mailing list
sysadmin-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/sysadmin-discuss

Reply via email to