Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #11  
Old 25th April 2006, 05:25
LuisC-SM LuisC-SM is offline
Member
 
Join Date: Apr 2006
Location: Webland, Mexico
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
Default ok now

Well, Ive been throu a lot of threads and finally found the mistake.

I'm sure glad this time it was not from my side.

I think there should be an update for the Samba Ubuntu HOwTo as far as I just did as it's said and there is a mistake in the cupsd.connf file (the mistake is in the tutorial).

Due to this thread:
http://www.howtoforge.com/forums/sho...ight=%2A631%2A
Ive DL a file from Till and there is a difference in the file and the tutorial.

Anyhow now I can connect to CUPS throu the browser. but still same error in
Quote:
E [24/Apr/2006:22:28:32 -0500] [Job 1] Unable to connect to SAMBA host, will retry in 60 seconds...ERROR: Connection failed with error NT_STATUS_UNSUCCESSFUL
I [24/Apr/2006:22:28:41 -0500] Scheduler shutting down normally.I [24/Apr/2006:22:28:41 -0500] Listening to 7f000001:631
I [24/Apr/2006:22:28:41 -0500] Listening to c0a80101:631E [24/Apr/2006:22:28:41 -0500] Unknown directive AuthGroupName on line 748.
I [24/Apr/2006:22:28:41 -0500] Loaded configuration file "/etc/cups/cupsd.conf"I [24/Apr/2006:22:28:41 -0500] Configured for up to 100 clients.
I [24/Apr/2006:22:28:41 -0500] Allowing up to 100 client connections per host.I [24/Apr/2006:22:28:41 -0500] Full reload is required.
I [24/Apr/2006:22:28:41 -0500] LoadPPDs: Read "/etc/cups/ppds.dat", 500 PPDs...I [24/Apr/2006:22:28:41 -0500] LoadPPDs: No new or changed PPDs...
I [24/Apr/2006:22:28:41 -0500] Full reload complete.
I [24/Apr/2006:22:28:41 -0500] Started filter /usr/lib/cups/filter/pstops (PID 7886) for job 1.
I [24/Apr/2006:22:28:41 -0500] Started filter /usr/lib/cups/filter/pstoturboprint (PID 7887) for job 1.
I [24/Apr/2006:22:28:41 -0500] Started backend /usr/lib/cups/backend/smb (PID 7888) for job 1.
Kind Regards.

Luis C. Suárez
__________________
Humility is not a "Status"...
It's a "Gift"!

Last edited by LuisC-SM; 25th April 2006 at 05:32.
Reply With Quote
Sponsored Links
  #12  
Old 25th April 2006, 16:48
LuisC-SM LuisC-SM is offline
Member
 
Join Date: Apr 2006
Location: Webland, Mexico
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I've also seen that there is no chance to add printers in samba unless you change some parameters in /etc/samba/smb.conf file in the [public] section
Quote:
browseable = yes
public = yes
otherwise, it will allways prompt for a root password and will not let u introduce the real passwd (even when u retype it 100 times).
__________________
Humility is not a "Status"...
It's a "Gift"!
Reply With Quote
  #13  
Old 25th April 2006, 22:58
LuisC-SM LuisC-SM is offline
Member
 
Join Date: Apr 2006
Location: Webland, Mexico
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Anyhow, the printer I'm trying to install is a Canon .Pixma 1000 and there seems to be a bug in CUPS that is causing all this trouble, but there is also some workaround with possible fix.
I've not tried it yet but here is the link so anybodiy can take a look.:
http://www.ubuntuforums.org/showthre...=160041&page=2

Kind Regards.

Luis C. Suárez
__________________
Humility is not a "Status"...
It's a "Gift"!
Reply With Quote
  #14  
Old 26th April 2006, 09:41
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,446
Thanks: 813
Thanked 5,216 Times in 4,089 Posts
Default

Hi Luis,

thanks for your pointers. I will check this and update the howto.

Till
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #15  
Old 28th April 2006, 21:26
LuisC-SM LuisC-SM is offline
Member
 
Join Date: Apr 2006
Location: Webland, Mexico
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by till
Hi Luis,

thanks for your pointers. I will check this and update the howto.

Till
Hi Till

You are wellcome (Sie bite).

We (howto's users) are obligated to give feedback as far as software gets updated and upgraded.

Kind Regards.

Luis C. Suárez
__________________
Humility is not a "Status"...
It's a "Gift"!
Reply With Quote
  #16  
Old 29th April 2006, 00:36
LuisC-SM LuisC-SM is offline
Member
 
Join Date: Apr 2006
Location: Webland, Mexico
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
Default some feedback

I went thru all the howto once more and; besides the above points, id like to give u some more feedback.

Quota
Quote:
root@server1:~# quotacheck -avugm
quotacheck: WARNING - Quotafile //quota.user was probably truncated. Can't savequota settings...
quotacheck: WARNING - Quotafile //quota.group was probably truncated. Can't save quota settings...
quotacheck: Scanning /dev/hda3 [/] done
quotacheck: Checked 1866 directories and 22788 files
quotacheck: WARNING - Quotafile /home/quota.user was probably truncated. Can't save quota settings...
quotacheck: WARNING - Quotafile /home/quota.group was probably truncated. Can'tsave quota settings...
quotacheck: Scanning /dev/hda6 [/home] done
quotacheck: Checked 4 directories and 6 files
quotacheck: WARNING - Quotafile /var/quota.user was probably truncated. Can't save quota settings...
quotacheck: WARNING - Quotafile /var/quota.group was probably truncated. Can't save quota settings...
quotacheck: Scanning /dev/hda5 [/var] done
quotacheck: Checked 73 directories and 1337 files
root@server1:~# quotaon -avug
/dev/hda3 [/]: group quotas turned on
/dev/hda3 [/]: user quotas turned on
/dev/hda6 [/home]: group quotas turned on
/dev/hda6 [/home]: user quotas turned on
/dev/hda5 [/var]: group quotas turned on
/dev/hda5 [/var]: user quotas turned on
Maybe you should advice people to not to pay atention to this warnings.

Page 5 of the howto (last page)

It stands the following:
Quote:
To allow access only from my admin workstation (IP: 192.168.0.70), I add Allow From 192.168.0.70 the security options and set AuthClass to Group:

Quote:
<Location /admin>
#
# You definitely will want to limit access to the administration functions.
# The default configuration requires a local connection from a user who
# is a member of the system group to do any admin tasks. You can change
# the group name using the SystemGroup directive.
#
AuthType Basic
AuthClass Group
## Restrict access to local domain
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
Allow From 192.168.0.70
#Encryption Required
</Location>
and you should also include:
Quote:
<Location />
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
Allow From 192.168.0.70 ####### 2 times in 2 different places #####
</Location>
I think that's all I found.

Kind Regards

Luis C. Suárez
__________________
Humility is not a "Status"...
It's a "Gift"!

Last edited by LuisC-SM; 29th April 2006 at 01:05.
Reply With Quote
  #17  
Old 29th April 2006, 06:46
LuisC-SM LuisC-SM is offline
Member
 
Join Date: Apr 2006
Location: Webland, Mexico
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
Default Printed is installed but will not work :mad:

Strange.... I added the printer with the cups interfase.... added to samba .... and can NOT print... here is my error_log from cups.
Quote:
I [28/Apr/2006:22:20:31 -0500] Listening to 7f000001:631
I [28/Apr/2006:22:20:31 -0500] Listening to c0a80132:631
E [28/Apr/2006:22:20:31 -0500] Unknown directive AuthGroupName on line 748.
I [28/Apr/2006:22:20:31 -0500] Loaded configuration file "/etc/cups/cupsd.conf"
I [28/Apr/2006:22:20:31 -0500] Configured for up to 100 clients.
I [28/Apr/2006:22:20:31 -0500] Allowing up to 100 client connections per host.
I [28/Apr/2006:22:20:31 -0500] Full reload is required.
I [28/Apr/2006:22:20:32 -0500] LoadPPDs: Read "/etc/cups/ppds.dat", 258 PPDs...
I [28/Apr/2006:22:20:32 -0500] LoadPPDs: No new or changed PPDs...
I [28/Apr/2006:22:20:32 -0500] Full reload complete.
I [28/Apr/2006:23:20:25 -0500] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=7170)
I [28/Apr/2006:23:38:40 -0500] Started "/usr/lib/cups/cgi-bin/admin.cgi" (pid=7303)
I [28/Apr/2006:23:38:50 -0500] Started "/usr/lib/cups/cgi-bin/jobs.cgi" (pid=7304)
I [28/Apr/2006:23:38:52 -0500] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=7305)
I [28/Apr/2006:23:39:01 -0500] Started "/usr/lib/cups/cgi-bin/jobs.cgi" (pid=7306)
I [28/Apr/2006:23:39:03 -0500] Started "/usr/lib/cups/cgi-bin/jobs.cgi" (pid=7307)
I [28/Apr/2006:23:39:09 -0500] Started "/usr/lib/cups/cgi-bin/jobs.cgi" (pid=7308)
I [28/Apr/2006:23:39:12 -0500] Started "/usr/lib/cups/cgi-bin/jobs.cgi" (pid=7309)
I [28/Apr/2006:23:39:14 -0500] Started "/usr/lib/cups/cgi-bin/jobs.cgi" (pid=7310)
E [28/Apr/2006:23:39:14 -0500] restart_job: job #14 cannot be restarted - no files!
I [28/Apr/2006:23:39:22 -0500] Started "/usr/lib/cups/cgi-bin/classes.cgi" (pid=7313)
Printer is recognized but cannot even print...
Any ideas?

Kind Regards...

Luis C. Suárez
__________________
Humility is not a "Status"...
It's a "Gift"!
Reply With Quote
  #18  
Old 29th April 2006, 13:44
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,722 Times in 2,563 Posts
Default

Have a look here:
http://www.howtoforge.com/forums/sho...=AuthGroupName
http://www.howtoforge.com/forums/sho...=AuthGroupName
http://www.howtoforge.com/forums/sho...=AuthGroupName
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #19  
Old 29th April 2006, 19:33
LuisC-SM LuisC-SM is offline
Member
 
Join Date: Apr 2006
Location: Webland, Mexico
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Hi Falko, and tnx again for your response.

As I've stated before, I had Till's CUPS file. I had only changed the IPs and wrokgroup to match my own config.

One thing I noticed is that in one of the posts kindly offered by you, I found the same problem with the AuthGroupName thing. So my problem continued (even using Till's file) so what I did was to remove AuthGroupName shadow and put it in the admin section and I dont have anymore that error.
Now I have this error:
Quote:
E [29/Apr/2006:12:02:21 -0500] PID 7517 stopped with status 1!
but I suspect that's because I got no ink now (after printing in other distros around 30 to 40 copies), so I just wait until Monday morning to get a new ink cartrigde . So I'll post any comments by then.

Kind Regards.

Luis C. Suárez.

PS. Till, Indeed you must make an update for this nice tutorial. I think samba and/or cups have been upgraded from the ubuntu's repsoitories.
__________________
Humility is not a "Status"...
It's a "Gift"!
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISP-Server Setup - Ubuntu 5.10 "Breezy Badger" Problem with ISPConfig chipw Installation/Configuration 6 30th October 2006 09:38
How To ISP Server setup with Ubuntu 5.10 (Breezy Badger) gymsmoke HOWTO-Related Questions 26 29th April 2006 13:46
ISPConfig + Perfect Setup Ubuntu 5.10 + Smtp SPAM problems lyndros Installation/Configuration 11 15th April 2006 17:07
Questions in regards to ISP-Server Setup - Ubuntu 5.10 "Breezy Badger" rbrantley HOWTO-Related Questions 16 10th April 2006 18:26
ISP-Server Setup - Ubuntu 5.10 "Breezy Badger" --> PHP5 spudse HOWTO-Related Questions 1 30th March 2006 15:50


All times are GMT +2. The time now is 06:40.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.