Solved

Problems with Samba and printing

Posted on 2004-08-27
3
213 Views
Last Modified: 2010-03-18
Hi everyone.

I've been having a problem for a while, and I turn to you guys.
Here is a brief description of the environment:

Multiple Slackware 9 Workstations, used as Citrix clients (that's working wonders), also used in conjonction with Samba 2.2.0a to share a label printer on those same workstations.
Problem follows: Every once in a while, a print job is sent (always from the same software, it's called Magic (www.magicsoftware.com)) and that print jobs jams Samba.
Now, printer just stops working, and rebooting won't do any good.  I can still see the printer share if I browse the host, but it won't let me create a local port using it's share name.

I'm not the one who set that up, I don't know much about Samba, I'm actually not even sure if the problem is Samba related or if it's directly the linux printing system.

Here is my smb.conf :
---------------------------------------------------------
# Global parameters
[global]
        workgroup = OUR_DOMAIN_NAME
        netbios name = PH003L
        security = SHARE
        encrypt passwords = Yes
        update encrypted = Yes
        hosts allow = 192.168.10.

[lp]
        path = /tmp
        guest ok = Yes
        printable = Yes
----------------------------------------------------------

As you can see, the file is pretty light.  My feeling is that there is a file locked somewhere (smbstatus says no), and the ONLY way I found out of this has been to re-ghost the machine...  Upgrading the samba version isn't really an option that I am considering, but I would do it if someone tells me that this is a known problem and it won't happen again if I upgrade.

As of now, it's the only problem that will send me to work in the middle of the night so I can swap computers, I REALLY wish I could fix it from home...

Thanks!
0
Comment
Question by:dunnoh
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 

Accepted Solution

by:
aurus earned 125 total points
ID: 11916217
Hi


It seems that you have the minimum configuration for your samab to work, the least you can try is check what files are opened for your application

lsof
but this could be complicated, since its difficult to identify the file that's causing the problem
try diffenrents command
lsof | grep /dev/lp
lsof | grep locks

and the more general

lsof | grep smb

since we dont have more info, you should "test and error" to identify the file, the next thing to do is kill the process that's locking the file
kill -9 $pid_of_the_file_causing_the_trouble

I hope you can solve this :)

Aurus tunes out.
0
 
LVL 6

Expert Comment

by:DominicCronin
ID: 12266191
Hi folks,

Just browsing for samba stuff and came across this question. I'm fairly new to Samba, but in a previous life I used to know a fair bit about Magic, so I thought I'd pitch in just for old times sake!

Aurus has given some very good hints. If that doesn't get you there, maybe you could give some more details of your set-up. Is Magic running on a different Server - if so what OS are you using? What is the printing configuration there?
0
 
LVL 1

Author Comment

by:dunnoh
ID: 12287241
I think I found where the lock files are, I'm waiting for the next time it happens to let you guys know...
0

Featured Post

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Running Guacamole on port 80 5 290
Guacamole and browser performance 1 125
BIND DNS - Single Zone 2 views 5 83
What are recommended OS for exim mail server? 10 119
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…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

740 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