matt4013
asked on
smb_panic when adding printer
Hi there,
I'm in the process of building up a new RedHat Linux Server for my
company, to be used as a file and print server. I've got most of the
way through it, but I'm having trouble setting up the printing share.
I can share the printer, and print from a windows client BUT, only if
I install the driver manually from the driver CD. I need to set it up
so that the user can just browse to the server, double-click on the
printer, and bang, it's all installed, so they need to be able to
download the driver from the server.
I've done a bit of searching, and found that I needed to set up a
[print$] share, which I have done. I get most of the way through
adding a printer driver (to the point where the files are copied to
the server), then it fails and returns the message: "Unable to install
Lexmark Optra C710 PS3, Windows NT 4.0 or 2000, Intel. Operation could
not be completed". It then just prompts me to do it all over again.
This same message happens for all printers I've tried (Different
driver name obviously). The log file is giving me smb_panic Internal
Server Error.
I'm stumped. I've been searching around for days trying to find
something on this, through docs, mailing list archives, anything, but
nothing has helped. Any help would be greatly appreciated. Included is
my smb.conf file, so you can see what I've got, as well as the extract
of the logs where I'm getting said error.
---START SMB.CONF---
[global]
workgroup = CMVHODOM
netbios name = HTCLINUX1
server string = HTC Linux File Server
security = SHARE
encrypt passwords = Yes
map to guest = Bad User
admin log = Yes
log level = 10
syslog only = Yes
log file = /var/log/samba/%m.log
printcap name = lpstat
dns proxy = No
printing = lprng
printer admin = mmagin
[homes]
guest account =
valid users = %S
read only = No
create mask = 0664
directory mask = 0775
browseable = No
[cmvlex720]
path = /tmp
printable = Yes
postscript = Yes
printer name = cmvlex720
[print$]
path = /usr/local/samba/printers
write list = mmagin
read only = No
create mask = 0777
directory mask = 0777
guest ok = Yes
writeable = Yes
---END SMB.CONF---
---START LOG EXTRACT---
[2003/03/06 10:29:09, 5]
printing/nt_printing.c:add _a_printer _driver_3( 1645)
add_a_printer_driver_3: Adding driver with key
DRIVERS/W32X86/3/Lexmark Optra C710 PS3
[2003/03/06 10:29:09, 0] lib/fault.c:fault_report(3 8)
========================== ========== ========== ========== =======
[2003/03/06 10:29:09, 0] lib/fault.c:fault_report(3 9)
INTERNAL ERROR: Signal 11 in pid 2411 (2.2.7a)
Please read the file BUGS.txt in the distribution
[2003/03/06 10:29:09, 0] lib/fault.c:fault_report(4 1)
========================== ========== ========== ========== =======
[2003/03/06 10:29:09, 0] lib/util.c:smb_panic(1094)
PANIC: internal error
[2003/03/06 10:29:09, 6] param/loadparm.c:lp_file_l ist_change d(2297)
lp_file_list_changed()
file /usr/local/samba/lib/smb.c onf -> /usr/local/samba/lib/smb.c onf
last mod_time: Thu Mar 6 10:24:53 2003
---END LOG EXTRACT---
Thanks people,
Matt Magin
I'm in the process of building up a new RedHat Linux Server for my
company, to be used as a file and print server. I've got most of the
way through it, but I'm having trouble setting up the printing share.
I can share the printer, and print from a windows client BUT, only if
I install the driver manually from the driver CD. I need to set it up
so that the user can just browse to the server, double-click on the
printer, and bang, it's all installed, so they need to be able to
download the driver from the server.
I've done a bit of searching, and found that I needed to set up a
[print$] share, which I have done. I get most of the way through
adding a printer driver (to the point where the files are copied to
the server), then it fails and returns the message: "Unable to install
Lexmark Optra C710 PS3, Windows NT 4.0 or 2000, Intel. Operation could
not be completed". It then just prompts me to do it all over again.
This same message happens for all printers I've tried (Different
driver name obviously). The log file is giving me smb_panic Internal
Server Error.
I'm stumped. I've been searching around for days trying to find
something on this, through docs, mailing list archives, anything, but
nothing has helped. Any help would be greatly appreciated. Included is
my smb.conf file, so you can see what I've got, as well as the extract
of the logs where I'm getting said error.
---START SMB.CONF---
[global]
workgroup = CMVHODOM
netbios name = HTCLINUX1
server string = HTC Linux File Server
security = SHARE
encrypt passwords = Yes
map to guest = Bad User
admin log = Yes
log level = 10
syslog only = Yes
log file = /var/log/samba/%m.log
printcap name = lpstat
dns proxy = No
printing = lprng
printer admin = mmagin
[homes]
guest account =
valid users = %S
read only = No
create mask = 0664
directory mask = 0775
browseable = No
[cmvlex720]
path = /tmp
printable = Yes
postscript = Yes
printer name = cmvlex720
[print$]
path = /usr/local/samba/printers
write list = mmagin
read only = No
create mask = 0777
directory mask = 0777
guest ok = Yes
writeable = Yes
---END SMB.CONF---
---START LOG EXTRACT---
[2003/03/06 10:29:09, 5]
printing/nt_printing.c:add
add_a_printer_driver_3: Adding driver with key
DRIVERS/W32X86/3/Lexmark Optra C710 PS3
[2003/03/06 10:29:09, 0] lib/fault.c:fault_report(3
==========================
[2003/03/06 10:29:09, 0] lib/fault.c:fault_report(3
INTERNAL ERROR: Signal 11 in pid 2411 (2.2.7a)
Please read the file BUGS.txt in the distribution
[2003/03/06 10:29:09, 0] lib/fault.c:fault_report(4
==========================
[2003/03/06 10:29:09, 0] lib/util.c:smb_panic(1094)
PANIC: internal error
[2003/03/06 10:29:09, 6] param/loadparm.c:lp_file_l
lp_file_list_changed()
file /usr/local/samba/lib/smb.c
last mod_time: Thu Mar 6 10:24:53 2003
---END LOG EXTRACT---
Thanks people,
Matt Magin
[printers]
comment = All Printers
path = /var/spool/samba
valid users = dina,lauren,matthew,mjdme
create mask = 0700
printable = Yes
print command = lpr-cups -P %p -o raw %s -r # using client side printer drivers.
lpq command = lpq -P %p
lprm command = cancel %p-%j
browseable = No
[print$]
path = /var/lib/samba/printers
valid users = dina,lauren,matthew,mjdme
write list = @adm root
set up a share with the drives and write a script to the directory, copy the drivers to the directory on the server where it looks for the drivers or just do it manually
comment = All Printers
path = /var/spool/samba
valid users = dina,lauren,matthew,mjdme
create mask = 0700
printable = Yes
print command = lpr-cups -P %p -o raw %s -r # using client side printer drivers.
lpq command = lpq -P %p
lprm command = cancel %p-%j
browseable = No
[print$]
path = /var/lib/samba/printers
valid users = dina,lauren,matthew,mjdme
write list = @adm root
set up a share with the drives and write a script to the directory, copy the drivers to the directory on the server where it looks for the drivers or just do it manually
matt4013:
This old question needs to be finalized -- accept an answer, split points, or get a refund. For information on your options, please click here-> http:/help/closing.jsp#1
EXPERTS:
Post your closing recommendations! No comment means you don't care.
This old question needs to be finalized -- accept an answer, split points, or get a refund. For information on your options, please click here-> http:/help/closing.jsp#1
EXPERTS:
Post your closing recommendations! No comment means you don't care.
ASKER
the question was not answered. I would still like an answer if anybody knows, but if this is unacceptable, then please close the question.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER