net/netatalk afpd causes abort on amd64?

2011-08-08 Thread Kouichiro Iwao
Hi. After upgraded to current portversion of netatalk, 
I cannot start netatalk. I do rc.d/netatalk start then afpd
fails SIGABRT. On i386 freebsd, netatalk/afpd works fine.
Any solutions to use netatalk on amd64?

pid 19160 (afpd), uid 0: exited on signal 6 (core dumped)
pid 19175 (afpd), uid 0: exited on signal 6 (core dumped)
pid 19188 (afpd), uid 0: exited on signal 6 (core dumped)

-- 
kiwao 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: allBSD Japan servers ?

2011-04-04 Thread Kouichiro Iwao
Excuse me, I cannot say anything helpful about IPv6 connection. I'm not an
insider of allbsd.org, the administrator just informed me of recovery.
Why don't you ask the administrator (ad...@allbsd.org)?

On Mon, Apr 04, 2011 at 08:20:28PM +0100, Bruce Cran wrote:
> On Tue, 5 Apr 2011 03:41:52 +0900
> Kouichiro Iwao  wrote:
> 
> > It have been recovered from hardware failure on Mar 28th.
> 
> There's something strange going on with IPv6 connectivity to the server
> (not new - it's been happening for over a year) - over IPv4 it's quite
> fast but IPv6 is really slow - I only get around 12 kB/s from the UK.
> From looking at things at my end it looks like a problem with a machine
> somewhere between the USA and Japan, but I don't know if the path's
> symmetric. It's been suggested that it might be a TCP windowing
> problem on one of the links though.
> 
> -- 
> Bruce Cran
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

-- 
kiwao 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: allBSD Japan servers ?

2011-04-04 Thread Kouichiro Iwao
It have been recovered from hardware failure on Mar 28th.

On Mon, Apr 04, 2011 at 04:53:59PM +0200, Ross Cameron wrote:
> works just fine here (im in south africa) so maybe a routing issue ???

-- 
kiwao 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: allBSD Japan servers ?

2011-03-27 Thread Kouichiro Iwao
On Fri, Mar 25, 2011 at 08:59:19AM -1000, Al Plant wrote:
> Aloha,
> 
> Anybody know what happened to the http; or ftp servers for allbsd.org 
> japan? Did the Tsumnami put them down?

allbsd.org is hosted by Tokyo University of Science.  Probably, servers
are still there but down due to lack of electricity. Numbers of power
plants are damaged by earthquake.

We provide just a portsnap server, portsnap.club.kyutech.ac.jp. Consider
using it instead of allbsd's if you want.

-- 
kiwao
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: license of the code in freebsd documantation

2011-03-08 Thread Kouichiro Iwao
Thank you for your information.  I will treat them under FreeBSD license.

On Fri, Mar 04, 2011 at 07:46:40PM +, Frank Shute wrote:
> Since those scripts have been contributed to the FreeBSD project, I
> would treat them as if they had the standard FreeBSD license.
> 
> If you do that, then you should be playing safe i.e they're almost
> certainly not under a more restrictive license.


-- 
kiwao
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


license of the code in freebsd documantation

2011-03-03 Thread Kouichiro Iwao
I'm writing a script based on the code in freebsd docs,
and caring about the license of it. The original scripts are 
example 6 and 7 of the following page. How do I have to treat 
my code if I distribute it?
http://www.freebsd.org/doc/en/articles/ldap-auth/client.html

I know freebsd docs is licensed under The FreeBSD Documantation 
License but don't know about codes in them.

-- 
kiwao 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


how to make vimage jail permanent by configuring rc.conf?

2009-12-18 Thread Kouichiro Iwao
Hi.

I'm trying to freebsd cruster with jails.  I know how to make 
vimage jail temporarily with the commands like this.

# jail -c vnet path=/usr/jail/jail01 persist
# ifconfig epair create
# ifconfig epair0a vnet $JID
(snip)

I want to make it permanent. I want jails to start automatically when I
rebooted the host environment. I add the following lines into rc.conf.

jail_jail01_flags="-c vnet"
jail_jail01_rootdir="/usr/jail/jail01"
jail_jail01_hostname="jail01.example.jp"
jail_jail01_ip="192.168.100.101"

However, I failed "/etc/rc.d/jail onestart jail01" to start up the jail.
How to configure rc.conf in order to make vimage jail permanent?

rc.d/jail only support traditional jails?

-- 
kiwao
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: too noisy virtualbox messages on dmesg

2009-10-13 Thread Kouichiro Iwao

Adam Vande More wrote:

Did you compile the port with debug enabled?  I don't see those messages
unless it is.


That was just because of debugging option, thanks.

--
Iwao, Koichiro 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


too noisy virtualbox messages on dmesg

2009-10-13 Thread Kouichiro Iwao
Hi.

I'm using VirtualBox 3.0.51 on 8-RC1 and it is properly working
but too many messages are dumped on dmesg like below.
The message blows off which I really need. Please give me instructions
how to stop it or how to make it to be dumped somewhere else.

[m...@trueno ~]$ dmesg | tail
VBoxDrvFreeBSDClone: pszName=tty ppDev=0xec2e28dc
VBoxDrvFreeBSDClone: pszName=tty ppDev=0xec1c78dc
VBoxDrvFreeBSDClone: pszName=tty ppDev=0xec1738dc
VBoxDrvFreeBSDClone: pszName=tty ppDev=0xec1738dc
VBoxDrvFreeBSDClone: pszName=crypto ppDev=0xec87e8dc
VBoxDrvFreeBSDClone: pszName=crypto ppDev=0xec87e8dc
VBoxDrvFreeBSDClone: pszName=tty ppDev=0xec87e8dc
VBoxDrvFreeBSDClone: pszName=tty ppDev=0xec87e8dc
VBoxDrvFreeBSDClone: pszName=tty ppDev=0xec87e8dc
VBoxDrvFreeBSDClone: pszName=tty ppDev=0xec87e8dc

-- 
Iwao, Koichiro 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: how to deceive programs as if I were a local user?

2009-04-25 Thread Kouichiro Iwao
On Sat, Apr 25, 2009 at 11:22:22AM +0200, Ruben de Groot wrote:
> On Sat, Apr 25, 2009 at 05:34:16PM +0900, Kouichiro Iwao typed:
> > On Thu, Apr 23, 2009 at 11:17:11AM -0700, Chris Cowart wrote:
> > > This error means the program tried to look up some name information for
> > > your UID number and failed. You need to configure the data source in
> > > /etc/nsswitch.conf:
> > > 
> > > group: files cache ldap
> > > passwd: files cache ldap
> > 
> > I've already set like you showed.
> > But, not for /compat/linux/etc/nsswitch.conf .
> > 
> > Configuring nsswitch.conf in linux emulation environment,
> > the program worked properly.  I did't know I had to set 
> > /compat/linux/etc/nsswitch.conf for linux binary compatibility.
> 
> That's interesting. Was there a /compat/linux/etc/nsswitch.conf before?
> I think that if it's not there, the linux emulation layer should take
> the system's /etc/nsswitch.conf as default. But I might be wrong(TM).
> 

Sorry, I misunderstood what you meant.

# cd /compat/linux/etc
# mv nsswitch.conf nsswitch.conf.dummy

And I ran the sample program, the linux binary resuled success.
The linux emulator seems to take the /etc/nsswitch.conf.

However, it is true that /compat/linux/etc/nsswitch.conf had already
existed when I was going to edit.

-- 
Iwao, Koichiro 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: how to deceive programs as if I were a local user?

2009-04-25 Thread Kouichiro Iwao
On Sat, Apr 25, 2009 at 11:22:22AM +0200, Ruben de Groot wrote:
> > Configuring nsswitch.conf in linux emulation environment,
> > the program worked properly.  I did't know I had to set 
> > /compat/linux/etc/nsswitch.conf for linux binary compatibility.
> 
> That's interesting. Was there a /compat/linux/etc/nsswitch.conf before?
> I think that if it's not there, the linux emulation layer should take
> the system's /etc/nsswitch.conf as default. But I might be wrong(TM).

What does TM mean? :-(

Yes. I didn't make /compat/linux/etc/nsswitch.conf but just modified
the file that had already existed. I also configured 
/compat/linux/etc/yp.conf and /compat/linux/etc/sysconfig/network to
use NIS.

I examined the linux emulator takes /compat/linux/etc/nsswitch.conf.

/etc/nsswitch.conf:
$ grep -v -e ^$ -e ^# /etc/nsswitch.conf 
group: compat
group_compat: nis
hosts: files dns
networks: files
passwd: compat
passwd_compat: nis
shells: files
services: compat
services_compat: nis
protocols: files
rpc: files

/compat/linux/etc/nsswitch.conf:
$ grep -v -e ^$ -e ^# /compat/linux/etc/nsswitch.conf
passwd: files nis
shadow: files nis
group:  files nis
hosts:  files dns
bootparams: nisplus [NOTFOUND=return] files
ethers: files
netmasks:   files
networks:   files
protocols:  files
rpc:files
services:   files
netgroup:   nisplus
publickey:  nisplus
automount:  files nisplus
aliases:files nisplus

And the sample program "sample.c":
#include
#include
#include

int main(){
struct passwd *pw;
pw = getpwuid(getuid()); 
if(pw){
printf("success\n");
} else {
printf("error\n");
}  
}

I compiled the sample for both freebsd and linux binaries.
With the setting above I ran each binary, both binaries resulted success.

But when "nis" is not written in linux emulation environment's nsswitch.conf,
the linux binary results error.

-- 
Iwao, Koichiro 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: how to deceive programs as if I were a local user?

2009-04-25 Thread Kouichiro Iwao
On Thu, Apr 23, 2009 at 11:17:11AM -0700, Chris Cowart wrote:
> This error means the program tried to look up some name information for
> your UID number and failed. You need to configure the data source in
> /etc/nsswitch.conf:
> 
> group: files cache ldap
> passwd: files cache ldap

I've already set like you showed.
But, not for /compat/linux/etc/nsswitch.conf .

Configuring nsswitch.conf in linux emulation environment,
the program worked properly.  I did't know I had to set 
/compat/linux/etc/nsswitch.conf for linux binary compatibility.

Thanks.
-- 
Iwao, Koichiro 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


how to deceive programs as if I were a local user?

2009-04-23 Thread Kouichiro Iwao
Hi.

I'm going to connect to the remote server with nxclient.
But, net/linux-nx-client does't work with non-local (NIS or LDAP) account.

Connecting the remote server, nxclient says "connection error" and
I found out that it caused by nxssh.

If nxssh was executed by a NIS account, nxssh says,
[m...@trueno ~]$ nxssh
You don't exist, go away!

How to deceive programs as if I were a user in /etc/master.passwd?

-- 
Iwao, Koichiro 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: NX dumps core on 7.1-RELEASE

2009-04-14 Thread Kouichiro Iwao
I try to ask freebsd-x11 list.
thanks.

-- 
Iwao, Koichiro 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: NX dumps core on 7.1-RELEASE

2009-04-10 Thread Kouichiro Iwao
Sorry, I was not sure how attached file is treated.
Here's the log.

http://www.club.kyutech.ac.jp/~meta/temp/nxserver_error.log

--
Iwao, Koichiro 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


NX dumps core on 7.1-RELEASE

2009-04-10 Thread Kouichiro Iwao
Hi. 

I asked freebsd-users-jp mailing list how to solve the problem below but
nobody replied. I moved freebsd-question ml ask you.

I'm in trouble using net/freenx port.
My system is 7.1-RELEASE-p2 and I installed freenx from the ports tree.
I already installed gnome desktop environment and I can use it on x11
console.

$ pkg_info|grep nx
freenx-0.6.0_1  Frontend (auth/session management) for nxserver libraries
nxserver-2.1.0_2Low-bandwidth X network server

I installed nomachine's nxclient 3.3.0-6 to another linux system.
Then I tried to connect to the freebsd system, nxclient shows error that
"Session Startup File".  After that, I logged into the freebsd system
from the linux system with ssh x11 forwarding enabled and I executed
nxagent. Then it dumped core.

[m...@freebsd ~]$ /usr/local/NX/bin/nxagent

NXAGENT - Version 2.1.0

Copyright (C) 2001, 2006 NoMachine.
See http://www.nomachine.com/ for more information.

Info: Agent running with pid '80414'.
Session: Starting session at 'Sat Apr 11 09:57:36 2009'.
Info: Detected window manager running.
Assertion failed: (ret != inval_id), function _XAllocID, file xcb_io.c,
line 378.
Abort trap: 6 (core dumped)

I guess this is why nxclient on linux raises session start up failed
error. I can find "xcb_io.c" in nxagent's error message, so I did
"portupgrade -rf \*xcb\* libX11 nxserver" but nothing's solved.

I attach nxclient's log file. Please give me solution.

Thanks.
-- 
Iwao, Koichiro 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"