起動してからApacheが起動するまでの順番は?
起動すると、 /etc/inittab を参考にする。
この中に、::sysinit:/etc/init.d/rcSという記述がある。
この/etc/init.d/rcSという実行ファイルを読んでみる。
そこにはこう書いてある。
/etc/rc.d/sysinit.d/S* を順番に startパラメータで呼び出しなさい。
つぎは、
for cmd in diskmon.sh ftpd.sh atalk.sh httpd.sh smb.sh clientUtil_servd.sh bonjour.sh lsprcvd.sh daemonwatch.sh cron.sh checkconfig.sh ups.sh pwrmgr.sh
の順番でそれぞれのシェルスクリプトを実行しなさい。
ただし、ここに書いてある「httpd.sh」はmelcomのだから、一般用の80番ポートのではない。
つぎに、
for cmd in lprng.sh ltbootd.sh pmcd.sh の順番でそれぞれのシェルスクリプトを実行しなさい。
それから、
for cmd in /etc/rc.d/extensions.d/S* をstartオプションで実行しなさい。
さらに、
/etc/init.d/cron.sh restart として再スタートさせ、
いよいよ、最後のほうで、
/etc/init.d/rc.optware start を実行するようになっている。
そして、まさしく、この/etc/init.d/rc.optwareの中にこそ、apache起動が含まれているのだ。
この/etc/init.d/rc.optwareを読んでみよう。
そこに、/opt/etc/rc.optwareの実行が含まれている。
なので、さらに、/opt/etc/rc.optwareを読んでみる。
ここでいよいよ /opt/etc/init.dの出番がやってくる。
lsをしてみよう。
kamii@LS-VL9F3:~$ ls /opt/etc/init.d/S??*
/opt/etc/init.d/S20dbus* /opt/etc/init.d/S71imap4d*
/opt/etc/init.d/S40sshd* /opt/etc/init.d/S72mysqld@
/opt/etc/init.d/S52saslauthd* /opt/etc/init.d/S80apache*
/opt/etc/init.d/S69postfix* /opt/etc/init.d/S90kamii.sh*
/opt/etc/init.d/S70qpopper*
kamii@LS-VL9F3:~$
オオオ、ここに、 /opt/etc/init.d/S80apache があった。これだ!!!
これを実行すると、apacheが起動するのだ。
apache-phpでeAccelerator: Could not release lock!
eAccelerator: Could not release lock! がエラーログにひんぱんに出る。
これを解決するてっとりばやい方法は、
chmod 777 /XXXX/YYY/ZZZ/tmp/eaccelerator/ することである。
/etc/php/apache2-php5/ext-active/eaccelerator.ini@
/etc/php/apache2-php5/ext/eaccelerator.ini
/etc/php/cgi-php5/ext-active/eaccelerator.ini@
/etc/php/cgi-php5/ext/eaccelerator.ini
/var/lib/dpkg/info/eaccelerator.list*
eaccelerator.cache_dir="/var/cache/eaccelerator-php5/"
システム設定で変更されるファイル
「システム」>「電源管理」>「タイマーON/OFF」での設定は、
/etc/melco/sleep ファイルに反映される。
ほかの設定の多くは、 /etc/melco/info に反映される。
/etc/melco/shareinfo.webaxs には公開用のシェアフォルダーの情報が入ってる。
/etc/melco/dlnaserver にはDLNAの情報が入ってる。
ふと、ランプが赤いのに気がついた
赤の点滅ではなく、点灯だ。
どうやらこれはお知らせがあることを示しているらしい。
いつかファームのアップデートをしてから、このような機能が増えたらしい。
いまは、なぜ赤の点灯かというと、おそらく、「新しいファームのアップデートがあります」というお知らせなんだろう。
HTTPのポート番号を移動させる
将来的に、HTTPを普通に使いたいと思うので、いま80番ポートで、
HTTPによる設定では不便なのだ。たとえば、TS-110だと、8080番ポートになっている。
そこで、LS-VLでも番号をずらせたいのだ。
どのファイルをいじればいいか調べたが、みつかった。
つぎの3つのファイルでポート番号を変更しよう。
/etc/lighttpd/buffalo-web.conf
/etc/lighttpd/conf.d/webaxs_mobile.conf
/etc/lighttpd/buffalo-web_https.conf
いろいろな場所にある bin,sbin.etc
/bin/
/sbin/
/etc/
/usr/bin/
/usr/local/bin/
/usr/local/webaxs/bin/
/usr/local/webaxs/apache/bin/
/opt/bin/
HDを換装
いじくってるうちに、立ち上がらなくなってしまった。
さあて困った。
1.5TBのHDをアマゾンから購入。
これになんとか動くものを入れたい。
手順はこっちに書いた。
LS-VL
2011.06.25 意を決して分解して、SSHが使えるようにする。
分解はできた。
分解したときの写真
LS-GLにUSB接続して、中身を修正するつもりだったが。。。
困った。
/var/log/messages をモニターしてたら、
sdb1しか見えてこない。さあ困った。
kamii@lsgl:~$ tail /var/log/messages
Jun 25 11:37:34 lsgl kernel: usb 2-1: new high speed USB device using ehci_platform and address 2
Jun 25 11:37:35 lsgl kernel: usb 2-1: Product: USB to ATA/ATAPI Bridge
Jun 25 11:37:35 lsgl kernel: usb 2-1: Manufacturer: JMicron
Jun 25 11:37:35 lsgl kernel: usb 2-1: SerialNumber: 152D203380B6
Jun 25 11:37:35 lsgl kernel: usb 2-1: configuration #1 chosen from 1 choice
Jun 25 11:37:35 lsgl kernel: scsi2 : SCSI emulation for USB Mass Storage devices
Jun 25 11:37:42 lsgl kernel: Vendor: SAMSUNG Model: HD103SI Rev:
Jun 25 11:37:42 lsgl kernel: Type: Direct-Access ANSI SCSI revision: 02
Jun 25 11:37:42 lsgl kernel: SCSI device sdb: 1953525168 512-byte hdwr sectors (1000205 MB)
Jun 25 11:37:42 lsgl kernel: sdb: Write Protect is off
Jun 25 11:37:42 lsgl kernel: SCSI device sdb: 1953525168 512-byte hdwr sectors (1000205 MB)
Jun 25 11:37:42 lsgl kernel: sdb: Write Protect is off
Jun 25 11:37:43 lsgl kernel: sdb: sdb1
Jun 25 11:37:43 lsgl kernel: sd 2:0:0:0: Attached scsi disk sdb
Jun 25 11:37:43 lsgl kernel: sd 2:0:0:0: Attached scsi generic sg1 type 0
Jun 25 11:37:44 lsgl scsi.agent[1280]: sd_mod: can't be loaded (for disk)
Jun 25 11:45:52 lsgl kernel: usb 2-1: USB disconnect, address 2
kamii@lsgl:~$
"sd_mod: can't be loaded (for disk)"が原因か。
% which parted してみたら、partedコマンドがない。
そうか、もうLS-GLは古いってことか、さてと、どこかでpartedのソースを
拾ってインストールするか。
それだけで十分かどうかは不明。やってみないと。
数分後、
% ./configure
:
:
:
checking for uuid_generate in -luuid... no
configure: error: GNU Parted requires libuuid - a part of the e2fsprogs package (but
sometimes distributed separately in uuid-devel or similar)
This can probably be found on your distribution's CD or FTP site or at:
http://web.mit.edu/tytso/www/linux/e2fsprogs.html
Note: if you are using precompiled packages you will also need the development
package as well (which may be called e2fsprogs-devel or something similar).
If you compile e2fsprogs yourself then you need to do 'make install' and
'make install-libs'.
kamii@lsgl:parted-2.3$
parted-2.3 を作ってインストールしたぞ。
失敗に終わる。足りないモノがいっぱいあって、断念した。
この方法で成功。 sshでログインが可能になった
ほかの方法としては、"Parted Magic OS"という、それ専門のOSという手があるかな。
CDに焼いて、そのCDからブートする。(Live-CD) v.6.2 pmagic-6.2.iso
http://partedmagic.com/
スタート画面
root@PartedMagic:/var/log# tail /var/log/messages
Jan 1 00:04:12 (none) user.notice kernel: [ 6.666910] sd 2:0:0:0: [sdb] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB)
Jan 1 00:04:12 (none) user.notice kernel: [ 6.667568] sd 2:0:0:0: [sdb] Write Protect is off
Jan 1 00:04:12 (none) user.debug kernel: [ 6.667576] sd 2:0:0:0: [sdb] Mode Sense: 00 38 00 00
Jan 1 00:04:12 (none) user.err kernel: [ 6.667580] sd 2:0:0:0: [sdb] Assuming drive cache: write through
Jan 1 00:04:12 (none) user.err kernel: [ 6.670082] sd 2:0:0:0: [sdb] Assuming drive cache: write through
Jan 1 00:04:18 (none) user.info kernel: [12.873304] sdb: sdb1 sdb2 sdb3 sdb4 sdb5 sdb6
Jan 1 00:04:18 (none) user.err kernel: [12.876160] sd 2:0:0:0: [sdb] Assuming drive cache: write through
Jan 1 00:04:18 (none) user.notice kernel: [12.876167] sd 2:0:0:0: [sdb] Attached SCSI disk
root@PartedMagic:/var/log# date 06251726
root@PartedMagic:/var/log# mkdir /tmp/root
root@PartedMagic:/var/log# mount /dev/sdb2 /tmp/root
root@PartedMagic:/var/log# mount
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
/dev/sdb2 on /tmp/root type ext3 (rw)
root@PartedMagic:/var/log# ls -F /tmp/root
bin/ etc/ lib/ proc/ sys/ var/
boot/ home/ lost+found/ root/ tmp@ www/dev/ initrd/ mnt/ sbin/ usr/
/tmp/root/etc/sshd_config を vi で修正:
1)
-HostKey /etc/apache/server.key
+#HostKey /etc/apache/server.key
2)
-PermitRootLogin no
+PermitRootLogin yes
3)
-PermitEmptyPasswords no
+PermitEmptyPasswords yes
4)
-UsePAM yes
+UsePAM no
viで修正。
root@PartedMagic:/var/log# grep root shadow
root::11009:0:99999:7:: パスワードが空っぽになってる。
root@PartedMagic:/# umount /tmp/root
さて、これで、HDをもとのLS-VLに戻す。。。
おお、動いた! ssh root@192.168.0.XXXX ができたぞ。
% ssh root@192.168.0.XXXX
root@LS-VL9F3:~# date
Sat Jun 25 18:22:29 JST 2011
root@LS-VL9F3:~# uname -a
Linux LS-VL9F3 2.6.31.8 #10 Wed Jun 1 14:44:07 JST 2011 armv5tel unknown
root@LS-VL9F3:~# mount
rootfs on / type rootfs (rw)
/dev/root on / type ext3 (rw,relatime,errors=continue,data=writeback)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
udev on /dev type tmpfs (rw,nosuid,relatime,size=10240k,mode=755)
devpts on /dev/pts type devpts (rw,relatime,gid=4,mode=620)
/dev/ram1 on /mnt/ram type tmpfs (rw,relatime,size=15360k)
/dev/sda1 on /boot type ext3 (rw,relatime,errors=continue,data=writeback)
usbfs on /proc/bus/usb type usbfs (rw,relatime)
/dev/disk1_6 on /mnt/disk1 type xfs (rw,noatime,usrquota,prjquota,grpquota)
tmpfs on /mnt/ram/com.kernel.org type tmpfs (rw,relatime,size=8192k)
root@LS-VL9F3:~# df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/sda2 4921660 827620 3844032 18% /
udev 10240 92 10148 1% /dev
/dev/ram1 15360 164 15196 1% /mnt/ram
/dev/sda1 992504 258024 734480 26% /boot
/dev/disk1_6 961618816 59345640 902273176 6% /mnt/disk1
tmpfs 8192 2032 6160 25% /mnt/ram/com.kernel.org
まだ、root以外の一般ユーザーアカウントではログインできない。ま、いっか。
which gcc しても出てこない。なんとか、gccとか開発ソフトを入れたい。
apt-get とか、dpkg とか、そんなのは使えないものか???
そこで、調査。
root@LS-VL9F3:~# dpkg -s apt
Package: apt
Status: install ok installed
Priority: required
Section: admin
Installed-Size: 2929194
Maintainer: y-hara@dev-hara
Architecture: arm
Version: 0.6.46.4-0.1
Depends: dpkg (>= 1.13)
Description: This is a dpkg, package manager.
Downloaded from http://packages.debian.org/etch/apt
root@LS-VL9F3:~# cat /etc/debian_version からっぽ
root@LS-VL9F3:~# cat /etc/apt/sources.list
deb http://172.16.37.216:8080/update/terastation_x buffalo-marvell-armel-sdk2p0 main
root@LS-VL9F3:~# which apt-get
/usr/bin/apt-get
root@LS-VL9F3:~# dpkg -l
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
ii apt 0.6.46.4-0.1 This is a dpkg, package manager.
ii archive-tar 1.40
ii authen-pam 0.16
ii bind-tools 9.4.2-P1 bind tools: dig, nslookup, host, nsupdate
ii bittorrent 3.00-20494 bittorrent modules
ii buffalo-app-do 1.00 buffalo-app-downloader
ii buffalo-bootse 1.0.0 This is a buffalo-bootserver.
ii buffalo-info-c 1.00 This is a Buffalo LinkStation Series Info Co
ii buffalo-nas-hd 1.00 This is a hdd-rootfs for buffalo nas product
ii buffalo-nas-ke 1.00 This is a kernel modules for buffalo nas pro
ii buffalo-nas-on 1.00 replication tool!
ii buffalo-nas-re 1.42-2.63 This is a buffalo version header for hdd roo
ii buffalo-web-us 0.00 This is a buffalo web-UI 2.0!!!
ii buffalo-webui 1.00 This is a buffalo-webui module.
ii busybox-initon 1.15.3
ii bzip2 2
ii cgi 3.29
ii cgi-session 4.41
ii chariot 2.00_20090216 chariot_2.00
ii compress-raw-b 2
ii compress-raw-z 2.020
ii cracklib 2.8.13
ii crypt-ssleay 0.57
ii curl 7.19.6
ii daemonize 1.5.2 This is a daemonize utility.
ii db 4.2.52 This is a database utility(BerkeleyDB-4.2)
ii delusraxs 1.0.0 delusraxs
ii device-mapper 1.02.24 This is a device-mapper driver.
ii dhcpcd 1.3.22-pl4 This is a dhcp client daemon.
ii dosfstools 2.11 DOS filesystem tools - provides mkdosfs, mkf
ii dpkg 1.13 This is a dpkg, package manager.
ii e2fsprogs 1.40.5 This is a ext2, ext3 fs handling utility.
ii eaccelerator 0.9.5.3
ii epeg 0.9.1.042
ii expat 2.0.1
ii extutils-cbuil 0.23
ii extutils-parse 2.19
ii eyefi beta18
ii file 4.23
ii findutils 4.1.7 This is the findutils.
ii flickrfs 1.00
ii freetype 2.3.9
ii gd 2.0.35
ii gdbm 1.8.3 This is a gdbm, Gnu DataBase Manager
ii gmp 4.3.1 gmp. libraries for openswan.
ii gnu-gs-fonts-s 8.11
ii gphoto2 2
ii html-parser 3.62
ii html-tagset 3.20
ii html-tree 3.23
ii htop 0.8.1
ii hyperestraier 1.1.5 This is a hyperestraier, used for create sea
ii imagemagick 6.5.2.9
ii inotify-tools 3.13
ii io-compress 2.020
ii io-multiplex 1.09
ii io-string 1.08
ii io-zlib 1.09
ii iproute2 2.6.22-070710 iproute utility.
ii iputils s20071127 ping
ii jcode 2.06
ii jpeg 6
ii jpegsrc v6b This is a jpeg utility.
ii json 2.15
ii krb5 1.4.3 This is a krb5 libraries.
ii lcms 1.18 A lightweight, speed optimized color managem
ii libexif 0.6.17
ii libgcrypt 1.4.4
ii libgpg-error 1.7
ii libgphoto2 2
ii libhttpd 1.4.19 This is a lighttpd.
ii libiconv 1.10 This is a libiconv libraries.
ii libid3tag 0.15.1b This is a libid3tag, need to handle mp3's id
ii libmcrypt 2.5.8
ii libnet 1.22
ii libol 0.3.18 This is a libol libraries.
ii libomronups 0.1 nut : omron usb driver.
ii libpcre 7.9
ii libperl 5.8.8
ii libpng 1.2.37
ii libtool 2.2.6
ii libusb 0.1.12 This is a libusb, handle a usb transaction f
ii libwww-perl 5.805
ii libxml2 2
ii libxslt 1.1.24
ii lighttpd 1.4.23
ii linux-pam 0.99.9.0 This is a Password Authentication Module.
ii logrotate 3.7.1-2 This is a logrotate utilities.
ii lprmd 1.00 lprmd command
ii lprng 3.8.A-1 This is a LPRng daemon.
ii ls-sonar-lsprc 1.00 This is a ls_sonar_lsprcvd.
ii lsof 4.81
ii mail-notificat 1.00 This is a mail_notification module.
ii marvell-sdk2.0 1.00 This is a rootfs, constructed by marvell sdk
ii marvell-tools 1.00 Marvell debug tools, include mv_eth_tool etc
ii mdadm 3.1.2
ii mdnsresponder 107.6
ii module-build 0.28.08
ii module-init-to 3.2.2 This is a module-init-tools, kernel module c
ii mt-daapd 1586 This is a mt-daapd, it's a itune server.
ii mtd-utils 1.0.1 mtd-utils. This package doesn't have mkfs.jf
ii mysql 5.0.70
ii nas-feature-ut 2.0.0 This is a nas-feature-utils.
ii nas-fw-arm 1.00 This is a buffalo nas firmware base package.
ii ncurses 5.6
ii net-server 0.97
ii netatalk 2.0.3-cjk6 This is a netatalk utility.
ii nkf 2.1.1-20100115 This is a nkf utility.
ii nrtools 20100204 nrtool
ii ntp 4.2.0a Network Time Protocol suite/programs
ii ntpclient 1.00 This is a ntpclient utility.
ii nut 2.4.3 nut : Network Ups Tool
ii omronupsopener 1.0 This is a omronupsd.
ii onlineupdate beta18
ii openldap 2.3.11 This is a openldap utility.
ii openssh 3.7.1p2 This is a openssh utility.
ii openssl 0.9.8i This is a openssl utility.
ii openswan 2.6.21 openswan
ii package-consta 0.01
ii pam-smb 1.1.7 This is a pam_smb_auth liblary.
ii parted 1.8.8 This is a parted, block device partitioning
ii perl 5.8.8
ii php 5.2.10
ii phpmyadmin 3.2.2
ii popt 1.10.4 This is a popt utility.
ii ppp 2.4.4 ppp
ii proftpd 1.3.0 This is a proftpd, ftp service daemon.
ii psmisc 22.6
ii python 2.6.2
ii qdbm 1.8.46 This is a qdbm, quickly database management
ii readline 5.2
ii rpc-xml 0.59
ii rsfwd 20050509 rsfwdc, rsfwds
ii rsync 3.0.3-0.01 This is a rsync, buckup utility.
ii ruby 1.8.7
ii samba 3.0.30 This is a SMB & NMB server daemon.
ii scalar-list-ut 1.19
ii sg3_utils 1.25 Apps for querying the sg SCSI interface
ii shadow 4.1.2.2
ii sleeptimer 1.00 This is a SleepTimer module.
ii smartmontools 5.37 This is a smartmontools, smart control utili
ii speedycgi 2.22
ii sqlite 2.8.16
ii sqlite3 3.6.14.2
ii squeezebox 7.5.1 Squeezebox Server
ii ssmtp 2.61 Extremely simple MTA to get mail off the sys
ii strace 4.5.15 This is a strace, system call trace utility.
ii sxuptp 2.6.31.8
ii sysklogd 1.5 This is a sysklogd, system logging daemon.
ii t1lib 1
ii tar 0.18 This is a tar, archiver utility.
ii tiff 3.8.2
ii tmail 1.0.1.0 This is a tmail package.
ii twonky 2.00-20081209 Twonky!!!
ii tzdata 2009t zoneinfo files.
ii udev 124
ii unzip 5.52 This is a unzip, extract file zip format com
ii uri 1.38
ii vim 7.2.182
ii webaccess-mobi beta18
ii webaxs3 3.30 WebAxs 3
ii wget 1.11.4 wget-1.11.4
ii xfsprogs 2.9.4 This is a xfsprogs utility.
ii xl2tpd 1.2.4 xl2tpd
ii xml-libxml 1.66
ii xml-libxml-com 0.13
ii xml-namespaces 1.09
ii xml-parser 2.36
ii xml-sax 0.16
ii yaml 0.68
ii zlib 1.2.3 This is a zlib utility.
root@LS-VL9F3:~# dpkg -l apt
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
ii apt 0.6.46.4-0.1 This is a dpkg, package manager.
root@LS-VL9F3:~# parted -s /dev/sda print
Model: SAMSUNG HD103SI (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Number Start End Size File system Name Flags
1 1049kB 1026MB 1024MB ext3 primary
2 1026MB 6146MB 5120MB ext3 primary
3 6146MB 6147MB 1049kB primary
4 6147MB 6148MB 1049kB primary
5 6148MB 7172MB 1024MB linux-swap primary
6 7172MB 992GB 985GB xfs primary
root@LS-VL9F3:~# netstat -a
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:9090 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:printer 0.0.0.0:* LISTEN
tcp 0 0 localhost.localdomain:9092 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:9001 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:3689 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:8873 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:rsync 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:mysql 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:netbios-ssn 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:59822 0.0.0.0:* LISTEN
tcp 0 0 LS-VL9F3:50000 0.0.0.0:* LISTEN
tcp 0 0 localhost.localdomain:50000 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:59824 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:http 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:tproxy 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:14930 0.0.0.0:* LISTEN
tcp 0 0 LS-VL9F3:9010 0.0.0.0:* LISTEN
tcp 0 0 localhost.localdomain:9010 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:ssh 0.0.0.0:* LISTEN
tcp 0 0 localhost.localdomain:8888 0.0.0.0:* LISTEN
tcp 0 0 LS-VL9F3:9050 0.0.0.0:* LISTEN
tcp 0 0 localhost.localdomain:9050 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:3483 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:22939 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:https 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:microsoft-ds 0.0.0.0:* LISTEN
netstat: no support for 'AF INET6 (tcp)' on this system
udp 0 0 LS-VL9F3:netbios-ns 0.0.0.0:*
udp 0 0 0.0.0.0:netbios-ns 0.0.0.0:*
udp 0 0 LS-VL9F3:netbios-dgm 0.0.0.0:*
udp 0 0 0.0.0.0:netbios-dgm 0.0.0.0:*
udp 0 0 0.0.0.0:22936 0.0.0.0:*
udp 0 0 0.0.0.0:3483 0.0.0.0:*
udp 0 0 0.0.0.0:22939 0.0.0.0:*
udp 0 0 0.0.0.0:34850 0.0.0.0:*
udp 0 0 0.0.0.0:59821 0.0.0.0:*
udp 0 0 0.0.0.0:59823 0.0.0.0:*
udp 0 0 0.0.0.0:43960 0.0.0.0:*
udp 0 0 0.0.0.0:bootpc 0.0.0.0:*
udp 0 0 0.0.0.0:tftp 0.0.0.0:*
udp 0 0 0.0.0.0:36814 0.0.0.0:*
udp 0 0 0.0.0.0:5353 0.0.0.0:*
udp 0 0 0.0.0.0:5353 0.0.0.0:*
udp 0 0 239.255.255.250:1900 0.0.0.0:*
udp 0 0 LS-VL9F3:1900 0.0.0.0:*
netstat: no support for 'AF INET6 (udp)' on this system
netstat: no support for 'AF INET6 (raw)' on this system
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags Type State I-Node Path
unix 2 [ ACC ] STREAM LISTENING 3868 /var/run/lighttpd/lighttpd-fastcgi-php-2308.socket-2
unix 2 [ ACC ] STREAM LISTENING 3892 /var/run/lighttpd/lighttpd-fastcgi-php-2308.socket-3
unix 2 [ ] DGRAM 406 @/org/kernel/udev/udevd
unix 2 [ ACC ] STREAM LISTENING 4242 /var/run/mysqld/mysqld.sock
unix 2 [ ACC ] STREAM LISTENING 4698 /mnt/disk1/spool/slim-data/squeezebox-mysql.sock
unix 11 [ ] DGRAM 3010 /dev/log
unix 2 [ ACC ] STREAM LISTENING 3551 /var/run/lprng
unix 2 [ ACC ] STREAM LISTENING 3812 /var/run/lighttpd/lighttpd-fastcgi-php-2308.socket-0
unix 2 [ ACC ] STREAM LISTENING 3821 /var/run/lighttpd/lighttpd-fastcgi-php-2308.socket-1
unix 2 [ ] DGRAM 4672
unix 2 [ ] DGRAM 4395
unix 2 [ ] DGRAM 3934
unix 2 [ ] DGRAM 3457
unix 2 [ ] DGRAM 3454
unix 2 [ ] DGRAM 3412
unix 2 [ ] DGRAM 3231
unix 2 [ ] DGRAM 3019
unix 2 [ ] DGRAM 3013
root@LS-VL9F3:~#
まだ設定してないから、こうしてもダメ。
root@LS-VL9F3:~# apt-get install inetutils-ftpd
Reading package lists... Done
Building dependency tree... Done
E: Couldn't find package inetutils-ftpd
root@LS-VL9F3:~# which ar arは無いように見えるだけだ。 busybox --help
root@LS-VL9F3:~# ln -s /bin/busybox /usr/local/bin/ar