MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi Ho,
I have seen other threads that touch on this problem, but none that proposes a solution, or at least one that I understand.
My Mandrake 10.1 Community (updated from 9.2) was taking a VERY long time to boot up, and I read that removing CUPS so that it doesn't start at bootup would solve that problem, which it did. But now when I want to print it wants CUPS, so I have to go into the Control Center and start it up.
I never had any problems with CUPS in 9.2, what's the scoop? Is there a nice way to fix this?
Thanks very much,
Carol
Worth trying to "get under the hood" and do some digging and debugging on why cups is failing to load properly.
Try restarting cups through the terminal.
Open terminal
su to root
run the command /etc/init.d/cups start
To stop change start -> stop
Once it has/is in the process of starting open another terminal and have a look at its logs. I think they are under /var/log/cups or any entries in /var/log/messages.
Ok, I get that. I have a directly connected printer. Actually 2. But only one computer, so no network.
How do I set up CUPS in this case?
Sorry if I seem dense, it's just that I tried several different CUPS configurations, to no avail.
There aren't that many things to check and uncheck in that CUPS configuration module in the Control Center, it's just not obvious to me. Maybe there's somehthng somewhere else?
I bellieve that what you have to do is first make sure that the Linux machine knows it's own "name".
Usually it's "name" is associated with the first ethernet interface.
You should have assigned a name during network configuration, as this is rather important.
Type "hostname" to determine what the machine thinks it's name is.
If you see local anything, then you have not properly configured it.
Once it's set up then make sure you can ping the machine by hostname...
e.g.
ping bluebox.mydomain.com
should give you a result... instead of an error.
If necessary you may need to add the machine's own name and IP to /etc/hosts
Then if cups is still slow in starting; you will need to edit the /etc/cups files and find all references to Servername, etc. and uncomment this and change the name to reflect that of the local host.
This last step is not usually required if the host can resolve itself.
Where it says "Host Name (Optional)" enter your computer's fully qualified hostname in it's long form...
e.g.
bluebox.mydomain.com
If you are behind a firewall you can make this up and use anything you want, though ideally mydomain.com should be the same thing you use for any other connected machines.
If your computer is directly connected to the internet, you really cannot just make something up as this will likely conflict with a real registered computer with the same name someplace.
Hi again,
Here's something that might help figure this out. When I go into the main menu - SYSTEM - CONFIGURATION - PRINTING - CUPS www admin tool, I get a page that opens and says this:
an error occurred while loading http://localhost:631/:
could not connect to localhost (port 631)
Before, in 9.2, I used to use this to cancel a print job, and everything worked just fine.
So, how can I help it find what it's looking for? I had this same error on opening the CUPS admin tool even before I changed the name of my computer from localhost to something else.
starting CUPS printing system: Child exited with status 98! [FAILED]
and for the other two I got
cannot find iptables (or shorewall) service
so I guess I must not have those.
Meanwhile I can still print!
What on earth is it looking for at login ? Is there somewhere else I must tell it to not look for localhost but insttead the new computername? Is that it, do you think?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.