Slight problem with pinentry / gnupg
Hello, It seems I have a slight problem when trying to issue a simple pgp command such as : # gpg -v --detach-sign -a tmp.txt ┌─── ─┐ │ You need a passphrase to unlock the secret key for user: │ │ "Greg Bernard <[EMAIL PROTECTED]>"│ │ 1024-bit DSA key, ID 1BA3C2FD, created 2002-01-14 │ │ │ │ Passphrase *_ │ │ │ │ │ └─── ─┘ pinentry in free(): error: chunk is already free gpg-agent[4248]: command get_passphrase failed: End of file gpg: problem with the agent: IPC write error gpg: Invalid passphrase; please try again ... You need a passphrase to unlock the secret key for user: "Greg Bernard <[EMAIL PROTECTED]>" 1024-bit DSA key, ID 1BA3C2FD, created 2002-01-14 gpg: problem with the agent: IPC write error gpg: no default secret key: General error gpg: signing failed: General error Any idea ?? Googling around, I have found a bug reported as : a ports/79351 lofi Character passing error in security/ pinentry-qt Which seems to be the same as my problem ?? Gregober ---> PGP ID --> 0x1BA3C2FD bsd @at@ todoo.biz P "Please consider your environmental responsibility before printing this e-mail" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
PHP4 v. php4-4.4.7_2 refuse to upgrade …
Hello, I am using FreeBSD xxx.fr 5.5-RELEASE-p9 FreeBSD 5.5-RELEASE-p9 #1: Thu Dec 14 11:39:18 CET 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/ GENERIC i386 When trying to upgrade from php php4-4.4.7_1 to php4-4.4.7_2 there is this strange error… Updating the pkgdb in /var/db/pkg ... - 209 packages found (-3 +1) (...). done] ---> Upgrading 'php4-4.4.7_1' to 'php4-4.4.7_2' (lang/php4) ---> Building '/usr/ports/lang/php4' ===> Cleaning for autoconf-2.61_2 ===> Cleaning for php4-4.4.7_2 ===> php4-4.4.7_2 has known vulnerabilities: => php -- multiple vulnerabilities. Reference: <http://www.FreeBSD.org/ports/portaudit/ 71d903fc-602d-11dc-898c-001921ab2fa4.html> => Please update your ports tree and try again. *** Error code 1 Stop in /usr/ports/lang/php4. *** Error code 1 Stop in /usr/ports/lang/php4. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade. 24846.54 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=php4-4.4.7_1 UPGRADE_PORT_VER=4.4.7_1 make ** Fix the problem and try again. I don't understand because my port tree is up to date !! Any idea ? ¯¯¯¯¯¯¯¯ Gregober ---> PGP ID --> 0x1BA3C2FD bsd @at@ todoo.biz P "Please consider your environmental responsibility before printing this e-mail" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Problem with pinentry-curses On FBSD 5.5…
Hello, As you are the developer for this port, I thaught you could help… I am still having this problem with pinentry-curses 0.7.3 : pinentry in free(): error: chunk is already free gpg-agent[24082]: command get_passphrase failed: End of file gpg: problem with the agent: IPC write error gpg: Invalid passphrase; please try again ... You need a passphrase to unlock the secret key for user: "Greg Bernard <[EMAIL PROTECTED]>" 1024-bit DSA key, ID 1BA3C2FD, created 2002-01-14 gpg: problem with the agent: IPC write error gpg: no default secret key: General error gpg: signing failed: General error Works perfectly on my OS X machine but not on FreeBSD… My passphrase has not changed ! Any clue ? Gregober ---> PGP ID --> 0x1BA3C2FD bsd @at@ todoo.biz P "Please consider your environmental responsibility before printing this e-mail" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: named problems
Bind works perfectly out of the box on most FBSD recent versions. You should not move things out of the path they have been setup to. Specially on FBSD /etc is reserved for system files. By default bind is installed in /var/named and should be kept there. If I was you I would : 1. install the latest bind version from the port // 2. make sure you don't touch things unless absolutely necessary. 3. copy paste of modify the /var/named/etc/namedb/named.conf so that It corresponds to your needs. 4. make sure the /etc/rc.conf has the correct "named" values. 5. start it with the /usr/local/etc/rc.d/ script for named // Been runing this one with 1000 zones as both masters and slave never had any problem. If you have more issue could give you a help on debuging bind. My advice : STICK TO THE FBSD RULES AND PATH unless you perfectly know what you are doing. Le 25 nov. 07 à 20:19, jekillen a écrit : Hello; I am having some named problems: The daemon will not start and run on system startup. There is plenty of info on problems when named is running, but not when it will not start. I did get it to start after boot with #named (su to root without - option) It started and ran as demonstrated with ps -aux. But the listing was just user (me as mortal user) and named as process (not as a path to an executable, as is normal for other processes). The console messages at start up gives me configuration file not found errors. The files are there. /etc/namedb/named.conf, rndc.key /etc/namedb is a link to /var/named/etc/namedb where the config files are. It is set up to be a slave server for four domains. How can I go about debugging this situation? My suspicions are ownership and permissions are wrong, but how, and how to fix; ?? Thanks in advance Jeff k Gregober ---> PGP ID --> 0x1BA3C2FD bsd @at@ todoo.biz P "Please consider your environmental responsibility before printing this e-mail" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Calculating checksum in ports
Hello, There is a way to calculate the checksum in ports using make with an argument… I can't remember the name of the argument… Gregober ---> PGP ID --> 0x1BA3C2FD bsd @at@ todoo.biz P "Please consider your environmental responsibility before printing this e-mail" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Kernel Panic (obelix)
Hi folks! I have had two kernel panics in quick succession, after being stable for 6 months. Strange The box is quite up to date on the 4 Stable branch: # uname -v FreeBSD 4.9-RELEASE-p1 #0: Fri Nov 28 09:49:42 SAST 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/obelix Suddenly it has crashed twice in less than 8 hours. The last crash was Dec 9 16:09. I have put a stack trace from gdb at http://docs.perimeter.co.za/crash/2003-12/20031209_1609_a. Any pointers would be much appreciated. Regards, Patrick. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Kernel Panic (obelix)
As expected - it crashed again today at 14:21... Stack trace at http://docs.perimeter.co.za/crash/2003-12/20031210_1421_a. HHeeeppp !:) Regards, Patrick. [EMAIL PROTECTED] writes: Hi folks! I have had two kernel panics in quick succession, after being stable for 6 months. Strange The box is quite up to date on the 4 Stable branch: # uname -v FreeBSD 4.9-RELEASE-p1 #0: Fri Nov 28 09:49:42 SAST 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/obelix Suddenly it has crashed twice in less than 8 hours. The last crash was Dec 9 16:09. I have put a stack trace from gdb at http://docs.perimeter.co.za/crash/2003-12/20031209_1609_a. Any pointers would be much appreciated. Regards, ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Moving to freebsd firewall for a small DataCenter network
Hello, I have been using FreeBSD for many years as a server and have based most of my hosting services on this fantastic OS. Since three years I have been using SonicWall firewall as a firewall device. As my hosting services are growing, It seems that the SonicWall device is quite "light" for what I am doing. I have now 10 servers hosted on one uniq /28 network with direct connexion to the Net. I was wondering if there is a good if possible "integrated" firewall device running on FreeBSD. I have deployed local firewall on each of my servers based on ipf. Works great, but I am not sure I want to dig all the time into a file based config, little visual interface could ease my pain… (of course this is optional). I would like something quite strong but simple that I could deploy on a small 1U server or dedicated device. Any pointer / howto / feed back on experience will be most welcome. Something similar to this could be nice: http://www.untangle.com/ Thanks for your support. Gregober ---> PGP ID --> 0x1BA3C2FD bsd @at@ todoo.biz P "Please consider your environmental responsibility before printing this e-mail" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
scripting text replacement
Sorry for this cross posting, but I can not find a good "bash" mailing list… I am certain FreeBSD gurus will provide me with a fast and reliable answer to this little question. Here is the deal: - I have a file containing a list of items like that: line1item1 line1item2 line1item3 line2item1 line2item2 line2item3 …400 times I need to insert this into another text file using printf() items should be converted into variable looping… like that: printf "Bla bla bla $1 bla bla $2 bla bla $3 bla bla $2" The main thing is that I can not get $1 $2 $3 to correspond to line1item1 line1item2 line1item3 Any good idea or example will be welcome. Gregober ---> PGP ID --> 0x1BA3C2FD bsd @at@ todoo.biz P "Please consider your environmental responsibility before printing this e-mail" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Delay startup of services in rc.conf || elswhere
Hello, I have a server configured to start 10 services at startup (in /etc/ rc.conf) Unfortunately, the startup of MySQL seems to be returning "ok" before It actually has started completely the program… the next program rely on MySQL and does not start well because the database is not "fully" started. I would like to introduce something like a "sleep 10" timer in the service startup process… How can I do that? Gregober ---> PGP ID --> 0x1BA3C2FD bsd @at@ todoo.biz P "Please consider your environmental responsibility before printing this e-mail" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
7.0-RELEASE-p6 problem amd64 daemonology
Hello I have updated my server (Intel Modular server) using the classical # freebsd-update install And I am now facing very weired issues only on amd64 servers I am maintaining. Servers boots and then freezes when It launch "ipfilter". This is not a low level freeze, simply all access to the server are disabled. - Single user boot does not work. - SSH access does not work either. These servers were working perfectly before this update… --- What would you suggest to get out of this situation… 1. Rollback to the 7.0-RELEASE-p5 which was stable and worked well. --> If so how can I access the server knowing that single user mode does not work? --> Can you describe me the stages I would have to go through - I am not very used to this kind of situations. 2. Deactivate ipfilter (is there a way to do that at boot time without editing /etc/rc.conf ) ? 3. Deactivate all services at boot time (is there a way of bypassing at boot time the rc.conf file) ? Thanks for your support. Gregober ---> PGP ID --> 0x1BA3C2FD bsd @at@ todoo.biz P "Please consider your environmental responsibility before printing this e-mail" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: 7.0-RELEASE-p6 problem amd64 daemonology
Hello, I think you all deserve a clear information about what has been going on today. After the update of all servers to P-6 - the server could not be booted normaly - in fact they did boot but after that they didn't get back with the prompt… So I ended up in a "dead end". As I was working last weeks with the engineers that helped me setup the hardware (and as Intel didn't have a right guideline specifying that TCP ports needed to be opened) - I have ended up mofidying a little parameter in /boot/loader.conf that was aimed to redirect the console to "vidconsole" & "comconsole". This little parameter seems to have caused a conflict with the KVM of intel which probably uses the same redirect or blocked us from receiving the output (even from ssh). It took me quite a long time to figure out what was going on as I suspected other problems to have happened. This has all the symptoms of a system freeze, but services were launched (at least some of them)… I have found the solution by booting using a low level prompt that has allowed me to pass the parameter "set console=comconsole" and all went back to normal. Quite firghtening, but finaly armless. Le 25 nov. 08 à 16:27, bsd a écrit : Hello I have updated my server (Intel Modular server) using the classical # freebsd-update install And I am now facing very weired issues only on amd64 servers I am maintaining. Servers boots and then freezes when It launch "ipfilter". This is not a low level freeze, simply all access to the server are disabled. - Single user boot does not work. - SSH access does not work either. These servers were working perfectly before this update… --- What would you suggest to get out of this situation… 1. Rollback to the 7.0-RELEASE-p5 which was stable and worked well. --> If so how can I access the server knowing that single user mode does not work? --> Can you describe me the stages I would have to go through - I am not very used to this kind of situations. 2. Deactivate ipfilter (is there a way to do that at boot time without editing /etc/rc.conf ) ? 3. Deactivate all services at boot time (is there a way of bypassing at boot time the rc.conf file) ? Thanks for your support. ¯¯¯¯¯¯¯¯ Gregober ---> PGP ID --> 0x1BA3C2FD bsd @at@ todoo.biz P "Please consider your environmental responsibility before printing this e-mail" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED] " Gregober ---> PGP ID --> 0x1BA3C2FD bsd @at@ todoo.biz P "Please consider your environmental responsibility before printing this e-mail" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Swap and memory optimization
Hello, I have a FBSD 6.4p7 box that I use as a mail server - 1Go RAM - RAID1 Works quite well. As I plan to put 100 more mail accounts soon on the server I was wondering if the memory & swap was ok on the server considering these figures: last pid: 18956; load averages: 0.04, 0.11, 0.05 up 19+08:36:23 09:53:38 125 processes: 1 running, 124 sleeping CPU: 0.0% user, 0.0% nice, 1.5% system, 0.4% interrupt, 98.1% idle Mem: 499M Active, 70M Inact, 362M Wired, 41M Cache, 111M Buf, 20M Free Swap: 2000M Total, 160M Used, 1840M Free, 8% Inuse Though It looks good to me - the server swaps a bit (between 8 to 14%) and there is not much memory left. Let me know what you think about these figures. Thanks. Gregober ---> PGP ID --> 0x1BA3C2FD bsd @at@ todoo.biz P "Please consider your environmental responsibility before printing this e-mail" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
incremental FTP backup program
Hello, I have been provided with a 1To backup space by my hosting company… unfortunately It is only accessible by FTP which does not allow me to do the regular backup / restore I use to do using RSYNC. What are the options I have in order to do the backup / restore of the files knowing that : 1. I would like to have a time based backup solution (incremental with sub-folder for daily backup so I can restore files from xxx days ago). 2. I need to use ftp as a transport 3. Some of my servers have limited space so doing a local sync then FTP will not be possible. 4. If possible I would like a bullet proof solution ideally "well known" | tested and available from the port tree. In fact what I would be looking for is something like "rsnapshot" but with FTP transport / compatibility. Thanks for your answer(s). Gregober ---> PGP ID --> 0x1BA3C2FD bsd @at@ todoo.biz P "Please consider your environmental responsibility before printing this e-mail" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: incremental FTP backup program
Are there any specific scripting tools that I could use in order to achieve that ? From what you are describing a tool that would automate the dump process and take care of snapshots versions would be a must… ?? Any idea ? Le 17 déc. 2009 à 18:12, Roland Smith a écrit : > On Thu, Dec 17, 2009 at 05:29:54PM +0100, bsd wrote: >> Hello, >> >> I have been provided with a 1To backup space by my hosting company… >> unfortunately It is only accessible by FTP which does not allow me to do the >> regular backup / restore I use to do using RSYNC. >> >> >> What are the options I have in order to do the backup / restore of the files >> knowing that : >> >> 1. I would like to have a time based backup solution (incremental with >> sub-folder for daily backup so I can restore files from xxx days ago). >> >> 2. I need to use ftp as a transport >> >> 3. Some of my servers have limited space so doing a local sync then FTP will >> not be possible. >> >> 4. If possible I would like a bullet proof solution ideally "well known" | >> tested and available from the port tree. > > There are several avenues available even with the tools in the base system. > > One of those is to use dump(8), assuming you are using UFS filesystems, of > course. Make regular dumps (of different levels), compress them using > bzip2(1), encrypt the compressed dumpfiles using openssl(1) (do _not_ use > crypt(1)!) and use ftp(1) to transfer them to the hosting company. > > Another way is to use mtree(8). You can use this to generate a file > containing the > state of a filesystem hierarchy. Running it against a previously saved > specification can yield a list of files that have changed. Use tar and bzip2 > to create an archive of the files that have changed. Encrypt and send same as > above. > > All these programs come with the base system, you would just need to script > them. > > 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) Gregober ---> PGP ID --> 0x1BA3C2FD bsd @at@ todoo.biz P "Please consider your environmental responsibility before printing this e-mail" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: incremental FTP backup program
Thanks Manfred ! This program really rocks. Backup up are fast and efficient… Learning curve is not so steep, seems very good to me. Encrypts backup with GPG; looks perfect. Thx everyone for your answers. Le 18 déc. 2009 à 10:16, Manfred Usselmann a écrit : > On Thu, 17 Dec 2009 17:29:54 +0100 > bsd wrote: > >> Hello, >> >> I have been provided with a 1To backup space by my hosting company… >> unfortunately It is only accessible by FTP which does not allow me to >> do the regular backup / restore I use to do using RSYNC. >> >> >> What are the options I have in order to do the backup / restore of >> the files knowing that : >> >> 1. I would like to have a time based backup solution (incremental >> with sub-folder for daily backup so I can restore files from xxx days >> ago). >> >> 2. I need to use ftp as a transport >> >> 3. Some of my servers have limited space so doing a local sync then >> FTP will not be possible. >> >> 4. If possible I would like a bullet proof solution ideally "well >> known" | tested and available from the port tree. >> >> >> In fact what I would be looking for is something like "rsnapshot" but >> with FTP transport / compatibility. > > Have a look at duplicity (http://duplicity.nongnu.org/). It can use ftp > as transport and uses the rsync algorithm so only the changed parts of > files are sent to the archive when doing an incremental backup. > > Manfred > > > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" Gregober ---> PGP ID --> 0x1BA3C2FD bsd @at@ todoo.biz P "Please consider your environmental responsibility before printing this e-mail" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Restoreing Dump on FreeBSD headless server
Hello folks, I would like to know how to proceed in order to restore a dump from a backup headless server (remotely using ssh). How am I supposed to proceed, should I first install the server (a FreeBSD Fresh install with spare partition) then restore the dump on an empty partition ? Should the new empty partition be the exact same size as the dumped partition ? Is there a tool that could allow me to restore remotely ? Any advice or howto will be (very) welcome. Thanks. P.S. Happy new BSD year !! Gregober ---> PGP ID --> 0x1BA3C2FD bsd @at@ todoo.biz P "Please consider your environmental responsibility before printing this e-mail" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Restoreing Dump on FreeBSD headless server
Le 4 janv. 2010 à 19:56, Jerry McAllister a écrit : > On Mon, Jan 04, 2010 at 07:08:51PM +0100, bsd wrote: > >> Hello folks, >> >> >> I would like to know how to proceed in order to restore a dump from a >> backup headless server (remotely using ssh). > >> How am I supposed to proceed, should I first install the server (a FreeBSD >> Fresh install with spare partition) then restore the dump on an empty >> partition ? > > Depends on what you have and what you want to restore. > Is the reason for the restore because the old disk went belly up? > Or did you just nuke some stuff accidently. Is the restore the > boot disk or an extra work disk? Well, to tell you the truth: I am using a remote backup solution since 2.5 years and the provider has just told me that he would no longer support my hardware so I need to rebuild a new server based on my previous config > > In the first case, yes you will need to create something on the disk - > some sort of filesystem. Probably that would mean using a fixit > image to boot and do an fdisk(8), bsdlabel(8) and newfs(8). Ok, I think the server I will install that on might use some sort of virtual KVM that could allow me to do that > > It the second case, the filesystem[s] is[are] still intact and you > only need to do an 'interactive' restore of just the files you want. > IF you are doing an intereactive restore and if you have room, it may > be easiest to copy the whole dump file over to some big space on the > system and run the restore from that copy. Then you can just ssh in > and run it just as if it was setting beside you. > > The same might not be true if you are replacing a destroyed disk > because the restore will be a complete one and no file selecting > will be necessary. > > If you cannot get physical contact with the machine, and the disk was > damaged and replaced, you may have to learn how to do a network boot > and install. I have never had to do that so am not a good one to guide > that process. Well my idea was to rebuild the new server based on the dump I have realised (in order to save me the time to do the reinstall). But from what you are telling me It might not be so easy > > In either case of having to create slices, partitions and filesystems, > you do not have to do a complete system install. You need to do just > enough building to have the filesystems created and mountable. Yes but how should I partition that ? Should I re-create the / /var /usr /tmp or / with minimal system and re-create the mapping with nothing on slice. > The fixit > is just fine for that. If you can get that going remotely, then > do the fdisk, bsdlabel and newfs-s from that and then restore from > the dump to the new filesystems. Ok, that should be the good path > Forget about doing a real install. > >> >> Should the new empty partition be the exact same size as the dumped >> partition ? > > It just has to be large enough to hold what you restore. > In fact, it is a good time to increase or adjust filesystem sizes if > you have more room on the replacement disk. Good > >> >> Is there a tool that could allow me to restore remotely ? >> > > You can use rsh(1). I have done that. > Probably some specific ssh method too, but I am so old I haven't > done one with that new fangled secure ssh yet... Ok. Thanks. > > jerry > > >> >> Any advice or howto will be (very) welcome. >> >> >> Thanks. >> >> >> P.S. Happy new BSD year !! >> >> >> >> Gregober ---> PGP ID --> 0x1BA3C2FD >> bsd @at@ todoo.biz >> >> >> P "Please consider your environmental responsibility before printing this >> e-mail" >> >> >> ___ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" >> Gregober ---> PGP ID --> 0x1BA3C2FD bsd @at@ todoo.biz P "Please consider your environmental responsibility before printing this e-mail" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Restoreing Dump on FreeBSD headless server
Le 4 janv. 2010 à 22:36, Jerry McAllister a écrit : > On Mon, Jan 04, 2010 at 08:42:33PM +0100, bsd wrote: > >> >> Le 4 janv. 2010 à 19:56, Jerry McAllister a écrit : >> >>> On Mon, Jan 04, 2010 at 07:08:51PM +0100, bsd wrote: >>> >>>> Hello folks, >>>> >>>> >>>> I would like to know how to proceed in order to restore a dump from a >>>> backup headless server (remotely using ssh). >>> >>>> How am I supposed to proceed, should I first install the server (a FreeBSD >>>> Fresh install with spare partition) then restore the dump on an empty >>>> partition ? >>> >>> Depends on what you have and what you want to restore. >>> Is the reason for the restore because the old disk went belly up? >>> Or did you just nuke some stuff accidently. Is the restore the >>> boot disk or an extra work disk? >> >> Well, to tell you the truth: I am using a remote backup solution since 2.5 >> years and the provider has just told me that he would no longer support >> my hardware so I need to rebuild a new server based on my previous config > > I am not clear on what you mean by a 'remote backup solution' - do you > mean that you are using dump(8) but writing to some remote device or > do you mean you are using some '3rd party' backup software/hardware > that your provider/hoster is supplying? I am using dump(8). I have successfully created a backup of all major partition of my server which is now secured on a remote HD. > > >>> In the first case, yes you will need to create something on the disk - >>> some sort of filesystem. Probably that would mean using a fixit >>> image to boot and do an fdisk(8), bsdlabel(8) and newfs(8). >> > >> Ok, I think the server I will install that on might use some sort of >> virtual KVM that could allow me to do that > > Well, that could be helpful. It should give you a console type access > which is convenient in installation situations. Does that 'KVM' > supply the backup device too, or talk to it directly? I haven't tried It so I don't know what functionnality It offers… But I guess I might start a fresh install from that console… At which point should I do the restore(8) in the install process ? > >>> >>> It the second case, the filesystem[s] is[are] still intact and you >>> only need to do an 'interactive' restore of just the files you want. >>> IF you are doing an intereactive restore and if you have room, it may >>> be easiest to copy the whole dump file over to some big space on the >>> system and run the restore from that copy. Then you can just ssh in >>> and run it just as if it was setting beside you. >>> >>> The same might not be true if you are replacing a destroyed disk >>> because the restore will be a complete one and no file selecting >>> will be necessary. >>> >>> If you cannot get physical contact with the machine, and the disk was >>> damaged and replaced, you may have to learn how to do a network boot >>> and install. I have never had to do that so am not a good one to guide >>> that process. >> > >> Well my idea was to rebuild the new server based on the dump I have >> realised (in order to save me the time to do the reinstall). >> But from what you are telling me It might not be so easy > > I am not clear again just what you are meaning by 'based on the dump > I have realised'. Do you mean that you would keep the filesystem > structure you have already? IS there a dump file/tape for each > filesystem in the old system? Dump is stored on a remote HD. There is one dump file per partition (not for /tmp). > > If that is what you mean, good. There is no harm in keeping the > old filesystem structure if it was working for you. Take a look > at how much is used in each filesystem and think if you need to > change the size. But, that is just a detail of sizing the partitions > and not a critical structure consideration. If the new system has > larger disk, then you can make use of it just by making bigger > partitions where they are needed. Ok. > > >>> >>> In either case of having to create slices, partitions and filesystems, >>> you do not have to do a complete system install. You need to do just >>> enough building to have the filesystems created and mountable. >> >> Yes but how should I partition that ? >> >> Should I re-create the >> >> /
re-installing a port to a specific version
Hello, I am re-installing a server where I have an old version of slony installed (db replication for postgresql)… I am keeping my port tree up to date with portmaster (I have added an +IGNOREME file in order to avoid updates on this specific port). I have to change server, a new server has been installed with a fresh BSD install. I want to know how i can copy, or re-install this specific port… I have in my possession : 1. the distfiles located on the running server in /usr/ports/distfiles/slony.xx 2. a newer version of the Makefile (couple of version ahead)… Any idea or clue on how to reinstall this port to this specific version. Thx. P.S. I know there is a solution that consist to sync the port tree to the specific date (of version xxx of slony) and then compile, but this is quite heavy manipulation… If I could avoid that, It'd be great; Gregober ---> PGP ID --> 0x1BA3C2FD bsd @at@ todoo.biz P "Please consider your environmental responsibility before printing this e-mail" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
freebsd-update moving from GENERIC to SMP
Hello, I have updated my server yesterday from 5.5 to 6.3 using the cvsup classical method. Everything went fine but I forgot to deploy an SMP kernel :-( Is there a way to deploy a 6.3 SMP using freebsd-update method (which is fantastic). Thanks for your answer. Gregober ---> PGP ID --> 0x1BA3C2FD bsd @at@ todoo.biz P "Please consider your environmental responsibility before printing this e-mail" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
portupgrade -fa after system upgrade from 5.5 to 6.3
Hello, I have updated from 5.5 to 6.3 and wanted to know if It advisable to make a : # potupgrade -fa Knowing that I have kept my port tree up to date and have no outdated ports. Simply put, the question is: should I force recompile all my installed ports since I have updated my system? Thanks for your answer. Gregober ---> PGP ID --> 0x1BA3C2FD bsd @at@ todoo.biz P "Please consider your environmental responsibility before printing this e-mail" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Planing hardware / software for a potential gro wfs…
Hello, I am planning to setup various services (including mail server, DNS server, hosting / web services) that could potentially grow in a very important way. As a resonable person - I would like to plan It for my actual needs (suiting the first year of exploitation = 1Tb) and after that eventually grow the file system using the most simple and less anoying solution… I wanted to have your point of view on the potential way to build the best hosting solution, knowing that most important things are: - Use (if possible) a 100% compatible FBSD solution. - Also be compatbile with other flavor of Unix (Linux,…). - Offer an expandable and simple to manage solution for storage. - Figure out a good solution for backup. Today I have 2 solutions in mind: 1. Use a blade system including 2 or 3 blades at first with an external attached storage device (whom type has to be defined); 2. Use various servers on their own and dispatch services accordingly on each server. 3. Another solution… I wanted to know: - If anyone has been using blade system with FreeBSD and what problem he has been facing? - If you have some specific advise regarding File System configuration or options? - What storage solution you find best and easiest to manage? Main point is: stability and sustainable. Thanks for your support. Gregober ---> PGP ID --> 0x1BA3C2FD bsd @at@ todoo.biz P "Please consider your environmental responsibility before printing this e-mail" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
FBSD install on Intel Modular Server System MFSYS25
Hello, I am planning to buy an Intel Modular Server System MFSYS25 http://www.intel.com/products/server/modularserver/system/index.htm I wanted to know if anyone of you has already tried to install FreeBSD on such device and If he was kind enough to let me know the problems he has been facing (if any)… Thank you very much. Gregober ---> PGP ID --> 0x1BA3C2FD bsd @at@ todoo.biz P "Please consider your environmental responsibility before printing this e-mail" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
JRE problem after installing linux-sun-jre1.6.0
Hello, I have installed linux-sun-jre1.6.0 and I have an error stating # java -version /usr/local/linux-sun-jre1.6.0/bin/java: error while loading shared libraries: libjli.so: cannot open shared object file: No such file or directory What do you suggest me to make that work properly - I just need to have a little java app working… Thanks for your support. Gregober ---> PGP ID --> 0x1BA3C2FD bsd @at@ todoo.biz P "Please consider your environmental responsibility before printing this e-mail" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: dump and remote file fetching
What I do : Allow ssh access only using key "PubkeyAuthentication yes" Allow root access Create a root ssh Pubkey Automate the access using any script based on ssh… If you want to be more restrictive, you can deploy a firewall localy on your server and limit ssh access to one or more selected IPs. Bye // Le 28 mai 08 à 07:53, Zbigniew Szalbot a écrit : Hi there, Need a word of advice. I use dump to backup my data. All fine. Dump saves compressed *.bz2 files. Nice. All I need now is a way to copy them from the server to a remote backup machine. The problem I am facing is that bz2 files are owned by root:wheel. So if I use scp [EMAIL PROTECTED]:/path/to/*.bz2, it does not have sufficient permissions to fetch the files. I can use sudo, but then I need to interactively type the password, which I would like to avoid. Can you suggest simple ways of getting around this? I don't mind using special tools for the job, especially if they are not too complicated... :) Before firing this email off I took a look at rsync and it seems easy enough to do just what I need but still many thanks for suggestions! I have been very happy with rsnapshot. Take that for a spin and see how it works for you I have taken a look at rsnapshot but it seems I am left to deal with the same problem: From their page: In addition to full paths on the local filesystem, you can also backup remote systems using rsync over ssh. If you have ssh installed and enabled (via the cmd_ssh parameter), you can specify a path like: backup [EMAIL PROTECTED]:/etc/ example.com/ This behaves fundamentally the same way, but you must take a few extra things into account. a/ The ssh daemon must be running on example.com b/ You must have access to the account you specify the remote machine, in this case the root user on example.com. I do not allow remote root login so what are my options in that case? How do you deal with such a scenario? Many thanks! -- Zbigniew Szalbot www.lc-words.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED] " Gregober ---> PGP ID --> 0x1BA3C2FD bsd @at@ todoo.biz P "Please consider your environmental responsibility before printing this e-mail" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Problem installing bind in jail
Hi, I have followed the tutorial provided in http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/jails-application.html I have now five jails up and running and I am very happy with the system. One of my jail is acting as an important DNS server and It needs to be up to date. I have decided to recompile bind in the latest version and I am running into a problem which is caused by bind port not following the FreeBSD requisites and trying to install things in /usr/include/isc making all in /s/portbuild/usr/ports/dns/bind98/work/bind-9.8.2/lib/isc/x86_32 making all in /s/portbuild/usr/ports/dns/bind98/work/bind-9.8.2/lib/isc/x86_32/include making all in /s/portbuild/usr/ports/dns/bind98/work/bind-9.8.2/lib/isc/x86_32/include/isc making install in /s/portbuild/usr/ports/dns/bind98/work/bind-9.8.2/lib/isc/include making all in /s/portbuild/usr/ports/dns/bind98/work/bind-9.8.2/lib/isc/include/isc making install in /s/portbuild/usr/ports/dns/bind98/work/bind-9.8.2/lib/isc/include/isc /bin/sh ../../../../mkinstalldirs /usr/include/isc mkdir /usr/include/isc mkdir: /usr/include/isc: Read-only file system *** Error code 1 Stop in /s/portbuild/usr/ports/dns/bind98/work/bind-9.8.2/lib/isc/include/isc. […] I am not certain of the path I should take to solve this issue… Most probably I should simlink from the RO part of the system to the RW… but I am not 100% sure how to proceed. Why is ISC trying to setup things in this location and not on /usr/local/include/ ? I think I would need to simlink from the RO portion of the system /usr/include/isc to /usr/local/include/isc but I am not certain how to proceed. Thanks for your help. G.B. –– -> Grégory Bernard Director <- ---> www.osnet.eu <--- --> Your provider of OpenSource appliances <-- –– OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
ESS (extended service set) configuration for FBSD
Hello, I wanted to know what is the best way to build an ESS (extended service set aka group of Access Points) using FreeBSD. Knowing that we are looking at the classic features of such network: 1. Couple of AP's configured with the same SSID 2. Authentication 3. Security 4. Roaming between AP's 5. Communication between stations in the same ESS The main problem to solve seems to be related to IAPP (Inter Access Point Protocol) aka 802.11f It is not very clear to me in which stage we are with this protocol and It's implementation… What would you advice ? How would you proceed ? Thanks for your support. –– -> Grégory Bernard Director <- ---> www.osnet.eu <--- --> Your provider of OpenSource appliances <-- –– OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Resetting bootloader on a CF
Hi, I am trying to reset the bootloader of a pfSense nanoBSD CF card. I need the boot loader to be reset because > The embedded image set the bootloader to use a serial console. That isn't > necessary with the box I am trying to use (the BIOS does console redirection > to the serial port for you) and causes the boot to hang. Part of the solution seems to be : 1. Mount the CF on a FBSD 2. Initialize the bootloader with : # fdisk -B /dev/ 3. This is where I need you help… How can I re-install a boot loader ? Should I use the command : # fdisk -B -b /boot/boot0 device Any other suggestion, guidance will be welcome. Thanks for your support. P.S. I'll check your answer in 10+ hours as I am already tired and It is 11.45 pm in Paris where I leave. ;-) - thanks for your understanding. –– -> Grégory Bernard Director <- ---> www.osnet.eu <--- --> Your provider of OpenSource appliances <-- –– OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Problem with php5-dba build && install
Hi, I have a problem building the php5-dba port. I know this is not exactly the right place to post problem related to that, but since I have already contacted the maintener couple of weeks ago, and I think the problem is not really so difficult to solve, I am asking this question here. swell:root 17:12:28 /usr/ports/databases/php5-dba # make install ===> Patching for php5-dba-5.3.8 ===> Applying FreeBSD patches for php5-dba-5.3.8 ===> php5-dba-5.3.8 depends on file: /usr/local/bin/phpize - found ===> php5-dba-5.3.8 depends on file: /usr/local/bin/autoconf-2.68 - found ===> PHPizing for php5-dba-5.3.8 Configuring for: PHP Api Version: 20090626 Zend Module Api No: 20090626 Zend Extension Api No: 220090626 configure.in:3: warning: prefer named diversions configure.in:3: warning: prefer named diversions ===> Configuring for php5-dba-5.3.8 checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for a sed that does not truncate output... /usr/bin/sed checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking how to run the C preprocessor... cpp checking for icc... no checking for suncc... no checking whether cc understands -c and -o together... yes checking for system library directory... lib checking if compiler supports -R... yes checking build system type... amd64-portbld-freebsd7.4 checking host system type... amd64-portbld-freebsd7.4 checking target system type... amd64-portbld-freebsd7.4 checking for PHP prefix... /usr/local checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib checking for PHP extension directory... /usr/local/lib/php/20090626 checking for PHP installed headers prefix... /usr/local/include/php checking if debug is enabled... no checking if zts is enabled... no checking for re2c... no configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers. checking for gawk... no checking for nawk... nawk checking if nawk is broken... no checking for QDBM support... no checking for GDBM support... no checking for NDBM support... no checking for Berkeley DB4 support... no checking for Berkeley DB3 support... no checking for Berkeley DB2 support... no checking for DB1 support... no checking for DBM support... no checking for CDB support... no checking for INI File support... no checking for FlatFile support... no checking whether to enable DBA interface... no checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognize dependent libraries... pass_all checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking the maximum length of command line arguments... (cached) 262144 checking command to parse /usr/bin/nm -B output from cc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if cc supports -fno-rtti -fno-exceptions... no checking for cc option to produce PIC... -fPIC checking if cc PIC flag -fPIC works... yes checking if cc static flag -static works... yes checking if cc supports -c -o file.o... yes checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... freebsd7.4 ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no creating libtool appending configuration tag "CXX" to libtool checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes checking for c++ option to produce PIC... checking if c++ static flag works... yes checking if c++ supports -c -o file.o... yes checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker charact
Problem with uart interfaces
Hello, I have a serious problem with LAN bypass. I am configuring a new appliance which embeddeds a LAN bypass on four ethernet cards. When the system boots, it freezes at the stage of uart interface detection : > Consoles: internal video/keyboard serial port > BIOS drive C: is disk0 > BIOS 631kB/2085632kB available memory > > FreeBSD/i386 bootstrap loader, Revision 1.1 > (root@FreeBSD_8.0_pfSense_2.0-snaps.pfsense.org, Sat Sep 3 19:36:15 EDT 2011) > Loading /boot/defaults/loader.conf > /boot/kernel/kernel text=0x8a1d58 data=0x3c9e94+0x9b6a0 > syms=[0x4+0x94100+0x4+0xcaf47] > \ > > > ZD? > 3 3 > 3 3 > 3 3 > 3 Welcome to pfSense!3 > 3 3 __ > 3 3/ \ > 3 1. Boot pfSense [default] 3 _/f \ > 3 2. Boot pfSense with ACPI disabled 3 / \/ > 3 3. Boot pfSense using USB device 3/ p \__/ Sense > 3 4. Boot pfSense in Safe Mode 3\ / \ > 3 5. Boot pfSense in single user mode3 \_/\ > 3 6. Boot pfSense with verbose logging 3 \/ > 3 7. Escape to loader prompt 3\__/ > 3 8. Reboot 3 > 3 3 > 3 3 > 3 3 > 3 Select option, [Enter] for default 3 > 3 or [Space] to pause timer 0 3 > @DY > > > Copyright (c) 1992-2010 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > The Regents of the University of California. All rights reserved. > FreeBSD is a registered trademark of The FreeBSD Foundation. > FreeBSD 8.1-RELEASE-p4 #0: Sat Sep 3 20:00:14 EDT 2011 > > root@FreeBSD_8.0_pfSense_2.0-snaps.pfsense.org:/usr/obj./usr/pfSensesrc/src/sys/pfSense_wrap.8.i386 > i386 > Timecounter "i8254" frequency 1193182 Hz quality 0 > CPU: Intel(R) Atom(TM) CPU D525 @ 1.80GHz (1795.51-MHz 686-class CPU) > Origin = "GenuineIntel" Id = 0x106ca Family = 6 Model = 1c Stepping = 10 > > Features=0xbfebfbff > Features2=0x40e31d > AMD Features=0x2010 > AMD Features2=0x1 > TSC: P-state invariant > real memory = 2147483648 (2048 MB) > avail memory = 2076377088 (1980 MB) > ACPI APIC Table: > FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs > FreeBSD/SMP: 1 package(s) x 2 core(s) x 2 HTT threads > cpu0 (BSP): APIC ID: 0 > cpu1 (AP/HT): APIC ID: 1 > cpu2 (AP): APIC ID: 2 > cpu3 (AP/HT): APIC ID: 3 > ioapic0 irqs 0-23 on motherboard > netisr_init: forcing maxthreads to 1 and bindthreads to 0 for device polling > wlan: mac acl policy registered > ipw_bss: You need to read the LICENSE file in /usr/share/doc/legal/intel_ipw/. > ipw_bss: If you agree with the license, set legal.intel_ipw.license_ack=1 in > /boot/loader.conf. > module_register_init: MOD_LOAD (ipw_bss_fw, 0xc0710010, 0) error 1 > ipw_ibss: You need to read the LICENSE file in > /usr/share/doc/legal/intel_ipw/. > ipw_ibss: If you agree with the license, set legal.intel_ipw.license_ack=1 in > /boot/loader.conf. > module_register_init: MOD_LOAD (ipw_ibss_fw, 0xc07100b0, 0) error 1 > wpi: You need to read the LICENSE file in /usr/share/doc/legal/intel_wpi/. > wpi: If you agree with the license, set legal.intel_wpi.license_ack=1 in > /boot/loader.conf. > module_register_init: MOD_LOAD (wpi_fw, 0xc0883050, 0) error 1 > ipw_monitor: You need to read the LICENSE file in > /usr/share/doc/legal/intel_ipw/. > ipw_monitor: If you agree with the license, set legal.intel_ipw.license_ack=1 > in /boot/loader.conf. > module_register_init: MOD_LOAD (ipw_monitor_fw, 0xc0710150, 0) error 1 > cryptosoft0: on motherboard > padlock0: No ACE support. > acpi0: on motherboard > acpi0: [ITHREAD] > acpi0: Power Button (fixed) > Timecounter "ACPI-safe" frequency 3579545 Hz quality 850 > acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 > cpu0: on acpi0 > cpu1: on acpi0 > cpu2: on acpi0 > cpu3: on acpi0 > pcib0: port 0xcf8-0xcff on acpi0 > pci0: on pcib0 > vgapci0: port 0x1c10-0x1c17 mem > 0xf070-0xf077,0xd000-0xdfff,0xf000-0xf00f irq 16 at > device 2.0 on pci0 > vgapci1: mem 0xf078-0xf07f at device 2.1 on > pci0 > uhci0: port 0x1820-0x183f irq 16 > at device 26.0 on pci0 > uhci0: [ITHREAD] > usbus0: on uhci0 > uhci1: port 0x1840-0x185f irq 21 > at device 26.1 on pci0 > uhci1: [ITHREAD] > usbus1: on uhci1 > ehci0: mem > 0xf0a01000-0xf0a013ff irq 18 at device 26.7 on pci0 > ehci0: [ITHREAD] > usbus2: EHCI version 1.0 > usbus2: on ehci0
Problem with jail network
Hi, I have been configuring a jail system using the howto provided here : http://www.freebsd.org/doc/handbook/jails-application.html The is now correctly starting, but I can't seem to use the network stack. > root@master 16:52:55 ~ -> jls > JID IP Address Hostname Path > 1 xx.216.yy.150 n0.no.no/jail/j/n0 But I can't ping neither outside of the jail, nor inside of It. I am a bit confused because I don't know if I have to configure the IP using an alias on the main Eth interface, or do something else. > ifconfig_bce0_alias0="inetxx.216.yy.150/32" This last command seems to have frozen my system. Since I can't reach the network, I can't install ports either… ! Thanks for your help. –– -> Grégory Bernard Director <- ---> www.osnet.eu <--- --> Your provider of OpenSource appliances <-- –– OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Problem with jail network
Le 30 nov. 2011 à 17:17, Damien Fleuriot a écrit : > > > On 11/30/11 5:05 PM, bsd wrote: >> Hi, >> >> I have been configuring a jail system using the howto provided here : >> http://www.freebsd.org/doc/handbook/jails-application.html >> >> The is now correctly starting, but I can't seem to use the network stack. >> >> >>> root@master 16:52:55 ~ -> jls >>> JID IP Address Hostname Path >>> 1 xx.216.yy.150 n0.no.no/jail/j/n0 >> >> >> But I can't ping neither outside of the jail, nor inside of It. >> >> I am a bit confused because I don't know if I have to configure the IP using >> an alias on the main Eth interface, or do something else. >> >>> ifconfig_bce0_alias0="inetxx.216.yy.150/32" >> >> >> >> This last command seems to have frozen my system. >> > > Confirm that the MISSING SPACE between your "inet" and "xxx.216..." > statements is only a typo and NOT present in your actual rc.conf > This is confirmed. I have the equivalent of : ifconfig_bce0_alias0="inet 1.2.3.4/32" > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" –– -> Grégory Bernard Director <- ---> www.osnet.eu <--- --> Your provider of OpenSource appliances <-- –– OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Problem with jail network
Le 30 nov. 2011 à 17:45, masayoshi a écrit : > > - Original Message - >> From: bsd >> To: Liste FreeBSD >> Cc: >> Sent: Thursday, 1 December 2011 1:05 AM >> Subject: Problem with jail network >> >> Hi, >> >> I have been configuring a jail system using the howto provided here : >> http://www.freebsd.org/doc/handbook/jails-application.html >> >> The is now correctly starting, but I can't seem to use the network stack. >> >> >>> root@master 16:52:55 ~ -> jls >>> JID IP Address Hostname Path >>> 1 xx.216.yy.150 n0.no.no/jail/j/n0 >> >> >> But I can't ping neither outside of the jail, nor inside of It. >> >> I am a bit confused because I don't know if I have to configure the IP using >> an alias on the main Eth interface, or do something else. >> >>> ifconfig_bce0_alias0="inetxx.216.yy.150/32" >> >> >> >> This last command seems to have frozen my system. >> >> >> Since I can't reach the network, I can't install ports either… ! >> > > It might be wrong information. >_> > Perhaps you might setup /etc/resolv.conf in Jail? > > http://www.cyberciti.biz/faq/freebsd-mount_nullf-usrports-inside-jail/ > root@master 18:27:21 ~ -> jls JID IP Address Hostname Path 1 1.2.3.4 n0.n.o/jail/j/ns0 root@master 18:27:25 ~ -> jexec 1 sh # more /etc/resolv.conf domain n.o nameserver 8.8.8.8 n0# ping 8.8.8.8 PING 8.8.8.8 (8.8.8.8): 56 data bytes ^C --- 8.8.8.8 ping statistics --- 13 packets transmitted, 0 packets received, 100.0% packet loss > > --- > Inexperienced FreeBSD user: Level 4 > masayoshi & Ayumi Kinoshita > http://tinyurl.com/63zg3op >> > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" –– -> Grégory Bernard Director <- ---> www.osnet.eu <--- --> Your provider of OpenSource appliances <-- –– OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Problem with jail network
Le 30 nov. 2011 à 18:36, Damien Fleuriot a écrit : > > > On 11/30/11 6:29 PM, bsd wrote: >> Le 30 nov. 2011 à 17:17, Damien Fleuriot a écrit : >> >>> >>> >>> On 11/30/11 5:05 PM, bsd wrote: >>>> Hi, >>>> >>>> I have been configuring a jail system using the howto provided here : >>>> http://www.freebsd.org/doc/handbook/jails-application.html >>>> >>>> The is now correctly starting, but I can't seem to use the network stack. >>>> >>>> >>>>> root@master 16:52:55 ~ -> jls >>>>> JID IP Address Hostname Path >>>>> 1 xx.216.yy.150 n0.no.no/jail/j/n0 >>>> >>>> >>>> But I can't ping neither outside of the jail, nor inside of It. >>>> >>>> I am a bit confused because I don't know if I have to configure the IP >>>> using an alias on the main Eth interface, or do something else. >>>> >>>>> ifconfig_bce0_alias0="inetxx.216.yy.150/32" >>>> >>>> >>>> >>>> This last command seems to have frozen my system. >>>> >>> >>> Confirm that the MISSING SPACE between your "inet" and "xxx.216..." >>> statements is only a typo and NOT present in your actual rc.conf >>> >> >> This is confirmed. >> >> I have the equivalent of : >> >> ifconfig_bce0_alias0="inet 1.2.3.4/32" >> > > AFAIK, unless you allow raw sockets, you will not be able to ping from > the jail. > > > Find below the conf I successfully used, a long time ago, for a jail > hosting DNS. > > This is from my rc.conf on the host system. > > > > > ### JAILS > jail_enable="NO" > jail_set_hostname_allow="NO" > jail_list="ns" > jail_ns_interface="lo53" > jail_ns_ip="192.168.0.53,2001:41d0:2:613b::53/56" > jail_ns_hostname="ns.my.gd" > # fec0:[interface index]::[damien fleuriot]:[interface number] > # example: fec0:5::df:252 for loopback interface lo252 > jail_ns_rootdir="/var/jail/ns" > jail_ns_devfs_enable="YES" > #jail_ns_devfs_ruleset="devfsrules_jail_ns" > > > You will notice this creates a lo53 (loopback) interface with private > IPv4 and IPv6 addresses. > > I then used PF to redirect DNS queries to this jail. I don't want the IP to be redirected, I would like the jail to have It's own IP. Redirection would probably involve a NAT on your main IP to the IP of the jail, which is something I would like to avoid. Did you use something like the aforementioned ifconfig alias to give the IP to your jail ? ifconfig_bce0_alias0="inet 1.2.3.4/32" What bothers me is that I am not able to ping from the outside either… ?? And I can't install any ports because I don't have any network available inside the jail. –– -> Grégory Bernard Director <- ---> www.osnet.eu <--- --> Your provider of OpenSource appliances <-- –– OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Re[2]: Problem with jail network
Le 30 nov. 2011 à 18:38, Коньков Евгений a écrit : > Здравствуйте, bsd. > > Вы писали 30 ноября 2011 г., 19:29:34: > > b> Le 30 nov. 2011 а 17:17, Damien Fleuriot a йcrit : > >>> >>> >>> On 11/30/11 5:05 PM, bsd wrote: >>>> Hi, >>>> >>>> I have been configuring a jail system using the howto provided here : >>>> http://www.freebsd.org/doc/handbook/jails-application.html >>>> >>>> The is now correctly starting, but I can't seem to use the network stack. >>>> >>>> >>>>> root@master 16:52:55 ~ -> jls >>>>> JID IP Address Hostname Path >>>>> 1 xx.216.yy.150 n0.no.no/jail/j/n0 >>>> >>>> >>>> But I can't ping neither outside of the jail, nor inside of It. >>>> >>>> I am a bit confused because I don't know if I have to configure the IP >>>> using an alias on the main Eth interface, or do something else. >>>> >>>>> ifconfig_bce0_alias0="inetxx.216.yy.150/32" >>>> >>>> >>>> >>>> This last command seems to have frozen my system. >>>> >>> >>> Confirm that the MISSING SPACE between your "inet" and "xxx.216..." >>> statements is only a typo and NOT present in your actual rc.conf >>> > > b> This is confirmed. > > b> I have the equivalent of : > > b> ifconfig_bce0_alias0="inet 1.2.3.4/32" > > in this case I write full netmask: "inet 1.2.3.4 netmask 255.255.255.255" > It works fine > Ok, I'll try that with netmask 255.255.255.255 instead of /32 And use the mentionned parameters with raw socket. Thx > > -- > С уважением, > Коньков mailto:kes-...@yandex.ru > –– -> Grégory Bernard Director <- ---> www.osnet.eu <--- --> Your provider of OpenSource appliances <-- –– OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Best solution to install zfs on root for FBSD 9
Hi, I would like to know if there is an "official" howto that could help me in the process of installing zfs on root. I will need a raid 1 configuration and plan to use the whole disks to be part of the pool. How far can we go with the installer ? Do I have to use gpart ? What is best way to achieve this ? Any recent and up to date pointer will be welcome. Thx. –– -> Grégory Bernard Director <- ---> www.osnet.eu <--- --> Your provider of OpenSource appliances <-- –– OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Best solution to install zfs on root for FBSD 9 [SOLVED]
Le 20 déc. 2011 à 18:42, Ivan Klymenko a écrit : > В Tue, 20 Dec 2011 18:11:36 +0100 > bsd пишет: > >> Hi, >> >> I would like to know if there is an "official" howto that could help >> me in the process of installing zfs on root. >> >> I will need a raid 1 configuration and plan to use the whole disks to >> be part of the pool. >> >> How far can we go with the installer ? >> >> Do I have to use gpart ? >> >> What is best way to achieve this ? >> >> >> Any recent and up to date pointer will be welcome. >> >> >> Thx. >> > http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot > http://www.aisecure.net/2011/05/01/root-on-zfs-freebsd-current/ Ok thanks for your posting. There is an update for the post mentioned up there which is exactly what I was looking for : http://www.aisecure.net/2011/11/28/root-zfs-freebsd9/ Thx everyone. –– -> Grégory Bernard Director <- ---> www.osnet.eu <--- --> Your provider of OpenSource appliances <-- –– OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Shared Memory allocation in jail
Hi, I am trying to run both postgres and zabbix in the same jail and I am only able to start postgres or zabbix not both of them. I have tuned my sysctl on master host as follow : kern.ipc.shmmax=268435456 kern.ipc.shmall=409600 kern.ipc.semmap=256 security.jail.allow_raw_sockets=1 security.jail.sysvipc_allowed=1 security.jail.enforce_statfs=1 No special tunning on jail host. I have also tunned in rc.conf jail_sysvipc_allow="YES" I am still not able to start both at the same time. Any idea ? –– -> Grégory Bernard Director <- ---> www.osnet.eu <--- --> Your provider of OpenSource appliances <-- –– OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Shared Memory allocation in jail
Le 5 janv. 2012 à 14:56, bsd a écrit : > Hi, > > I am trying to run both postgres and zabbix in the same jail and I am only > able to start postgres or zabbix not both of them. > > I have tuned my sysctl on master host as follow : > > kern.ipc.shmmax=268435456 > kern.ipc.shmall=409600 > kern.ipc.semmap=256 > > security.jail.allow_raw_sockets=1 > security.jail.sysvipc_allowed=1 > security.jail.enforce_statfs=1 > > > No special tunning on jail host. > > > I have also tunned in rc.conf > jail_sysvipc_allow="YES" > > > > I am still not able to start both at the same time. > > > Any idea ? Infos here were helpful : http://www.freebsddiary.org/jail-multiple.php I have • re-configure /boot/loader.conf • configured sysctl.conf with various options # rebooted and the issue was solved. > > –– > -> Grégory Bernard Director <- > ---> www.osnet.eu <--- > --> Your provider of OpenSource appliances <-- > –– > OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" –– -> Grégory Bernard Director <- ---> www.osnet.eu <--- --> Your provider of OpenSource appliances <-- –– OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Problem installing world in jail template
Hi, I am following the FBSD handbook tutorial in order to install the world in my jail template : # cd /usr/src # make installworld DESTDIR=/jails/j/mroot The directory already exists. I have the following errors : > ln -fs libcom_err.so.5 /jails/j/mroot/usr/lib/libcom_err.so > install -C -o root -g wheel -m 444 > /usr/src/lib/libcom_err/../../contrib/com_err/com_err.h > /usr/src/lib/libcom_err/../../contrib/com_err/com_right.h > /jails/j/mroot/usr/include > install -o root -g wheel -m 444 com_err.3.gz > /jails/j/mroot/usr/share/man/man3 > ===> lib/libcom_err/doc (install) > install-info --quiet --defsection="Programming & development tools." > --defentry="* libcom_err: (com_err).A Common Error Description > Library for UNIX." com_err.info /jails/j/mroot/usr/share/info/dir > install-info: /jails/j/mroot/usr/share/info/dir: empty file > *** Error code 1 > > Stop in /usr/src/lib/libcom_err/doc. > *** Error code 1 > > Stop in /usr/src/lib/libcom_err. > *** Error code 1 > > Stop in /usr/src/lib. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > Target OS is 9.0-RC3. Thanks for your help. –– -> Grégory Bernard Director <- ---> www.osnet.eu <--- --> Your provider of OpenSource appliances <-- –– OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Problem installing world in jail template
Le 12 janv. 2012 à 17:29, ss griffon a écrit : > On Thu, Jan 12, 2012 at 8:09 AM, bsd wrote: >> Hi, >> >> >> I am following the FBSD handbook tutorial in order to install the world in >> my jail template : >> >> # cd /usr/src >> # make installworld DESTDIR=/jails/j/mroot >> >> >> The directory already exists. >> >> I have the following errors : >> >> >>> ln -fs libcom_err.so.5 /jails/j/mroot/usr/lib/libcom_err.so >>> install -C -o root -g wheel -m 444 >>> /usr/src/lib/libcom_err/../../contrib/com_err/com_err.h >>> /usr/src/lib/libcom_err/../../contrib/com_err/com_right.h >>> /jails/j/mroot/usr/include >>> install -o root -g wheel -m 444 com_err.3.gz >>> /jails/j/mroot/usr/share/man/man3 >>> ===> lib/libcom_err/doc (install) >>> install-info --quiet --defsection="Programming & development tools." >>> --defentry="* libcom_err: (com_err).A Common Error Description >>> Library for UNIX." com_err.info /jails/j/mroot/usr/share/info/dir >>> install-info: /jails/j/mroot/usr/share/info/dir: empty file >>> *** Error code 1 >>> >>> Stop in /usr/src/lib/libcom_err/doc. >>> *** Error code 1 >>> >>> Stop in /usr/src/lib/libcom_err. >>> *** Error code 1 >>> >>> Stop in /usr/src/lib. >>> *** Error code 1 >>> >>> Stop in /usr/src. >>> *** Error code 1 >>> >>> Stop in /usr/src. >>> *** Error code 1 >>> >>> Stop in /usr/src. >>> *** Error code 1 >>> >>> Stop in /usr/src. >>> >> >> >> >> >> Target OS is 9.0-RC3. >> >> >> Thanks for your help. >> >> >> –– >> -> Grégory Bernard Director <- >> ---> www.osnet.eu <--- >> --> Your provider of OpenSource appliances <-- >> –– >> OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO >> >> ___ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" > > Can you check if any of the directories in the path: > /jails/j/mroot/usr/share/info/dir are actually created as empty files? > It seems like I have had that problem before but I don't remember what > the cause was. I fixed it by deleting the file and making it a > directory. As far as I can tell all directories are "directories" and not empty files. [root@surf /jails]# cd j [root@surf /jails/j]# ls -al total 6 drwxr-xr-x 4 root wheel 4 Jan 12 18:16 . drwxr-xr-x 4 root wheel 4 Jan 12 18:08 .. drwxr-xr-x 17 root wheel 18 Jan 12 23:43 mroot drwxr-xr-x 2 root wheel 2 Jan 12 18:16 skel [root@surf /jails/j]# cd mroot/ [root@surf /jails/j/mroot]# ls -al total 26 drwxr-xr-x 17 root wheel 18 Jan 12 23:43 . drwxr-xr-x 4 root wheel 4 Jan 12 18:16 .. drwxr-xr-x 2 root wheel 2 Jan 12 18:18 bin drwxr-xr-x 7 root wheel 7 Jan 12 18:18 boot dr-xr-xr-x 2 root wheel 2 Jan 12 18:18 dev drwxr-xr-x 20 root wheel 20 Jan 12 18:18 etc drwxr-xr-x 3 root wheel 4 Jan 12 23:43 lib drwxr-xr-x 3 root wheel 3 Jan 12 18:18 libexec drwxr-xr-x 2 root wheel 2 Jan 12 18:18 media drwxr-xr-x 2 root wheel 2 Jan 12 18:18 mnt dr-xr-xr-x 2 root wheel 2 Jan 12 18:18 proc drwxr-xr-x 2 root wheel 2 Jan 12 18:18 rescue drwxr-xr-x 2 root wheel 2 Jan 12 18:18 root drwxr-xr-x 2 root wheel 2 Jan 12 18:18 sbin lrwxr-xr-x 1 root wheel 11 Jan 12 23:43 sys -> usr/src/sys drwxrwxrwt 2 root wheel 2 Jan 12 18:18 tmp drwxr-xr-x 14 root wheel 14 Jan 12 18:18 usr drwxr-xr-x 23 root wheel 23 Jan 12 18:18 var [root@surf /jails/j/mroot]# cd usr/ [root@surf /jails/j/mroot/usr]# ls -al total 22 drwxr-xr-x 14 root wheel 14 Jan 12 18:18 . drwxr-xr-x 17 root wheel 18 Jan 12 23:43 .. drwxr-xr-x 2 root wheel 2 Jan 12 18:18 bin drwxr-xr-x 2 root wheel 2 Jan 12 18:18 games drwxr-xr-x 51 root wheel 53 Jan 12 20:21 include drwxr-xr-x 7 root wheel 28 Jan 12 23:43 lib drwxr-xr-x 4 root wheel 4 Jan 12 18:18 lib32 drwxr-xr-x 5 root wheel 5 Jan 12 18:18 libdata drwxr-xr-x 6 root wheel 6 Jan 12 18:18 libexec drwxr-xr-x 2 root wheel 2 Jan 12 18:18 local drwxr-xr-x 2 root wheel 2 Jan 12 18:18 obj drwxr-xr-x 2 root wheel 2 Jan 12 18:18 sbin drwxr-xr-x 27 root wheel 27 Jan 12 18:18 share drwxr-xr-x 2 root whe
Re: Problem installing world in jail template [Solved]
Le 12 janv. 2012 à 19:46, bsd a écrit : > > Le 12 janv. 2012 à 17:29, ss griffon a écrit : > >> On Thu, Jan 12, 2012 at 8:09 AM, bsd wrote: >>> Hi, >>> >>> >>> I am following the FBSD handbook tutorial in order to install the world in >>> my jail template : >>> >>> # cd /usr/src >>> # make installworld DESTDIR=/jails/j/mroot >>> >>> >>> The directory already exists. >>> >>> I have the following errors : >>> >>> >>>> ln -fs libcom_err.so.5 /jails/j/mroot/usr/lib/libcom_err.so >>>> install -C -o root -g wheel -m 444 >>>> /usr/src/lib/libcom_err/../../contrib/com_err/com_err.h >>>> /usr/src/lib/libcom_err/../../contrib/com_err/com_right.h >>>> /jails/j/mroot/usr/include >>>> install -o root -g wheel -m 444 com_err.3.gz >>>> /jails/j/mroot/usr/share/man/man3 >>>> ===> lib/libcom_err/doc (install) >>>> install-info --quiet --defsection="Programming & development tools." >>>> --defentry="* libcom_err: (com_err).A Common Error Description >>>> Library for UNIX." com_err.info /jails/j/mroot/usr/share/info/dir >>>> install-info: /jails/j/mroot/usr/share/info/dir: empty file >>>> *** Error code 1 >>>> >>>> Stop in /usr/src/lib/libcom_err/doc. >>>> *** Error code 1 >>>> >>>> Stop in /usr/src/lib/libcom_err. >>>> *** Error code 1 >>>> >>>> Stop in /usr/src/lib. >>>> *** Error code 1 >>>> >>>> Stop in /usr/src. >>>> *** Error code 1 >>>> >>>> Stop in /usr/src. >>>> *** Error code 1 >>>> >>>> Stop in /usr/src. >>>> *** Error code 1 >>>> >>>> Stop in /usr/src. >>>> >>> >>> >>> >>> >>> Target OS is 9.0-RC3. >>> >>> >>> Thanks for your help. >>> >>> >>> –– >>> -> Grégory Bernard Director <- >>> ---> www.osnet.eu <--- >>> --> Your provider of OpenSource appliances <-- >>> –– >>> OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO >>> >>> ___ >>> freebsd-questions@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" >> >> Can you check if any of the directories in the path: >> /jails/j/mroot/usr/share/info/dir are actually created as empty files? >> It seems like I have had that problem before but I don't remember what >> the cause was. I fixed it by deleting the file and making it a >> directory. > > As far as I can tell all directories are "directories" and not empty files. > > > [root@surf /jails]# cd j > [root@surf /jails/j]# ls -al > total 6 > drwxr-xr-x 4 root wheel 4 Jan 12 18:16 . > drwxr-xr-x 4 root wheel 4 Jan 12 18:08 .. > drwxr-xr-x 17 root wheel 18 Jan 12 23:43 mroot > drwxr-xr-x 2 root wheel 2 Jan 12 18:16 skel > [root@surf /jails/j]# cd mroot/ > [root@surf /jails/j/mroot]# ls -al > total 26 > drwxr-xr-x 17 root wheel 18 Jan 12 23:43 . > drwxr-xr-x 4 root wheel 4 Jan 12 18:16 .. > drwxr-xr-x 2 root wheel 2 Jan 12 18:18 bin > drwxr-xr-x 7 root wheel 7 Jan 12 18:18 boot > dr-xr-xr-x 2 root wheel 2 Jan 12 18:18 dev > drwxr-xr-x 20 root wheel 20 Jan 12 18:18 etc > drwxr-xr-x 3 root wheel 4 Jan 12 23:43 lib > drwxr-xr-x 3 root wheel 3 Jan 12 18:18 libexec > drwxr-xr-x 2 root wheel 2 Jan 12 18:18 media > drwxr-xr-x 2 root wheel 2 Jan 12 18:18 mnt > dr-xr-xr-x 2 root wheel 2 Jan 12 18:18 proc > drwxr-xr-x 2 root wheel 2 Jan 12 18:18 rescue > drwxr-xr-x 2 root wheel 2 Jan 12 18:18 root > drwxr-xr-x 2 root wheel 2 Jan 12 18:18 sbin > lrwxr-xr-x 1 root wheel 11 Jan 12 23:43 sys -> usr/src/sys > drwxrwxrwt 2 root wheel 2 Jan 12 18:18 tmp > drwxr-xr-x 14 root wheel 14 Jan 12 18:18 usr > drwxr-xr-x 23 root wheel 23 Jan 12 18:18 var > [root@surf /jails/j/mroot]# cd usr/ > [root@surf /jails/j/mroot/usr]# ls -al > total 22 > drwxr-xr-x 14 root wheel 14 Jan 12 18:18 . > drwxr-xr-x 17 root wheel 18 Jan 12 23:43 .. > drwxr-xr-x 2 root w
Backup strategy for zfs + jail
Hi, I have a simple 1U server with two disks that I have configured as a jail server. I want to setup a simple yet very efficient backup policy for my jail environment. This server is running a ZFS filesystem. Ideally I would like to backup the main zfsroot/jail and all subdirectories on a backup FTP server. • What kind of tool would you suggest ? I need to focus on : --> Simplicity of setup --> Ease of recovery --> Efficiency --> Compatibility with ZFS Thanks. –– -> Grégory Bernard Director <- ---> www.osnet.eu <--- --> Your provider of OpenSource appliances <-- –– OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Backup strategy for zfs + jail
Le 17 janv. 2012 à 22:52, Devin Teske a écrit : > > >> -Original Message- >> From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd- >> questi...@freebsd.org] On Behalf Of bsd >> Sent: Tuesday, January 17, 2012 1:04 PM >> To: Liste FreeBSD >> Subject: Backup strategy for zfs + jail >> >> Hi, >> >> I have a simple 1U server with two disks that I have configured as a jail > server. >> >> I want to setup a simple yet very efficient backup policy for my jail > environment. >> >> This server is running a ZFS filesystem. >> >> Ideally I would like to backup the main zfsroot/jail and all subdirectories >> on > a >> backup FTP server. >> >> >> . What kind of tool would you suggest ? >> >> I need to focus on : >> >> --> Simplicity of setup >> --> Ease of recovery >> --> Efficiency >> --> Compatibility with ZFS >> >> > > If you're running 9, give HAST a shot. > > TCP/IP block-level mirroring provided by HAST should be able to mirror the ZFS > container in near-RT and be tolerant of things like network issues. Though HAST seems quite interesting I am not looking for a cluster solution. My FTP server is provided by my ISP, and Ideally I would like something that feets in that solution… So something like ZFS snapshots + some syncing level FTP service that will do the copy to the remote location… I don't really know if this approach will work with a ZFS snapshot, I use to work at file level using duplicity… works well though a bit heavy ! G.B. > -- > Devin > > _ > The information contained in this message is proprietary and/or confidential. > If you are not the intended recipient, please: (i) delete the message and all > copies; (ii) do not disclose, distribute or use the message in any manner; > and (iii) notify the sender immediately. In addition, please be aware that > any message addressed to our domain is subject to archiving and review by > persons other than the intended recipient. Thank you. –– -> Grégory Bernard Director <- ---> www.osnet.eu <--- --> Your provider of OpenSource appliances <-- –– OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Setting up a syslog server in a jail
Hello, I would like to setup a syslog server inside a jail I have setup couple of other jail and they are already working as a DNS server and a HTTP server. The next step would be to configure a new jail as a syslog server. I have the following parameters : jail_enable="YES" jail_mount_enable="YES" jail_set_hostname_allow="NO" jail_sysvipc_allow="YES" # for syslog et postgres jail_socket_unixiproute_only="NO" jail_list="ns0 lacoste logjail" jail_logjail_hostname="logjail.osnet.eu" jail_logjail_ip="1.2.3.4" jail_logjail_rootdir="/jails/j/logjail" jail_logjail_devfs_enable="YES" I have also setup in /etc/sysctl.conf : security.jail.allow_raw_sockets=1 • I can ping the remote host (the one sending IP datagram) • I can dig any domain I am still not able to get the log correctly sent to the specified jail… ?? Any idea ? –– -> Grégory Bernard Director <- ---> www.osnet.eu <--- --> Your provider of OpenSource appliances <-- –– OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Setting up a syslog server in a jail
Le 30 janv. 2012 à 16:59, Matthew Seaman a écrit : > On 30/01/2012 15:40, bsd wrote: >> I am still not able to get the log correctly sent to the specified jail… ?? > > Are you running syslogd in the host environment? Yes I am running it both in the host and jail environment. > If so, it's probably > bound to INADDR_ANY and thus pre-empted your jailed syslog from binding > to a network port. > > Try adding > > syslogd_flags="-ss" Ok, I have the following sockstat on the host environment : surf:root 17:09:02 ~ # sockstat | grep sysl root syslogd3176 4 dgram /var/run/log root syslogd3176 5 dgram /var/run/logpriv root syslogd3153 4 dgram /var/run/log root syslogd3153 5 dgram /var/run/logpriv root syslogd3153 6 udp4 1.2.3.6:514 *:* root syslogd2191 4 dgram /var/run/log root syslogd2191 5 dgram /var/run/logpriv root syslogd2191 6 udp4 1.2.3.5:514 *:* root syslogd1947 4 dgram /var/run/log root syslogd1947 5 dgram /var/run/logpriv root syslogd1947 6 dgram /var/run/log root syslogd1947 7 dgram /var/named/var/run/log root syslogd1947 8 udp4 1.2.3.4:514 *:* My syslog server is supposed to be on 1.2.3.6 In the jail environment I have : logjail# sockstat | grep syslo root syslogd3153 4 dgram /var/run/log root syslogd3153 5 dgram /var/run/logpriv root syslogd3153 6 udp4 1.2.3.6:514 *:* … But still no log from outside the jail… ? > > in the host environment. That prevents syslogd from listening via a > network port at all, although it will still happily log messages from > the local machine. > > Use sockstat(1) to diagnose what addresses syslogd(8)s have bound to. > Thanks for your answers > Cheers, > > Matthew > > -- > Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard > Flat 3 > PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate > JID: matt...@infracaninophile.co.uk Kent, CT11 9PW > –– -> Grégory Bernard Director <- ---> www.osnet.eu <--- --> Your provider of OpenSource appliances <-- –– OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Setting up a syslog server in a jail [SOLVED]
Le 30 janv. 2012 à 17:15, bsd a écrit : > Le 30 janv. 2012 à 16:59, Matthew Seaman a écrit : > >> On 30/01/2012 15:40, bsd wrote: >>> I am still not able to get the log correctly sent to the specified jail… ?? >> >> Are you running syslogd in the host environment? > > Yes I am running it both in the host and jail environment. > >> If so, it's probably >> bound to INADDR_ANY and thus pre-empted your jailed syslog from binding >> to a network port. >> >> Try adding >> >> syslogd_flags="-ss" > > Ok, I have the following sockstat on the host environment : > > surf:root 17:09:02 ~ # sockstat | grep sysl > root syslogd3176 4 dgram /var/run/log > root syslogd3176 5 dgram /var/run/logpriv > root syslogd3153 4 dgram /var/run/log > root syslogd3153 5 dgram /var/run/logpriv > root syslogd3153 6 udp4 1.2.3.6:514 *:* > root syslogd2191 4 dgram /var/run/log > root syslogd2191 5 dgram /var/run/logpriv > root syslogd2191 6 udp4 1.2.3.5:514 *:* > root syslogd1947 4 dgram /var/run/log > root syslogd1947 5 dgram /var/run/logpriv > root syslogd1947 6 dgram /var/run/log > root syslogd1947 7 dgram /var/named/var/run/log > root syslogd1947 8 udp4 1.2.3.4:514 *:* > > > My syslog server is supposed to be on 1.2.3.6 > > In the jail environment I have : > > logjail# sockstat | grep syslo > root syslogd3153 4 dgram /var/run/log > root syslogd3153 5 dgram /var/run/logpriv > root syslogd3153 6 udp4 1.2.3.6:514 *:* > > … But still no log from outside the jail… ? > > > >> >> in the host environment. That prevents syslogd from listening via a >> network port at all, although it will still happily log messages from >> the local machine. >> >> Use sockstat(1) to diagnose what addresses syslogd(8)s have bound to. >> > > > Thanks for your answers Problem was with the IP I was listening on. Was the wrong one. Found that using the debug option of syslog "-d" Very straight forward after debug was enable. > >> Cheers, >> >> Matthew >> >> -- >> Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard >> Flat 3 >> PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate >> JID: matt...@infracaninophile.co.uk Kent, CT11 9PW >> > > > –– > -> Grégory Bernard Director <- > ---> www.osnet.eu <--- > --> Your provider of OpenSource appliances <-- > –– > OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" –– -> Grégory Bernard Director <- ---> www.osnet.eu <--- --> Your provider of OpenSource appliances <-- –– OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Cron script redirection (probably stderr problem ?)
Hello, I am using a little cron script to update my server that calls "portsnap". Once this is done there is another piece of script that tells me which port(s) is to be updated with a simple call to a script that mainly execute portversion -l "<" and mail me the output of the command. There is one little problem with that script : Cron mails me (root) each time this output (probably because it comes from standerr ?) : [Updating the portsdb in /usr/ports ... - 14011 port entries found . 1000.2000.3000.4000.5000.6000. 7000.8000.9000.1.11000.120 00.13000.14000 . done] The cron script is executed as follow : 0 3 * * * /usr/local/sbin/portsnap cron && /usr/local/sbin/portsnap - I update && /root/src/upgrade.sh > /var/log/upgrade.log I've tried to add a 2>&1 at the end of the script : 0 3 * * * /usr/local/sbin/portsnap cron && /usr/local/sbin/portsnap - I update && /root/src/upgrade.sh > /var/log/upgrade.log 2>&1 But this does not seem to change my problem. Any help ? «?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§ ¯¯¯¯ Gregober ---> PGP ID --> 0x1BA3C2FD bsd @at@ todoo.biz «?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: SATA Raid
From a little 1U server I am using : Promise PDC20371 SATA150 controller All the best : driver are setup in the card so you can upgrade your system without any problem. You'll probably have to compile driver before uploading them to the card... Or http://www.lsilogic.com/products/megaraid/sata_150_4.html Drivers are available for FreeBSD. Le 11 févr. 06 à 04:35, Robert Uzzi a écrit : Anyone know of any of the cheaper SATA raid cards that work well under FreeBSD. I'd love to go get a 3ware but they are fairly pricey. «?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§ Gregober ---> PGP ID --> 0x1BA3C2FD bsd @at@ todoo.biz «?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: WinSCP mega-slowness
> Well, it's good to know I'm not the only one seing this. Right now both > machines are running FreeBSD, since I gave up on waiting for Windows to > copy > the files. The CPU load on Window when sending 1 meg per second is > usually > about 30%, while the Unix box is only at 1-2%. When I have 2 Unix boxes > sending/receiving, I think the load is like 4-5% on both. I'm building a > bunch of packages right now, so I can't get the exact number. I could try > the openssh patch later in the week, that would be great if there was a > unix-side fix for this. Of course as I run FreeBSD more, and Windows less, > the problem will go away, too. > > thanks! > > > > On 2/20/06, Andrew Pantyukhin <[EMAIL PROTECTED]> wrote: >> >> On 2/20/06, Xn Nooby <[EMAIL PROTECTED]> wrote: >> > For about a year I have noticed that whenever my Windows boxes talk to >> my >> > Unix boxes, they communicate at about 1/10 normal speed. I copy lots >> (300GB) >> > of large files back and forth between machines as I try different >> OS's, >> and >> > I always see this. >> > >> > Specifically, if I copy from FreeBSD to FreeBSD, files transfer at 11 >> megs >> > per second. Between FreeBSD and Linux, at about 8 megs per >> second. Between >> > FreeBSD and Windows, about 1 megabyte per second. This is on >> identical >> > hardware. I've told other people about this, and they usually say I >> must be >> > doing something wrong, but recently a friend of mine upgraded a >> Windows >> box >> > to SP2, and now they are getting this same slowness. When I copy from >> > Windows to WIndows (XP or W2k), I get 11 megs per second. >> > >> > My machines are two P4's with gigabit NICs, and I'm using WinSCP and >> > (somtimes) pscp.exe on WIndows to talk to sshd on FreeBSD. It's >> always >> a >> > shock when I have to copy my data to WIndows, and it takes 30 hours >> instead >> > of 3. >> > >> > Does anyone else ever see this slowness when copying files between >> FreeBSD >> > and Windows? >> > >> > Is Windows maybe capping the transfer speed when it talks to Unix? >> > ___ >> > freebsd-questions@freebsd.org mailing list >> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> > To unsubscribe, send any mail to " >> [EMAIL PROTECTED]" >> > >> >> It is very certainly a known issue. Not that its specifics and >> origins are clearly known, but most of us stumble upon it >> sooner or later. You can usually achieve wire speed only >> between two OSes of a kind. TCP/IP optimizations are >> very important here: if they differ, performance plummets. >> Depends on a multitude of things from quality of NICs to >> weather in your area. I've never been able to get more >> than 70Mbit/s between FreeBSD and Windows XP. I >> always get 90-100Mbit/s between two BSDs or two Win's. >> >> As for your case, 1MB/s is a serious limit. What can you >> tell us about CPU load? Interrupts? Can you try this: >> http://www.psc.edu/networking/projects/hpn-ssh/ >> If you have both the XP and FreeBSD machines on the same internal network, why not enable file sharing on the XP box and use Samba Client on the freeBSD box. I have found SMB to be a lot faster as it is running as a service on XP. Rob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Multiple DNS
Le 19 févr. 06 à 08:46, Robert Slade a écrit : Hi, I am looking for some advice. I have a network which is based on a number of servers running FreeBsd 6.0 serving Win XP work stations. (yes I know but..) The network is large enough to use DHCP and DNS for the internal network, I have setup a DHCP server with a Dynamic DNS (Bind 9) on one of the servers. That server is handling the LDAP side of the domain. Is your DNS server busy resolving internal requests or external ones ? There appears to be a fair bit of DNS Traffic which leads to a secondary DNS being required to take some of the load as DNS lookup are slow. The question I have is should I just setup a cashing DNS on another server using the primary as a forwarder or even several servers eg the mail server and the secondary LDAP server, or should I setup a proper secondary DNS using my ISP as a forwarder with dynamic updates from the primary. You should not forward anything to your ISP. This is probably the main reason for your DNS beeing slow. You should make shure you have well defined your network in your conf (so that you don't resolve queries for outside users...)- I would not advise you to forward any queries to your ISP as this will disable the capacity for your own server to build It's own resolver database and forward all the queries to the ISP (resulting in slow answers)! Normaly you should configure the master and the slave to be authoritative for your internal domains. And configure the master and the slave to resolve ALL the Internet domains for your internal network and none for outside domains. DNS is very tightly related to network... And we don't have any clue for the topology of your Net. SHORT ANSWER : DON'T FORWARD --> BUILD YOUR OWN DATABASE!! Sorry if this is a bit vague, but I have no experience in this area. Rob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions- [EMAIL PROTECTED]" «?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§ Gregober ---> PGP ID --> 0x1BA3C2FD bsd @at@ todoo.biz «?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Strange messages from "daily report"
I 've received these message in my daily report and was wondering what was their meaning ? srv23.xxx.fr kernel log messages: Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 Timecounter "TSC" frequency 2992513943 Hz quality 800 «?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§ Gregober ---> PGP ID --> 0x1BA3C2FD bsd @at@ todoo.biz «?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Multiple DNS
> > Le 19 févr. 06 à 08:46, Robert Slade a écrit : > >> Hi, >> >> I am looking for some advice. I have a network which is based on a >> number of servers running FreeBsd 6.0 serving Win XP work stations. >> (yes >> I know but..) The network is large enough to use DHCP and DNS for the >> internal network, I have setup a DHCP server with a Dynamic DNS >> (Bind 9) >> on one of the servers. That server is handling the LDAP side of the >> domain. >> > > Is your DNS server busy resolving internal requests or external ones ? Mostly external from what I can ascertain, it looks like the mail server (Qmail) doing lookups. > >> There appears to be a fair bit of DNS Traffic which leads to a >> secondary >> DNS being required to take some of the load as DNS lookup are slow. >> The >> question I have is should I just setup a cashing DNS on another server >> using the primary as a forwarder or even several servers eg the mail >> server and the secondary LDAP server, or should I setup a proper >> secondary DNS using my ISP as a forwarder with dynamic updates from >> the >> primary. >> > > You should not forward anything to your ISP. This is probably the > main reason for your DNS beeing slow. > > You should make shure you have well defined your network in your conf > (so that you don't resolve queries for outside users...)- > I would not advise you to forward any queries to your ISP as this > will disable the capacity for your own server to build It's own > resolver database and forward all the queries to the ISP (resulting > in slow answers)! I've now taken out the forwarders. > > > Normaly you should configure the master and the slave to be > authoritative for your internal domains. > And configure the master and the slave to resolve ALL the Internet > domains for your internal network and none for outside domains. > That is how I have setup the master, it only answer's queries from the internal network. > > DNS is very tightly related to network... And we don't have any clue > for the topology of your Net. > > > SHORT ANSWER : DON'T FORWARD --> BUILD YOUR OWN DATABASE!! > > >> Sorry if this is a bit vague, but I have no experience in this area. >> >> Rob >> > Thanks for the info, it has helped me. I had misunderstood the forwarders bit. Many thanks Rob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: What is the meaning of following message
> I am getting the following message: > > inetd[624]: ssh/tcp: bind: Address already use > > Anyone could tell me what is the meaning of this message? > > Thanks, > > Jeffrey > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" > Jeffrey, It usually means that you have sshd set to run from /etc/rc.conf and from inetd. Either comment out the line in /etc/rc.conf sshd="YES" or if you don't need inted comment that out. Hope this helps Rob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: where is mergemaster?
> > --- Erik Norgaard <[EMAIL PROTECTED]> wrote: > >> Peter wrote: >> > Where can I find mergemaster? I would like to upgrade my box. >> >> It should be in your path, but I have also had problems with my path >> not >> being set correctly in single user mode. > > That was exactly the problem. I realized this when someone responded > about it being at /sbin/mergemaster. > According to the manual this should work after rebooting with the -s option: # fsck -p # mount -u / # mount -a -t ufs # swapon -a Rob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: something better then rsync for duplicating systems ... ?
> Unison? It's in ports. > > On 3/30/06, Marc G. Fournier <[EMAIL PROTECTED]> wrote: >> >> I have two servers, one of them a backup of the other ... right now, I'm >> using rsync to do it, but since rsync has to traverse both servers file >> systems to do its comparison, it puts a good load on the system, and >> takes >> awhile to run ... >> >> So, are there any better tools I could be using, instead of rsync? >> >> Thanks ... >> >> >> Marc G. Fournier Hub.Org Networking Services Snip Snip You may like to have a look at ggated - its in the ports. Rob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: a few questions and concepts
> On Friday 07 April 2006 16:34, Giorgos Keramidas wrote: >> On 2006-04-07 15:54, Jonathan Horne <[EMAIL PROTECTED]> wrote: >> > im still pretty new to freebsd. ive been playing around with the >> cvsup >> > tools, and they are quite fascinating. >> > >> > i changed my production server from Fedora to FreeBSD 6.0, about 1 day >> > before the most recent sendmail exploit was published (well, published >> on >> > freebsd.org anyway). >> >> Murphy at work, again, eh? :) >> >> > i did download the patch and recompile it, but as some have also noted >> > on this list, that it still banners as 8.13.4 when you telnet to it. >> > >> > so, the past couple of days, i have learned to cvsup my /usr/src >> > directories. ive just been using the standard copy of the >> > stable-supfile. i have learned that if i perform the sendmail >> recompile >> > after the cvsup, that it sendmail seems to proclaim 8.13.6 in the >> banner. >> > on top of that, i have learned that if i recompile the kernel after >> > cvsup, that it no longer says FreeBSD 6.0-RELEASE, but FreeBSD >> > 6.1-PRERELEASE. >> >> You are running RELENG_6 now, which is much more recent than >> RELENG_6_0_RELEASE. >> >> The first one is the top of the 6.X branch, which changes moderately >> slow, but it *does* change. The 6.0-RELEASE source tree is "frozen in >> time" at the point the tag was placed on the source tree. >> >> > my questions: >> > 1) after cvsup, i think i can assume that sendmail is now compiling >> from >> > sourcecode that should definatly be free from the current exploit. i >> > would also assume that anything that i would need to recompile from >> > /usr/src should also see the benefit of 'latest source code'? >> >> Yes, both true. >> >> > 2) on a production server, should i avoid recompiling a kernel that >> will >> > be FreeBSD 6.1-PRERELEASE? on the whole, how reliable is the bulk of >> > these newer sources that were pulled down by cvsup? >> >> In general, if you a bit paranoid, you should avoid running RELENG_6 on >> a production system. At least until you have thoroughly tested it on a >> "test system" and found everything working as expected. >> >> > i can definatly see the benefits of using cvsup to take care of >> > problem with some things (like sendmail), but allowing it to update >> > everything under the /usr/src tree, im wondering if i could be setting >> > myself up for issues (by not editing the stable-supfile and taking >> > only what i need). >> >> This is why each FreeBSD release is associated with at least: >> >> * A "frozen" tag, like RELENG_6_0_RELEASE >> >> * A security branch, like RELENG_6_0 >> >> * A stable branch, like RELENG_6 >> >> Changes go very fast in the CURRENT FreeBSD branch. After they settle >> in for a while, soem of them are backported to the RELENG_X branch. The >> RELENG_X branch changes much slower than the experimental, CURRENT >> branch, but it does change every time a new feature is backported to >> RELENG_X. >> >> Then, when security fixes are made available, they are added both to the >> RELENG_X branch and the RELENG_X_Y security branches. >> >> If all you want is the "frozen" release sources plus changes that are >> really really necessary, because they fix a serious security bug, you >> probably want RELENG_X_Y (RELENG_6_0 in this case). >> >> Regards, >> Giorgos >> >> ___ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "[EMAIL PROTECTED]" > > thank you kindly for your reply, that was quite informative. ive actually > read the document on the differences between the stable, current, and > release > (or whatever), and find that system quite confusing for the moment. im > sure > ill grasp the method of the madness eventually. i guess what confuses me, > is > that i read about those, and then try to find them on the ftp sites. i > assume, that only release is made into a .iso file? and to move to a > higher > version (either the security RELENG_6_0 or stable RELENG_6), you do this > thru > the cvsup tool. Yes, as far as I can tell that is correct, it confused me at first. The iso image is the latest release for each branch. > > so, by your descriptions and reply to my previous comments, my system that > is > running what says 6.1-PRERELEASE is really RELENG_6 (stable) ? > Again correct. Don't forget 'stable' is not that stable it is a snapshot of 'current' that is stable enough to be released. > thanks, > Jonathan Horne The other confusing this is that the tags only realy refer to the 'userland' ie the core system. The ports get updated as and when. On the system I am currently working on which will be a production server, I don't whant too much change when in prodction so I am following the 6.0 branch at present (RELENG_6_0). I have portaudit installed which tells me what ports have been updated through security issues a
find command
Need "find" binary for FREE BSD 4.9 - REL p11 Need to place this command on a remote server for a cron script to function. Please reply to [EMAIL PROTECTED] (Alan) Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Need "find" binary
--> On one of my web sites, that used to run Solaris 2.7 OS, I had a functional cron script, mirroring a Solaris Server at home. The web site was moved to a BSD Server, without access to many binaries like "find". Can anyone tell me WHERE I can grab this one binary off a BSD system to ftp to the new server? Without it, my web server is reaching excessive "disk quota" and I cannot "find" the offending files. Please reply to freebsd-questions or directly to me at [EMAIL PROTECTED] Thanks in advance ----- Need "find" binary for FREE BSD 4.9 - REL p11 Need to place this command on a remote server for a cron script to function. Please reply to [EMAIL PROTECTED] (Alan) Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
de-installing kde & Xfree86 from 5.2.1
Hello, I am looking for a fast and secure way to remove all kde* things from my system. We are using this machine as a headless server and do not need this "kind of things at all". This is bothering me when I update de port tree and do my cvsup things. ON THE OTHER HAND we absolutely need the deinstall not to compromise our server !! Libraries used by other program must not be touched by the deinstall process as this is a quite busy mail server. I was thinking about going into each directory in /usr/ports/... and making a "make deinstall" Any other clue will be welcome ! __ «?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§ ¯¯ Grégory Bernard 11, rue de la Tour Directeur 75116 Paris France www.ToDoo.biz __ «?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§ ¯¯ PGP ID --> 0x1BA3C2FD "All parts should go together without forcing. You must remember that the parts you are reassembling were disassembled by you. Therefore, if you can't get them together again, there must be a reason. By all means, do not use hammer." -- IBM maintenance manual, 1975 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Problem with mknod for /dev/random => jailed bind configuration
Hello, I've tried to configure a bind server in a chroot jail and am facing a problem with /dev/random Thaugh I've read the man mknod I have to say that this didn't help me in solving the problem. When I start named with the -g switch here are the error. 08-Feb-2005 15:18:22.551 errno2result.c:109: unexpected error: 08-Feb-2005 15:18:22.551 unable to convert errno to isc_result: 6: Device not configured 08-Feb-2005 15:18:22.551 could not open entropy source /dev/random: unexpected error 08-Feb-2005 15:18:22.551 using pre-chroot entropy source /dev/random I've used the following mknod command : mknod /var/named/dev/null c 2 2 mknod /var/named/dev/random c 2 3 and also tried : mknod random c 245 0 mknod null c 2 2 I've chmod 666 the two files and make shure they are owned by bind:bind // ?? Any help will be welcome. __ «?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§ ¯¯ Grégory Bernard 11, rue de la Tour Directeur 75116 Paris France www.ToDoo.biz tel : +(33) 1 40 26 43 14 __ «?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§ ¯¯ PGP ID --> 0x1BA3C2FD "All parts should go together without forcing. You must remember that the parts you are reassembling were disassembled by you. Therefore, if you can't get them together again, there must be a reason. By all means, do not use hammer." -- IBM maintenance manual, 1975 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
IPF: Apparent packet duplication logged by IPF
Hi all. I am having a strange situation with IPF. I am trying to log all passed packets (the log is passed to a third-party stats program for graphical analysis). The problem is that I see many packets apparently being duplicated in the ipmon.log. The packet enters the firewall from the internal interface OK, but it appears to be transmitted out to the internet twice. Conversely, there are often multiple inbound packets from the internet which become just one on the internal interface. See these two examples (beware of line-wrap): 1) Internet to LAN 09:30:00.508378 2x ed1 @0:21 P 196.35.72.139,443 -> 192.168.0.180,1277 PR tcp len 20 296 -AP K-S IN 09:30:00.509446 hdlc5 @0:21 P 196.35.72.139,443 -> 192.168.0.180,1277 PR tcp len 20 296 -AP K-S OUT 2) LAN to internet (168.209.221.66 is my NAT address) 09:30:00.616102 hdlc5 @0:21 P 192.168.0.180,1277 -> 196.35.72.139,443 PR tcp len 20 40 -A K-S IN 09:30:00.616188 ed1 @0:21 P 168.209.221.66,1277 -> 196.35.72.139,443 PR tcp len 20 40 -A K-S OUT 09:30:00.616275 ed1 @0:21 P 168.209.221.66,1277 -> 196.35.72.139,443 PR tcp len 20 40 -A K-S OUT I don't believe the packets are ACTUALLY being resent twice, because the stats I have under MRTG indicate matching traffic volumes on the corresponding interfaces. I suspect the issue has something to do with how IPF and IPMON log the packets. But I'm not sure. Any help in understanding/fixing this would be greatly appreciated. Regards, Patrick O'Reilly. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: A jail?
On Thu, Jan 08, 2004 at 06:07:35PM -0800, Rishi Chopra wrote: > Simply trying to install postgresql - the message I included is what the > system prints out when installing from the ports collection. > > Andrew L. Gould wrote: Er, what directory were you in when you did the make install? The only port that produces the message below is ports/emulators/linux_base, which is definately not a dependency of postgresql, nor of any of its dependents. > >On Thursday 08 January 2004 06:13 pm, Rishi Chopra wrote: > > > > > >>While installing postgres I get the following: > >> > >> > >>You need to create the null device in your jailed Linux environment. Run > >>this > >>outside the jail, then press enter: > >> > >>mkdir -m 0755 -p /dev > >>rm -f //compat/linux/dev/null > >>mknod //compat/linux/dev/null c 2 2 > >>chmod 666 //compat/linux/dev/null > >> > >> > >>Do I HAVE to make a jail? I was just going to run the postgresql port on > >>my FreeBSD box, sans-condom. The box only has one user and there are no > >>security concerns to speak of. > >> > >>-R > >> > >> > > > >PostgreSQL is available via the FreeBSD ports system. It does not require > >a jail or linux emulation. > > > >What are you trying to do? > > > >Andrew Gould > > > > > > > > > > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
IPMON Format ???
Hi all! A little help please with understanding the format of ipmon.log. I have entries like this (mind line-wrap): === Sep 11 14:52:46 fox ipmon[47]: 14:52:45.248487 2x ed1 @0:3 P 196.23.158.10,25 -> 196.22.178.91,26704 PR tcp len 20 40 -A K-S OUT === I have been able to figure out what it all means by reference to "man ipmon", except for the following two things: 1) the "2x" before the interface name (ed1). 2) the "K-S" right near the end of the line, before "OUT". What do these two fields mean? Regards, Patrick. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Vinum and SoftUpdates
Hi folks. I have a few boxes which have recently begun to behave rather badly - frequent panics and lots of errors being spewed out during fsck on reboot. I note that these particular boxes have one thing in common - they have vinum devices which are also mounted with softupdates enabled. Is this OK? I have not been able to find any mention of softupdates in the vinum man pages. Thanks for any pointers. Regards, Patrick. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Vinum and SoftUpdates
Greg 'groggy' Lehey writes: That's because there's nothing to say about them. What was the cause of the panic? Greg, Thanks for following up. I realise my original post was rather scanty on detail, but I was just wondering about the specific combination of vinum/softupdates. Since you indicate that this combination should not be a problem in itself, I will need to dig deeper. Unfortunately I have only heard about the problems on these servers after the fact. I will need to rebuild their kernels with debugging, etc, as I did on my own box previously, and then wait for another crash and see what gdbmods reveals. I'll be in touch when I have something more useful in the way of clues. Regards, Patrick. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
ipf - sample rulesets
Hi all. Are there any good references and/or sample ipf rulesets that I could use to look-and-learn from. I am quite familiar with ipfw, but I'm struggling with converting my thinking on issues like the "setup" and "established" keywords of ipfw. Thanks in advance for any pointers. Regards, Patrick. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: portupgrade -Fa
Alex de Kruijff writes: On Fri, Oct 10, 2003 at 01:29:40PM +0200, Patrick O'Reilly wrote: The strange part is that on some of the servers the script works just fine, and on others it runs, and emails me what looks like a job well done, but the distfile has NOT been fetched. When I then go to do the actual upgrade, the distfile must first be fetched by portupgrade before it proceeds to build. There could be any number of problems that may be the cause of this. I realy can't see that from here. What you need to do is to do a check on every machine that doesn't work. I find it best to go from where the process begins and go all the way down to portupgrade. Try to find where it goes wrong. It could be that the crontab is wrong or that portupgrade isn't installed. Alex, thanks for your response. I've tried what you say before I sent the email. What confuses me is that the script runs fine if I log in and run it at the CLI. And it definitely runs from cron, because I get the email I am expecting, which is the output that would normally go to the terminal. So, the crontab is evidently active, and portupgrade is correctly installed and configured. But the actual fetch of the file simply does not happen if it is run from cron... Yet, on other servers it all works fine... ?!?!?!? Still confused. Patrick. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Package Management
On Fri, Oct 17, 2003 at 03:58:12AM -0600, SoloCDM wrote: > Does FreeBSD have package management to view the packages installed pkg_info(1) > and their names with versions, pkg_version(1) > remove the packages installed, and pkg_delete(1) > track the packages installed to avoid conflicts and retain stability? That's inherent/implied in the package system. See also ports(7) for more information. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Which Releases are still"supported"
Hi all. I know things are very different in the Open Source world, so the concept of "officially supported" versions is probably nonsense, but here's my dilemma: I received an email from Cyclades in which they told me: "I am sorry to tell you, but the latest FreeBSD version supported by our driver is version 4.4. The driver is not tested with newer FreeBSD versions and therefor we cannot support it." Now, since 4.4 was dated September 2001, it is now more than two years old. I keep my servers up to date (currently at 4.8-p13). So - my question - is 4.4 still a "supported" branch, or has it now been consigned to history? I couldn't find any policy statement WRT older releases at freebsd.org, though I might have looked in the wrong places... Regards, Patrick O'Reilly. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Which Releases arestill"supported"
Kris Kennaway writes: Most forms of support provided by the FreeBSD Project are on an ad-hoc basis, since it's a community-supported project. Typically, old releases do not get bug fixes beyond security fixes (for a limited lifetime, see http://www.freebsd.org/security), so bug reports against old releases are usually dealt with by asking the originator to upgrade to the latest release to verify whether the problem still exists, at which point an interested developer might be able to address the problem. A similar situation exists with the ports collection. It is not guaranteed to work with old releases, and updated packages are only provided for the head of the -STABLE branch. Kris Thanks Kris. It's a pity that Cyclades are so focussed on Linux that they are ignoring BSD... The fact that I have more than 10 of their devices (and I'm sure there must be many more in the field on BSD platforms) does not seem to concern them. One day when I'm big I'll learn some C and try including the if_cpc driver into the source tree. Regards, Patrick. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RELENG_5_3 // RELENG_5_3_RELEASE
Hi, I have configured my new BSD server with a RELENG_5_3 tag in the cvs- supfile and I was wondering if I took the right track to update my system. So far I have only compiled and installed the updated ports that I need (in /usr/ports). Since I have switched to the 5_3 instead of 5_3_RELEASE, do I have to do more updates for my system. I guess that the patched software that have been released since the 5_3_RELEASE are included in the 5_3 and that I have to install them somehow. So my question is how ? I guess that this is happening in /usr/src and that I have to "make" something… Have you got a specific pointer of the steps I have to take to update It properly. Do you think this is a good idea to stick to 5_3 instead of 5_3_RELEASE for a production system (mail server) ? Thanks for your advices. «?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§ Gregober ---> PGP ID --> 0x1BA3C2FD bsd @at@ todoo.biz «?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Pthread Problem building clamav-0.86.1
Hello, I have built on my test machine the latest version of clamav and I am facing a pthread build problem. My system is FreeBSD 5.2.1 // I ain't no C programmer (unfortunately) so any help will be welcome. Another question is how can I get back to the previous version that was installed (and working) on the system ? Sincerly yours; ===> Building for clamav-0.86.1 make all-recursive Making all in libclamav Making all in clamscan /bin/sh /usr/local/bin/libtool15 --mode=link cc -O -pipe - mcpu=pentiumpro -L/usr/local/lib -lc_r -lldap -o clamscan output.o getopt.o memory.o cfgparser.o misc.o clamscan.o options.o others.o manager.o treewalk.o ../libclamav/libclamav.la cc -O -pipe -mcpu=pentiumpro -o .libs/clamscan output.o getopt.o memory.o cfgparser.o misc.o clamscan.o options.o others.o manager.o treewalk.o -L/usr/local/lib ../libclamav/.libs/libclamav.so -lldap - lbz2 -lgmp -lcurl -lssl -lcrypto -lz -Wl,--rpath -Wl,/usr/local/lib ../libclamav/.libs/libclamav.so: undefined reference to `pthread_cleanup_pop' ../libclamav/.libs/libclamav.so: undefined reference to `pthread_create' ../libclamav/.libs/libclamav.so: undefined reference to `pthread_cleanup_push' ../libclamav/.libs/libclamav.so: undefined reference to `pthread_join' *** Error code 1 Stop in /usr/ports/security/clamav/work/clamav-0.86.1/clamscan. *** Error code 1 Stop in /usr/ports/security/clamav/work/clamav-0.86.1. *** Error code 1 Stop in /usr/ports/security/clamav/work/clamav-0.86.1. *** Error code 1 Stop in /usr/ports/security/clamav. *** Error code 1 Stop in /usr/ports/security/clamav. «?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§ Gregober ---> PGP ID --> 0x1BA3C2FD bsd @at@ todoo.biz «?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Pthread Problem building clamav-0.86.1
Nope, The simple answer is to compile clamav with the "disable-pthreads" option. Modify the configure args of the Makefile using these attributes : CONFIGURE_ARGS= --with-dbdir=${DBDIR} \ --with-zlib=/usr \ --disable-zlib-vcheck \ --disable-clamuko \ --disable-clamav \ --enable-bigstack \ --disable-gethostbyname_r \ --enable-readdir_r \ --disable-dependency-tracking \ --disable-pthreads It'll compile smoothly. Thanks to Matt Fretwell from clamav Mailing List // Le 26 juin 05 à 21:43, Craig Kleski a écrit : On Sunday 26 June 2005 09:45 pm, bsd wrote: Hello, I have built on my test machine the latest version of clamav and I am facing a pthread build problem. My system is FreeBSD 5.2.1 // I ain't no C programmer (unfortunately) so any help will be welcome. Another question is how can I get back to the previous version that was installed (and working) on the system ? Sincerly yours; ===> Building for clamav-0.86.1 make all-recursive Making all in libclamav Making all in clamscan /bin/sh /usr/local/bin/libtool15 --mode=link cc -O -pipe - mcpu=pentiumpro -L/usr/local/lib -lc_r -lldap -o clamscan output.o getopt.o memory.o cfgparser.o misc.o clamscan.o options.o others.o manager.o treewalk.o ../libclamav/libclamav.la cc -O -pipe -mcpu=pentiumpro -o .libs/clamscan output.o getopt.o memory.o cfgparser.o misc.o clamscan.o options.o others.o manager.o treewalk.o -L/usr/local/lib ../libclamav/.libs/libclamav.so -lldap - lbz2 -lgmp -lcurl -lssl -lcrypto -lz -Wl,--rpath -Wl,/usr/local/lib ../libclamav/.libs/libclamav.so: undefined reference to `pthread_cleanup_pop' ../libclamav/.libs/libclamav.so: undefined reference to `pthread_create' ../libclamav/.libs/libclamav.so: undefined reference to `pthread_cleanup_push' ../libclamav/.libs/libclamav.so: undefined reference to `pthread_join' *** Error code 1 Stop in /usr/ports/security/clamav/work/clamav-0.86.1/clamscan. *** Error code 1 Stop in /usr/ports/security/clamav/work/clamav-0.86.1. *** Error code 1 Stop in /usr/ports/security/clamav/work/clamav-0.86.1. *** Error code 1 Stop in /usr/ports/security/clamav. *** Error code 1 Stop in /usr/ports/security/clamav. «?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§ ¯¯¯¯¯¯¯¯ Gregober ---> PGP ID --> 0x1BA3C2FD bsd @at@ todoo.biz «?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" Possible solution: alter the Makefile LDFLAGS by adding "-lpthread" Then try the build again. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions- [EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Refuse file for cvs sync.
Hello, I have just configured a refuse file for my mail server, I was wondering if the format of my file is ok... doc/bn_* doc/da_* doc/de_* doc/el_* doc/es_* doc/it_* doc/ja_* doc/nl_* doc/no_* doc/pl_* doc/pt_* doc/ru_* doc/sr_* doc/tr_* doc/zh_* ports/arabic* ports/astro* ports/audio* ports/biology* ports/chinese* ports/games* ports/german* ports/hebrew* ports/hungarian* ports/japanese* ports/korean* ports/polish* ports/portuguese* ports/russian* ports/x11* www/de* www/es* www/it* www/ja* www/nl* www/pt* www/ru* www/tr* www/zh* data/es* data/ja* data/ru* data/zh* www/data/es* www/data/ja* www/data/ru* www/data/zh* src/share/doc/es* src/share/doc/ja* src/share/doc/ru* src/share/doc/zh* And the second thing is that I would like to erase the ports that are not needed (the one that are in the refuse file). My question is : will this be done automatically last time I cvsup - or do I have to do smthg special ? Thanks for your answers. «?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§ Gregober ---> PGP ID --> 0x1BA3C2FD bsd @at@ todoo.biz «?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Using unix mail with maildir format
Hello, Does anyone know if there is a way to read mail with unix "mail" program? I've been using this program since couple of years and I am quite happy with It… I can't seem to find a shortcut to have It read maildir format… Thanks. «?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§ Gregober ---> PGP ID --> 0x1BA3C2FD bsd @at@ todoo.biz «?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Installing FreeBSD on NEC Express5800/120Ef
Has anyone successfully installed FreeBSD 5.x on a NEC Express5800/120Ef Thanks for your answer and experience. «?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§ Gregober ---> PGP ID --> 0x1BA3C2FD bsd @at@ todoo.biz «?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Using unix mail with maildir format
Hello, Does anyone know if there is a way to read mail with unix "mail" program? I've been using this program since couple of years and I am quite happy with It… I can't seem to find a shortcut to have It read maildir format… Thanks. «?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§ Gregober ---> PGP ID --> 0x1BA3C2FD bsd @at@ todoo.biz «?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Problem updating apache 2.1.x via port
1/apu.h: No such file or directory find: /usr/local/include/apr-1/apu_version.h: No such file or directory find: /usr/local/include/apr-1/apu_want.h: No such file or directory *** Error code 1 Stop in /usr/ports/www/apache21/work/httpd-2.1.4-alpha/server. *** Error code 1 Stop in /usr/ports/www/apache21/work/httpd-2.1.4-alpha/server. *** Error code 1 Stop in /usr/ports/www/apache21/work/httpd-2.1.4-alpha. *** Error code 1 Stop in /usr/ports/www/apache21. *** Error code 1 Stop in /usr/ports/www/apache21. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/ portupgrade50638.44 make reinstall egrep: /var/db/pkg/apache-2.1.3/+CONTENTS: No such file or directory ---> Restoring the old version «?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§ Gregober ---> PGP ID --> 0x1BA3C2FD bsd @at@ todoo.biz «?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Core Dump using portversion
Problem was due to multiple install of ruby that were not cleaned well. solution : de-install these various version and keep the last release of ruby. Le 6 oct. 05 à 12:00, bsd a écrit : This has not solved my issue : ns2# pkgdb -fu ---> Updating the pkgdb [Rebuilding the pkgdb in /var/db/pkg ... - 168 packages found (-0 +168) ... . done] ns2# portversion -l "<" [Failed `Inappropriate file type or format'] [Updating the portsdb in /usr/ports ... - 13568 port entries found .1000.2000... The ruby process involved puts the processor at 98% use and nothing move on after that... I had to kill the process in order to get my hand back on the server... ?? Le 6 oct. 05 à 11:31, Vladimir Tsvetkov a écrit : We have one of our server that core dumps when we are trying to use portversion ns2# portversion -l "<" [Updating the pkgdb in /var/db/pkg ... - 168 packages found (-1 +1) (...). done] [Failed `Inappropriate file type or format'] [Updating the portsdb in /usr/ports ... - 13568 port entries found .1000.2000...[BUG] Segmentation fault ruby 1.8.2 (2004-12-25) [i386-freebsd5] Abort (core dumped) So far I have : - de-install and re-install ruby. - de-install and re-install portupgrade. Nothing has changed... Our system is FreeBSD 5.2.1 Do you have any clue regarding the way we can solve this issue ?? This is from the portupgrade man page in the WARNING section: "Even if you don't do anything wrong, a package database may get corrupt somehow when it is heavily updated. In such cases, run ``pkgdb -fu '' to rebuild the database and rescue the tools from coredumping. " Best Regards, Vladimir «?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§ ¯¯¯¯ Gregober ---> PGP ID --> 0x1BA3C2FD bsd @at@ todoo.biz «?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions- [EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Updating from RELENG_5_1_2_RELEASE to ... ??
Hello, I am going to update one of my customer's server from RELENG_5_2_1_RELEASE to RELENG_5_3 or RELENG_5_4 or RELENG_5 Which version would you advise me ?? This is a mail server in production (postfix - amavisd - spamassassin) so It obviously needs stability. There is no GUI (X11 or so). Which version of the system should I stick to ?? What are the risks ? Which long term policy would you advise me to get this server up and running as long as possible ? «?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§ Gregober ---> PGP ID --> 0x1BA3C2FD bsd @at@ todoo.biz «?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Fwd: Updating from RELENG_5_1_2_RELEASE to ... ??
Hello, I am going to update one of my customer's server from RELENG_5_2_1_RELEASE to RELENG_5_3 or RELENG_5_4 or RELENG_5 Which version would you advise me ?? This is a mail server in production (postfix - amavisd - spamassassin) so It obviously needs stability. There is no GUI (X11 or so). Which version of the system should I stick to ?? What are the risks ? Which long term policy would you advise me to get this server up and running as long as possible ? «?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§ Gregober ---> PGP ID --> 0x1BA3C2FD bsd @at@ todoo.biz «?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§ «?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§ Gregober ---> PGP ID --> 0x1BA3C2FD bsd @at@ todoo.biz «?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
make index & make fetchindex
Hello, I have a little script that I run twice a week that updates my ports automatically. I have quite often errors with the "make index" line because I have a refuse file to fasten the process of updating my server. My question is : can I safely replace the "make index" by the a "make fetchindex" ? What will be the main differences if I do so ? What are the risks ? #!/bin/sh if SERVER=`/usr/local/bin/fastest_cvsup -Q -c fr,fr` then echo "Je fais tourner CVSUP" /usr/local/bin/cvsup -L1 -h $SERVER /root/cvs-supfile else echo "Mmmh ! il y a un blem !!" 1>&2 exit 1 fi #echo "Je mets a jour docs" #cd /usr/docs #make install echo "Je mets a jour l'index des ports" cd /usr/ports make index echo "Les logiciels suivant necessitent une mise a jour : " /usr/local/sbin/portversion -l "<" #echo "Je mets a jour les ports" #portupgrade -arR echo "" echo "J'ai fini pour le serveur newmail a `/bin/date`." echo "" cat /var/log/upgrade.log | mail -s "Portversion Newmail du `/bin/ date`" gregober ________ «?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§ Gregober ---> PGP ID --> 0x1BA3C2FD bsd @at@ todoo.biz «?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§«?»¥«?»§ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
PowerEdge 2850 AMD64 panics
This is my first post to the FreeBSD mailing list, and unfortunatley its because I've been having a vexing problem with one of my servers. The machine in question is a Dell PowerEdge 2850 w/2 3Ghz EMT64 Xeons, 2gbs of ram, a Perc 4e/Di w/6 300GB drives. This machines primary function is as a mail server running Exim. Below is a DMESG from this machine. This machine is running the AMD64 port of freebsd, and what is happening is often when the volume of incoming mail gets pretty high, the machine will panic and reboot. I have tried to capture a dump but it always fails dumping before it completes, usually before its dumped more then 24MB. The few times that I have seen the console when its happened the panic was something to do with UFS. I have upgraded the bios and firmwares on everything, and that increased the stability of the machine. I also turned off soft updates on all the file systems, which also further increased stability, however there is still a problem. Any pointers/hints/tips/solutions would be greatly appreciated. Also, if more information is needed let me know and I would be happy to provide it. Thanks in advance for any help you may be able to give. Stacy Anable Rio Communications The Regents of the University of California. All rights reserved. FreeBSD 5.4-RELEASE-p7 #0: Thu Oct 6 11:13:54 PDT 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MAIL Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Xeon(TM) CPU 3.00GHz (2992.71-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0xf43 Stepping = 3 Features=0xbfebfbff Features2=0x641d,MON,DS_CPL,CNTX-ID,CX16,> AMD Features=0x20100800 Hyperthreading: 2 logical CPUs real memory = 2147221504 (2047 MB) avail memory = 2064646144 (1969 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu2 (AP): APIC ID: 6 cpu3 (AP): APIC ID: 7 ioapic0: Changing APIC ID to 8 ioapic1: Changing APIC ID to 9 ioapic1: WARNING: intbase 32 != expected base 24 ioapic2: Changing APIC ID to 10 ioapic2: WARNING: intbase 64 != expected base 56 ioapic3: Changing APIC ID to 11 ioapic3: WARNING: intbase 96 != expected base 88 ioapic0 irqs 0-23 on motherboard ioapic1 irqs 32-55 on motherboard ioapic2 irqs 64-87 on motherboard ioapic3 irqs 96-119 on motherboard acpi0: on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 cpu0: on acpi0 cpu1: on acpi0 cpu2: on acpi0 cpu3: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: at device 2.0 on pci0 pci1: on pcib1 pcib2: at device 0.0 on pci1 pci2: on pcib2 amr0: mem 0xdfec-0xdfef,0xd80f-0xd80f irq 46 at device 14.0 on pci2 amr0: Firmware 521S, BIOS H430, 256MB RAM pcib3: at device 0.2 on pci1 pci3: on pcib3 pcib4: at device 4.0 on pci0 pci4: on pcib4 pcib5: at device 5.0 on pci0 pci5: on pcib5 pcib6: at device 0.0 on pci5 pci6: on pcib6 em0: port 0xecc0-0xecff mem 0xdfbe-0xdfbf irq 64 at device 7.0 on pci6 em0: Ethernet address: 00:14:22:10:4f:c2 em0: Speed:N/A Duplex:N/A pcib7: at device 0.2 on pci5 pci7: on pcib7 em1: port 0xdcc0-0xdcff mem 0xdf9e-0xdf9f irq 65 at device 8.0 on pci7 em1: Ethernet address: em1: Speed:N/A Duplex:N/A pcib8: at device 6.0 on pci0 pci8: on pcib8 pcib9: at device 0.0 on pci8 pci9: on pcib9 pcib10: at device 0.2 on pci8 pci10: on pcib10 pci0: at device 29.0 (no driver attached) pcib11: at device 30.0 on pci0 pci11: on pcib11 pci11: at device 5.0 (no driver attached) pci11: at device 5.1 (no driver attached) pci11: at device 5.2 (no driver attached) atapci0: port 0xcc70-0xcc7f,0xccd0-0xccd3,0xccd8-0xccdf,0xcce4-0xcce7,0xccf0-0xccf7 irq 23 at device 6.0 on pci11 ata2: channel #0 on atapci0 ata3: channel #1 on atapci0 pci11: at device 13.0 (no driver attached) isab0: at device 31.0 on pci0 isa0: on isab0 atapci1: port 0xfc00-0xfc0f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0 ata0: channel #0 on atapci1 ata1: channel #1 on atapci1 fdc0: port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: irq 12 on atkbdc0 psm0: model IntelliMouse Explorer, device ID 4 sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A orm0: at iomem 0xec000-0xe,0xc-0xcafff on isa0 ppc0: cannot reserve I/O port range sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa-0xb on isa0 Timecounters tick every 1.000 msec acd0: CDRW at ata0-master PIO4 ata2-master: FAILURE - SETFEATURES SET TRANSFER MODE s
Errors during make buildworld (5.4 to 6.0 upgrade)
While running make buildworld after a make cleanworld and make cleandir in attempts to upgrade from 5.4 to 6.0, I cannot get around the following error: make: don't know how to make /usr/src/lib/libalias/alias.c. Stop *** Error code 2 Stop in /usr/src/lib. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. I followed the suggestions from http://www.nabble.com/buildworld-failing-on-amd64-with-RELENG_6-t494383.html and although going into the directory in question and building there worked, then running make buildworld quit at the same spot. The only other report I have seen suggested rm -rf /usr/obj/* (http://lists.freebsd.org/pipermail/freebsd-amd64/2005-November/006615.html) but that is part of what make cleanworld does so I didn't feel the need to do it yet again. Any suggestions and help is welcome. Cheers, BSDuser ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Creating clone of a HDD including boot partition
Is there a way to dd to a file to create an iso image and then restore (still using dd from this image). I only have one IDE <--> USB cable so this is the reason why It'd more simple for me to create an iso image of the disk and then restore. Using dump won't be very useful because I won't be able to get the first 63 segments where boot info are written, I need something of lower level (obviously dd will be my friend). Thanks everyone. I'll try to post the line code once I got It up and running. Thanks. Le 15 déc. 2010 à 09:00, Robert Bonomi a écrit : > >> From owner-freebsd-questi...@freebsd.org Tue Dec 14 09:01:02 2010 >> From: nagios >> Date: Tue, 14 Dec 2010 15:42:42 +0100 >> To: Liste FreeBSD >> Subject: Creating clone of a HDD including boot partition >> >> Hello, >> >> I have setup a tailored made configuration (1 UFS partition + 1 >> swap + boot sectors) for some hardware that I am reselling and >> would like to clone one existing HDD (tailor made) and be able to >> dump to another new HDD. >> >> System is running pfSense with FreeBSD 7.2 and soon 8.x >> >> What would be your suggested method to achieve this goal. > > *IF* the disks are the same size/geometry, then simply dd(1) from one raw > device to the other. > > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" –– -> Grégory Bernard Director <- ---> www.osnet.eu <--- --> Your provider of OpenSource appliances <-- –– OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: FreeBSD IPSec stack contains backdoors?
This is not so clear ! http://www.itworld.com/open-source/130820/openbsdfbi-allegations-denied-named-participant We should ask competent persons like Colin Percival… the FreeBSD Security Officer since 2005. He would have a point of view much more precise than anyone of us could have. ;-) Le 15 déc. 2010 à 15:23, Victor Lyapunov a écrit : > Hi folks, > Recently OpenBSD developer Gregory Perry disclosed information about > possible backdoors in OpenBSD IPSec stack (see > http://permalink.gmane.org/gmane.os.openbsd.tech/22557) In particular, > Gregory Perry, who has been working on a OpenBSD -ish implementation > of IPSec says a number of backdoors have been introduced into the > code. > > As far as I am aware, FreeBSD contains considerable amount of code > ported from OpenBSD. The question is: was the FreeBSD's ipsec code > ported from OpenBSD's implementation? If so, what might be the impact > of this? > > Thanks, > Victor Lyapunov. > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" –– -> Grégory Bernard Director <- ---> www.osnet.eu <--- --> Your provider of OpenSource appliances <-- –– OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Creating clone of a HDD including boot partition
Just to be precise, I am not trying to do an ISO image of a running root FS, but of a USB attached disk. … Le 15 déc. 2010 à 16:45, Giorgos Keramidas a écrit : > On Wed, 15 Dec 2010 16:11:45 +0100, bsd wrote: >> Is there a way to dd to a file to create an iso image and then restore >> (still using dd from this image). I only have one IDE <--> USB cable >> so this is the reason why It'd more simple for me to create an iso >> image of the disk and then restore. >> >> Using dump won't be very useful because I won't be able to get the >> first 63 segments where boot info are written, I need something of >> lower level (obviously dd will be my friend). >> >> Thanks everyone. I'll try to post the line code once I got It up and >> running. > > No dd(1) cannot do that. > > What you _can_ do is boot into single-user mode, and then use mkisofs > with burncd or growisofs from dvd+rw-tools to burn an image while still > in single-user mode. The only user mode process is your root shell at > that point, so you can be relatively sure there are no major changes > happening somewhere at the filesystem while you are still dumping it to > a CD-ROM or DVD-ROM disk. > > –– -> Grégory Bernard Director <- ---> www.osnet.eu <--- --> Your provider of OpenSource appliances <-- –– OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Creating clone of a HDD including boot partition
Le 15 déc. 2010 à 20:20, Warren Block a écrit : > On Wed, 15 Dec 2010, bsd wrote: > >> Is there a way to dd to a file to create an iso image and then restore >> (still using dd from this image). >> I only have one IDE <--> USB cable so this is the reason why It'd more >> simple for me to create an iso image of the disk and then restore. > > Use dd's of= parameter to send output to a file. If it really has to be an > ISO, pipe it to mkisofs. Using dd like that makes big files with lots of > wasted space. The article I posted earlier shows how to save some of that by > filling the disk's empty space with zeros. Then gzip can do some useful > compression. > >> Using dump won't be very useful because I won't be able to get the first 63 >> segments where boot info are written, I need something of lower level >> (obviously dd will be my friend). > > A hybrid approach would be to save the first 63 blocks with dd, then use dump > for the UFS filesystems. > > dd if=/dev/ad0 of=mbr.bin count=63 > > PS: top-posting bad, inline with trimmed irrelevancies good. Ok, Thanks for the link and explanation. I have tried to use the compressed approach using smthg like: # mount /dev/ad0s1a /mnt # cd /mnt # dd if=/dev/zero of=zerofile bs=1M I have a lot of errors on standerr output such as : g_vfs_done() : da0s1a [WRITE(offset=58978680256, length=131072)]error = 5 Up to a point where It has finaly freezed my running FBSD 8.1. I don't think I have reached the end of the file… ?? -- I am restarting the operation. –– -> Grégory Bernard Director <- ---> www.osnet.eu <--- --> Your provider of OpenSource appliances <-- –– OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Creating clone of a HDD including boot partition
Le 16 déc. 2010 à 16:03, Bernt Hansson a écrit : > 2010-12-16 11:55, bsd: > >> I have tried to use the compressed approach using smthg like: >> >> # mount /dev/ad0s1a /mnt >> # cd /mnt >> # dd if=/dev/zero of=zerofile bs=1M >> >> >> I have a lot of errors on standerr output such as : >> >> g_vfs_done() : da0s1a [WRITE(offset=58978680256, length=131072)]error = 5 > > You have to little disk space, is my guess. > >> Up to a point where It has finaly freezed my running FBSD 8.1. > > To little to fast. > >> I don't think I have reached the end of the file… ?? >> Ok, I have got It working. I have created an 736 MB archive of my 160 GB hard drive. Now I am trying to restore It from my mac with : $ gzcat pfSense_HDD.gz | dd of=/dev/disk1 bs=1m It has started at 19h52 and at 32h02 it is still not finished… I thing I'll go to sleep and see if the baby is born tomorow morning. Is there anything I can do to speed up the process ? Anyway thank you for all this useful help. –– -> Grégory Bernard Director <- ---> www.osnet.eu <--- --> Your provider of OpenSource appliances <-- –– OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Compatible Wi-Fi card mini PCI-Express
Hello friends, I am looking for a FreeBSD compatible card in Mini PCI-Express. I know that the hardware list provides a lot of links, but since there are many providers, I thought It could be faster to ask the mailing list directly. This will be used as an AP in a pfSense appliance (for testing purposes) and might be deployed in larger scale deployment if testing is ok… So I'd rather use very good quality "branded" hardware. Could be 802.11 G. Sincerely yours. –– -> Grégory Bernard Director <- ---> www.osnet.eu <--- --> Your provider of OpenSource appliances <-- –– OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Apache 2.2 and php 5.4.5 failing on freebsd 8.3
Le 21 août 2012 à 04:10, John Levine a écrit : >>> Are you running pecl-APC? If so, what version? There's a major issue with >>> the >>> latest. >> >> Hmmn, that might have been it. >> >> I backed down to 5.3, but when I have a chance I'll try 5.4 again without >> APC. > > Tried it without APC, didn't help. We're back to the theory that there's > something in PHP 5.4.5 that builds OK on 9.0 but not on 8.x. I suggest that you start with a fresh "php.ini" file in order to have up to date values. If you have compiled it with cli, you can post the output of php -v here so we can figure out more precisely what is going on with your install… I am running PHP 5.4.5 on 7.4 without problem - I had problem upon install, but they all came from php.ini not beeing up to date (AFAIR). Thx. > > R's, > John > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" –– -> Grégory Bernard Director <- ---> www.osnet.eu <--- --> Your provider of OpenSource appliances <-- –– OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
SSD for FreeBSD NAS device
Hello, I have just acquired an Intel R2312GZ4GC4 which I have equipped with a Adaptec RAID 51245 and 6 WD red disks of 3To - It'll come with 32Gb of Kingston ECC RAM. I am planing to use It as a backup device on a second hosting facility to backup couple of critical servers of mine. Item: Intel(R) Server System R2312GZ4GC4 Intel(R) Server System: integrated in a 2U chassis supporting 12x3.5* Hot-swap drives, 24 DIMMs, 2 750W Redundant Power Supplies, enterprise class IO, Intel(R) Remote Management Module 4 (AXXRMM4R) Integrated Intel(R) Server System with (1) Intel(R) Server Board S2600GZ4 in 2U chassis, (1) airduct, (1) Control panel on rack handle, Support for 2x SSD mounting on airduct, (12) 3.5†Hot Swap Drive Carriers with (1) Hot Swap Backplane, (3) SFF8087 to SFF8087 cables, (2) CPU heatsinks, Redundant and hotswap cooling fans, (2) risers with 3 x8 slots (2xFHFL 1xFHHL), (2) 750W AC Power Supply, Intel(R) Remote Management Module 4, (1 Set) Value rails Qty: 1 I will use ZFS as file system for both the root drive (SSD ?) - and the Adaptec RAID / JBOD controller (RAIDZ2 probably). I wanted to know what were your experiences on choosing an SSD HD as master boot device / root FS ? Do you think I should go for a redundant SSD drives (RAID 1) or does this offers limited interest in such config ? I have been reading comments about "failure" / problems here and there, but comments are not so fresh (one year is very old in SSD). So I wanted to have fresh infos and updates on your experiences with SSD on such mid size system. Thx. –– -> Grégory Bernard Director <- ---> www.osnet.eu <--- --> Your provider of OpenSource appliances <-- –– OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
9.1-R and garbage on the console
Hello. I installed 9.1-R amd64 on a flash drive and boot off it to do remote ZFS backups. Booting and the text console screen, including the other alt-f? consoles, work fine at this point. A few minutes into the ZFS receive my console turns into blocky garbage: http://imgur.com/y8kWR . The system is not crashed and works fine via SSH. The box's mainboard (GA-E7AUM-DS2H) has "Integrated NVIDIA GeForce 9400" graphics. It appears to me that the RAM shared with the video card is overwritten/corrupted. Any ideas on how to remedy this? Thanks for any advice. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Best approach to jails + zfs
Hi, I wanted to have the point of view of the community on the best approach in order to handle a quite large system with couple of jails (shouldn't have more than 5 to 10). Whole system is based on zfs. I'll use this as a backup server. I have been using the "handbook" approach so far. It is quite stable but the linked directories inside each jail is quite error prone and may be confusing. With this approach you can update all your jails at once… this is quite tempting, but if you have an error… all your jails are gone at once ! == you can't afford to have a kernel compile problem while updating your system or you're dead !! http://www.freebsd.org/doc//handbook/jails-build.html The other approach that I have found is to use create a base jail system using sysinstall and then zfs snapshot to clone It. You then use this to create a jail. You end up with couple of independent jails which are not linked to each other in any way. You can / need to update each jail one by one. http://vocalbit.com/article/402/freebsd-jails-using-zfs-and-bsdinstall • I wanted to know if the handbook approach is still the most recent one considering the latest progress in FBSD jail management ? • I wanted to know if you had some "mixed" approach that can leverage the risk of the handbook approach ? • Last but not least - do you have any good pointer to recent guide / howto / studies on the subject ? Thanks –– -> Grégory Bernard Director <- ---> www.osnet.eu <--- --> Your provider of OpenSource appliances <-- –– OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Best approach to jails + zfs
Le 25 janv. 2013 à 18:41, Steve O'Hara-Smith a écrit : > On Fri, 25 Jan 2013 18:25:06 +0100 > bsd wrote: > >> Hi, >> >> I wanted to have the point of view of the community on the best approach >> in order to handle a quite large system with couple of jails (shouldn't >> have more than 5 to 10). Whole system is based on zfs. I'll use this as a >> backup server. > > You might like the sysutils/ezjail port - I use it for a very > similar purpose and find it works well. > > -- > Steve O'Hara-Smith I am a bit skeptical on the third party script approach. How stable has It been ? I have been using warden with PC-BSD "TrueOS" for testing and I have encountered all sorts of problems (not stable when you have two pools of disks - can't delete jail…)… Quite interesting approach, but not mature enough to be launched in production. I have finally gotten back to the FreeBSD root file system which I am using since couple of years now. It is not fancy, It does not provide script to ease your pain… But you understand what you are doing and It does what you tell him to do !! ZFS has introduced a new challenge, but now that I have understood (more or less) how It is working, I found It really great! Just trying to figure out the best way to use both Jail + ZFS. But I might re-consider my position… Does ezjail comply with the latest FreeBSD 9 / 9.1 advances in jail / ZFS management improvement ? Thanks for your feedback. –– -> Grégory Bernard Director <- ---> www.osnet.eu <--- --> Your provider of OpenSource appliances <-- –– OSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetOSnetO ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
[OT] NTP related question
Hi all! I have my NTP server running on BSD - great! My Question: Any suggestions for a simple, light, free NTP client that will run on Win2k Workstations? Since this is somewhat Off-Topic, you may prefer to reply directly to me than adding more OT traffic to the list... Regards, Patrick O'Reilly. www.perimeter.co.za To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: NTP related question - Answered
[EMAIL PROTECTED] writes: Hi all! I have my NTP server running on BSD - great! My Question: Any suggestions for a simple, light, free NTP client that will run on Win2k Workstations? As usual, thanks for the quick responses :) I've decided to use automachron (it was real nice 'n easy) Regards, Patrick. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Can I use GRE on a gif device?
Hi all. I have successfully configured a tunnel from a BSD box to a Cisco router using the gif device to implement the BSD end of the tunnel. The Cisco Technician doing the far end of the config said that the protocol of choice for the job is GRE (protocol 47 according to /etc/protocols). However, I found that gif is using IPENCAP (protocol 4 according to /etc/protocols). Said technician told me that GRE encrypts the tunneled data, while IPENCAP does not. So I guess there are really 2 questions: 1) Would it be wiser for me to run a tunnel on GRE than on IPENCAP? 2) Is there a way to tell gif to use GRE as the encapsulation protocol? I find no reference to GRE in the gif man page. Regards, Patrick O'Reilly. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message