hi list

2005-09-21 Thread Chezangla, Engineer, DrukNet

hi list,

I could not bring up php working with mysql


I tried reinstalling php again and gave me the following 
errors this time:


Configuring SAPI modules
checking for AOLserver support... no
checking for Apache 1.x module support via DSO through 
APXS... no

checking for Apache 1.x module support... no
checking for member fd in BUFF *... no
checking for mod_charset compatibility option... no
checking for Apache 2.0 filter-module support via DSO 
through APXS... no
checking for Apache 2.0 handler-module support via DSO 
through APXS... apxs:Error: Invalid query string `BINDIR'

apxs:Error: Invalid query string `MPM_NAME'
apxs:Error: Invalid query string `APU_BINDIR'
apxs:Error: Invalid query string `APR_BINDIR'
./configure: /apr-config: not found
./configure: /apu-config: not found
configure: error: You have enabled Apache 2 support while 
your server is Apache 1.3.  Please use the appropiate 
switch --with-apxs (without the 2)

===  Script configure failed unexpectedly.
Please report the problem to [EMAIL PROTECTED] [maintainer] 
and attach the
/usr/ports/www/mod_php4/work/php-4.3.10/config.log 
including the output of
the failure of your make command. Also, it might be a good 
idea to provide
an overview of all packages installed on your system (e.g. 
an `ls

/var/db/pkg`).
*** Error code 1

Stop in /usr/ports/www/mod_php4.
tswf# /usr/ports/www/mod_php4/work/php-4.3.10/config.log
/usr/ports/www/mod_php4/work/php-4.3.10/config.log: 
Permission denied





the versions i used:

mysql-client-4.0.24 Multithreaded SQL database (client)
mysql-server-4.0.24 Multithreaded SQL database (server)

apache+mod_ssl-1.3.33+2.8.22 The Apache 1.3 webserver with 
SSL/TLS functionality


and mod_php4


any suggestions plez.


chezang



+++
Get a free DrukNet e-mail account and stay in touch
http://www.druknet.bt
___

freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: hi list

2005-09-21 Thread Peter Clutton
On 9/22/05, Chezangla, Engineer, DrukNet [EMAIL PROTECTED] wrote:


 checking for Apache 1.x module support via DSO through
 checking for Apache 1.x module support... no
 checking for member fd in BUFF *... no
 checking for mod_charset compatibility option... no
 checking for Apache 2.0 filter-module support via DSO
 through APXS... no
 checking for Apache 2.0 handler-module support via DSO
 through APXS... apxs:Error: Invalid query string `BINDIR'
 apxs:Error: Invalid query string `MPM_NAME'
 apxs:Error: Invalid query string `APU_BINDIR'
 apxs:Error: Invalid query string `APR_BINDIR'
 ./configure: /apr-config: not found
 ./configure: /apu-config: not found
 configure: error: You have enabled Apache 2 support while
 your server is Apache 1.3. Please use the appropiate
 switch --with-apxs (without the 2)

 any suggestions plez.

  Well i can point to at least one possible problem, your output says it:
You have enabled Apache 2 support while
your server is Apache 1.3.
 When you install, don't toggle enable support for Apache 2, because your
server is Apache 1.3.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: hi list

2005-09-21 Thread Peter Clutton
On 9/22/05, Chezangla, Engineer, DrukNet [EMAIL PROTECTED] wrote:

 how to disable apache2 which i might have enabled during
 the installation...

 in rc.conf i have ' apache_enable=YES '

 No, rc.conf just loads it at boot time. As far as i know the only way is to
reinstall it correctly. It should pop up an ncurses menu with options. Don't
select Apache 2, and it should work.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: hi list

2005-09-09 Thread K Anderson
- Original Message - 
From: Chezangla, Engineer, DrukNet [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Sent: Thursday, September 08, 2005 7:23 PM
Subject: hi list


 Can anyone give me the detail steps for installing and configuring mysql 
 server on freebsd.

 I have installed mysql from ports but some how could not start the mysql 
 daemoninstallation might be wrong .so can anyone who did the 
 same give me some suggestions plez..

 FreeBSD5.1
 mysql40-server
cd /usr/ports/databases/mysql40-server
make install clean
{Wait}
At some point the process may tell you to edit your rc.conf to add the item 
(I'm using mysql41-server so it might be different):
  mysql_enable=Yes

Then you can try starting it up with:
/usr/local/etc/rc.d/mysql-server.sh start

The startup script might notice something is missing and go in and create 
the databases needed.

If all goes well you should be able to do:
 mysql

One of three things may happen:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket 
'/tmp/mysql.sock' (2)
  That means mysql didn't startup

- OR -

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using 
password: NO)
  That means you didn't tell mysql (the command from -- If all goes well you 
should... -- section) to prompt for a password so you can get in. If you 
don't know the password for the root account then you can head over to the 
mysql web site and find out how to start mysql daemon without checking 
priviliges. Also review user accounts and how they work.

No errors and you are in mysql and ready to go.


It's not much, but hope it helps.

Mr. Anderson

~Sir, put the mouse down and step away from the computer~ 


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: hi list

2005-09-09 Thread Miguel Cárdenas
hello

go to http://www.mysql.com and download the sources (4.1) and in the FreeBSD 
section in downloads take a look at FreeBSD downloads (platform notes), click 
on platform notes.

basicly, the only difference with compilation under FreeBSD is the way you 
configure the makefiles and environment variables:

CC=gcc CFLAGS=-O2 -fno-strength-reduce \
CXX=gcc CXXFLAGS=-O2 -fno-rtti -fno-exceptions \
-felide-constructors -fno-strength-reduce \

./configure --prefix=/usr/local/mysql --enable-assembler

gmake
gmake install

these are just the differences, you MUST follow ALL STEPS in the README and 
INSTALL-SOURCE guides, just use the environment variables I included and the 
parameters to the ./configure, otherwise the compilation WILL FAIL.

I installed it from source and works fine, but the special setup for FreeBSD 
gave me a terrible headache.

 Can anyone give me the detail steps for installing and
 configuring mysql server on freebsd.

 I have installed mysql from ports but some how could not
 start the mysql daemoninstallation might be wrong
 .so can anyone who did the same give me some
 suggestions plez..
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


hi list

2005-09-08 Thread Chezangla, Engineer, DrukNet
Can anyone give me the detail steps for installing and 
configuring mysql server on freebsd.


I have installed mysql from ports but some how could not 
start the mysql daemoninstallation might be wrong 
.so can anyone who did the same give me some 
suggestions plez..


FreeBSD5.1
mysql40-server

regards chez..
+++
Get a free DrukNet e-mail account and stay in touch
http://www.druknet.bt
___

freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Hi list...

2003-10-29 Thread kitsune
On Tue, 28 Oct 2003 15:13:55 -0500
Xpression [EMAIL PROTECTED] wrote:

 I'm running TACACS+ on a FreeBSD server to aaa and I was wondering
 if I can restrict the entrance to peoples until a time, I mean, I don't want
 to be able the connection to some address pools from 6:00 pm until 6am, for
 example...any clue ??? Do I need a script before authentication or what ???
 Thanks...if someone knows if it can do it on the NAS ??? perfect...thanx

No clue what TACACS+ is, but if it involves the network you may want to look
into ipfw and then setting up a cron job.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Hi list...

2003-10-29 Thread Simon Gray
  I'm running TACACS+ on a FreeBSD server to aaa and I was
wondering
  if I can restrict the entrance to peoples until a time, I mean, I don't
want
  to be able the connection to some address pools from 6:00 pm until 6am,
for
  example...any clue ??? Do I need a script before authentication or what
???
  Thanks...if someone knows if it can do it on the NAS ???
perfect...thanx

could you not have a cron job which stops the process at a certain time,
then
starts it back up at another time?

e.g. in '/etc/crontab' add the following

*TAB18TAB*TAB*TAB*TABuser_to_perform_action_such_as_rootTAB/path
/to/tacacs/stop-script
*TAB6TAB*TAB*TAB*TABuser_to_perform_action_such_as_rootTAB/path/
to/tacacs/start-script

replacing TAB with tabs

so it'll stop at 18 hours (6pm) and start at 6am

 No clue what TACACS+ is, but if it involves the network you may want to
look
 into ipfw and then setting up a cron job.

http://www.easynet.de/tacacs-faq/tacacs-faq-2.html

snip
What is TACACS, XTACACS, TACACS+, RADIUS?
All of them are protocols which allow a network access server (NAS, for
example a
Cisco 2511 or a 5300) to offload the user administation to a central server.
There
are now three versions of an authentication protocol that people commonly
refer to
as TACACS, which is as acronym for Terminal Access Controller Access
Control
System
/snip

hope this helps

Simon

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Hi list...

2003-10-29 Thread Danny Thuering
there is an faq at:
http://www.easynet.de/tacacs-faq/tacacs-faq.html
but the users guide say nothing about such restriction.

kitsune wrote:
On Tue, 28 Oct 2003 15:13:55 -0500
Xpression [EMAIL PROTECTED] wrote:

   I'm running TACACS+ on a FreeBSD server to aaa and I was wondering
if I can restrict the entrance to peoples until a time, I mean, I don't want
to be able the connection to some address pools from 6:00 pm until 6am, for
example...any clue ??? Do I need a script before authentication or what ???
Thanks...if someone knows if it can do it on the NAS ??? perfect...thanx


No clue what TACACS+ is, but if it involves the network you may want to look
into ipfw and then setting up a cron job.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Hi list...

2003-10-28 Thread Xpression
I'm running TACACS+ on a FreeBSD server to aaa and I was wondering
if I can restrict the entrance to peoples until a time, I mean, I don't want
to be able the connection to some address pools from 6:00 pm until 6am, for
example...any clue ??? Do I need a script before authentication or what ???
Thanks...if someone knows if it can do it on the NAS ??? perfect...thanx

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]