SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am using slack 12.2
I do not seem to be able to run cups
I tried http://localhost:631/ and it does not load.
I reinstalled cups.
chmod +x /etc/rc.d/rc.cups
I tried /etc/rc.d/rc.cups start
and
/etc/rc.d/rc.cups restart
I am not sure what else to do.
edit
ps ax | grep cupsd has the following results
Quote:
2875 ? Ss 0:00 /usr/sbin/cupsd
3477 ? Ss 0:00 cupsd
3525 ? Ss 0:00 cupsd -l
10679 pts/1 R+ 0:00 grep cupsd
If localhost does not work for you when you type the URL in the browser, try the IP address for localhost which is 127.0.0.1. The URL would then look like this: http://127.0.0.1:631/. But in any case, this would indicate that you messed up your /etc/hosts file which should contain (among others) the line
127.0.0.1 localhost
If that line is not present, you should add it. It's absence will break quite many network services.
NETWORK TIMEOUT
The server at 127.0.0.1 is taking too long to respond.
/etc/hosts has
127.0.0.1 localhost
/etc/cupsd.conf is the generic version
Quote:
#
# "$Id: cupsd.conf.in 7199 2008-01-08 00:16:30Z mike $"
#
# Sample configuration file for the Common UNIX Printing System (CUPS)
# scheduler. See "man cupsd.conf" for a complete description of this
# file.
#
# Log general information in error_log - change "info" to "debug" for
# troubleshooting...
LogLevel info
# Administrator user group...
SystemGroup sys root
# Only listen for connections from the local machine.
Listen localhost:631
Listen /var/run/cups/cups.sock
# Show shared printers on the local network.
Browsing On
BrowseOrder allow,deny
BrowseAllow all/\
# Default authentication type, when authentication is required...
DefaultAuthType Basic
# Restrict access to the server...
<Location />
Order allow,deny
</Location>
# Restrict access to the admin pages...
<Location /admin>
Encryption Required
Order allow,deny
</Location>
# Restrict access to configuration files...
<Location /admin/conf>
AuthType Default
Require user @SYSTEM
Order allow,deny
</Location>
# Set the default printer/job policies...
<Policy default>
# Job-related operations must be done by the owner or an administrator...
<Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job>
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
# All administration operations require an administrator to authenticate...
<Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
AuthType Default
Require user @SYSTEM
Order deny,allow
</Limit>
# All printer operations require a printer operator to authenticate...
<Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Accept-Jobs CUPS-Reject-Jobs>
AuthType Default
Require user @SYSTEM
Order deny,allow
</Limit>
# Only the owner or an administrator can cancel or authenticate a job...
<Limit Cancel-Job CUPS-Authenticate-Job>
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
<Limit All>
Order deny,allow
</Limit>
</Policy>
#
# End of "$Id: cupsd.conf.in 7199 2008-01-08 00:16:30Z mike $".
#
Starting Nmap 4.76 ( http://nmap.org ) at 2009-02-04 20:15 PST
Note: Host seems down. If it is really up, but blocking our ping probes, try -PN
Nmap done: 1 IP address (0 hosts up) scanned in 2.15 seconds
perhaps this could also be the issue
I added the following to fstab to access the slackware iso.
/backup/slackware-12.2-install-dvd.iso /iso users,iso9660 ro,loop,auto 0 0
Then run "/sbin/ifconfig lo" to see if it's set up.
If lo is ok, run (as root) "iptables -L" to see if it's blocked by firewall.
If not blocked, run (as root) "netstat -apn | grep :631" to see that cups is listening for connection.
Then run "/sbin/ifconfig lo" to see if it's set up.
If lo is ok, run (as root) "iptables -L" to see if it's blocked by firewall.
If not blocked, run (as root) "netstat -apn | grep :631" to see that cups is listening for connection.
GOOD POINT!
I should have thought of that .
I think the issue it that I removed execution for
/etc/rc.d/rc.inet1
I had setup rc.inet1.conf for eth0 and ath0, but it took up quite a bit of time when booting.
I started to use wicd because of its ease of use when changing networks.
Perhaps I need to comment out the interfaces in rc.inet1.conf instead of disabiling rc.inet1
or perhaps a better way is to add iwconfig lo up to rc.local
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.