php package issues - duplicate name
I am having issues when I install packages relating to php. For instance, I just installed the php4-pear package and when I do an apachctl configtest, I get this output: PHP Warning: Function registration failed - duplicate name - preg_match in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - preg_match_all in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - preg_replace in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - preg_replace_callback in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - preg_split in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - preg_quote in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - preg_grep in Unknown on line 0 PHP Warning: pcre: Unable to register functions, unable to load in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - xml_parser_create in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - xml_parser_create_ns in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - xml_set_object in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - xml_set_element_handler in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - xml_set_character_data_handler in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - xml_set_processing_instruction_handler in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - xml_set_default_handler in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - xml_set_unparsed_entity_decl_handler in Unknownon line 0 PHP Warning: Function registration failed - duplicate name - xml_set_notation_decl_handler in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - xml_set_external_entity_ref_handler in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - xml_set_start_namespace_decl_handler in Unknownon line 0 PHP Warning: Function registration failed - duplicate name - xml_set_end_namespace_decl_handler in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - xml_parse in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - xml_parse_into_struct in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - xml_get_error_code in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - xml_error_string in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - xml_get_current_line_number in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - xml_get_current_column_number in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - xml_get_current_byte_index in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - xml_parser_free in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - xml_parser_set_option in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - xml_parser_get_option in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - utf8_encode in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - utf8_decode in Unknown on line 0 PHP Warning: xml: Unable to register functions, unable to load in Unknown on line 0 This is running on 5.4 Release It seems that everything that I install that is php related(from package), I get this same messages. I believe that this has to do with me reinstalling the php4 package and forcing it. If this the case what could be wrong with my pnp.ini? Any thoughts will help Regards, Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
marked as broken
I am running 5.4 release and have come across a port that has been marked as broken. The port is pear-Archive_Tar-1.3.1 and I am wondering what I can do to get past this short of updating my whole ports treewhich I am afraid of doing since this is a production machineand because I dont have much experience doing it either. === pear-Archive_Tar-1.3.1 is marked as broken: Incomplete pkg-plist. When I try to install the package, it seems that the dependencies within the package are looking for a version of Apache that is off by an update...1.3.33 vs 1.3.34! Not sure what would be the best way to handle thismy brain is a mess today and im looking for the easiest method of getting this done...of which I am not choosing the correct ways today, so any help would be appreciated. thanks, Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
dds drive support?
I am trying to figure out whether or not I can run a Seagate dds-4 STD2401LW tape drive under freebsd...say 6.0. Or any version for that matter. I am really not sure how to go about trying to see if a piece of hardware unless it is a NIC or a SCSI/RAID/SATA controller that is explicitly listed in the hardware notes for each version will work. I am pretty sure that I am not suppose to assume that it will not work if it is not listed there..am I? Does this drive fall under the 'sa' (sequential access) driver that is loaded automatically? I am currently trying to find a tape drive to do db backups on, so I do not have the hardware yet to test this. So, I hope that there is a way to determine that this will work or not other than actually installing it. More information is located here about that drive: http://www.tigerdirect.com/applications/SearchTools/item-details.asp?EdpNo=586496 If this drive does not work under FreeBSD, what are some drives that are supported? -Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
i need some suggestions
Hello- I am looking for some ammunition. My employer is all of a sudden enthralled with plesk. I guess the customers are asking for it. What can they want it for? Mail account creation, web stats and i dont really know. First I should say, what we do. It is basically a little web/app developing, hosting gig which is growing. I do all the system administration and network administration. I can say that my motivation is self centered for either reason, that I hate working with plesk. I am hoping that I would be able to find some more reasons why implementing plesk is not a good idea so that I can approach him with something other than my own contempt. Like I said, I do not seem to have these reasons in my head yet. The reasons that I thought of already is that having all the services on one machine is not so good.but why? All I can think of is that administration is much harder, especially when there are more than one plesk machine. We already have separate services running on separate boxes...mail, db, and many web, but it seems that everyone likes a gui. btw, we are running all of our services on FreeBSD. I didn't really know what other list to do this on since their isn't an anti-plesk list that I know of.I wish! If anyone has any ideas or options of why we should not use plesk, I would like to hear some refreshing insight other than my brain at the moment. thanks, Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: New Logo
Chad Leigh -- Shire.Net LLC wrote: On Nov 1, 2005, at 11:13 PM, Ted Mittelstaedt wrote: And I am not trying to argue and make claims about how inexcusable it is either. I merely pointed out to Ted that he is not in the FreeBSD project and therefore does not have say. Chad this is bullshit. First of all the ENTIRE point of this new logo is to increase USE of FreeBSD among the people that allegedly will not use it because of religious devil objections. IN SHORT, this logo is FOR THE USERS, NOT FOR THE PEOPLE IN THE PROJECT. This is factually incorrect. The purpose of having a logo to replace the mascot as a logo was to project a more professional image. And that is for the people in the project who want to see FreeBSD taken more seriously as well as for the users. Beastie is a toy and unprofessional. He is fun and can be a great mascot. But he is not a logo. As a similar example: Apple Computer used to have a nice multi- colored Apple logo. It was nice, but kind of toy-like and got old. Apple replaced it with a much more professional looking modernized one-color version. There was nothing wrong with the old version except that it got old and dated and looked unprofessional and more toy-like. Same (generally speaking) is needed with FreeBSD. FreeBSD needs to take a step upwards and become more professional looking. So think a lot of users and obviously project members. There is a minority who is offended by Beastie. I can't help that. A logo coincidentally solves their problem as well, but that is not the main point. If you think so you need to pull your head out of your dogmatic sandpile. Chad --- Chad Leigh -- Shire.Net LLC Your Web App and Email hosting provider [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] This is somewhat troublingIf it cannot be seen that the FreeBSD community as a whole does not let the layman's views of what is considered professional dictate the way they live and make choices then this discussion is not going to end up anywhere . The OS didn't come this far from following what was acceptable in the mainstream. Well that may not be entirely true but the point I am trying to make is that not using an OS based on what the logo is a lot like not hiring someone based on their looks. While I know this happens these days, it is not company I would ever chose to work for. The reasons are simple1) it is just plain wrong, and 2) I am an UGLY dude! My mom always told me that it is inside that counts and this is no different. Now, if people do not want to use an OS on the basis of what they dream beastie represents, then what makes you think the same people are going to adopt FreeBSD when the logo changes. The sex toy still has horns for christs sake! That goes without saying that those same zealots would just have to put in a whole two minutes in google to find the resources that denounce the fact that beastie has anything the do with religion. To put it simply, these people do not want to know what is real. Their whole premise is one of make believeso let them play in blissful ignorance while the only thing we can do is be true to ourselves. word. FreeBSD has been a project that has put energy and time into things that have actually mattered. This is far from that imo and is on the shallow end of the spectrum, if at all. America as a whole is sick and trying to beat them at their own game is just going to make FreeBSD sick as well. My $.02 is on the house. Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Replacing a failing HD
Craig Deal wrote: Hope it's ok to continue this thread, but can you explain in more detail how to use dd to copy a HD. I read man dd and was unable to figure out how this is done. Thanks, Craig ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] This is what I have done in the past. dd if=/dev/da0 of=/dev/da1 bs=8192b where da0 is the disk you want to copy and da1 is the new, blank disk. I should also mention that it is wise to do this in single user mode. I actually have read this somewhere and understand the point of it, but I must also say that I have done it both ways and they have both worked. YMMV I would have to say it is all dependant and what you have running. I have done this too many times to count and it is very easy. peace, Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I tried this and got the following error: ad0: FAILURE - READ_DMA status=51READY,DSC,ERROR error=40UNCORRECTABLE LBA=8387712 Any ideas what the problem might be? Do the hard drives have to be identical? One is a 30Gb and the other is a 60GB. Thanks, Craig ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I would think that you can dd from a small drive to a large drive, but if the is possible _definitely_ not the other way around. Which size are source and dest. drive? -Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Replacing a failing HD
Craig Deal wrote: Hope it's ok to continue this thread, but can you explain in more detail how to use dd to copy a HD. I read man dd and was unable to figure out how this is done. Thanks, Craig ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] This is what I have done in the past. dd if=/dev/da0 of=/dev/da1 bs=8192b where da0 is the disk you want to copy and da1 is the new, blank disk. I should also mention that it is wise to do this in single user mode. I actually have read this somewhere and understand the point of it, but I must also say that I have done it both ways and they have both worked. YMMV I would have to say it is all dependant and what you have running. I have done this too many times to count and it is very easy. peace, Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I tried this and got the following error: ad0: FAILURE - READ_DMA status=51READY,DSC,ERROR error=40UNCORRECTABLE LBA=8387712 Any ideas what the problem might be? Do the hard drives have to be identical? One is a 30Gb and the other is a 60GB. Thanks, Craig ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I would think that you can dd from a small drive to a large drive. If that is possible you will _definitely_ not be able to go the other way around. Which size are your source and dest. drive? -Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: RAID monitoring
I have emailed them and asked if they had anything to monitor the RAID array in a FreeBSD environment and they replied telling me that they are not sure if Free BSD 5.4 will work with the Global array Manager or not I did not come out and ask them to write me a driver. The Global Array Manager software that they have works with SCO Unix, Linux and Solaris...not to mention windoze. I was thinking about the and I think I may be able to get away with a script to parse syslog OR maybe I can configure syslog to send an email if I get a disk failure message sent to syslogd. Does anyone do something like this? -Bob Ted Mittelstaedt wrote: What does Mylex say? It might occur to some people that hardware companies have no incentive to write FreeBSD drivers if the people who use their products NEVER ASK FOR THEM! Just a thought. Ted -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Bob Ababurko Sent: Monday, October 10, 2005 1:23 PM To: freebsd-questions@freebsd.org Subject: RAID monitoring Hello all- I am looking for a way to monitor my Mylex acceleraid 250 controller that I am running under FreeBSD 5.4. Their global array manager software is an .exe so I kmow that is not going to be working. Does anyone have any solutions to monitor their RAID controllers? TIA, Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Internal Virus Database is out-of-date. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.11.9/116 - Release Date: 9/30/2005 I have emailed them and asked if they had anything to monitor the RAID array in FreeBSD environment and they replied telling me that they are not sure if Free BSD 5.4 will work with the Global array Manager or not The Global Array Manager software that they have works with SCO Unix, Linux and Solaris...not to mention windoze. I think I may be able to get away with a script to parse syslog OR maybe I can configure syslog to send an email if I get a disk failure message sent to syslogd. Does anyone do this? -Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RAID monitoring
Hello all- I am looking for a way to monitor my Mylex acceleraid 250 controller that I am running under FreeBSD 5.4. Their global array manager software is an .exe so I kmow that is not going to be working. Does anyone have any solutions to monitor their RAID controllers? TIA, Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RAID monitoring
Hello all- I am looking for a way to monitor my Mylex acceleraid 250 controller that I am running under FreeBSD 5.4. Their(mylex/LSI) global array manager software is an .exe so I am pretty sure that is not going to be working. Does anyone have any solutions to monitor their RAID controllers? TIA, Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Here's the proof.
Joshua Weaver wrote: [mailer daemon - original message truncated] It appears you are right. I guess the Gates foundation does have a controlling interest in FreeBSD. I wonder what direction Microsoft will take when the complete the merger? -Josh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] What is this and where are the other mails to this thread? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Replacing a failing HD
Craig Deal wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bob Ababurko Sent: Wednesday, October 05, 2005 7:53 AM To: Charlie Schluting; freebsd-questions@freebsd.org Subject: Re: Replacing a failing HD Yes, I guess I should mention that the drives were on the same machine, actually the same bus and/or channel. I have also done this on Solaris. I believe it was Solaris 8, but it works just the same. I am not sure if it would work over a network. Just make sure you dd the disk as a whole as in /dev/daX and not by the slice. -Bob Charlie Schluting wrote: I have used dd to image a drive many times before in freebsd. It works like a champion and will boot up just fine. I may have misunderstood your mail but if not then it will work. Well, maybe my weird over ssh calling a setuid program that calls a script dd was flawed somehow. I'll do it again with both drives in the same machine. Thanks for the response! Hope it's ok to continue this thread, but can you explain in more detail how to use dd to copy a HD. I read man dd and was unable to figure out how this is done. Thanks, Craig ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] This is what I have done in the past. dd if=/dev/da0 of=/dev/da1 bs=8192b where da0 is the disk you want to copy and da1 is the new, blank disk. I should also mention that it is wise to do this in single user mode. I actually have read this somewhere and understand the point of it, but I must also say that I have done it both ways and they have both worked. YMMV I would have to say it is all dependant and what you have running. I have done this too many times to count and it is very easy. peace, Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Replacing a failing HD
Yes, I guess I should mention that the drives were on the same machine, actually the same bus and/or channel. I have also done this on Solaris. I believe it was Solaris 8, but it works just the same. I am not sure if it would work over a network. Just make sure you dd the disk as a whole as in /dev/daX and not by the slice. -Bob Charlie Schluting wrote: I have used dd to image a drive many times before in freebsd. It works like a champion and will boot up just fine. I may have misunderstood your mail but if not then it will work. Well, maybe my weird over ssh calling a setuid program that calls a script dd was flawed somehow. I'll do it again with both drives in the same machine. Thanks for the response! ___ 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: Replacing a failing HD
Charlie Schluting wrote: So, clearly dd'ing the drive to another drive won't work. How can I replicate the boot block and partition table from my existing drive onto a new one in freebsd? In solaris, I'd use prtvtoc | fmthard, then dd... Thanks :) -Charlie ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I have used dd to image a drive many times before in freebsd. It works like a champion and will boot up just fine. I may have misunderstood your mail but if not then it will work. peace, Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD not booting after RAID array rebuild
Hello- I am working on getting a box running with a NetRAID 3 (D4943) card. I have had a few issues so far, so I am hoping that I can work through this one as well. Ok, the setup is this, I have the card(D4943), Biostar M7VIG 400 mobo, (4) WD 9.15GB 10k U2W LVD SCSI drives, three of which are in RAID 5 and the last being a hotspare set to auto rebuild. The OS is installed(freebsd 5.4) and running on the array. At first I had trouble getting the card to boot, but I had to set the option to standard MBR in the install as opposed to none, which I am used to using for PC hardware. The box boots fine, but the problem comes in when a drive is failed. I failed a drive on purpose to make sure that this card is gonna work and how I was going to deal with a failed drive. What I did to test was shut the box down and unplug one of the drives from the RAID5 volume. I booted the box back up and the alarm started going off and the HS drive light went on telling me that is was rebuilding...I also checked in the RAID card utility and it also said the drive was rebuilding. I could not get the computer to boot into the OS when the card was rebuilding. I was under the impression that I would have a accessible system, just in a degraded performance mode. When the drive was done rebuilding and the volume back to optimum(shown in Raid Utility), I booted the system and everything looks good until the OS starts to boot. When the dash starts to spin the box reboots itself. This is at least telling me that something is accessed in the array, but something is making it reboot. I did another test on a running box at a login prompt. A drive in array unplugged and then the alarm goes off and hotspare starts t rebuild. Another problem is that I cannot log in. I enter user/passwd and hear drive activity when I press enter, but no login. I just keeps giving me a login prompt until an error pops up saying that getty is being run to fast and is going to sleep for 30s. After rebuild still not boot. If anyone has any idea what is happening here, I would love to hear as I am spending mucho time on this already and would like to at least know what I can or cannot do to fix this. TIA, Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
booting off NetRAID card
Hello- I am setting up a machine with a 3 channel NetRAID D4943 card and a Biostar M7VIG 400. I have the card set up one one channel with four WD 9.15GB 10k U2 LVD SCSI drives in raid 5 and have been able to install the OS. The drive capacity is correctly shown as is the amr drive/partitions when I booted the machine off the install floppies to install the OS(FreeBSD5.4). Install seems to go fine and have no problems. When I try to reboot/boot the box, it hits the floppy drive and then just hangs(just as specified in the BIOS). If I change the BIOS to not include the scsi bus, then it says that there is not system disk. There are no messages or errors on the screen. Does anyone have any advice for this? Thanks, Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: IPs , Netmasks and Broadcast.
Grant Peel wrote: Jerry, I apologise. Its late in the day for me and the email addresses are blending into one :-) Anyways, so the examples I put together are correct. Good. So I wonder why, the 1 IP I have, won't work with the real netmask, but only with the 255. One more item of note, I see in dmesg that when it tries to apply it, the message: arplookup xxx.xxx.xxx.xxx failed: host is not on local network -Grant P.S. This is a small block, only 30 ips. The other 29, including 1 with the real netmask, is on another machine working fine, right beside the machine I am referencing. - Original Message - From: Jerry McAllister [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: John Oxley [EMAIL PROTECTED]; freebsd-questions@freebsd.org Sent: Thursday, September 15, 2005 8:56 AM Subject: Re: IPs , Netmasks and Broadcast. Thanks John, What you are saying make perfect sense based on what I've had to do in the past. Just to clarify ... Lets say I have 5 machines (which I do) And lets say I have 10 blocks of IP address from my upline (which I do) 1.1.1.1/24 2.2.2.2/24 3.3.3.3/24 4.4.4.4/24 ... And, lets say that I need to set up various IPs, from each of the groups above, on all 5 of the servers. To keep the explanation easy to follow, I will put what I might have in rc.conf for each machine, Leaving out the gateway IPs as they are not realevent to the question...my router setting work fine. No, this is not what I said. I don't know if anyone else has posted on this since then. But, The next two chunks below represent what I said. jerry Sever 1: hostname=machine1.mydomain.com defaultrouter=some ip here ifconfig_em0=inet 1.1.1.2 netmask 255.255.255.0 ifconfig_em0_alias0=inet 1.1.1.3 netmask 255.255.255.255 ifconfig_em0_alias1=inet 1.1.1.4 netmask 255.255.255.255 ... ifconfig_em0_alias2=inet 2.2.2.3 netmask 255.255.255.255 ifconfig_em0_alias3=inet 2.2.2.4 netmask 255.255.255.255 ifconfig_em0_alias4=inet 2.2.2.5 netmask 255.255.255.255 ... ifconfig_em0_alias5=inet 3.3.3.4 netmask 255.255.255.255 ifconfig_em0_alias6=inet 3.3.3.5 netmask 255.255.255.255 ifconfig_em0_alias7=inet 3.3.3.6 netmask 255.255.255.255 ... Sever 2: hostname=machine2.mydomain.com defaultrouter=some ip here ifconfig_em0=inet 1.1.1.5 netmask 255.255.255.0 ifconfig_em0_alias0=inet 1.1.1.6 netmask 255.255.255.255 ifconfig_em0_alias1=inet 1.1.1.7 netmask 255.255.255.255 ... ifconfig_em0_alias2=inet 2.2.2.6 netmask 255.255.255.255 ifconfig_em0_alias3=inet 2.2.2.7 netmask 255.255.255.255 ifconfig_em0_alias4=inet 2.2.2.8 netmask 255.255.255.255 ... ifconfig_em0_alias5=inet 3.3.3.7 netmask 255.255.255.255 ifconfig_em0_alias6=inet 3.3.3.8 netmask 255.255.255.255 ifconfig_em0_alias7=inet 3.3.3.9 netmask 255.255.255.255 ... - Sever 1: hostname=machine1.mydomain.com defaultrouter=some ip here ifconfig_em0=inet 1.1.1.2 netmask 255.255.255.0 ifconfig_em0_alias0=inet 1.1.1.3 netmask 255.255.255.255 ifconfig_em0_alias1=inet 1.1.1.4 netmask 255.255.255.255 ... ifconfig_em0_alias2=inet 2.2.2.3 netmask 255.255.255.0 ifconfig_em0_alias3=inet 2.2.2.4 netmask 255.255.255.255 ifconfig_em0_alias4=inet 2.2.2.5 netmask 255.255.255.255 ... ifconfig_em0_alias5=inet 3.3.3.4 netmask 255.255.255.0 ifconfig_em0_alias6=inet 3.3.3.5 netmask 255.255.255.255 ifconfig_em0_alias7=inet 3.3.3.6 netmask 255.255.255.255 ... Sever 2: hostname=machine2.mydomain.com defaultrouter=some ip here ifconfig_em0=inet 1.1.1.5 netmask 255.255.255.0 ifconfig_em0_alias0=inet 1.1.1.6 netmask 255.255.255.255 ifconfig_em0_alias1=inet 1.1.1.7 netmask 255.255.255.255 ... ifconfig_em0_alias2=inet 2.2.2.6 netmask 255.255.255.0 ifconfig_em0_alias3=inet 2.2.2.7 netmask 255.255.255.255 ifconfig_em0_alias4=inet 2.2.2.8 netmask 255.255.255.255 ... ifconfig_em0_alias5=inet 3.3.3.7 netmask 255.255.255.0 ifconfig_em0_alias6=inet 3.3.3.8 netmask 255.255.255.255 ifconfig_em0_alias7=inet 3.3.3.9 netmask 255.255.255.255 ... Sever 2: hostname=machine3.mydomain.com defaultrouter=some ip here ifconfig_em0=inet 1.1.1.8 netmask 255.255.255.0 ifconfig_em0_alias0=inet 1.1.1.9 netmask 255.255.255.255 ifconfig_em0_alias1=inet 1.1.1.10 netmask 255.255.255.255 ... ifconfig_em0_alias2=inet 2.2.2.9 netmask 255.255.255.0 ifconfig_em0_alias3=inet 2.2.2.10 netmask 255.255.255.255 ifconfig_em0_alias4=inet 2.2.2.11 netmask 255.255.255.255 ... ifconfig_em0_alias5=inet 3.3.3.10 netmask 255.255.255.0 ifconfig_em0_alias6=inet 3.3.3.11 netmask 255.255.255.255 ifconfig_em0_alias7=inet 3.3.3.12 netmask 255.255.255.255 ... Server 3, 4 and 5 similar with repeating patterns. So the original question was: When setting up an IP from any given block, do, or should I, need to use the real netmask that my ISP has assinged me (for the first), then, the single host (255) netmask for each of the rest (Again, from a specific IP block? I hope it is because I have hundreds of IPs set up that way. The reason I ask this question
Re: How can I log every login via telnet?
Chris wrote: On Thu, 7 Apr 2005 [EMAIL PROTECTED] wrote: On Thu, 7 Apr 2005, Anthony Atkielski wrote: Is there a way to log every login via telnet? The system already records all logins in /var/log/auth.log. You could pull out the telnet entries with grep if those are the only ones you're interested in. If you're wanting to build your own log then I don't know. something like this in /etc/syslog.conf !telnetd *.* /var/log/telnet.log Best regards, Chris Some come to the fountain of knowledge to drink, some prefer to just gargle. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Could I do something similar for logging scponly? I have scponly installed and would like to log everyones logins and all files that get transferred. I cannot fins any features in the program itself to do the logging so I think that syslog is the choice. Is that all there is to implementing syslog logging or do i need to make sure that scponly spits out info that can be logged? -Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
suspending login
Hello all- I am trying to figure out how to suspend a login for a user. Do I have to do this with password aging or is there an easier(read brute force) way to disallow a user from logging in? -thanks, Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: suspending login
Ean Kingston wrote: On April 5, 2005 06:42 pm, Bob Ababurko wrote: Hello all- I am trying to figure out how to suspend a login for a user. Do I have to do this with password aging or is there an easier(read brute force) way to disallow a user from logging in? the safest way is to set the shell to /sbin/nologin and the home directory to /nonexistant in your auth system. The latter is especially needed if you allow ssh for remote login since the public-key authentication mechanisms sometimes bypass the normal login restrictions. That is perfect...just what I was trying to do. I am used to solaris... where if my memory serves me, can lock a user account using the -l flag with the passwd command or comment them out in the passwd file. I still like freebsd way more though. thanks, Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
scp stalling
Hello- I have two boxes that I am trying to transfer files between and for some reasson I am getting annoting slow transfers. I am running OpenSSH_3.8.1p1on the server end with freeBSD 5.3 and OpenSSH_3.5p1 with freeBSD 4.9 on the client end. The connection keeps stalling and I am not seeing any errors in /var/log/messages. The only sign is my loss of hair. How can I go about troubleshooting this? I have full control over these boxen, so I can do whatever to fix this. thanks, Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Ebay Phishing
Gerard Seibert wrote: On Sun, 20 Mar 2005 10:22:23 -0600 Chris [EMAIL PROTECTED] wrote: || ||Robert Slade wrote: || Hi all, || || Is it just me, but I've had 2 Ebay Phishing e-mails to this e-mail || address that I only use for this mail list. Both mails where from || Comcast users !! || || Rob || ||Sounds like someone from Comcast is on this list AND using a Windows box ||AND is infected. || ||Shame on you || ||-- ||Best regards, ||Chris || ||If you have always done it that way, it is probably wrong. ** Reply Separator ** Sunday, March 20, 2005 1:35:28 PM 1) Did you actually confirm that the email originated from Comcast 2) Did you report the email to Comcast as well as [EMAIL PROTECTED] 3) Why does it have to be a Windows box? Anyone can access this forum and harvest email addresses. -- Gerard Seibert [EMAIL PROTECTED] They say that a dog is man's best friend. I do not believe that. How many of your friends have you had neutered? It is most likely it is a windows box that has been copromised due to one of the slew of M$ vulnerabilities. Some crafty programmer has turned this box into a zombie and installed a mailing package or a proxy server and is sending mail from it in concert with thousands of others just like it...al behind one keyboard. -Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
which hardware for db/app
Hello- I have a chance of migrating hardware for our web/app/db configuration. Currently, I am running web and php on two loadbalanced Sun Ultra2(2x300Mhz, 512MB RAM) running FreeBSD 5.3 with a SUN Ultra60 with the same procs and RAM as the web,(2x300Mhz, 512MB RAM). I am having issues with the db running slowly at this time and do not really know where to start to determine the cause or fix since I do not know much about mysql. I did have some issues with the db and ran isamchk to fix errors on a few of the tables but since then it ha been running slow. Can someone possibly show me to a resource that may be abe to help me determine the issues that I am having as well as some possible tweeks for mysql 3.23.58 server, which is what is running. On the web/php side, we have apache 1.3.31 and php4-4.3.8_2. I also have hardware that I am gooing to posibly migrate these servers to: I have a dual AMD 2800+(2200Mhz) and an AMD 2200+(1500Mhz). I am wondering what I should use for what here. I am not sure if O should use the dual amd for the apache/php or the mysql. If anyone has any ideas on what would be the optimal setup with the given hardware then please let me hear it. I would appreciate the input. thanks, Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Perl 5.8.5 port errors out on install
Kris Kennaway wrote: On Tue, Mar 01, 2005 at 08:17:35PM -0500, Bob Ababurko wrote: Hello all- I have just installed 5.3 on my new setup that is sporting two amd 2800+ MP on a tyan k7 board. Pretty much, the first port I am installing, I am getting errors. I need perl 5.8 installed and this is the end of the output. Making DynaLoader (static_pic) Makefile out-of-date with respect to ../../config.h Cleaning current config before rebuilding Makefile... make -f Makefile.old clean /dev/null 21 || /bin/sh -c true ../../miniperl -I../../lib -I../../lib Makefile.PL INSTALLDIRS=perl PERL_CORE=1 LIBPERL_A=libperl.so Writing Makefile for DynaLoader == Your Makefile has been rebuilt. == == Please rerun the make command. == false *** Error code 1 Usually means you have clock problems. Kris What do you mean, clock problems? Is this something that is fixable or does it mean that I am SOL? Actually, I did a little searching and I found that I am having ACPI issues. I have all these ACPI errors upon boot. Here is my dmesg, I hope it isn't overkill: flip# dmesg Copyright (c) 1992-2004 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.3-RELEASE #0: Fri Nov 5 04:19:18 UTC 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC Timecounter i8254 frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) MP 2800+ (2123.87-MHz 686-class CPU) Origin = AuthenticAMD Id = 0x6a0 Stepping = 0 Features=0x383fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE AMD Features=0xc048MP,AMIE,DSP,3DNow! real memory = 536805376 (511 MB) avail memory = 515629056 (491 MB) ACPI APIC Table: PTLTDAPIC MADT: Forcing active-low polarity and level trigger for SCI ioapic0 Version 1.1 irqs 0-23 on motherboard npx0: [FAST] npx0: math processor on motherboard npx0: INT 16 interface acpi0: PTLTD RSDT on motherboard ACPI-0438: *** Error: Looking up [Z00Q] in namespace, AE_NOT_FOUND SearchNode 0xc19b4c80 StartNode 0xc19b4c80 ReturnNode 0 ACPI-1303: *** Error: Method execution failed [\\_SB_.PCI0.ISA_.SIO_.COM1._STA] (Node 0xc19b4c80), AE_NOT_FOUND ACPI-0438: *** Error: Looking up [Z00Q] in namespace, AE_NOT_FOUND SearchNode 0xc19b4b00 StartNode 0xc19b4b00 ReturnNode 0 ACPI-1303: *** Error: Method execution failed [\\_SB_.PCI0.ISA_.SIO_.COM2._STA] (Node 0xc19b4b00), AE_NOT_FOUND ACPI-0438: *** Error: Looking up [Z00Q] in namespace, AE_NOT_FOUND SearchNode 0xc19b4900 StartNode 0xc19b4900 ReturnNode 0 ACPI-1303: *** Error: Method execution failed [\\_SB_.PCI0.ISA_.SIO_.LPT_._STA] (Node 0xc19b4900), AE_NOT_FOUND acpi0: Power Button (fixed) acpi0: Sleep Button (fixed) ACPI-0438: *** Error: Looking up [Z00Q] in namespace, AE_NOT_FOUND SearchNode 0xc19b4c80 StartNode 0xc19b4c80 ReturnNode 0 ACPI-1303: *** Error: Method execution failed [\\_SB_.PCI0.ISA_.SIO_.COM1._STA] (Node 0xc19b4c80), AE_NOT_FOUND ACPI-0438: *** Error: Looking up [Z00Q] in namespace, AE_NOT_FOUND SearchNode 0xc19b4c80 StartNode 0xc19b4c80 ReturnNode 0 ACPI-1303: *** Error: Method execution failed [\\_SB_.PCI0.ISA_.SIO_.COM1._STA] (Node 0xc19b4c80), AE_NOT_FOUND ACPI-0438: *** Error: Looking up [Z00Q] in namespace, AE_NOT_FOUND SearchNode 0xc19b4c80 StartNode 0xc19b4c80 ReturnNode 0 ACPI-1303: *** Error: Method execution failed [\\_SB_.PCI0.ISA_.SIO_.COM1._STA] (Node 0xc19b4c80), AE_NOT_FOUND ACPI-0438: *** Error: Looking up [Z00Q] in namespace, AE_NOT_FOUND SearchNode 0xc19b4c80 StartNode 0xc19b4c80 ReturnNode 0 ACPI-1303: *** Error: Method execution failed [\\_SB_.PCI0.ISA_.SIO_.COM1._STA] (Node 0xc19b4c80), AE_NOT_FOUND ACPI-0438: *** Error: Looking up [Z00Q] in namespace, AE_NOT_FOUND SearchNode 0xc19b4b00 StartNode 0xc19b4b00 ReturnNode 0 ACPI-1303: *** Error: Method execution failed [\\_SB_.PCI0.ISA_.SIO_.COM2._STA] (Node 0xc19b4b00), AE_NOT_FOUND ACPI-0438: *** Error: Looking up [Z00Q] in namespace, AE_NOT_FOUND SearchNode 0xc19b4b00 StartNode 0xc19b4b00 ReturnNode 0 ACPI-1303: *** Error: Method execution failed [\\_SB_.PCI0.ISA_.SIO_.COM2._STA] (Node 0xc19b4b00), AE_NOT_FOUND ACPI-0438: *** Error: Looking up [Z00Q] in namespace, AE_NOT_FOUND SearchNode 0xc19b4b00 StartNode 0xc19b4b00 ReturnNode 0 ACPI-1303: *** Error: Method execution failed [\\_SB_.PCI0.ISA_.SIO_.COM2._STA] (Node 0xc19b4b00), AE_NOT_FOUND ACPI-0438: *** Error: Looking up [Z00Q] in namespace, AE_NOT_FOUND SearchNode 0xc19b4b00 StartNode 0xc19b4b00 ReturnNode 0 ACPI-1303: *** Error: Method execution failed [\\_SB_.PCI0.ISA_.SIO_.COM2._STA] (Node 0xc19b4b00), AE_NOT_FOUND ACPI-0438: *** Error: Looking up [Z00Q] in namespace, AE_NOT_FOUND SearchNode 0xc19b4900 StartNode 0xc19b4900 ReturnNode 0 ACPI-1303: *** Error: Method execution failed [\\_SB_.PCI0.ISA_.SIO_.LPT_._STA] (Node 0xc19b4900), AE_NOT_FOUND ACPI-0438
Perl 5.8.5 port errors out on install
Hello all- I have just installed 5.3 on my new setup that is sporting two amd 2800+ MP on a tyan k7 board. Pretty much, the first port I am installing, I am getting errors. I need perl 5.8 installed and this is the end of the output. Making DynaLoader (static_pic) Makefile out-of-date with respect to ../../config.h Cleaning current config before rebuilding Makefile... make -f Makefile.old clean /dev/null 21 || /bin/sh -c true ../../miniperl -I../../lib -I../../lib Makefile.PL INSTALLDIRS=perl PERL_CORE=1 LIBPERL_A=libperl.so Writing Makefile for DynaLoader == Your Makefile has been rebuilt. == == Please rerun the make command. == false *** Error code 1 Stop in /usr/ports/lang/perl5.8/work/perl-5.8.5/ext/DynaLoader. make config failed, continuing anyway... ../../miniperl -I../../lib -I../../lib -I../../lib -I../../lib DynaLoader_pm.PL DynaLoader.pm ../../miniperl -I../../lib -I../../lib -I../../lib -I../../lib XSLoader_pm.PL XSLoader.pm Skip ../../lib/XSLoader.pm (unchanged) Skip ../../lib/DynaLoader.pm (unchanged) rm -f DynaLoader.xs cp dl_dlopen.xs DynaLoader.xs ../../miniperl -I../../lib -I../../lib ../../lib/ExtUtils/xsubpp -noprototypes -typemap ../../lib/ExtUtils/typemap DynaLoader.xs DynaLoader.xsc mv DynaLoader.xsc DynaLoader.c cc -c-DAPPLLIB_EXP=/usr/local/lib/perl5/5.8.5/BSDPAN -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -I/usr/local/include -O -pipe-DVERSION=\1.05\ -DXS_VERSION=\1.05\ -DPIC -fPIC -I../.. -DPERL_CORE -DLIBC= DynaLoader.c rm -rf ../../lib/auto/DynaLoader/DynaLoader.a /usr/bin/ar cr ../../lib/auto/DynaLoader/DynaLoader.a DynaLoader.o : ../../lib/auto/DynaLoader/DynaLoader.a chmod 755 ../../lib/auto/DynaLoader/DynaLoader.a LD_LIBRARY_PATH=/usr/ports/lang/perl5.8/work/perl-5.8.5 cc -o perl -Wl,-E -L/usr/local/lib -Wl,-R/usr/local/lib/perl5/5.8.5/mach/CORE perlmain.o lib/auto/DynaLoader/DynaLoader.a libperl.so `cat ext.libs` -lm -lcrypt -lutil -lc cd x2p; LD_LIBRARY_PATH=/usr/ports/lang/perl5.8/work/perl-5.8.5 make s2p `s2p' is up to date. LD_LIBRARY_PATH=/usr/ports/lang/perl5.8/work/perl-5.8.5 ./miniperl -Ilib pod/pod2html.PL Extracting pod2html (with variable substitutions) LD_LIBRARY_PATH=/usr/ports/lang/perl5.8/work/perl-5.8.5 ./miniperl -Ilib pod/pod2latex.PL Extracting pod2latex (with variable substitutions) LD_LIBRARY_PATH=/usr/ports/lang/perl5.8/work/perl-5.8.5 ./miniperl -Ilib pod/pod2man.PL Extracting pod2man (with variable substitutions) LD_LIBRARY_PATH=/usr/ports/lang/perl5.8/work/perl-5.8.5 ./miniperl -Ilib pod/pod2text.PL Extracting pod2text (with variable substitutions) LD_LIBRARY_PATH=/usr/ports/lang/perl5.8/work/perl-5.8.5 ./miniperl -Ilib pod/pod2usage.PL Extracting pod2usage (with variable substitutions) LD_LIBRARY_PATH=/usr/ports/lang/perl5.8/work/perl-5.8.5 ./miniperl -Ilib pod/podchecker.PL Extracting podchecker (with variable substitutions) LD_LIBRARY_PATH=/usr/ports/lang/perl5.8/work/perl-5.8.5 ./miniperl -Ilib pod/podselect.PL Extracting podselect (with variable substitutions) Making utilities ../miniperl -I../lib c2ph.PL Extracting c2ph (with variable substitutions) Linking c2ph to pstruct. ../miniperl -I../lib cpan.PL Extracting cpan (with variable substitutions) ../miniperl -I../lib h2ph.PL Extracting h2ph (with variable substitutions) ../miniperl -I../lib h2xs.PL Extracting h2xs (with variable substitutions) ../miniperl -I../lib instmodsh.PL Extracting instmodsh (with variable substitutions) ../miniperl -I../lib perlbug.PL Extracting perlbug (with variable substitutions) ../miniperl -I../lib perldoc.PL Extracting perldoc (with variable substitutions) ../miniperl -I../lib perlivp.PL Extracting perlivp (with variable substitutions) ../miniperl -I../lib prove.PL Extracting prove (with variable substitutions) ../miniperl -I../lib splain.PL Extracting splain (with variable substitutions) ../miniperl -I../lib perlcc.PL Extracting perlcc (with variable substitutions) ../miniperl -I../lib dprofpp.PL Extracting dprofpp (with variable substitutions) ../miniperl -I../lib libnetcfg.PL Extracting libnetcfg (with variable substitutions) ../miniperl -I../lib xsubpp.PL Extracting xsubpp (with variable substitutions) Making x2p stuff `sh cflags optimize='-O -pipe' hash.o` -DPERL_FOR_X2P hash.c CCCMD = cc -c -DAPPLLIB_EXP=/usr/local/lib/perl5/5.8.5/BSDPAN -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -I/usr/local/include -O -pipe `sh cflags optimize='-O -pipe' str.o` -DPERL_FOR_X2P str.c CCCMD = cc -c -DAPPLLIB_EXP=/usr/local/lib/perl5/5.8.5/BSDPAN -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -I/usr/local/include -O -pipe `sh cflags optimize='-O -pipe' util.o` -DPERL_FOR_X2P util.c CCCMD = cc -c -DAPPLLIB_EXP=/usr/local/lib/perl5/5.8.5/BSDPAN -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -I/usr/local/include -O -pipe `sh cflags optimize='-O -pipe' walk.o` -DPERL_FOR_X2P walk.c
apache wont start after mhash install
Hello- I have a box that is running 5.2.1 on sparc64 hardware. After installing php4-mhash-4.3.8_2 via ports, apache will not start again after it is stopped. It will return to normal after I uninstall the port of coarse. The only error message I get is this in /var/log/messages: Feb 20 21:54:05 web1 kernel: pid 71512 (httpd), uid 0: exited on signal 11 (core dumped) What is the next step to determine the problem? Do I need to do a core dump analysis to figure this out? If so, what is the way or best way? Also, I noticed that it seems like I have both versions of apache installed. I do not believe that I did this so I am thinking that somehow the ports did it. I found it when I did a pkg_info:... apache+mod_ssl-1.3.31+2.8.19. This is one thing that I found odd, so I thought it may be somehow contributing. -Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: how to configure a port for install
Peter Risdon wrote: On Tue, 2005-02-15 at 11:48 +, Peter Risdon wrote: On Mon, 2005-02-14 at 21:48 -0500, Bob Ababurko wrote: Hello- I am trying to figure out how to configure the portswhat I am trying to do is add mhash to my system that a new script needs and I have to add the --with-mhash=[dir] when I compile php. Well I installed php with the ports and I am hoping to reinstall it with this added. I have tried to add it to the Makefile under the configure options, but I got an error that said: Unassociated shell command. That obviously is not the right way. Just install: /usr/ports/security/php4-mhash on top of your existing php installation. An alternative is to install /lang/php4-extensions and check the relevant boxes. Ugh. errant slash: install lang/php4-extensions Peter. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] After installing php4-mhash, I cannot get apache to restart. I cannot find anything in the logs, namely http-error.log probabl because apache needs to be started. I am not finding anything in the /var/log/messages either. When I start apache from the command line, it gives me the message the httpd has been started but there doesn't. What could be wrong? btw, this is installing on apache WAIT a moment. When I do a pkg_info, I get apache+mod_ssl-1.3.31+2.8.19. Could that be my problem? Does that mean that there are two versions of apache installed? I do not remember doing thisas a matter of fact I know I did not do this. Can someone shed some light on this for me? -Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
how to configure a port for install
Hello- I am trying to figure out how to configure the portswhat I am trying to do is add mhash to my system that a new script needs and I have to add the --with-mhash=[dir] when I compile php. Well I installed php with the ports and I am hoping to reinstall it with this added. I have tried to add it to the Makefile under the configure options, but I got an error that said: Unassociated shell command. That obviously is not the right way. Can someone please direct me in doing this, if it is indeed possible. thanks, Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: how to configure a port for install
Bob Ababurko wrote: Hello- I am trying to figure out how to configure the portswhat I am trying to do is add mhash to my system that a new script needs and I have to add the --with-mhash=[dir] when I compile php. Well I installed php with the ports and I am hoping to reinstall it with this added. I have tried to add it to the Makefile under the configure options, but I got an error that said: Unassociated shell command. That obviously is not the right way. Can someone please direct me in doing this, if it is indeed possible. thanks, Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] To qualify this, I am installing php4.3.8_2 on 5.2.1. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
SMP question
Hi all- I am wondering if it is possible to specify which processor that a process will use, on a multi-processor box. Where can I find this information if it is possible. Thanks, Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
increase inodes on install
Hello all- I want to increase the amount of inodes for one partition when I install. OK, I know that I can do it for all partitions in the newfs options when I install, but how can I manage this for only one partition? -Bob ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: increase inodes on install
Bob Ababurko wrote: Hello all- I want to increase the amount of inodes for one partition when I install. OK, I know that I can do it for all partitions in the newfs options when I install, but how can I manage this for only one partition? -Bob ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I decided to go ahead and do an install in which I increase the inodes for all partitions, which is done with in the options screen. I noticed that you can specify, per partition newfs options in the label screen of the installer. So that is what I wanted, that is what I did. So, I answered my own question and maybe someone else will need to know this if they already do not. -Bob ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
check number of inodes
Hello- I just recieved an error in my logs..or a truck load actually, that says that I ran out of inodes in my /var partition. What command can I use to determin the munber of inodes the partition was created with per 4k or whatever it is? Also can someone lead me to a site or give me some advice on how I would reformat this partition? My logic thus far tells me to copy the existing partion over to another partition and then reformat the partition, then newfs using the proper switch to give me more than enough inodes, which I will figure out after I anwser the first question that I have. Actually, maybe I do not have to reformatdo I? How does one reformat in FreeBSD? It is format in solarisso it probably not the command ;) TIA for the help. -- peace, Bob ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
serial port config
Hello- I am trying to configure the serial ports on a bunch of machines to be hooked up to a terminal server...baynetworks Annex to be exact. I am running FreeBSD 5.2.1 on an i386 machine with an Inter n440bx board. These motherboards are pretty common and found on early VA linux boxen. I followed the handbook but I am a little confused where it is talking about: 4. Make sure the configuration file of your kernel has appropriate flags set for COM1 (sio0). where I should be seeing or adding a line such as : device sio0 at isa? port IO_COM1 flags 0x10 irq 4 I have not done this and do not know where I am supposed to do this. I have made the other changes stated in the handbook and also done this on a machine at a time before and got it to work this way. My dmeg output for sio0 looks like this: sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A, console Isn't this telling me that it is configured? Any help would be apperciated. thanks, Bob ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: serial port config
At 12:58 PM 9/27/2004 -0700, you wrote: 4. Make sure the configuration file of your kernel has appropriate flags set for COM1 (sio0). where I should be seeing or adding a line such as : device sio0 at isa? port IO_COM1 flags 0x10 irq 4 You should add that to the kernel configuration file. Please, refer to http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html So, let me get this straightI am going to add: device sio0 at isa? port IO_COM1 flags 0x10 irq 4 to the kernel configuration, aka the GENERIC file in /usr/src/sys/i386/conf if the system is not customized at all? -Bob ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: serial port config
At 01:24 PM 9/27/2004 -0700, David Rio Deiros wrote: So, let me get this straightI am going to add: device sio0 at isa? port IO_COM1 flags 0x10 irq 4 to the kernel configuration, aka the GENERIC file in /usr/src/sys/i386/conf if the system is not customized at all? What you are doing is to tell the kernel what he needs to do to configure that device. If by not customized at all you mean you don't have the hardware in the computer yet, there is no problem, when you will boot the kernel it will give up if there is no hardware. By not customized, I mean that the file will be the GENERIC kernel config file. This doesn't seem to be the correct way as I get this error message: config: /usr/src/sys/i386/conf/GENERIC:279: devices with zero units are not likely to be correct What file do I add this line to?: device sio0 at isa? port IO_COM1 flags 0x10 irq 4 -Bob ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
cron not running my command?
Hey there- I am running FreeBSD 5.2.1 and I have a cron job running webalizer. The cron job seems to be running based on the log, but the data is not being updated in the directory. I do believe that I can say that the webalizer is configured correctly because if I run the command that is listed in cron by hand, the output is sent to the proper place. Here are some l0og entries and the crontab itself: europa# crontab -l 0 * * * * /etc/cron.daily/ntpdate.cron /dev/null */5 * * * * /usr/sbin/webstats europa# tail /var/log/cron Sep 20 13:25:00 europa /usr/sbin/cron[51173]: (root) CMD (/usr/libexec/atrun) Sep 20 13:26:02 europa crontab[51199]: (root) LIST (root) Sep 20 13:30:00 europa /usr/sbin/cron[51274]: (root) CMD (/usr/libexec/atrun) Sep 20 13:30:00 europa /usr/sbin/cron[51273]: (root) CMD (/usr/sbin/webstats) Sep 20 13:33:00 europa /usr/sbin/cron[51332]: (operator) CMD (/usr/libexec/save-entropy) Sep 20 13:34:35 europa crontab[51387]: (root) LIST (root) Sep 20 13:35:00 europa /usr/sbin/cron[51394]: (root) CMD (/usr/libexec/atrun) Sep 20 13:35:00 europa /usr/sbin/cron[51393]: (root) CMD (/usr/sbin/webstats) Sep 20 13:40:00 europa /usr/sbin/cron[51468]: (root) CMD (/usr/libexec/atrun) Sep 20 13:40:00 europa /usr/sbin/cron[51467]: (root) CMD (/usr/sbin/webstats) I am confused on where I should look now. Any suggestions would be appreciated. /bob ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ftp install...persistent problem
Hello- So, it seems that everytime that I do a ftp install.I say everytime, but I have only done this about 6-7 times as I am rather new to freebsd...the server that I am using sisconnects me and I have to go through the menus to try another server and alot of time I have to go through the all the menus that tell me that it cannot find a certain file. Am I doing something wronI must be cause this don't seem right! /bob ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
trouble compiling the kernel
Hello all- I am trying to recompile my kernel to make use of dummynet per the instruction in the handbook and I am getting this error output and cannot make use of it. I am calling my edited config file DUMMYNET, fyi. bash-2.05b# make buildkernel KERNCONF=DUMMYNET -- Kernel build for DUMMYNET started on Wed Sep 1 00:38:41 EDT 2004 -- === DUMMYNET mkdir -p /usr/obj/usr/src/sys -- stage 1: configuring the kernel -- cd /usr/src/sys/i386/conf; PATH=/usr/obj/usr/src/i386/legacy/usr/sbin:/usr/obj/usr/src/i386/legacy/usr/bin:/usr/obj/usr/src/i386/legacy/usr/games:/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/usr/obj/usr/src/i386/usr/games:/sbin:/bin:/usr/sbin:/usr/bin config -d /usr/obj/usr/src/sys/DUMMYNET /usr/src/sys/i386/conf/DUMMYNET ERROR: version of config(8) does not match kernel! config version = 500012, version required = 500013 Make sure that /usr/src/usr.sbin/config is in sync with your /usr/src/sys and install a new config binary before trying this again. If running the new config fails check your config file against the GENERIC or LINT config files for changes in config syntax, or option/device naming conventions *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. the output from uname -a goes like this: bash-2.05b# uname -a FreeBSD europa.phreakout.net 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0: Mon Feb 23 20:45:55 GMT 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 Any help to figure what configure is doing here would be graciously accepted! thanks, Bob ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cannot get rc.conf to configure an second interface
At 04:55 PM 8/26/2004 -0500, you wrote: Bob Ababurko wrote: Hello- I am trying to configure rc.conf to set up my second interface. Right now, I have these lines in the rc.conf file and when I boot the mahine, fxp1 is not configured. Also, it seems that that ipv6 is set up an I am not sure how to disable it. Here is my rc.conf entries that refer to the network: ifconfig_fxp0=inet 192.168.102.14 netmask 255.255.255.0 ifconfig_fxp1=inet 192.168.102.15 netmask 255.255.255.0 defaultrouter=192.168.102.1 IS there thing else that I need to do to configure fxp1 to survive a reboot? One thing that happens when I configure the NIC with ifconfig is this: bash-2.05b# ifconfig fxp1 192.168.102.15 netmask 255.255.255.0 ifconfig: ioctl (SIOCAIFADDR): File exists what I end up needing to do is configure the IP and then the network, separately. I think that this error has something to do with my problem, but I am not sure how to deal with that. Any info that anyone ca lead me to will be great. thanks, Bob If I've been learning anything lately, you cannot have two interfaces configured on the same subnet on FreeBSD. The boot process is erroring out on this, hence why you're getting the ifconfig error listed above. One way to get around this is set those interfaces with a netmask of all ones, or 255.255.255.255, or simply do have these entries in you're rc.conf file: ifconfig_fxp0=inet 192.168.102.14/32 ifconfig_fxp1=inet 192.168.102.15/32 defaultrouter=192.168.102.1 Again, this is if I got everything correctly. HTH Eric F Crist I am curious as to how these netmask settings will effect the way my routes will be handled. If I use a /32, what does that meanor more specifically, what is going on here? I am sure this is not the conventions used in Solaris. So, I would like to understand what is going on or why I would use a different subnet mask. Also.what I want to do here, or at least, think that I want to do, is have traffic come and go out of each NIC, respectively. I don't want traffic to come in fxp1 and go out of fxp0. I want this to occur because I am going to use dummynet to handle some bandwidth issues. What is the default behavior in this respect in FreeBSD when just adding another NIC to a system and not making any other changes? Do I have to change anything in my routing tables? I am thinking that I do.If someone with expertise in these areas can help, I would be grateful! thx, BoB ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
cannot get rc.conf to configure an second interface
Hello- I am trying to configure rc.conf to set up my second interface. Right now, I have these lines in the rc.conf file and when I boot the mahine, fxp1 is not configured. Also, it seems that that ipv6 is set up an I am not sure how to disable it. Here is my rc.conf entries that refer to the network: ifconfig_fxp0=inet 192.168.102.14 netmask 255.255.255.0 ifconfig_fxp1=inet 192.168.102.15 netmask 255.255.255.0 defaultrouter=192.168.102.1 IS there thing else that I need to do to configure fxp1 to survive a reboot? One thing that happens when I configure the NIC with ifconfig is this: bash-2.05b# ifconfig fxp1 192.168.102.15 netmask 255.255.255.0 ifconfig: ioctl (SIOCAIFADDR): File exists what I end up needing to do is configure the IP and then the network, separately. I think that this error has something to do with my problem, but I am not sure how to deal with that. Any info that anyone ca lead me to will be great. thanks, Bob ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
portscan looks like....
Hello- I have just done a portscan on my FreeBSD box running 5.2.1 and got : PORT STATE SERVICE 22/tcp open ssh 25/tcp open smtp 80/tcp open http 111/tcp open rpcbind 1023/tcp open netvenuechat now, i made a faux pas when i configured this machine and had made this a nfs client...i belive that was the case. I am now interested in turning this off, and will be able to do that with rpcbind_enable=NO in rc.conf. Then there is the case of the port 1023. I have no idea how to turn this off or how it got turned on. Could the rpcbind allowed someone into my computer to hack it up? I am pretty scared at this point. Can somone help me? thanks, Bob ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]