> Douglas J Hunley wrote: > > > Tim Wunder babbled on about: > > > >>Hi, > >>RedHat 7.0 (with updates): > >>I just installed CUPS and can't seem to run the web-based configuration > >>that supposed to be at http://localhost:631/admin, the URL gives me an > >>error, "The requested resource was not found on this server." The cupsd > >>daemon is running and I can execute console commands, but I'd like to > >>get the web-based interface working, if only for remote administration. > >> > >>I have CUPS working beautifully at home under Caldera, but feel clueless > >>on RedHat, especially without the GUI crutch... > >> > >>Any thoughts as to what's causing the problem? > >> > > > > does http://127.0.0.1:631/ work? > > are you blocking port 631 with ipchains/iptables/portsentry? > > > > > > No difference using 127.0.0.1:631. > It seems like it's ALMOST working, but something's cloggong up the > works. I get an authentication dialog, but after entering "root" and his > password, I get the error. The URL it's trying to load is > "localhost:631/cups.css". I have a cups.css file locate in > /usr/share/doc/cups-1.1.1. I'm thinking this could be an apache, or > httpd.conf issue, but I can't seem to find the command to restart apache > under RedHat (apachectl ain't it) and can't reboot the server right now.
you are using netscape right. If it can't find the stylesheet he displays the css file as the request address, and show the error. If you like to reload you httpd config you can use the following - if RH still has the service command: service httpd reload the scripts which will run at bootup are under /etc/rc.d/init.d/ or /etc/init.d/ you can use this scripts with the start or stop or restart or reload command. to see wich options are supported just type it's name. -- example type '/etc/rc.d/init.d/httpd' and it will give you all its options. You can control most deamon this way. But I don't think your problem is related to httpd - but let me see I don't know a thing about CUPS. > Is there supposed to be a xinetd entry for CUPS to run as a service on > port 631 like SWAT has for port 901? Does cups-lpd need to be running > for this to work? I've only got cupsd running on my Caldera system, but > I DO have a cups-lpd entry in inetd.conf. IIRC, that's so cups will > handle standard lp commands; and there's no port number referenced. > > I'll keep diggin, it's probly something simple and obvious. It always is... you can see which server is running on port 631 by the following command: netstat -plan | grep 631 the last number shown is the proccess id. and possible it's name. If it's the cups daemon then you don't need an entry in xinetd. I suggest you search the location of where cups puts it web related files, so you can look if cups.css is there (it's not so add it from your doc/cups-1.1.1 dir) Good Luck! Christof _______________________________________________ Linux-users mailing list Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users