Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

smb_panic when adding printer

Posted on 2003-03-20
8
Medium Priority
?
285 Views
Last Modified: 2010-03-18
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(38)
  ===============================================================
[2003/03/06 10:29:09, 0] lib/fault.c:fault_report(39)
  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(41)
  ===============================================================
[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_list_changed(2297)
  lp_file_list_changed()
  file /usr/local/samba/lib/smb.conf -> /usr/local/samba/lib/smb.conf
last mod_time: Thu Mar  6 10:24:53 2003

---END LOG EXTRACT---

Thanks people,
Matt Magin
0
Comment
Question by:matt4013
7 Comments
 

Author Comment

by:matt4013
ID: 8215685
Surely somebody out there has come across something like this? Guess I'm just going to have to submit a bug report :(
0
 
LVL 2

Expert Comment

by:mjdme
ID: 8580129
[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
0
 
LVL 2

Expert Comment

by:mjdme
ID: 8580169
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

Expert Comment

by:CleanupPing
ID: 9077608
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.
0
 

Author Comment

by:matt4013
ID: 9078353
the question was not answered. I would still like an answer if anybody knows, but if this is unacceptable, then please close the question.
0
 
LVL 2

Expert Comment

by:mjdme
ID: 9080629
0
 

Accepted Solution

by:
modulo earned 0 total points
ID: 13515770
PAQed with points refunded (475)

modulo
Community Support Moderator
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?
Suggested Courses
Course of the Month10 days, 6 hours left to enroll

569 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question