Re: port update problem - newbie
--- Kent Stewart [EMAIL PROTECTED] wrote: On Monday 24 January 2005 05:11 am, saravanan ganapathy wrote: --- Tabor Kelly [EMAIL PROTECTED] wrote: saravanan ganapathy wrote: snip --- Erik Norgaard [EMAIL PROTECTED] wrote: Since I am very new to freebsd, I am not sure abt the ports collections which I don't want. Since you are new, I will give you some (ports) advice: 1. Always update all of your ports so that you can use portupgrade. 2. Use portupgrade. 3. Read /usr/ports/UPDATING if you want things to go smoothly. 4. If you forget step 3, and step 3 happens to have some bad news in it (usually pertaining to gettext), 'portupgrade -rRf [some port]' can work wonders. 5. Don't forget to do a 'portsdb -uU' after cvsup'ing your ports. My quick start to portupgrade: http://tabor.taborandtashell.net/serversetup/ports.html Where I learned about portupgrade: http://www.onlamp.com/pub/a/bsd/2003/08/28/FreeBSD_Basics.html The above link was very useful to me and I 've learnt the portupgrade procedure. I am also looking for package management. I know that a package can be installed using 'pkg_add -r sendmail'. But how to keep update these packages like ports? I need to choose either ports or packages. Why? Either is an appropriate method of updating. Maintaining the ports using something like portupgrade is frequently faster because you can update the port as soon as it is changed. With a package, you have to wait until the package has been built and moved to the mirrors. If a package is available, you save a lot of cpu usage on slow machines. In order to use current versions, both require maintaining an uptodate port structure. You just have to determine which method is an optimum for your usage. I have some doubts in port upgrade 1) I think that if I upgrade a port, first the current package will be removed and then new package will be installed.Let us assume that I am running a web server and apache needs to be upgraded. In this case, if the current apache is removed and the new apache 'll be installed, then what abt my existing configuration? What abt the down time? 2) What is the best method to upgrade ports without any downtime for my live servers? 3) Even after upgraded my all ports, 'portaudit' says still problem with 'perl'.So what should I do? Please suggest me Sarav __ Do you Yahoo!? The all-new My Yahoo! - Get yours free! http://my.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: perl and ports
On Tue, Jan 25, 2005 at 03:30:05PM +1000, Warren wrote: On Tue, 25 Jan 2005 03:28 pm, Gert Cuykens wrote: does cvsup need perl ? Yes Only to compile it from ports, not to run the resulting package. Kris pgpuTO1yuKsMX.pgp Description: PGP signature
Re: which bittorrent client
On 01/24/05 20:10:35, Brian John wrote: Hello, I would like some advice on which Bittorrent client to use. I really like Azureus, but I always get OutOfMemoryException's and it takes up like 300 MB of memory sometimes. Is there a more lightweight client that has the main features of Azureus (priorities, auto-resuming)? What does everyone on this list use? Thanks! py24-BitTorrent-devel-3.9.0_4,1 Is what I have. seems to work fine for me. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: port update problem - newbie
On Monday 24 January 2005 09:52 pm, saravanan ganapathy wrote: --- Kent Stewart [EMAIL PROTECTED] wrote: On Monday 24 January 2005 05:11 am, saravanan ganapathy wrote: --- Tabor Kelly [EMAIL PROTECTED] wrote: saravanan ganapathy wrote: snip --- Erik Norgaard [EMAIL PROTECTED] wrote: Since I am very new to freebsd, I am not sure abt the ports collections which I don't want. Since you are new, I will give you some (ports) advice: 1. Always update all of your ports so that you can use portupgrade. 2. Use portupgrade. 3. Read /usr/ports/UPDATING if you want things to go smoothly. 4. If you forget step 3, and step 3 happens to have some bad news in it (usually pertaining to gettext), 'portupgrade -rRf [some port]' can work wonders. 5. Don't forget to do a 'portsdb -uU' after cvsup'ing your ports. My quick start to portupgrade: http://tabor.taborandtashell.net/serversetup/ports.html Where I learned about portupgrade: http://www.onlamp.com/pub/a/bsd/2003/08/28/FreeBSD_Basics.html The above link was very useful to me and I 've learnt the portupgrade procedure. I am also looking for package management. I know that a package can be installed using 'pkg_add -r sendmail'. But how to keep update these packages like ports? I need to choose either ports or packages. Why? Either is an appropriate method of updating. Maintaining the ports using something like portupgrade is frequently faster because you can update the port as soon as it is changed. With a package, you have to wait until the package has been built and moved to the mirrors. If a package is available, you save a lot of cpu usage on slow machines. In order to use current versions, both require maintaining an uptodate port structure. You just have to determine which method is an optimum for your usage. I have some doubts in port upgrade 1) I think that if I upgrade a port, first the current package will be removed and then new package will be installed.Let us assume that I am running a web server and apache needs to be upgraded. In this case, if the current apache is removed and the new apache 'll be installed, then what abt my existing configuration? What abt the down time? Well, you have to kill apache to stop the httpd processes. The problem with apache is that the install creates its own /usr/local/www/data link. If you use apache, you can create something like ln -sf /.../data data. Then, you can upgrade apache. The install is very fast and I immediately unlink the link that the apache install created and link to my data directory. I have all of my web data on /usr2/data. The link to /usr2/data is gone for less than 30 seconds. Then, you need to stopapache and startapache. There has to be many choices on the order of doing things. You aren't running the updated apache until you do the down/up toggle. Your downtime will only be a couple of minutes and apache goes down gracefully. Toggling apache is less than 30 seconds on my slow system. I think my web server is down for less than 2 minutes from the time the upgrade destroys my data link until everything is back in order and is using the new version of apache. Network congestion can cause problems longer than that :). 2) What is the best method to upgrade ports without any downtime for my live servers? There isn't any to my way of thinking. You have to stop the process and restart it. Some processes you can kill -HUP but ports are mostly different. You can reduce the down time to a small number but there will be a period when that process won't be available. One of the problem with live databases is that management thinks they need to be up 24x7. You need to be able to do maintenance and you may have to schedule downtime. For security reasons, you may not want to wait for a component failure to do the upgrades :). FWIW, everyone I have known that was involved with system work did their upgrades on weekends or between 2 am and 6 am. Hollidays are also handy times for upgrading. 3) Even after upgraded my all ports, 'portaudit' says still problem with 'perl'.So what should I do? I don't have any suggestion. Perl 5.8.5 just showed up on the list. I already have cups-base, mozilla, and linux-tiff. I don't have any daemon processes that use perl. Is it something you really have to worry about at this moment. Kent Please suggest me -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: PostgreSQL TCP sockets access?
On Wednesday 26 Jan 2005 04:16, SigmaX wrote: Hey; I have a fairly fresh installation of FreeBSD 5.3 running PostGreSQL. I enabled TCP socket connection in the /usr/local/pgsql/data/postgresql.conf file (tcpip_socket = true), and allowed all hosts in pg_hba.conf (host all all 0.0.0.0 0.0.0.0 trust)... but I still get a connection refused error when trying to access the server. Any help? SigmaX Do you have the firewall installed, and if so have you opened up ports for your connections. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: which bittorrent client
On Monday 24 January 2005 10:07 pm, Jason Henson [EMAIL PROTECTED] wrote: On 01/24/05 20:10:35, Brian John wrote: Hello, I would like some advice on which Bittorrent client to use. I really like Azureus, but I always get OutOfMemoryException's and it takes up like 300 MB of memory sometimes. Is there a more lightweight client that has the main features of Azureus (priorities, auto-resuming)? What does everyone on this list use? Thanks! py24-BitTorrent-devel-3.9.0_4,1 Is what I have. seems to work fine for me. I highly recommend ctorrent, a client written entirely in C. It's very fast, small and efficient. It's quite basic - you have to run a separate process for each torrent - but you can call it from something else to further customize it. It doesn't do priorities as such (not exactly - you can set max, min peers, rate, etc., for each torrent) or auto-resume, but this could be set fairly easily by writing it into a script. The best thing is that it just works, and as efficiently as possible. - jt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Partition Size
in message [EMAIL PROTECTED], wrote Peterhin thusly... looking at page 70, in The Complete FreeBSD and I quote Use the rest of the space on disk for a /home file system. as long as it's possible to back it up on a single tape. Otherwise make multiple file systems. My question is do I make multiple /home directories.? I have a SATA 80GB hard drive, so as Greg L. suggests 4GB to 6GB for the root file system. 1GB to 2GB for the Swap file. The rest of the disk for the /home file. That would leave me with a /home of approx. 72GB. Assuming given space is = 4 GB ... I personally first set the sizes of swap (2*RAM if RAM = 256 MB, else about RAM + 256 MB), / (about 65% full), and /usr (about 50% full). I try to keep the sizes of / (100 - 135 MB) /usr (500-600 MB) such that there is room to expand w/ each, at least, minor release, w/o wasting space. Purpose of the two partitions is to contain base system specific files only. X does not come in this yet. Next comes the partition which will contain at least /home and non system files (/usr/local, /usr/X11R6, /usr/ports, /usr/src). If i can squeeze in ~2 GB partition, then ${MAKEOBJDIRPREFIX:-/usr/obj} $WRKDIRPREFIX---see comments in /usr/ports/Mk/bsd.port.mk---go there (where ports system compilation occur). Now, the remaining amount of space decides if /var goes on a separate partition. Low space in /var will very likely make /tmp to be created as a memory file system. If the amount of the remaining is too low (i decreed it to be 465 MB during my last installation) for /var, everything will go either on the partition containing /home or the compilation partition. Currently in ~22 GB slice FreeBSD 5.3 installed, i have ... --- Abbreviated df -hi output --- . SizeUsed . Capacity iused . %iused Mounted on . 135M 53M .43%1405 .8% / . 581M321M .60% 16810 . 22% /usr . 465M 41M .10%1776 .3% /var . 16G4.5G .30% 205600 .9% /misc . 2.7G918M .36% 33311 .9% /work ... where, /misc has ... drwxr-xr-x 3 root wheel 512 Dec 21 21:57 home/ drwxr-xr-x 21 root wheel 512 Jan 14 00:10 local/ drwx-- 2 root wheel 2048 Jan 21 07:45 lost+found/ drwxr-xr-x 10 root wheel 512 Dec 28 15:06 moo/ drwxr-xr-x 2 root wheel 512 Dec 30 20:54 nfs/ lrwxr-xr-x 1 root wheel 9 Dec 23 18:07 obj@ - /work/obj lrwxr-xr-x 1 root wheel13 Jan 3 18:26 ports@ - ports-current drwxr-xr-x 52 root wheel 1536 Jan 24 23:05 ports-current/ drwxr-xr-x 6 root wheel 512 Jan 3 18:25 ports-mozilla-1.7.3/ drwxr-xr-x 7 root wheel 1024 Jan 3 18:24 ports-netscape4/ lrwxr-xr-x 1 root wheel 7 Dec 21 23:00 src@ - src-5.3 drwxr-xr-x 21 root wheel 1024 Jan 17 21:45 src-5.3/ drwxr-xr-x 6 root wheel 512 Dec 31 08:54 sup/ (moo contains things like locally developed programs/scripts, configurations, etc. which are installed by something-other-than-myself. sup contains data created by cvsup; ports-{moz,netscape}* contain ports view at the time of mozilla-1.7.3 netscape4 ports respectively.) ... and /work has ... drwx-- 3 root wheel 2048 Jan 21 07:44 lost+found/ drwxr-xr-x 3 root wheel 512 Dec 22 19:07 obj/ drwxr-xr-x 3 root wheel 512 Jan 4 20:56 ports/ drwxrwxrwt 3 root wheel 512 Jan 24 22:45 tmp/ ... finally in / /usr (abbreviated to show only rearrangement of defaults) ... lrwxr-xr-x 1 root wheel 9 Dec 21 15:43 /home@ - misc/home lrwxr-xr-x 1 root wheel 8 Dec 21 15:39 /tmp@ - work/tmp lrwxr-xr-x 1 root wheel 11 Dec 21 15:40 /usr/local@ - /misc/local lrwxr-xr-x 1 root wheel 13 Dec 21 15:40 /usr/X11R6@ - /misc/local/X lrwxr-xr-x 1 root wheel 11 Dec 22 01:16 /usr/ports@ - /misc/ports lrwxr-xr-x 1 root wheel 9 Dec 21 15:42 /usr/src@ - /misc/src lrwxr-xr-x 1 root wheel 9 Dec 21 15:48 /usr/obj@ - /work/obj ... and to keep ports system from misbehaving, /etc/make.conf has ... LOCALBASE=/misc/local X11BASE=/misc/local/X PORTSDIR=/misc/ports WRKDIRPREFIX=/work/ports Mind that above is my own brand of fuzzy logic to partitioning a slice for personal use; besides the / /usr partitions sizes, everything is subject to major changes. After doing quite a number of installations, i am still not satisfied w/ the layout. I thought i was quite done w/ 4.x, but 5.x changed that being bigger in size, especially /. And the partitioning menu/screen, reached via sysinstall-Configure, sometimes does not allow some of the values (causes Partition too big error message) causing some partitions to be bigger/smaller than desired. Oh well. - Parv -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL
Re: Dual booting w/ two disks
I reinstalled windows on the second disk, ran fdisk -B -b /boot/boot0 device then ran grub-install device. After that I configured grub as such: config:menu.lst color black/cyan yellow/cyan default 0 fallback 1 # For booting FreeBSD title FreeBSD - Unix root (hd0,a) kernel /boot/loader # For booting Windows NT or Windows95 title Windows XP map (hd0) (hd1) map (hd1) (hd0) rootnoverify (hd1,0) chainloader +1 makeactive /config And voila! Cheers!! On Mon, 24 Jan 2005 12:09:26 -0800, gabriel [EMAIL PROTECTED] wrote: Okay cool, I'll try those when I get home. I think the main issue with me is just finding the actual partition on the second disk to boot windows because I dont know which is it. Thanks! On Mon, 24 Jan 2005 21:01:39 +0100, FreeBsdBeni [EMAIL PROTECTED] wrote: On Mon, 24 Jan 2005 01:27:45 -0800, gabriel [EMAIL PROTECTED] wrote: I'm trying to dual boot FreeBSD and Windows XP with two different disks, I have manged to get FreeBSD running and installed the boot manager and grub on it. When I boot into windows, I get some sort of boot loader error and it halts. Here's my menu.lst: I have Grub booting just from 1 disk, not 2, but with 4 different partitions. Here's my menu.lst as installed by Suse 9.2. I just moved the FreeBSD lines up to the first place ;-). The lines to boot FreeBSD from the Linux Grub version I found with a info grub under Suse. There is a chapter on booting other OS'es. But it boots Windows XP, FreeBSD and Suse without any problem here. color white/blue black/light-gray default 0 timeout 8 gfxmenu (hd0,2)/boot/message ###Added by Beni ### title FreeBSD root (hd0,a) kernel /boot/loader boot ###Don't change this comment - YaST2 identifier: Original name: linux### title SUSE LINUX 9.2 kernel (hd0,2)/boot/vmlinuz root=/dev/hda3 vga=0x31a selinux=0 splash=verbose resume=/dev/hda6 desktop elevator=as showopts initrd (hd0,2)/boot/initrd ###Don't change this comment - YaST2 identifier: Original name: windows### title Windows XP root (hd0,0) chainloader +1 ###Don't change this comment - YaST2 identifier: Original name: floppy### title Diskette root (fd0) chainloader +1 ###Don't change this comment - YaST2 identifier: Original name: failsafe### title Failsafe -- SUSE LINUX 9.2 kernel (hd0,2)/boot/vmlinuz root=/dev/hda3 showopts ide=nodma apm=off acpi=off vga=normal noresume selinux=0 barrier=off nosmp noapic maxcpus=0 3 initrd (hd0,2)/boot/initrd -- FreeBsdBeni. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- gabriel, Member of: FreeBSD-Announce FreeBSD-Hardware FreeBSD-Multimedia FreeBSD-questions -- gabriel, Member of: FreeBSD-Announce FreeBSD-Hardware FreeBSD-Multimedia FreeBSD-questions ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
DNS problem
Im having trouble getting some webpages due to my DNS of the website to my ISP dns of the site being different. im pointing my name server to the dns server IP of my ISP .. so why is my IP dns lookups not resolving the right IP's ? -- Yours Sincerely Shinjii http://www.shinji.nq.nu ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DNS problem
They could be negative cached by your isp's dns servers. Personally I run dnscache to avoid that issue, I don't trust my isp with _ANYTHING_, but the connection. Cheers! On Tue, 25 Jan 2005 17:49:18 +1000, Warren [EMAIL PROTECTED] wrote: Im having trouble getting some webpages due to my DNS of the website to my ISP dns of the site being different. im pointing my name server to the dns server IP of my ISP .. so why is my IP dns lookups not resolving the right IP's ? -- Yours Sincerely Shinjii http://www.shinji.nq.nu ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- gabriel, Member of: FreeBSD-Announce FreeBSD-Hardware FreeBSD-Multimedia FreeBSD-questions ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
fdisk/bsdlabel: cannot write to disk
Hello. I am rather new to FBSD5.3. I did a custom install leaving some room on my (ata) hard disks. Later I decided to create a separate /usr/obj partition. I started /stand/sysinstall and tried to create a new slice and a new partition in it. Sysinstall reported that it cannot write to the hard disk. Next I only tried to create a new partition inside an existing slice. The same again. I tried the same manually with fdisk/bsdlabel and the same happens. I tried it in single user mode and even booted FREESBIE. Always the same problem. I must be doing something simple very wrong. But what? What f*cking manual did I not read? Is there some secret geom rdonly switch I have to turn off? (BTW: securelevel is at -1) Thank you, Norbert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
What's on each FreeBSD 5.3 (i386) disc?
I want to install FreeBSD for the i386 architecture...there are 4 ISOs: 5.3-RELEASE-i386-bootonly.iso 5.3-RELEASE-i386-disc1.iso 5.3-RELEASE-i386-disc2.iso 5.3-RELEASE-i386-miniinst.iso a) If I just burn the disc1 ISO image to a CD is that enough for a standard install? b) what's on disc 2 - ports? c) what is the 'bootonly' disc for? thanks in advance ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]