>>88 .emacsはEmacsのinfoを読むべし。 .xsessionは man xdm、 .Xresourcesは man X とか man xrdb とかして基本を理解したあと、 各アプリのマニュアルや/usr/X11R6/lib/X11/app-defaults/以下をチェックだ。 X関係の日本語マニュアルはports or packagesからxjmanを入れるといい。 http://xjman.dsl.gr.jp/
===== /etc/defaults/make.confより ===== # CFLAGS controls the compiler settings used when compiling C code. # Note that optimization settings above -O (-O2, ...) are not recommended # or supported for compiling the world or the kernel - please revert any # nonstandard optimization settings to "-O" before submitting bug reports # to the developers. # Note also that at this time the -O2 setting is known to produce BROKEN # CODE on the Alpha platform.
Modified files: x11/XFree86-4-libraries Makefile distinfo Log: Fix i18n problem found by XFree86. This makes XIM work properly. Bump PORTREVISION to denote fix. とかあったのでなおってる物かと思ってインストールしたのに。
getty[2630]: login_tty /dev/console: Operation not supported by device と init: getty repeating too quickly on port /dev/console, sleeping 30 secs というのが出まくってしまいます どうすればいいか教えてください
% gdb less less.core .. (gdb) backtrace #0 0x28102990 in kill () from /usr/lib/libc.so.4 #1 0x2813eaa2 in abort () from /usr/lib/libc.so.4 #2 0x2811b73f in __assert () from /usr/lib/libc.so.4 #3 0x8060c23 in convert_to_jis (c=32, cs=0) at multi.c:1697 #4 0x8061198 in outchar (c=32, cs=0) at multi.c:1905 #5 0x8054a2b in putmchr (c=32, cs=0) at output.c:316 #6 0x8054890 in put_line () at output.c:92 #7 0x805060b in forw (n=50, pos=0, force=1, only_last=0, nblank=0) at forwback.c:242 #8 0x805150f in jump_loc (pos=0, sline=0) at jump.c:247 #9 0x804d3c2 in make_display () at command.c:570 #10 0x804d435 in prompt () at command.c:603 #11 0x804d767 in commands () at command.c:882 #12 0x80496f4 in main (argc=-1, argv=0xbfbff3e8) at main.c:262 #13 0x8049319 in _start ()
SYMBOL TABLE: 00000000 l df *ABS* 00000000 crtstuff.c 00000000 l d .text 00000000 00000000 l d .data 00000000 00000000 l d .bss 00000000 00000000 l .text 00000000 gcc2_compiled. 00000000 l O .data 00000000 p.3 00000000 l O .dtors 00000000 __DTOR_LIST__ 00000004 l O .data 00000000 completed.4 00000004 l F .text 00000000 __do_global_dtors_aux 00000000 l O .eh_frame 00000000 __EH_FRAME_BEGIN__ 00000070 l F .text 00000000 fini_dummy 00000000 l d .fini 00000000 00000000 l O .bss 00000018 object.11 0000008c l F .text 00000000 frame_dummy 000000c8 l F .text 00000000 init_dummy 00000000 l d .init 00000000 00000008 l O .data 00000000 force_to_data 00000000 l d .ctors 00000000 00000000 l O .ctors 00000000 __CTOR_LIST__ 00000000 l d .dtors 00000000 00000000 l d .eh_frame 00000000 00000000 l d .note 00000000 00000000 l d .comment 00000000 00000000 *UND* 00000000 _GLOBAL_OFFSET_TABLE_ 00000000 w *UND* 00000000 __deregister_frame_info 00000000 w *UND* 00000000 __register_frame_info
SYMBOL TABLE: 00000000 l df *ABS* 00000000 crtstuff.c 00000000 l d .text 00000000 00000000 l d .data 00000000 00000000 l d .bss 00000000 00000000 l .text 00000000 gcc2_compiled. 00000004 l F .text 00000000 __do_global_ctors_aux 00000000 l O .ctors 00000000 __CTOR_END__ 00000040 l F .text 00000000 init_dummy 00000000 l d .init 00000000 00000000 l O .data 00000000 force_to_data 00000000 l d .ctors 00000000 00000000 l d .dtors 00000000 00000000 l O .dtors 00000000 __DTOR_END__ 00000000 l d .eh_frame 00000000 00000000 l O .eh_frame 00000000 __FRAME_END__ 00000000 l d .note 00000000 00000000 l d .comment 00000000 00000000 *UND* 00000000 _GLOBAL_OFFSET_TABLE_ 00000000 w *UND* 00000000 __deregister_frame_info 00000000 w *UND* 00000000 __register_frame_info
===> Patching for ja-ndtpd-3.1.1 ===> Applying distribution patches for ja-ndtpd-3.1.1 ===> Configuring for ja-ndtpd-3.1.1 cd /usr/ports/japanese/ndtpd/work/ndtpd-3.1.1; autoconf configure.ac:150: error: do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs. LIBOBJS' *** Error code 1
% portisntall -s -M NO_GUI="yes" editors/vim とやると ** Package(s) of 'editors/vim' is already installed: vim-6.0.185 Install 'editors/vim'? [no] ** No package has been installed or upgraded. なのに % portupgrade -s -M NO_GUI="yes" /usr/ports/editors/vim ** No such package '/usr/ports/editors/vim' is installed. ** No package has been installed or upgraded.
configure:18628: result: yes configure:18749: error: conditional "HAVE_ORBIT" was never defined. Usually this means the macro was only invoked conditionally.
とエラーが出たあと
configure: exit 1 (end of "config.log") *** Error code 1
・gcc 2.95.3のインストール % ./configure --target=i386-linux --disable-nls --with-gnu-as --with-gnu-ld % gmake LANGUAGES="c c++" cross →all-target-libibertyのchoose-temp.cで stdio.h: No such file or directory sys/types.h: No such file or directory となる。 確かに直前のlibibertyのconfigureでヘッダやライブラリがことごとくnoになってるんですが…
過去ログにstableへのアップデートについての情報があったので、私もstableにしました。 ハンドブックなどをみながら、うまく更新できたのですが、/stand/sysinstallを使ってPackage(FTP)を使おうとしたのですが warning: Can't find the '4.5-STABLE' distribution on this FTP server.とでてpackageを使う事ができません。 stableでPackageを使うにはどうすれば良いのでしょう?
自宅でIPFilterを使ってNATの環境をつくろうとしたのですが、うまくいきません。 kernelの再構築でipfilterを有効にしようと思ったのですが、その前にモジュールを追加してうまくいくかどうか試してみました。 ipl_load="YES"と/boot/loader.confに追加し、 ipfilter_enable="YES" ipfilter_rules="/etc/ipf.rules" ipfilter_flags="" ipmon_enable="YES" ipmon_flags="-D /var/log/ipflog" ipnat_enable="YES" gateway_enable="YES" をrc.confに追加しました。 ipnat.rulesの記述(DHCPで割り当てられるので) map 外側NIC 192.168.0.0/24 -> portmap tcp/udp 10000:65000 ipf.rulesの記述(すべて素通し) pass in quick on fxp1 from any to any pass out quick on fxp1 from any to any DHCP Serverを動かして、クライアントにクラスCのアドレスを割り振っています。 どこか足りないところや間違っている所などがあればご指摘お願いします。
>>601 tcpdump -i インタフェース 'port 80'として、clientでyahoo.co.jpにアクセスしたらちながりました!! さっきは繋がらなかったのですが・・・・ 何で繋がるようになったか、もう少し調べてみます。 pass in all pass out allにしたのに関係があるのかもしれませんね。 しかし、これでは素通しですのでこれから締める作業もしたいと思います。
>>676 > しかし、TeraTerm+ttsshでさきほどputしたidentityファイルを指定して、接続を試みたのですがThe specified key file does not contain an SSH private key.と > エラーメッセージがでてしまい、接続できませんでした。
20020404: Due to the import of sendmail 8.12.2 (see 20020325 entry), a new user and group are required in order for sendmail to run as a set-group-ID binary. A 'make installworld' will use the new user and group to set the owner and group of /var/spool/clientmqueue and will fail if the new user and group do not exist. The 'smmsp' user and group must be merged from src/etc/group and src/etc/master.passwd before using 'make installworld'.
portsからmrtg-2.9.18.p5をインストールしたのですが いざ実行すると 標準出力には Name "RRDs::VERSION" used only once: possible typo at /usr/local/bin/mrtg line 417. こう出てエラーは 2002-04-12 21:49:24 -- Use of uninitialized value at /usr/local/bin/mrtg line 1360. 2002-04-12 21:49:24 -- Use of uninitialized value at /usr/local/bin/mrtg line 945. 2002-04-12 21:49:24 -- Use of uninitialized value at /usr/local/bin/mrtg line 945. 2002-04-12 21:49:24 -- Use of uninitialized value at /usr/local/bin/mrtg line 802. 2002-04-12 21:49:24 -- Use of uninitialized value at /usr/local/bin/mrtg line 807. 2002-04-12 21:49:24 -- Use of uninitialized value at /usr/local/bin/mrtg line 814. 2002-04-12 21:49:24 -- Use of uninitialized value at /usr/local/bin/mrtg line 802. 2002-04-12 21:49:24 -- Use of uninitialized value at /usr/local/bin/mrtg line 807. 2002-04-12 21:49:24 -- Use of uninitialized value at /usr/local/bin/mrtg line 814. こう出ます。
#jdk13のエラーコード ERROR: BOOTDIR does not point to a valid Java 2 SDK Check that you have access to /usr/local/linux-jdk1.3.1/bin/java and/or check your value of ALT_BOOTDIR. 起動ディレクトリに有効なSDKが割り当てられてない?じゃどうせろっつーの?
>>765 linux-jdk14で、試しに make extract してみたけど、 ===> linux-jdk-1.4.0 You must manually fetch the J2SE v1.4 SDK Linux GNUZIP Tar shell script (j2sdk-1_4_0-linux-i386.bin) from http://java.sun.com/j2se/1.4/, place it in /usr/ports/distfiles and then run make again. って言ってるじゃーん。 java.sun.comからDLすべし。
>>755 どのPPPを使ってるのかはっきりしろ。塚、おそらくこれだな。 man ppp(8) nat port proto targetIP:targetPort[-targetPort] aliasPort[-aliasPort] [remoteIP:remotePort[-remotePort]]
>>765 > #jdk13のエラーコード > ERROR: BOOTDIR does not point to a valid Java 2 SDK > Check that you have access to > /usr/local/linux-jdk1.3.1/bin/java > and/or check your valu 君の ports/java/jdk13/Makefile の Revision はいくつ? ひょっとして1.20で解決されてる問題じゃないか。確認せよ。
.xsession-errors ---- Xlib: connection to ":0.0" refused by server Xlib: Client is not authorized to connect to Server
Gtk-WARNING **: cannot open display: :0 SESSION_MANAGER=local/myhostname.mydomain:/tmp/.ICE-unix/180 Xlib: connection to ":0.0" refused by server Xlib: Client is not authorized to connect to Server
Gtk-WARNING **: cannot open display: :0 ----
xdm-errors は奇妙なことに 1、最初は存在した。 2、xdmにてパスワードの打ち間違えた時か、ログインした時に更新された。 3、最新の情報を取るために一度消したら、その後二度と生成されなくなった。 4、(削除前の)ログの先頭には XFree86 Version 3.3.6 の文字が・・・。
最初に保存した xdm-errors です。 ---- XFree86 Version 3.3.6 / X Window System (protocol Version 11, revision 0, vendor release 6300) Release Date: xx November 2000 If the server is older than 6-12 months, or if your card is newer
(snip!)
(--) SVGA: XAA: Caching tiles and stipples (--) SVGA: XAA: Horizontal and vertical lines and segments AUDIT: Tue Apr 16 11:42:48 2002: 423 X: client 2 rejected from local host Auth name: XDM-AUTHORIZATION-1 ID: -1 Xlib: connection to ":0.0" refused by server Xlib: Client is not authorized to connect to Server /usr/X11R6/bin/xrdb: Can't open display ':0' AUDIT: Tue Apr 16 11:42:48 2002: 423 X: client 3 rejected from local host Auth name: XDM-AUTHORIZATION-1 ID: -1 Xlib: connection to ":0.0" refused by server Xlib: Client is not authorized to connect to Server Error: Can't open display: :0 ----
XFree4 を入れた後に、一般ユーザーから xinit したら(startxが正しい?) 「rootから上げてね」って怒られたので、 X 自体は ver4 になってると思ってたのですが $ X -version したら、あれ、、3.3.6 なのか・・? おかしな事になってます。。 素直に再インストールが早いのかなぁ、、。 ver違っても Xclient は動くような気がする のですが・・。(X鯖自体は立ち上がってるのに!)