[PLUG] Debugging odd effect a Slackware machine has on a network printer

Richard C. Steffens rsteff at comcast.net
Fri Feb 29 01:03:53 UTC 2008


Finally getting to this.

Machine details: AMD-K6 3D+, 333.114 MHz, 196 Mb RAM

KDE version :	3.5.4
User:		rsteff
Hostname:	Slack-2
System:		Linux
Release:	2.4.33.3
Machine:	i586

Rich Shepard wrote:

>    Oh, check what cron jobs are set up to run on that host, too.

cron.hourly: kmod*

cron.daily: lograte* slocate*

cron.weekly: (none)

cron.monthly: (none)

root's crontab has only the instructions to run the hourly, daily,
weekly, and monthly sets.

There is no crontab for the one ordinary user, rsteff.

As far as what services are running, does the output of ps ax answer the
question? (It's below.)

What tool do I use on Slackware? If it's to not use a tool, but do it
from the command line, is there some tool I would need to disable?

On SuSE, I start and stop things using YaST. As I recall, the few times
I tried to configure something from the command line in SuSE, my success
rate was low; either nothing happened, or sometime later I discovered
that it had changed back. When I use YaST, it works.

The machine has been running for a couple of hours and so far, no issue
with the network printer. On the other hand, my wife reminds me that it
was several days before the problem showed up. I don't recall if that's
true, but I have no reason to doubt her, either.

One other issue for now: SAMBA is working, and I can see the files on
Slack-2 from this machine. httpd is running, and from Firefox on Slack-2
I can connect to http://localhost/ and see index.html correctly
displayed. However, I can't connect to it from Firefox on this machine.
If I enter slack-2 in the Firefox address box, I get a Google page. On
the other hand, if I enter slack-2 in the Firefox address box on my XP
laptop, I do get the right page. Also, I can ssh from Slack-2 to this
machine, but not from this machine to Slack-2.

> ssh slack-2
ssh: slack-2: Name or service not known

That sounds like a problem on this machine, but I don't know what to
look for.

-- 
Regards,

Dick Steffens

output of ps ax

  PID TTY      STAT   TIME COMMAND
    1 ?        S      0:04 init [3]
    2 ?        S      0:00 [keventd]
    3 ?        SN     0:00 [ksoftirqd_CPU0]
    4 ?        S      0:00 [kswapd]
    5 ?        S      0:00 [bdflush]
    6 ?        S      0:00 [kupdated]
   10 ?        S<     0:00 [mdrecoveryd]
   11 ?        S      0:00 [kreiserfsd]
   75 ?        Ss     0:00 /usr/sbin/syslogd
   78 ?        Ss     0:00 /usr/sbin/klogd -c 3 -x
  331 ?        S      0:00 [khubd]
 1644 ?        Ss     0:00 /usr/sbin/inetd
 1648 ?        Ss     0:00 /usr/sbin/sshd
 1666 ?        Ss     0:00 /sbin/rpc.portmap
 1675 ?        Ss     0:00 /sbin/rpc.statd
 1678 ?        Ss     0:00 /usr/sbin/rpc.rquotad
 1680 ?        S      0:00 [nfsd]
 1681 ?        S      0:00 [lockd]
 1682 ?        S      0:00 [rpciod]
 1683 ?        S      0:00 [nfsd]
 1684 ?        S      0:00 [nfsd]
 1685 ?        S      0:00 [nfsd]
 1686 ?        S      0:00 [nfsd]
 1687 ?        S      0:00 [nfsd]
 1688 ?        S      0:00 [nfsd]
 1689 ?        S      0:00 [nfsd]
 1691 ?        Ss     0:00 /usr/sbin/rpc.mountd
 1705 ?        Ss     0:00 /usr/sbin/cupsd
 1722 ?        S      0:00 /usr/sbin/crond -l10
 1724 ?        Ss     0:00 /usr/sbin/atd -b 15 -l 1
 1735 ?        S      0:00 /bin/sh /usr/bin/mysqld_safe
--datadir=/var/lib/mysql --pid-file=/var/run/mysql/mysql.pid
--skip-networking
 1760 ?        S      0:00 /usr/libexec/mysqld --basedir=/usr
--datadir=/var/lib/mysql --user=mysql
--pid-file=/var/run/mysql/mysql.pid --skip-locking --skip-networking
 1761 ?        S      0:00 /usr/libexec/mysqld --basedir=/usr
--datadir=/var/lib/mysql --user=mysql
--pid-file=/var/run/mysql/mysql.pid --skip-locking --skip-networking
 1762 ?        S      0:00 /usr/libexec/mysqld --basedir=/usr
--datadir=/var/lib/mysql --user=mysql
--pid-file=/var/run/mysql/mysql.pid --skip-locking --skip-networking
 1763 ?        S      0:00 /usr/libexec/mysqld --basedir=/usr
--datadir=/var/lib/mysql --user=mysql
--pid-file=/var/run/mysql/mysql.pid --skip-locking --skip-networking
 1764 ?        S      0:00 /usr/libexec/mysqld --basedir=/usr
--datadir=/var/lib/mysql --user=mysql
--pid-file=/var/run/mysql/mysql.pid --skip-locking --skip-networking
 1765 ?        S      0:00 /usr/libexec/mysqld --basedir=/usr
--datadir=/var/lib/mysql --user=mysql
--pid-file=/var/run/mysql/mysql.pid --skip-locking --skip-networking
 1767 ?        S      0:00 /usr/libexec/mysqld --basedir=/usr
--datadir=/var/lib/mysql --user=mysql
--pid-file=/var/run/mysql/mysql.pid --skip-locking --skip-networking
 1768 ?        S      0:00 /usr/libexec/mysqld --basedir=/usr
--datadir=/var/lib/mysql --user=mysql
--pid-file=/var/run/mysql/mysql.pid --skip-locking --skip-networking
 1769 ?        S      0:00 /usr/libexec/mysqld --basedir=/usr
--datadir=/var/lib/mysql --user=mysql
--pid-file=/var/run/mysql/mysql.pid --skip-locking --skip-networking
 1770 ?        S      0:00 /usr/libexec/mysqld --basedir=/usr
--datadir=/var/lib/mysql --user=mysql
--pid-file=/var/run/mysql/mysql.pid --skip-locking --skip-networking
 1771 ?        Ss     0:00 /usr/sbin/httpd
 1773 ?        S      0:00 /usr/sbin/httpd
 1774 ?        S      0:00 /usr/sbin/httpd
 1775 ?        S      0:00 /usr/sbin/httpd
 1776 ?        S      0:00 /usr/sbin/httpd
 1777 ?        S      0:00 /usr/sbin/httpd
 1778 ?        Ss     0:00 /usr/sbin/smbd -D
 1780 ?        S      0:00 /usr/sbin/smbd -D
 1781 ?        Ss     0:00 /usr/sbin/nmbd -D
 1783 ?        Ss     0:00 /usr/sbin/gpm -m /dev/mouse -t ps2
 1786 tty2     Ss+    0:00 /sbin/agetty 38400 tty2 linux
 1787 tty3     Ss+    0:00 /sbin/agetty 38400 tty3 linux
 1788 tty4     Ss+    0:00 /sbin/agetty 38400 tty4 linux
 1789 tty5     Ss+    0:00 /sbin/agetty 38400 tty5 linux
 1790 tty6     Ss+    0:00 /sbin/agetty 38400 tty6 linux
 2118 ?        S      0:00 /usr/sbin/httpd
 2385 tty1     Ss     0:00 -bash
 2397 tty1     S+     0:00 /bin/sh /usr/X11R6/bin/startx
 2413 tty1     S+     0:00 /usr/X11R6/bin/xinit
/usr/X11R6/lib/X11/xinit/xinitrc -- -auth /home/rsteff/.serverauth.2397
 2414 tty7     Rs+    0:34 X :0 -auth /home/rsteff/.serverauth.2397
 2418 tty1     S      0:00 /bin/sh /usr/X11R6/lib/X11/xinit/xinitrc
 2419 tty1     S      0:00 /bin/sh /opt/kde/bin/startkde
 2450 ?        Ss     0:00 kdeinit Running...
 2453 ?        S      0:00 kdeinit: dcopserver --nosid
 2455 ?        S      0:00 kdeinit: klauncher --new-startup
 2457 ?        S      0:02 kdeinit: kded --new-startup
 2462 tty1     S      0:00 kwrapper ksmserver
 2464 ?        S      0:00 kdeinit: ksmserver
 2465 ?        S      0:03 kdeinit: kwin -session
10be999363000117737367000000021290000_1204248274_500060
 2467 ?        S      0:03 kdeinit: kdesktop
 2469 ?        S      0:05 kdeinit: kicker
 2470 ?        S      0:00 kdeinit: kio_file file
/tmp/ksocket-rsteff/klauncheroh4Gta.slave-socket
/tmp/ksocket-rsteff/kdesktopfzikJa.slave-socket
 2474 ?        S      0:07 artsd -F 10 -S 4096 -s 60 -m artsmessage -c
drkonqi -l 3 -f
 2476 ?        S      0:00 kdeinit: kaccess
 2479 ?        S      0:01 kdeinit: kmix -session
10be999363000117856313200000025010010_1204248274_429010
 2482 ?        S      0:00 kdeinit: klipper
 2485 ?        S      0:00 kdeinit: knotify
 2486 ?        S      0:01 korgac --miniicon korganizer
 2487 ?        S      0:00 artsd -F 10 -S 4096 -s 60 -m artsmessage -c
drkonqi -l 3 -f
 2505 ?        S      0:00 /bin/sh /usr/bin/thunderbird
 2516 ?        S      0:00 /bin/sh
/usr/lib/thunderbird-1.5.0.7/run-mozilla.sh
/usr/lib/thunderbird-1.5.0.7/thunderbird-bin
 2521 ?        S      0:34 /usr/lib/thunderbird-1.5.0.7/thunderbird-bin
 2530 ?        S      0:00 /usr/lib/thunderbird-1.5.0.7/thunderbird-bin
 2531 ?        S      0:00 /usr/lib/thunderbird-1.5.0.7/thunderbird-bin
 2532 ?        S      0:00 /usr/lib/thunderbird-1.5.0.7/thunderbird-bin
 2543 ?        S      0:08 kdeinit: konqueror --silent
 2545 ?        S      0:00 kdeinit: kio_file file
/tmp/ksocket-rsteff/klauncheroh4Gta.slave-socket
/tmp/ksocket-rsteff/konquerorUSbYPb.slave-socket
 2546 ?        S      0:00 kdeinit: kio_file file
/tmp/ksocket-rsteff/klauncheroh4Gta.slave-socket
/tmp/ksocket-rsteff/konquerorcW7Bpc.slave-socket
 2547 ?        S      0:00 kdeinit: kio_file file
/tmp/ksocket-rsteff/klauncheroh4Gta.slave-socket
/tmp/ksocket-rsteff/konquerorGyxIsa.slave-socket
 2548 ?        S      0:00 kdeinit: kio_file file
/tmp/ksocket-rsteff/klauncheroh4Gta.slave-socket
/tmp/ksocket-rsteff/konquerorPKKZHb.slave-socket
 2556 ?        S      0:00 kdeinit: kio_system system
/tmp/ksocket-rsteff/klauncheroh4Gta.slave-socket
/tmp/ksocket-rsteff/kickerZqEbjc.slave-socket
 2564 ?        S      0:00 kdeinit: kio_trash trash
/tmp/ksocket-rsteff/klauncheroh4Gta.slave-socket
/tmp/ksocket-rsteff/kio_system0garhb.slave-socket
 2565 ?        S      0:01 kdeinit: konsole --ls
 2566 pts/1    Ss     0:00 -bash
 2582 ?        S      0:00 /opt/kde/bin/kdesud
 2599 ?        S      0:00 kdeinit: kio_uiserver
 2601 pts/1    R+     0:00 ps ax



More information about the PLUG mailing list