Anyone installed urchin5? Shared object libc.so.4 not found error
i sent something out earlier: === Installing for urchin-5.702 === Generating temporary packing list === Checking if www/urchin5 already installed /usr/libexec/ld-elf.so.1: Shared object libc.so.4 not found, required by gunzip tar: Error opening archive: Empty input file: Inappropriate file type or format ./install.sh: cannot create /usr/local/urchin/var/urchinwebd.conf.template: No such file or directory ./install.sh: cannot create /usr/local/urchin/util/urchin_daemons: No such file or directory mv: rename /usr/local/urchin/data/geodata/.domain.unf to /usr/local/urchin/data/geodata/domain.unf: No such file or directory mv: rename /usr/local/urchin/data/geodata/.domain.unh to /usr/local/urchin/data/geodata/domain.unh: No such file or directory mv: rename /usr/local/urchin/data/geodata/.domain.uni to /usr/local/urchin/data/geodata/domain.uni: No such file or directory mv: rename /usr/local/urchin/data/geodata/.domain.uns to /usr/local/urchin/data/geodata/domain.uns: No such file or directory mv: rename /usr/local/urchin/data/geodata/.domain.local to /usr/local/urchin/data/geodata/domain.local: No such file or directory ./install.sh: /usr/local/urchin/util/uconf-driver: not found chown: /usr/local/urchin/data: No such file or directory chgrp: /usr/local/urchin/data: No such file or directory ## Error: Problems changing permissions on the distribution files install -o root -g wheel -m 444 /usr/local/urchin/util/urchin_daemons /usr/local/etc/rc.d/urchin5_daemons.sh-dist install: /usr/local/urchin/util/urchin_daemons: No such file or directory *** Error code 71 Stop in /usr/ports/www/urchin5. and it looks like i have a dependancy that I have not satisfied. how can i get a clean isntallation of urchin? thanks in advance, ken; ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
urchin5 dependancies?
upon installing urchin5 i get this error: === Installing for urchin-5.702 === Generating temporary packing list === Checking if www/urchin5 already installed /usr/libexec/ld-elf.so.1: Shared object libc.so.4 not found, required by gunzip tar: Error opening archive: Empty input file: Inappropriate file type or format ./install.sh: cannot create /usr/local/urchin/var/urchinwebd.conf.template: No such file or directory ./install.sh: cannot create /usr/local/urchin/util/urchin_daemons: No such file or directory mv: rename /usr/local/urchin/data/geodata/.domain.unf to /usr/local/urchin/data/geodata/domain.unf: No such file or directory mv: rename /usr/local/urchin/data/geodata/.domain.unh to /usr/local/urchin/data/geodata/domain.unh: No such file or directory mv: rename /usr/local/urchin/data/geodata/.domain.uni to /usr/local/urchin/data/geodata/domain.uni: No such file or directory mv: rename /usr/local/urchin/data/geodata/.domain.uns to /usr/local/urchin/data/geodata/domain.uns: No such file or directory mv: rename /usr/local/urchin/data/geodata/.domain.local to /usr/local/urchin/data/geodata/domain.local: No such file or directory ./install.sh: /usr/local/urchin/util/uconf-driver: not found chown: /usr/local/urchin/data: No such file or directory chgrp: /usr/local/urchin/data: No such file or directory ## Error: Problems changing permissions on the distribution files install -o root -g wheel -m 444 /usr/local/urchin/util/urchin_daemons /usr/local/etc/rc.d/urchin5_daemons.sh-dist install: /usr/local/urchin/util/urchin_daemons: No such file or directory *** Error code 71 Stop in /usr/ports/www/urchin5. but it looks like my box might be a bit wonky here as libc.so is on the box: /usr/lib/libc.so so there must be something in the environment set up for this. anyone seen this or experienced this problem? ken; ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: upgrade to sendmail 812 and getting broken messages
a bit more info... I am not running smtp on the localhost and have no idea how to start that. can someone help out? telnet localhost smtp Trying ::1... telnet: connect to address ::1: Connection refused Trying 127.0.0.1... telnet: connect to address 127.0.0.1: Connection refused telnet: Unable to connect to remote host as well netstat -an shows nothing on the localhost 127.0.0.1 port anyone? ken; On Mar 9, 2005, at 5:16 PM, Ken Hawkins wrote: I should have given a bit more info. here is my freebsd.mc file: ... divert(0) VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.mc,v 1.29 2003/12/24 21:15:09 gsha piro Exp $') OSTYPE(freebsd5) dnl Select the nullClient feature and specify the relay server FEATURE(`nullclient', `another.domain.net') notice that I am pushing all the mail to another server for delivery so my options are not much! when i had this file created i did a 'make all install restart' i honestly believe it is a configuration thing somewhere but I am unsure where it could be. thanks again for any help, ken; On Mar 9, 2005, at 4:12 PM, Ken Hawkins wrote: i upgraded to sendmail 812 and it looks like i might have broken something: Mar 9 13:10:47 web1 sm-msp-queue[32428]: j29JA1bS032328: to=Ken Hawkins [EMAIL PROTECTED], ctladdr=root (0/0), delay=00:00:46, xdelay=00:00:00, mailer=relay, pri=210302, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1] not sure why this says connection refused by 127.0.0.1 as I am actually relaying via the SMART_HOST directive. I did notice that the ctladdr does not have the entire address in it, could this be my problem? not sure why it is saying that my relay is 127.0.0.1 thanks in advance, ken; ___ 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] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
upgrade to sendmail 812 and getting broken messages
i upgraded to sendmail 812 and it looks like i might have broken something: Mar 9 13:10:47 web1 sm-msp-queue[32428]: j29JA1bS032328: to=Ken Hawkins [EMAIL PROTECTED], ctladdr=root (0/0), delay=00:00:46, xdelay=00:00:00, mailer=relay, pri=210302, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1] not sure why this says connection refused by 127.0.0.1 as I am actually relaying via the SMART_HOST directive. I did notice that the ctladdr does not have the entire address in it, could this be my problem? not sure why it is saying that my relay is 127.0.0.1 thanks in advance, ken; ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: upgrade to sendmail 812 and getting broken messages
I should have given a bit more info. here is my freebsd.mc file: ... divert(0) VERSIONID(`$FreeBSD: src/etc/sendmail/freebsd.mc,v 1.29 2003/12/24 21:15:09 gsha piro Exp $') OSTYPE(freebsd5) dnl Select the nullClient feature and specify the relay server FEATURE(`nullclient', `another.domain.net') notice that I am pushing all the mail to another server for delivery so my options are not much! when i had this file created i did a 'make all install restart' i honestly believe it is a configuration thing somewhere but I am unsure where it could be. thanks again for any help, ken; On Mar 9, 2005, at 4:12 PM, Ken Hawkins wrote: i upgraded to sendmail 812 and it looks like i might have broken something: Mar 9 13:10:47 web1 sm-msp-queue[32428]: j29JA1bS032328: to=Ken Hawkins [EMAIL PROTECTED], ctladdr=root (0/0), delay=00:00:46, xdelay=00:00:00, mailer=relay, pri=210302, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refused by [127.0.0.1] not sure why this says connection refused by 127.0.0.1 as I am actually relaying via the SMART_HOST directive. I did notice that the ctladdr does not have the entire address in it, could this be my problem? not sure why it is saying that my relay is 127.0.0.1 thanks in advance, ken; ___ 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]
Re: complete rookie sendmail question
On Feb 27, 2005, at 6:25 PM, Warren Block wrote: On Sun, 27 Feb 2005, Ken Hawkins wrote: alright I found an old blurb about handling a scenario similar to mine: http://lists.freebsd.org/pipermail/freebsd-questions/2003-July/ 014468.html it essentially says: If you want to get FreeBSD to forward your email to the MS-Exchange server, you have to: 1. make sure sendmail is running. (ie remove sendmail_* lines from /etc/rc.conf) Put sendmail_enable=YES in /etc/rc.conf. 2. # cd /etc/mail 3. # cp freebsd.mc `hostname`.mc That's doing things the hard way and might miss things the Makefile will do for you. Just: # cd /etc/mail # make 4. edit `hostname`.mc and uncomment the following line: define(`SMART_HOST', `your.isp.mail.server') 5. replace `your.isp.mail.server' with your Exchange server. Or any mail server you are allowed to smarthost through. 6. # make 7. # make install 8. # sh /etc/rc.sendmail restart Should be: 6. make all install restart which combines steps 7 and 8. 6 was already done above. can anyone point me toward what I require to create a domain file for our box name in the /usr/share/sendmail/cf/domain/ area? Let /etc/mail/Makefile help you by using make as shown above. did those steps: 1 cd /etc/mail edited freebsd.mc and changed: 2 make this generated: cp freebsd.mc web1.prosoundweb.com.mc /usr/bin/m4 -D_CF_DIR_=/usr/share/sendmail/cf/ /usr/share/sendmail/cf/m4/cf.m4 web1.prosoundweb.com.mc web1.prosoundweb.com.cf m4: web1.prosoundweb.com.mc at line 49: include(/usr/share/sendmail/cf/domain/prosoundweb.com.m4): No such file or directory *** Error code 1 this is still looking for a prosoundweb.com.m4 file in the domain area. is there a step I am missing somewhere? I copied generic.m4 to prosoundweb.com.m4 and went through 'make all install restart' and I am still timing out talking to the host: Operation timed out with bhost1.broadjam.net. so obviously I am not done here ken; ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: complete rookie sendmail question
Apologies for the quick post. I found the domain file issue and i had changed the DOMAIN param in freebsd.mc from generic to prosoundweb.com. switching it back to generic obviously took care of that problem however after opening up the SMART_HOST: define(`SMART_HOST', `bhost1.broadjam.net') I am still timing out which leads me to believe it is a true issue of timing between the servers and NOT improper configuration on the box. If i understand everything now by uncommenting the SMART_HOST define and giving it our true mail server this should relay all mail generated and coming from and coming into the server to the actual mail server yes? I also now only have sendmail_enabl=YES in rc.conf am i way off base here? ken; On Feb 28, 2005, at 10:10 AM, Ken Hawkins wrote: On Feb 27, 2005, at 6:25 PM, Warren Block wrote: On Sun, 27 Feb 2005, Ken Hawkins wrote: alright I found an old blurb about handling a scenario similar to mine: http://lists.freebsd.org/pipermail/freebsd-questions/2003-July/ 014468.html it essentially says: If you want to get FreeBSD to forward your email to the MS-Exchange server, you have to: 1. make sure sendmail is running. (ie remove sendmail_* lines from /etc/rc.conf) Put sendmail_enable=YES in /etc/rc.conf. 2. # cd /etc/mail 3. # cp freebsd.mc `hostname`.mc That's doing things the hard way and might miss things the Makefile will do for you. Just: # cd /etc/mail # make 4. edit `hostname`.mc and uncomment the following line: define(`SMART_HOST', `your.isp.mail.server') 5. replace `your.isp.mail.server' with your Exchange server. Or any mail server you are allowed to smarthost through. 6. # make 7. # make install 8. # sh /etc/rc.sendmail restart Should be: 6. make all install restart which combines steps 7 and 8. 6 was already done above. can anyone point me toward what I require to create a domain file for our box name in the /usr/share/sendmail/cf/domain/ area? Let /etc/mail/Makefile help you by using make as shown above. did those steps: 1 cd /etc/mail edited freebsd.mc and changed: 2 make this generated: cp freebsd.mc web1.prosoundweb.com.mc /usr/bin/m4 -D_CF_DIR_=/usr/share/sendmail/cf/ /usr/share/sendmail/cf/m4/cf.m4 web1.prosoundweb.com.mc web1.prosoundweb.com.cf m4: web1.prosoundweb.com.mc at line 49: include(/usr/share/sendmail/cf/domain/prosoundweb.com.m4): No such file or directory *** Error code 1 this is still looking for a prosoundweb.com.m4 file in the domain area. is there a step I am missing somewhere? I copied generic.m4 to prosoundweb.com.m4 and went through 'make all install restart' and I am still timing out talking to the host: Operation timed out with bhost1.broadjam.net. so obviously I am not done here ken; ___ 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]
Re: complete rookie sendmail question
thanks for all the help folks! it was a learning experience as always and the last link was a routing problem with the ISP. all is well now and mail is flowing smoothly. thanks again! ken; On Feb 28, 2005, at 7:42 PM, Warren Block wrote: On Mon, 28 Feb 2005, Ken Hawkins wrote: define(`SMART_HOST', `bhost1.broadjam.net') I am still timing out which leads me to believe it is a true issue of timing between the servers and NOT improper configuration on the box. If i understand everything now by uncommenting the SMART_HOST define and giving it our true mail server this should relay all mail generated and coming from and coming into the server to the actual mail server yes? No, all it does is tell your server to send outgoing mail through the smarthost. Where to send incoming mail is decided by the sending system. I also now only have sendmail_enabl=YES in rc.conf sendmail_enable=YES ^ Close. I think your ISP is the next place to ask. They may have some sort of authentication required to smarthost through them. -Warren Block * Rapid City, South Dakota USA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: complete rookie sendmail question
Found out it was a firewall issue and that is open now. though my problem has gone from connection refused to: Feb 27 08:22:04 web1 sendmail[85505]: j1MIj4DI065443: ... delay=4+19:37:00, xdelay=00:00:00, mailer=esmtp, pri=22920813, relay=bhost1.broadjam.net., dsn=4.0.0, stat=Deferred: Operation timed out with bhost1.broadjam.net. is there a timeout that I can set in sendmail to set a longer wait time on this? my flags in my rc.conf are: sendmail_enable=YES sendmail_flags=-bd -q30m # -bd is pretty mandatory. I am in a bit of a panic because my mail queue is starting to fill up and I need to get these messages out thanks, ken; On Feb 25, 2005, at 11:11 AM, Giorgos Keramidas wrote: On 2005-02-25 11:03, Ken Hawkins [EMAIL PROTECTED] wrote: first thank you all for the invaluable amount of info and resorses that flow through this mail list.. I hope to one day contribute more than I take away. that said This is what is happening. I have a webserver 'web1.foo.com' that is not the mailserver for foo.com (that is mail.foo.com). /var/log/maillog has errors like: Feb 25 07:34:09 web1 sm-mta[98913]: j1PDTdTd098790: to=[EMAIL PROTECTED], ctladdr=[EMAIL PROTECTED] (1002/1002), delay=00:04:30, xdelay=00:00:00, mailer=esmtp, pri=120427, relay=mail.foo.com. [64.73.41.34], dsn=4.0.0, stat=Deferred: Connection refused by mail.foo.com. Is mail.foo.com running an MTA? Does the setup of the MTA, the firewall, whatever else runs on mail.foo.com allow connections from your web1.foo.com host? how can i configure sendmail for send out mail as foo.com and NOT web1.foo.com? is this possible? This is probably a job of the MTA running on mail.foo.com, which should probably have the option: MASQUERADE_AS(`foo.com') MASQUERADE_DOMAIN(`foo.com') If it doesn't already, that is. Handling the masquerading of outgoing email in one central place (the MTA setup of mail.foo.com) is much preferable, since you only have to update ONE place whenever you feel like changing the MASQUERADE_AS option. - Giorgos ___ 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]
Re: complete rookie sendmail question
inline... On Feb 27, 2005, at 3:26 PM, Giorgos Keramidas wrote: On 2005-02-27 11:44, Ken Hawkins [EMAIL PROTECTED] wrote: Found out it was a firewall issue and that is open now. though my problem has gone from connection refused to: Feb 27 08:22:04 web1 sendmail[85505]: j1MIj4DI065443: ... delay=4+19:37:00, xdelay=00:00:00, mailer=esmtp, pri=22920813, relay=bhost1.broadjam.net., dsn=4.0.0, stat=Deferred: Operation timed out with bhost1.broadjam.net. is there a timeout that I can set in sendmail to set a longer wait time on this? Something else is wrong now. I can't connect to the SMTP port of bhost1.broadjam.net, so I can't tell if it's down or just refusing my attempt to connect. I think it is just refusing your connection attempts. Are you sure you should be sending outgoing email through that host? yes. my flags in my rc.conf are: sendmail_enable=YES sendmail_flags=-bd -q30m # -bd is pretty mandatory. This looks a bit wrong, if you are running a recent release of FreeBSD. The sendmail_enable option is *NOT* going to work with _flags. It is mostly a wrapper around the following: sendmail_submit_enable sendmail_outbound_enable sendmail_msp_queue_enable You should definitely read the manpage of rc.sendmail, before setting Sendmail-related options in your /etc/rc.conf file. Pay very close attention to the section ``RC.CONF VARIABLES''. from my man rc.conf: RC.CONF VARIABLES The following variables affect the behavior of rc.sendmail. They are defined in /etc/defaults/rc.conf and can be changed in /etc/rc.conf. sendmail_enable (str) If set to ``YES'', run the sendmail(8) daemon at system boot time. If set to ``NO'', do not run a sendmail(8) daemon to listen for incoming network mail. This does not preclude a sendmail(8) daemon listening on the SMTP port of the loopback interface. The ``NONE'' option is deprecated and should not be used. It will be removed in a future release. sendmail_flags (str) If sendmail_enable is set to ``YES'', these are the flags to pass to the sendmail(8) daemon. and my settings are: sendmail_enable=YES sendmail_flags=-bd -q30m # -bd is pretty mandatory. the only thing that I see wrong here is that I do not need the -bd which tells sendmail to run as a daemon since sendmail_enable=YES essentially does this. the other is to process the queue every 30 minutes. am I missing my problem here? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: complete rookie sendmail question
alright I found an old blurb about handling a scenario similar to mine: http://lists.freebsd.org/pipermail/freebsd-questions/2003-July/ 014468.html it essentially says: If you want to get FreeBSD to forward your email to the MS-Exchange server, you have to: 1. make sure sendmail is running. (ie remove sendmail_* lines from /etc/rc.conf) 2. # cd /etc/mail 3. # cp freebsd.mc `hostname`.mc 4. edit `hostname`.mc and uncomment the following line: define(`SMART_HOST', `your.isp.mail.server') 5. replace `your.isp.mail.server' with your Exchange server. 6. # make 7. # make install 8. # sh /etc/rc.sendmail restart This will configure sendmail to send all non-local mail to the Exchange Server for further processing (eg: to send email to the 'Net). This is essetially what I need to do ('cept ours is not an EXCHANGE server) and if i follow this, put in bhost1.broadjam.net for the SMART_HOST and during make i get an error that it is looking for a domain file: /usr/bin/m4 -D_CF_DIR_=/usr/share/sendmail/cf/ /usr/share/sendmail/cf/m4/cf.m4 box name.mc box name.cf m4: box name.mc at line 49: include(/usr/share/sendmail/cf/domain/box name.m4): No such file or directory i replaced our host name with box name in the output. can anyone point me toward what I require to create a domain file for our box name in the /usr/share/sendmail/cf/domain/ area? ken; On Feb 27, 2005, at 4:03 PM, Ken Hawkins wrote: inline... On Feb 27, 2005, at 3:26 PM, Giorgos Keramidas wrote: On 2005-02-27 11:44, Ken Hawkins [EMAIL PROTECTED] wrote: Found out it was a firewall issue and that is open now. though my problem has gone from connection refused to: Feb 27 08:22:04 web1 sendmail[85505]: j1MIj4DI065443: ... delay=4+19:37:00, xdelay=00:00:00, mailer=esmtp, pri=22920813, relay=bhost1.broadjam.net., dsn=4.0.0, stat=Deferred: Operation timed out with bhost1.broadjam.net. is there a timeout that I can set in sendmail to set a longer wait time on this? Something else is wrong now. I can't connect to the SMTP port of bhost1.broadjam.net, so I can't tell if it's down or just refusing my attempt to connect. I think it is just refusing your connection attempts. Are you sure you should be sending outgoing email through that host? yes. my flags in my rc.conf are: sendmail_enable=YES sendmail_flags=-bd -q30m # -bd is pretty mandatory. This looks a bit wrong, if you are running a recent release of FreeBSD. The sendmail_enable option is *NOT* going to work with _flags. It is mostly a wrapper around the following: sendmail_submit_enable sendmail_outbound_enable sendmail_msp_queue_enable You should definitely read the manpage of rc.sendmail, before setting Sendmail-related options in your /etc/rc.conf file. Pay very close attention to the section ``RC.CONF VARIABLES''. from my man rc.conf: RC.CONF VARIABLES The following variables affect the behavior of rc.sendmail. They are defined in /etc/defaults/rc.conf and can be changed in /etc/rc.conf. sendmail_enable (str) If set to ``YES'', run the sendmail(8) daemon at system boot time. If set to ``NO'', do not run a sendmail(8) daemon to listen for incoming network mail. This does not preclude a sendmail(8) daemon listening on the SMTP port of the loopback interface. The ``NONE'' option is deprecated and should not be used. It will be removed in a future release. sendmail_flags (str) If sendmail_enable is set to ``YES'', these are the flags to pass to the sendmail(8) daemon. and my settings are: sendmail_enable=YES sendmail_flags=-bd -q30m # -bd is pretty mandatory. the only thing that I see wrong here is that I do not need the -bd which tells sendmail to run as a daemon since sendmail_enable=YES essentially does this. the other is to process the queue every 30 minutes. am I missing my problem here? ___ 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]
complete rookie sendmail question
first thank you all for the invaluable amount of info and resorses that flow through this mail list.. I hope to one day contribute more than I take away. that said This is what is happening. I have a webserver 'web1.foo.com' that is not the mailserver for foo.com (that is mail.foo.com). /var/log/maillog has errors like: Feb 25 07:34:09 web1 sm-mta[98913]: j1PDTdTd098790: to=[EMAIL PROTECTED], ctladdr=[EMAIL PROTECTED] (1002/1002), delay=00:04:30, xdelay=00:00:00, mailer=esmtp, pri=120427, relay=mail.foo.com. [64.73.41.34], dsn=4.0.0, stat=Deferred: Connection refused by mail.foo.com. as well I am seeing: Feb 25 00:10:56 web1 sm-mta[88984]: j1P1HLV8081785: to=[EMAIL PROTECTED], ctladdr=[EMAIL PROTECTED] (80/80), delay=04:53:35, xd elay=00:00:06, mailer=esmtp, pri=930762, relay=somedomain.com. [216.166.63.26], dsn=4.0.0, stat=Deferred: 451 4.1.8 Domain of sender addre ss [EMAIL PROTECTED] does not resolve I beleive this is because the ctladdr should be [EMAIL PROTECTED] and not [EMAIL PROTECTED] how can i configure sendmail for send out mail as foo.com and NOT web1.foo.com? is this possible? am I barking up the wrong tree here to find out why I am not able to send mail out... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
sendmail startup script?
I am in the midst of reconfiguring sendmail on a box to forward the mail from the domain to another box (true mail smtp box). is there a script that I can call similar to what is in the /usr/local/etc/rc.d area? how does sendmail konw what flags to set in the command on startup? btw my line from ps'ing is: /usr/sbin/sendmail -FCronDaemon -odi -oem -oi -t thanks in advance! ken; ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
php and aspell? is there a port?
does anyone know if there is a port for this and/or has compiled php with aspell on a FreeBSD box? thanks in advance, ken; ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
installing java on a box?
I have seen a few things on how to do this however I can't find the java file:j2sdk-1_3_1_14-linux-i586.bin on any of sun's servers. in lieu of what I have been doing how can i install java on a FreeBSD box? thanks, ken; ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ye ol xargs unterminated quote error, thought it was gone?
when I use the usual: find . -type f -print | xargs grep -sl foobar i get; xargs unterminated quote error and have to use: find . -type f -print | sed 's/^\(.*\)$//'\1'/' | xargs grep -sl foobar to quote the output from find. anyone know a more elegant solution? thoughts? ken; ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
single box handling multiple ips, how?
Sorry if this is not quite the place to ask however, if it is not can someone point me toward the right resource (on the net) for answers. I am running FreeBSD on a box with an ethernet; ifconfig em0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 options=1bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING inet ???.???.???.151 netmask 0x broadcast 10.50.255.255 inet6 fe80::230:48ff:fe2c:76e2%em0 prefixlen 64 scopeid 0x1 inet ???.???.???.152 netmask 0x broadcast 10.50.1.152 inet ???.???.???.153 netmask 0x broadcast 10.50.1.153 ether 00:30:48:2c:76:e2 media: Ethernet 100baseTX full-duplex status: active the ??? are just our ips. you will notice that .152 and .153 are aliases and are mapped to external ips via a switch. my question is how can I resolve names to the ip aliases on the box? ie ???.???.???.152 - a.net and ???.???.???.153 - b.net is this a /etc/hosts kind of entry? ???.???.???.152web1.a.net web1 ???.???.???.152web1.a.net. ???.???.???.153web1.b.net web1 ???.???.???.153web1.b.net. any help would be greatly appreciated! ken; ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: single box handling multiple ips, how?
Thanks, I do not know what the 'web1.a.net.' is about, more specifically he .net. (dot on the end). i took this for the initial setup that was done on the box' initial entry in the /etc/hosts. ok what am i doing... I have apache running on the box and would like to use 3 diffferent IP's to try and keep (somewhat separate) the traffic, logging, etc. for the Virtual Hosts that are running there. ultimately I will have; ip address 1 resolve to - website 1 ip address 2 resolve to - website 2 ip address 3 resolve to - website 3 obviously they will bind to the same box but i would like to have them to separate ip's to ease some maintenance on the box, redirect traffic when needed, blah, blah. I know that I can Name more than one VirtualHost ie; NameVirtualHost ???.???.???.151:80 NameVirtualHost ???.???.???.152:80 NameVirtualHost ???.???.???.153:80 and then the normal VirtualHost directive via IP's but I want to make sure that the box will answer to those ip's when we flip the DNS switch. am i making sense? did i leave anything beyond the bind directive's out? ken; On Feb 9, 2005, at 1:57 PM, Lowell Gilbert wrote: Ken Hawkins [EMAIL PROTECTED] writes: Sorry if this is not quite the place to ask however, if it is not can someone point me toward the right resource (on the net) for answers. I am running FreeBSD on a box with an ethernet; ifconfig em0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 options=1bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING inet ???.???.???.151 netmask 0x broadcast 10.50.255.255 inet6 fe80::230:48ff:fe2c:76e2%em0 prefixlen 64 scopeid 0x1 inet ???.???.???.152 netmask 0x broadcast 10.50.1.152 inet ???.???.???.153 netmask 0x broadcast 10.50.1.153 ether 00:30:48:2c:76:e2 media: Ethernet 100baseTX full-duplex status: active the ??? are just our ips. you will notice that .152 and .153 are aliases and are mapped to external ips via a switch. my question is how can I resolve names to the ip aliases on the box? ie ???.???.???.152 - a.net and ???.???.???.153 - b.net is this a /etc/hosts kind of entry? ???.???.???.152web1.a.net web1 ???.???.???.152web1.a.net. ???.???.???.153web1.b.net web1 ???.???.???.153web1.b.net. any help would be greatly appreciated! Yes, /etc/hosts will be the place to put those translations (for the full hostnames -- you don't want the web1.a.net. entries) if you want that machine to know about them. If you explained the desired end result, we might be able to give you more help. ___ 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]
handling multiple ips on a box?
Your message To: 'freebsd-questions@freebsd.org' Subject: handling multiple ips on a box? Sent:Wed, 2 Feb 2005 10:17:55 -0600 did not reach the following recipient(s): 'freebsd-questions@freebsd.org' on Fri, 4 Feb 2005 10:18:33 -0600 The message was undeliverable because the recipient specified in the recipient postal address was not known at this address The MTS-ID of the original message is: c=US;a= ;p=Broadjam;l=HERMES-050202161755Z-19504 MSEXCH:IMS:Broadjam:HQ:HERMES 3450 (000B09AA) 450 Client host rejected: cannot find your hostname, [68.249.86.134] From: Ken Hawkins [EMAIL PROTECTED] Date: February 2, 2005 11:17:55 AM EST To: 'freebsd-questions@freebsd.org' freebsd-questions@freebsd.org Subject: handling multiple ips on a box? Sorry if this is not quite the place to ask however, if it is not can someone point me toward the right resource (on the net) for answers. I am running FreeBSD on a box with an ethernet; ifconfig em0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 options=1bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING inet ???.???.???.151 netmask 0x broadcast 10.50.255.255 inet6 fe80::230:48ff:fe2c:76e2%em0 prefixlen 64 scopeid 0x1 inet ???.???.???.152 netmask 0x broadcast 10.50.1.152 inet ???.???.???.153 netmask 0x broadcast 10.50.1.153 ether 00:30:48:2c:76:e2 media: Ethernet 100baseTX full-duplex status: active the ??? are just our ips. you will notice that .152 and .153 are aliases and are mapped to external ips via a switch. my question is how can I resolve names to the ip aliases on the box? ie ???.???.???.152 - a.net and ???.???.???.153 - b.net is this a /etc/hosts kind of entry? ???.???.???.152web1.a.net web1 ???.???.???.152web1.a.net. ???.???.???.153web1.b.net web1 ???.???.???.153web1.b.net. any help would be greatly appreciated! ken; ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Unable to get phpMyAdmin working
do you have a php.ini file? what version of apache are you running? did you set up the Ailas in httpd.conf as well as define its access? Alias /phpmyadmin/ /usr/local/www/phpMyAdmin/ Directory /path to phpmyAdmin/phpMyAdmin Options Indexes MultiViews AllowOverride None Order allow,deny Allow from all /Directory what is the error in your http error log and/or phperr log file? you will probably see a undefined error somewhere, at least this is what I saw and i have a php.ini file in place. make sure you have: .:/php/includes in you include_path and/or move the php.ini file out of /usr/local/etc dir and restart apache (not graceful as this haas been an issue for leaving the php ini stuff loaded in the past) to see what happens. I am making a stab at your problem here ad might be way, WAY off base however you will have log info in /var/log(your logging dir default) for apache and php (phperr) let us know what is in those logs and I can help out a bit more. recently ran the gauntlet of php installation hell earlier. ken; On Feb 7, 2005, at 11:12 AM, Pat Maddox wrote: I just installed phpMyAdmin from ports, and it didn't look like I needed to make any changes to the config file. Initially I set the authorization type as http, but when it wasn't working, I specified the root username and password and tried config instead. I get this error: phpMyAdmin was unable to read your configuration file! This might happen if php finds a parse error in it or php cannot find the file. Please call the configuration file directly using the link below and read the php error message(s) that you receive. In most cases a quote or a semicolon is missing somewhere. If you receive a blank page, everything is fine. So then I click on the link to config.inc.php like it says, and it's a blank page. So everything should be fine...but it's definitely not. Any clue what I need to do? ___ 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]
undoing ifconfig plumb?
is this possible? i have a box that is unreachable now after I had ran ifconfig em0 plumb command. I am in the midst of setting up a box that has multiple ip's on a single ethernet connection with differing subnet masks however, in the midst i got botted off the box (ssh kick) and BANG cannot get back in! ssh: connect to host web1.prosoundweb.com port 22: No route to host I need to undo my screw up here. can anyone help out? thanks, ken; ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ifconfig: SIOCIFDESTROY: Invalid argument, was (undoing ifconfig plumb?)
ok i got back into the box however when i try; ifconfig em0 unplumb i receive: ifconfig: SIOCIFDESTROY: Invalid argument I was booted in the midst of the process (ssh kickoff) and think that I might have been partially done with the plumb and 'up' ifconfig steps. how can i undo all that 'plumb' and 'up' commands did for ifconfig? thanks, ken; On Feb 7, 2005, at 11:46 AM, Ken Hawkins wrote: is this possible? i have a box that is unreachable now after I had ran ifconfig em0 plumb command. I am in the midst of setting up a box that has multiple ip's on a single ethernet connection with differing subnet masks however, in the midst i got botted off the box (ssh kick) and BANG cannot get back in! ssh: connect to host web1.prosoundweb.com port 22: No route to host I need to undo my screw up here. can anyone help out? thanks, ken; ___ 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]
Re: apache13_modssl + mod_php4 + php4-extenstions + mysql323-*+myphpadmin = ...
thanks T, I followed your steps to the tee and still no go. I do have a php.ini in /usr/local/etc however and it appears to be picking up my include_path. I just got done installing Horde/IMP and I hate to tell you but php.ini doesen't even exist. From the looks of it the ports people got together and worked out an alternative way of specifying variables for php instead of using php.ini. Probably to avoid the problems that you mentioned of ports overwriting php files. so what is this alternative way? i have to include some other paths... ken; On Tuesday, February 01, 2005, at 03:35PM, Thomas Foster [EMAIL PROTECTED] wrote: Original Attached Well, the only items you really need in ht= tpd.conf are: # LoadModule php4_module libexec/apache2/libphp4.so DirectoryIndex index.php index.html index.htm # If you are using apache2 that is.. for apa= che1.3 i believe it is libexec/apache13 or libexec/apache It would help to make sure you have define= d mime types as well.. # application/x-httpd-php = nbsp; php application/x-httpd-php-source phps # Be sure and restart apache and clear your = browser cache before trying to load the page/site again.. let me know your results T - Original Message - Fro= m: [1]Ke= n Hawkins To: [2]Thomas Foster Sent: Tuesday, February 01, 2005 3= :09 PM Subject: Re: apache13_modssl + mod= _php4 + php4-extenstions + mysql323-*+myphpadmin = ... T, thank you for all the info! it has been a learni= ng experience. my php.conf file shows: PHP_VER=4 PHP_VERSION=4.3.10 PHP_EXT_DIR=200204= 29 PHP_PORT=${PORTSDIR}/lang/php4 PHP_SAPI=full which jives with the pkg_info; [web1:lib/php/20020429] root# pkg_info | = grep php php4-4.3.10_2 PHP Scripting Language (Apache Module and CLI) php4-bz2-4.3.10_2 The bz2 shared extension for php php4-ctype-4.3.10_2 The ctype shared extension for php php4-dba-4.3.10_2 The dba shared extension for php php4-domxml-4.3.10_2 The domxml shared extension for php php4-gd-4.3.10_2 The gd shared extension for php php4-mysql-4.3= .10_2 The mysql shared extension for php php4-openssl-4.3.10_2 The openssl s= hared extension for php php4-overload-4.3.10_2 The overload shared extension= for php php4-pcre-4.3.10_2 The pcre shared extension for php php4-pear-4.3.10_2 PEAR framework for PHP php4-posix-4.3.10= _2 The posix shared extension for php php4-session-4.3.10_2 The session s= hared extension for php php4-tokenizer-4.3.10_2 The tokenizer shared extensi= on for php php4-xml-4.3.10_2 The xml shared extension for php php4-zlib-4.3.10_2 The zlib shared extension for php phpMyAdmin-2.6.1 A set of PHP-scripts to manage MySQL over the web and it is in the directory; [web1:lib/php/20020429] root#= ls bz2.so dba.so gd.so mysql.so overload.so pdf.so session.so xml.so ctype.so domxml.so imagick.so openssl.so pcre.so posix.s= o tokenizer.so zlib.so so it would appear that the file is there and= the config is correct as far php is concerned. anything i need to do other th an the LoadModule **php** stuff in the httpd.conf file? thanks again = for all your help! ken; On Feb 1, 2005, at 5:23 PM, Thomas Fos= ter wrote: Is your pcre extension still: php4-pcre-4.3.9 ? If so, try= forcing a pkg_delete of all your PHP4 extensions, and rebuild .. make distclean make config make install double check your php.c= onf for PHP_EXT_DIR= make sure that lib directory exists under /usr/local/lib/php pcre.so should be in that directory.. if for = any reason you need to manually remove the older version.. Hope this= helps T - Original Message - From: Ken Hawki= ns [EMAIL PROTECTED] To: Thomas Foster [EMAIL PROTECTED] Sent: Tuesday, February 01, 2005 2:12 PM Subject: Re: apache13_modssl + mod_php4 + php4-extenstions + mysql323-*+myphpadmin = ... thanks, I did that and PCRE is selected and is installed. the battle continues ken; On Feb = 1, 2005, at 4:59 PM, Thomas Foster wrote: try make config from /usr/ports/lang/php4-extensions Is PCRE already defined? try selecting the libs you need from here... and in= stall them Hope this helps T - Original Message = - From: Ken Hawkins [EMAIL PROTECTED] To: Ken Hawki= ns [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Sent: Tuesday, February 01= , 2005 1:00 PM Subject: Re: apache13_modssl + mod_php4 + php4
Re: apache13_modssl + mod_php4 + php4-extenstions + mysql323-* +myphpadmin = ...
ok a bit of tearing around yields this: [web1:etc/apache/logs] root# find /usr \* -print | xargs grep -l bindtextdomain grep: /usr/bin/suidperl: No such file or directory /usr/local/man/man3 /usr/local/man/whatis /usr/local/lib/perl5/site_perl/5.8.5/mach/auto/Locale/gettext/gettext.so /usr/local/lib/perl5/site_perl/5.8.5/mach/Locale/gettext.pm /usr/local/lib/libintl.a /usr/local/lib/libintl.so [web1:etc/apache/logs] root# find /usr \* -print | xargs grep -l mysql_pconnect grep: /usr/bin/suidperl: No such file or directory /usr/local/lib/php/20020429/mysql.so /usr/local/include/php/ext/mysql/php_mysql.h where I am failing the functions are there I think that i have hosed my php.ini file which the include_path is: include_path= ./:/usr/local/lib/php/:/usr/local/share/pear/bootstrap/:/usr/local/www/data/psw/include/:/usr/local/www/data/psw/mods:/usr/local/www/data/mod:/usr/local/www/data/psw/polls/:/usr/local/www/data/polls ; UNIX: /path1:/path2 Windows: \path1;\path2 what should the entries be for this? I take it that the install from a port will not overwrite the php.ini file if it is found and this could be a hangover from an old install. anyone know what the include_path should look like? any help is greatly appreciated as I am ready to tear it out and go again ken; On Tue, 1 Feb 2005, Ken Hawkins wrote: On Feb 1, 2005, at 3:42 PM, Ken Hawkins wrote: On Feb 1, 2005, at 3:29 PM, Andras Kende wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ken Hawkins Sent: Tuesday, February 01, 2005 2:16 PM To: freebsd-questions@freebsd.org Subject: apache13_modssl + mod_php4 + php4-extenstions + mysql323-* +myphpadmin = ... [Tue Feb 1 11:58:29 2005] [error] PHP Fatal error: Call to undefined function: preg_match() in /usr/local/www/phpMyAdmin/libraries/defines.lib.php on line 36 I have re-installed the above mentioned ports and everything is up and running however from phpmyadmin I am getting the above mentioned error when trying to use phpmyadmin from a webpage. I have seen the various supposed fixes and have tried a few. I do not get the =20 after the error and have tried ripping out everything. installing php4-pear then apache13-modssl, mysql323-server / client and myphpadmin yet i still get this! can someone please give me the definitive fix for this? is there one? sorry to sound frustrated, loosing a day tracking this down is no fun ken; ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Hello, Looks like PHP missing the PCRE (Perl Compatible Regular Expressions) Support ?php phpinfo(); ? Should have like: PCRE (Perl Compatible Regular Expressions) Support | enabled PCRE Library Version | 4.5 01-December-2003 I have this: PWD /usr/ports/devel/php4-pcre and _ENV[PWD] /usr/ports/devel/php4-pcre but that is it. i have as well installed php4-pcre to now avail ... any other? ken; Its also here: /usr/ports/devel/php4-pcre/ Best regards, Andras Kende http://www.kende.com ___ 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] not sure if this has something to do with it but when i tried to force an install of php4-pcre i got: pkg_add: can't open dependency file '/var/db/pkg/apache-1.3.33/+REQUIRED_BY'! dependency registration is incomplete pkg_add: warning: package 'php4-pcre-4.3.9' requires 'php4-4.3.9', but 'php4-4.3.10_2' is installed this does not seem to be a problem however, [web1:ports/devel/php4-pcre] root# pkg_info | grep php php4-4.3.10_2 PHP Scripting Language (Apache Module and CLI) php4-bz2-4.3.10_2 The bz2 shared extension for php php4-gd-4.3.10_2The gd shared extension for php php4-mysql-4.3.10_2 The mysql shared extension for php php4-openssl-4.3.10_2 The openssl shared extension for php php4-pcre-4.3.10_2 The pcre shared extension for php php4-pcre-4.3.9 The pcre shared extension for php php4-pear-4.3.10_2 PEAR framework for PHP php4-xml-4.3.10_2 The xml shared extension for php php4-zlib-4.3.10_2 The zlib shared extension for php phpMyAdmin-2.6.1A set of PHP-scripts to manage MySQL over the web show 2 pacakges! php4-pcre-4.3.10_2 The pcre shared extension for php php4-pcre-4.3.9 The pcre shared extension for php is this correct? i have the webserver up on http
make switch for alternate data directory on mysql???-server install
I know there is a switch for make install that will tell it where the database files will be held (mysql, test, etc...) and I thought it was; make DB_DIR=/some/other/dir install but this is not the case. how can i find out the switches for this and any other ports? thanks, ken; ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
how can i find out which modules are loaded in apache
I have installed apache13 and it is running however when i run; 'httpd -l' I see this: Compiled-in modules: http_core.c mod_so.c suexec: disabled; invalid wrapper /usr/local/sbin/suexec I am running as root on the box and am trying to make sure that mod_alias is part of apache. it looks like it is not however since their is a BIG hole in between _core.s and _so.c what is the easiest path to installing apache13 with ssl and mod_alias? I also have php4-pear, mysql, phpbb and phpmyadmin installed on the box so, will just make reinstal apache13 destroy all my settings here? I have to ask to make sure that I catch all the configuration files such as httpd.conf, php.ini, etc. how can i find out all the flags that are available to set for make/make install for the apache13 port? (rookie question) thanks, ken; ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
apache13_modssl + mod_php4 + php4-extenstions + mysql323-* + myphpadmin = ...
[Tue Feb 1 11:58:29 2005] [error] PHP Fatal error: Call to undefined function: preg_match() in /usr/local/www/phpMyAdmin/libraries/defines.lib.php on line 36 I have re-installed the above mentioned ports and everything is up and running however from phpmyadmin I am getting the above mentioned error when trying to use phpmyadmin from a webpage. I have seen the various supposed fixes and have tried a few. I do not get the =20 after the error and have tried ripping out everything. installing php4-pear then apache13-modssl, mysql323-server / client and myphpadmin yet i still get this! can someone please give me the definitive fix for this? is there one? sorry to sound frustrated, loosing a day tracking this down is no fun ken; ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: apache13_modssl + mod_php4 + php4-extenstions + mysql323-* +myphpadmin = ...
On Feb 1, 2005, at 3:42 PM, Ken Hawkins wrote: On Feb 1, 2005, at 3:29 PM, Andras Kende wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ken Hawkins Sent: Tuesday, February 01, 2005 2:16 PM To: freebsd-questions@freebsd.org Subject: apache13_modssl + mod_php4 + php4-extenstions + mysql323-* +myphpadmin = ... [Tue Feb 1 11:58:29 2005] [error] PHP Fatal error: Call to undefined function: preg_match() in /usr/local/www/phpMyAdmin/libraries/defines.lib.php on line 36 I have re-installed the above mentioned ports and everything is up and running however from phpmyadmin I am getting the above mentioned error when trying to use phpmyadmin from a webpage. I have seen the various supposed fixes and have tried a few. I do not get the =20 after the error and have tried ripping out everything. installing php4-pear then apache13-modssl, mysql323-server / client and myphpadmin yet i still get this! can someone please give me the definitive fix for this? is there one? sorry to sound frustrated, loosing a day tracking this down is no fun ken; ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Hello, Looks like PHP missing the PCRE (Perl Compatible Regular Expressions) Support ?php phpinfo(); ? Should have like: PCRE (Perl Compatible Regular Expressions) Support | enabled PCRE Library Version | 4.5 01-December-2003 I have this: PWD /usr/ports/devel/php4-pcre and _ENV[PWD] /usr/ports/devel/php4-pcre but that is it. i have as well installed php4-pcre to now avail ... any other? ken; Its also here: /usr/ports/devel/php4-pcre/ Best regards, Andras Kende http://www.kende.com ___ 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] not sure if this has something to do with it but when i tried to force an install of php4-pcre i got: pkg_add: can't open dependency file '/var/db/pkg/apache-1.3.33/+REQUIRED_BY'! dependency registration is incomplete pkg_add: warning: package 'php4-pcre-4.3.9' requires 'php4-4.3.9', but 'php4-4.3.10_2' is installed this does not seem to be a problem however, [web1:ports/devel/php4-pcre] root# pkg_info | grep php php4-4.3.10_2 PHP Scripting Language (Apache Module and CLI) php4-bz2-4.3.10_2 The bz2 shared extension for php php4-gd-4.3.10_2The gd shared extension for php php4-mysql-4.3.10_2 The mysql shared extension for php php4-openssl-4.3.10_2 The openssl shared extension for php php4-pcre-4.3.10_2 The pcre shared extension for php php4-pcre-4.3.9 The pcre shared extension for php php4-pear-4.3.10_2 PEAR framework for PHP php4-xml-4.3.10_2 The xml shared extension for php php4-zlib-4.3.10_2 The zlib shared extension for php phpMyAdmin-2.6.1A set of PHP-scripts to manage MySQL over the web show 2 pacakges! php4-pcre-4.3.10_2 The pcre shared extension for php php4-pcre-4.3.9 The pcre shared extension for php is this correct? i have the webserver up on http://web1.prosoundweb.com/test/ if someone wants to see the phpinfo and can spot a blatant error... thanks, ken; ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
[no subject]
I have installed pear5-php which installed php and mod_php for apache13. however when calling mysql_pconnect within a php page i get: [Mon Jan 31 10:40:21 2005] [error] PHP Fatal error: Call to undefined function: mysql_pconnect() in /.../phpPollUI6.php on line 77 I have a couple of questions. how can I verify that mysql support (possibly ? php-mysql ?) is installed? what steps do I need to take to ensure that this gets installed as part of my installation of apache13, php, mod_php, phpmyadmin, and phpbb? thanks in advance! ken; ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re:php install with mysql confirmation?
sorry didn't put a subject in there and I'm sure it would get lost ken; On Jan 31, 2005, at 1:58 PM, Ken Hawkins wrote: I have installed pear5-php which installed php and mod_php for apache13. however when calling mysql_pconnect within a php page i get: [Mon Jan 31 10:40:21 2005] [error] PHP Fatal error: Call to undefined function: mysql_pconnect() in /.../phpPollUI6.php on line 77 I have a couple of questions. how can I verify that mysql support (possibly ? php-mysql ?) is installed? what steps do I need to take to ensure that this gets installed as part of my installation of apache13, php, mod_php, phpmyadmin, and phpbb? thanks in advance! ken; ___ 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]
install of phpmyadmin fails looking for PDFlib-Lite-6.0.0p1.tar.gz
I am installing phphmyadmin and it is failing on; ... PDFlib-Lite-6.0.0p1.tar.gz doesn't seem to exist in /usr/ports/distfiles/. Attempting to fetch from http://www.pdflib.com/products/pdflib/download/600p1src/. fetch: http://www.pdflib.com/products/pdflib/download/600p1src/PDFlib-Lite -6.0.0p1.tar.gz: Not Found Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/. fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/PDFlib-Lite -6.0.0p1.tar.gz: File unavailable (e.g., file not found, no access) Couldn't fetch it - please try to retrieve this port manually into /usr/ports/distfiles/ and try again. *** Error code 1 ... where is the PDFlib-lite* at? I have manually tried to find it but it does not appear on the ftp* sites. is there away to NOT have to install this? thanks, ken; ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: install of phpmyadmin fails looking for PDFlib-Lite-6.0.0p1.tar.gz
i followed the instructions here: http://www.freebsddiary.org/portupgrade.php although in looking at this it appears to be upgrading the versions of ports that are available and not the ports themselves yes? that being said I think I am looking at CVSup to update the ports collection correct? ken; On Jan 27, 2005, at 1:12 PM, Eric F Crist wrote: On Jan 27, 2005, at 11:38 AM, Ken Hawkins wrote: I am installing phphmyadmin and it is failing on; ... PDFlib-Lite-6.0.0p1.tar.gz doesn't seem to exist in /usr/ports/distfiles/. Attempting to fetch from http://www.pdflib.com/products/pdflib/download/600p1src/. fetch: http://www.pdflib.com/products/pdflib/download/600p1src/PDFlib-Lite -6.0.0p1.tar.gz: Not Found Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/. fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/PDFlib-Lite -6.0.0p1.tar.gz: File unavailable (e.g., file not found, no access) Couldn't fetch it - please try to retrieve this port manually into /usr/ports/distfiles/ and try again. *** Error code 1 ... where is the PDFlib-lite* at? I have manually tried to find it but it does not appear on the ftp* sites. is there away to NOT have to install this? thanks, ken; If you upgrade your ports collection, everything will work fine. I had this same problem until I fixed a typo in my ports-cvsup file. HTH ___ Eric F Crist I am so smart, S.M.R.T! Secure Computing Networks -Homer J Simpson ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: port newbie question
that did the trick! thanks, i was typing 'make configure' and not 'make config' On Jan 25, 2005, at 9:32 PM, John Koepke wrote: I think this is a simple thing to do and i need to be running apache13 with php. how can i clean this up and set up apache13 along with php4? is there an easy way to wipe out all traces of apache and php to start from scratch? thanks, ken; If I remeber correcly run make config that will allow you to access the options menu and remove the X near the Apache2 Then run make install clean and you shoud be good to go. ___ 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]
removing php4 in order to install php-pear
I installed apache13 mod_php4, php4-extensions and mysql323-server/client. then I noticed that phpbb was part of the ports and I need it so hey let's do it! I 'make install' and BANG: === Installing for phpbb-2.0.10 === phpbb-2.0.10 depends on file: /usr/local/share/pear/System.php - not found ===Verifying install for /usr/local/share/pear/System.php in /usr/ports/devel/pear-PEAR === pear-PEAR-1.3.1 depends on file: /usr/local/share/pear/Archive/Tar.php - not found ===Verifying install for /usr/local/share/pear/Archive/Tar.php in /usr/ports/archivers/pear-Archive_Tar === Installing for pear-Archive_Tar-1.2 === pear-Archive_Tar-1.2 depends on executable: pear - not found ===Verifying install for pear in /usr/ports/devel/php5-pear This port requires the CLI or the CGI version of PHP, but you have already installed a conflicting PHP port without them. *** Error code 1 Stop in /usr/ports/devel/php5-pear. *** Error code 1 Stop in /usr/ports/archivers/pear-Archive_Tar. *** Error code 1 Stop in /usr/ports/devel/pear-PEAR. *** Error code 1 Stop in /usr/ports/www/phpbb. php5-pear problem so i deinstalled all 'php' packages and tried again. however i still get: ===Verifying install for pear in /usr/ports/devel/php5-pear This port requires the CLI or the CGI version of PHP, but you have already installed a conflicting PHP port without them. *** Error code 1 when type 'make install' in devel/php5-pear. how can I rip out php4 and get an install of php5-pear on the machine? there has to be an easy way to do this. thanks in advance, ken; ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: removing php4 in order to install php5-pear
thanks T that did the trick of installing. I guess I can't get the order correct or something because now I can't go back in install mod_php4; Build complete. (It is safe to ignore warnings about tempnam and tmpnam). === Installing for mod_php4-4.3.9,1 === mod_php4-4.3.9,1 conflicts with installed package(s): php4-4.3.9 They install files into the same place. Please remove them first with pkg_delete(1). *** Error code 1 Stop in /usr/ports/www/mod_php4. do I not have to install mod_php4 to get apache support? just modifying the httpd.conf doesn't do the trick. i noticed doing pkg_info returns; php4-4.3.9 PHP Scripting Language (Apache Module and CLI) php4-pcre-4.3.9 The pcre shared extension for php php4-xml-4.3.9 The xml shared extension for php php5-pear-5.0.2 PEAR framework for PHP should php4-4.3.9 be installed as part of the php5-pear? i obviously do not have the order right to install apache13 mod_php(?) php(?)-extensions mysql323-server and phpbb anyone have any insight as to what could be the right combination to get these to play nice? ken; On Jan 26, 2005, at 6:48 PM, Thomas Foster wrote: I have had similar issues when attempting to upgrade or downgrade PHP. I pretty much had to make distclean on both PHP4 and PHP5 ports.. (including the pear libraries) and then remove the individual PHP4 (or PHP5) packages .. pkg_info |grep PHP should show you the currently installed PHP packages.. You could either remove them indivdually.. depending on what you need.. or pkg_delete -x PHP Once you have verified all the PHP4 (or PHP5) packages have been removed.. you can make config for PHP5 and the PHP5-extensions ports Hope this helps.. T - Original Message - From: Ken Hawkins [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Sent: Wednesday, January 26, 2005 3:38 PM Subject: removing php4 in order to install php-pear I installed apache13 mod_php4, php4-extensions and mysql323-server/client. then I noticed that phpbb was part of the ports and I need it so hey let's do it! I 'make install' and BANG: === Installing for phpbb-2.0.10 === phpbb-2.0.10 depends on file: /usr/local/share/pear/System.php - not found ===Verifying install for /usr/local/share/pear/System.php in /usr/ports/devel/pear-PEAR === pear-PEAR-1.3.1 depends on file: /usr/local/share/pear/Archive/Tar.php - not found ===Verifying install for /usr/local/share/pear/Archive/Tar.php in /usr/ports/archivers/pear-Archive_Tar === Installing for pear-Archive_Tar-1.2 === pear-Archive_Tar-1.2 depends on executable: pear - not found ===Verifying install for pear in /usr/ports/devel/php5-pear This port requires the CLI or the CGI version of PHP, but you have already installed a conflicting PHP port without them. *** Error code 1 Stop in /usr/ports/devel/php5-pear. *** Error code 1 Stop in /usr/ports/archivers/pear-Archive_Tar. *** Error code 1 Stop in /usr/ports/devel/pear-PEAR. *** Error code 1 Stop in /usr/ports/www/phpbb. php5-pear problem so i deinstalled all 'php' packages and tried again. however i still get: ===Verifying install for pear in /usr/ports/devel/php5-pear This port requires the CLI or the CGI version of PHP, but you have already installed a conflicting PHP port without them. *** Error code 1 when type 'make install' in devel/php5-pear. how can I rip out php4 and get an install of php5-pear on the machine? there has to be an easy way to do this. thanks in advance, ken; ___ 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]
port newbie question
I searched and couldn't find this so I will ask an (I'm sure to most) easy question. I installed apache2 and mod_php4 on a 4.9 FreeBSD box however, I needed to install apache13 and NOT apache2. i went through and deinstalled mod_php4 and then deinstalled apache2. on the new installation apache13 the server installation seems to have gone fine however on reinstalling mod_php4 I get the following from the command line when running 'make install clean'; ... 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: /apu-config: not found ./configure: /apr-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.9/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. I think this is a simple thing to do and i need to be running apache13 with php. how can i clean this up and set up apache13 along with php4? is there an easy way to wipe out all traces of apache and php to start from scratch? thanks, ken; ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: port newbie question
Now that you mention it I did the first time I installed mod_php4 but not now. when I deinstalled mod_php4 I used 'make deinstall distclean' to clear it out. maybe there is a -D switch i can send make so that I can get an interactive menu again? ken; On Jan 25, 2005, at 3:21 PM, Oliver Leitner wrote: You get something like an options menu if youre trying to install that program? Greetings Oliver Leitner Technical Staff http://www.shells.at On Tuesday 25 January 2005 21:21, Ken Hawkins wrote: 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) -- By reading this mail you agree to the following: using or giving out the email address and any other info of the author of this email is strictly forbidden. By acting against this agreement the author of this mail will take possible legal actions against the abuse. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: port newbie question
thanks but no cigar on that one. I also have tried running make configure with no luck. I am at y wits end and am trying to find a way to wipe it and start over again! ken; On Jan 25, 2005, at 3:31 PM, Oliver Leitner wrote: try to remove the work subdir from the port directory of your application, that might do the trick... On Tuesday 25 January 2005 21:32, Ken Hawkins wrote: Now that you mention it I did the first time I installed mod_php4 but not now. when I deinstalled mod_php4 I used 'make deinstall distclean' to clear it out. maybe there is a -D switch i can send make so that I can get an interactive menu again? ken; On Jan 25, 2005, at 3:21 PM, Oliver Leitner wrote: You get something like an options menu if youre trying to install that program? Greetings Oliver Leitner Technical Staff http://www.shells.at On Tuesday 25 January 2005 21:21, Ken Hawkins wrote: 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) -- By reading this mail you agree to the following: using or giving out the email address and any other info of the author of this email is strictly forbidden. By acting against this agreement the author of this mail will take possible legal actions against the abuse. -- By reading this mail you agree to the following: using or giving out the email address and any other info of the author of this email is strictly forbidden. By acting against this agreement the author of this mail will take possible legal actions against the abuse. ___ 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]