>[оверквотинг удален]
>>hpssd_enable: not found
>>
>>и соответственно не запускаеться cups сервер, что это за ошибки и почему
>>они возникают, как с ними справиться.
>>Всем заранее спасибо.
>
>cat /usr/local/etc/rc.d/cupsd.sh ?
>
>echo "cupsd_enable=YES" >> rc.conf
>и далее по аналогии? мой файл /usr/local/etc/rc.d/cupsd.sh
----------------------------------------------------------------------------------
#!/bin/sh
#
# $FreeBSD: ports/print/cups-base/files/cupsd.in,v 1.1 2006/01/27 11:28:06 dougb Exp $
#
# PROVIDE: cupsd
# REQUIRE: DAEMON
# KEYWORD: shutdown
#
# Add the following to /etc/rc.conf[.local] to enable this service
#
# cupsd_enable="YES"
#
. /etc/rc.subr
name=cupsd
rcvar=`set_rcvar`
start_precmd=${name}_prestart
command=/usr/local/sbin/cupsd
extra_commands=reload
cupsd_prestart()
{
if [ -n "$TZ" ]; then
export TZ
fi
}
load_rc_config ${name}
: ${cupsd_enable=NO}
run_rc_command "$1"
----------------------------------------------------------------------------------
мой файл rc.conf
----------------------------------------------------------------------------------
# -- sysinstall generated deltas -- # Mon Sep 21 10:04:50 2009
# Created: Mon Sep 21 10:04:50 2009
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
#Russia language
keymap="ru.koi8-r.win"
#keychange="61 ^[[K"
scrnmap="koi8-r2cp866"
font8x14="cp866-8x14"
font8x16="cp866b-8x16"
font8x8="cp866-8x8"
mousechar_start="3"
#------------------Net------------------
ifconfig_nfe0="DHCP"
hostname="main.tks"
#------------------Start LDAP Server------------------
slapd_enable="YES"
slapd_flags="-h 'ldapi:///var/run/openldap/ldapi/ ldap://0.0.0.0/ ldap://127.0.0.1/'"
#slapd_sockets="/var/run/openldap/ldapi"
#------------------Start Samba------------------
samba_enable="YES"
#------------------Start CUPS------------------(printers server)
cupsd_enable = "YES"
hpiod_enable = "YES"
hpssd_enable = "YES"
devfs_system_ruleset="system"
----------------------------------------------------------------------------------
также мой файл cupsd.conf
----------------------------------------------------------------------------------
#
# "$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 wheel
# Only listen for connections from the local machine.
Listen localhost:631
Listen /var/run/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>
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 $".
#
----------------------------------------------------------------------------------
в чем тут может быть проблема почему у меня выдает ошибку
cupsd_enable: not found
hpiod_enable: not found
hpssd_enable: not found
при запуске cups
Всем заранее спасибо.