[sharp-discuss] problem connecting to server

Clemens Vonrhein vonrhein at globalphasing.com
Mon Jul 30 16:21:11 BST 2007


Hi Eric,

the connecting via URL (localhost:8080 or klhlt:8080) is independent
of the error message you got through using

  % adm/bin/restart_server

The error is due to the maching having had one name (localhost) when
SHARP/autoSHARP was installed and another name now. The original
hostname (localhost) is stored in various places during installation:
e.g.

  $BDG_home/.bdgrc
  $BDG_home/sushi/httpd.setup
  $BDG_home/sushi/conf/httpd*.conf

You _could_ change all those files (hoping you didn't miss one). Or
install afresh with the 'correct' (?) hostname of your machine?

Cheers

Clemens

On Mon, Jul 30, 2007 at 04:03:24PM +0100, Eric Tee wrote:
> Hi Clemens,
> I can connect to the server right after installation when i type "firefox
> localhost:8080" but not after rebooting my machine. The got "klhlt" (which
> is the machine name) in return when I type hostname -s now. Does it mean the
> machine has changed identity?
> 
> Eric
> 
> On 7/30/07, Clemens Vonrhein <vonrhein at globalphasing.com> wrote:
> >
> > Hi Eric,
> >
> > from the error message, it seems as if your machine has changed
> > 'identity' and is now called 'localhost'. Was it perhaps connected to
> > a network before (getting some hostname through DHCP e.g.)?
> >
> > What does
> >
> >   % hostname -s
> >
> > return now? And what were the previous settings:
> >
> >   % grep  SUSHI_server=$BDG_home/.bdgrc
> >
> > Cheers
> >
> > Clemens
> >
> > On Mon, Jul 30, 2007 at 02:33:21PM +0100, Eric Tee wrote:
> > > hi
> > > I just installed autosharp on my fc6 machine. It worked for the first
> > time
> > > before logging out. After I restarted my machine, I got the following
> > error
> > > message when I typed adm/bin/server_restart SHARP.
> > >
> > >  ERROR : You must run this script on localhost (remember
> > >          that a machine is usually identified by the output
> > >          of the "hostname -s" command)
> > >
> > > Maybe I miss something in connecting to the server. Can you point me out
> > how
> > > to rectify this problem? Thx.
> > >
> > > Eric
> >
> > > _______________________________________________
> > > sharp-discuss mailing list
> > > sharp-discuss at globalphasing.com
> > > https://www.globalphasing.com/mailman/listinfo/sharp-discuss
> >
> >
> > --
> >
> > ***************************************************************
> > * Clemens Vonrhein, Ph.D.     vonrhein AT GlobalPhasing DOT com
> > *
> > *  Global Phasing Ltd.
> > *  Sheraton House, Castle Park
> > *  Cambridge CB3 0AX, UK
> > *--------------------------------------------------------------
> > * BUSTER Development Group      (http://www.globalphasing.com)
> > ***************************************************************
> >

> _______________________________________________
> sharp-discuss mailing list
> sharp-discuss at globalphasing.com
> https://www.globalphasing.com/mailman/listinfo/sharp-discuss


-- 

***************************************************************
* Clemens Vonrhein, Ph.D.     vonrhein AT GlobalPhasing DOT com
*
*  Global Phasing Ltd.
*  Sheraton House, Castle Park 
*  Cambridge CB3 0AX, UK
*--------------------------------------------------------------
* BUSTER Development Group      (http://www.globalphasing.com)
***************************************************************



More information about the sharp-discuss mailing list