Re: make release and sysinstall
Sysinstall has a configuration file with wich you can specify several options, see man sysinstall(8) for more details. When making a release you set the sysinstalls configuration file with the LOCAL_PATCHES option to patch it to the chroot environment release build environment. We use it to create a automatic install for a host that we know exactly how the disks will be partitioned, what packages are installed what users etc. Here is an snippet of our patch file, (please note I have changed some of the names to protect the guilty :) ) --- /dev/null Sat Jan 26 17:11:01 2008 +++ release/install.cfg Sat Jan 26 17:17:46 2008 @@ -0,0 +1,31 @@ +debug=yes + +nonInteractive=yes +hostname=a.b.c +domainname=b.c + +mediaSetCDROM + +distSetMinimum + +disk=ar0 etc, etc Hope this helps. PS. You could also look at what nanobsd and I think pfsense does. I think they use a different approach. I have heard sysinstall should have been killed a long time ago but it still works well for us. Riaan On 8/13/08, Matias Surdi [EMAIL PROTECTED] wrote: Hi again, Suppose I build my own FreeBSD based distro, as described in release(7). How can I script sysinstall or replace it with another installer to customize the installation process? Thanks a lot. ___ 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]
Nvidia 6100 MCP RAID or GEOM
Hi! I am asking for recommendation. I'd like to use two SATA disks as RAID1 - mirror. My MB uses NVidia MCP6100 with hardware RAID. Is it better to use this RAID or to build a new one using GEOM? If I accidentally replace the MB will it be easy to reconfigure GEOM (for hardware RAID I know it is not if the chipset / SATA BIOS is not the same). And one more: Is network chip Realtek RTL8201 supported on FreeBSD? I didn't find it in rl or re drivers, some article says it is supported by nve or nfe ?!? Thanks in advance, Ivo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Nvidia 6100 MCP RAID or GEOM
Iv. Karabojkov wrote: Hi! I am asking for recommendation. I'd like to use two SATA disks as RAID1 - mirror. My MB uses NVidia MCP6100 with hardware RAID. Is it better to use this RAID or to build a new one using GEOM? If I accidentally replace the MB will it be easy to reconfigure GEOM (for hardware RAID I know it is not if the chipset / SATA BIOS is not the same). Usually this hardware RAID, is nothing more than software in a cheap circuit. The price of these mobos does not justify a real hardware RAID. I would go with GEOM. And one more: Is network chip Realtek RTL8201 supported on FreeBSD? I didn't find it in rl or re drivers, some article says it is supported by nve or nfe ?!? Thanks in advance, Ivo I believe you have an Nvidia card with a realtek phy. This works with the nfe driver (the following is from a MCP6100 mobo I am using as a server at a client): nfe0: NVIDIA nForce MCP61 Networking Adapter port 0xe480-0xe487 mem 0xdfff9000-0xdfff9fff irq 23 at device 7.0 on pci0 miibus0: MII bus on nfe0 rlphy0: RTL8201L 10/100 media interface on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: make release and sysinstall
Hi Riaan, Thanks a lot for your explanation, it's been very usefull to me, really. I've been looking about Freesbie, but it seems abandoned and on their mailing list there is no post since a couple of months. PfSense, which I use here, uses bsdInstaller but it's last new is from Aug 02 2005, so, it seems abandoned also. More of the same with the livecd port... the scripts are not up to date with current FreeBSD releases. I'll give a sigth to nanoBSD., but for the moment it seems that where I can get more support/documentation is with sysinstall and standard FreeBSD tools. Another question: Suppose I create my own install.cfg for sysinstall and then I do a make release.If my sysinstall contains a couple of freeBSD packages (bash, python, etc..) plus a custom package created by me.. How must I instruct make release to include just those packages in the final CDROM? Thanks a lot. Riaan Kruger escribió: Sysinstall has a configuration file with wich you can specify several options, see man sysinstall(8) for more details. When making a release you set the sysinstalls configuration file with the LOCAL_PATCHES option to patch it to the chroot environment release build environment. We use it to create a automatic install for a host that we know exactly how the disks will be partitioned, what packages are installed what users etc. Here is an snippet of our patch file, (please note I have changed some of the names to protect the guilty :) ) --- /dev/null Sat Jan 26 17:11:01 2008 +++ release/install.cfg Sat Jan 26 17:17:46 2008 @@ -0,0 +1,31 @@ +debug=yes + +nonInteractive=yes +hostname=a.b.c +domainname=b.c + +mediaSetCDROM + +distSetMinimum + +disk=ar0 etc, etc Hope this helps. PS. You could also look at what nanobsd and I think pfsense does. I think they use a different approach. I have heard sysinstall should have been killed a long time ago but it still works well for us. Riaan On 8/13/08, Matias Surdi [EMAIL PROTECTED] wrote: Hi again, Suppose I build my own FreeBSD based distro, as described in release(7). How can I script sysinstall or replace it with another installer to customize the installation process? Thanks a lot. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Recover Deleted File FreeBSD 7.0
Hi List, Do you have an idea how to recover a deleted directory or files in freebsd 7.0? I'm very sad that one of the important directory in my server was deleted accidentally. the command is use to delete the directory is: rm -r folder Any idea guys how to recover it? Thanks in advance FreeBSD rocks:D ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: make release and sysinstall
Hi, This should help: http://www.gsoft.com.au/~doconnor/FreeBSD-release.html http://www.gsoft.com.au/~doconnor/release/install.cfg I made my own release with ports on board without additional post-installing. This ports, are configured and ready to work out of box. Best regards, Sebastian Tymkow 2008/8/14 Matias Surdi [EMAIL PROTECTED] Hi Riaan, Thanks a lot for your explanation, it's been very usefull to me, really. I've been looking about Freesbie, but it seems abandoned and on their mailing list there is no post since a couple of months. PfSense, which I use here, uses bsdInstaller but it's last new is from Aug 02 2005, so, it seems abandoned also. More of the same with the livecd port... the scripts are not up to date with current FreeBSD releases. I'll give a sigth to nanoBSD., but for the moment it seems that where I can get more support/documentation is with sysinstall and standard FreeBSD tools. Another question: Suppose I create my own install.cfg for sysinstall and then I do a make release.If my sysinstall contains a couple of freeBSD packages (bash, python, etc..) plus a custom package created by me.. How must I instruct make release to include just those packages in the final CDROM? Thanks a lot. Riaan Kruger escribió: Sysinstall has a configuration file with wich you can specify several options, see man sysinstall(8) for more details. When making a release you set the sysinstalls configuration file with the LOCAL_PATCHES option to patch it to the chroot environment release build environment. We use it to create a automatic install for a host that we know exactly how the disks will be partitioned, what packages are installed what users etc. Here is an snippet of our patch file, (please note I have changed some of the names to protect the guilty :) ) --- /dev/null Sat Jan 26 17:11:01 2008 +++ release/install.cfg Sat Jan 26 17:17:46 2008 @@ -0,0 +1,31 @@ +debug=yes + +nonInteractive=yes +hostname=a.b.c +domainname=b.c + +mediaSetCDROM + +distSetMinimum + +disk=ar0 etc, etc Hope this helps. PS. You could also look at what nanobsd and I think pfsense does. I think they use a different approach. I have heard sysinstall should have been killed a long time ago but it still works well for us. Riaan On 8/13/08, Matias Surdi [EMAIL PROTECTED] wrote: Hi again, Suppose I build my own FreeBSD based distro, as described in release(7). How can I script sysinstall or replace it with another installer to customize the installation process? Thanks a lot. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: make release and sysinstall
Another question: Suppose I create my own install.cfg for sysinstall and then I do a make release.If my sysinstall contains a couple of freeBSD packages (bash, python, etc..) plus a custom package created by me.. How must I instruct make release to include just those packages in the final CDROM? I have not personally added packages to my distribution CDs but, check out the CD_PACKAGE_TREE option in release(7). It is supposed to be the direcory(s) that contains packages for cd1 and cd2. I am replying to the freebsd-questions mailing list, so that other people can see it too. Maybe they can also help or be helped. It looks like you did not reply to the mailing as well. Remember to reply to the mailing list as well next time :) Riaan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: WEP at home
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chris Chambers wrote: | Dear FreeBSD, | | I am hoping that I can get your help connecting to a wireless WEP network connection. The | connection is in my home. First off, I would like to say that I HAVE read the man pages, the | handbook and The Complete FreeBSD. Everything up until now has been pretty straight | forward. (I was able to figure out how to pipe my screen output into a file on my non | automounting dos partition). | | There must be something basic that I'm missing or not understanding. | | I'm running v. 6.3, standard installion. | Here is what I am typing, the output and the contents of my conf files. | | | | ifconfig ath0 up scan | | SSIDBSSID CHAN RATE S:N INT CAPS | | Laureen 00:1a:c4:09:65:616 54M 18:0 100 EPS | | | | /boot/loader.conf | | wlan_wep_load=YES | | | | | /etc/rc.conf | | | # -- sysinstall generated deltas -- | # Wed Aug 13 00:27:32 2008 | # Created: Wed Aug 13 00:27:32 2008 | # Enable network daemons for user convenience. | # Please make all changes to this file, not to /etc/defaults/rc.conf. | # This file now contains just the overrides from /etc/defaults/rc.conf | keymap=us.iso | usbd_enable=YES | | #WIRELESS | | ifconfig_ath0=authmode open wepmode mixed DHCP | | | | /etc/wpa_supplicant.conf | | ctrl_interface=/var/run/wpa_supplicant | ctrl_interface_group=wheel | network={ | ssid=Laureen | scan_ssid=1 | key_mgmt=NONE | wep_tx_keyidx=1 | wep_key1=1013304023 | } | | | | wpa_supplicant -i ath0 -c /etc/wpa_supplicant.conf | | Trying to associate with 00:1a:c4:09:65:61 (SSID='Laureen' freq=2437 MHz) | Associated with 00:1a:c4:09:65:61 | CTRL-EVENT-CONNECTED - Connection to 00:1a:c4:09:65:61 completed (auth) | CTRL-EVENT-TERMINATING - signal 2 received | | | | At this point I thought I was good to go. When I attemped to ping the outside world | (yahoo.com), I was told that ping could not resolve the address. | | | At first I thought I maybe needed to run namedb, but my reading told me that I only need it | if I'm planning on serving DNS info. | | | netstat -r | | Routing tables | Internet: | DestinationGatewayFlagsRefs Use Netif Expire | link#2 UC 00 ath0 | localhost localhost UH 04lo0 | ... etc. | | | At this point you're probably thinking that I have to wrong key or something. In Windows XP | the key works and Win tells me that the link is WEP, OPEN, created with DHCP. | I've connected to this network before by doing something very similar, only I can't remember | what I did. Then I had to reinstall FreeBSD because I didn't give it enough space on my | harddrive. I've tried slightly different configurations without success. | | | Thank you a million! | | Chris Chambers Hi Chris, What are the contents of your /etc/resolv.conf file after the IP address has been acquired from the DHCP server? Regards, Greg - -- Greg Larkin http://www.sourcehosting.net/ http://www.FreeBSD.org/ - The Power To Serve -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIpBnB0sRouByUApARAvc1AJ9FVXjGDxJg6T9O96KEs2uhkCyefACeOVyK 5IdE9BC15qaWDsBpp4VZ6Tg= =ntSu -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]
portupgrade installation date of a package
Hello, I was updating all packages which have been installed by the FreeBSD 7.0R base installation and X11 with portupgrade like this: # portupgrade -f '2008-08-13 12:55' i.e. update all packages/ports which have been installed before 2008-08-13 12:55 (this was the time when the installation finished); I picked up this time with an # ls -ltr /var/db/pkg | more and saw at which point the installation finished; so far so good; after some time I cancelled the 'portupgrade' because I forgot to say --batch mode; a look into a new # ls -ltr /var/db/pkg | more showed that for each package dir there the time was updated to 'now', i.e. no date before 2008-08-13 12:55 any more; but even with this a 2nd # portupgrade --batch -f '2008-08-13 12:55' knows exactly which ports/packages have been installed before that date; my question is: where is this installation date stored? thx matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e [EMAIL PROTECTED] - w http://www.oclc.org/ http://www.UnixArea.de/ b http://gurucubano.blogspot.com/ We should all learn from the peoples of The Netherlands, France and Ireland. Aprendamos todos de los pueblos de Holanda, Francia e Irlanda. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: portupgrade installation date of a package
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Matthias Apitz wrote: | Hello, | | I was updating all packages which have been installed by the FreeBSD | 7.0R base installation and X11 with portupgrade like this: | | # portupgrade -f '2008-08-13 12:55' | | i.e. update all packages/ports which have been installed before | 2008-08-13 12:55 (this was the time when the installation finished); | I picked up this time with an | | # ls -ltr /var/db/pkg | more | | and saw at which point the installation finished; so far so good; | | after some time I cancelled the 'portupgrade' because I forgot to say | --batch mode; a look into a new | | # ls -ltr /var/db/pkg | more | | showed that for each package dir there the time was updated to 'now', | i.e. no date before 2008-08-13 12:55 any more; but even with this a 2nd | | # portupgrade --batch -f '2008-08-13 12:55' | | knows exactly which ports/packages have been installed before that date; | | my question is: where is this installation date stored? | | thx | | matthias | Hi Matthias, In the file /usr/local/lib/ruby/site_ruby/1.8/pkgdb.rb, there's a function for determining the package installation date: ~ def date_installed(pkgname) ~installed?(pkgname) or return nil ~File.mtime(pkg_comment(pkgname)) || ~ File.mtime(pkg_descr(pkgname)) || ~ File.mtime(pkg_contents(pkgname)) rescue Time.at(0) ~ end I'm not a Ruby programmer, but my reading of that snippet makes me think the mtime of one of the +COMMENT, +DESCR, or +CONTENTS files in /var/db/pkg/pkgname is used for the installation date. I just checked a package directory on my system: fbsd70# cd /var/db/pkg/apache-2.0.63/ fbsd70# ls -latr total 142 - -rw-r--r--1 root wheel 17501 Apr 22 09:46 +MTREE_DIRS - -rw-r--r--1 root wheel 718 Apr 22 09:46 +INSTALL - -rw-r--r--1 root wheel 132 Apr 22 09:46 +DISPLAY - -rw-r--r--1 root wheel 501 Apr 22 09:46 +DESC - -rw-r--r--1 root wheel 49 Apr 22 09:46 +COMMENT - -rw-r--r--1 root wheel 100382 Jul 21 12:02 +CONTENTS drwxr-xr-x2 root wheel 512 Jul 23 14:40 . - -rw-r--r--1 root wheel 598 Jul 25 09:31 +REQUIRED_BY drwxr-xr-x 421 root wheel 11776 Aug 13 16:48 .. fbsd70# I believe the mtime for +COMMENT will be used, since it appears first in the Ruby expression above. The date on the directory itself is later, and is the same as many other directories in /var/db/pkg, as you noted, but that's not used. Hope that helps, Greg - -- Greg Larkin http://www.sourcehosting.net/ http://www.FreeBSD.org/ - The Power To Serve -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIpCdn0sRouByUApARAve0AKCkhRN8ciuiBzny0pLWInTJTv9vxwCghP7b ObkVBIW3xik7iL62iOiMiyI= =3h8D -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: postgres: [2-1] FATAL: the database is starting up
On Thu, Aug 14, 2008 at 10:49 AM, Mehul Ved [EMAIL PROTECTED] wrote: On 8/14/08, fire jotawski [EMAIL PROTECTED] wrote: every time i boot the machine i always get the message that says postgres[pid]: [2-1] FATAL: the database system is starting Have you checked /var/log/messages or /var/log/postgresql I am not sure as to where does postgresql log but you can look around in /var/log directory and go through the file for errors or warning. thanks so much for your time. i read /var/log/postgresql.log and did as suggested from hint in a log file but still got error message when reboot. here is /var/log/postgresql.log content [~] # cat /var/log/postgres.log Aug 14 16:09:53 makham postgres[1221]: [1-1] WARNING: autovacuum not started because of misconfiguration Aug 14 16:09:53 makham postgres[1221]: [1-2] HINT: Enable options stats_start_collector and stats_row_level. Aug 14 16:09:53 makham postgres[1223]: [3-1] FATAL: the database system is starting up Aug 14 16:39:00 makham postgres[1223]: [2-1] FATAL: the database system is starting up Aug 14 16:45:32 makham postgres[1223]: [2-1] FATAL: the database system is starting up Aug 14 16:58:45 makham postgres[1223]: [2-1] FATAL: the database system is starting up Aug 14 18:27:33 makham postgres[1198]: [2-1] FATAL: the database system is starting up [~] # best regards, psr ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
F5Networks
FreeBSD ffrrbbssdd 8.0-CURRENT FreeBSD 8.0-CURRENT #4: Mon Aug 11 16:25:43 CEST 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 I want to connect to vpn by F5Networks. But still its hang up for me :(. I install in /compat/linux libpam pam passwd su sudo and required packages.. But now when I exec /compat/linux/bin/su -c ls, I receive: could not open session in dmesg: linux: pid 14155 (su): syscall keyctl not implemented linux: pid 14155 (su): syscall setfsuid not implemented When I am trying to connect by linux-firefox to vpn, it tries to connect and after several seconds shows me connection failed. But then in the top I see that process svpn consumes almost 100% of processor. Is it posible to run F5Networks plugin in freebsd?? michal zielonka ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Recover Deleted File FreeBSD 7.0
Restore from your backups (you DO have backups, don't you?) ;) Otherwise, there's no easy way to do this. If the data you deleted is very valuable, first thing to do is umount the filesystem, preventing the data of the deleted files from being overwritten by any new filesystem writes. There might be some companies specializing in recovering your data, but it'll cost you money. Ik the files are in ascii, you might get some of the data back by using strings, grep, dd and other tools on the disk device. G'luck, Ruben On Thu, Aug 14, 2008 at 04:55:37PM +0800, Ruel Luchavez typed: Hi List, Do you have an idea how to recover a deleted directory or files in freebsd 7.0? I'm very sad that one of the important directory in my server was deleted accidentally. the command is use to delete the directory is: rm -r folder Any idea guys how to recover it? Thanks in advance FreeBSD rocks:D ___ 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: usb-serial device
Michael Lednev пишет: Oliver Fromme пишет: Did you have any success? What exactly is the name and brand of your USB thermometer? I'm asking because I'm also interested in obtaining an external thermometer that would work with FreeBSD. Not yet. I didn't have chance to try CURRENT and uchcom does not work under 6.3 Yes! It works (I think). Identifies itself as: ucom0: vendor 0x4348 USB-SER!, class 255/0, rev 1.10/2.50, addr 2 on uhub1 ucom0: CH340 detected After this it can be accessed like any other usb-serial device. Found this note about it http://err.no/personal/blog/tech/2008-07-22-10-17_kernel_patches_TEMPer_thermometer.html To anyone wishig to have one, it can be found on brando or ebay as USB TEMPer or TEMPer2. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: postgres: [2-1] FATAL: the database is starting up
On 8/14/08, fire jotawski [EMAIL PROTECTED] wrote: Aug 14 16:09:53 makham postgres[1221]: [1-1] WARNING: autovacuum not started because of misconfiguration Aug 14 16:09:53 makham postgres[1221]: [1-2] HINT: Enable options stats_start_collector and stats_row_level. You can try enabling those 2 parameters. Maybe something can be found http://www.postgresql.org/docs/8.1/static/runtime-config.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: postgres: [2-1] FATAL: the database is starting up
On Thu, Aug 14, 2008 at 09:59:57AM +0700, fire jotawski wrote: hi sirs, apologize me for disturbing the list but i faced the strange problem that i can not understand every times i boot my machine. every time i boot the machine i always get the message that says postgres[pid]: [2-1] FATAL: the database system is starting later on after logged in as root, i check for process, i found the postgresql has been started . so what the reason for the message at during start up then. IIRC, PostgreSQL always starts with this FATAL message. It still works flawlessly nonetheless. If there are no other FATAL messages, this one may not be a reason for concern. You may want to read this as well: http://archives.postgresql.org/pgsql-general/2007-12/msg01339.php Regards, -cpghost. -- Cordula's Web. http://www.cordula.ws/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Recover Deleted File FreeBSD 7.0
On Thu, Aug 14, 2008 at 8:03 AM, Ruben de Groot [EMAIL PROTECTED] wrote: Restore from your backups (you DO have backups, don't you?) ;) Otherwise, there's no easy way to do this. If the data you deleted is very valuable, first thing to do is umount the filesystem, preventing the data of the deleted files from being overwritten by any new filesystem writes. There might be some companies specializing in recovering your data, but it'll cost you money. Ik the files are in ascii, you might get some of the data back by using strings, grep, dd and other tools on the disk device. G'luck, Ruben On Thu, Aug 14, 2008 at 04:55:37PM +0800, Ruel Luchavez typed: Hi List, Do you have an idea how to recover a deleted directory or files in freebsd 7.0? I'm very sad that one of the important directory in my server was deleted accidentally. the command is use to delete the directory is: rm -r folder Any idea guys how to recover it? Thanks in advance FreeBSD rocks:D ___ 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] maybe using sleuthkit -- mmm, interesante. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to visit U disk?
On Thu, 14 Aug 2008 08:39:43 +0800, EdwardKing [EMAIL PROTECTED] wrote: Then I use dmesg: $dmesg | grep ^da da0 at umass-sim0 bus 0 target 0 lun 0 da0:USB NAND FLASH DISK 0.20 Removable Direct Access SCSI-2 device da0:1.000MB/s transfers da0:125MB (256000 512 byte sectors: 64H 32S/T 125C) Correct, this shows da0 is your USB disk. You just need to know which partition to access. # ls /dev/da0* will show you which entries are present. As I mentioned before, /dev/da0s1 or /dev/da0s1c should be the correct one. You can check which partitions are on da0 with this command that just does some reading (no modification): # fdisk da0 Then you tried, as suggested: $mount -t msdosfs dev/da0s1c /mnt mount_msdosfs: /dev/da0s1c: Operation not permitted Yes, of course. You're issuing this command from a user's shell, not as root. But because of FreeBSD's security concepts, you need to do the mount operation as root (that's why I prefixed the mount command with a # sign), so use su or sudo (sudo needs to be installed). You can, of course, enable the user to have access to the USB devices by modifying /etc/devfs.conf and setting vfs.usermount=1 in /etc/sysctl.conf. $mount -t msdosfs dev/da0 /mnt mount_msdosfs: /dev/da0: Operation not permitted Same reason here. You need to be root to do this. And don't complain, it's completely intended to be this way. :-) -- Polytropon From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD, Ubuntu and Win XP on one system
On 2008.08.11 18:05:10, Jack Raats wrote: I would like to put FreeBSD, Ubuntu and WInXP on one system using a boot manager. Which version do I have to put first on the harddisk, which second and which last? I also want to know which bootmanager to use? Thanks for your time Greeting Jack Hello Jack, I had this same setup for quite some time. You will want to start with XP, since it seems to require being the first slice on the disk. Just make sure you don't let the XP install use the whole disk. You can then choose either FreeBSD or Ubuntu to be the second slice, it's really a matter of preference. Personally, I installed FreeBSD second, then added Ubuntu to the end as an afterthought. Note: when using this install sequence, Ubuntu will install GRUB as a boot loader, which will recognize XP just fine, but will ignore FreeBSD (at least it did pre-Hardy Heron). You will have to edit the GRUB config manually to make your FreeBSD install available in the GRUB menu. It's not difficult, but it does add an extra step. Also, be sure to keep a backup of your modified GRUB config---it seems that each time Ubuntu decides it needs to perform a significant update, it replaces the GRUB config with the default, making FreeBSD once again inaccessible. There is probably a way to prevent this, but I never got around to investigating it. HTH, ~Jason ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: SSH question
Hi! On Thu, 14 Aug 2008 10:06:46 +0800, EdwardKing [EMAIL PROTECTED] wrote: I use SSH to remote FreeBSD $ssh [EMAIL PROTECTED] password: Then I SSh to suspend client in that remote machine: $~ /home/tom: Permission denied Permission denied? Why? How to do that? In opposite to Matthew Seaman I don't think it's an escape code problem here. Instead, it seems you're trying to execute your home directory. :-) The $ sign seems to imply you're using the Bourne Shell. The same problem you described can be done using the C Shell: % ~ /home/poly: Permission denied. When I try this in BASH, I get this: $ ~ bash: /home/poly: is a directory Maybe % cd ~ is what you indended to do? -- Polytropon From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Recover Deleted File FreeBSD 7.0
Hi! On Thu, 14 Aug 2008 16:55:37 +0800, Ruel Luchavez [EMAIL PROTECTED] wrote: Hi List, Do you have an idea how to recover a deleted directory or files in freebsd 7.0? I'm very sad that one of the important directory in my server was deleted accidentally. the command is use to delete the directory is: rm -r folder Any idea guys how to recover it? I have the same probel, except that I hit PF8 in the Midnight Commander which caused a recursion of unlink() to delete the files. Of course I don't have a backup. :-( As it has been mentioned by Diego F. Arias R., The Sleuth Kit could offer some help. When TSK was TCT, there was a command unrm which is dls today. Refer to % man dls for further information, and assert enough disk space because I think you have to work from an image. Furthermore, assert that no writes go to the disk you want to recover deleted files from. There's a good piece of documentation: % less /usr/local/share/doc/sleuthkit/ref_fs.txt Maybe it's a bit explainatory and helpful. First, make a dd copy of the partition, then run dls with the proper options on it. Sadly, I can't tell you more about this topic because I didn't have any luck until today solving my similar problem. Maybe you want to give back a little report when dls did work for you? -- Polytropon From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Very Slow Samba
Hi All, I had migrated a Windows 2003 Server to a Samba Server (only for file share) We share only the company system. That's a 3mb Delphi .exe and a 1,5mb libmysql.dll. BTW, the system loads 4 .jpg files from the server. On our old Windows Server the system was very fast on Samba is damn slow. About 2 mins to load. I have no clue on what to do. Server Specs: Pentium 4 3.0Ghz 1GB RAM, FreeBSD 7.0-STABLE and Samba 3.0.28a. Here's is my smb.conf [global] workgroup = CLASS server string = Class Data Server security = share hosts allow = 192.168.0. load printers = yes printing = cups log file = /var/log/samba/log.%m max log size = 150 socket options = TCP_NODELAY interfaces = 192.168.0.0/24 dns proxy = no veto oplock files = /*.exe/*.dll/*.jpg/*.pdf/*.gif/ oplock break wait time = 1 debug level = 10 [Class] Comment = Class Browseable = Yes Writeable = Yes Force User = root create mask = 0777 path = /dados/samba/Class Guest ok = Yes fake oplocks = yes Best Regards, Mauro Ribeiro ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD, Ubuntu and Win XP on one system
On Monday 11 August 2008, Jason W. Morgan wrote: it seems that each time Ubuntu decides it needs to perform a significant update, it replaces the GRUB config with the default, making FreeBSD once again inaccessible. There is probably a way to prevent this, but I never got around to investigating it. I'd be inclined to install GRUB on FreeBSD from ports and remove it from the Ubuntu system. FreeBSD won't mess with your GRUB config files. -- Mike Clarke ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Attn:Reseller-IntergratorChannel Sales Partner. Unspent Budget For Surplus Cisco Purchase.
I need to buy this used gear today. Give me a call if you have this or any other decommissioned Cisco, Nortel, Avaya, Lucent, 3Com, HP, IBM or Sun Microsystems equipment for sale. 18Units- Used Cisco - WS-X6148-45AF - Will Pay Today At $1100.00 Ea 175 Units- Surplus Cisco - PVDM2-64 Module Will Buy Today At $225.00 Ea 13 Units- Decommissioned Cisco - PA-A6-OC3SMI - Will Buy Today At $4250.00 Ea 135 Units- Idle Cisco - VWIC-2MFT-E1-DI - Will Buy Today At $525.00 Ea 22 Units- Excess Cisco - AIM-CUE - Will Buy Today At $525.00 Ea 7 Units- Trade-In Cisco - WS-X6724-SFP - Will Buy Today At $3050.00 Ea 225 Units- Open Box Cisco - 2811 Router - Will Buy Today At $650.00 Ea 162 Units- Off Lease Cisco 1841 Router - Will Buy Today At - $300.00 Ea 38 Units- Overstock Cisco 2821 Router - Will Buy Today At $1100.00 Ea 17 Units- Excess Cisco WS-C3560G-48PS-S - Will Buy Today At $3100.00 Ea 105 Units- Under Utilized Cisco WS-C3550-24PWR-SMI Will Buy Today At $300.00 Ea Jim Pazz I.T.comWare, Inc. 73 Defco Park Road North Haven, CT 06473 866.739.6291 - toll free 203.234.7248 AIM itcomwarejp Skype joe.cisco Largest Refurbished Cisco End Of Life Inventory In The World! Largest Refurbished Cisco Spares Inventory In The World! [EMAIL PROTECTED] To be taken of this list, please forward this email [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Attn:Reseller-IntergratorChannel Sales Partner. Unspent Budget For Surplus Cisco Purchase.
I need to buy this used gear today. Give me a call if you have this or any other decommissioned Cisco, Nortel, Avaya, Lucent, 3Com, HP, IBM or Sun Microsystems equipment for sale. 18Units- Used Cisco - WS-X6148-45AF - Will Pay Today At $1100.00 Ea 175 Units- Surplus Cisco - PVDM2-64 Module Will Buy Today At $225.00 Ea 13 Units- Decommissioned Cisco - PA-A6-OC3SMI - Will Buy Today At $4250.00 Ea 135 Units- Idle Cisco - VWIC-2MFT-E1-DI - Will Buy Today At $525.00 Ea 22 Units- Excess Cisco - AIM-CUE - Will Buy Today At $525.00 Ea 7 Units- Trade-In Cisco - WS-X6724-SFP - Will Buy Today At $3050.00 Ea 225 Units- Open Box Cisco - 2811 Router - Will Buy Today At $650.00 Ea 162 Units- Off Lease Cisco 1841 Router - Will Buy Today At - $300.00 Ea 38 Units- Overstock Cisco 2821 Router - Will Buy Today At $1100.00 Ea 17 Units- Excess Cisco WS-C3560G-48PS-S - Will Buy Today At $3100.00 Ea 105 Units- Under Utilized Cisco WS-C3550-24PWR-SMI Will Buy Today At $300.00 Ea Jim Pazz I.T.comWare, Inc. 73 Defco Park Road North Haven, CT 06473 866.739.6291 - toll free 203.234.7248 AIM itcomwarejp Skype joe.cisco Largest Refurbished Cisco End Of Life Inventory In The World! Largest Refurbished Cisco Spares Inventory In The World! [EMAIL PROTECTED] To be taken of this list, please forward this email [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: FreeBSD, Ubuntu and Win XP on one system
hors configure your kernel-img file correctly : [EMAIL PROTECTED] grep hook /etc/kernel-img.conf postinst_hook = /usr/sbin/update-grub postrm_hook = /usr/sbin/update-grub just comment out these. On Thu, Aug 14, 2008 at 6:24 PM, Mike Clarke [EMAIL PROTECTED] wrote: On Monday 11 August 2008, Jason W. Morgan wrote: it seems that each time Ubuntu decides it needs to perform a significant update, it replaces the GRUB config with the default, making FreeBSD once again inaccessible. There is probably a way to prevent this, but I never got around to investigating it. I'd be inclined to install GRUB on FreeBSD from ports and remove it from the Ubuntu system. FreeBSD won't mess with your GRUB config files. -- Mike Clarke ___ 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: FreeBSD, Ubuntu and Win XP on one system
On 2008.08.14 19:05:22, nicodache wrote: hors configure your kernel-img file correctly : [EMAIL PROTECTED] grep hook /etc/kernel-img.conf postinst_hook = /usr/sbin/update-grub postrm_hook = /usr/sbin/update-grub just comment out these. Good to know, if I ever use Ubuntu again. Thanks, ~Jason ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Very Slow Samba
At 10:21 AM 8/14/2008, Mauro Ribeiro - Class Consultoria e Assessoria wrote: Hi All, I had migrated a Windows 2003 Server to a Samba Server (only for file share) We share only the company system. That's a 3mb Delphi .exe and a 1,5mb libmysql.dll. BTW, the system loads 4 .jpg files from the server. On our old Windows Server the system was very fast on Samba is damn slow. About 2 mins to load. I have no clue on what to do. Server Specs: Pentium 4 3.0Ghz 1GB RAM, FreeBSD 7.0-STABLE and Samba 3.0.28a. Here's is my smb.conf [global] workgroup = CLASS server string = Class Data Server security = share hosts allow = 192.168.0. load printers = yes printing = cups log file = /var/log/samba/log.%m max log size = 150 socket options = TCP_NODELAY interfaces = 192.168.0.0/24 dns proxy = no veto oplock files = /*.exe/*.dll/*.jpg/*.pdf/*.gif/ oplock break wait time = 1 debug level = 10 [Class] Comment = Class Browseable = Yes Writeable = Yes Force User = root create mask = 0777 path = /dados/samba/Class Guest ok = Yes fake oplocks = yes Best Regards, Mauro Ribeiro What network card is in this server? What are you using for authentication? -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Recover Deleted File FreeBSD 7.0
On Thu, Aug 14, 2008 at 04:55:37PM +0800, Ruel Luchavez wrote: Hi List, Do you have an idea how to recover a deleted directory or files in freebsd 7.0? For starters, you should remount the filesystem that contains the directory as read-only _immediately_ after the accident. Otherwise the blocks containing parts of some of the the deleted files might be overwritten, in which case complete retrieval is impossible. I'm very sad that one of the important directory in my server was deleted accidentally. Of course the best way to recover data is to restore it from a backup. If you don't have a backup, consider this a lesson why you should. the command is use to delete the directory is: rm -r folder Any idea guys how to recover it? Try the sysutils/sleuthkit port? Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpMrsrZ1mthA.pgp Description: PGP signature
Re: ATi Intel graphics
On Wed, Aug 13, 2008 at 3:34 PM, Roland Smith [EMAIL PROTECTED] wrote: The last ATI chip with full open-source 3D accelleration support is the 2950 (RV280), but 3D and accelleration support for newer chips is actively being worked on. ATI is even going to provide the developers with documentation (could be that that has happened by now?). Last I heard they got the documentation for card initialization and (I think) power management. No acceleration docs yet. It still came to over 900 pages. Hopefully there's been more since. The driver that you want for ATI cards is xf86-video-ati. But for the most features you'll have to compile it yourself from the code in a git repository. You'll probably need an updated DRM driver as well. ok, it looks like the radeon (no HD) driver is part of the xf86-video-ati driver, and by the size of the ati_drv.so file, I'm guessing most of what ati_drv.so does is access and control the access of radeon_drv, correct? I wonder why there's no cutoff for the 3D functionality in the ATi driver's man page. It just lists all supported cards without mention of which have 3D implementations (try `man radeon`). -Jim Stapleton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
burncd error?
Aloha, Recently when I try to use burncd I get this error when trying to burn any 8 CURRENT discs . I even got a new Burner and put it on a different machine but still get this error. Install fails from these burned discs. Error message. acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x11 GEOM_LABEL: Label for provider acd0 is iso 9660/FreeBSD_Install This did not happen with Current or RELEASE 7.0 FreeBSD /dev/acd0c used to work. Now you have to use /dev/acd0 (no c) to get burncd to work. Can somebody enlighten me please. ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 + http://hawaiidakine.com + http://freebsdinfo.org + + http://aloha50.net - Supporting - FreeBSD 6.* - 7.* - 8.* + email: [EMAIL PROTECTED] All that's really worth doing is what we do for others.- Lewis Carrol ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: burncd error?
On Thu, 14 Aug 2008 08:21:11 -1000, Al Plant [EMAIL PROTECTED] wrote: Install fails from these burned discs. Error message. acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x11 Defective media? /dev/acd0c used to work. Now you have to use /dev/acd0 (no c) to get burncd to work. As far as I remember, /dev/acd0 instead of /dev/acd0c is to be used as device file for burning and reading since FreeBSD 5.0. Can somebody enlighten me please. 1. Maybe you can try blank media from another manufacturer? 2. Maybe you can try another burning program (cdrecord)? 3. Maybe you can try to burn at a lower speed? Just some ideas... -- Polytropon From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ATi Intel graphics
On Thu, Aug 14, 2008 at 02:03:38PM -0400, Jim wrote: On Wed, Aug 13, 2008 at 3:34 PM, Roland Smith [EMAIL PROTECTED] wrote: The last ATI chip with full open-source 3D accelleration support is the 2950 (RV280), but 3D and accelleration support for newer chips is actively being worked on. ATI is even going to provide the developers with documentation (could be that that has happened by now?). Last I heard they got the documentation for card initialization and (I think) power management. No acceleration docs yet. It still came to over 900 pages. Hopefully there's been more since. Looking over the articles on the phoronix website it seems that accelleration on the R300 is supported, R5xx is shaping up and R6xx has just started but needs extra docs. The DRM driver in FreeBSD also needs updating, which is in the works, see other posts. The driver that you want for ATI cards is xf86-video-ati. But for the most features you'll have to compile it yourself from the code in a git repository. You'll probably need an updated DRM driver as well. ok, it looks like the radeon (no HD) driver is part of the xf86-video-ati driver, and by the size of the ati_drv.so file, I'm guessing most of what ati_drv.so does is access and control the access of radeon_drv, correct? Not sure, but I guess so. I wonder why there's no cutoff for the 3D functionality in the ATi driver's man page. It just lists all supported cards without mention of which have 3D implementations (try `man radeon`). It could be more clear. Maybe you can submit a bug report or a patch? But further down it says: Option RenderAccel boolean Enables or disables hardware Render acceleration. This driver does not support component alpha (subpixel) rendering. It is only supported on Radeon series up to and including 9200 (9500/9700 and newer unsupported). The default is to enable Render acceleration. For the record, my Radeon HD 3450 (RV620) works, but without accelleration at the moment. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpeagWiX6r5Q.pgp Description: PGP signature
Migrate harddisk with FreeBSD into new machine
Hi list, I have a problem. A faulty machine was running freeBSD with a two harddisk software raid. now these two disks should be put into a new machine, but of course it won't boot because it is new hardware. Kernel just reports: cannot mount root device from /dev/mirror/gm0s1a (or sth like this). question is now, how can i add the correct driver into the initial ramdisk (if there is such a thing on bsd) so the machine finds the two drives? second question: how can i afterwards remove the software mirror and only use one harddisk from that moment on? any help is very welcom, as i have no idea about bsd. i am a linux guy ;) thanks! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Migrate harddisk with FreeBSD into new machine
At 01:26 PM 8/14/2008, C.M. Burns wrote: Hi list, I have a problem. A faulty machine was running freeBSD with a two harddisk software raid. now these two disks should be put into a new machine, but of course it won't boot because it is new hardware. Kernel just reports: cannot mount root device from /dev/mirror/gm0s1a (or sth like this). question is now, how can i add the correct driver into the initial ramdisk (if there is such a thing on bsd) so the machine finds the two drives? second question: how can i afterwards remove the software mirror and only use one harddisk from that moment on? any help is very welcom, as i have no idea about bsd. i am a linux guy ;) thanks! What I would do, is install FreeBSD onto a new separate hard disk. Disks are cheap. Once you get the boot disk installed you can create a custom kernel if necessary to support the RAID. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Migrate harddisk with FreeBSD into new machine
Derek Ragona schrieb: At 01:26 PM 8/14/2008, C.M. Burns wrote: Hi list, I have a problem. A faulty machine was running freeBSD with a two harddisk software raid. now these two disks should be put into a new machine, but of course it won't boot because it is new hardware. Kernel just reports: cannot mount root device from /dev/mirror/gm0s1a (or sth like this). question is now, how can i add the correct driver into the initial ramdisk (if there is such a thing on bsd) so the machine finds the two drives? second question: how can i afterwards remove the software mirror and only use one harddisk from that moment on? any help is very welcom, as i have no idea about bsd. i am a linux guy ;) thanks! What I would do, is install FreeBSD onto a new separate hard disk. Disks are cheap. Once you get the boot disk installed you can create a custom kernel if necessary to support the RAID. maybe there is a way to use the loader prompt to manually load the module? it is a buslogic bt948 controller. i would rather not compile a new kernel :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD, Ubuntu and Win XP on one system
Jason W Morgan wrote: Also, be sure to keep a backup of your modified GRUB config---it seems that each time Ubuntu decides it needs to perform a significant update, it replaces the GRUB config with the default, making FreeBSD once again inaccessible. There is probably a way to prevent this, but I never got around to investigating it. Yes, in general, in Debian or Ubuntu config files there are markers which delimitate what the system is allowed to mess with and the rest. For example, for grub, i have (but the same idea appears in xorg config file, etc. - in general it is a very good idea, which could be profitably used by FreeBSD): # Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST title Ubuntu root(hd0,5) kernel /boot/vmlinuz-2.6.20-16-generic root=UUID=3eda2f02-17f1-4993-b52e- dfe21bb480d5 ro locale=fr_FR vga=791 initrd /boot/initrd.img-2.6.20-16-generic savedefault boot title FreeBSD root(hd0,3) savedefault makeactive chainloader +1 title Windows XP Media Center Edition root(hd0,1) savedefault makeactive chainloader +1 # This is a divider, added to separate the menu items above from the # Debian # ones. ### BEGIN AUTOMAGIC KERNELS LIST ## lines between the AUTOMAGIC KERNELS LIST markers will be modified ## by the debian update-grub script except for the default options below ## DO NOT UNCOMMENT THEM, Just edit them to your needs Here things will be upgraded automatically . title Ubuntu, memtest86+ root(hd0,5) kernel /boot/memtest86+.bin quiet ### END DEBIAN AUTOMAGIC KERNELS LIST Here things are safe. Note that, as remarked by several people, contrary to the grub version in ports, the grub version coming with Ubuntu doesn't read the UFS2 filesystem, so one needs to load FreeBSD by chain booting instead of directly loading /boot/loader. -- Michel TALON ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Working ccache configuration for buildworld on amd64?
This is an old problem, but so far I haven't been able to find a solution. When ccache is used to build world on amd64, the process fails when /usr/src/lib/csu/i386-elf/crt1.c is compiled. If WITHOUT_LIB32 is added to src.conf, this problem does not happen. Likewise, building without ccache works fine. Has anyone out there been able to find a ccache configuration that would work in this situation? I tried disabling ccache for some of the directories under /usr/src and /usr/obj, but it only caused problems in other stages of the build process. Here are the default ccache settings from make.conf: .if exists(/usr/local/libexec/ccache) !defined(NOCCACHE) \ (!empty(.CURDIR:M/usr/src*) || !empty(.CURDIR:M/usr/obj*)) CC= /usr/local/libexec/ccache/world-cc CXX= /usr/local/libexec/ccache/world-c++ .endif And here is what I tried using to isolate the problem, albeit with no success: .if exists(/usr/local/libexec/ccache) !defined(NOCCACHE) \ (!empty(.CURDIR:M/usr/src*) || !empty(.CURDIR:M/usr/obj*)) \ empty(.CURDIR:M/usr/src/lib/csu*) \ empty(.CURDIR:M/usr/obj/usr/src/lib/csu*) \ empty(.CURDIR:M/usr/obj/lib32/usr/src/lib/csu*) CC= /usr/local/libexec/ccache/world-cc CXX= /usr/local/libexec/ccache/world-c++ .endif Please let me know if you have a working solution. - Max ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Migrate harddisk with FreeBSD into new machine
On Thursday 14 August 2008 19:04:14 C.M. Burns wrote: Derek Ragona schrieb: At 01:26 PM 8/14/2008, C.M. Burns wrote: Hi list, I have a problem. A faulty machine was running freeBSD with a two harddisk software raid. now these two disks should be put into a new machine, but of course it won't boot because it is new hardware. Kernel just reports: cannot mount root device from /dev/mirror/gm0s1a (or sth like this). question is now, how can i add the correct driver into the initial ramdisk (if there is such a thing on bsd) so the machine finds the two drives? second question: how can i afterwards remove the software mirror and only use one harddisk from that moment on? any help is very welcom, as i have no idea about bsd. i am a linux guy ;) thanks! What I would do, is install FreeBSD onto a new separate hard disk. Disks are cheap. Once you get the boot disk installed you can create a custom kernel if necessary to support the RAID. maybe there is a way to use the loader prompt to manually load the module? it is a buslogic bt948 controller. i would rather not compile a new kernel :) It sounds like the kernel on the disks doesn't have the driver for the buslogic bt948 SCSI controller in it. Unfortunately, this driver is not available to be loaded as a module either. the GENERIC kernel comes with the needed driver (called bt). You don't have to compile a new kernel, but you are going to have to replace the kernel on the disks with one containing the needed driver (like GENERIC). Either way, the recovery procedure involves booting off a CD and replacing the on disk kernel. -- Thanks, Josh Paetzel PGP: 8A48 EF36 5E9F 4EDA 5A8C 11B4 26F9 01F1 27AF AECB signature.asc Description: This is a digitally signed message part.
Re: Migrate harddisk with FreeBSD into new machine
In the last episode (Aug 14), C.M. Burns said: Derek Ragona schrieb: At 01:26 PM 8/14/2008, C.M. Burns wrote: I have a problem. A faulty machine was running freeBSD with a two harddisk software raid. now these two disks should be put into a new machine, but of course it won't boot because it is new hardware. Kernel just reports: cannot mount root device from /dev/mirror/gm0s1a (or sth like this). question is now, how can i add the correct driver into the initial ramdisk (if there is such a thing on bsd) so the machine finds the two drives? second question: how can i afterwards remove the software mirror and only use one harddisk from that moment on? any help is very welcom, as i have no idea about bsd. i am a linux guy ;) What I would do, is install FreeBSD onto a new separate hard disk. Disks are cheap. Once you get the boot disk installed you can create a custom kernel if necessary to support the RAID. maybe there is a way to use the loader prompt to manually load the module? it is a buslogic bt948 controller. i would rather not compile a new kernel :) I was going to suggest building the buslogic driver as a module and then loading it from floppy at the loader prompt, but it doesn't look like the bt driver is available in module form. Do you maybe have an Adaptec SCSI card you could use instead, at least until you can rebuild the kernel? I know modules for those are on the install CD (newer cards will be managed by the ahc or ahd drivers). -- 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]
RES: Very Slow Samba
Hi Derek, I don't use authentication on this server, no internet connection. Only 1 share and on this share everyone must have write permissions. re0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=399bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_UCAS T,WOL_MCAST,WOL_MAGIC ether 00:e0:4c:10:c9:75 inet 192.168.0.254 netmask 0xff00 broadcast 192.168.0.255 media: Ethernet autoselect (1000baseTX full-duplex) status: active It's a realtek gigabit pci card. 8169 chipset. -Mensagem original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Em nome de Derek Ragona Enviada em: quinta-feira, 14 de agosto de 2008 14:17 Para: Mauro Ribeiro - Class Consultoria e Assessoria; freebsd-questions@freebsd.org Assunto: Re: Very Slow Samba At 10:21 AM 8/14/2008, Mauro Ribeiro - Class Consultoria e Assessoria wrote: Hi All, I had migrated a Windows 2003 Server to a Samba Server (only for file share) We share only the company system. That's a 3mb Delphi .exe and a 1,5mb libmysql.dll. BTW, the system loads 4 .jpg files from the server. On our old Windows Server the system was very fast on Samba is damn slow. About 2 mins to load. I have no clue on what to do. Server Specs: Pentium 4 3.0Ghz 1GB RAM, FreeBSD 7.0-STABLE and Samba 3.0.28a. Here's is my smb.conf [global] workgroup = CLASS server string = Class Data Server security = share hosts allow = 192.168.0. load printers = yes printing = cups log file = /var/log/samba/log.%m max log size = 150 socket options = TCP_NODELAY interfaces = 192.168.0.0/24 dns proxy = no veto oplock files = /*.exe/*.dll/*.jpg/*.pdf/*.gif/ oplock break wait time = 1 debug level = 10 [Class] Comment = Class Browseable = Yes Writeable = Yes Force User = root create mask = 0777 path = /dados/samba/Class Guest ok = Yes fake oplocks = yes Best Regards, Mauro Ribeiro What network card is in this server? What are you using for authentication? -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] __ NOD32 3351 (20080813) Information __ This message was checked by NOD32 antivirus system. http://www.eset.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: RES: Very Slow Samba
At 03:22 PM 8/14/2008, Mauro Ribeiro - Class Consultoria e Assessoria wrote: Hi Derek, I don't use authentication on this server, no internet connection. Only 1 share and on this share everyone must have write permissions. re0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=399bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_UCAS T,WOL_MCAST,WOL_MAGIC ether 00:e0:4c:10:c9:75 inet 192.168.0.254 netmask 0xff00 broadcast 192.168.0.255 media: Ethernet autoselect (1000baseTX full-duplex) status: active It's a realtek gigabit pci card. 8169 chipset. First thing I'd do is replace the realtek. They are terrible especially under any load. Replace with a gigabit card from intel. Then see how it works. -Derek -Mensagem original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Em nome de Derek Ragona Enviada em: quinta-feira, 14 de agosto de 2008 14:17 Para: Mauro Ribeiro - Class Consultoria e Assessoria; freebsd-questions@freebsd.org Assunto: Re: Very Slow Samba At 10:21 AM 8/14/2008, Mauro Ribeiro - Class Consultoria e Assessoria wrote: Hi All, I had migrated a Windows 2003 Server to a Samba Server (only for file share) We share only the company system. That's a 3mb Delphi .exe and a 1,5mb libmysql.dll. BTW, the system loads 4 .jpg files from the server. On our old Windows Server the system was very fast on Samba is damn slow. About 2 mins to load. I have no clue on what to do. Server Specs: Pentium 4 3.0Ghz 1GB RAM, FreeBSD 7.0-STABLE and Samba 3.0.28a. Here's is my smb.conf [global] workgroup = CLASS server string = Class Data Server security = share hosts allow = 192.168.0. load printers = yes printing = cups log file = /var/log/samba/log.%m max log size = 150 socket options = TCP_NODELAY interfaces = 192.168.0.0/24 dns proxy = no veto oplock files = /*.exe/*.dll/*.jpg/*.pdf/*.gif/ oplock break wait time = 1 debug level = 10 [Class] Comment = Class Browseable = Yes Writeable = Yes Force User = root create mask = 0777 path = /dados/samba/Class Guest ok = Yes fake oplocks = yes Best Regards, Mauro Ribeiro What network card is in this server? What are you using for authentication? -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] __ NOD32 3351 (20080813) Information __ This message was checked by NOD32 antivirus system. http://www.eset.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Migrate harddisk with FreeBSD into new machine
Dan Nelson schrieb: In the last episode (Aug 14), C.M. Burns said: Derek Ragona schrieb: At 01:26 PM 8/14/2008, C.M. Burns wrote: I have a problem. A faulty machine was running freeBSD with a two harddisk software raid. now these two disks should be put into a new machine, but of course it won't boot because it is new hardware. Kernel just reports: cannot mount root device from /dev/mirror/gm0s1a (or sth like this). question is now, how can i add the correct driver into the initial ramdisk (if there is such a thing on bsd) so the machine finds the two drives? second question: how can i afterwards remove the software mirror and only use one harddisk from that moment on? any help is very welcom, as i have no idea about bsd. i am a linux guy ;) What I would do, is install FreeBSD onto a new separate hard disk. Disks are cheap. Once you get the boot disk installed you can create a custom kernel if necessary to support the RAID. maybe there is a way to use the loader prompt to manually load the module? it is a buslogic bt948 controller. i would rather not compile a new kernel :) I was going to suggest building the buslogic driver as a module and then loading it from floppy at the loader prompt, but it doesn't look like the bt driver is available in module form. Do you maybe have an Adaptec SCSI card you could use instead, at least until you can rebuild the kernel? I know modules for those are on the install CD (newer cards will be managed by the ahc or ahd drivers). I could switch to an LSI logic megaraid controller, but i have to check the version when i am back at work on monday. how can i load modules from floppy disk at loader prompt? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Migrate harddisk with FreeBSD into new machine
In the last episode (Aug 14), C.M. Burns said: Dan Nelson schrieb: In the last episode (Aug 14), C.M. Burns said: maybe there is a way to use the loader prompt to manually load the module? it is a buslogic bt948 controller. i would rather not compile a new kernel :) I was going to suggest building the buslogic driver as a module and then loading it from floppy at the loader prompt, but it doesn't look like the bt driver is available in module form. Do you maybe have an Adaptec SCSI card you could use instead, at least until you can rebuild the kernel? I know modules for those are on the install CD (newer cards will be managed by the ahc or ahd drivers). I could switch to an LSI logic megaraid controller, but i have to check the version when i am back at work on monday. how can i load modules from floppy disk at loader prompt? run lsdev to determine which bios device is your floppy (most likely disk0), then run load disk0:/amr.ko. The loader will read ufs, msdos, cd9660, and ext2 filesystems, so you could load the module from any number of sources. I don't know if the megaraid controller will make your two disks visible to the host without you configuring them for hardware raid, though. -- 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: Best SMTP Gateway Program and Reporting Tools
Hi Josh, On Tue, Aug 12, 2008 at 03:22:55PM -0500, Josh Kidd wrote: I just wanted to pose this question to the list on people's opinions as to what the best SMTP Gateway program (ie. Sendmail, Postfix, etc) is and what the best log analysis tool for that SMTP program is. All the advice from other messages stands. Each package has its benefits. Everbody knows and supports sendmail, but it's annoying to configure. Postfix is great, easy to configure, and now with milter support can do almost anything that Sendmail can. Smail and Exim users swear by their products, and I'm sure they're great (though I've never used either). Zmailer scales beautifully, though if you actually have enough traffic to take advantage of its scaling, you should buy another five mail servers. As for the best log analysis tool ... it's not free, but I absolutely adore Sawmill (http://www.sawmill.net/). It will support any and all log formats -- I currently use it with both Sendmail and Postfix logs. Highly recommended. And not very expensive. is our main requirement is to have a way to view the logs on a web based interface that will allow our system administrators when a customer complains they didn't receive an email to be able to go into the logs and search by date/time and view the activity for that period to determine if the mail went through our system or if it was blocked and if so why. Grep is your friend. Innovative use of grep, even. And if you use sendmail, here's a tool I wrote many many years ago that's had regular use over the years: http://www.it.ca/~paul/mailqgrep I haven't yet adapted it to Postfix logs. Trickier to parse. I've heard of and read about a few different programs like SMA and Anteater and pflogstats, but I don't know if these will have the functionality I need to allow admins to search logs for a specific date/time and/or specific phrase/address on a web based interface. Yup. The most detailed view of your log data is a direct one that you can get using grep. I don't know those other packages, but I do love Sawmill's web UI. (Hear that, Greg? I'm marketing for ya! ;] ) p -- Paul Chvostek [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Another No disks found during Install
Hello, I have a problem with the installation. I choose country, keyboard and then I can not continue installation, because it says No disks found! Please verify that your disk controller is being... Hardware: Acer Aspire M1641,Intel Pentium Dual Core E2180, nVidia GeForce 7050, sata-500 Here is what i get during boot sequence: (...cut...) hptrr: HPT RocketRAID controller driver v1.1 (Feb 24 2008 10:34:18) (...cut...) atapci0: nVidia nForce MCP73 UDMA133 controller port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 8.0 on pci0 ata0: ATA channel 0 on atapci0 ata0: [ITHREAD] ata1: ATA channel 1 on atapci0 ata1: [ITHREAD] (...cut...) I tried to install without success FreeBSD 7.0, 8.0, OpenBSD, NetBSD, and 4-5 Linux distros. Anyone an idea? Bernard ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Another No disks found during Install
At 04:29 PM 8/14/2008, Bernard Lecuire wrote: Hello, I have a problem with the installation. I choose country, keyboard and then I can not continue installation, because it says No disks found! Please verify that your disk controller is being... Hardware: Acer Aspire M1641,Intel Pentium Dual Core E2180, nVidia GeForce 7050, sata-500 Here is what i get during boot sequence: (...cut...) hptrr: HPT RocketRAID controller driver v1.1 (Feb 24 2008 10:34:18) (...cut...) atapci0: nVidia nForce MCP73 UDMA133 controller port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 8.0 on pci0 ata0: ATA channel 0 on atapci0 ata0: [ITHREAD] ata1: ATA channel 1 on atapci0 ata1: [ITHREAD] (...cut...) I tried to install without success FreeBSD 7.0, 8.0, OpenBSD, NetBSD, and 4-5 Linux distros. Anyone an idea? Bernard Did you try creating a raid array first? Most raid controllers will operate in RAID or pass through mode. Choose the mode you want, and create an array if you want before trying the install. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Unable to update transcode port
On Wednesday 13 August 2008 07:54:47 pm Clint Olsen wrote: Hi: I've not been able to upgrade my transcode port for some time. It eventually fails with: ERROR: requirement failed: cannot link against libavcodec libavcodec can be found in the following packages: FFmpeg http://www.ffmpeg.org/ Do you have ffmpeg installed? Is it up-to-date? Are you using any WITH or WITHOUT knobs for the make? I can't tell from the output you provided if this is relevant, but I recently had to install the archivers/lzo2 port before I could get ffmpeg upgraded (on one machine) or transcode installed (on another). Give that a shot. Please see the INSTALL file in the top directory of the transcode sources for more information about building transcode with this configure script. === Script configure failed unexpectedly. Please report the problem to [EMAIL PROTECTED] [maintainer] and attach the /usr/ports/multimedia/transcode/work/transcode-1.0.6/config.log including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. an `ls /var/db/pkg`). *** Error code 1 Stop in /usr/ports/multimedia/transcode. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.14149.0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=transcode-1.0.5_3 UPGRADE_PORT_VER=1.0.5_3 make ** Fix the problem and try again. ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! multimedia/transcode (transcode-1.0.5_3) (unknown build error) JN ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: question -updating package + ignore depend
actually I only installed ff2 cuz it was easier at the time - since i only ran into this while trying to update other parts of my system (thru pkg_add) and had other things to worry about. since ff3 runs flash ok, that's enough for me, and seems everything else is improving from what mike mentionsl so i still would like to figure out what you are trying to explain. I mean i only limit myself to *make install clean* when it comes to ports and hope for the best. i brushed thru the porter's handbook when i got stuck with ff2 to see how to ignore it (which didn't work anyway) and have a basic idea of what you are saying, but it is still a bit chinese to me. long story short, i had to scrap that system and start from scratch since then, so i will still have to go thru this and figure it out shortly, not just for the sake of ff right now but any future issues with ports; so i don't know if you want to follow up, try this out, or see what happens my end. while i'm at it, and for the record, after ff i ran into something else much more annoying and a bit comical to some extent. i was trying to install azureus, which needs jdk and the java files manually downloaded, which is not a small package. i went out and let it run, only to come back a few hours later and find it still building - and had to wait another long time for it to finish. meanwhile i noticed the word mozilla rushing by and was wondering *what the heck* since both firefox2+3 were up to date. when it finished i realized it was plain old mozilla, which isn't small, ran it, only to find this has known vulnerabilities and security issues, please install firefox and thunder $#$^$#$% ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
$ORIGIN problem in freebsd 6.2
Hi all, I have a problem with the runtime library linking on freebsd6.2_ix86... My executable file is linked to the others shared libraries (on compile time) and for the runtime, rpath was set to $ORIGIN( i checked this and with 'readelf' utility). Now, the issue is why, when i try to run my executable, the shared libraries cannot be found although all needed libraries are in the same path to the executable?The same thing result and after running 'ldd myexecutable' command, none library is find... I realize that the $ORIGIN variable is ignored or unknown after I change the rpath with the entire path to the shared libraries and then everything goes properly. Is here another solution to set up the search path to the same dir with the executable?...or I must to update my /libexec/ld-elf.so.1 and my 'ld' utility(the version of ld is 2.15) Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: $ORIGIN problem in freebsd 6.2
Bonjour-- On Aug 14, 2008, at 3:03 PM, Oancea Ionut-Francisc wrote: Is here another solution to set up the search path to the same dir with the executable?...or I must to update my /libexec/ld-elf.so. 1 and my 'ld' utility(the version of ld is 2.15) It's likely that man ldconfig or setting $LD_LIBRARY_PATH env variable can resolve your missing shared libraries... Regards, -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
rc.d ?
hi all... i used to be able to put startup scripts in /usr/local/etc/rc.d/. now on a new 7 install i have the scripts there but after restart nothing happens using the example here: http://www.freebsd.org/doc/en/books/handbook/configtuning-starting-services.html any particular reason? thanks.. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: rc.d ?
On Thu, 14 Aug 2008, kalin m wrote: hi all... i used to be able to put startup scripts in /usr/local/etc/rc.d/. now on a new 7 install i have the scripts there but after restart nothing happens using the example here: http://www.freebsd.org/doc/en/books/handbook/configtuning-starting-services.html any particular reason? Do you have: local_startup=/usr/local/etc/rc.d in /etc/rc.conf ?? -d ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: rc.d ?
it's not in /etc/rc.conf... it's in /etc/default/rc.conf like this: local_startup=/usr/local/etc/rc.d # startup script dirs. script_name_sep= # Change if your startup scripts' names contain spaces rc_conf_files=/etc/rc.conf /etc/rc.conf.local there is no /etc/rc.conf.local.. i've never used one before Duane Hill wrote: On Thu, 14 Aug 2008, kalin m wrote: hi all... i used to be able to put startup scripts in /usr/local/etc/rc.d/. now on a new 7 install i have the scripts there but after restart nothing happens using the example here: http://www.freebsd.org/doc/en/books/handbook/configtuning-starting-services.html any particular reason? Do you have: local_startup=/usr/local/etc/rc.d in /etc/rc.conf ?? -d ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: rc.d ?
On Friday 15 August 2008 00:21:40 kalin m wrote: it's not in /etc/rc.conf... it's in /etc/default/rc.conf like this: local_startup=/usr/local/etc/rc.d # startup script dirs. script_name_sep= # Change if your startup scripts' names contain spaces rc_conf_files=/etc/rc.conf /etc/rc.conf.local there is no /etc/rc.conf.local.. i've never used one before I believe I had to create /etc/rc.conf.local but I have one. [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: postgres: [2-1] FATAL: the database is starting up
On Thu, Aug 14, 2008 at 8:21 PM, cpghost [EMAIL PROTECTED] wrote: On Thu, Aug 14, 2008 at 09:59:57AM +0700, fire jotawski wrote: hi sirs, apologize me for disturbing the list but i faced the strange problem that i can not understand every times i boot my machine. every time i boot the machine i always get the message that says postgres[pid]: [2-1] FATAL: the database system is starting later on after logged in as root, i check for process, i found the postgresql has been started . so what the reason for the message at during start up then. IIRC, PostgreSQL always starts with this FATAL message. It still works flawlessly nonetheless. If there are no other FATAL messages, this one may not be a reason for concern. yes, it was just that but some time it did not happen some time it did. You may want to read this as well: http://archives.postgresql.org/pgsql-general/2007-12/msg01339.php thanks indeed for this informations. i do not use -w flag and there is no error now. thanks to all of you and thanks to the list too. Regards, -cpghost. with best regards, psr -- Cordula's Web. http://www.cordula.ws/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: rc.d ?
On Fri, 15 Aug 2008 09:31 am, kalin m wrote: hi all... i used to be able to put startup scripts in /usr/local/etc/rc.d/. now on a new 7 install i have the scripts there but after restart nothing happens Most startup scripts now require a line: enable_whatever=YES in rc.conf before they will run. This is also usually now the case also with scripts in /usr/local/etc/rc.d Usually comment lines near the beginning of the script will elaborate enable_whatever Malcolm using the example here: http://www.freebsd.org/doc/en/books/handbook/configtuning-star ting-services.html any particular reason? thanks.. ___ 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: rc.d ?
On Friday 15 August 2008 02:24:27 Malcolm Kay wrote: On Fri, 15 Aug 2008 09:31 am, kalin m wrote: hi all... i used to be able to put startup scripts in /usr/local/etc/rc.d/. now on a new 7 install i have the scripts there but after restart nothing happens Most startup scripts now require a line: enable_whatever=YES in rc.conf before they will run. This is also usually now the case also with scripts in /usr/local/etc/rc.d Usually comment lines near the beginning of the script will elaborate enable_whatever [EMAIL PROTECTED] I put my own settings in /etc/rc.conf.local so that they will not be overwritten when I upgrade the system. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
PGP export question
I use gpg 1.4.9, $gpg --list-keys /home/edward/.gnupg/pubring.gpg then I want to export pubkey, $gpg -armor --export keyID pubkey.asc gpg:WARNING: nothing exported This content of pubkey.asc is empty,why I can't export the pubkey? Thanks -- Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s) is intended only for the use of the intended recipient and may be confidential and/or privileged of Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication is not the intended recipient, unauthorized use, forwarding, printing, storing, disclosure or copying is strictly prohibited, and may be unlawful. If you have received this communication in error, please immediately notify the sender by return e-mail, and delete the original message and all copies from your system. Thank you. --- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: PGP export question
On Friday 15 August 2008 02:54:54 EdwardKing wrote: I use gpg 1.4.9, $gpg --list-keys /home/edward/.gnupg/pubring.gpg then I want to export pubkey, $gpg -armor --export keyID pubkey.asc gpg:WARNING: nothing exported This content of pubkey.asc is empty,why I can't export the pubkey? try 'gpg --export -a keyID pubkey.asc' ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
transcode doesn't build....
Hi Y'all:-) About the only thing that fails to portupgrade is multimedia/transcode [v 1.0.6]. I've poked around, but only superficially. Is there a bug report on this? Should I have checked online further? Please excuse if so. This is the first time that things have hung up and that I have not been able to resolve. thanks in advance, gary -- Gary Kline [EMAIL PROTECTED] http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Dial Up-connection setting in FreeBSD
Hi People ; How can I configure a dialup connection for my FreeBSD7.0 (IBMT43-ThinkPad machine with Gnome2.20). which is the file /GUI application for configuring a dial up conection in FreeBSD. Thanks in advance for you valuable hints /tips . Thank you all Dhanesh. _ From salsa lessons to filmy gossip, news to music concerts - watch it all on MSN Video http://video.msn.com/?mkt=en-in___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]