[Xitami] Suspend

Ewen McNeill xitami@lists.xitami.org
Wed, 05 Sep 2001 22:45:59 +1200


In message <001501c135ed$a4e11420$86919fc1@ednic>, Joubin Far writes:
>I didnīt install IIS-Server but i have installed Visual Studio.net Beta 2.

Ah, that's possibly installed a webserver as part of its test environment.

>[netstat -na shows]
>TCP        0.0.0.0:21       0.0.0.0       heard
>TCP        0.0.0.0:25       0.0.0.0       heard
>TCP        0.0.0.0:80       0.0.0.0       heard

The :80 one is the important one; it's the webserver port (by common
convention).  So you've definitely got _something_ which is running as a
webserver.  (And also a FTP server, and also a mail server.)

I believe there are some third party programs which can tell you for a
given network port, or file, which programs have it open, but off hand I
don't know of any of them.  (Under linux/unix there is "lsof" (list open
files) which does this; I'm pretty sure there's a Windows equivilent.)

Failing that, there's two possiblities: 
1.  Looking in the list of running services and applications (in the
    task manager) for likely suspects, and try to figure out which one
    it is.  Anything "information server" or "web server" like is a
    possibility.  You could try stopping the likely suspects one at a
    time until you figure out which one it is takes away the ":80"
    reference in netstat -na.

2.  You could try connecting to the webserver, with, eg, telnet and see
    if it'll tell you anything about itself.  Eg:

    telnet 127.0.0.1 80

    GET / HTTP/1.0

    (and press return twice)  Often there'll be some sort of Server:
    line that identifies it, and you might be able to match this up with
    some program running on your system.

>>All Xitami's ports can be shifted with the portbase option: eg 
>>"xitami -b 5000" will move all the ports up by 5000, giving 5080 for HTTP
>
>By cmd W2K i couldnīt execute "xitami -b 5000" because there isnīt
>xitami.exe and if i have done with Xiwin32.exe -b 5000

Yup, that was what I meant.  (The name of xitami varies depending on
which build you have (console, gui window version, NT service, etc), but
we usually just say "xitami" when we suggest running it.)

Unfortunately it seems that version of Xitami doesn't check for command
line paramters.  In which case you'll need to create a defaults.cfg file
(if you don't already have one; add this to the end if you do) which
says:

[server]
  portbase=5000

For the builds that support it the "-b" paramter does the same thing for
a single run.

Ewen

-- 
Ewen McNeill, Technical Consultant, iMatix Corporation  www.imatix.com