#arp -a Net to Media Table: IPv4 Device IP Address Mask Flags Phys Addr ----- ------------ ---------------- ------- ----------------- elxl0 solaris 255.255.255.255 SP 00:01:02:92:6a:e5 elxl0 224.0.0.0 240.0.0.0 SM 01:00:5e:00:00:00
>>231 試してみた、けど… $ cat ex hoge/ho hoge/hoge $ ls hoge ho hoge hon honge $ tar Xcvf ex hoge.tar hoge a hoge/ 0K a hoge/hon 7K a hoge/ho は除外されました。 a hoge/honge 5K a hoge/hoge は除外されました。 $ こなったけど… (Solaris8HW10/01+Recommended Patch for 64bit Ultra60)
Solaris x86でサスペンドモードの電源管理はできないのでしょうか? BIOSで設定してもサスペンドモードになると外からの反応に答えなくなっちゃいます。 サーバがアクセスされたら復旧して、またしばらくしたらサスペンドさせたいのですが無理でしょうか? SPARC盤では設定できるみたいですがx86盤ではいかがなものでしょうかと...
% make test ext/IPC/SysV/ipcsysv.................semget: No space left on device FAILED at test 7 ext/IPC/SysV/t/sem...................semget: 28 No space left on device FAILED at test 1 lib/IPC/SysV.........................semget: No space left on device FAILED at test 7 Failed 3 test scripts out of 671, 99.55% okay. ### Since not all tests were successful, you may want to run some of ### them individually and examine any diagnostic messages they produce. ### See the INSTALL document's section on "make test". ### You have a good chance to get more information by running ### ./perl harness ### in the 't' directory since most (>=80%) of the tests succeeded. ### You may have to set your dynamic library search path,p ### LD_LIBRARY_PATH, to point to the build directory: ### setenv LD_LIBRARY_PATH `pwd`; cd t; ./perl harness ### LD_LIBRARY_PATH=`pwd`; export LD_LIBRARY_PATH; cd t; ./perl harness ### export LD_LIBRARY_PATH=`pwd`; cd t; ./perl harness ### for csh-style shells, like tcsh; or for traditional/modern ### Bourne-style shells, like bash, ksh, and zsh, respectively. u=6.74 s=3.31 cu=418.08 cs=60.73 scripts=671 tests=68763 make[2]: *** [_test_tty] Error 1 make[2]: Leaving directory `/var/tmp/perl-5.8.0' make[1]: *** [_test] Error 2 make[1]: Leaving directory `/var/tmp/perl-5.8.0' make: *** [test] Error 2
370 :名無しさん@Emacs :02/10/23 23:48
% export LD_LIBRARY_PATH=`pwd`; cd t; ./perl harness Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- ../ext/IPC/SysV/ipcsysv.t 255 65280 16 10 62.50% 7-16 ../ext/IPC/SysV/t/sem.t 28 7168 10 10 100.00% 1-10 ../lib/IPC/SysV.t 255 65280 16 10 62.50% 7-16 38 tests and 271 subtests skipped. Failed 3/712 test scripts, 99.58% okay. 30/68773 subtests failed, 99.96% okay.
で、INSTALL には
=item lib/ipc_sysv........semget: No space left on device
Either your account or the whole system has run out of semaphores. Or both. Either list the semaphores with "ipcs" and remove the unneeded ones (which ones these are depends on your system and applications) with "ipcrm -s SEMAPHORE_ID_HERE" or configure more semaphores to your system.
>>370 > Either your account or the whole system has run out of semaphores. Or > both. Either list the semaphores with "ipcs" and remove the unneeded > ones (which ones these are depends on your system and applications) > with "ipcrm -s SEMAPHORE_ID_HERE" or configure more semaphores to your > system. この辺がミソか。 おれもよくわからんが、 ipcs でセマフォの一覧出して ipcrm でいらないのを消すか、 セマフォを増やせ、と言っている、らしい。
% ipcs IPC status from <running system> as of Thu Oct 24 00:51:48 JST 2002 T ID KEY MODE OWNER GROUP Message Queues: q 0 0x140d -Rrw-r--r-- root root Shared Memory: Semaphores:
cc -DTI_RPC -DFCNTL_LOCK -DSYSINFO -g -I/usr/local/BerkeleyDB.4.1/include -c rpc.dracd.c rpc.dracd.c: In function `drac_run': rpc.dracd.c:165: warning: passing arg 2 of pointer to function from incompatible pointer type rpc.dracd.c:165: warning: passing arg 4 of pointer to function makes pointer from integer without a cast rpc.dracd.c:165: too few arguments to function *** Error code 1 make: Fatal error: Command failed for target `rpc.dracd.o'
cc -DTI_RPC -DFCNTL_LOCK -DSYSINFO -g -I/usr/local/BerkeleyDB.4.1/include -c rpc.dracd.c rpc.dracd.c: In function `drac_run': rpc.dracd.c:165: warning: passing arg 2 of pointer to function from incompatible pointer type rpc.dracd.c:165: warning: passing arg 4 of pointer to function makes pointer from integer without a cast rpc.dracd.c:165: too few arguments to function *** Error code 1 make: Fatal error: Command failed for target `rpc.dracd.o'
となります。何がおかしいんでしょうか?
ちなみ環境は OS=Solaris7 メール等はまだ何もインストールしていません。
400 :名無しさん@お腹いっぱい。 :02/10/25 11:17
どなたか教えて下さい。 新規に購入した Sun Fire V100 なのですが、 どうやってコンソールを開いたらいいのでしょうか? PCのシリアルと Sun Fire を接続しているのですが、反応が返って来ません。
>>437 #>uname -a SunOS ctoda8 5.8 Generic_108529-16 i86pc i386 i86pc #>cat /etc/release Solaris 8 10/01 s28x_u6wos_08a INTEL Copyright 2001 Sun Microsystems, Inc. All Rights Reserved. Assembled 13 September 2001 Solaris 8 Maintenance Update 7 applied
# mount -F lofs plamo-2.2.6.iso /mnt # mount -v .... plamo-2.2.6.iso on /mnt type lofs read/write/setuid/dev=2200000 on Thu Nov 14 12:16:04 2002 # cd /mnt /mnt: not a directory # umount /mnt # cd /mnt #
(gdb) backtrace #0 0xdfb96d1b in t_splay () from /usr/lib/libc.so.1 #1 0xdfb96b30 in t_delete () from /usr/lib/libc.so.1 #2 0xdfb9689a in realfree () from /usr/lib/libc.so.1 #3 0xdfb964d5 in _malloc_unlocked () from /usr/lib/libc.so.1 #4 0xdfb96315 in malloc () from /usr/lib/libc.so.1 #5 0x805556d in til_jo (serv=0x806ad20, msg=0x8046ce4 "0123457890123457890123457890123457890123457890123457890123") at ./til_com.c:1280 #6 0x8057b98 in til_ca2 (csys=0x806ad20, serv=0x806ad20, svmsg=0x8046ce4 "0123457890123457890123457890123457890123457890123457890123") at ./til_com.c:186 #7 0x804bc1b in til_ca (csys=0x806ad20) at ./til_com.c:569 #8 0x8049eed in main (argc=2, argv=0x8047988) at ./til_main.c:141
debug1: sshd version OpenSSH_3.5p1 debug1: private host key: #0 type 0 RSA1 debug1: read PEM private key done: type RSA debug1: private host key: #1 type 1 RSA debug1: read PEM private key done: type DSA debug1: private host key: #2 type 2 DSA debug1: Bind to port 22 on 0.0.0.0. Server listening on 0.0.0.0 port 22. Generating 768 bit RSA key. RSA key generation complete. debug1: Server will not fork when running in debugging mode. Connection from 127.0.0.1 port 33005 debug1: Client protocol version 2.0; client software version OpenSSH_3.5p1 debug1: match: OpenSSH_3.5p1 pat OpenSSH* debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-1.99-OpenSSH_3.5p1 mm_malloc: size too big debug1: Calling cleanup 0x40c60(0x0)
# ufsrestore xvfs /dev/rmt/0 7 ./djb Verify volume and initialize maps Media block size is 64 Dump date: Fri Nov 29 22:47:31 2002 Dumped from: the epoch Level 0 dump of /home on kuri:/dev/dsk/c0t1d0s1 Label: none Extract directories from tape Initialize symbol table. Make node ./djb [...] Extract requested files You have not read any volumes yet. Unless you know which volume your file(s) are on you should start with the last volume and work towards the first. Specify next volume #: 1 [...] extract file ./djb/emacs_cvs/lisp/emulation/CVS/Entries You have read volumes:
ここで、C-d で終了して ls -l で確認すると、ファイルのオーナはリストアさ れているのですが、ディレクトリのオーナがりストアされず、root になってい ます。どこがまずいのでしょうか。
# ufsrestore xvfs /dev/rmt/0 7 ./djb/Mail/inbox Verify volume and initialize maps Media block size is 64 Dump date: Fri Nov 29 22:47:31 2002 Dumped from: the epoch Level 0 dump of /home on kuri:/dev/dsk/c0t1d0s1 Label: none Extract directories from tape Initialize symbol table. Make node ./djb Make node ./djb/Mail Make node ./djb/Mail/inbox Extract requested files You have not read any volumes yet. Unless you know which volume your file(s) are on you should start with the last volume and work towards the first. Specify next volume #: 1 extract file ./djb/Mail/inbox/1 [...] extract file ./djb/Mail/inbox/256
>>837 > extract file ./djb/Mail/inbox/256 Add links Set directory mode, owner, and times. set owner/mode for `.'? [yn] n Directories already exist, set modes anyway? [yn] n
はじめまして。 solaris8でuseradd を行なおうとしたところ UX: useradd: ERROR: Cannot update system files - login cannot be created. というエラーがでてユーザ作成を行なえませんでした。
man useradd で確認したところ、 そのエラーに対しては The following indicates that the /etc/passwd or /etc/shadow files do not exist: と記述されていたのですが、 /etc/passwd も /etc/shadow も両方とも存在しています。 また直接変更したこともありません。 何か他に考えられる原因はございますでしょうか? 宜しくお願いいたします。
> cd /platform/i86pc/kernel/drv > cp ata ata.SAVE > adb -w ata > ata_devo_reset+0x54? 0xcc68 ;; verify before changing!! > ata_devo_reset+0x54?w 0x6668 ;; was 0xcc68