Re: tool to determine server stability issues
Hello, On Wed, Mar 4, 2009 at 13:41, Robert Huff wrote: > On my system: > > huff@> whereis httpd > httpd: /usr/local/sbin/httpd /usr/local/man/man8/httpd.8.gz > > Someone's looking in the wrong place. (Unless you've twiddled > /all/ the settings.) Thank you Robert and some information for the rest. It turns out these two prcoesses looking for /usr/sbin/httpd were zombies so to say (and they were the cause of my problems). Someone used a php script vulnarability and placed a script in /tmp. Apart from looking for security holes in php scripts, I am going to monitor /tmp. I am embarrased to say I haven't done that so far. I am writing it to warn people like myself. All the best, -- Zbigniew Szalbot www.slowo.pl www.fairtrade.net.pl ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: the "yes" comand
Kurt Buff wrote: On Wed, Mar 4, 2009 at 16:06, Vasadi I. Claudiu Florin wrote: Well , I noticed that, but it's a bit odd now isn't it. I mean, what's the sense of having some darn letter printer out forever ? I found it kind of silly If you ask me. But, incredibly useful if you actually write shell scripts - many programs want a 'y' for input from the stdin, and this will do that for you. Here's an example. When upgrading FreeBSD, especially over a large delta in version numbers, you will frequently need to delete old files etc. that are no longer part of the base system. You are provided with a mechanism to do that, viz: # cd /usr/src # make check-old {prints out all old files, directories and libraries to be deleted} # make delete-old {prompts you to delete anything apart from shlibs which it won't touch} However 'make delete-old' will ask you whether you want to delete each and every individual file, which is tedious. If you decide from your inspection of the 'make check-old' output that you don't want any of the old files, you can just run: # yes | make delete-old Job done. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: the "yes" comand
if you have program that do too much questions like (are you sure), and you are sure then you do yes|program On Thu, 5 Mar 2009, Vasadi I. Claudiu Florin wrote: Hell-o, Ever wondered about the "yes" command? Well, I have. If one does "yes" into a terminal one get's an infinit output of "y" on a new line each time. What's the deal here? I saw the same thing on linux, but you only had to type "y" (those cheap blokes :P) So... what's going on ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: /bin/sh does not read profile
On Wed, Mar 04, 2009 at 04:08:03PM +0100, Bertram Scharpf wrote: > > Hi, > > from "man sh": > >Invocation > [...] When first starting, the shell inspects > argument 0, and if it begins with a dash (`-'), the shell is also consid- > ered a login shell. This is normally done automatically by the system > when the user first logs in. A login shell first reads commands from the > files /etc/profile and then .profile in a user's home directory, if they > exist. [...] > > I use Slim (X login manager) which calls > > exec /bin/sh - ~/.xinitrc Usually ~/.xinitrc is parsed by the X server when it starts (startx is just a Bourne shell script) and you exec the last command (the window manager) in your ~/.xinitrc I've never before seen the syntax you've used and I think it comes from a misunderstanding of the manpage for sh and/or it's a bashism or a typo. E.g: /bin/sh -c somecommand (login shell - arg 0 starts with a dash) /bin/sh somecommand(not a login shell) > > I first wondered why none of my commands in "/etc/profile" and > "~/.profile" got executed. Finally, I modified > "/usr/src/bin/sh/main.c" to trace what files are read, recompiled > the "sh" command and: the only file that is executed is "~/.shrc". > > I just cannot believe that FreeBSD has such a severe bug. What is > going wrong here? > > Thanks in advance, > > Bertram > Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
FreeBSD 6.4+ PF Binat =>Degraded traffic after few hours hours.
I have 2 servers running FreeBSD 6.4P#1 with standard SMP and each server has multiple IP alias bind to the bge1, Dell R200. # ifconfig -a bge0: flags=8802 mtu 1500 options=1b ether 00:19:b9:fa:0a:9f media: Ethernet autoselect (none) status: no carrier bge1: flags=8843 mtu 1500 options=1b inet x.x.72.23 netmask 0xff00 broadcast x.x.72.255 inet x.x.72.73 netmask 0xff00 broadcast x.x.72.255 inet x.x.72.74 netmask 0xff00 broadcast x.x.72.255 inet x.x.72.75 netmask 0xff00 broadcast x.x.72.255 inet x.x.72.76 netmask 0xff00 broadcast x.x.72.255 inet x.x.72.77 netmask 0xff00 broadcast x.x.72.255 ether 00:19:b9:fa:0a:a0 media: Ethernet autoselect (100baseTX ) status: active lo0: flags=8049 mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff00 pflog0: flags=141 mtu 33208 tun0: flags=8051 mtu 1500 inet 10.10.10.1 --> 255.255.0.0 netmask 0x Opened by PID 1224 x.x.72.23 is the main IP and the rest are alias. Tun0 is the address created by openvpn. Following is the pf rules. EXT_IF= "bge1" INT_IF= "tun0" # Configured Networks EXT= "x.x.72.0/24" INT= "10.10.0.0/16" DMZ= "10.10.12.0/24" FW= "x.x.72.23" # DMZ Servers IP Addresses user1="10.10.12.2" user2="10.10.12.6" user3="10.10.12.10" user4="10.10.12.14" user5="10.10.12.18" #External IP Pool Mapping WEB_EXT1= "x.x.72.73" WEB_EXT2= "x.x.72.74" WEB_EXT3= "x.x.72.75" WEB_EXT4= "x.x.72.76" WEB_EXT5= "x.x.72.77" # # NAT: Bi-directional NAT (one-to-one mapping) binat on $EXT_IF inet from $user1 to any -> $WEB_EXT1 binat on $INT_IF inet from $user1 to any -> $WEB_EXT1 binat on $EXT_IF inet from $user2 to any -> $WEB_EXT2 binat on $INT_IF inet from $user2 to any -> $WEB_EXT2 binat on $EXT_IF inet from $user3 to any -> $WEB_EXT3 binat on $INT_IF inet from $user3 to any -> $WEB_EXT3 binat on $EXT_IF inet from $user4 to any -> $WEB_EXT4 binat on $INT_IF inet from $user4 to any -> $WEB_EXT4 binat on $EXT_IF inet from $user5 to any -> $WEB_EXT5 binat on $INT_IF inet from $user5 to any -> $WEB_EXT5 rdr pass on $EXT_IF proto {tcp, udp} from any to $WEB_EXT1 port 1024:65000 -> $user1 rdr pass on $EXT_IF proto {tcp, udp} from any to $WEB_EXT2 port 1024:65000 -> $user2 rdr pass on $EXT_IF proto {tcp, udp} from any to $WEB_EXT3 port 1024:65000 -> $user3 rdr pass on $EXT_IF proto {tcp, udp} from any to $WEB_EXT4 port 1024:65000 -> $user4 rdr pass on $EXT_IF proto {tcp, udp} from any to $WEB_EXT5 port 1024:65000 -> $user5 pass all pass out on $EXT_IF proto {tcp,udp,icmp} from any to any keep state --- It's a very simple pf.rules with no block rules. Main purpose to map vpn user to dedicated public IP. It was working great the last few months but lately it has been giving a terrible performance after a few hours of running the servers. SSH is not accessible, traffic and routing is very slow. Is the anything wrong with above configuration or 6.4 kernel with regards to PF and OpenVPN? The servers are not having any custom setting sysctl.conf or loader.conf or rc.conf except the enabling openvpn, firewall and sshd. Restarting sshd will provide remote access again or rebooting the server. Is there any known memory leaked for pf in this configuration? Is there a better and efficient way of doing this in PF or is it better to use ipfw? When this happen (no ssh), all ping to the alias IPs resulted in timeout. Only the main IP will respond. Server RAM is 1GB and during this issue, top shows ---top last pid: 4163; load averages: 0.36, 0.29, 0.21 up 0+21:10:26 11:11:58 21 processes: 1 running, 20 sleeping CPU: 2.3% user, 0.0% nice, 6.0% system, 3.9% interrupt, 87.8% idle Mem: 15M Active, 233M Inact, 241M Wired, 76K Cache, 111M Buf, 503M Free Swap: 1951M Total, 1951M Free -- Anyone? TIA. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: OT: saving thunderbird in mbox format
On Wed, 04 Mar 2009 21:09:31 -0500 "Aryeh M. Friedman" wrote: > I am looking for someway to "export" my thunderbird mail boxs > if i recall correctly, these are already in mbox format which is readable by other email clients: http://support.detto.com/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=12 -- In friendship, prad ... with you on your journey Towards Freedom http://www.towardsfreedom.com (website) Information, Inspiration, Imagination - truly a site for soaring I's ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
OT: saving thunderbird in mbox format
I am looking for someway to "export" my thunderbird mail boxs ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: the "yes" comand
thx Bill, got the picture now. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: the "yes" comand
On Thu, Mar 05, 2009, Vasadi I. Claudiu Florin wrote: > Hell-o, > > Ever wondered about the "yes" command? Well, I have. If one does "yes" > into a terminal one get's an infinit output of "y" on a new line each > time. What's the deal here? The ``yes'' command is designed to automate interactive scripts that expect a repetitive string typed manually (e.g. something like fsck but without the ``-y'' option). One would use something like: yes | somecommand It takes a single string argument so if you had a program that always expected the string ``greblefarf'' one could use: yes greblefarf | yourcommand > I saw the same thing on linux, but you only had to type "y" (those cheap > blokes :P) I don't know what you're talking about here. To the best of my knowledge, the yes command works the same on every version of *nix I have used which goes as far back as Radio Shack Xenix in 1982 (the last real OS that Microsoft was responsible for :-). Bill -- INTERNET: b...@celestial.com Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way Voice: (206) 236-1676 Mercer Island, WA 98040-0820 Fax:(206) 232-9186 The pinnacle of open systems is: when moving from vendor to vendor, the design flaws stay the same. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: the "yes" comand
On Wed, Mar 4, 2009 at 16:06, Vasadi I. Claudiu Florin wrote: > Well , I noticed that, but it's a bit odd now isn't it. I mean, what's the > sense of having some darn letter printer out forever ? I found it kind of > silly If you ask me. But, incredibly useful if you actually write shell scripts - many programs want a 'y' for input from the stdin, and this will do that for you. Kurt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: the "yes" comand
Well , I noticed that, but it's a bit odd now isn't it. I mean, what's the sense of having some darn letter printer out forever ? I found it kind of silly If you ask me. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: the "yes" comand
On Wed, Mar 4, 2009 at 7:01 PM, Vasadi I. Claudiu Florin wrote: > Hell-o, > > Ever wondered about the "yes" command? Well, I have. If one does "yes" into > a terminal one get's an infinit output of "y" on a new line each time. > What's the deal here? > > I saw the same thing on linux, but you only had to type "y" (those cheap > blokes :P) > > So... what's going on ? man yes -- Glen Barber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
the "yes" comand
Hell-o, Ever wondered about the "yes" command? Well, I have. If one does "yes" into a terminal one get's an infinit output of "y" on a new line each time. What's the deal here? I saw the same thing on linux, but you only had to type "y" (those cheap blokes :P) So... what's going on ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Anyone know SunFire hardware
On Monday 02 March 2009 01:57:21 pm Paul Schmehl wrote: > We have FreeBSD installed on a SunFire box running two AMD Opteron > processors. I was upgrading to 7.1 STABLE on Friday, and after > installing the kernel I rebooted. Now the box is completely unusable. > Does anyone know how to get a SunFire box to boot from the CD ROM? Any > changes I make to the BIOS seem to be completely ignored. When I get > to the FreeBSD boot loader, I lose keyboard, so I can't even go to > single user mode. Not being able to boot off the CD is a royal pita. > > I've done some Googling, and the most common answer seems to be "hit > STOP+A", but there is no STOP key on an Intel keyboard. Is there a > magic incantation that will work? Maybe the entrails of a young goat? I've been working on an X2100 recently. Unfortunately it is running Linux but I was able to boot from both a FreeBSD CD (in an external USB CD drive) and a USB stick without issue. Keyboard was USB as well. F2 should take you to the BIOS setup screen, make sure you save your changes before exiting.. pretty standard AWARD-type BIOS. There's one screen where you can set the boot order between cdrom, hard drive, etc. and another submenu where you can set the hard drive boot priority. HTH, JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: bsd.rd for FreeBSD install
On Wed, Mar 4, 2009 at 1:13 AM, wrote: > > If the machines have floppies, there are downloadable floppy > > images. > > Is anyone aware of a simple method to construct a bootable > zip-drive image from the floppy images and/or bootonly.iso? problem is to create the zip disk bootable. Never tried this, would be COMPLETELY BIOS dependant, and I know of no sure-fire way to make it work. But the process would be the same. Install a bootloader on the zip disk, either install a bsd system, or copy the bootonly directories and files to the zip disk... then the zip would act as a bootonly cd... I've been shipped, by Iomega, a 750MB zip drive in wrong exchange by Iomega of a 2TB USB drive. I'm a little torqued. --TJ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: PAE kernel problem on Dell PowerEdge 2950
On Wed, Mar 4, 2009 at 3:38 AM, Remorque wrote: > On Wed, Mar 4, 2009 at 12:45 PM, Wojciech Puchar < > woj...@wojtek.tensor.gdynia.pl> wrote: > > > > >> I see no reason why you should run 6.4 at all though. What's your > >> motivation > >> towards thaat angle? > >> > >> I suggest you install the 7.1 and update it to -STABLE then see if > >> anything > >> changes as regards the CPU (est message), while we wait for the magic > word > >> from the dedicated developers. > >> > >> > >> -- > >> > > why not simply use /amd64? > > > You mean he changes the CPU? > > > > -- > Best regards, > Odhiambo WASHINGTON, > Nairobi,KE > +254733744121/+254722743223 > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > "The only time a woman really succeeds in changing a man is when he is a > baby." > - Natalie Wood > All CPUs generally shipped from Dell anymore are 64bit capable. Do you have the original specs (take the service tag, go to dell support -> warranty -> original system config) and paste that. It gives chip IDs that we can use online to see if it's amd64 capable. Good luck. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: PAE kernel problem on Dell PowerEdge 2950
On Wed, Mar 4, 2009 at 3:38 AM, Remorque wrote: > On Wed, Mar 4, 2009 at 12:45 PM, Wojciech Puchar < > woj...@wojtek.tensor.gdynia.pl> wrote: > > > > >> I see no reason why you should run 6.4 at all though. What's your > >> motivation > >> towards thaat angle? > >> > >> I suggest you install the 7.1 and update it to -STABLE then see if > >> anything > >> changes as regards the CPU (est message), while we wait for the magic > word > >> from the dedicated developers. > >> > >> > >> -- > >> > > why not simply use /amd64? > > > You mean he changes the CPU? > > > > -- > Best regards, > Odhiambo WASHINGTON, > Nairobi,KE > +254733744121/+254722743223 > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > "The only time a woman really succeeds in changing a man is when he is a > baby." > - Natalie Wood > All CPUs generally shipped from Dell anymore are 64bit capable. Do you have the original specs (take the service tag, go to dell support -> warranty -> original system config) and paste that. It gives chip IDs that we can use online to see if it's amd64 capable. Good luck. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Simple Sites Make Me 137.00 Daily!
Jerry McAllister wrote: On Wed, Mar 04, 2009 at 06:27:37PM +0100, Wojciech Puchar wrote: You Are About To See How A Simple Little Three Page Website Makes Me Over $137 In PROFIT Each And Every Day... And It Only Took Me 45 Minutes To Build!" Yes... Unlike The 'Other Guys' I Am Actually Gonna Let You See It! My Simple Sites Have Generated Over $2,298,443 In Revenue Over The Past 4 Years. Not To Mention My Students Who Generated Over $1,000,000 Last Year Alone! Copy the URL into your browser for a free video http://www.advice.ne1.net/ unbelievable how many people still believe money comes from heavens. couldn't the mailsystem be changed to allow posting from addresses only from registered users? That discussion has been had numerous times before. I think that in general the conclusion is always that since the questions list provides a primary point of support for FreeBSD users, and that many have reasons that they cannot subscribe or that it would be a problem for them to subscribe, that the annoyance from these trash messages is less than the benefit of leaving the list open. It is not hard to hit 'd' for delete or click on that box if you use a gui email reader. I suspect that the choice won't change now either. jerry I can't send emails to the address which I used to sign up to the list, and from which I am receiving emails from the list. The mailing list server simply rejects these emails. I don't know if this is a configuration problem, but I am glad that as long as such problems occur I can post messages using a different address. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: SpamAssassin/Perl eating enormous amounts of memory?
On Mar 3, 2009, at 12:31 PM, Mel wrote: On Tuesday 03 March 2009 07:26:02 Andrew Moran wrote: Ok sadly that didn't seem to do much: celebrian# cat /boot/loader.conf kern.maxdsiz="8G" kern.defdsiz="4G" celebrian# Can you show limits -H -d? [r...@celebrian ~]# limits -H -d Resource limits (current): datasize 8388608 kB [r...@celebrian ~]# I rebooted, but still see my memory being chewed up. Almost immediately after booting, one of my spamassassin processes spun out of control. Here's the top with it eating 16 gigs of memory: PIDUIDTHR PRI NICE SIZERES STATE C TIME WCPU COMMAND 1611 1030 1 680 15062M 818M CPU2 2 0:44 20.65% perl5.8.9 At this point, have your cd to a partition large enough to hold a few 100 megs, and type: ktrace -p 1611 where 1611 is the PID of the perl process. You may want to be a bit earlier then this point. After a few seconds, type ktrace -C. Then kdump| less. There should be plenty of allocations there (*alloc* functions). I'll try to do this if I can catch it in the act. I've mitigated the problem by turning off swap completely, which means my system doesn't get bogged down but then it's less obvious when it's happening. I do seem to be seeing a lot of other processes dying as well: pid 53393 (perl5.8.9), uid 1030, was killed: out of swap space pid 53415 (sendmail), uid 0, was killed: out of swap space pid 53401 (imap-login), uid 143, was killed: out of swap space pid 53400 (imap-login), uid 143, was killed: out of swap space pid 53399 (imap-login), uid 143, was killed: out of swap space pid 53417 (procmail), uid 1030, was killed: out of swap space pid 47702 (sendmail), uid 0, was killed: out of swap space pid 53418 (perl5.8.9), uid 1030, was killed: out of swap space pid 53416 (procmail), uid 1030, was killed: out of swap space pid 971 (dovecot), uid 0: exited on signal 11 (core dumped) This morning i had to restart many of my services. The mystery continues. --Andy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Simple Sites Make Me 137.00 Daily!
On Wed, Mar 04, 2009 at 06:27:37PM +0100, Wojciech Puchar wrote: > >You Are About To See How A Simple Little Three Page Website Makes Me Over > >$137 In PROFIT Each And Every Day... And It Only Took Me 45 Minutes To > >Build!" > >Yes... Unlike The 'Other Guys' I Am Actually Gonna Let You See It! > >My Simple Sites Have Generated Over $2,298,443 In Revenue Over The Past 4 > >Years. > >Not To Mention My Students Who Generated Over $1,000,000 Last Year Alone! > >Copy the URL into your browser for a free video http://www.advice.ne1.net/ > > > unbelievable how many people still believe money comes from heavens. > > couldn't the mailsystem be changed to allow posting from addresses only > from registered users? That discussion has been had numerous times before. I think that in general the conclusion is always that since the questions list provides a primary point of support for FreeBSD users, and that many have reasons that they cannot subscribe or that it would be a problem for them to subscribe, that the annoyance from these trash messages is less than the benefit of leaving the list open. It is not hard to hit 'd' for delete or click on that box if you use a gui email reader. I suspect that the choice won't change now either. jerry > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Simple Sites Make Me 137.00 Daily!
You Are About To See How A Simple Little Three Page Website Makes Me Over $137 In PROFIT Each And Every Day... And It Only Took Me 45 Minutes To Build!" Yes... Unlike The 'Other Guys' I Am Actually Gonna Let You See It! My Simple Sites Have Generated Over $2,298,443 In Revenue Over The Past 4 Years. Not To Mention My Students Who Generated Over $1,000,000 Last Year Alone! Copy the URL into your browser for a free video http://www.advice.ne1.net/ unbelievable how many people still believe money comes from heavens. couldn't the mailsystem be changed to allow posting from addresses only from registered users? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Simple Sites Make Me 137.00 Daily!
You Are About To See How A Simple Little Three Page Website Makes Me Over $137 In PROFIT Each And Every Day... And It Only Took Me 45 Minutes To Build!" Yes... Unlike The 'Other Guys' I Am Actually Gonna Let You See It! My Simple Sites Have Generated Over $2,298,443 In Revenue Over The Past 4 Years. Not To Mention My Students Who Generated Over $1,000,000 Last Year Alone! Copy the URL into your browser for a free video http://www.advice.ne1.net/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Cron Not Sending Mail
> Yeah, I am aware what "dnl" does. The reason I commented that stuff > out is because I have no use for any of it - all those files (access, > local-host-names, mailertable, virtusertable, etc) are all empty by > default and I had no reason to add anything to them. I'll try going > back to the default config and putting the RELAY line in the access > file. > > Thanks once again for the help. I really do appreciate the time. Sendmail is not an open relay by default so you need at least one RELAY entry in /etc/mail/access for it to forward mail externally. I'm still curious of where it picks up that w...@localhost but chances are it will disappear as soon as you have a valid access config. /Morgan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
/bin/sh does not read profile
Hi, from "man sh": Invocation [...] When first starting, the shell inspects argument 0, and if it begins with a dash (`-'), the shell is also consid- ered a login shell. This is normally done automatically by the system when the user first logs in. A login shell first reads commands from the files /etc/profile and then .profile in a user's home directory, if they exist. [...] I use Slim (X login manager) which calls exec /bin/sh - ~/.xinitrc I first wondered why none of my commands in "/etc/profile" and "~/.profile" got executed. Finally, I modified "/usr/src/bin/sh/main.c" to trace what files are read, recompiled the "sh" command and: the only file that is executed is "~/.shrc". I just cannot believe that FreeBSD has such a severe bug. What is going wrong here? Thanks in advance, Bertram -- Bertram Scharpf Stuttgart, Deutschland/Germany http://www.bertram-scharpf.de ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: libX11 configure failed.
libX11 configuration suggest that xcb doesnt meet require. I try to make xcb , but it requires to build libX11. Then I pkg_add -r xcb and portupgrade -a it failed again when configuring for libX11,which suggests again " Package requirements (xextproto xtrans xcb >= 1.1.92) were not met". how can i upgrade libX11 then? On Wed, Mar 4, 2009 at 9:14 PM, lacalling wrote: > I tried to install KDE4 on a freebsd which has few pkg installed. > > But configration aborted in libX11 > > that's the config.log in /usr/ports/libX11/.. > and the output of make. > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Odd problem with DNS and IP change.
On Sat, Feb 28, 2009 at 4:30 PM, Derek Ragona < de...@computinginnovations.com> wrote: > At 09:40 AM 2/28/2009, Andrei Brezan wrote: > >> Hello list, >> >>I have a strange problem and I don't know what to relate it to. My >> ISP >> changed my IP from (eg) 10.1.1.1 to 15.1.1.1. I have changed my zone >> files to reflect that change. >> >> "dig -t mx domain.com" results in mail.domain.com 3600 IN A 15.1.1.1 >> (the new ip). However when i try: >> >> "ping mail.domain.com" it tries to get to 10.1.1.1 the old ip and gets >> time to live exceeded fro an ip along the route. When i try to ping >> domain.com it gets all ok as it pings the new ip. I've also tried dig >> @(forwarders in named.conf) and they to got the correct mx dns entry for >> domain.com. >>In rc.conf i have hostname="mail.domain.com" (eg), i haven't >> changed >> it, i'm thinking it's something related to hostid or hostuid but i don't >> know where to search for this topic. >>If anyone has a clue what to try or where to look upon this >> behavior >> please shed some light. >> >> Thank you. >> >> > Check /etc/hosts which is used before DNS. > >-Derek > Depends on your nsswitch.conf(5) setup. If dns is specified before files, DNS will be checked before /etc/hosts will be. It's all configurable and it's important to know the difference ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
console display freezes at boot
I have a problem with my pc booting up. About 70% of the time, the console display freezes at the boot menu. The system still boots and I can ssh into the box and it will still serve web pages. I assume it is a problem with my hardware. I have tried an ubuntu live cd and it behaves similarly. Does anyone have any ideas? My problem now is I changed my sshd port to port 80 (please don't make fun of me) , but I forgot to shutdown lighttpd and so now I cannot ssh into the box. I appreciate any help you can give me. Jim ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Mentenance work for mirrors.evolva.ro 04.03.2008 16 - 19 PM GMT+2
Hello, Today mirrors.evolva.ro will be down 2-3 hours for mentenance work. The actual server will be replaced with a new one, more powerfull. We thank you for understanding. Have a great day. -- Daniel TOMUTA Junior System Administrator Evolva Telecom t: +4-021-9394 t: +4-021-200.93.94 t: +4-073-112.38.85 t: +4-074-616.06.05 f: +4-021-200.94.01 e: daniel.tom...@evolva.ro GPG: http://www.evolva.ro/g/dt.gpg ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: PAE kernel problem on Dell PowerEdge 2950
anything changes as regards the CPU (est message), while we wait for the magic word from the dedicated developers. -- why not simply use /amd64? You mean he changes the CPU? it's that CPU 64-bit capable? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
libX11 configure failed.
I tried to install KDE4 on a freebsd which has few pkg installed. But configration aborted in libX11 that's the config.log in /usr/ports/libX11/.. and the output of make. config.log Description: Binary data make_output.log Description: Binary data ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Ports on Macbook
Gary Kline a écrit : If this were only true! ...But as I understand it, corporations like the RIAA forbid me from making a backup of a CD or DVD that I *own*. (E.g, a 6-CD set of Shostokovich). While this thread is off-list and is probably annoying many people here, I cannot refrain to point out that this kind of discussion is void unless it is studied in a given legal system. For example in France, a court may decide that a given clause in a EULA is void because it is unfairly restrictive, or because the customer was not properly informed, oe because it contradicts current usage, or whatever. Companies and particulars can write everything they want, this does not make a law. BTW I would like to point out that the question of validity of EULA is the same than the problem of validity of other software licences such as BSD or GPL: any of them will only be given a definitive answer in the front of a court. -- Cheers, Michaël ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: tool to determine server stability issues
Zbigniew Szalbot writes: > The process dies as soon as it ends. But this is strange: > > $ l /usr/sbin/httpd > ls: /usr/sbin/httpd: No such file or directory On my system: huff@> whereis httpd httpd: /usr/local/sbin/httpd /usr/local/man/man8/httpd.8.gz Someone's looking in the wrong place. (Unless you've twiddled /all/ the settings.) Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Cron Not Sending Mail
On Wed, Mar 4, 2009 at 5:36 AM, Morgan Wesström wrote: > APseudoUtopia wrote: >>> In my case I only see either "local" there or my smart host as defined >>> in /var/mail/{hostname}.mc >>> Can you provide a "diff -u" between /etc/mail/freebsd.mc and >>> /etc/mail/{hostname}.mc ? >>> >>> /Morgan >> >> I'd switch over to postfix, but I'm only using this to send output >> from cron and the daily security run scripts. I don't receive any mail >> over the network, so I think it'd be pointless to go through the >> effort of switching and configuring another MTA. >> >> Here's the diff. I figured it was too long to include in the email >> (word wrap will make it hard to read :-P) >> http://pastebin.ca/1352338 >> > > > I'm no expert on Sendmail but you are aware that "dnl" is Sendmail's way > of commenting out a line, aren't you? In your config you have disabled > pretty much every configuration file in /etc/mail, especially > /etc/mail/access which defines who can relay mail through the local MTA. > I'm pretty sure this isn't a good idea. Apart from this I couldn't see > any major differences between your config and FreeBSD's default. Why not > try to use the default config and make sure to populate /etc/mail/access > with at least "127.0.0.1 RELAY" and try again? > /Morgan Yeah, I am aware what "dnl" does. The reason I commented that stuff out is because I have no use for any of it - all those files (access, local-host-names, mailertable, virtusertable, etc) are all empty by default and I had no reason to add anything to them. I'll try going back to the default config and putting the RELAY line in the access file. Thanks once again for the help. I really do appreciate the time. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: tool to determine server stability issues
Hi there, > I am not sure if it was upgrade to perl 5.8.9 which started my > problem, but anyway I am spotting a strange server behaviour. It will I am continuing my searches for the problem and just have been able to find out this: USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND www 44888 100.0 0.2 5976 3644 ?? R11:46AM 2:35.18 /usr/sbin/httpd (perl5.8.9) root14 96.3 0.0 0 8 ?? RL Fri08AM 7161:12.89 [idle: cpu0] www 44887 96.3 0.2 5976 3644 ?? R11:46AM 2:34.58 /usr/sbin/httpd (perl5.8.9) The process dies as soon as it ends. But this is strange: $ l /usr/sbin/httpd ls: /usr/sbin/httpd: No such file or directory So it looks like these two processes made the machine unresponsive and generated a lot of outgoing traffic. However, the file does not exist. Any hint as to how to debug it further? I am determined to find the culprit. Thanks! -- Zbigniew Szalbot www.slowo.pl www.fairtrade.net.pl ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: ldap cn=config/slapd.d querying
On Thu, 2009-02-26 at 13:42 +1000, Da Rock wrote: > This may be a stupid question, but I haven't been able to alight on the > answer to this. > > I'm investigating using dynamic configuration (cn=config or slapd.d > system- whichever term you like) for an ldap service, but as far as I > could see there is no way to change the setting on the fly through the > ldap itself: is this correct? > > Is it dynamic in that you can adjust the config manually correcting the > ldif files in the slapd.d directory knowing that the ldap server will > pick up the changes immediately? Or is there a way that an ldap client > (ldapmodify, luma, diradm, whatever) can access the config and change it > that way? > > Thanks in advance for humouring my dementia... :) Ok, so it did turn out to be a stupid question: the config is in a separate database, what is the real stopper to changing the config through ldap tools is the suffix. This limits the access to only the database not the config. So the answer to this is that the config MUST be changed via the ldif files in the directory (on the fly, that is). An interesting observation though: ldap can use SASL (gssapi = kerberos) to auth user access, and kerberos can use ldap as a backend... chicken and egg- slapd needs to auth with kerberos on startup as a service and kerberos could need to access ldap to reach the keys :) (if setup to use the ldap to store them of course) So what happens in a case like that? Does ldap startup enough to allow kerberos to access the backend? Or does slapd keep retrying to auth until it can? Or do we end up in an endless loop? :) I could probably keep coming up with more (my research into both these has turned up some interesting information)... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: PAE kernel problem on Dell PowerEdge 2950
On Wed, Mar 4, 2009 at 12:45 PM, Wojciech Puchar < woj...@wojtek.tensor.gdynia.pl> wrote: > >> I see no reason why you should run 6.4 at all though. What's your >> motivation >> towards thaat angle? >> >> I suggest you install the 7.1 and update it to -STABLE then see if >> anything >> changes as regards the CPU (est message), while we wait for the magic word >> from the dedicated developers. >> >> >> -- >> > why not simply use /amd64? You mean he changes the CPU? -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "The only time a woman really succeeds in changing a man is when he is a baby." - Natalie Wood ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Cron Not Sending Mail
APseudoUtopia wrote: >> In my case I only see either "local" there or my smart host as defined >> in /var/mail/{hostname}.mc >> Can you provide a "diff -u" between /etc/mail/freebsd.mc and >> /etc/mail/{hostname}.mc ? >> >> /Morgan > > I'd switch over to postfix, but I'm only using this to send output > from cron and the daily security run scripts. I don't receive any mail > over the network, so I think it'd be pointless to go through the > effort of switching and configuring another MTA. > > Here's the diff. I figured it was too long to include in the email > (word wrap will make it hard to read :-P) > http://pastebin.ca/1352338 > I'm no expert on Sendmail but you are aware that "dnl" is Sendmail's way of commenting out a line, aren't you? In your config you have disabled pretty much every configuration file in /etc/mail, especially /etc/mail/access which defines who can relay mail through the local MTA. I'm pretty sure this isn't a good idea. Apart from this I couldn't see any major differences between your config and FreeBSD's default. Why not try to use the default config and make sure to populate /etc/mail/access with at least "127.0.0.1 RELAY" and try again? /Morgan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
tool to determine server stability issues
Hello, I am not sure if it was upgrade to perl 5.8.9 which started my problem, but anyway I am spotting a strange server behaviour. It will usually last about 5 minutes during which the system becomes unresponsive. Top tells me there are two perl processes run by user www both of which use 100% of a CPU%. The server has four CPUs so that's ok. What is strange, though is that during such a storm the outgoing bandwidth is all taken up and this is the reason server becomes unresponsive. Normally, it does happen that the bandwidth is taken almost completely by remote backup job but I have priority queueing with pf and it has never been a problem. A site will be served fast even though the bandwidth is taken up, because httpd traffic has higher priority. Also, in this particular case, backup job is not involved (especially that the perl processes are run by user www) so it must be something else. I have looked through apache's logs but I cannot seem to find anything strange (normal traffic without any type of DoS activity, etc.). I have turned on debugging in HotSanic which I use for traffic/system measurement but it would not generate outgoing traffic. I guess I am looking for advice how to debug this. I often spot the problem when it is about to end so I do not have enough time to start some a more detailed monitoring (also I am not sure which tool would be best to use). I'd appreciate any advice on how to troubleshoot and find out the source of the problem. Today, I have managed to run netstat during the outage (the ssh session was on so I was able to continue, otherwise I wouldn't get to the server). I can provide its output if it is of any use. I have never had anything like this before so I am in the dark here. I use FreeBSD 7.0-RELEASE-p9 #3. Many thanks in advance! -- Zbigniew Szalbot www.slowo.pl www.fairtrade.net.pl ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: I cannot login coz bash is deinstalled
- boot in singkle user mode - mount all your s=disks: mount -a - edit /etc/passwd with your favourite editor it won't work. databases must be rebuild, you have to use chsh or vipw ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: PAE kernel problem on Dell PowerEdge 2950
I see no reason why you should run 6.4 at all though. What's your motivation towards thaat angle? I suggest you install the 7.1 and update it to -STABLE then see if anything changes as regards the CPU (est message), while we wait for the magic word from the dedicated developers. -- why not simply use /amd64? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: I cannot login coz bash is deinstalled
login. I can only login in with single user mode which freebsd proovide, but few tools are provided. How can I change my shell to sh without logining? run chsh on single user I have a debian cd which can bring me to its shell,but when i mount /dev/hda ,it says no such device. Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Ports on Macbook
On Tue, Mar 03, 2009 at 01:25:21PM +0100, Bernt Hansson wrote: > Polytropon said the following on 2009-03-03 03:24: > >On Mon, 02 Mar 2009 20:22:50 +0100, Bernt Hansson > >wrote: > >>FBSD UG skrev: > >>>You're not buying the software, you buy a license to use it on one > >>>Apple computer. > > >>Mostly semantics, if I name my computer "APPLE" Then it's "legal" to > >>install. Crap, if I buy it I can install it on ANY computer. Does not > >>have to be a computer named "APPLE" it could be "IBM", "HP" or any other > >>brand or non brand. > > > >I think an important point is that you loose support from Apple > >if you're not installing Mac OS X on Apple brand hardware. > > That may be. But i'm not talking about apple specificly. > > >As for the license agreement, if you buy Mac OS X from the shelf > >(for example), you've not confirmed any contract-like agreement > >with Apple yet, but you've purchased some rights already, for > >example the right to burn the whole package (not a nice example > >but I'm sure you get the idea); the EULA mentions nothing about > >this (legally possible) behavior. > > Well, you have the right to make a backup. Is it that? > > >The Mac OS X versions sold along with the "Hackintosh" are no > >illegally pirated copies, they're "boxes" from the shelf. It's > >up to the customer what to do with it. > > Yes. Like with any digital file/s If this were only true! ...But as I understand it, corporations like the RIAA forbid me from making a backup of a CD or DVD that I *own*. (E.g, a 6-CD set of Shostokovich). Admittedly, it's getting OT to ask if it wasn't corporate greed that's causing the Global meltdown, but we come back to the point if we ask two straightforward questions: 1. What is ethical? 2. How much is too much? gary > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 2.23a release of Jottings: http://jottings.thought.org/index.php ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: bsd.rd for FreeBSD install
> If the machines have floppies, there are downloadable floppy > images. Is anyone aware of a simple method to construct a bootable zip-drive image from the floppy images and/or bootonly.iso? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"