Printing with CUPS
Hi! I'm trying to get my FreeBSD computer to act as a print server. I'm not having much success though. I'm running 4.6.2-STABLE and I've installed cups-base-1.1.14 via /stand/sysinstall. I started cupsd manually with /usr/local/sbin/cupsd, and I can access the web interface at http://localhost:631/. There I added my HP Deskjet 970 CXi connected via USB successfully, and was able to print a test page from the web interface. However, I seem to be missing a lot of important files. I have almost none of the lp* binaries in /usr/sbin/. I.e. no lpstat, lpinfo, lpadmin, etc. All I have is: lp lpd lpr lptcontrol lpc lpq lprmlptest I tried printing from the command line using: $ echo test testfile.txt $ lp -d Dozer testfile.txt lpr: Unable to connect to /var/run/printer: No such file or directory lpr: Check to see if the master 'lpd' process is running. jobs queued, but cannot start daemon. So I can't even print locally. Not much of a print server, is it? So my question is short and sweet: What's wrong? TIA, Carl-Johan Kihlbom To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Printing with CUPS
On tisdag, okt 1, 2002, at 13:55 Europe/Stockholm, Michael Collette wrote: Carl-Johan Kihlbom wrote: Hi! I'm trying to get my FreeBSD computer to act as a print server. I'm not having much success though. I'm running 4.6.2-STABLE and I've installed cups-base-1.1.14 via /stand/sysinstall. I started cupsd manually with /usr/local/sbin/cupsd, and I can access the web interface at http://localhost:631/. There I added my HP Deskjet 970 CXi connected via USB successfully, and was able to print a test page from the web interface. However, I seem to be missing a lot of important files. I have almost none of the lp* binaries in /usr/sbin/. I.e. no lpstat, lpinfo, lpadmin, etc. All I have is: When you're looking in /usr/sbin, what you're seeing are the default lpr tools that came with FreeBSD. Cups is all in /usr/local/bin. The easiest way to correct your problem is to remove execute permissions from the /usr/sbin files. I have no lp* files in /usr/local/bin. So that's not it. Locate lpinfo returns nothing. / Carl-Johan To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Tutorial on Postfix
Hi! I'm replacing Sendmail with Postfix on my FreeBSD server, but I'm quite a newbie when it comes to mailservers. Do you have any good books or urls to tutorials/good pages on mailservers in general and Postfix in particular. I'm also interested in Cyrus, etc. TIA, Carl-Johan Kihlbom To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Connecting to mysqld
On torsdag, sep 26, 2002, at 02:43 Europe/Stockholm, Duncan Anker wrote: On Thu, 2002-09-26 at 07:06, Kirk Strauser wrote: At 2002-09-25T20:49:20Z, Carl-Johan Kihlbom [EMAIL PROTECTED] writes: I created the users with GRANT ALL ON *.* TO kihlbom IDENTIFIED BY 'password';. The users show up fine in the mysql.user table. Did you FLUSH PRIVILEGES after the addition? You don't need to do this if you use GRANT to set privileges. What else do you have set in your User table? What about the Db and Host tables? It worked when i specified the host, as in: GRANT ALL ON *.* to kihlbom@localhost. So now the user kihlbom can connect from localhost. But I would prefer it if that user could connect from any host. How do I do that? To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Connecting to mysqld
I'm having trouble connecting to mysqld on my FreeBSD server. If i connect as root using mysql -u root -p it works just fine, but if I try as any other user, e.g. mysql -u kihlbom -p I get the following error message: ERROR 1045: Access denied for user: 'kihlbom@localhost' (Using password: YES) I created the users with GRANT ALL ON *.* TO kihlbom IDENTIFIED BY 'password';. The users show up fine in the mysql.user table. Is there a config file somewhere that states that only root may connect? How can I allow connections from all users with a valid password? To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message