[Linecontrol-users] Re: LineControl Problems...
Brought to you by:
sfuchs
From: S. F. <lin...@sr...> - 2004-10-07 13:51:30
|
Hi, > i just executed ./config once more and i got this message: > > ----------------- > shutdown support enabled > using crypt for authentication (direct file access) > ----------------- > Don't do 'make install'! > It has been generated but doesn't work as you would expect. > Read ./server/INSTALL instead. > Now go on with 'make' to compile linesrv and its tools... > > the weird thing is, that i just installed the libpam-pwdfile > package. i can't think of any other package that would be providing > the PAM acces... another weird thing are those lines: > > checking mysql/mysql.h usability... no > checking mysql/mysql.h presence... no > checking for mysql/mysql.h... no > checking mysql/errmsg.h usability... no > checking mysql/errmsg.h presence... no > checking for mysql/errmsg.h... no > > do they mean he doesnt recognize the mysql installation on my > computer? i've got the version 4.0.21-3 installed... You have a partial install of it. You've probably only the binaries neccessary to run it on your system. But not the header files to compile applications which use mysql resp. libmysqlclient in our case. Read on if you want mysql support. If you don't want to log to a mysql db, then you don't need mysql. Leave it as it is in this case. > so far for my problems... A _complete_ install of, for example, mysql consists not only of the usual binary packe but additionaly of the mysql-dev package, which contains .h files and similar stuff neccessary to compile and link applications like linesrv against mysql. So if linesrv should use mysql on your system, then the development files are needed also, not only the libraries and programfiles of mysql. This is not a special problem of linesrv... you need those things always if you want to compile programs which use certain libraries. linesrv can use libmysqlclient and libpam, so in "debian testing" for example you need the following packages: - libmysqlclient12 - libmysqlclient-dev - libpam0g - libpam0g-dev btw: you don't need a full mysql installation, the mysqlclient libraries should be sufficient. > what means crypt authentication? how should i make the > passwordfiles? Your passwordfile is probably /etc/shadow, as long as you aren't using any cluster environment or other special things. 'cat /etc/shadow' or 'cat /etc/passwd' should reveal lines like username:$1$YVtjnJW.$riTSCrO1BKKy9..MyU6v8.:12698:0:10000:::: If /etc/passwd has a line like "root:x:0:0:root:/root:/bin/bash" (the x in the 2nd field is relevant) then your password file is /etc/shadow, which is probably the case on your system. crypt is part of glibc, which you probably have installed... (no, you don't have to check that... you have it installed.) Execute "/lib/libc.so.6", you will get something like: sci@blue sci $ /lib/libc.so.6 GNU C Library stable release version 2.3.3, by Roland McGrath et al. Copyright (C) 2004 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Compiled by GNU CC version 3.3.4 20040623 (Gentoo Linux 3.3.4-r1, ssp-3.3.2-2, pie-8.7.6). Compiled on a Linux 2.4.21 system on 2004-08-28. Available extensions: GNU libio by Per Bothner crypt add-on version 2.1 by Michael Glad and others linuxthreads-0.10 by Xavier Leroy BIND-8.2.3-T5B libthread_db work sponsored by Alpha Processor Inc NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk Report bugs using the `glibcbug' script to <bu...@gn...>. sci@blue sci $ If you're using crypt for user authentication, then you need the following line in your linesrv.conf: passwd_file /etc/shadow For user authentication using PAM you don't need this line, comment it out (default, as in linesrv-2.1/server/config/complete_syntax/linesrv.conf). Hope that helps you... seems you have to learn a lot... ;) Greetings S. Fuchs |