Re: Trouble starting MySQL

2005-01-12 Thread whitevamp
- Original Message - 
From: Colin J. Raven [EMAIL PROTECTED]
To: Walker, Michael [EMAIL PROTECTED]
Cc: Freebsd-Questions (E-mail) freebsd-questions@freebsd.org
Sent: Wednesday, January 12, 2005 6:25 AM
Subject: RE: Trouble starting MySQL


On Jan 12 at 14:12, Walker, Michael said (somewhat confusingly):
[EMAIL PROTECTED] wrote:
On Jan 12 at 12:46, I said:
PHP 4.3.10 (cli) (built: Jan 11 2005 23:15:42) (DEBUG) mysql-4.1.7
both installed from ports
FreeBSD 5.3-RELEASE
When I take a look at a phpinfo page, it shows no mention that MySQL
exists. AFAIK this ought not to be so.
I installed php last night (again, from ports) and remembered that
there oughtta be support for mysql. So this is how I built php, though
now I'm wondering if I installed it correctly since it seems braindead
to the existence of MySQL
make with-mysql=yes install clean
I don't have a FreeBSD box at work with me at the moment.
But check out the following (Im assuming one to be correct)
/usr/ports/lang/php-extentions
/usr/ports/lang/php4-extentions
If both are wrong, it is somewhere very similar.
I'm sorry, you probably think I'm being dense...
but
I (honestly) don't understand what you mean.
Do you mean that one (or other, or both) must *also* be installed for
php to have any clue that MySQL exists?
yes and its /usr/ports/lang/php4-extentions
when you run make install it will give you a listing of all the extions that 
you can install for php just slect mysql from the list

A colleague has an identical setup and - AFAIK - didn't install either
one on this or prior installations of FreeBSD/MySQL/php.
Before i updated php to 4.3.10 i didnt have to any of the extions installed 
for my setup to work . then after i upgraded php i had all kinds of issues 
nuthing worked,I found out that for 4.3.10 to work  the way i whanted it to 
i had to install just about every extion in the list. along with recompiling 
php its self to inable the extions that i needed.

If this is a dense and utterly silly question then please excuse the
braindead nature of it.
not at all.
Today has been a long and frustrating day.

Thanks for the ongoing help and advice
-Colin
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Confirmed: 5.3 installation do not work with 16 MB RAM

2005-01-11 Thread whitevamp
- Original Message - 
From: Ramiro Aceves [EMAIL PROTECTED]
To: freebsd-questions-en freebsd-questions@FreeBSD.org
Sent: Tuesday, January 11, 2005 2:22 AM
Subject: Confirmed: 5.3 installation do not work with 16 MB RAM


Hello FreeBSD friends.
In previous post I told you that I was unable to install FreeBSD 5.3 in an 
old Pentium 100 MHz and 16 MB RAM, with the three floppies (FreeBSD 4.10 
installs well). After the daemon screen, the system rebooted just before 
loading the kernel. That strange behaviour made me try everything at the 
boot loader prompt along several weeks, without success. In the floppies 
directory of the 5.3 installation CDROM states that FreeBSD can be 
installed with at least 8MB RAM:


1.2 Hardware Requirements
   FreeBSD for the i386 requires a 486 or better processor to install and 
run(although FreeBSD can run on 386 processors with a custom kernel) and 
at least 8 megs of RAM to install and 7 megs to run.
***

I read on the internet that some people could not install FreeBSD 5.3 in 
16 MB, needing as much as 24 MB to success. I think I have confirmed that. 
A couple of days before, I received from a friend another fast machine 
;-), it was a pentium 75 MHz with 32 MB RAM. I tried to remove the memory 
bank from the pentium75 to the pentium100, but this kind of memory did not 
work on the later one.( it did not like EDO RAM). :-(

So I installed FreeBSD 5.3 on the Pentium 75 machine flawlessly, 
everything went fine. Then I removed two 8MB banks, so that the machine 
was 16 MB RAM. I tried the install floppies, and YES!!!, it rebooted 
before the kernel load.

So FreeBSD can not be  installed with floppies and 16 MB RAM. I needs 
more. How much? I do not know, 32MB work here, but I can not test 24 MB.

I think the files on the manuals should be corrected to avoid this kind of 
issues.

Whell, that is  the story, although I have not been able to get Xorg work 
on this machine, but you will know that in the next post to the list.

Thanks
Ramiro Aceves
snip
i two had the same issues of not getting freebsd 4.9 , 4.10 or 5.3 installed 
and running with 16 meg of ram on an old 233 box that i whanted to use as a 
firewall/router .. so i put 32 in it and it works just fine with 5.3-stable 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Webmail Frontend to mailboxes.

2005-01-06 Thread whitevamp
i use openwebmail  i found it easer to setup then squarlmail
- Original Message - 
From: Rene C. Mendoza [EMAIL PROTECTED]
To: freebsd-questions freebsd-questions@freebsd.org
Sent: Thursday, January 06, 2005 6:10 PM
Subject: Webmail Frontend to mailboxes.


I'm in the process of looking for a webmail frontend to my Postfix mail 
server setup installed on FreeBSD 5.3.  I use cyrus-imap as well.  What 
would you recommend?  I've heard of Squirrel Mail and IMP, but I don't 
know what to choose.

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

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


php modules

2004-12-31 Thread whitevamp
I didnt know where to post this to so im posting it to quistions@ and ports@

i have compiles and installed php 4.3.10 and i was needing to install pcre ,so 
i did on the command line make PHP_MODNAME=pcre install
and then i noticed that it didnt install pcre it just compiled in support for 
it so i did some looking around for pcre and found php4-pcre
so i installed it and when it got done installing it i got a message saying 
that the 
Libraries have been installed in:
  /usr/ports/devel/php4-pcre/work/php-4.3.10/ext/pcre/modules

( why dose it leave the libraies in the ports dir?? )

so i moved them to a folder for php to find more esaly and with out getting 
wiped out when i do a portupgrade, and i set the module path in the php.ini 
file 
IE:/usr/local/php-modules 
now in the php log file it saying this 

[31-Dec-2004 01:27:25] PHP Notice:  Constant PREG_PATTERN_ORDER already defined 
in Unknown on line 0   
[31-Dec-2004 01:27:25] PHP Notice:  Constant PREG_SET_ORDER already defined in 
Unknown on line 0   
[31-Dec-2004 01:27:25] PHP Notice:  Constant PREG_OFFSET_CAPTURE already 
defined in Unknown on line 0  
[31-Dec-2004 01:27:25] PHP Notice:  Constant PREG_SPLIT_NO_EMPTY already 
defined in Unknown on line 0  
[31-Dec-2004 01:27:25] PHP Notice:  Constant PREG_SPLIT_DELIM_CAPTURE already 
defined in Unknown on line 0 
[31-Dec-2004 01:27:25] PHP Notice:  Constant PREG_SPLIT_OFFSET_CAPTURE already 
defined in Unknown on line 0
[31-Dec-2004 01:27:25] PHP Notice:  Constant PREG_GREP_INVERT already defined 
in Unknown on line 0 
[31-Dec-2004 01:27:25] PHP Warning:  Function registration failed - duplicate 
name - preg_match in Unknown on line 0   
[31-Dec-2004 01:27:25] PHP Warning:  Function registration failed - duplicate 
name - preg_match_all in Unknown on line 0   
[31-Dec-2004 01:27:25] PHP Warning:  Function registration failed - duplicate 
name - preg_replace in Unknown on line 0 
[31-Dec-2004 01:27:25] PHP Warning:  Function registration failed - duplicate 
name - preg_replace_callback in Unknown on line 0
[31-Dec-2004 01:27:25] PHP Warning:  Function registration failed - duplicate 
name - preg_split in Unknown on line 0   
[31-Dec-2004 01:27:25] PHP Warning:  Function registration failed - duplicate 
name - preg_quote in Unknown on line 0   
[31-Dec-2004 01:27:25] PHP Warning:  Function registration failed - duplicate 
name - preg_grep in Unknown on line 0
[31-Dec-2004 01:27:25] PHP Warning:  pcre:  Unable to register functions, 
unable to load in Unknown on line 0


so my quistin's are

1. should i have left it in the ports dir?
2. did i not move something that it needs ??
3. as sad above ( why dose it leave the libraies in the ports dir?? )
4. am i doing this right ?? or all wrong??
5. why am i getting this error ?

this is for an apache mod 
the reason im trying to get this to work is becouse i have a CMF that is 
complaining about Call to undefined function: preg_match_all()
and the coders sugested that i install pcre. wich dont make sence to me becouse 
i didnt have it installed before i did a portupgrade on php and apache, any how 
im bableing now.

and thanks for any help on this inadvance



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


apache core dump

2004-12-31 Thread whitevamp
ok the otherday i had an issue with apache not binding to port 80

and i thought i got that taken care of, well maby i have but any way i knoticed 
that apache wasnt running any more so i when to start it and it whouldnt start 
so i looked in the error log didnt find anything wrong in there so i looked in 
messages and i found this 
Dec 31 19:00:04 vampextream kernel: pid 88555 (httpd), uid 80: exited on signal 
11 

so now its core dumping .. 
so my quistions are 
1. how do i go about debugging this?
2. and what would be causeing this?

if you need any more information let me know 

vampextream# uname -a
FreeBSD vampextream.com 5.3-RELEASE-p2 FreeBSD 5.3-RELEASE-p2 #3: Wed Dec  8 
20:33:13 PST 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/VAMPEXTREAM  i386
vampextream# httpd -v
Server version: Apache/1.3.33 (Unix)
Server built:   Nov  3 2004 17:24:07
vampextream# 


and all these issue arived after upgradeing apache , well the entire ports 
collection i have installed.

and thanks inadvance for any help on this issue.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


apache cant bind to port

2004-12-27 Thread whitevamp

 I just did a portupgrade -aRrCc
 and now when I goto start apache i get this error message in the log files

 [crit] (13)Permission denied: make_sock: could not bind to port 80

 I have tryed starting it with ethere apachectl start or httpd , as root.
and
1.when to  /usr/ports/www/apache13 , and did a make deinstall and then a
 make clean , then a make install. still same thing after words.
 2. decided to go and try to install apache13-with-ssl , nop same thing
 there.
 3. ps -aux | grep http.
4.  Tryed apachectl stop; apachectl start.
5.. Tryed netstat -an | grep LISTEN to see if something is bound to tcp/80.

so why am i getting this error ?? i could see it if i had compiled it as a
 non super user , and / or trying to run it as a non superuser , but i
 compiled and installed it as root and trying to run it as root.
 and thats exeactly what its acting like . I tryd setting the port to 8080
 and it worked all execpt for it couldnt write to the pid file .


 vampextream# uname -a
 FreeBSD vampextream.com 5.3-RELEASE-p2 FreeBSD 5.3-RELEASE-p2 #3: Wed Dec
8
 20:33:13 PST 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/VAMPEXTREAM
 i386
 vampextream# httpd -V
 Server version: Apache/1.3.33 (Unix)


 if theres any othere information that you need let me know..
and thankx inadvance for any help on this issue
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Question about ports

2004-10-07 Thread whitevamp
when u upgrade perl to a newer ver useing the ports tree its quit simple .
at the end of it installing it tell you that if u whant to use that version
u need to use this command onley once though use.perl port and then u also
need to read README in the bas dir of the ports tree IE: /usr/ports/UPDATING
in there it talks about getting all the perl progs switched over to the
newer ver of perl and thats it..  or at least that worked 4 me
PS: you might whant to look at /usr/ports/UPDATING before you go and install
perl ..thats a good file to read after u cvsup your tree
- Original Message - 
From: Nikolas Britton [EMAIL PROTECTED]
To: Pierre LeBlanc [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Wednesday, October 06, 2004 5:16 PM
Subject: Re: Question about ports


 Pierre LeBlanc wrote:

 Hello,
 
 I'm new to the port collection and updating ports with CVSup but I
managed to
 update the ports of my FreeBSD 4.10 system using CVSup.
 
 Now, I want to upgrade Perl to version 5.6 and I notice there is a perl5
port
 in the list I`ve seen on:
 
 ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-4.10-release/
 
 But this port is not on my system and to understand how to get perl5 in
my
 port collection, I searched on the Internet for several hours without
success.
 
 Can you refer me a specific page or a chapter in the FreeBSD manual that
 describe how to do it?
 
 Well see... the thing is is that perl is part of the base system in 4.x
 (and quasi-base in 5.x), FreeBSD is dependent on it. I like to know this
 question too, what are the pros/cons and procedure for updating perl to
 ether 5.6.x or 5.8.x

 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-newbies
 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]


netscape memory leak

2004-05-21 Thread whitevamp
sorry if this quistion has allread been asked and awnsered..

i got noticeing that my system was runnung out of mem so i did top and this is what i 
found 

PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND

9936 dave -22 0 219M 98M RUN 16:03 46.04% 46.04% netscape-bin

15211 dave 31 0 2056K 964K RUN 0:08 3.37% 3.37% top

3 root -18 0 0K 0K psleep 4:08 2.93% 2.93% pagedaemon

99894 dave 2 0 21268K 2212K poll 79:20 1.90% 1.90% kdeinit

9941 dave 10 0 219M 98M nanslp 0:21 0.20% 0.20% netscape-bin

99870 dave 2 0 59268K 18568K select 63:32 0.00% 0.00% XFree86

netscape was takeing up 98 mem of ram si closed netscape and then did top agine and i 
found this 

PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND

9936 dave -22 0 247M 102M swread 17:55 6.64% 6.64% netscape-bin

9941 dave 18 0 247M 102M pause 0:23 0.00% 0.00% netscape-bin

now it was takeing up 102 meg of ram

so  my quistion is this what would be causeing netscape to be useing up so much ram? 
and how do i fix it?



Netscape 7.1

Mozilla/5.0 (X11; U; Linux i386; en-US; rv:1.4) Gecko/20030624 Netscape/7.1

uname -a

FreeBSD vampextream.com 4.9-RELEASE FreeBSD 4.9-RELEASE #0: Mon Oct 27 17:51:09 GMT 
2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386

thx in advance for any help any one can give me on this ..

David D.


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.688 / Virus Database: 449 - Release Date: 5/18/2004
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: apache+mod_ssl-1.3.29+2.8.16_1:

2004-05-09 Thread whitevamp
that didnt seam to work out for me on 5.2.1 and i also was haveing some
outhere issues with 5.2.1 and decided to down grade to 4.9 and everything
seams to be working great 4 me now ..

and thx 4 the help on this ..
Dave
- Original Message - 
From: Wayne Sierke [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, May 09, 2004 12:25 AM
Subject: Re: apache+mod_ssl-1.3.29+2.8.16_1:


 On Wed, 2004-05-05 at 14:16, Dirk Meyer wrote:
  whitevamp schrieb:,
 
   i have to go into the httpd.conf file and do this #LoadModule php4_mod
   ule  and #AddModule mod_php4.c
   then start apache then go back into the httpd.conf file and remove the
# 's an
   d then restart apache then itll work with php4 enabled
 
  You have installed an apache after mod_php,
  or habe more than one apache port installed.
 
  Fix:
 
  1. set APACHE_PORT=www/apache13-mod_ssl in /etc/make.conf
 

 This should be www/apache13-modssl (I believe. The subtle differences
 between ports directory names and the ports names themselves - as in
 this case apache+mod_ssl - is often very confusing).

  2. deinstall mod_php and all apache versions.
 
  3. install apache+mod_ssl , then install mod_php
 
  kind regards Dirk
 
  - Dirk Meyer, Im Grund 4, 34317 Habichtswald, Germany
  - [EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED]
  ___
  [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]



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.677 / Virus Database: 439 - Release Date: 5/4/2004
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


apache+mod_ssl-1.3.29+2.8.16_1:

2004-05-02 Thread whitevamp
5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0:
i have  apache+mod_ssl-1.3.29+2.8.16_1: compiled with mod_php4-4.3.5_7,1 but when i 
goto start apache it whont start with LoadModule php4_module and AddModule mod_php4.c  
..
enabled i have to go into the httpd.conf file and do this #LoadModule php4_module  and 
#AddModule mod_php4.c
then start apache then go back into the httpd.conf file and remove the # 's and then 
restart apache then itll work with php4 enabled
what is causeing apache to do this ?? 
PS: there is no errors eathere on the command line or in the logs when i try to start 
apache with php4 enabled..

thanks in advance for any help
Dave.


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.675 / Virus Database: 437 - Release Date: 5/2/2004
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]