Find the answer to your Linux question:
Results 1 to 6 of 6
I have two issues with my PC now: 1). I cant open the CUPS web interface when I type in http://localhost:631 I get the HTML code instead of the CUPS ...
  1. #1
    Linux Newbie exploder's Avatar
    Join Date
    Jun 2005
    Location
    127.0.0.1
    Posts
    164

    CUPS Web Interface problem !!!

    I have two issues with my PC now:
    1). I cant open the CUPS web interface when I type in http://localhost:631 I get the HTML code instead of the CUPS web page. But, if I typein http://localhost:631/admin it asks for user-id and pwd but when I enter the root or the normal user-id and pwd nothing works, it wont accept!!! I have tried adding the user-id through lppasswd <username>

    2). I am using a HPSC1210 multifunction printer. Few days back I stuffed up the config files without backing up the cupsd.conf file. I have reinstalled the CUPSYS but now only the scanner works but the printer doesn't work at all when I give a 'print test page' option! Strangely if i typein "hp-info" it does give the cartridge details and everything. I have installed HPLIPS and CUPS is up to date.

    Absolutely I dont have any idea whats the reason behind in this malfunction. Any suggestions or help will be greately appreciated.
    Registered Linux User#394486

  2. #2
    Linux Engineer spencerf's Avatar
    Join Date
    Jan 2005
    Location
    Syracuse, NY
    Posts
    1,144
    have you started the cups daemon?

    usually its something like

    /etc/init.d/cups restart
    /etc/rc.d/cups restart

    or something like that
    All right, brain. You don't like me and I don't like you, but let's just do this and I can get back to killing you with beer. All New Users Read This!!! If you have a grub problem please look at GRUB MANUAL

  3. #3
    Linux Newbie exploder's Avatar
    Join Date
    Jun 2005
    Location
    127.0.0.1
    Posts
    164
    Ya, I have done that. I dont know whats making to display the HTML code!!!
    Registered Linux User#394486

  4. #4
    Linux Engineer spencerf's Avatar
    Join Date
    Jan 2005
    Location
    Syracuse, NY
    Posts
    1,144
    have you tried reinstalling both cups and hplip? The only other thing I can think of is that you have a hostname configuration problem check out your:

    /etc/hosts

    and you should have a line like this

    127.0.0.1 localhost kafka

    where kafka is your username.

    and
    /etc/conf.d/hostname

    where you should have a line like this

    HOSTNAME="localhost"


    the exact location of these files might be different on your distro!
    All right, brain. You don't like me and I don't like you, but let's just do this and I can get back to killing you with beer. All New Users Read This!!! If you have a grub problem please look at GRUB MANUAL

  5. #5
    Linux Newbie exploder's Avatar
    Join Date
    Jun 2005
    Location
    127.0.0.1
    Posts
    164
    I have done what you said I get the same problem no luck!!! In the /etc/hosts you said "username" after "localhost" is it the machine name or username on my pc? 'coz I have two different names.
    Registered Linux User#394486

  6. #6
    Trusted Penguin Dapper Dan's Avatar
    Join Date
    Oct 2004
    Location
    The Sovereign State of South Carolina
    Posts
    4,562
    Just adding to this: Suddenly I can't access CUP through my browser either. Root and root's password has always worked but now it doesn't. I've tried...
    Code:
    root@dapperdan:/home/dapperdan# lppasswd -g sys -a root 
    Enter password:
    Enter password again:
    lppasswd: failed to backup old password file: No such file or directory
    root@dapperdan:/home/dapperdan#
    Haven't figured this one out because as root I was always able to access http://localhost:631 as administrator.
    Last edited by Dapper Dan; 05-18-2006 at 01:52 PM.
    Linux Mint + IceWM Registered:#371367 New Members: click here

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •