Remote upgrade 4.8 to 6.0
OK, I said I was intending to try this. I've carried out the following procedure on a test box in my office: before I do it with a live server 400 miles away, can anyone see any problems I've overlooked? I have two boxes on the remote site - call them server and gateway. I have ssh access to both boxes and a null-modem serial cable linking their serial ports. server is running FreeBSD 4.8 on an 80GB hard drive (ad0), and has a second brand-new 80GB hard drive (ad2). gateway is effectively acting as a serial terminal server. Copy the following files from a FreeBSD 6.0-RELEASE CD to ~root on server (I'm sure it works with 6.1 too, but 6.0 was what I had to hand for testing): boot/boot1 boot/boot2 boot/loader boot/mfsroot.gz boot/device.hints boot/kernel/kernel and edit device.hints to add set to the start of each line (that's ``setspace''). (I couldn't find another way to include the device hints when we get to that part of the loader sequence). Use disklabel to upgrade the boot blocks on the FreeBSD slice: disklabel -B -b /root/boot1 -s /root/boot2 ad0s1 This is so the bootloader will be able to read the UFS2 filesystem you are about to create. (Is it a problem to change the label on the slice rather than the root `a' partition within the slice - which you can't do with / mounted?) Establish the serial console link from gateway to server and echo ``/boot/loader -h'' /boot.config on server. Reboot server, get past the initial bootblock prompt, and interrupt kernel booting to get to a loader prompt. Enter the following: unload load /root/kernel include /root/device.hints load -t mfs_root /root/mfsroot set vfs.root.mountfrom=ufs:/dev/md0c boot You are now running FreeBSD 6.0 sysinstall from a memory disk on a serial console. Carry out the installation on ad2 (in theory, you could actually do this on ad0 if you wanted to blow away your original installation and didn't have a spare drive installed), remembering to visit the configuration menu and edit /etc/ttys to enable serial console login. Because the install was done over a serial link, the installed system should be configured for serial console. Reboot. At the bootblock prompt, enter 1:ad(0,a) to boot from the new drive. You should now be running FreeBSD6 multiuser, with a serial console for login, off ad2, and you can configure it, copy data from the old installation on ad0, etc. (My intention is to set up ad2 as a gmirror drive at this point - there is the extremely unlikely, but possible, risk of loss of data from adding the metadata to the last sector. I want to take the risk early before transferring too much data!). If you reboot the box it will drop to a bootblock prompt from the 4.8 installation: if you want to change that, put 1:ad(0,a) -h in /boot.config. The BIOS will still start the boot process from ad0, the lowest-numbered drive, but the bootblock will switch over to the other drive. Once that's done, and the 4.8 installation is no longer needed, ad0 can be added to the mirror. Comments, anyone? Jonathan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
32bit jails on 64bit hosts
Is there any knob in the .mk infrastructure that I can use to achieve $subj? Thanks in advance. P.S. Please CC me, I'm not subscribed to the list. -- If it's there, and you can see it, it's real. If it's not there, and you can see it, it's virtual. If it's there, and you can't see it, it's transparent. If it's not there, and you can't see it, you erased it. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sun StorEdge Array
There is no need for specific packages or modules. The arrays are really dumb boxes. Connect it to your machine, and on startup you should see all the disks connected to it. On 30/11/06, Robert Davison [EMAIL PROTECTED] wrote: Has anyone had any a go at getting a sun storedge disk array to work with FreeBSD. I've just brought one cheeply through eBay and see that there are specific sun software packages to run the units, but wasnt sure if you could simply connect via the SCSI port and mount. Send instant messages to your online friends http://uk.messenger.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Console graphics viewers
If anyone has had any luck with seejpeg or other (better?) alternative could you post your findings ? I just seem to get a flickering screen ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mouse ??
Hi, thanks for the tips, but I've already done the following descriptions: in the rc.conf file: moused_enabled=YES in the xorg.conf file: /dev/sysmouse protocol auto I've also tested several protocols (all available), and unfortunately it did not work. Regi 2006/11/29, Bill Moran [EMAIL PROTECTED]: In response to Reginaldo Tavares [EMAIL PROTECTED]: Hello, Do you know if an optical mouse works with 6.1 kernel ? I'm using a Dell optical with a 6.1 kernel on this workstation right now. It's much more likely that either your moused or your X config has some mistakes in it. I'm sure if you provide some details that folks will be able to assist. -- Bill Moran Collaborative Fusion Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
skype on diskless machine
Hello, I have an appserver (6.1-RELEASE-p10) and many diskless clients connected to it. I'm using the diskless clients as X terminals (gdm is running on the appserver). Any user is able to use any terminal, because they run all applications on the appserver. Here is the basic problem: users need to use skype. I have two options: #1 Run skype on the diskless machine. Then it can handle audio I/O correctly, but the users cannot save their login names and passwords. (This option is also good because the diskless machine can kldload linux while the appserver does not need to, e.g. the appserver will be able to run application in native mode only). #2 Run skype on the appserver. Then users can save their skype login information but they are not able to make calls. Well, I could forward the audio output to the client using a sound daemon (e.g. esd -promiscuous -tcp -pubic -port 1500 on the diskless and esddsp -v -s diskless101:1500 skype_bin) but I could not find out how to forward digital input. I see no way to forward digital input through a sound daemon, so using a microphone would be impossible. The question is, how can I solve this problem? Should I use #1 and tell my users that they must not save their skype login names and passwords? Or should I use #2 in combination with a special sound daemon that is able to forward digital input as well? (How?) Thanks, Laszlo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: simple question...how to show packages which depend upon
And ... how to remove a package and all the packages it sucked in ? All I get from pkg_delete that it isnt even installed when I know it is because that was the previous command I just ran !!! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: simple question...how to show packages which depend upon
Graham Bentley írta: And ... how to remove a package and all the packages it sucked in ? All I get from pkg_delete that it isnt even installed when I know it is because that was the previous command I just ran !!! Can you please send us the commands that you have executed? If you used pkg_add -r package name then the name of the package can be a general package name, without version number. This is useful since usually you are not sure what is the latest version, you just want to install it. Here is an example: messias# pkg_add -r mc Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.1-release/Latest/mc.tbz... Done. pkg_add: package 'mc-4.6.1_3' or its older version already installed However, if you add a package that is saved locally, you need to type in its full name (or path): pkg_add mc-4.6.1_3.tbz or something similar. Once you have the package/port installed, you can lookup its full name with pkg_which: messias# pkg_which mc mc-4.6.1_4 When you need to delete a package, you need to specify the full name (including the version number). The reason for this is easy: it is possible to have different versions of the same package installed at the same time. (Well, this is not true for some packages, but it is true for others...) So instead of doing: pkg_delete mc you should use: pkg_delete mc-4.6.1_4 I hope this answers your question. If it does, then probably reading these man pages will help you a LOT: portupgrade(1) pkg_add(1) pkg_deinstall(1) pkg_delete(1) pkg_glob(1) pkg_info(1) pkg_sort(1) pkg_update(1) pkgdb(1) ports_glob(1) portsclean(1) portsdb(1) portversion(1) pkgtools.conf(5) ports(7) Best, Laszlo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
no innodb support in mysql 5.0 port
compiled with default options ( not setting WITHOUT_INNODB ), but when I start the server, I can't create or convert any tables to InnoDB format. I tried various my.cf files ( including my-innodb-heavy-4G.cnf and without any cnf files, show engine innodb status; ERROR 1235 (42000): Cannot call SHOW INNODB STATUS because skip-innodb is defined show engines; | InnoDB | DISABLED | Supports transactions, row-level locking, and foreign keys How do I get InnoDB working ? please help !! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: simple question...how to show packages which depend upon
On Thursday November 30, 2006 at 07:25:32 (AM) Graham Bentley wrote: And ... how to remove a package and all the packages it sucked in ? All I get from pkg_delete that it isnt even installed when I know it is because that was the previous command I just ran !!! Are you sure you are feedin it the correct information? Try this: pkg_info -Ix PROGRAM_NAME (- gives you the exact installed version of PROGRAM_NAME installed.) Now feed that to: pkg_delete -vdfr PROGRAM_NAME That should do it. -- Gerard Mail from '@gmail' is rejected and/or discarded here. Don't waste your time! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Data Recovery
Hi; Is there a data recovery utility anywhere available? Not one that loads into Windoze, but straight into FBSD. I tried the following command to back up my working HD to my new 1/2 teraflop HD: cp -R /* /ad2 and I managed to crash the system (recovered easily) and fry some important files on ad2. TIA, Rachel Yahoo! Music Unlimited Access over 1 million songs. http://music.yahoo.com/unlimited ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Netra T1 105 (sparc64) optimization
On 11/30/06, Andrew Belashov [EMAIL PROTECTED] wrote: Hello, All! Miles Nordin wrote: av == Alexandre Vieira [EMAIL PROTECTED] writes: av kernel/tunables recommendations, I suggest device polling. This will increase the pps you can forward, and optimistically cause the machine to drop packets rather than go into livelock if the pps exceeds its ability. IMHO it should be used on any router. and IIRC it does work with the hme driver. I use device polling(4) patch for hme(4): http://docs.freebsd.org/cgi/getmsg.cgi?fetch=17147+0+archive/2006/freebsd-sparc64/20060423.freebsd-sparc64 -- With Best Regards, Andrew Belashov. Hi, Thanks for the tips! I've added the patch for hme polling and I'm recompiling the kernel. I've striped the kernel a lot and I'm compiling with -pipe -O2 -fno-strict-aliasing. AFAIK there isn't any CPUTYPE available for this cpu. TIA -- Alexandre Vieira - [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: corrupt my ports
Try man pkgdb. Specifically pkgdb -F. On 29/11/06, Albert Shih [EMAIL PROTECTED] wrote: Hi all After my FreeBSD box crash (hardware pb) many of my /var/db/ports/* is corrupt. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Memory addressing ?
In response to Frank Bonnet [EMAIL PROTECTED]: Hello I will receive in few days a new server and I wonder how much memory FreeBSD is able to manage ? The processors (2) are Intel Xeon All versions of FreeBSD can handle huge amounts of memory. If you want to run a 32-bit version with more than 4g, you have to rebuild the kernel with PAE. -- Bill Moran Collaborative Fusion Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
using netcat (nc) to POST data to a web server ...
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Does anyone have an example of this? I've searched google, and am finding nothing other then that it can be done ... Thx ... - Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . [EMAIL PROTECTED] MSN . [EMAIL PROTECTED] Yahoo . yscrappy Skype: hub.orgICQ . 7615664 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFbt0H4QvfyHIvDvMRAvbvAKDmsFSZUl7R03UX0KHzGvKQfTDXsACeIEZ0 e8A9L2ZpqL13dgTcCVMIsGg= =P1MV -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: using netcat (nc) to POST data to a web server ...
On Thursday 30 November 2006 15:30, Marc G. Fournier wrote: Does anyone have an example of this? I've searched google, and am finding nothing other then that it can be done ... Interesting question Marc. Just found this http://www.jmarshall.com/easy/http/#othermethods If you google for (telnet post http) you'll find many similar pages. Nikos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Using Screen
On Thursday 30 November 2006 01:27, Nadow wrote: Content-Type: text/plain; charset=iso-8859-1 On Wednesday 29 November 2006 17:22, Dan Sikorsky wrote: Hey, I have a good question for you guys. Lets say, I started a job on a computer, if you must know, portmanager -u , and then left... but I know its sitting there stuck on a config window waiting for someone to press enter... Even easier, use portmaster. The first thing that do when installs a port is making recursive all the make config windows of the port and dependencies. After you have chosen the options of the last config menu, it will install all the stuff till the end without interruption (except error of course). Portmanager doesn't have a lot of bells and whistles, and it's by far the slowest upgrade tool around. People who use it do so because it's the most thorough tool around. By contrast portmaster uses a fairly minimalist approach. Portmaster is a clear alternative to portupgrade, it's not really a replacement for portmanager. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Xorg: How to change background?
[EMAIL PROTECTED] [EMAIL PROTECTED] writes: Also try installing graphics/xv (xv -root -quit image_file.png) Which also comes with the nifty bggen command... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Data Recovery
cp is not efficient for your need, use RSYNC. this way, the second time you backup, you only copy newer files and don´t crash your box... ;) regards, Rachel Florentine wrote: Hi; Is there a data recovery utility anywhere available? Not one that loads into Windoze, but straight into FBSD. I tried the following command to back up my working HD to my new 1/2 teraflop HD: cp -R /* /ad2 and I managed to crash the system (recovered easily) and fry some important files on ad2. TIA, Rachel Yahoo! Music Unlimited Access over 1 million songs. http://music.yahoo.com/unlimited ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Marcelo Maraboli Rosselott Jefe Area de Redes y Comunicaciones (Network UNIX Systems Engineer) Ingeniero Civil Electronico, CISSP (Electronic Engineer, CISSP) Direccion Central de Servicios Computacionales (DCSC) Universidad Tecnica Federico Santa Mariaphone: +56 32 2654071 Chile. http://www.usm.cl http://elqui.dcsc.utfsm.cl ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Using Screen
On Thursday November 30, 2006 at 09:12:10 (AM) RW wrote: On Thursday 30 November 2006 01:27, Nadow wrote: Content-Type: text/plain; charset=iso-8859-1 On Wednesday 29 November 2006 17:22, Dan Sikorsky wrote: Hey, I have a good question for you guys. Lets say, I started a job on a computer, if you must know, portmanager -u , and then left... but I know its sitting there stuck on a config window waiting for someone to press enter... Even easier, use portmaster. The first thing that do when installs a port is making recursive all the make config windows of the port and dependencies. After you have chosen the options of the last config menu, it will install all the stuff till the end without interruption (except error of course). Portmanager doesn't have a lot of bells and whistles, and it's by far the slowest upgrade tool around. People who use it do so because it's the most thorough tool around. By contrast portmaster uses a fairly minimalist approach. Portmaster is a clear alternative to portupgrade, it's not really a replacement for portmanager. I think I missed something on this thread, but I am still not clean about the 'stuck on config window' thing. Personally, I have preconfigured all of the ports I have installed on my system. Now I just have: /etc/make.com [...] BATCH=yes and everything build just fine. Obviously, you can place the 'BATCH' directive in the environment also. Actually, the only problem I use to experience was with Apsfiler. I wrote the maintainer and I believe that they corrected the problem. Yes, I definitely prefer 'portmanager' over portmaster although that is a nice light weight program. -- Gerard Mail from '@gmail' is rejected and/or discarded here. Don't waste your time! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Data Recovery
I don't think that rsync can cope with hardlinks. Best way to do a backup like this is: tar -clf - / | ( cd /ad2 ; tar -xf - ) The -l flag will stay on the specified filesystem. If you forget this option tar (and any other command, even cp and rsync with their respective option) will copy /ad2 into itself, e.g. /ad2/ad2, which might lead to a kind of recursion. BTW: No, there isn't any tool that might recover from a desaster like the one you specified. Either the files you describe as being fried have either been overwritten with some other content, or changed in any other way. You need a backup to recover from this. ;) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: no innodb support in mysql 5.0 port
[EMAIL PROTECTED] wrote: show engine innodb status; ERROR 1235 (42000): Cannot call SHOW INNODB STATUS because skip-innodb is defined How do I get InnoDB working ? please help !! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Have you tried reading the error message? Hugo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Spam prevention
On Thursday 30 November 2006 02:58, Armin Arh wrote: On Wed, Nov 29, 2006 at 06:53:36PM -0500, Ian Lord wrote: Hi, I would like to setup a mail server with postfix and sendmail... exim + bogofilter doing their job here. I've played around with one of Arnin's pubbox.net account, and it is very good at catching spam without false positives. It should be noted though that he's using bogofilter with some additional OCR handling (details on the pubbox.net site). Without some use of OCR, Bogofilter isn't much good on catching the latest image spams. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Netra T1 105 (sparc64) optimization
Hi, the Netra comes with a 360- or 440- MHz UltraSPARC-IIi, single processor, Superscalar SPARC Version 9 CPU, so you can use --mcpu=ultrasparc --mtune=ultrasparc with gcc. This is for gcc v3.x, gcc v2.x might require --march instead of --mtune. HTH Christian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Ethereal version for FreeBSD 6.2 RC1
___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 32bit jails on 64bit hosts
On Thursday 30 November 2006 10:33, Vlad Galu wrote: Is there any knob in the .mk infrastructure that I can use to achieve $subj? Thanks in advance. build(7) suggests the use of TARGET_ARCH=i386. - Pieter de Goeje ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Ethereal version for FreeBSD 6.2 RC1
Hi all: Is there a recommended version of Ethereal for FreeBSD 6.2 RC1 ? I tried searching in the ports and there don't seems to be any. Searching on ethereal for FreeBSD throws up a few Security Advisories. Thanks in advance. -- thanks Saifi. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Ethereal version for FreeBSD 6.2 RC1
Saifi Khan wrote: ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ill take a stab at it. its called wireshark now! =) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
OpenLDAP crash on write operation with syncprov overlay enabled
Hi list, I'm migration an OpenLDAP server from Debian linux to FreeBSD 6-STABLE. I exported the database from old server with slapcat and impoted at Free without any problems. But when I enable syncprov overlay and do any write operation (ie.: ldapmodify) on the base the OpenLDAP crash with signal 11. I tested with FreeBSD 6-STABLE (cvsuped sources yesterday), FreeBSD 5-STABLE (cvsuped one month ago) with OpenLDAP 2.3 and 2.4 installed through ports and packages, on diferent machines PIII SMP, Semprom UP, Centrino UP, P4 UP. The problem just ocurs when the syncprov overlay is enabled. Trying to debug this I run slapd through gdb: Pink:/usr/local/etc/openldap # gdb /usr/local/libexec/slapd GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type show copying to see the conditions. There is absolutely no warranty for GDB. Type show warranty for details. This GDB was configured as i386-marcel-freebsd...(no debugging symbols found)... (gdb) run -u ldap -g ldap -d 1 Starting program: /usr/local/libexec/slapd -u ldap -g ldap -d 1 (no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...@(#) $OpenLDAP: slapd 2.3.30 (Nov 30 2006 11:44:46) $ .(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...@(#) $OpenLDAP: slapd 2.3.30 (Nov 30 2006 11:44:46) $ Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 3 (LWP 100229)] 0x0807f954 in fe_op_abandon () (gdb) bt #0 0x0807f954 in fe_op_abandon () #1 0x0807f957 in fe_op_abandon () #2 0x0807f957 in fe_op_abandon () #3 0x0807f957 in fe_op_abandon () #4 0x0807f957 in fe_op_abandon () #5 0x0807f957 in fe_op_abandon () #6 0x0807f957 in fe_op_abandon () #7 0x0807f957 in fe_op_abandon () #8 0x0807f957 in fe_op_abandon () #9 0x0807f957 in fe_op_abandon () #10 0x0807f957 in fe_op_abandon () #11 0x0807f957 in fe_op_abandon () #12 0x0807f957 in fe_op_abandon () #13 0x0807f957 in fe_op_abandon () #14 0x0807f957 in fe_op_abandon () #15 0x0807f957 in fe_op_abandon () #16 0x0807f957 in fe_op_abandon () #17 0x0807f957 in fe_op_abandon () #18 0x0807f957 in fe_op_abandon () #19 0x0807f957 in fe_op_abandon () #20 0x0807f957 in fe_op_abandon () #21 0x0807f957 in fe_op_abandon () #22 0x0807f957 in fe_op_abandon () #23 0x0807f957 in fe_op_abandon () #24 0x0807f957 in fe_op_abandon () #25 0x0807f957 in fe_op_abandon () #26 0x0807f957 in fe_op_abandon () #27 0x0807f957 in fe_op_abandon () #28 0x0807f957 in fe_op_abandon () #29406 0x0807f957 in fe_op_abandon () #29407 0x0807f957 in fe_op_abandon () #29408 0x0807f957 in fe_op_abandon () ^ --- This look's like never end. Follow my slapd.conf: include /usr/local/etc/openldap/schema/core.schema include /usr/local/etc/openldap/schema/cosine.schema include /usr/local/etc/openldap/schema/inetorgperson.schema include /usr/local/etc/openldap/schema/nis.schema include /usr/local/etc/openldap/schema/samba.schema loglevel1 8 16 256 512 16384 pidfile /var/run/openldap/slapd.pid argsfile/var/run/openldap/slapd.args modulepath /usr/local/libexec/openldap moduleload back_hdb sizelimit unlimited overlay syncprov syncprov-checkpoint 100 10 syncprov-sessionlog 200 access to dn.base= by self write by * auth access to attrs=userPassword by self write by * auth access to attrs=shadowLastChange by self write by * read access to * by * read by anonymous auth databasehdb suffix dc=company,dc=com rootdn cn=root,dc=company,dc=com rootpw my_secret_password directory /var/db/openldap-data index objectClass eq index cnpres,sub,eq index snpres,sub,eq index uid pres,sub,eq index displayName pres,sub,eq index uidNumber eq index gidNumber eq index memberUID eq index sambaSID eq index sambaPrimaryGroupSID eq index sambaDomainName eq index default sub index entryCSN eq index entryUUID eq I'm very pleased to someone that could help me to figure out where is the problem Best Regards, Alexandre Biancalana
upgrading gnome
freebsd 6.1 xorg 6.9 Hey, I have gnome 2.12 trying to upgrade to 2.16 i tried everything from pkg_add (obviously deleting the old one first) to portmanager to portinstall to port upgrade and building it from the ports tree.. things fail one major problem I was having was gail... but i think I have beaten that because now i get another error, cant remember it at the moment but its irrelevant. I have broken my current gnome installation... when i startx... it will load all my panels, and any app will run fine, but the *desktop* its self is missing, including the background image. If i go into Desktop Background, it will load, but still I cant right click on the desktop, and there are no icons, and no way to add them (they are however still listed in my usr/home/dan/Desktop ) I've managed to break all kinds of things, Realplyer wont work now, because I unistalled my old linux base with portmaster for example. does anybody know of a good way to WIPE gnome, and rebuild it and its Dependant ports from the ground up? I dont want to re-install my freebsd, as Ive worked very hard to get everything from my M-audio sound card, my custom kernel, and giant fat32 drives, to my apache server etc etc etc, im sure you are all in the same boat if you are using freebsd thanks -- Dan Sikorsky *Systems Admin/GoldMine Admin* RegionalHelpWanted.com,Inc. Cupid.com, Inc. 845-471-5200 x220 One Civic Center Plaza, Suite 506 Poughkeepsie, NY 12601 /http://RegionalHelpWanted.com http://Cupid.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Data Recovery
Christian Walther wrote: I don't think that rsync can cope with hardlinks. yes it can. From the man page: -H, --hard-linkspreserve hard links Slower, but it copes. Best way to do a backup like this is: tar -clf - / | ( cd /ad2 ; tar -xf - ) Only if you want to copy every shred of data regardless of whether it changed or not, as was previously noted. --Alex PS Backup gets used to mean at least two different things: 1) A single, separate copy of the data for which rsync is great. Read the manpage as it has lots of configuration potential. 2) Effectively a partial transaction history for the data where you can recover a file as it was, say, a week ago, for which dump and restore are your friends. There's also a tool in the ports which does something similar with rsync and separate trees named, I think, by date, which is great if you have lots of disk space. Or you can use snapshots, and again there is a tool in the ports whose name eludes me. cd /usr/ports make search name=rsync make search name=snapshot if you care. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Ethereal version for FreeBSD 6.2 RC1
From: Saifi Khan Subject: Ethereal version for FreeBSD 6.2 RC1 : Hi all: : : Is there a recommended version of Ethereal for FreeBSD 6.2 RC1 ? : : I tried searching in the ports and there don't seems to be any. : : Searching on ethereal for FreeBSD throws up a few Security Advisories. : : Thanks in advance. : : -- : thanks : Saifi. Try http://www.freebsd.org/cgi/ports.cgi?query=wiresharkstype=all Ethereal is now Wireshark. Best, Jon : ___ : 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: using netcat (nc) to POST data to a web server ...
In the last episode (Nov 30), Marc G. Fournier said: using netcat (nc) to POST data to a web server ... Does anyone have an example of this? I've searched google, and am finding nothing other then that it can be done ... I'd recommend using curl. It has options for sending HTTP POST data in a couple of different formats. With nc, you'll have to fabricate the entire request and pipe it in. Easy enough to determine the format by tcpdumping a browser session, but curl has done the work and lets you do error checking on the response. -- Dan Nelson [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: Data Recovery
On Thu, Nov 30, 2006 at 03:29:39AM -0800, Rachel Florentine wrote: Hi; Is there a data recovery utility anywhere available? Not one that loads into Windoze, but straight into FBSD. I tried the following command to back up my working HD to my new 1/2 teraflop HD: cp -R /* /ad2 and I managed to crash the system (recovered easily) and fry some important files on ad2. That won't really get what you want anyway. It doesn't handle hard links the way you want and I don't really think it will get other file systems mounted in root (/), though I haven't tried that. Also, I think you would need a trailing '/' on ad2 in your command to come even close. How about using dump(8) and restore(8). They handle everything correctly. You can either leave everything in the dump file[s] on your big disk just in case you need it [them] in the event of a failure on you main working disk or build file systems on the big disk and restore everything in to them so the file systems are mountable from the big disk. The first choice probably makes most sense as a backup/recovery method. This is not a ghost type sector-by-sector backup (which is mostly useless) but a file-by-file backup (including all directory structures and links). So, you need to run dump for each filesystem you want to back up. First, create one large slice on ad2 using fdisk. Then create at least one partition in that slice using bsdlabel. Then create filesystems in the partitions using newfs. Then you can write to that disk with regular commands such as cp, tar or dump. Then, presuming one slice (1) and one partition (a), mount that big partition as something - lets say '/stash' eg mkdir /stash mount /dev/ad2s1a /stash Now use dump dump 0af /stash/rootdump / dump 0af /stash/usrdump /usr etc If you create separate file systems to make mountable images of each file system, then mount them as something sensible - say /bakroot and /bakusr Then to use dump/restore, do: cd /bakroot dump 0af - / | restore -r - cd /bakusr dump 0af - /usr | restore -r - This will get you working copies of those two file systems including links - which will still point to the real locations, not the copies, of course. Anyway, regardless of what you do, you must fully create at least one file system on the big disk and them mount it to write to it. You cannot write directly to the unprepared device as ad2. Of course, you could create that partition as above doing fdisk, bsdlabel and newfs and then create a mount point called /ad2 and mount it as such. But, I would shy away from that, just because it can create confusion. I would recommend using mount point names that represent what is to be written there as I have done above. jerry TIA, Rachel __ Yahoo! Music Unlimited Access over 1 million songs. http://music.yahoo.com/unlimited ___ 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: skype on diskless machine
Hi Laszlo, On Thursday 30 November 2006 13:15, Laszlo Nagy wrote: Hello, I have an appserver (6.1-RELEASE-p10) and many diskless clients connected to it. I'm using the diskless clients as X terminals (gdm is running on the appserver). Any user is able to use any terminal, because they run all applications on the appserver. Here is the basic problem: users need to use skype. I have two options: #1 Run skype on the diskless machine. Then it can handle audio I/O correctly, but the users cannot save their login names and passwords. (This option is also good because the diskless machine can kldload linux while the appserver does not need to, e.g. the appserver will be able to run application in native mode only). #2 Run skype on the appserver. Then users can save their skype login information but they are not able to make calls. Well, I could forward the audio output to the client using a sound daemon (e.g. esd -promiscuous -tcp -pubic -port 1500 on the diskless and esddsp -v -s diskless101:1500 skype_bin) but I could not find out how to forward digital input. I see no way to forward digital input through a sound daemon, so using a microphone would be impossible. The question is, how can I solve this problem? Should I use #1 and tell my users that they must not save their skype login names and passwords? Or should I use #2 in combination with a special sound daemon that is able to forward digital input as well? (How?) Why not just run skype on the diskless PC and have the user's home directory mountend over NFS? That way you can have both things you want. -- Daan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Data Recovery
On Thu, Nov 30, 2006 at 03:47:53PM +0100, Christian Walther wrote: I don't think that rsync can cope with hardlinks. Best way to do a backup like this is: tar -clf - / | ( cd /ad2 ; tar -xf - ) The -l flag will stay on the specified filesystem. If you forget this option tar (and any other command, even cp and rsync with their respective option) will copy /ad2 into itself, e.g. /ad2/ad2, which might lead to a kind of recursion. No. Tar isn't good enough. Use dump/restore. It is made for that. jerry BTW: No, there isn't any tool that might recover from a desaster like the one you specified. Either the files you describe as being fried have either been overwritten with some other content, or changed in any other way. You need a backup to recover from this. ;) ___ 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: Netra T1 105 (sparc64) optimization
On 11/30/06, Christian Walther [EMAIL PROTECTED] wrote: Hi, the Netra comes with a 360- or 440- MHz UltraSPARC-IIi, single processor, Superscalar SPARC Version 9 CPU, so you can use --mcpu=ultrasparc --mtune=ultrasparc with gcc. This is for gcc v3.x, gcc v2.x might require --march instead of --mtune. HTH Christian Thanks for the tip, I will use this gcc options. Miles/Andrew polling increased dramaticly the latency for all traffic that passes trough the bridge and reduced the transmission rate also. with polling: rtt min/avg/max/mdev = 1.472/2.005/2.651/0.393 ms without polling: rtt min/avg/max/mdev = 0.642/0.735/1.111/0.134 ms Thanks in advance -- Alexandre Vieira - [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: skype on diskless machine
Why not just run skype on the diskless PC and have the user's home directory mountend over NFS? That way you can have both things you want. I thought about this, but the users are never logged into the diskless machine. (They do not even have a home directory there. The diskless machine has a special rc script that executes X -query address_of_appserver in an infinite loop, so users are not able to access anything on the diskless machine.) You are right, it would be possible to do this with NFS, but first I must write a new service for the diskless clients. That service could be asked by the appserver to mount the ~/.Skype directory of the given user into the home directory of the user who happens to run the X server on the diskless machine, and then start skype. This new service must be called from /etc/Xclients or ~/.xinitrc on the appserver. At that time the username and the address of the diskless machine will be known. I imagine this /etc/Xclients: snip # Allow the diskless machine to display skype on our screen xhost + address_of_the_actual_diskless_machine_used # Ask the diskless machine to mount our .Skype directory and launch sykpe_bin send_skype_start_request address_of_the_actual_diskless_machine_used username # Start the wm exec gnome-session /snip Well, this is the theory. But I would not like to write a new service program if possible. But yes, this would work. Is this the only way? Best, Laszlo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: simple question...how to show packages which depend upon
Graham Bentley writes: And ... how to remove a package and all the packages it sucked in ? You don't want to do this blindly. Example: you install Z, which depends on Y, which depends in X, ..., which depends on Q. What if Q is xorg-server-6.9.0_1? Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
question on batch email sending
I have a standard mailbox with around 40 messages. I want to be able to just send them all to someone, the same person, not as an attachment but as individual emails. I want to do something like; cat /var/mail/frank | someprogram [EMAIL PROTECTED] So that Frank can just get it into his regular inbox. I realize that I could just ask Frank to pop it off the server but then he would have to setup for just one occasion. Is there a way to do what I want? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: question on batch email sending
In response to David Banning [EMAIL PROTECTED]: I have a standard mailbox with around 40 messages. I want to be able to just send them all to someone, the same person, not as an attachment but as individual emails. I want to do something like; cat /var/mail/frank | someprogram [EMAIL PROTECTED] So that Frank can just get it into his regular inbox. I realize that I could just ask Frank to pop it off the server but then he would have to setup for just one occasion. Is there a way to do what I want? fetchmail was designed for this sort of thing. -- Bill Moran Collaborative Fusion Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Problem w/ Zope Port
- Original Message From: HAYASHI Yasushi [EMAIL PROTECTED] Hi, maintainer comes here. Do NOT make clean before make instance, please. make install instance clean? ...or... make install make instance make clean? Also, where do I specify where I want the instance? I saw no opportunity to do that, just username and password. By the way, what kind of document will be necessary? After make install stuff prints to screen advising one what to do next. That would be a good place, I think ;) TIA, Rachel Check out the all-new Yahoo! Mail beta - Fire up a more powerful email and get things done faster. Want to start your own business? Learn how on Yahoo! Small Business. http://smallbusiness.yahoo.com/r-index ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: question on batch email sending
David Banning wrote: I have a standard mailbox with around 40 messages. I want to be able to just send them all to someone, the same person, not as an attachment but as individual emails. I want to do something like; cat /var/mail/frank | someprogram [EMAIL PROTECTED] So that Frank can just get it into his regular inbox. I realize that I could just ask Frank to pop it off the server but then he would have to setup for just one occasion. Is there a way to do what I want? Take a look at formail, which comes as part of procmail. It lets you iterate through messages in an mbox-formatted mailbox in various ways. In fact, here's a thread about it: http://www.mhonarc.org/archive/html/procmail/2002-06/msg00019.html Have fun! Howie ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Memory addressing ?
On 2006/11/29 22:30, Frank Bonnet seems to have typed: Hello I will receive in few days a new server and I wonder how much memory FreeBSD is able to manage ? The processors (2) are Intel Xeon Any infos/links welcome Thank Assuming that the Xeon processors are the newer 64bit capable versions (I really wish they would give the new Xeons a new name to differentiate them from the older ones), you could be able to run the AMD64 version of FreeBSD which has been tested up to 8GB, but should be able to support multiple terabytes. http://www.freebsd.org/releases/6.1R/hardware-amd64.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: question on batch email sending
On Thu, Nov 30, 2006 at 12:05:12PM -0500, David Banning wrote: I have a standard mailbox with around 40 messages. I want to be able to just send them all to someone, the same person, not as an attachment but as individual emails. I want to do something like; cat /var/mail/frank | someprogram [EMAIL PROTECTED] So that Frank can just get it into his regular inbox. I realize that I could just ask Frank to pop it off the server but then he would have to setup for just one occasion. Is there a way to do what I want? Try going in to MUTT, tagging them att (;t) and then 'bouncing' then to the other address. That should take only a few seconds effort if you have MUTT installed and a few minutes if you need to install it. jerry ___ 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: question on batch email sending
On Nov 30, 2006, at 10:05 AM, David Banning wrote: I have a standard mailbox with around 40 messages. I want to be able to just send them all to someone, the same person, not as an attachment but as individual emails. I want to do something like; cat /var/mail/frank | someprogram [EMAIL PROTECTED] So that Frank can just get it into his regular inbox. I realize that I could just ask Frank to pop it off the server but then he would have to setup for just one occasion. Is there a way to do what I want? If you have procmail installed cat /var/mail/frank | formail -s sendmail [EMAIL PROTECTED] Dan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: question on batch email sending
On Thursday 30 November 2006 11:05, David Banning wrote: I have a standard mailbox with around 40 messages. I want to be able to just send them all to someone, the same person, not as an attachment but as individual emails. I want to do something like; cat /var/mail/frank | someprogram [EMAIL PROTECTED] So that Frank can just get it into his regular inbox. I realize that I could just ask Frank to pop it off the server but then he would have to setup for just one occasion. Is there a way to do what I want? ___ If you are using sendmail you might just alias the mailbox to the user. That way the messages get forwarded to the user upon arrival, rather than on a schedule or with manual intervention. lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: freebsd-questions Digest, Vol 157, Issue 29
Message: 12 Date: Thu, 30 Nov 2006 14:12:10 + From: RW [EMAIL PROTECTED] Subject: Re: Using Screen To: freebsd-questions@freebsd.org Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=iso-8859-1 On Thursday 30 November 2006 01:27, Nadow wrote: Content-Type: text/plain; charset=iso-8859-1 On Wednesday 29 November 2006 17:22, Dan Sikorsky wrote: Hey, I have a good question for you guys. Lets say, I started a job on a computer, if you must know, portmanager -u , and then left... but I know its sitting there stuck on a config window waiting for someone to press enter... Even easier, use portmaster. The first thing that do when installs a port is making recursive all the make config windows of the port and dependencies. After you have chosen the options of the last config menu, it will install all the stuff till the end without interruption (except error of course). Portmanager doesn't have a lot of bells and whistles, and it's by far the slowest upgrade tool around. People who use it do so because it's the most thorough tool around. By contrast portmaster uses a fairly minimalist approach. Portmaster is a clear alternative to portupgrade, it's not really a replacement for portmanager. Well, portmanager is very good for emergency cases, when, for example, your pkgdb is a complete mess and other tools like portupgrade it won't work. In these moments I use portmanager -u which will check all the packages installed and their dependencies and reinstall what has been deleted or corrupted. Why it can do this? Because portmanager doesn't update the pkgdb before o after a package installationSo I use it for things that are broken, but for daily use y too slow IMO. Regards ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: simple question...how to show packages which depend upon
Example: you install Z, which depends on Y, which depends in X, ..., which depends on Q. What if Q is xorg-server-6.9.0_1? I installed 'feh' thinking wrongly it was a console app and ended up getting x, xlibs etc etc when all I wanted was a console app to view jpgs in elinks. So, the above is exactly what I wanted. btw Does any one know a good console app to view jpgs ? seejpeg just flashes the screen several time and dies. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
MPD vs Freebsd Internal PPPoE support?
Hi people. I have been using pfsense, i see that they use mpd port to handle PPPoE connections. Now, my current internet service is ADSL, my doubt is: Right now, is better to use freebsd internal PPPoE module or we got better support with mpd port? In your experienced. Just that, thanks all for your time!!! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: degraded RAID performance after OS upgrade, and drives added.
On Nov 29, 2006, at 6:18 PM, Derrick MacPherson wrote: We updated to 6.1 this weekend and added 3 300gb drives to the external raid cabinet, they were to go on a seprate controller but the server happens to have a few other boxes on top making it impossible at that time, so we put the 3x300 (RAID5) , upgraded the OS and performance is very poor. When I run systat I see upward of 300 tps on the problematic array (da2) and under systat - vmstat : It's normal for RAID-5 to perform worse than a single drive-- and sometimes it performs much worse, as in nearly an order of magnitude slower, for the case of very small writes. If you value performance, choose another RAID level like RAID-0, RAID-1, or RAID-10. -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: MPD vs Freebsd Internal PPPoE support?
On 11/30/06, perikillo [EMAIL PROTECTED] wrote: Now, my current internet service is ADSL, my doubt is: Right now, is better to use freebsd internal PPPoE module or we got better support with mpd port? Coincidentally, mpd uses FreeBSD's internal PPPoE netgraph module. Both ppp(8) (which in 7.x also seems to use ng_pppoe, and I don't remember if it does in 6.x) and mpd do a great job. You can try whichever you want to learn better, and their configs are somewhat alike. Good luck! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
stop a freebsd server from responding to pinging?
1. How do I stop others from port scanning a server? 2. is stopping the response to pinging enough? 3. how to do I stop the server from responding to pinging? Running FreeBSD 4.2 and 6.1. I changed the /etc/rc.network file to NO for broadcast ping responses, and this did not work (still responding to ping) when I rebooted: case ${icmp_bmcastecho} in [Yy][Ee][Ss]) echo -n ' broadcast ping responses=NO' sysctl net.inet.icmp.bmcastecho=1 /dev/null ;; Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail beta. http://new.mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD 5.5 port vlc-devel core dump
Dear Mailing List, Sorry for this rather lengthy post. I am not sure if this is the correct place to ask this question. I have posted the same question to the vlc forum with the hope that someone will help. If this isn't the right place to post, please let me know. If anyone has a clue, pointer or idea on how to resolve the issue, please let me and the mailing list know. Thank You In Advance. I have a coredump that is reproducable on FreeBSD 5.5 STABLE with vlc-devel 0.9.0-svn Grishenko. All ports updated. Looks to be a pthread issue? Vlc links to following: tinca# ldd /usr/local/bin/vlc /usr/local/bin/vlc: libiconv.so.3 = /usr/local/lib/libiconv.so.3 (0x28077000) libvlc.so.0 = /usr/local/lib/libvlc.so.0 (0x28164000) libhal.so.1 = /usr/local/lib/libhal.so.1 (0x2823) libintl.so.6 = /usr/local/lib/libintl.so.6 (0x28238000) libdbus-1.so.3 = /usr/local/lib/libdbus-1.so.3 (0x28241000) libm.so.3 = /lib/libm.so.3 (0x28278000) libpthread.so.1 = /usr/lib/libpthread.so.1 (0x28293000) libc.so.5 = /lib/libc.so.5 (0x282b7000) libstdc++.so.4 = /usr/lib/libstdc++.so.4 (0x28392000) playing a playlist with the following command: vlc playlist.m3u --sout #transcode{acodec=mpga,ab=192}:std{access=udp,mux=ts,dst=239.255.255.255} where the playlist looks like: filenamea.ogm filenameb.ogm ... filenamez.ogm Gives a vlc.core after playing a few filenames. The gdb backtrack (and the gdb init) looks like this: tinca# gdb /usr/local/bin/vlc vlc.core GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type show copying to see the conditions. There is absolutely no warranty for GDB. Type show warranty for details. This GDB was configured as i386-marcel-freebsd...(no debugging symbols found)... Core was generated by `vlc'. Program terminated with signal 11, Segmentation fault. Reading symbols from /usr/local/lib/libiconv.so.3...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libiconv.so.3 Reading symbols from /usr/local/lib/libvlc.so.0...done. Loaded symbols for /usr/local/lib/libvlc.so.0 Reading symbols from /usr/local/lib/libhal.so.1...done. Loaded symbols for /usr/local/lib/libhal.so.1 Reading symbols from /usr/local/lib/libintl.so.6...done. Loaded symbols for /usr/local/lib/libintl.so.6 Reading symbols from /usr/local/lib/libdbus-1.so.3...done. Loaded symbols for /usr/local/lib/libdbus-1.so.3 Reading symbols from /lib/libm.so.3...done. Loaded symbols for /lib/libm.so.3 Reading symbols from /usr/lib/libpthread.so.1...done. Loaded symbols for /usr/lib/libpthread.so.1 Reading symbols from /lib/libc.so.5...done. Loaded symbols for /lib/libc.so.5 Reading symbols from /usr/lib/libstdc++.so.4...done. Loaded symbols for /usr/lib/libstdc++.so.4 Reading symbols from /usr/local/lib/vlc/access/libcddax_plugin.so...done. Loaded symbols for /usr/local/lib/vlc/access/libcddax_plugin.so Reading symbols from /usr/local/lib/libcddb.so.3...done. Loaded symbols for /usr/local/lib/libcddb.so.3 Reading symbols from /usr/local/lib/libcdio_paranoia.so.0...done. Loaded symbols for /usr/local/lib/libcdio_paranoia.so.0 Reading symbols from /usr/local/lib/libcdio_cdda.so.0...done. Loaded symbols for /usr/local/lib/libcdio_cdda.so.0 Reading symbols from /usr/local/lib/libcdio.so.7...done. Loaded symbols for /usr/local/lib/libcdio.so.7 Reading symbols from /lib/libcam.so.2...done. Loaded symbols for /lib/libcam.so.2 Reading symbols from /lib/libsbuf.so.2...done. Loaded symbols for /lib/libsbuf.so.2 Reading symbols from /usr/local/lib/vlc/audio_output/liboss_plugin.so...done. Loaded symbols for /usr/local/lib/vlc/audio_output/liboss_plugin.so Reading symbols from /usr/local/lib/vlc/misc/libmemcpymmxext_plugin.so...done. Loaded symbols for /usr/local/lib/vlc/misc/libmemcpymmxext_plugin.so Reading symbols from /usr/local/lib/vlc/stream_out/libstream_out_transcode_plugin.so...done. Loaded symbols for /usr/local/lib/vlc/stream_out/libstream_out_transcode_plugin.so Reading symbols from /usr/local/lib/vlc/stream_out/libstream_out_standard_plugin.so...done. Loaded symbols for /usr/local/lib/vlc/stream_out/libstream_out_standard_plugin.so Reading symbols from /usr/local/lib/vlc/access_output/libaccess_output_udp_plugin.so...done. Loaded symbols for /usr/local/lib/vlc/access_output/libaccess_output_udp_plugin.so Reading symbols from /usr/local/lib/vlc/mux/libmux_ts_plugin.so...done. Loaded symbols for /usr/local/lib/vlc/mux/libmux_ts_plugin.so Reading symbols from /usr/local/lib/libdvbpsi.so.4...done. Loaded symbols for /usr/local/lib/libdvbpsi.so.4 Reading symbols from /usr/local/lib/vlc/access/libaccess_file_plugin.so...done. Loaded symbols for /usr/local/lib/vlc/access/libaccess_file_plugin.so Reading symbols from /usr/local/lib/vlc/demux/libplaylist_plugin.so...done. Loaded symbols for
Mail server question
In updating FreeBSD to a 5.5 resting place on the way to 6.2, sendmail went from 8.12.11 -- 8.13.6. Three users could not connect without deleting or tinkering with their client profile to force the client side to reenter the password. One was only fixed by setting up a new account. the three users from from an office with about 40 others that worked fine. All the affected users were using POP3, two thunderbirds, and an Outlook Express. The troublesome use was POP3 with Eudora. No one else noticed [which was sorta what I was hoping for :) ] I hope this is not too off topic, but I know of no other place to pose the question with any hope for an answer. Thank for any thoughts. I think I can rule out local firewalls because the office admin is very savy and would have told me. I ruled that out in the one I worked on. That one literally went from old account fails to new one works with nothing in between. Doug Denault ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: stop a freebsd server from responding to pinging?
In response to Wasp King [EMAIL PROTECTED]: 1. How do I stop others from port scanning a server? Drive to their house and smash their computer. 2. is stopping the response to pinging enough? No. In fact, not responding to ping is a bad idea. Disabling ping responses violates certain RFCs and is a tactic taken by sysadmins who should know better. Additionally, a determined scanner won't care whether you respond to ping or not, so it doesn't even gain you anything. nmap, probably the most popular scanner out there, has an option to scan without pinging, and even _recommends_ turning that on if you try to ping and get no responses. 3. how to do I stop the server from responding to pinging? You can always use pf or ipfw, if you _really_ want to go down that road. Running FreeBSD 4.2 and 6.1. I changed the /etc/rc.network file to NO for broadcast ping responses, and this did not work (still responding to ping) when I rebooted: case ${icmp_bmcastecho} in [Yy][Ee][Ss]) echo -n ' broadcast ping responses=NO' sysctl net.inet.icmp.bmcastecho=1 /dev/null That just stops it from responding to ping requests destine for the broadcast address, which is a topic of some debate. It will still respond to ping requests sent directly to it. Anyway, the question that you didn't ask is how do I secure my system from network attacks. The QD answer is: 1) only run network services that you really need 2) ensure those services are properly secured If you do those two, who cares if you get portscanned? -- Bill Moran Collaborative Fusion Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: stop a freebsd server from responding to pinging?
On Nov 30, 2006, at 10:55 AM, Wasp King wrote: 1. How do I stop others from port scanning a server? Marcus Ranum suggests using wirecutters on the ethernet cable. If the server is internet-reachable, then it can be port-scanned. Less drastic measures than removing it from the network entirely would including configuring a firewall to block all ports except those absolutely required for the necessary functions which the machine needs to perform, and hardening the OS to reduce the potential exposure. 2. is stopping the response to pinging enough? No. 3. how to do I stop the server from responding to pinging? Use a firewall like ipfw or ipf to block ICMP traffic types 0 8: ipfw add 1 deny icmp from any to any icmptype 0,8 -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
upgrading gnome
Hi Dan, have you looked at /usr/ports/UPDATING after you have updated your ports tree? I had a lot of problems with this too because I didn't read that file. However, this info helped me (from /usr/ports/UPDATING): 20061014: AFFECTS: All GTK+2 and GNOME users AUTHOR: [EMAIL PROTECTED] GNOME has been updated to 2.16. All GTK+2 and GNOME components have been moved from X11BASE (/usr/X11R6) to LOCALBASE (/usr/local). To upgrade your GNOME desktop or/and other applications you will need to use either sysutils/portupgrade or sysutils/portmaster. To use portmaster, make sure you have least 1.9 version to have the upgrade succeed. Portupgrade users: pkgdb -Ff portupgrade -rf pkg-config\* Brgds Dino Forwarded Message From: Dan Sikorsky [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Date: Thu, 30 Nov 2006 10:30:10 -0500 Subject:upgrading gnome Plain Text Attachment [ Scan and Save to Computer | Save to Yahoo! Briefcase ] freebsd 6.1 xorg 6.9 Hey, I have gnome 2.12 trying to upgrade to 2.16 i tried everything from pkg_add (obviously deleting the old one first) to portmanager to portinstall to port upgrade and building it from the ports tree.. things fail one major problem I was having was gail... but i think I have beaten that because now i get another error, cant remember it at the moment but its irrelevant. I have broken my current gnome installation... when i startx... it will load all my panels, and any app will run fine, but the *desktop* its self is missing, including the background image. If i go into Desktop Background, it will load, but still I cant right click on the desktop, and there are no icons, and no way to add them (they are however still listed in my usr/home/dan/Desktop ) I've managed to break all kinds of things, Realplyer wont work now, because I unistalled my old linux base with portmaster for example. does anybody know of a good way to WIPE gnome, and rebuild it and its Dependant ports from the ground up? I dont want to re-install my freebsd, as Ive worked very hard to get everything from my M-audio sound card, my custom kernel, and giant fat32 drives, to my apache server etc etc etc, im sure you are all in the same boat if you are using freebsd thanks -- Dan Sikorsky *Systems Admin/GoldMine Admin* RegionalHelpWanted.com,Inc. Cupid.com, Inc. 845-471-5200 x220 One Civic Center Plaza, Suite 506 Poughkeepsie, NY 12601 /http://RegionalHelpWanted.com http://Cupid.com/ Cheap talk? Check out Yahoo! Messenger's low PC-to-Phone call rates. http://voice.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
NTPD not keeping time
Hi folks, Having an issue with ntpd not keeping the correct time. I first ran ntpdate from /etc/rc.d/ntpdate and that set the date and time. Then I ran /etc/rc.d/ntpd and that started up fine. The followind day I find that the system still thinks it is the previous day and such. I thought the purpose of ntp was to keep the time correct, why would it be off? Here is my ntp.conf. logconfig =syncstatus +sysevents logfile /var/log/ntp.log server time-a.nist.gov prefer iburst server utcnist.colorado.edu iburst server lerc-dns.lerc.nasa.gov iburst driftfile /var/db/ntp.drift Contents of ntp.drift 0.000 ntp.log 29 Nov 23:08:39 ntpd[18856]: frequency initialized 0.000 PPM from /var/db/ntp.drift 29 Nov 23:08:39 ntpd[18856]: system event 'event_restart' (0x01) status 'sync_alarm, sync_unspec, 1 event, event_unspec' (0xc010) ntpd.log 29 Nov 23:08:39 ntpd[18856]: logging to file /var/log/ntpd.log 29 Nov 23:08:39 ntpd[18856]: ntpd 4.2.0-a Mon Oct 30 10:00:24 PST 2006 (1) 29 Nov 23:08:39 ntpd[18856]: precision = 1.955 usec 29 Nov 23:08:39 ntpd[18856]: kernel time sync status 2040 Want to start your own business? Learn how on Yahoo! Small Business. http://smallbusiness.yahoo.com/r-index ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mail server question
On Nov 30, 2006, at 11:02 AM, doug wrote: In updating FreeBSD to a 5.5 resting place on the way to 6.2, sendmail went from 8.12.11 -- 8.13.6. Three users could not connect without deleting or tinkering with their client profile to force the client side to reenter the password. One was only fixed by setting up a new account. the three users from from an office with about 40 others that worked fine. All the affected users were using POP3, two thunderbirds, and an Outlook Express. The troublesome use was POP3 with Eudora. No one else noticed [which was sorta what I was hoping for :) ] Are you talking about them having problems reading mail, or sending mail? If it's the former, the change to sendmail is not relevant, as reading mail is handled by your POP3 daemon. Check your mailserver logfiles for more information, and ask more questions here if you don't find anything obvious there. Of course, you'll need to quote parts of these log files or provide client-side error messages if you want us to have enough information to provide more specific advice. -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: stop a freebsd server from responding to pinging?
On Thursday 30 November 2006 12:55, Wasp King wrote: 1. How do I stop others from port scanning a server? 2. is stopping the response to pinging enough? 3. how to do I stop the server from responding to pinging? Running FreeBSD 4.2 and 6.1. I changed the /etc/rc.network file to NO for broadcast ping responses, and this did not work (still responding to ping) when I rebooted: case ${icmp_bmcastecho} in [Yy][Ee][Ss]) echo -n ' broadcast ping responses=NO' sysctl net.inet.icmp.bmcastecho=1 /dev/null Wasp, Check out /usr/ports/security/portsentry to reject portscan attempts. By default it uses /etc/hosts.deny, which is deprecated. But you can configure it to run a command (KILL_ROUTE in portsentry.conf) to do just about anything you want. My KILL_ROUTE command is a perl script that sends syslog entries to /var/log/auth.log, which are intercepted by /usr/ports/security/sshit to only temporarily block an offending ip using ipfw. It also sends an email notification at the time of the attempt, so I can be sure to keep an eye on the trouble-maker. BTW: I think to completely block ping/traceroute you would add an ipfw rule like: ipfw add drop icmp from any to any in via $eternal_nic But that may introduce complications I'm unaware of ... lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mail server question
On Thu, 30 Nov 2006, Chuck Swiger wrote: On Nov 30, 2006, at 11:02 AM, doug wrote: In updating FreeBSD to a 5.5 resting place on the way to 6.2, sendmail went from 8.12.11 -- 8.13.6. Three users could not connect without deleting or tinkering with their client profile to force the client side to reenter the password. One was only fixed by setting up a new account. the three users from from an office with about 40 others that worked fine. All the affected users were using POP3, two thunderbirds, and an Outlook Express. The troublesome use was POP3 with Eudora. No one else noticed [which was sorta what I was hoping for :) ] Are you talking about them having problems reading mail, or sending mail? If it's the former, the change to sendmail is not relevant, as reading mail is handled by your POP3 daemon. Check your mailserver logfiles for more information, and ask more questions here if you don't find anything obvious there. Of course, you'll need to quote parts of these log files or provide client-side error messages if you want us to have enough information to provide more specific advice. -- -Chuck Ah - yes reading, silly of me. We were are are still using the Univ of Washington daemon. imap-uw-2001a,1 == imap-uw-2004g_1,1 _ Douglas Denault http://www.safeport.com [EMAIL PROTECTED] Voice: 301-469-8766 Fax: 301-469-0601 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NTPD not keeping time
On Nov 30, 2006, at 11:16 AM, Kris Anderson wrote: I first ran ntpdate from /etc/rc.d/ntpdate and that set the date and time. Good. That should have gotten your clock reasonably sync'ed. Then I ran /etc/rc.d/ntpd and that started up fine. The followind day I find that the system still thinks it is the previous day and such. I thought the purpose of ntp was to keep the time correct, why would it be off? NTPd does a good job of keeping the clock synced if properly configured, so there is likely to be something wrong with your specific circumstances. What does ntpq -p show? -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 5.5 port vlc-devel core dump
On Thu, Nov 30, 2006 at 08:02:18PM +0100, Roger Olofsson wrote: Dear Mailing List, Sorry for this rather lengthy post. I am not sure if this is the correct place to ask this question. I have posted the same question to the vlc forum with the hope that someone will help. If this isn't the right place to post, please let me know. If anyone has a clue, pointer or idea on how to resolve the issue, please let me and the mailing list know. Thank You In Advance. I have a coredump that is reproducable on FreeBSD 5.5 STABLE with vlc-devel 0.9.0-svn Grishenko. All ports updated. Looks to be a pthread issue? vlc is very unstable for me on amd64 because of thread problems. It looks to be bugs in their code, so you should report the problem ot the vlc authors. Kris pgpEf14SqjMtO.pgp Description: PGP signature
RE: degraded RAID performance after OS upgrade, and drives added.
That seems like a pretty crazy drop in performance, more than one would expect. The machine is busy but not busy enough to warrant this.. Imo.. Is there a way to test to confirm? -Original Message- From: Chuck Swiger [EMAIL PROTECTED] To: Derrick MacPherson [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Sent: 11/30/06 10:39 Subject: Re: degraded RAID performance after OS upgrade, and drives added. On Nov 29, 2006, at 6:18 PM, Derrick MacPherson wrote: We updated to 6.1 this weekend and added 3 300gb drives to the external raid cabinet, they were to go on a seprate controller but the server happens to have a few other boxes on top making it impossible at that time, so we put the 3x300 (RAID5) , upgraded the OS and performance is very poor. When I run systat I see upward of 300 tps on the problematic array (da2) and under systat - vmstat : It's normal for RAID-5 to perform worse than a single drive-- and sometimes it performs much worse, as in nearly an order of magnitude slower, for the case of very small writes. If you value performance, choose another RAID level like RAID-0, RAID-1, or RAID-10. -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: stop a freebsd server from responding to pinging?
Chuck Swiger wrote: On Nov 30, 2006, at 10:55 AM, Wasp King wrote: 1. How do I stop others from port scanning a server? Marcus Ranum suggests using wirecutters on the ethernet cable. If the server is internet-reachable, then it can be port-scanned. Considering that many systems these days have 802.11 hardware, I'd also suggest applying wirecutters to the power cable. Colin Percival ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: degraded RAID performance after OS upgrade, and drives added.
On Nov 30, 2006, at 11:40 AM, Derrick MacPherson wrote: That seems like a pretty crazy drop in performance, more than one would expect. The machine is busy but not busy enough to warrant this.. Imo.. Is there a way to test to confirm? Using dd is a trivial benchmark, and not especially precise but good enough to give rough answers; otherwise, there are lots of I/O benchmarks in ports like iozone or even diskinfo -t. Try using different block sizes while reading and writing with dd, and you'll probably find some useful info. While it is likely that you can adjust the RAID-5 stripe size, change the write-caching from write-thru to write-back (if your RAID has a battery, anyway, otherwise this is dangerous), etc, using a 3-disk RAID-5 volume is just not a great idea-- RAID-5 is happier with more drives than the minimum of 3 to get better parallelism and reduce the overhead for parity info. -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: stop a freebsd server from responding to pinging?
On Nov 30, 2006, at 11:54 AM, Colin Percival wrote: Chuck Swiger wrote: On Nov 30, 2006, at 10:55 AM, Wasp King wrote: 1. How do I stop others from port scanning a server? Marcus Ranum suggests using wirecutters on the ethernet cable. If the server is internet-reachable, then it can be port-scanned. Considering that many systems these days have 802.11 hardware, I'd also suggest applying wirecutters to the power cable. That's a shocking suggestion. (Literally-- one might do well to unplug the machine first, in which case cutting the power cable becomes superfluous. :-) -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: using netcat (nc) to POST data to a web server ...
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 - --On Thursday, November 30, 2006 10:08:33 -0600 Dan Nelson [EMAIL PROTECTED] wrote: In the last episode (Nov 30), Marc G. Fournier said: using netcat (nc) to POST data to a web server ... Does anyone have an example of this? I've searched google, and am finding nothing other then that it can be done ... I'd recommend using curl. It has options for sending HTTP POST data in a couple of different formats. With nc, you'll have to fabricate the entire request and pipe it in. Easy enough to determine the format by tcpdumping a browser session, but curl has done the work and lets you do error checking on the response. Availability, mostly :( nc seems to be part of the base OS, while curl is an a port ... I'm trying to find a way to use POST to send the bsdstats data out, insted of GET ... Thanks though ... - Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . [EMAIL PROTECTED] MSN . [EMAIL PROTECTED] Yahoo . yscrappy Skype: hub.orgICQ . 7615664 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFbzkI4QvfyHIvDvMRAiP4AKDLW9gP4gxQ4HwLoho0l2zEpo+AtgCdGtNP oYCDi83TRONyHfS8NmCT6mo= =StiC -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Netra T1 105 (sparc64) optimization
On 11/30/06, Miles Nordin [EMAIL PROTECTED] wrote: av == Alexandre Vieira [EMAIL PROTECTED] writes: av polling increased dramaticly the latency for all traffic that av passes trough the bridge and reduced the transmission rate av also. That's interesting. What do you mean by transmission rate? Are you seeing dropped packets? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-sparc64 To unsubscribe, send any mail to [EMAIL PROTECTED] No, it just doesn't transfer as many as it does without polling. Without polling it transfers like 8MB/s, with polling it does less than this and there is twice the latency. -- Alexandre Vieira - [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: NTPD not keeping time
--- Chuck Swiger [EMAIL PROTECTED] wrote: On Nov 30, 2006, at 11:16 AM, Kris Anderson wrote: I first ran ntpdate from /etc/rc.d/ntpdate and that set the date and time. Good. That should have gotten your clock reasonably sync'ed. Then I ran /etc/rc.d/ntpd and that started up fine. The followind day I find that the system still thinks it is the previous day and such. I thought the purpose of ntp was to keep the time correct, why would it be off? NTPd does a good job of keeping the clock synced if properly configured, so there is likely to be something wrong with your specific circumstances. What does ntpq -p show? -- -Chuck Here's the output from ntpq. webdev# ntpq -p remote refid st t when poll reach delay offset jitter == time-a.nist.gov .ACTS. 1 u 485 1024 377 78.454 4307608 923174. india.colorado. .ACTS. 1 u 491 1024 377 22.918 4307064 922326. lerc-dns.grc.na .INIT. 16 u- 10240 0.0000.000 4000.00 Want to start your own business? Learn how on Yahoo! Small Business. http://smallbusiness.yahoo.com/r-index ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
dump/restore question
If I have built a freebsd system to my liking and want to be able to reinstall fbsd to my pre-dump state (assuming the same slice configuration). I ran dump -L -0f - / dump -L -0f - /usr dump -L -0f - /var dump -L -0f - /tmp and save these files remotely. Could I then expect to reinstall fbsd and restore these dump files and have the same state of the system when I dumped? including all ports and all? kimberly __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.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: using netcat (nc) to POST data to a web server ...
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 - --On Thursday, November 30, 2006 15:58:24 +0200 Nikos Vassiliadis [EMAIL PROTECTED] wrote: On Thursday 30 November 2006 15:30, Marc G. Fournier wrote: Does anyone have an example of this? I've searched google, and am finding nothing other then that it can be done ... Interesting question Marc. Just found this http://www.jmarshall.com/easy/http/#othermethods If you google for (telnet post http) you'll find many similar pages. Perfect, thank you ... didn't think to search for telnet :( - Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . [EMAIL PROTECTED] MSN . [EMAIL PROTECTED] Yahoo . yscrappy Skype: hub.orgICQ . 7615664 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFbz284QvfyHIvDvMRAmRZAKCsaFTEwaX37bRo4w7Ihx4YBjs/9gCdGmUt BqWxBznTsO3Q8RDS0/I6yCs= =nviy -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: MPD vs Freebsd Internal PPPoE support?
On 11/30/06, Andrew Pantyukhin [EMAIL PROTECTED] wrote: On 11/30/06, perikillo [EMAIL PROTECTED] wrote: Now, my current internet service is ADSL, my doubt is: Right now, is better to use freebsd internal PPPoE module or we got better support with mpd port? Coincidentally, mpd uses FreeBSD's internal PPPoE netgraph module. Both ppp(8) (which in 7.x also seems to use ng_pppoe, and I don't remember if it does in 6.x) and mpd do a great job. You can try whichever you want to learn better, and their configs are somewhat alike. Good luck! I will try that port, thanks Andrew !!! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NTPD not keeping time
On Nov 30, 2006, at 12:16 PM, Kris Anderson wrote: Here's the output from ntpq. webdev# ntpq -p remote refid st t when poll reach delay offset jitter == time-a.nist.gov .ACTS. 1 u 485 1024 377 78.454 4307608 923174. india.colorado. .ACTS. 1 u 491 1024 377 22.918 4307064 922326. lerc-dns.grc.na .INIT. 16 u- 10240 0.0000.000 4000.00 Your clock is off by a little over an hour; while ntpd can correct very large offsets, doing so takes a long time. Kill ntpd, re-run ntpdate -b, double-check that your clock is sane, and then re-start ntpd. You should also note that your third ntp server is not answering queries, so you should try finding some other ntp server to use. Are you providing time syncronization from this machine to other hosts, or are you only running as a standalone client? If you are not providing time sync to a large subnet, please consider using stratum-2 servers or the NTP pool, ie, pool.ntp.org, or more specific regional parts, such as 0.us.pool.ntp.org, 1.us.pool.ntp.org-- this is assuming from your IP that you are located in the US, otherwise choose the appropriate country code for where-ever you are. -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: dump/restore question
Kimberly B wrote: If I have built a freebsd system to my liking and want to be able to reinstall fbsd to my pre-dump state (assuming the same slice configuration). I ran dump -L -0f - / dump -L -0f - /usr dump -L -0f - /var dump -L -0f - /tmp and save these files remotely. Could I then expect to reinstall fbsd and restore these dump files and have the same state of the system when I dumped? including all ports and all? kimberly Yes. Ymmv. Kevin Kinsey ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
BTX Loader Error / Help
Ugh this is bad... I have this system functioning as a fileserver which was working for months without a reboot. Some coworkers complained of lag and after a reboot it will not start up and I am continuously getting BTX halted errors. I tried loading off an FBSD disk but that would incur the same problem. Ideas? BTX Loader 1.00 BTX version is 1.01 Consoles: internal video/keyboard BIOS CD is cd0 BIOS drive C: is disk0 BIOS drive d: is disk1 BIOS drive e: is disk2 etc... BTX halted ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NTPD not keeping time
On 2006/11/30 11:16, Kris Anderson seems to have typed: Here's the output from ntpq. webdev# ntpq -p remote refid st t when poll reach delay offset jitter == time-a.nist.gov .ACTS. 1 u 485 1024 377 78.454 4307608 923174. india.colorado. .ACTS. 1 u 491 1024 377 22.918 4307064 922326. lerc-dns.grc.na .INIT. 16 u- 10240 0.0000.000 4000.00 I take it this system was shutdown overnight? It looks like ntpd hasn't been running long at this point. Try starting ntpd with the -g flag On 2006/11/30 10:16, Kris Anderson seems to have typed: server time-a.nist.gov prefer iburst server utcnist.colorado.edu iburst server lerc-dns.lerc.nasa.gov iburst You might also want to consider using the pool instead of all stratum 1 servers, for most the pool is more than accurate enough, so: server 0.pool.ntp.org server 1.pool.ntp.org server 2.pool.ntp.org Unless you really need to be using statum 1 servers... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NTPD not keeping time
On 2006/11/30 11:48, Peter A. Giessel seems to have typed: On 2006/11/30 11:16, Kris Anderson seems to have typed: Here's the output from ntpq. webdev# ntpq -p remote refid st t when poll reach delay offset jitter == time-a.nist.gov .ACTS. 1 u 485 1024 377 78.454 4307608 923174. india.colorado. .ACTS. 1 u 491 1024 377 22.918 4307064 922326. lerc-dns.grc.na .INIT. 16 u- 102400.0000.000 4000.00 I take it this system was shutdown overnight? It looks like ntpd hasn't been running long at this point. Nevermind, I misread the reach column... Sorry. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NTPD not keeping time
--- Chuck Swiger [EMAIL PROTECTED] wrote: On Nov 30, 2006, at 12:16 PM, Kris Anderson wrote: Here's the output from ntpq. webdev# ntpq -p remote refid st t when poll reach delay offset jitter == time-a.nist.gov .ACTS. 1 u 485 1024 377 78.454 4307608 923174. india.colorado. .ACTS. 1 u 491 1024 377 22.918 4307064 922326. lerc-dns.grc.na .INIT. 16 u- 1024 0 0.0000.000 4000.00 Your clock is off by a little over an hour; while ntpd can correct very large offsets, doing so takes a long time. Kill ntpd, re-run ntpdate -b, double-check that your clock is sane, and then re-start ntpd. Off by an hour? Let's see the date is November 30th, and 12:41pm, that's what Windows says. Meanwhile freebsd says - Thu Nov 30 00:22:07 PST 2006. Wouldn't that be...nearly 12 hours? You should also note that your third ntp server is not answering queries, so you should try finding some other ntp server to use. Are you providing time syncronization from this machine to other hosts, or are you only running as a standalone client? If you are not providing time sync to a large subnet, please consider using stratum-2 servers or the NTP pool, ie, pool.ntp.org, or more specific regional parts, such as 0.us.pool.ntp.org, 1.us.pool.ntp.org-- this is assuming from your IP that you are located in the US, otherwise choose the appropriate country code for where-ever you are. I'll give it a shot and see what happens, I did just that yesterday. Okay, changed my pool since it's to keep this computer's time correct. Thanks for your help. :) Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail beta. http://new.mail.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: NTPD not keeping time
--- Peter A. Giessel [EMAIL PROTECTED] wrote: On 2006/11/30 11:16, Kris Anderson seems to have typed: Here's the output from ntpq. webdev# ntpq -p remote refid st t when poll reach delay offset jitter == time-a.nist.gov .ACTS. 1 u 485 1024 377 78.454 4307608 923174. india.colorado. .ACTS. 1 u 491 1024 377 22.918 4307064 922326. lerc-dns.grc.na .INIT. 16 u- 1024 0 0.0000.000 4000.00 I take it this system was shutdown overnight? It looks like ntpd hasn't been running long at this point. Try starting ntpd with the -g flag Going to try and reset the clocks and such and see what happens the next day. :) On 2006/11/30 10:16, Kris Anderson seems to have typed: server time-a.nist.gov prefer iburst server utcnist.colorado.edu iburst server lerc-dns.lerc.nasa.gov iburst You might also want to consider using the pool instead of all stratum 1 servers, for most the pool is more than accurate enough, so: server 0.pool.ntp.org server 1.pool.ntp.org server 2.pool.ntp.org Unless you really need to be using statum 1 servers... Yep, going to add the ntp.org pool and see how that works. Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail beta. http://new.mail.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: BTX Loader Error / Help
Hm, it appears after powercycling it and removing this USB harddrive I had attached to it allowed it to come back up. Odd? On 11/30/06, Huy Ton That [EMAIL PROTECTED] wrote: Ugh this is bad... I have this system functioning as a fileserver which was working for months without a reboot. Some coworkers complained of lag and after a reboot it will not start up and I am continuously getting BTX halted errors. I tried loading off an FBSD disk but that would incur the same problem. Ideas? BTX Loader 1.00 BTX version is 1.01 Consoles: internal video/keyboard BIOS CD is cd0 BIOS drive C: is disk0 BIOS drive d: is disk1 BIOS drive e: is disk2 etc... BTX halted ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: freebsd doesm't see my script on boot
Gregory Edigarov wrote: [...] #PROVIDE l2tpd #REQUIRE NETWORKING Try changing those lines to: # PROVIDE: l2tpd # REQUIRE: NETWORKING ^ ^ (add empty spaces and colons) Regards, Mikhail. -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: [EMAIL PROTECTED] Web: http://www.webanoide.org PGP Key ID: 0x4E148A3B PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NTPD not keeping time
On Nov 30, 2006, at 12:55 PM, Kris Anderson wrote: Your clock is off by a little over an hour; while ntpd can correct very large offsets, doing so takes a long time. Kill ntpd, re-run ntpdate -b, double-check that your clock is sane, and then re-start ntpd. Off by an hour? Let's see the date is November 30th, and 12:41pm, that's what Windows says. Meanwhile freebsd says - Thu Nov 30 00:22:07 PST 2006. Wouldn't that be...nearly 12 hours? I was judging the time-offset by the output of ntpq -p. However, if you are dual-booting between FreeBSD and Windows, you will also need to consider whether to keep the CMOS/BIOS clock running in UTC or in your local timezone; see man adjkerntz for details. It's entirely possible that doing a touch /etc/wall_cmos_clock will solve your issue. [ ... ] If you are not providing time sync to a large subnet, please consider using stratum-2 servers or the NTP pool, ie, pool.ntp.org, or more specific regional parts, such as 0.us.pool.ntp.org, 1.us.pool.ntp.org-- this is assuming from your IP that you are located in the US, otherwise choose the appropriate country code for where-ever you are. I'll give it a shot and see what happens, I did just that yesterday. Okay, changed my pool since it's to keep this computer's time correct. Thanks for your help. :) You are most welcome. -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: corrupt my ports
Le 30/11/2006 13:04:33+, Chris a ?crit Try man pkgdb. Specifically pkgdb -F. Hummm... The pkgdb command is a tool to create or update the system package data- base which is used by the portupgrade(1) tool suite. It maintains a hash that maps an installed file to a package name, a hash that maps a package to an origin, and a list of installed packages. It's not my database is corrupt, but really my /var/db/pkg/* for example [EMAIL PROTECTED] /var/db/pkg]# ls -l firefox-2.0_2,1/ total 28 -rw-r--r-- 1 root wheel 52 12 nov 02:27 +COMMENT -rw-r--r-- 1 root wheel765 12 nov 02:27 +DEINSTALL -rw-r--r-- 1 root wheel345 12 nov 02:27 +DESC -rw-r--r-- 1 root wheel 1119 12 nov 02:27 +DISPLAY -rw-r--r-- 1 root wheel 1165 12 nov 02:27 +INSTALL -r--r--r-- 1 root wheel 15305 12 nov 02:27 +MTREE_DIRS -rw-r--r-- 1 root wheel 32 28 nov 23:37 +REQUIRED_BY [EMAIL PROTECTED] /var/db/pkg]# I don't have +CONTENT file Anyone can help me ? Regards. -- Albert SHIH Universite de Paris 7 (Denis DIDEROT) U.F.R. de Mathematiques. 7 i?me ?tage, plateau D, bureau 10 Heure local/Local time: Thu Nov 30 22:27:16 CET 2006 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Automount
I've just installed an external SCSI hard drive in the form of a sun StorEdge. All is working well. The StorEdge has two drives called da0 and da1 respectivly. I've put entries into /etc/fstab so that they are mounted on boot as /s and /t. My question is... If I dont have the StorEdge running 24/7 and I reboot the server, the boot process fails when mounting the file systems as /s /t can not be reached. Is there anyway of writing an automount line in fstab that is smart enough to know that if the /s and /t are not reachable then continue with the boot process without stopping. My fstab enty is... /dev/da0s1d /sufsrw00 I see that the cdrom has the entry /dev/cd0/cdromcd9660 ro,noauto 00 Is it simply a case of changing the mount option to rw,noauto ?? - Try the all-new Yahoo! Mail . The New Version is radically easier to use The Wall Street Journal ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: corrupt my ports
An 11/30/06, cwaeth Albert Shih [EMAIL PROTECTED]: Le 30/11/2006 13:04:33+, Chris a écrit Try man pkgdb. Specifically pkgdb -F. Hummm... The pkgdb command is a tool to create or update the system package data- base which is used by the portupgrade(1) tool suite. It maintains a hash that maps an installed file to a package name, a hash that maps a package to an origin, and a list of installed packages. It's not my database is corrupt, but really my /var/db/pkg/* for example [EMAIL PROTECTED] /var/db/pkg]# ls -l firefox-2.0_2,1/ total 28 -rw-r--r-- 1 root wheel 52 12 nov 02:27 +COMMENT -rw-r--r-- 1 root wheel765 12 nov 02:27 +DEINSTALL -rw-r--r-- 1 root wheel345 12 nov 02:27 +DESC -rw-r--r-- 1 root wheel 1119 12 nov 02:27 +DISPLAY -rw-r--r-- 1 root wheel 1165 12 nov 02:27 +INSTALL -r--r--r-- 1 root wheel 15305 12 nov 02:27 +MTREE_DIRS -rw-r--r-- 1 root wheel 32 28 nov 23:37 +REQUIRED_BY [EMAIL PROTECTED] /var/db/pkg]# I don't have +CONTENT file Anyone can help me ? The only cure I can think of is to reinstall the affected packages/ports, since these (or those) are the files that tell all (any) of the intended management tools what actually is installed and where. As an aside, backing up your /var/db/pkg will save you a bit of trouble should something go wrong with the disk, however in the event of a mangled upgrade it likely will not, since the backup will not match what is on disk any- more (or more to the point the backup will not match what is needed for what was mangled by the mangler). Probably still ought to take the backups with every updating. A simple tar -jcf /backup/file/name.tar.bz2 /var/db/pkg/ for 301 packages took about 90 seconds and consumes 2.9M of disk space. Not a lot of overhead there. Excluding /var/db/pkg/pkgdb.db (which would be rebuilt anyway) would probably cut those figures in half. -- -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Missing libicui18n.so.34
I'm running 6.1-STABLE, and a few days ago cvsup'ed and tried portupgrade. Portupgrade failed on some of xfce4's components. Checking xfce4-print and xfce4-desktop's output, I have the error message: libicui18n.so.34, needed by /usr/local/lib/libglib-2.0.so not found (try using -rpath or -rpath-link) So, checking for the library I first tried 'locate libicui18n.so.34' and got: /usr/local/lib/libicui18n.so.34 /usr/local/lib/libicui18n.so.34.1 but when I ran 'find /usr/local/lib -name libicui18n.so.34' it doesn't find anything. Apparently something deleted the library since the last time 'locate' updated its database. OK, so 'ls -l /usr/local/lib/libicui18n*' gives me: lrwxr-xr-x 1 root wheel18 Oct 15 18:24 libicui18n.so - libicui18n.so.36.0 lrwxr-xr-x 1 root wheel18 Oct 15 18:24 libicui18n.so.36 - libicui18n.so.36.0 -r--r--r-- 1 root wheel 1474969 Oct 15 18:24 libicui18n.so.36.0 Apparently the library libicui18n.so.XX is installed by something called icu. I don't know what it is, but the latest version is icu-36, and it installed libicui18n.so.36.0, made links to it, and may have deleted libicui18n.so.34 at the same time. Should I try creating a link named 'libicui18n.so.34' to 'libicui18n.so.36.0'? One problem I have is that I don't understand the suggestion in the error message, try using -rpath or -rpath-link, and Google isn't helping me. -- Roger ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Missing libicui18n.so.34
At 09:27 AM 12/1/2006 +0700, you wrote: I'm running 6.1-STABLE, and a few days ago cvsup'ed and tried portupgrade. Portupgrade failed on some of xfce4's components. Checking xfce4-print and xfce4-desktop's output, I have the error message: libicui18n.so.34, needed by /usr/local/lib/libglib-2.0.so not found (try using -rpath or -rpath-link) So, checking for the library I first tried 'locate libicui18n.so.34' and got: /usr/local/lib/libicui18n.so.34 /usr/local/lib/libicui18n.so.34.1 but when I ran 'find /usr/local/lib -name libicui18n.so.34' it doesn't find anything. Apparently something deleted the library since the last time 'locate' updated its database. OK, so 'ls -l /usr/local/lib/libicui18n*' gives me: lrwxr-xr-x 1 root wheel18 Oct 15 18:24 libicui18n.so - libicui18n.so.36.0 lrwxr-xr-x 1 root wheel18 Oct 15 18:24 libicui18n.so.36 - libicui18n.so.36.0 -r--r--r-- 1 root wheel 1474969 Oct 15 18:24 libicui18n.so.36.0 Apparently the library libicui18n.so.XX is installed by something called icu. I don't know what it is, but the latest version is icu-36, and it installed libicui18n.so.36.0, made links to it, and may have deleted libicui18n.so.34 at the same time. Should I try creating a link named 'libicui18n.so.34' to 'libicui18n.so.36.0'? One problem I have is that I don't understand the suggestion in the error message, try using -rpath or -rpath-link, and Google isn't helping me. Well, creating a symlink named libicui18n.so.34 didn't help. In fact, when I ran 'portupgrade xfce4-print' it deleted the symlink. -- Roger ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Missing libicui18n.so.34
On Fri, Dec 01, 2006 at 11:30:17AM +0700, Roger Merritt wrote: At 09:27 AM 12/1/2006 +0700, you wrote: I'm running 6.1-STABLE, and a few days ago cvsup'ed and tried portupgrade. Portupgrade failed on some of xfce4's components. Checking xfce4-print and xfce4-desktop's output, I have the error message: libicui18n.so.34, needed by /usr/local/lib/libglib-2.0.so not found (try using -rpath or -rpath-link) So, checking for the library I first tried 'locate libicui18n.so.34' and got: /usr/local/lib/libicui18n.so.34 /usr/local/lib/libicui18n.so.34.1 but when I ran 'find /usr/local/lib -name libicui18n.so.34' it doesn't find anything. Apparently something deleted the library since the last time 'locate' updated its database. Presumably your portupgrade. OK, so 'ls -l /usr/local/lib/libicui18n*' gives me: lrwxr-xr-x 1 root wheel18 Oct 15 18:24 libicui18n.so - libicui18n.so.36.0 lrwxr-xr-x 1 root wheel18 Oct 15 18:24 libicui18n.so.36 - libicui18n.so.36.0 -r--r--r-- 1 root wheel 1474969 Oct 15 18:24 libicui18n.so.36.0 Apparently the library libicui18n.so.XX is installed by something called icu. I don't know what it is, but the latest version is icu-36, and it installed libicui18n.so.36.0, made links to it, and may have deleted libicui18n.so.34 at the same time. Should I try creating a link named 'libicui18n.so.34' to 'libicui18n.so.36.0'? No, there's a reason the library changed name, after all. This problem usually happens when you forget to update all ports that depend on an updated port. Try portupgrade -a or similar to repair it. Kris pgpAYvv1lr0ZI.pgp Description: PGP signature
Re: Missing libicui18n.so.34
At 11:40 PM 11/30/2006 -0500, you wrote: On Fri, Dec 01, 2006 at 11:30:17AM +0700, Roger Merritt wrote: At 09:27 AM 12/1/2006 +0700, you wrote: I'm running 6.1-STABLE, and a few days ago cvsup'ed and tried portupgrade. Portupgrade failed on some of xfce4's components. Checking xfce4-print and xfce4-desktop's output, I have the error message: libicui18n.so.34, needed by /usr/local/lib/libglib-2.0.so not found (try using -rpath or -rpath-link) So, checking for the library I first tried 'locate libicui18n.so.34' and got: /usr/local/lib/libicui18n.so.34 /usr/local/lib/libicui18n.so.34.1 but when I ran 'find /usr/local/lib -name libicui18n.so.34' it doesn't find anything. Apparently something deleted the library since the last time 'locate' updated its database. Presumably your portupgrade. OK, so 'ls -l /usr/local/lib/libicui18n*' gives me: lrwxr-xr-x 1 root wheel18 Oct 15 18:24 libicui18n.so - libicui18n.so.36.0 lrwxr-xr-x 1 root wheel18 Oct 15 18:24 libicui18n.so.36 - libicui18n.so.36.0 -r--r--r-- 1 root wheel 1474969 Oct 15 18:24 libicui18n.so.36.0 Apparently the library libicui18n.so.XX is installed by something called icu. I don't know what it is, but the latest version is icu-36, and it installed libicui18n.so.36.0, made links to it, and may have deleted libicui18n.so.34 at the same time. Should I try creating a link named 'libicui18n.so.34' to 'libicui18n.so.36.0'? No, there's a reason the library changed name, after all. This problem usually happens when you forget to update all ports that depend on an updated port. Try portupgrade -a or similar to repair it. Well, that's what first brought the problem to my attention. I did a cvsup, then a fetchindex, then a porstdb -u, then a pkgdb -F, and finally a portupgrade -a, and had a number of ports that failed. Five of them have to do with xfce4, all related to the library problem. Well, I'll try a new cvsup and portupgrade. -- Roger ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
problem with script execution
Hello; I have a problem that I have put considerable time into, but I keep coming up empty. short form is that the script works from the command line, but doesn't work from a php script. (I've already stumped the php list.) details follow. I have a shell script , 'copy' consisting of 4 lines echo * | sudo -u admn -S rm /path/to/file1 echo * | sudo -u admn -S cp /some/path/to/source1 /path/to/file1 echo * | sudo -u admn -S rm /path/to/file2 echo * | sudo -u admn -S cp /some/path/to/source2 /path/to/file2 copy is owned by www:www and is mode 777 file1 and file2 are owned by admn:www and are mode 666 copy, file1 and file2 are in the same directory which is owned by www:www and is mode 777 I have enabled targetpw in the sudoers file as www doesn't really have a password. I also have a php script ?php echo exec ('whoami'); exec ('/path/to/copy'); ? (just for the sake of completeness, exec passes a command to the OS and echo prints what ever is passed to it.) my output is www which is the expected result of the whoami for the php/apache user. however no file changes happen. however, from root: sudo -u www /path/to/copy changes the files exactly as expected/desired. any suggestions/pointers/links would be appreciated. system: FreeBSD www.domain.tld 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Mon Feb 13 09:28:07 MST 2006 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/WWW i386 Apache/2.2.3 (FreeBSD) mod_ssl/2.2.3 OpenSSL/0.9.7e-p1 PHP/5.1.5 (potentially sensitve info removed) Ray ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
dc0 card drops connection on FreeBSD 6.1
I am having issues with an ethernet card running under FreeBSD 6.1-RELEASE. It is dc0 and pciconf reports it as Conexant Systems. Network connections hang most of the time and usually timeout. FTP and HTTP downloads with move along for a short time and hang every 3% or so for several minutes before continuing or timing out. I installed FreeBSD 6.1 a month ago on a fresh hard drive, but about 5 months ago my old hard drive crashed which was running FreeBSD 5.4, though I never had any issues with the network card for 5.4 or, previously, 4.9. This system was running for several years with no issues until the Hard drive crashed 5 months ago. dc0: Conexant LANfinity MiniPCI 10/100BaseTX port 0x1400-0x14ff mem 0xf400-0xf4003fff irq 9 at device 9.0 on pci0 miibus0: MII bus on dc0 ukphy0: Generic IEEE 802.3u media interface on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto dc0: Ethernet address: 00:50:8b:ab:99:d5 pci0: simple comms at device 9.1 (no driver attached) pci0: multimedia, audio at device 10.0 (no driver attached) -- Loren M. Lang [EMAIL PROTECTED] http://www.alzatex.com/ Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc Fingerprint: CEE1 AAE2 F66C 59B5 34CA C415 6D35 E847 0118 A3D2 pgpxhKPmXsvuh.pgp Description: PGP signature