今後のためにメモ。もちろんtelnetは使える状況。
ps ax。
PID TTY STAT TIME COMMAND 1 ? S 0:03 init [2] 2 ? SN 0:00 [ksoftirqd/0] 3 ? S< 0:00 [events/0] 4 ? S< 0:00 [khelper] 5 ? S< 0:00 [kthread] 15 ? S< 0:00 [kblockd/0] 18 ? S 0:00 [khubd] 49 ? S 0:00 [pdflush] 50 ? S 0:00 [pdflush] 52 ? S< 0:00 [aio/0] 53 ? S< 0:00 [xfslogd/0] 54 ? S< 0:00 [xfsdatad/0] 51 ? S 0:00 [kswapd0] 55 ? S 0:00 [xfsbufd] 193 ? S 0:00 [scsi_eh_0] 194 ? S 0:00 [scsi_eh_1] 195 ? S 0:00 [scsi_eh_2] 196 ? S 0:00 [scsi_eh_3] 212 ? S 0:00 [mtdblockd] 305 ? S 0:00 [md1_raid1] 308 ? S 0:00 [md2_raid1] 311 ? S 0:00 [md5_raid1] 314 ? S 0:00 [md6_raid1] 397 ? S 0:00 [kjournald] 547 ? S 0:00 [kjournald] 548 ? S 0:00 [kjournald] 784 ? Ss 0:00 /sbin/syslogd -m 0 -b 99 -s 49 801 ? Ss 0:00 /usr/sbin/slpd 810 ? Ss 0:00 /usr/sbin/cron 814 ? Ss 0:00 /usr/sbin/xinetd -stayalive -pidfile /var/run/xinetd.pid 818 ? Ss 0:00 /usr/sbin/apache2 -k start -DSSL 823 ? S 0:00 /usr/sbin/apache2 -k start -DSSL 824 ? S 0:00 /usr/sbin/apache2 -k start -DSSL 826 ? S 0:00 /usr/sbin/apache2 -k start -DSSL 828 ? S 0:00 /usr/sbin/apache2 -k start -DSSL 829 ? S 0:00 /usr/sbin/apache2 -k start -DSSL 834 ? S 0:00 /usr/local/bin/HDLFind 835 ? SNs 0:00 /usr/sbin/preload -l /dev/null 836 ? Ss 0:00 /sbin/mdadm -F -i /var/run/mdadm.pid -f -s -p /etc/mdadm/mdadm.handler -d 10 936 ? S 0:00 /usr/local/bin/buttond 939 ? S 0:00 /usr/local/bin/usbhdmng 1413 ? S 0:00 /bin/sh /etc/init.d/netatalk start 1421 ? S 0:00 /usr/sbin/atalkd 1429 ? Ss 0:00 /usr/sbin/nmbd -D 1431 ? Ss 0:00 /usr/sbin/smbd -D 1434 ? S 0:00 /usr/sbin/smbd -D 1456 ? Ss 0:00 /usr/sbin/telnetd 1463 ttyS0 Ss+ 0:00 /sbin/getty -L ttyS0 115200 vt102 1464 ? S 0:00 /usr/sbin/smbd -D 1465 pts/0 Ss 0:00 -bash 1470 ? S 0:00 /usr/bin/nbprgstr -p 4 landisk:netatalk 1471 pts/0 R+ 0:00 ps ax
pstree。
init─┬─HDLFind ├─afpd ├─apache2─┬─apache2 │ └─apache2───apache2───2*[apache2] ├─atalkd ├─buttond ├─cnid_metad ├─cron ├─events/0 ├─getty ├─khelper ├─khubd ├─3*[kjournald] ├─ksoftirqd/0 ├─kswapd0 ├─kthread─┬─aio/0 │ ├─kblockd/0 │ ├─2*[pdflush] │ ├─xfsdatad/0 │ └─xfslogd/0 ├─md1_raid1 ├─md2_raid1 ├─md5_raid1 ├─md6_raid1 ├─mdadm ├─mtdblockd ├─nmbd ├─papd ├─preload ├─scsi_eh_0 ├─scsi_eh_1 ├─scsi_eh_2 ├─scsi_eh_3 ├─slpd ├─smbd───2*[smbd] ├─syslogd ├─telnetd───bash───pstree ├─usbhdmng ├─xfsbufd └─xinetd
起動時の/var/log/messages(telnet rootログイン、afp接続含む)
Jan 12 xx:30:34 landisk syslog.info syslogd started: BusyBox v1.00 (2005.02.17-07:18+0000) Jan 12 xx:30:38 landisk daemon.err smbd[797]: [2010/01/12 xx:30:38, 0] printing/print_cups.c:cups_cache_reload(85) Jan 12 xx:30:38 landisk daemon.err smbd[797]: Unable to connect to CUPS server localhost - Connection refused Jan 12 xx:30:38 landisk daemon.err smbd[797]: [2010/01/12 xx:30:38, 0] printing/print_cups.c:cups_cache_reload(85) Jan 12 xx:30:38 landisk daemon.err smbd[797]: Unable to connect to CUPS server localhost - Connection refused Jan 12 xx:30:38 landisk cron.info /usr/sbin/cron[809]: (CRON) INFO (pidfile fd = 3) Jan 12 xx:30:38 landisk cron.info /usr/sbin/cron[810]: (CRON) STARTUP (fork ok) Jan 12 xx:30:38 landisk cron.info /usr/sbin/cron[810]: (CRON) INFO (Skipping @reboot jobs -- not system startup) Jan 12 xx:30:38 landisk daemon.notice xinetd[814]: xinetd Version 2.3.13 started with libwrap loadavg options compiled in. Jan 12 xx:30:38 landisk daemon.notice xinetd[814]: Started working: 0 available services Jan 12 xx:30:39 landisk user.notice mdadm_handler: watch daemon started. Jan 12 xx:30:39 landisk user.notice mdadm_handler: NewArray /dev/md6 Jan 12 xx:30:39 landisk user.notice mdadm_handler: unknown_event: NewArray Jan 12 xx:30:39 landisk user.notice mdadm_handler: NewArray /dev/md5 Jan 12 xx:30:39 landisk user.notice mdadm_handler: unknown_event: NewArray Jan 12 xx:30:40 landisk user.notice mdadm_handler: NewArray /dev/md2 Jan 12 xx:30:40 landisk user.notice mdadm_handler: unknown_event: NewArray Jan 12 xx:30:40 landisk user.notice mdadm_handler: NewArray /dev/md1 Jan 12 xx:30:40 landisk user.notice mdadm_handler: unknown_event: NewArray Jan 12 xx:30:40 landisk user.notice mdadm_handler: DegradedArray /dev/md1 Jan 12 xx:30:40 landisk user.notice mdadm_handler: unknown_event: DegradedArray Jan 12 xx:30:40 landisk user.notice mdadm_handler: DegradedArray /dev/md2 Jan 12 xx:30:40 landisk user.notice mdadm_handler: unknown_event: DegradedArray Jan 12 xx:30:40 landisk user.notice mdadm_handler: DegradedArray /dev/md5 Jan 12 xx:30:41 landisk user.notice mdadm_handler: unknown_event: DegradedArray Jan 12 xx:30:41 landisk user.notice mdadm_handler: DegradedArray /dev/md6 Jan 12 xx:30:41 landisk user.notice mdadm_handler: unknown_event: DegradedArray Jan 12 xx:31:03 landisk user.info HDLservice_file: changed share setting. Jan 12 xx:31:04 landisk daemon.err nmbd[796]: [2010/01/12 xx:31:04, 0] nmbd/nmbd.c:terminate(58) Jan 12 xx:31:04 landisk daemon.err nmbd[796]: Got SIGTERM: going down... Jan 12 xx:31:06 landisk user.info HDLservice: changed service configuration. Jan 12 xx:31:06 landisk user.info hotplug: esata1: unplugged. Jan 12 xx:31:06 landisk user.info hotplug: esata1: unplugged successfully. Jan 12 xx:31:06 landisk user.info hotplug: usbp1: unplugged. Jan 12 xx:31:07 landisk user.info hotplug: usbp1: unplugged successfully. Jan 12 xx:31:07 landisk user.info hotplug: usbp2: unplugged. Jan 12 xx:31:08 landisk user.info HDLservice_file: changed share setting. Jan 12 xx:31:08 landisk user.info HDLservice: changed service configuration. Jan 12 xx:31:12 landisk user.info hotplug: usbp2: unplugged successfully. Jan 12 xx:31:12 landisk user.info hotplug: hda: plugged. Jan 12 xx:31:13 landisk user.info hotplug: hda: plugged successfully. Jan 12 xx:31:14 landisk user.info HDLservice_file: changed share setting. Jan 12 xx:31:15 landisk user.info HDLservice_file: changed share setting. Jan 12 xx:31:18 landisk daemon.info atalkd[1421]: restart (2.0.2) Jan 12 xx:31:19 landisk daemon.info atalkd[1421]: zip_getnetinfo for eth0 Jan 12 xx:31:23 landisk daemon.err smbd[1430]: [2010/01/12 xx:31:23, 0] printing/print_cups.c:cups_cache_reload(85) Jan 12 xx:31:23 landisk daemon.err smbd[1430]: Unable to connect to CUPS server localhost - Connection refused Jan 12 xx:31:23 landisk daemon.err smbd[1430]: [2010/01/12 xx:31:23, 0] printing/print_cups.c:cups_cache_reload(85) Jan 12 xx:31:23 landisk daemon.err smbd[1430]: Unable to connect to CUPS server localhost - Connection refused Jan 12 xx:31:24 landisk user.info HDLservice: changed service configuration. Jan 12 xx:31:29 landisk daemon.info atalkd[1421]: zip_getnetinfo for eth0 Jan 12 xx:31:31 landisk auth.info login[1465]: root login on `pts/0' Jan 12 xx:31:39 landisk daemon.info atalkd[1421]: zip_getnetinfo for eth0 Jan 12 xx:31:49 landisk daemon.info atalkd[1421]: config for no router Jan 12 xx:31:50 landisk daemon.err atalkd[1421]: /etc/netatalk/atalkd.tmp: Read-only file system Jan 12 xx:31:50 landisk daemon.info atalkd[1421]: ready 0/0/0 Jan 12 xx:32:03 landisk lpr.info papd[1477]: restart (2.0.2) Jan 12 xx:32:03 landisk lpr.info papd[1477]: CUPS support enabled (1.1) Jan 12 xx:32:03 landisk daemon.info afpd[1475]: Registering CNID module [last] Jan 12 xx:32:03 landisk daemon.info afpd[1475]: Registering CNID module [cdb] Jan 12 xx:32:03 landisk daemon.info afpd[1475]: Registering CNID module [dbd] Jan 12 xx:32:03 landisk daemon.debug afpd[1475]: Loading ConfigFile Jan 12 xx:32:03 landisk lpr.err papd[1477]: Unable to connect to CUPS server localhost - Connection refused\n Jan 12 xx:32:03 landisk lpr.err papd[1477]: No such CUPS printer: 'lp' Jan 12 xx:32:03 landisk lpr.err papd[1477]: printcap problem: lp Jan 12 xx:32:09 landisk lpr.info papd[1477]: Authentication disabled: landisk Jan 12 xx:32:09 landisk lpr.info papd[1477]: register landisk:LaserWriter@* Jan 12 xx:32:09 landisk daemon.info afpd[1475]: landisk:AFPServer@* started on 65280.147:130 (2.0.2) Jan 12 xx:32:09 landisk daemon.info afpd[1475]: ASIP started on 192.168.xxx.250:548(6) (2.0.2) Jan 12 xx:32:09 landisk daemon.info afpd[1475]: Sucessfully registered afp://192.168.xxx.250/?NAME=landisk&ZONE= with SRVLOC Jan 12 xx:32:09 landisk daemon.debug afpd[1475]: uam: loading (/usr/lib/netatalk/uams_guest.so) Jan 12 xx:32:09 landisk daemon.info afpd[1475]: uam: uams_guest.so loaded Jan 12 xx:32:09 landisk daemon.debug afpd[1475]: uam: loading (/usr/lib/netatalk/uams_clrtxt.so) Jan 12 xx:32:09 landisk daemon.info afpd[1475]: uam: uams_clrtxt.so loaded Jan 12 xx:32:09 landisk daemon.debug afpd[1475]: uam: loading (/usr/lib/netatalk/uams_dhx.so) Jan 12 xx:32:09 landisk daemon.info afpd[1475]: uam: uams_dhx.so loaded Jan 12 xx:32:09 landisk daemon.info afpd[1475]: uam: "DHCAST128" available Jan 12 xx:32:09 landisk daemon.info afpd[1475]: uam: "Cleartxt Passwrd" available Jan 12 xx:32:09 landisk daemon.info afpd[1475]: uam: "No User Authent" available Jan 12 xx:32:09 landisk daemon.debug afpd[1475]: Finished parsing Config File Jan 12 xx:32:13 landisk daemon.info afpd[1479]: ASIP session:548(6) from 192.168.xxx.2:49898(8) Jan 12 xx:32:13 landisk daemon.info afpd[1475]: server_child[1] 1479 done Jan 12 xx:32:14 landisk daemon.info afpd[1480]: ASIP session:548(6) from 192.168.xxx.2:49899(8) Jan 12 xx:32:14 landisk daemon.info afpd[1480]: dhx login: user Jan 12 xx:32:14 landisk daemon.info afpd[1480]: uams_dhx_pam.c :PAM: PAM Success Jan 12 xx:32:14 landisk auth.info afpd[1480]: (pam_unix) session opened for user user by (uid=0) Jan 12 xx:32:14 landisk daemon.info afpd[1480]: uams_dhx_pam.c :PAM: PAM Auth OK! Jan 12 xx:32:14 landisk daemon.info afpd[1480]: login user (uid 1002, gid 1002) AFP3.1 Jan 12 xx:32:16 landisk daemon.info cnid_dbd[1481]: Setting uid/gid to 99/1000 Jan 12 xx:32:16 landisk daemon.info cnid_dbd[1481]: Startup, DB dir /mnt/hda6/share/share/.AppleDB Jan 12 xx:32:16 landisk daemon.info afpd[1480]: ipc_write: command: 2, pid: 1480, msglen: 24 Jan 12 xx:32:16 landisk daemon.info afpd[1475]: ipc_read: command: 2, pid: 1480, len: 24 Jan 12 xx:32:16 landisk daemon.info afpd[1475]: Setting clientid (len 16) for 1480, boottime 4B4BEF7F Jan 12 xx:32:16 landisk daemon.info afpd[1475]: ipc_get_session: len: 24, idlen 16, time 4b4bef7f Jan 12 xx:32:16 landisk daemon.err afpd[1480]: bad function 4C Jan 12 xx:32:16 landisk daemon.info afpd[1482]: ASIP session:548(6) from 192.168.xxx.2:49900(8) Jan 12 xx:32:16 landisk daemon.info afpd[1475]: server_child[1] 1482 done Jan 12 xx:32:17 landisk daemon.info afpd[1483]: ASIP session:548(6) from 192.168.xxx.2:49901(8) Jan 12 xx:32:17 landisk daemon.info afpd[1484]: ASIP session:548(6) from 192.168.xxx.2:49902(8) Jan 12 xx:32:17 landisk daemon.info afpd[1475]: server_child[1] 1483 done Jan 12 xx:32:17 landisk daemon.info afpd[1475]: server_child[1] 1484 done