Re: [expert] Broken Samba Printing....
On Saturday 20 January 2001 02:07, you wrote: Hi! I am attempting to help get a Samba server that was permitted to run out of space on its hard drive back up and running. To make some room on the / directory and to give the spool files some elbow room I copied /tmp and /var to subdirectories that were on another partition (in this case under /home), recursively deleted everything in /tmp and /var under root, and then created symbolic links to /tmp and /var in the / directory from the appropriate directories on /home. Most services have stopped crashing, the system seems pretty stable at the moment, and samba is serving files to the networked Windows workstations. I just have one problem, the print jobs from the Windows workstations aren't winding up in the appropriate samba print queues. I have tested and I can print to the printers from the Linux box itself via the print queues that the Windows boxes are supposed to have attached to. Whenever I try to print on one of the Windows boxes I get an unidentified system error and a stalled print job. I am guessing that I accidentally changed the ownership or privileges of one of the files (or perhaps many of the files) in the var or tmp directories and the samba daimon isn't able to hand off to the print queues. Has anyone ever been here, done that, and discovered what needs to be fixed? Yipes I am the one who sent info on the symlinks for /var to various people on the lists back in the 6.1 days Unfortunately new things have been homed in /var and the result is that you can run /var as part of / or as a separate partition but not as a symlink At least this is the situation beginning with 7.2 -- some of the things in /var now like htmldocs or ftp like to do a ../ to go to the root directory and it doesn't work too well if they end up at /home instead. Civileme
Re: [expert] Broken Samba Printing....
civileme wrote: Yipes I am the one who sent info on the symlinks for /var to various people on the lists back in the 6.1 days Unfortunately new things have been homed in /var and the result is that you can run /var as part of / or as a separate partition but not as a symlink At least this is the situation beginning with 7.2 -- some of the things in /var now like htmldocs or ftp like to do a ../ to go to the root directory and it doesn't work too well if they end up at /home instead. Civileme The good news is that this print server isn't yet running 7.2. If the change began with 7.2 then I am still fine. Do you happen to have any information on what the permissions should be on the various directories and files in /var under the old distributions? Especially those related to Samba and printing? I am almost 100% positive that my problem relates to ownership rights since I made the error of not forcing those to remain the same when I did my copy. Traci -- Traci Collins http://www.rof.net/wp/tcollins/traci.html
Re: [expert] Broken Samba Printing....
On Sunday 21 January 2001 19:49, you wrote: civileme wrote: Yipes I am the one who sent info on the symlinks for /var to various people on the lists back in the 6.1 days Unfortunately new things have been homed in /var and the result is that you can run /var as part of / or as a separate partition but not as a symlink At least this is the situation beginning with 7.2 -- some of the things in /var now like htmldocs or ftp like to do a ../ to go to the root directory and it doesn't work too well if they end up at /home instead. Civileme The good news is that this print server isn't yet running 7.2. If the change began with 7.2 then I am still fine. Do you happen to have any information on what the permissions should be on the various directories and files in /var under the old distributions? Especially those related to Samba and printing? I am almost 100% positive that my problem relates to ownership rights since I made the error of not forcing those to remain the same when I did my copy. Traci Mmmm, I think I would try the semi-automatic method--- chmod 0755 -R /var chmod 0775 -R /var/spool/samba And if anything is set too "loose", root will receive mail about it and it can be fixed. I do assume medium or higher security is set. and alias cp='cp -a' is a great assist in these matters, for future operations. Civileme
[expert] Broken Samba Printing....
Hi! I am attempting to help get a Samba server that was permitted to run out of space on its hard drive back up and running. To make some room on the / directory and to give the spool files some elbow room I copied /tmp and /var to subdirectories that were on another partition (in this case under /home), recursively deleted everything in /tmp and /var under root, and then created symbolic links to /tmp and /var in the / directory from the appropriate directories on /home. Most services have stopped crashing, the system seems pretty stable at the moment, and samba is serving files to the networked Windows workstations. I just have one problem, the print jobs from the Windows workstations aren't winding up in the appropriate samba print queues. I have tested and I can print to the printers from the Linux box itself via the print queues that the Windows boxes are supposed to have attached to. Whenever I try to print on one of the Windows boxes I get an unidentified system error and a stalled print job. I am guessing that I accidentally changed the ownership or privileges of one of the files (or perhaps many of the files) in the var or tmp directories and the samba daimon isn't able to hand off to the print queues. Has anyone ever been here, done that, and discovered what needs to be fixed? -- Traci Collins http://www.rof.net/wp/tcollins/traci.html