9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] tcp problem
@ 2008-05-21  8:58 lupin636
  2008-05-21  9:23 ` Steve Simon
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: lupin636 @ 2008-05-21  8:58 UTC (permalink / raw)
  To: 9fans

Hi all,
I can't connect my terminal to my fileserver, the error is:
boot: can't connect to file server: dial tcp!<ip file server>!564:
connection refused
panic: boot process died: unknown
panic: boot process died: unknown
dumpstack disabled
cpu0: exiting

thanks in advance for your attention.

armando.



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [9fans] tcp problem
  2008-05-21  8:58 [9fans] tcp problem lupin636
@ 2008-05-21  9:23 ` Steve Simon
  2008-05-21 12:01   ` a
  2008-05-23  8:36 ` lupin636
  2008-05-27  9:08 ` lupin636
  2 siblings, 1 reply; 8+ messages in thread
From: Steve Simon @ 2008-05-21  9:23 UTC (permalink / raw)
  To: 9fans

> boot: can't connect to file server: dial tcp!<ip file server>!564:
> connection refused

Is your fileserver listening for 9p connections?

try "netstat | grep 9fs" on the file server.

If this fails you probably need to add the line
"srv fossil" to your fossil config (using fossil/conf);
See fossil(1).

-Steve



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [9fans] tcp problem
  2008-05-21  9:23 ` Steve Simon
@ 2008-05-21 12:01   ` a
  0 siblings, 0 replies; 8+ messages in thread
From: a @ 2008-05-21 12:01 UTC (permalink / raw)
  To: 9fans

// If this fails you probably need to add the line
// "srv fossil" to your fossil config (using fossil/conf);
// See fossil(1).

I think "listen" and fossilcons(8) are more likely to be
helpful (although fossil(1) should get you there, if
indirectly).

Incidentally, I read the subject line as a declarative,
sort of an equivalency, and thought "couldn't agree
more; I want nonet back!). ☺

Anthony




^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [9fans] tcp problem
  2008-05-21  8:58 [9fans] tcp problem lupin636
  2008-05-21  9:23 ` Steve Simon
@ 2008-05-23  8:36 ` lupin636
  2008-05-23  9:50   ` Christian Kellermann
                     ` (2 more replies)
  2008-05-27  9:08 ` lupin636
  2 siblings, 3 replies; 8+ messages in thread
From: lupin636 @ 2008-05-23  8:36 UTC (permalink / raw)
  To: 9fans

On May 21, 11:26 am, st...@quintile.net (Steve Simon) wrote:
> > boot: can't connect to file server: dial tcp!<ip file server>!564:
> > connection refused
>
> Is your fileserver listening for 9p connections?
>
> try "netstat | grep 9fs" on the file server.
>
> If this fails you probably need to add the line
> "srv fossil" to your fossil config (using fossil/conf);
> See fossil(1).
>
> -Steve

thanks for your answer...
i tried "netstat | grep 9fs" on my file server but it failed, after i
did "fossil/conf /dev/sdC0/fossil" and it printed :
fsys main config /dev/sdC0/fossil
fsys main open -c 1500
fsys main snaptime -s 60 -a 0500 -t 2880;
 so i can see that the lines:
srv fossil
listen tcp!*!564
are missing, it's probably that i forgot to do something before,but i
don't know what....so how can i add that lines???
thanks,
armando



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [9fans] tcp problem
  2008-05-23  8:36 ` lupin636
@ 2008-05-23  9:50   ` Christian Kellermann
  2008-05-23 17:20   ` a
  2008-05-27  9:08   ` lupin636
  2 siblings, 0 replies; 8+ messages in thread
From: Christian Kellermann @ 2008-05-23  9:50 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

[-- Attachment #1: Type: text/plain, Size: 801 bytes --]

* lupin636@gmail.com <lupin636@gmail.com> [080523 10:47]:
> thanks for your answer...
> i tried "netstat | grep 9fs" on my file server but it failed, after i
> did "fossil/conf /dev/sdC0/fossil" and it printed :
> fsys main config /dev/sdC0/fossil
> fsys main open -c 1500
> fsys main snaptime -s 60 -a 0500 -t 2880;
>  so i can see that the lines:
> srv fossil
> listen tcp!*!564
> are missing, it's probably that i forgot to do something before,but i
> don't know what....so how can i add that lines???


> > See fossil(1).

basically pipe the output of fossil/conf to a file and then add the
lines and write that file back with fossil/conf -w.

Kind regards,

Christian

-- 
You may use my gpg key for replies:
pub  1024D/47F79788 2005/02/02 Christian Kellermann (C-Keen)

[-- Attachment #2: Type: application/pgp-signature, Size: 194 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [9fans] tcp problem
  2008-05-23  8:36 ` lupin636
  2008-05-23  9:50   ` Christian Kellermann
@ 2008-05-23 17:20   ` a
  2008-05-27  9:08   ` lupin636
  2 siblings, 0 replies; 8+ messages in thread
From: a @ 2008-05-23 17:20 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 366 bytes --]

in addition to Christian's response, note that if you have a
/srv/fscons file, you can 'con /srv/fscons' to get at an
interactive console where you can give the srv and listen
commands to test the effect without rebooting.

if it's not there, just make the change like Christian said
and estart fossil (which will involve rebooting if it's your
root fs).
a

[-- Attachment #2: Type: message/rfc822, Size: 2707 bytes --]

From: lupin636@gmail.com
To: 9fans@9fans.net
Subject: Re: [9fans] tcp problem
Date: Fri, 23 May 2008 08:36:14 GMT
Message-ID: <0cd7b9ef-e736-4cdd-8d21-80f9be2bf707@y21g2000hsf.googlegroups.com>

On May 21, 11:26 am, st...@quintile.net (Steve Simon) wrote:
> > boot: can't connect to file server: dial tcp!<ip file server>!564:
> > connection refused
>
> Is your fileserver listening for 9p connections?
>
> try "netstat | grep 9fs" on the file server.
>
> If this fails you probably need to add the line
> "srv fossil" to your fossil config (using fossil/conf);
> See fossil(1).
>
> -Steve

thanks for your answer...
i tried "netstat | grep 9fs" on my file server but it failed, after i
did "fossil/conf /dev/sdC0/fossil" and it printed :
fsys main config /dev/sdC0/fossil
fsys main open -c 1500
fsys main snaptime -s 60 -a 0500 -t 2880;
 so i can see that the lines:
srv fossil
listen tcp!*!564
are missing, it's probably that i forgot to do something before,but i
don't know what....so how can i add that lines???
thanks,
armando

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [9fans] tcp problem
  2008-05-21  8:58 [9fans] tcp problem lupin636
  2008-05-21  9:23 ` Steve Simon
  2008-05-23  8:36 ` lupin636
@ 2008-05-27  9:08 ` lupin636
  2 siblings, 0 replies; 8+ messages in thread
From: lupin636 @ 2008-05-27  9:08 UTC (permalink / raw)
  To: 9fans


> basically pipe the output of fossil/conf to a file and then add the
> lines and write that file back with fossil/conf -w.
>
> Kind regards,
>
> Christian

Thanks a lot, i resolved the "listen!*!564 problem" doing what you
told me, now i have the following error:

version...authentication failed (opening/mnt/factotum/pc: '/mnt/
factotum' does not exist), trying mount anyways
boot: mount /: fossil authCheck: auth protocol not finished
panic: boot process died: unknown
panic: boot process died: unknown

what is happening??
thanks,
Armando.



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [9fans] tcp problem
  2008-05-23  8:36 ` lupin636
  2008-05-23  9:50   ` Christian Kellermann
  2008-05-23 17:20   ` a
@ 2008-05-27  9:08   ` lupin636
  2 siblings, 0 replies; 8+ messages in thread
From: lupin636 @ 2008-05-27  9:08 UTC (permalink / raw)
  To: 9fans

On May 23, 7:27 pm, a...@9srv.net wrote:
> in addition to Christian's response, note that if you have a
> /srv/fscons file, you can 'con /srv/fscons' to get at an
> interactive console where you can give the srv and listen
> commands to test the effect without rebooting.
>
> if it's not there, just make the change like Christian said
> and estart fossil (which will involve rebooting if it's your
> root fs).

HI all,thanks for your responses,  i resolved the "listen problem" on
fossil config, just adding the lines you tell me, now i have the
following problem:
version...authentication failed (opening /mnt/factotum/rpc: '/mnt/
factotum' does not exist), tryind mount anyways
boot: mount /: fossil authCheck: auth protocol not finished
panic: boot process died: unknown
panic: boot process died: unknown
dumpstack disabled
cpu0: exiting

i don't understand why "/mnt/factotum" does not exist, because i have
it got, i can see it into the files.
thanks ij advance for your response.
bye,
armando.



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2008-05-27  9:08 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-21  8:58 [9fans] tcp problem lupin636
2008-05-21  9:23 ` Steve Simon
2008-05-21 12:01   ` a
2008-05-23  8:36 ` lupin636
2008-05-23  9:50   ` Christian Kellermann
2008-05-23 17:20   ` a
2008-05-27  9:08   ` lupin636
2008-05-27  9:08 ` lupin636

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).