reboot after removing ipv6 ?
Hello Do I have to reboot a server after unvalidating IPv6 in /etc/rc.conf ? I seems to use /etc/rc.d/netif restart is not suffisant Thank you ___ 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: using AWK
On 12/17/2012 12:39 PM, Jack Mc Lauren wrote: Hi guys How can I read a file which contains a number and assign that number to a variable via awk programming? By the way, I want to use this awk program in a shell script. Thanks in advance ___ 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 A good awk start : http://www.grymoire.com/Unix/Awk.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
NFS client over private network
Hello I have some trouble on a mail server running 9.0-RELEASE-p3 Last week I set up a NFS mounted partition containing 1 Tb of IMAP folders the NFS mount is done through a private network link on a dedicated giga ethernet link with the following config : 10.0.0.1/24 -- 10.0.0.2/24 mailhub NFS NetAPP 3210 server I use MBOX format on this server ( Postfix + Dovecot 2 ) Since I used this configuration a lock problem occured on some INBOXes here is an example of the problem. Nov 30 23:59:26 mail postfix/local[35280]: 3YCr470N6MzYmp0: to=x...@esiee.fr, orig_to=x...@esiee.fr, relay=local, delay=1527, delays=1470/39/0/19, dsn=4.2.0, status=deferred (cannot update mailbox /var/mail/xxx for user xxx. unable to lock for exclusive access: Resource temporarily unavailable) I don't think Postfix or Dovecot are responsible because when I do not use the private NFS link this does not happen ... I mean when the partition is NFS mounted with public IP addess. Thanks for any info if you have some ... ___ 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: NFS client over private network
On 12/03/2012 10:11 AM, Olivier Nicole wrote: Hi, I have some trouble on a mail server running 9.0-RELEASE-p3 Last week I set up a NFS mounted partition containing 1 Tb of IMAP folders the NFS mount is done through a private network link on a dedicated giga ethernet link with the following config : 10.0.0.1/24 -- 10.0.0.2/24 mailhub NFS NetAPP 3210 server I use MBOX format on this server ( Postfix + Dovecot 2 ) There is something somewhere saying don't use mbox format on NFS. It's simply wont work. It may work, but someday you'll face some issue. Time to change for maildir format :) Bon courage. Olivier A mbox -- maildir convertion on this server will take ~24 hours ... I cannot stop it so long for now ( I have to wait until holidays ... ) Since I used this configuration a lock problem occured on some INBOXes here is an example of the problem. Nov 30 23:59:26 mail postfix/local[35280]: 3YCr470N6MzYmp0: to=x...@esiee.fr, orig_to=x...@esiee.fr, relay=local, delay=1527, delays=1470/39/0/19, dsn=4.2.0, status=deferred (cannot update mailbox /var/mail/xxx for user xxx. unable to lock for exclusive access: Resource temporarily unavailable) I don't think Postfix or Dovecot are responsible because when I do not use the private NFS link this does not happen ... I mean when the partition is NFS mounted with public IP addess. Thanks for any info if you have some ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
lagg interface not created at reboot ( 9.0 )
hello I use the lagg feature on a server and it seems the lagg pseudo interface is not created when the machine reboots , the server runs 9.0-p3 here is the incriminated part of the /etc/rc.conf file ifconfig_bce2=up ifconfig_bce3=up cloned_interface=lagg0 ifconfig_lagg0= laggproto lacp laggport bce2 laggport bce3 ipv4_addrs_lagg0= xxx.xxx.xxx.xxx/24 defaultrouter=xxx.xxx.xxx.xxx Note : if I create manually the lagg0 interface everything starts well ... thanks for any info ___ 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
Bug in LAGG driver at 9.0 ?
Hello I cannot get the lagg driver to work properly at 9.0 the Cisco switch is well configured to support LACP no problem on that side it supports another Linux server with two aggregated eth ports that works well. here is the config of the FreeBSD 9.0-P3 server ifconfig_bce0=up ifconfig_bce1=up ifconfig_bce2=up cloned_interfaces=lagg0 ifconfig_lagg0=laggproto lacp laggport bce0 laggport bce1 laggport bce2 ipv4_addrs_lagg0=147.215.201.21/24 defaultrouter=147.215.201.1 showing the lagg configuration give the following , only one ethernet port is active. ifconfig lagg0 lagg0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=c01bbRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,VLAN_HWTSO,LINKSTATE ether 00:9c:02:9a:97:b0 inet 147.215.201.21 netmask 0xff00 broadcast 147.215.201.255 nd6 options=29PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL media: Ethernet autoselect status: active laggproto lacp laggport: bce2 flags=0 laggport: bce1 flags=0 laggport: bce0 flags=1cACTIVE,COLLECTING,DISTRIBUTING Thanks for any info/idea ___ 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
Bug in LAGG driver at 9.0 P3 ?
Hello I have a problem with a server running FreeBSD 9.0-P3 It seems the lagg driver does not works well here is the contents of the /etc/rc.conf file the problem is, only the first interface (bce0) is working in the lagg0 interface , the two others are not active ifconfig_bce0=up ifconfig_bce1=up ifconfig_bce2=up cloned_interfaces=lagg0 ifconfig_lagg0=laggproto lacp laggport bce0 laggport bce1 laggport bce2 ipv4_addrs_lagg0=147.215.201.21/24 defaultrouter=147.215.201.1 here is the result of the ifconfig lagg0 command : primail# ifconfig lagg0 lagg0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=c01bbRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,VLAN_HWTSO,LINKSTATE ether 00:9c:02:9a:97:b0 inet 147.215.201.21 netmask 0xff00 broadcast 147.215.201.255 nd6 options=29PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL media: Ethernet autoselect status: active laggproto lacp laggport: bce2 flags=0 laggport: bce1 flags=0 laggport: bce0 flags=1cACTIVE,COLLECTING,DISTRIBUTING thanks for any info/idea ___ 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: Cloud software ?
Thanks Marcelo seems useful for me let's try tomorrow Le 28/05/2012 16:51, Marcelo Celleri a écrit : Hi, You could try sprakleshare, it's something like dropbox in your own server. Marcelo. El vie, 25-05-2012 a las 18:41 -0500, Derek Ragona escribió: At 06:15 AM 5/25/2012, Frank Bonnet wrote: On 05/25/2012 12:10 PM, Dennis Glatting wrote: On Fri, 2012-05-25 at 10:11 +0200, Frank Bonnet wrote: Hello I'm searching for a cloud software :-) More precisely we would like to offer to our students and professors a kind of private cloud to access/manipulate their personnal data from almost anywhere and with almost any devices ... ( Personnal PC, Mac, smartphones and tablets ... etc ) There is a couple of cheap ways of doing this. First, download the free version of VMWare ESXi and partition your hardware. Another is to install VirtualBox, a Type-2 HyperVisor. Depending on what you consider a cloud, take a look at Hadoop. Hadoop isn't partitioning hardware but Hadoop and the applications that run on top of Hadoop can give you an interesting view of these technologies and how they can be applied to cloudy data. As for how to get data into/out-of the cloud, let me know how that works. :) Hi Dennis Thank you for that info ! gonna investigate the hadoop way. I have built and managed a couple large hadoop clusters. Contact me directly for more information. -Derek ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Cloud software ?
Hello I'm searching for a cloud software :-) More precisely we would like to offer to our students and professors a kind of private cloud to access/manipulate their personnal data from almost anywhere and with almost any devices ... ( Personnal PC, Mac, smartphones and tablets ... etc ) Anyone could help ? Thank you ___ 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: Cloud software ?
On 05/25/2012 12:10 PM, Dennis Glatting wrote: On Fri, 2012-05-25 at 10:11 +0200, Frank Bonnet wrote: Hello I'm searching for a cloud software :-) More precisely we would like to offer to our students and professors a kind of private cloud to access/manipulate their personnal data from almost anywhere and with almost any devices ... ( Personnal PC, Mac, smartphones and tablets ... etc ) There is a couple of cheap ways of doing this. First, download the free version of VMWare ESXi and partition your hardware. Another is to install VirtualBox, a Type-2 HyperVisor. Depending on what you consider a cloud, take a look at Hadoop. Hadoop isn't partitioning hardware but Hadoop and the applications that run on top of Hadoop can give you an interesting view of these technologies and how they can be applied to cloudy data. As for how to get data into/out-of the cloud, let me know how that works. :) Hi Dennis Thank you for that info ! gonna investigate the hadoop way. ___ 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: Cloud software ?
On 05/25/2012 04:04 PM, Wojciech Puchar wrote: With apologies to Joni Mitchell: I've looked at clouds from both sides now, From up and down, and still somehow, It's cloud illusions I recall, I really don't know clouds, at all. Well, someone had to say it. :-) It summarises the marketing hype perfectly. fashion is quite often deciding factor not just in clothes. Actually it works just the same in IT. What is funny with cloud computing (new fashion trend) is that isn't defined at all. most probably marketing people found out that it is not needed to define anything to make people buyANYTHING. Well ... My goal was NOT to start a flame war around the cloud term ... next time I'll choose better words :-) ___ 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: Cloud software ?
On 05/25/2012 04:49 PM, Arthur Chance wrote: On 05/25/12 15:12, Frank Bonnet wrote: On 05/25/2012 04:04 PM, Wojciech Puchar wrote: With apologies to Joni Mitchell: I've looked at clouds from both sides now, From up and down, and still somehow, It's cloud illusions I recall, I really don't know clouds, at all. Well, someone had to say it. :-) It summarises the marketing hype perfectly. fashion is quite often deciding factor not just in clothes. Actually it works just the same in IT. What is funny with cloud computing (new fashion trend) is that isn't defined at all. most probably marketing people found out that it is not needed to define anything to make people buyANYTHING. Well ... My goal was NOT to start a flame war around the cloud term ... I wasn't flaming, just remarking on the fact that the meaning of cloud depends on the company that is trying to sell you cloud related products. next time I'll choose better words :-) A bit more specific would be useful. we would like to offer to our students and professors a kind of private cloud to access/manipulate their personnal data from almost anywhere and with almost any devices could be taken to mean anything from WebDAV/Dropbox functionality to Hadoop type processing or data mining. What sort of and how much manipulation is needed? If you answer that it would let us help you more. Well ... in short I need to let our users ( students + profs ) access and share their data ( living in their UNIX home directories ) The access must be easy and possible from as much devices as possible. Am I clear enough ? ( sorry English is not my native language ...) ___ 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: FTP oddness, over SSH session.
why not ftp over TLS ? like proftpd or pure-ftpd can do ? Envoyé de mon iPhone. Le 12 avr. 2012 à 09:32, Frank Staals fr...@fstaals.net a écrit : Dave B d...@g8kbv.demon.co.uk writes: Hi, ordinarily perhaps yes, if I could only figure out how to set it up on the FreeBSD box. As always, the Manuals though no doubt correct and complete as a reference, are no good to people who don't already know How To do it. There is not much to set up. Just make sure you have sshd running. You can then just sftp (or any other client that supports sftp) to connect to port 22, or whatever port sshd is listening on. Regards, -- - Frank ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
unable to install php5-ldap port
Hello I'm trying to install php5-ldap from ports and I'm facing to a strange error : ldap3# cd php5-ldap ldap3# make config === No options to configure ldap3# make === php5-ldap-5.3.8 depends on file: /usr/local/bin/phpize - found === php5-ldap-5.3.8 depends on file: /usr/local/bin/autoconf-2.68 - found === php5-ldap-5.3.8 depends on shared library: ldap-2.4.8 - found === PHPizing for php5-ldap-5.3.8 Configuring for: PHP Api Version: 20090626 Zend Module Api No: 20090626 Zend Extension Api No: 220090626 autoconf: required version 2.68 not found *** Error code 1 Stop in /usr/ports/net/php5-ldap. ldap3# autoconf -v autoconf-2.68: error: no input file As you can see the autoconf version is OK , anyone understand what happen ? Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Tools to find unlegal files ( videos , music etc )
Wow wow !!! I did not want to start a flame war with my post ... Things for me are clear : In France it's illegal and I have my boss's instruction : - find and delete the files that's all. On 07/19/2011 07:49 AM, Robert Bonomi wrote: From edi...@d3photography.com Tue Jul 19 00:05:30 2011 Subject: Re: Tools to find unlegal files ( videos , music etc ) From: Ryan Colemanedi...@d3photography.com Date: Tue, 19 Jul 2011 00:05:27 -0500 Cc: freebsd-questions@freebsd.org To: Robert Bonomibon...@mail.r-bonomi.com On Jul 18, 2011, at 10:23 PM, Robert Bonomi wrote: Date: Mon, 18 Jul 2011 23:01:53 -0700 From: per...@pluto.rain.com Subject: Re: Tools to find unlegal files ( videos , music etc ) Robert Bonomibon...@mail.r-bonomi.com wrote: snip specific suggestions re awk(1), file(1), find(1), grep(1), etc. All well and good for locating files of a certain format and/or with particular content, but it doesn't address the question of whether a specific copy is legal, i.e. did the user who put it there have the legal right to put it there? {{ Noting that the troll contributed nothing constructive to the OP's problem, _or_ to dealing with the pseudo-issue he raises. }} Obviously the ankle-biter was incapable of reading the ACTUAL REQUEST the OP made: Anyone knows an utility that I could pipe to the find command in order to detect video, music, games ... etc files ? I need a tool that could inspect inside files because many users rename those filename to inoffensive ones :-) NOTE WELL that the OP was _smart_enough_ -- unlike the prior poster -- to ask about something that _can_ be done mechanically. Furthermore, it was _explicit_ in the actual suggestion that it only produced a list possible 'suspects' -- It did _not_ provide any indication of status -- 'legal', or otherwise. Go to hell. I recommend you take your own advice -- then you might have an opportunity to learn what the hell you're talking about. He wants to rename the files that are illegal to ones that aren't. Have you got *anything* to support that =libelous= accusation? While you're at it, I dare you to attempt to explain how 'renaming' a file can _possibly_ make it 'legal' if it were not so before the renaming.. Next, _if_ he was doing that, can you explain _why_ he needed to look 'inside' the file for content type? He is specifically attempting to find content that has *ALREADY* been 'concealed' in 'innocuous' file names. That's circumventing copyright law and would land him or her in jail. THAT statement is 'libel per se', and, as such, actionable defamation. This topic, based solely on ethics, should not be discussed as any suggestions that this is LEGAL to do supports copyright violations. STRAWMAN ALERT!! BOGON ALERT!! This topic -- meaning *YOUR* false to fact assumption about the OP 'renaming' copyright-infringing files to avoid detection -- exists *ONLY* in your depraved imagination. Since there is =nothing= in this discussion, up to this point, that touchs on the point _at_all_, It is *pure*fiction* to postulate that there have been any suggestions that 'this is legal'. In point of actual FACT, the OP, a _system_administrator_, is attempting to ferret out possible COPYRIGHT VIOLATIONS -- of the type you so vehemently oppose -- BY HIS USERS. Yet, for some reason, you are opposed to those who are offering said admin assistince in FINDING THE VIOLATIONS. I would record those names and DELETE them but only if the TOS supports it. You *do* realize that doing _that_ would make *you* potentially liable for CRIMINAL PROSECUTION for 'intentionally destroying evidence' of a crime, don't you? If it does not, then you get the DCMA notice You *REALLY*are an ignoramus, aren't you? Did you notice _where_ the OP was posting from? Do you have any idea of the geographic limits of the DMCA? Did you notice that the OP, a system administrator, has _already_ received a legal notice about 'infringing' files on his system? and handle it accordingly from the copyright holder. ___ 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 -- Frank BONNET 01.45.92.66.17 Service des Moyens Informatiques Generaux ESIEE PARIS Cité Descartes / BP 99 93162 NOISY-LE-GRAND Cedex http://www.esiee.fr http://www.esiee.fr/ ___ 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: Tools to find unlegal files ( videos , music etc )
On 07/19/2011 08:55 AM, Damien Fleuriot wrote: On 19 Jul 2011, at 08:15, Frank Bonnetf.bon...@esiee.fr wrote: Wow wow !!! I did not want to start a flame war with my post ... Things for me are clear : In France it's illegal and I have my boss's instruction : - find and delete the files that's all. Bon courage then... A file can not be illegal per se, so you won't be able to detect these by looking up names or contents. Even then, if a file is labeled as personal, privacy protection applies and it is *unlawful* for you to process it. (That is in the same way that your employer is strictly forbidden from peeking inside your email messages clearly labeled as personal, even if they were received on your work mailbox.) You may however force the user to delete it as it's got nothing to do on a work file server and is possibly forbidden by your IT policy. You may also delete it yourself in accordance with your TOS / IT policy but you should exercise this with care and get a written request from your boss beforehand. You may want to look for files that are unusually large. They could possibly be ISOs, dvdrips, HD movie dumps... Note that, again, just because a file exists and is a certain type doesn't make them illegal. I myself have several ISOs at work including dumps of our windows XP CDs, win7 upgrade disks, and specialised lawyer software. We have the same problem here with users sharing movies on the file servers, and what makes it worse is some of their movie files are legit because they're, for example, official trailers that are reworked and redistributed to our customers. You won't win this, tell your boss it can not be done. We'll see who will win ;-) a good start is to look for files bigger that 500 Mb , I did it and find lot of disk space consuming files ... let's see what the file command tells about them ... ___ 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: Tools to find unlegal files ( videos , music etc )
On 07/19/2011 11:06 AM, C. P. Ghost wrote: On Tue, Jul 19, 2011 at 8:55 AM, Damien Fleuriotm...@my.gd wrote: On 19 Jul 2011, at 08:15, Frank Bonnetf.bon...@esiee.fr wrote: In France it's illegal and I have my boss's instruction : - find and delete the files that's all. Bon courage then... A file can not be illegal per se, so you won't be able to detect these by looking up names or contents. Even then, if a file is labeled as personal, privacy protection applies and it is *unlawful* for you to process it. (That is in the same way that your employer is strictly forbidden from peeking inside your email messages clearly labeled as personal, even if they were received on your work mailbox.) Exactly! Speaking with my university sysadmin hat on: you're NOT allowed to peek inside personal files of your users, UNLESS the user has waived his/her rights to privacy by explicitly agreeing to the TOS and there's legal language in the TOS that allows staff to inspect files (and then staff needs to abide by those rules in a very strict and cautious manner). So unless the TOS are very explicit, a sysadmin or an IT head can get in deep trouble w.r.t. privacy laws. You may want to look for files that are unusually large. They could possibly be ISOs, dvdrips, HD movie dumps... Not to forget encrypted RAR files (which btw. could contain anything, including legitimate content, so be careful here). We have the same problem here with users sharing movies on the file servers, and what makes it worse is some of their movie files are legit because they're, for example, official trailers that are reworked and redistributed to our customers. You won't win this, tell your boss it can not be done. What can technically be done is that the copyright owner provides a list of hashes for his files, and requests that you traverse your filesystems, looking for files that match those hashes. AND, even then, all you can do is flag the files, and you'll have to check with the user that he/she doesn't own a license permitting him/her to own that file! However, even that isn't foolproof: nothing prevents a user from flipping a bit or two, rescaling, resampling, splitting the files into multiple files in a non-obvious manner, adding random bytes at the end etc...: the result would still be infringing, but can't be detected automatically (at least not in a reasonable amount of time). Better talk with your users and resolve the problem using non-technical means. Inventive users WILL always outsmart any technical solution that you implement: this is a race you absolutely can't win. -cpghost. I agree with most of what you write , my real goal is not to win the race but only warn users about the nonsense of keeping those files in a space they do not own even it is called private In fact is our filers are really expensives machines (NetAPP...) paid by our institution to store users's work not their private data, personnal computers are build/sold for that. I think we should close this thread for now , thanks to all that respond. -- Frank BONNET 01.45.92.66.17 Service des Moyens Informatiques Generaux ESIEE PARIS Cité Descartes / BP 99 93162 NOISY-LE-GRAND Cedex http://www.esiee.fr http://www.esiee.fr/ ___ 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
Tools to find unlegal files ( videos , music etc )
Hello Anyone knows an utility that I could pipe to the find command in order to detect video, music, games ... etc files ? I need a tool that could inspect inside files because many users rename those filename to inoffensive ones :-) We are facing a legal problem so I'm a bit in the hurry to scan our filers where are living users data. Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Tools to find unlegal files ( videos , music etc )
On 07/18/2011 10:10 AM, Polytropon wrote: On Mon, 18 Jul 2011 09:55:09 +0200, Frank Bonnet wrote: Hello Anyone knows an utility that I could pipe to the find command in order to detect video, music, games ... etc files ? I need a tool that could inspect inside files because many users rename those filename to inoffensive ones :-) One way could be to define a list of file extensions that commonly matches the content you want to track. Of course, the file name does not directly correspond to the content, but it often gives a good hint to search for *.wmv, *.flv, *.avi, *.mp(e)g, *.mp3, *.wma, *.exe - and of course all the variations of the extensions with uppercase letters. Also consider *.rar and maybe *.zip for compressed content. If file extensions have been manipulated (rare case), the file command can still identify the correct file type. yes thanks , gonna try with the file command - ___ 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: Tools to find unlegal files ( videos , music etc )
On 07/18/2011 10:45 AM, Polytropon wrote: On Mon, 18 Jul 2011 10:38:22 +0200, Frank Bonnet wrote: On 07/18/2011 10:10 AM, Polytropon wrote: On Mon, 18 Jul 2011 09:55:09 +0200, Frank Bonnet wrote: Hello Anyone knows an utility that I could pipe to the find command in order to detect video, music, games ... etc files ? I need a tool that could inspect inside files because many users rename those filename to inoffensive ones :-) One way could be to define a list of file extensions that commonly matches the content you want to track. Of course, the file name does not directly correspond to the content, but it often gives a good hint to search for *.wmv, *.flv, *.avi, *.mp(e)g, *.mp3, *.wma, *.exe - and of course all the variations of the extensions with uppercase letters. Also consider *.rar and maybe *.zip for compressed content. If file extensions have been manipulated (rare case), the file command can still identify the correct file type. yes thanks , gonna try with the file command You could make a simple script that lists file output for all files (just to be sure because of possible suffix renaming) for further inspection. Sometimes, you can also run strings for a given file - maybe that can be used to identify typical suspicious string patters for a strings + grep combination so less manual identification has to be done. yes , my main problem is the huge number of files but anyway I'm gonna first check files greater than 500 Mb it could be a good start ___ 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: Tools to find unlegal files ( videos , music etc )
On 07/18/2011 11:44 AM, Robert Bonomi wrote: From owner-freebsd-questi...@freebsd.org Mon Jul 18 03:55:59 2011 Date: Mon, 18 Jul 2011 10:55:58 +0200 From: Frank Bonnetf.bon...@esiee.fr To: freebsd-questions@freebsd.org Subject: Re: Tools to find unlegal files ( videos , music etc ) On 07/18/2011 10:45 AM, Polytropon wrote: On Mon, 18 Jul 2011 10:38:22 +0200, Frank Bonnet wrote: On 07/18/2011 10:10 AM, Polytropon wrote: On Mon, 18 Jul 2011 09:55:09 +0200, Frank Bonnet wrote: Hello Anyone knows an utility that I could pipe to the find command in order to detect video, music, games ... etc files ? I need a tool that could inspect inside files because many users rename those filename to inoffensive ones :-) One way could be to define a list of file extensions that commonly matches the content you want to track. Of course, the file name does not directly correspond to the content, but it often gives a good hint to search for *.wmv, *.flv, *.avi, *.mp(e)g, *.mp3, *.wma, *.exe - and of course all the variations of the extensions with uppercase letters. Also consider *.rar and maybe *.zip for compressed content. If file extensions have been manipulated (rare case), the file command can still identify the correct file type. yes thanks , gonna try with the file command You could make a simple script that lists file output for all files (just to be sure because of possible suffix renaming) for further inspection. Sometimes, you can also run strings for a given file - maybe that can be used to identify typical suspicious string patters for a strings + grep combination so less manual identification has to be done. yes , my main problem is the huge number of files but anyway I'm gonna first check files greater than 500 Mb it could be a good start That's what 'find(1)' is for. Something like (run as superuser): find / -exec ./inspect {} /tmp/suspects \; with './inspect' being a trivial (executable!) shell-script: #!/bin/sh file $1 | awk -f ./inspect.awk and './inspect.awk' is: {file = $1 ; $1 = ;} /regex1/ {printf(%s %s\n,file,$0;next); /regex2/ {printf(%s %s\n,file,$0;next); /regex3/ {printf(%s %s\n,file,$0;next); ... ... ... ... {next;} where 'regex1', 'regex2', etc. are things to select 'files' of interest, based on what 'file' reports. The awk code strips out the file name, so that the regex will match only against the 'file' output, with no false- Positives against a substring in the file name itself. See the find(1) manpage for things you can put before the '-exec' param, to filter by size, etc. You can also limit the search to a specific part of the filesystem tree, by replacing '/' with the name of the directory hierarchy you want to search -- e.g. '/home' (if that's where all 'user' files are) -- although, 'for completeness' (given the 'legal issues) you may well want to run it over 'everything'. ___ 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 Thanks a lot for your help ! ___ 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
import users from LDAP to local password file (pwd.db)
Hello I need to import the necessary users's data from an OpenLDAP directory server to put them in the local password files , anyone has done this before ? The machine use nss_ldap and pam_ldap to authenticate users but for robustness during the holidays I would like to have a local password file on this machine which is our mailhub. The OpenLDAP server runs on another machine and if it fails during holidays I want my mailhub to be standalone for authentication in order to let email service running even the directory server crash. Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: import users from LDAP to local password file (pwd.db)
getent does not show the encrypted password field On 07/08/2011 05:43 PM, Moises Castellanos wrote: Hi You can try with getent(1) passwd and see if you can work with the output Regards On Fri, Jul 8, 2011 at 9:56 AM, Frank Bonnetf.bon...@esiee.fr wrote: Hello I need to import the necessary users's data from an OpenLDAP directory server to put them in the local password files , anyone has done this before ? The machine use nss_ldap and pam_ldap to authenticate users but for robustness during the holidays I would like to have a local password file on this machine which is our mailhub. The OpenLDAP server runs on another machine and if it fails during holidays I want my mailhub to be standalone for authentication in order to let email service running even the directory server crash. Thanks __**_ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/**mailman/listinfo/freebsd-**questionshttp://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-** unsubscr...@freebsd.orgfreebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- Frank BONNET 01.45.92.66.17 Service des Moyens Informatiques Generaux ESIEE PARIS Cité Descartes / BP 99 93162 NOISY-LE-GRAND Cedex http://www.esiee.fr http://www.esiee.fr/ ___ 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 list admins?
On 06/22/2011 08:31 AM, Warren Block wrote: On Tue, 21 Jun 2011, Robert Simmons wrote: On Tuesday, June 21, 2011 06:03:23 PM Julian H. Stacey wrote: The traffic on questions@ has now become very heavy. Traffic too heavy in fact, a mess of themes, Some traffic would be better posted to hackers@ or current@ or other more specialist lists Also, one place that is lower traffic, nearly spam free, and has consistently decent answers is USENET comp.unix.bsd.freebsd.misc and it's not even official. However, I would assume this is due to the fact that September has permanently ended and will never return to USENET, so only serious users can be found lurking there. forums.freebsd.org doesn't require a news server and is far more active. ___ 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 hello If anyone knows some free USENET servers I would be happy to know it in France it becomes VERY hard to find one and I would like to setup one BUT I need some feeders ! I don't care about alt.* but we need the big 8 *comp.* http://en.wikipedia.org/wiki/Comp.*_hierarchy* *humanities.* http://en.wikipedia.org/w/index.php?title=Humanities.*_hierarchyaction=editredlink=1* *misc.* http://en.wikipedia.org/w/index.php?title=Misc.*_hierarchyaction=editredlink=1* *news.* http://en.wikipedia.org/w/index.php?title=News.*_hierarchyaction=editredlink=1* *rec.* http://en.wikipedia.org/w/index.php?title=Rec.*_hierarchyaction=editredlink=1* *sci.* http://en.wikipedia.org/wiki/Sci.*_hierarchy** soc.* http://en.wikipedia.org/w/index.php?title=Soc.*_hierarchyaction=editredlink=1* *talk.* http://en.wikipedia.org/w/index.php?title=Talk.*_hierarchyaction=editredlink=1* Thanks and sorry for that offlist question ... ___ 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: make one partition with two existing ?
On 06/09/2011 10:31 AM, Polytropon wrote: On Thu, 09 Jun 2011 10:21:27 +0200, Frank Bonnetf.bon...@esiee.fr wrote: Hello I have a raid 5 array ( HP hardware managed ) that contains the following partitions -- Filesystem SizeUsed Avail Capacity Mounted on /dev/aacd0s1a1.9G306M1.5G17%/ devfs1.0K1.0K 0B 100%/dev /dev/aacd0s1g 10G7.2M9.3G 0%/tmp /dev/aacd0s1e609G559G1.5G 100%/mnt /dev/aacd0s1d 97G 12G 77G14%/usr /dev/aacd0s1f610G5.3G556G 1%/var What I would like to do is 1 - delete the /mnt partition 2 - extend the /var partition with the free space left by /mnt Is it faisable without destroying the /var data ? Shpuld be possible in few steps. 1. Unmount /var and dump its content, e. g. # umount /var # dump -0a -f /usr/var.dump /dev/aacd0s1f If you can't unmount /var, see man dump for the -L option. 2. Delete the /dev/aacd0s1e and /dev/aacd0s1f partition, e. g. using sysinsall. 3. Create a new partition /dev/aacd0s1e with the size of the former /dev/aacd0s1e + /dev/aacd0s1f, e. g. using sysinstall or bsdlabel. 4. Initialize the new partition /dev/aacd0s1e, e. g. # newfs -U /dev/aacd0s1e Use further tunefs commands if required. 5. Mount it and restore from dump. # mount /dev/aacd0s1e /var # cd /var # restore -r -f /usr/var.dump Finally you can remove /usr/var.dump. And make a change to /etc/fstab for the new setting. The whole work is best done in single user mode so there won't be requests for writing things to /var. Thanks a lot ! ___ 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: Disable or limit email in root?
I don't remember for sendmail but if you install postfix root cannot receive any email Le 27/05/2011 05:03, Jorge Biquez a écrit : Hello all. Is it possible that the root user can be limited to send email only for activities realetd to the server and only locally? or limit the amount of root user can send. I have a 7.3 small server working as secondary dns, 3 domains for http and email. very few traffic. Using sendmail, the default one. IN some way a spammer could tell root to send LOT emailes. I detect it , I guess when they started.I did not know how they did it, apparently with a program injection or similar strategy since it seems they do not enter the server, for what I have checked until now. Can be restricted the root user? ON the side of the OS or the sendmail. Suggestions on how to avoid this again. The password for root was VERY strong. I do not think they access it. I guess when I configured the email and server let something open so root was forced to do that. Thanks in advance Jorge BIquez ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Filename containing French characters ?
OK now the filenames are well displayed in the console \BUT ... It still does not work with apache ( 404 file not found ! ) here is the log of apache when trying to access a filename that contains those bloody characters 82.238.8.126 - - [24/May/2011:06:56:01 +0200] GET /cv/ESIEE_MANAGEMENT/Systeme_information/11_EM2_SI_JUIN_CV_AMICHIA_Anthony%20Aim%C3%A9e%20Marthe%20Moteh.docx HTTP/1.1 404 1337 The problem comes from the %C3%A9e character ( e eacute ) apache is unable to open that filename On 05/24/2011 06:44 AM, Frank Bonnet wrote: Thanks that is working :-) Now I have to test the application ( apache based application ) to see if it is able to open the file. I'll tell in few hours when arrived to my office Le 23/05/2011 17:50, Modulok a écrit : Short answer, use a glob pattern. Assume I have a file named 'à fichier.txt': ls -l -rw-r--r-- 1 Modulok Modulok 12 May 23 09:01 ?? fichier.txt mv ?\ fichier.txt aFile.txt Long answer, for those who want to follow along and fix their terminal to display UTF-8, keep reading... Step 1: Make a funky file to play along with this min-tutorial: === Create a text file with an editor that supports non-ASCII characters. I created a file named 'filename' which containing this (no newline!): à fichier.txt Step 2: Create the actual file with content === I used echo and cat like so in the tcsh shell: echo hello world `cat filename` Step 3: Show the file in ls === As you can see below, the first character of the filename is displayed as two question marks. This is the terminal's way of showing filenames that it cannot display correctly. There are two question marks, because this is a two-byte character. This does *not* mean the filename starts with a literal question mark: -rw-r--r-- 1 Modulok Modulok 12 May 23 09:01 ?? fichier.txt Step 4: (optional) Fix the terminal === At this point, let's just fix the terminal so that UTF-8 characters are displayed correctly. We want to see the French accented 'à', and not a bunch of question marks. To do this, you edit '/etc/login.conf' as root. Add two lines at the bottom of the 'default' section. My default section now looks like this: default:\ :passwd_format=md5:\ :copyright=/etc/COPYRIGHT:\ ...and so on... :charset=en_US.UTF-8:\ :lang=en_US.UTF-8: If you're a French operation yours should probably look like this instead: default:\ :passwd_format=md5:\ :copyright=/etc/COPYRIGHT:\ ...and so on... :charset=fr_FR.UTF-8:\ :lang=fr_FR.UTF-8: I'm not certain on these for all countries, but the above examples work. We then need to rebuild the actual login database. Execute the following command as root: cap_mkdb /etc/login.conf This generates /etc/login.conf.db from /etc/login.conf. Now log out and then back in! Step 5: Back to the funky file == You should now see the actual accent characters correctly in the terminal. (Assuming your terminal supports this): -rw-r--r-- 1 Modulok Modulok 12 May 23 09:01 à fichier.txt In some ternimals, we cannot type these characters. So you can access the filename through a shell glob pattern. In most shells, the glob pattern '?' matches any single character. The forward slash escapes the space in the filename. mv ?\ fichier.txt aFile.txt Hope this helps (and doesn't get too mangled.) -Modulok- ___ 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 -- Frank BONNET 01.45.92.66.17 Service des Moyens Informatiques Generaux ESIEE PARIS Cité Descartes / BP 99 93162 NOISY-LE-GRAND Cedex http://www.esiee.fr http://www.esiee.fr/ ___ 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: Filename containing French characters ?
On 05/24/2011 10:01 AM, Robert Bonomi wrote: From owner-freebsd-questi...@freebsd.org Tue May 24 02:32:36 2011 Date: Tue, 24 May 2011 09:32:20 +0200 From: Frank Bonnetf.bon...@esiee.fr To: freebsd-questions@freebsd.org Subject: Re: Filename containing French characters ? OK now the filenames are well displayed in the console \BUT ... It still does not work with apache ( 404 file not found ! ) here is the log of apache when trying to access a filename that contains those bloody characters 82.238.8.126 - - [24/May/2011:06:56:01 +0200] GET /cv/ESIEE_MANAGEMENT/Systeme_information/11_EM2_SI_JUIN_CV_AMICHIA_Anthony %20Aim%C3%A9e%20Marthe%20Moteh.docx HTTP/1.1 404 1337 The problem comes from the %C3%A9e character ( e eacute ) Please show the output of ls -lb /cv/ESIEE_MANAGEMENT/Systeme_information/11_EM2_SI_JUIN_CV_AMICHIA* ls -lb 11_EM1_SI_AMI* ls: No match and ls -lb /cv/ESIEE_MANAGEMENT/Systeme_information/11_EM2_SI_JUIN_CV_AMICHIA* \ | od -xc ls -lb /cv/ESIEE_MANAGEMENT/Systeme_information/11_EM2_SI_JUIN_CV_AMICHIA* | od -xl ls: No match. ls -lb in the directory give that : -rw-r--r-- 1 www-data www-data 18294 24 mai 03:00 11_EM2_SI_JUIN_CV_AMICHIA_Anthony Aim\351e Marthe Moteh.docx but wildcards fails as you can see in preceding lines. And, also with {DOCROOT} (whatever it is) prepended to the paths shown above. DOCROOT is OK all files that does not contains accentuated characters are well opened and displayed in web pages. *AlSO* show your apache configuration file -- especially what 'DOCROOT' is. Lastly, do you have _any_ path-rewriting rules that might result in a different _actual_ path than the 'requested' one? Virtually =every- Apache installation has at least one such rewrite rule. no rewriting rules a all Please show _all_ such rules/transformations. -- Frank BONNET 01.45.92.66.17 Service des Moyens Informatiques Generaux ESIEE PARIS Cité Descartes / BP 99 93162 NOISY-LE-GRAND Cedex http://www.esiee.fr http://www.esiee.fr/ ___ 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: Filename containing French characters ?
finally one of our developer has written a php function that transcode all accentuated characters to the corresponding non accentuated thanks to her !!! but the problem is NOT solved just workarrounded Le 24/05/2011 19:53, C. P. Ghost a écrit : On Mon, May 23, 2011 at 5:50 PM, Modulokmodu...@gmail.com wrote: Short answer, use a glob pattern. Assume I have a file named 'à fichier.txt': (...) Very good hints indeed. I once had a directory full of files with strange characters, so I wrote a little program that replaced every non-ascii char in a filename with its hex-encoding (like this: Hello%20World%21, % escape char), so I could manipulate them with the shell. As long as the expanded filenames didn't hit the MAXNAMELEN limit insys/dirent.h, it worked perfectly. I could dig this C program out of old archives, but I guess that it is faster to rewrite it on the fly, or even script it with sh(1), tr(1), awk(1), and find(1)... ;-) Alternatively to such a run-once-in-a-while program, I could also imagine a file system layer on top of existing file systems that would do this conversion automatically, but that's harder to code, and harder to debug (kernel mode!). -cpghost. ___ 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: Filename containing French characters ?
On 05/23/2011 03:08 PM, Robert Bonomi wrote: Date: Mon, 23 May 2011 06:54:44 +0200 From: Frank Bonnetf.bon...@esiee.fr To: freebsd-questions@freebsd.org Subject: Re: Filename containing French characters ? Le 22/05/2011 17:31, Mike Jeays a ecrit : On Sun, 22 May 2011 17:00:48 +0200 Frank Bonnetf.bon...@esiee.fr wrote: Hello I'm going mad trying to Open a file which the filename contains one or more French characters ( file not found ) Is there some magical receipe to do so ? Or do I have to forget trying ??? Thanks If the first few characters is not accented, type 'mv ', then the first few characters, in a command line, and press 'tab' so the auto-completion works. Don't forget the closing quote. Then rename it to something else. Access right are OK ( 644 ) the completion does not work, the operating system says file not found when I try to open it with any program. when I type the ls -l command the file is displayed with a ? in place of the French (accentuated ) character I tried UTF8 or iso8859-1 as MM-CHARSET and fr_FR.ISO8859-1 as LANG global variables but it still don-t work The *easy* work-arouond -- it does -not- solve the real problem, but does let you work with the file -- is to rename the file. Not easy the file is created by a software that extract it from a SQL database *Assuming* you are seeing the rest of the filename, _after_ the '?' character, then issue an 'mv' command, using the source file name _exactly_ as shown (i.e., _with_ the '?' in place of the unprintable character), and using a destination file name that is _without_ any accented characters in it. If that mv fails, try repeating it, but using an '*' instead of the '?'. Oh, there is one more situation that can cause the kind of problem you are seeing. Does the 'ls -l' show it as an _actual_ file, or a 'symlink' (to a file that does not exist)? A 'dangling symlink' can give all sorts of strange errors. no it is not a symlink it's a real file ___ 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: Filename containing French characters ?
On 05/23/2011 03:46 PM, Matthieu Riviere wrote: Hi, What is the underlying filesystem ? NTFS, in particular, seems to have specific mount options to handle UTF-8 (and maybe other encodings) stuff. Not sure if they apply to your case, but it's worth trying. Matthieu the volume is NFS mounted ( to a netapp filer ) ___ 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: Filename containing French characters ?
Thanks that is working :-) Now I have to test the application ( apache based application ) to see if it is able to open the file. I'll tell in few hours when arrived to my office Le 23/05/2011 17:50, Modulok a écrit : Short answer, use a glob pattern. Assume I have a file named 'à fichier.txt': ls -l -rw-r--r-- 1 Modulok Modulok 12 May 23 09:01 ?? fichier.txt mv ?\ fichier.txt aFile.txt Long answer, for those who want to follow along and fix their terminal to display UTF-8, keep reading... Step 1: Make a funky file to play along with this min-tutorial: === Create a text file with an editor that supports non-ASCII characters. I created a file named 'filename' which containing this (no newline!): à fichier.txt Step 2: Create the actual file with content === I used echo and cat like so in the tcsh shell: echo hello world `cat filename` Step 3: Show the file in ls === As you can see below, the first character of the filename is displayed as two question marks. This is the terminal's way of showing filenames that it cannot display correctly. There are two question marks, because this is a two-byte character. This does *not* mean the filename starts with a literal question mark: -rw-r--r-- 1 Modulok Modulok 12 May 23 09:01 ?? fichier.txt Step 4: (optional) Fix the terminal === At this point, let's just fix the terminal so that UTF-8 characters are displayed correctly. We want to see the French accented 'à', and not a bunch of question marks. To do this, you edit '/etc/login.conf' as root. Add two lines at the bottom of the 'default' section. My default section now looks like this: default:\ :passwd_format=md5:\ :copyright=/etc/COPYRIGHT:\ ...and so on... :charset=en_US.UTF-8:\ :lang=en_US.UTF-8: If you're a French operation yours should probably look like this instead: default:\ :passwd_format=md5:\ :copyright=/etc/COPYRIGHT:\ ...and so on... :charset=fr_FR.UTF-8:\ :lang=fr_FR.UTF-8: I'm not certain on these for all countries, but the above examples work. We then need to rebuild the actual login database. Execute the following command as root: cap_mkdb /etc/login.conf This generates /etc/login.conf.db from /etc/login.conf. Now log out and then back in! Step 5: Back to the funky file == You should now see the actual accent characters correctly in the terminal. (Assuming your terminal supports this): -rw-r--r-- 1 Modulok Modulok 12 May 23 09:01 à fichier.txt In some ternimals, we cannot type these characters. So you can access the filename through a shell glob pattern. In most shells, the glob pattern '?' matches any single character. The forward slash escapes the space in the filename. mv ?\ fichier.txt aFile.txt Hope this helps (and doesn't get too mangled.) -Modulok- ___ 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
Filename containing French characters ?
Hello I'm going mad trying to Open a file which the filename contains one or more French characters ( file not found ) Is there some magical receipe to do so ? Or do I have to forget trying ??? Thanks Envoyé de mon iPhone___ 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: Filename containing French characters ?
Le 22/05/2011 17:31, Mike Jeays a écrit : On Sun, 22 May 2011 17:00:48 +0200 Frank Bonnetf.bon...@esiee.fr wrote: Hello I'm going mad trying to Open a file which the filename contains one or more French characters ( file not found ) Is there some magical receipe to do so ? Or do I have to forget trying ??? Thanks Envoyé de mon iPhone___ 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 If the first few characters is not accented, type 'mv ', then the first few characters, in a command line, and press 'tab' so the auto-completion works. Don't forget the closing quote. Then rename it to something else. Access right are OK ( 644 ) the completion does not work, the operating system says file not found when I try to open it with any program. when I type the ls -l command the file is displayed with a ? in place of the French (accentuated ) character I tried UTF8 or iso8859-1 as MM-CHARSET and fr_FR.ISO8859-1 as LANG global variables but it still don-t work ___ 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
Filenames with French characters cannot be open
Hello I am facing a boring problem. We use a small application to extract some files from a SQL database and copy them to a FreeBSD WEBDAV server ( apache + mod dav ) the problem comes when a filename contains some French characters, it cannot be found by apache here is some error message I get in apache.log [19/May/2011:16:49:05 +0200] GET /cv/ESIEE_MANAGEMENT/Systeme_information/11_EM2_SI_JUIN_CV_AMICHIA_Anthony%20Aim%C3%A9e%20Marthe%20Moteh.docx HTTP/1.1 404 1227 the problem is %C3%A9 character it seems witch is an e with acute accent that appear as an ? in the filename in a terminal Thanks a lot for any info ___ 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: 8.2 crash after 8 running hours ?
Well those are production machines ... I swtched back to 7.4 and everthing Works fine ... Envoyé de mon iPhone Le 11 mai 2011 à 19:08, Lowell Gilbert freebsd-questions-lo...@be-well.ilk.org a écrit : Frank Bonnet f.bon...@esiee.fr writes: I've experienced a strange problem at 8.2-release after a fresh install on three ( 3 ) differents machines ( all HP ) FreeBSD 8.2 stops running without any sound ( machines freezed ) after running well during approx 8 hours. It happened on 3 differents HP models ( proliant DL360G6 DL380G7 XW4200 ) which are running named (bind98 ) and postfix + postscreen. Any of you had some similar problems with 8.2 ? If they have, I don't think they mentioned it here on the lists. Try dropping into the kernel debugger... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Problem when swapping two IP addresses machines
Hello Yesterday I swapped the IP addresses of two machines ( new and old mail server ). After I rebooted the two machines I was unable to join our DNS server ( even to ping it ) I suspect the DNS was keeping the IP / MAC address mapping of the two swapped machines , so I flushed the ARP cache but it was still impossible to join the DNS from the concerned machines. I have to reboot the DNS Server to be able to ping it and use it again. The DNS server runs FreeBSD 8.0-RELEASE-p4. Thanks for any infos. ___ 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: Partitions greater than 1TB ?
It does the trick, thank you this could help http://romain.blogreen.org/Blog/Updating_FreeBSD_7_%28i386%29_to_8_%28amd64%29 On 01/25/2011 12:51 AM, Devin Teske wrote: On Mon, 2011-01-24 at 15:08 +0100, Frank Bonnet wrote: Hello I'm trying to install a new server ( HP Proliant 380 G7 ) which has a 2.5 TB RAID Array. It seems impossible to use the Freebsd sysinstall to partition this raid array disks. Correct. Currently sysinstall can only perform MBR partitioning (partitions limited to 2TB max). You want GPT partitioning. See gpart(8) -- Devin I get an error message when running the partitionner Error mounting /mnt/dev/da1s1e on /mnt/.user : input/output error Anyone has infos about this problem ? Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org _ 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. _ ___ 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 -- Frank BONNET 01.45.92.66.17 Service des Moyens Informatique Generaux ESIEE PARIS Cité Descartes / BP 99 93162 NOISY-LE-GRAND Cedex http://www.esiee.fr http://www.esiee.fr/ ___ 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
Partitions greater than 1TB ?
Hello I'm trying to install a new server ( HP Proliant 380 G7 ) which has a 2.5 TB RAID Array. It seems impossible to use the Freebsd sysinstall to partition this raid array disks. I get an error message when running the partitionner Error mounting /mnt/dev/da1s1e on /mnt/.user : input/output error Anyone has infos about this problem ? Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
problem with shell script
Hello I'm in trouble with a simple shell script that give erroneous value when running ... If I run commands interactively everything runs well ps ax | grep slapd | grep -v grep | wc -l 1 If I run in the following shell script : #!/bin/sh SD=0 SD=`ps -ax | grep slapd | grep -v grep | wc -l` echo $SD the result is 3 !!! Any info welcome ! ___ 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
protect a single interface with IPFW ?
Hello is it possible to protect a single interface with IPFW my server has only one interface and I want to allow only SSH LDAP LDAPS thanks for any examples ___ 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: protect a single interface with IPFW ?
Thanks a lot ! On 01/12/2011 04:03 PM, krad wrote: On 12 January 2011 15:01, kradkra...@gmail.com wrote: On 12 January 2011 14:47, Frank Bonnetf.bon...@esiee.fr wrote: Hello is it possible to protect a single interface with IPFW my server has only one interface and I want to allow only SSH LDAP LDAPS thanks for any examples ___ 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 something likes this add pass all from any to any via lo0 add pass tcp from w.x.y.z to any 22 in via $int keep-state add pass tcp from w.x.y.z to any 389 in via $int keep-state add deny ip from any to any or for pf (better in my opinion) tablesshhosts const { hosta, hostb, ... } tableldaphosts const { hosta, hostb, ... } set skip on lo0 block any from any pass in quick proto tcp fromsshhosts to any port ssh synproxy state pass in quick proto tcp fromldaphosts to any port ldap synproxy state whops forgot the all important lines. Without these you box itself cant intiate connections to the outside world ipfw add before the deny add pass all from any to any out via $int keep-state and for pf, add at the end pass out from any to any keep state ___ 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 -- Frank BONNET 01.45.92.66.17 Service des Moyens Informatique Generaux ESIEE PARIS Cité Descartes / BP 99 93162 NOISY-LE-GRAND Cedex http://www.esiee.fr http://www.esiee.fr/ ___ 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
ZFS based machine to build a backup server ?
Hello Would it be safe to use a FreeBSD + ZFS based machine to build a backups server to store sensitive data ? In a word is FreeBSD + ZFS stable and mature ? Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD 8.1 Squid suggestions?
Hello No problem ! I use Squid on a proliant HP 360 with 2 Gb RAM and 100 Gb of disk cache. It serves our LAN clients ( approx 800 PCs ) without trouble with a standard kernel. Hope this help. Le 21/09/2010 21:41, Ed Flecko a écrit : Hi folks, I have a small group of people in my office (less than 20), and I want to set up a FBSD/Squid server, and I'm hoping someone might have some suggestions for the install. It's a clean install of FBSD 8.1, and the sole purpose of the server is a Squid server. The server has a 500Gb SATA hard drive, and 8Gb of RAM. I've installed Squid before (on an OpenBSD server), so I'm a comfortable with Squid. I'll install from a package (to make my life easy), but I'm not sure if there are any FBSD specific changes I should make? Are there any kernel customizations you might recommend I need? Are there any suggestions you might make to improve performance? Suggestions? Thank you, Ed ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Problem with lagg driver at 8.1 ?
Hello I am unable to make the lagg driver to work at 8.1 , it works well on another machine that runs 7.2 is there a problem with LAGG driver and Cisco switches at 8.1 ? Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: imapproxyd set up
could you send your imapproxyd.conf file ? On 09/16/2010 04:35 PM, n dhert wrote: A user asked to set up IMAP proxy server (/usr/ports/mail/up-imapproxy) I installed it from the ports, then # cp /usr/local/etc/imapproxyd.conf.sample /usr/local/etc/imapproxyd.conf # vi /usr/local/etc/imapproxyd.conf and changed server_hostname ... to contain my imap server and listen_port 143 to listen_port 993 (it's an SSL imap server) and server_port 143 to server_port 993 Then added in /etc/rc.conf imapproxyd_enable=YES then # /usr/local/etc/rc.d/imapproxyd start which responds Starting imapproxyd. /usr/local/etc/rc.d/imapproxyd: WARNING: failed to start imapproxyd For a short time, a # ps -jaxw | grep imap showed: root 62092 57397 62092 642401 I+ 10:00.02 /bin/sh /usr/local/etc/rc.d/imapproxyd start root 62098 62092 62092 642401 S+ 10:00.01 /usr/local/sbin/in.imapproxyd Am I doing something wrong here? the file /var/log/imapproxy_protocol.log is empty /var/log/maillog saysConnection to server failed or could this be a firewall protecting the imap server?? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Openldap clustering ?
Hello Could anybody recommend a rock solid software to build an OpenLDAP cluster with FreeBSD 8.0 ? Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Openldap clustering ?
Ok, thank you for the info ! On 07/08/2010 11:54 AM, Ruben de Groot wrote: On Thu, Jul 08, 2010 at 10:21:53AM +0200, Frank Bonnet typed: Hello Could anybody recommend a rock solid software to build an OpenLDAP cluster with FreeBSD 8.0 ? Master-master replication is well documented on the openldap website. For failover, you can use carp(4) or an external loadbalancer. Ruben ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Get server's internal temperature from ACPI ?
Hello Is there an utility to get the internal temperature from a HP Proliant server with ACPI ??? Thank you ___ 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: move back to preceding ports ?
I finally reinstall from scratch another server at 8.0 and then openldap-server 2.4.22 compile and runs perfectly ... Any idea ? On 06/29/2010 01:27 PM, Peter Boosten wrote: On 29-6-2010 13:19, Frank Bonnet wrote: ok thanks a lot I noticed in an earlier post that you manually upgrade openldap. How do you maintain other ports, like dependencies? Peter ___ 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: slapd crash the HP proliant DL360 at 8.0
Hello Peter Thanks for your help unfortunately it does not solve my problem the symbol undefined symbol message is still there ... /libexec/ld-elf.so.1: /usr/local/libexec/slapd: Undefined symbol ldap_pvt_csnstr I'm stucked ... On 06/28/2010 06:01 PM, Peter Boosten wrote: On 28 jun 2010, at 17:46, Frank Bonnet wrote: On 06/28/2010 05:40 PM, Peter Boosten wrote: On 28 jun 2010, at 11:56, Frank Bonnetf.bon...@esiee.fr wrote: Argh !!! I upgraded slapd to 2.4.22 and it does not start anymore !!! some symbol cannot be found anymore I had to revert to 2.3.4x to have a working slapd !!! What's wrong with 2.4.22 folks ? Just checked: I'm running 2.4.22 on 8.0, no problems so far. Peter Hello could you tell which options you checked ? I'm actually running openldap-sasl-server-2.4.22, from Origin: net/openldap24-server ra% cd /var/db/ports/openldap24 ra% less options # This file is auto-generated by 'make config'. # No user-servicable parts inside! # Options for openldap-sasl-server-2.4.15 _OPTIONS_READ=openldap-sasl-server-2.4.15 WITH_SASL=true WITHOUT_DYNACL=true WITHOUT_ACI=true WITHOUT_DNSSRV=true WITHOUT_PASSWD=true WITHOUT_PERL=true WITHOUT_RELAY=true WITHOUT_SHELL=true WITHOUT_SOCK=true WITHOUT_ODBC=true WITHOUT_RLOOKUPS=true WITHOUT_SLP=true WITHOUT_SLAPI=true WITH_TCP_WRAPPERS=true WITH_BDB=true WITHOUT_ACCESSLOG=true WITHOUT_AUDITLOG=true WITHOUT_COLLECT=true WITHOUT_CONSTRAINT=true WITHOUT_DDS=true WITHOUT_DEREF=true WITHOUT_DYNGROUP=true WITHOUT_DYNLIST=true WITHOUT_LASTMOD=true WITHOUT_MEMBEROF=true WITHOUT_PPOLICY=true WITHOUT_PROXYCACHE=true WITHOUT_REFINT=true WITHOUT_RETCODE=true WITHOUT_RWM=true WITH_SEQMOD=true WITH_SYNCPROV=true WITHOUT_TRANSLUCENT=true WITHOUT_UNIQUE=true WITHOUT_VALSORT=true WITHOUT_SMBPWD=true WITH_DYNAMIC_BACKENDS=true Hope this helps. Peter ___ 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
move back to preceding ports ?
Hello Due to my unsolved problem with openldap24-server 2.4.22 port I would like to know of ot is possible to move backward the ports tree in order to reuse the 2.4.21 version. The machine is dedicated to LDAP service so it won't hurt anything else :-) Thanks F ___ 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: move back to preceding ports ?
ok thanks a lot On 06/29/2010 12:14 PM, Daniel Bye wrote: On Tue, Jun 29, 2010 at 11:49:38AM +0200, Frank Bonnet wrote: Hello Due to my unsolved problem with openldap24-server 2.4.22 port I would like to know of ot is possible to move backward the ports tree in order to reuse the 2.4.21 version. ports-mgmt/portdowngrade is likely what you are looking for. The machine is dedicated to LDAP service so it won't hurt anything else :-) Thanks F ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: move back to preceding ports ?
I've always used cvsup to maintain the ports tree up to date cvsup -g -L 2 ports-supfile ( with all options ) On 06/29/2010 01:27 PM, Peter Boosten wrote: On 29-6-2010 13:19, Frank Bonnet wrote: ok thanks a lot I noticed in an earlier post that you manually upgrade openldap. How do you maintain other ports, like dependencies? Peter ___ 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: move back to preceding ports ?
BTW the anoncvs.freebsd.org server seems unreachable from here ( france ) ... On 06/29/2010 01:27 PM, Peter Boosten wrote: On 29-6-2010 13:19, Frank Bonnet wrote: ok thanks a lot I noticed in an earlier post that you manually upgrade openldap. How do you maintain other ports, like dependencies? Peter ___ 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: move back to preceding ports ?
BINGO !!! this works well !!! Great ! But it does not explain why 2.4.22 has this problem ... On 06/29/2010 02:16 PM, James Bailie wrote: That's the problem with portdowngrade: it's almost impossible to find an actual anoncvs server, instead of c(v)sup. If the port has not changed substantially, editing PORTVERSION in the Makefile might work. You will need to do make makesum deinstall install clean afterward. --Original Message-- From: Frank Bonnet Sender: owner-freebsd-questi...@freebsd.org To: freebsd-questions@freebsd.org Subject: Re: move back to preceding ports ? Sent: Jun 29, 2010 8:02 AM BTW the anoncvs.freebsd.org server seems unreachable from here ( france ) ... On 06/29/2010 01:27 PM, Peter Boosten wrote: On 29-6-2010 13:19, Frank Bonnet wrote: ok thanks a lot I noticed in an earlier post that you manually upgrade openldap. How do you maintain other ports, like dependencies? Peter ___ 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 -- James Bailie http://www.mammothcheese.ca ___ 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
slapd crash the HP proliant DL360 at 8.0
Hello I had BIG trouble saturday morning with a HP proliant DL360 that runs our directory server ( OpenLDAP ) Tha machine had crashed ... Anyone had the same trouble running slapd at 8.0 ? I must find out what happened , software or hardware trouble. Thank you F ___ 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: slapd crash the HP proliant DL360 at 8.0
Argh !!! I upgraded slapd to 2.4.22 and it does not start anymore !!! some symbol cannot be found anymore I had to revert to 2.3.4x to have a working slapd !!! What's wrong with 2.4.22 folks ? On 06/28/2010 10:27 AM, Erik Nørgaard wrote: On 28/giu/2010, at 09:50, Frank Bonnetf.bon...@esiee.fr wrote: Hello I had BIG trouble saturday morning with a HP proliant DL360 that runs our directory server ( OpenLDAP ) Tha machine had crashed ... Anyone had the same trouble running slapd at 8.0 ? I must find out what happened , software or hardware trouble It is impossible to answer that based on the above information. Check your logs. If you can't find any useful log entries increase loglevel, restart and see if problem repeats. BR ___ 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: slapd crash the HP proliant DL360 at 8.0
On 06/28/2010 12:15 PM, Ivan Voras wrote: On 06/28/10 11:56, Frank Bonnet wrote: Argh !!! I upgraded slapd to 2.4.22 and it does not start anymore !!! some symbol cannot be found anymore I had to revert to 2.3.4x to have a working slapd !!! What's wrong with 2.4.22 folks ? PEBKAC. How did you upgrade it (and more importantly - why, if it was working fine and was critical to you)? I did this : cvsup -g -L 2 ports-supfile cd /usr/ports/net/openldap24-server make ( I reuse the same config ) make deinstall make reinstall This worked fine until I tried to upgrade to 2.4.22 ( 2.4.21 running ) In the event of a crash you may have only needed to repair OpenLDAP's database (if using BDB, with db_recover) and continue. the database was OK the 2.4.21 slapd daemon has restarted well ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: slapd crash the HP proliant DL360 at 8.0
the exact error message is the following : /libexec/ld-elf.so.1: /usr/local/libexec/slapd: Undefined symbol ldap_pvt_csnstr On 06/28/2010 12:18 PM, Julien Cigar wrote: On 06/28/2010 11:56, Frank Bonnet wrote: Argh !!! I upgraded slapd to 2.4.22 and it does not start anymore !!! some symbol cannot be found anymore I had to revert to 2.3.4x to have a working slapd !!! What's wrong with 2.4.22 folks ? did you rebuilt all ports which depend on openldap-server ? (portmaster -r openldap-server). also if you want to replace openldap-server23 with openldap-server24 I would use portmaster -o On 06/28/2010 10:27 AM, Erik Nørgaard wrote: On 28/giu/2010, at 09:50, Frank Bonnetf.bon...@esiee.fr wrote: Hello I had BIG trouble saturday morning with a HP proliant DL360 that runs our directory server ( OpenLDAP ) Tha machine had crashed ... Anyone had the same trouble running slapd at 8.0 ? I must find out what happened , software or hardware trouble It is impossible to answer that based on the above information. Check your logs. If you can't find any useful log entries increase loglevel, restart and see if problem repeats. BR ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ 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: slapd crash the HP proliant DL360 at 8.0
On 06/28/2010 01:47 PM, Matthew Seaman wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 28/06/2010 12:23:36, Erik Nørgaard wrote: On 28/giu/2010, at 11:56, Frank Bonnetf.bon...@esiee.fr wrote: Argh !!! I upgraded slapd to 2.4.22 and it does not start anymore !!! some symbol cannot be found anymore I had to revert to 2.3.4x to have a working slapd !!! What's wrong with 2.4.22 folks ? I don't think there's anything wrong except with your upgrading. Openldap uses Berkeley DB as backend and upgrading your ldap you may also have upgraded to a different bdb. As I recall, slapd frequently won't read the BDB data files from a different minor version (eg 2.3 - 2.4). Basically you should dump your LDAP directory using slapcat, move aside your old /var/db/openldap and create a new one, upgrade slapd, use slapadd to reload your data, then restart slapd. Yes of course I always did this As a matter of course when updating slapd, always use slapcat to grab a copy of the directory before starting. You can't always tell if the update will require you to reload the data, so it's wise to always be prepared. 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 -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkwoi8sACgkQ8Mjk52CukIwHwQCeM0i32NTU+n9m8aNrB34dVq7b dq4AnjQ7hp0GssYqwaf1YxFtUoyRFPiY =rX41 -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: slapd crash the HP proliant DL360 at 8.0
On 06/28/2010 05:40 PM, Peter Boosten wrote: On 28 jun 2010, at 11:56, Frank Bonnet f.bon...@esiee.fr wrote: Argh !!! I upgraded slapd to 2.4.22 and it does not start anymore !!! some symbol cannot be found anymore I had to revert to 2.3.4x to have a working slapd !!! What's wrong with 2.4.22 folks ? Just checked: I'm running 2.4.22 on 8.0, no problems so far. Peter Hello could you tell which options you checked ? ___ 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
Kolab server ports ?
Hello Does anyone has ported kolabd to FreeBSD ? I don't find it in the ports tree Thank you ___ 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
Boosting up gigabit interface ?
Hello Does some anyone could give me a path to boost up the flow between a server and a Cisco 3750 switch if possible (jumbo frames ? ) ? The server is an IBM X3650 ( 7.2-RELEASE) with two Broadcom gigabit interfaces. ifconfig give that parameters : bce0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=1bbRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4 ether 00:14:5e:dc:44:8e inet 147.215.1.3 netmask 0xff00 broadcast 147.215.1.255 media: Ethernet autoselect (1000baseTX full-duplex) status: active the server is directly attached to the Cisco switch Thank you ___ 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
kernel: calcru: runtime went backwards
Hello All since few days I get those messages into console and /var/log/messages The machine is a IBM X3650 dual CPU , I've read it could be multi-cpu related but I am a bit confused in it. Does any guru could show me the light on how to stop those messages if possible , this has side effects on Dovecot IMAP server that kill himself when it trap that kind of error messages. Thank you Jun 8 10:16:34 mail kernel: calcru: runtime went backwards from 1721 usec to 1377 usec for pid 684 (rpc.lockd) Jun 8 10:16:34 mail kernel: calcru: runtime went backwards from 528 usec to 459 usec for pid 678 (rpc.statd) Jun 8 10:16:34 mail kernel: calcru: runtime went backwards from 1928 usec to 1906 usec for pid 643 (ypbind) Jun 8 10:16:34 mail kernel: calcru: runtime went backwards from 2241 usec to 1793 usec for pid 643 (ypbind) Jun 8 10:16:34 mail kernel: calcru: runtime went backwards from 9373 usec to 7545 usec for pid 628 (rpcbind) Jun 8 10:16:34 mail kernel: calcru: runtime went backwards from 556 usec to 539 usec for pid 538 (devd) Jun 8 10:16:34 mail kernel: calcru: runtime went backwards from 12152 usec to 9722 usec for pid 538 (devd) Jun 8 10:16:34 mail kernel: calcru: runtime went backwards from 287 usec to 229 usec for pid 143 (adjkerntz) Jun 8 10:16:34 mail kernel: calcru: runtime went backwards from 18 usec to 14 usec for pid 42 (sctp_iterator) Jun 8 10:16:34 mail kernel: calcru: runtime went backwards from 711 usec to 569 usec for pid 39 (irq15: ata1) Jun 8 10:16:34 mail kernel: calcru: runtime went backwards from 44 usec to 40 usec for pid 36 (usb3) Jun 8 10:16:34 mail kernel: calcru: runtime went backwards from 35 usec to 31 usec for pid 35 (usb2) Jun 8 10:16:34 mail kernel: calcru: runtime went backwards from 1325 usec to 1060 usec for pid 23 (swi6: task queue) Jun 8 10:16:34 mail kernel: calcru: runtime went backwards from 21246 usec to 20041 usec for pid 2 (g_event) Jun 8 10:16:34 mail kernel: calcru: runtime went backwards from 8572 usec to 7530 usec for pid 0 (swapper) ___ 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: kernel: calcru: runtime went backwards
OK thank you Antonio :-) On 06/08/2010 03:11 PM, Antonio Vieiro wrote: This may be of help: http://forums.freebsd.org/archive/index.php/t-2805.html Cheers, Antonio 2010/6/8 Frank Bonnet f.bon...@esiee.fr: Hello All since few days I get those messages into console and /var/log/messages The machine is a IBM X3650 dual CPU , I've read it could be multi-cpu related but I am a bit confused in it. Does any guru could show me the light on how to stop those messages if possible , this has side effects on Dovecot IMAP server that kill himself when it trap that kind of error messages. Thank you Jun 8 10:16:34 mail kernel: calcru: runtime went backwards from 1721 usec to 1377 usec for pid 684 (rpc.lockd) Jun 8 10:16:34 mail kernel: calcru: runtime went backwards from 528 usec to 459 usec for pid 678 (rpc.statd) Jun 8 10:16:34 mail kernel: calcru: runtime went backwards from 1928 usec to 1906 usec for pid 643 (ypbind) Jun 8 10:16:34 mail kernel: calcru: runtime went backwards from 2241 usec to 1793 usec for pid 643 (ypbind) Jun 8 10:16:34 mail kernel: calcru: runtime went backwards from 9373 usec to 7545 usec for pid 628 (rpcbind) Jun 8 10:16:34 mail kernel: calcru: runtime went backwards from 556 usec to 539 usec for pid 538 (devd) Jun 8 10:16:34 mail kernel: calcru: runtime went backwards from 12152 usec to 9722 usec for pid 538 (devd) Jun 8 10:16:34 mail kernel: calcru: runtime went backwards from 287 usec to 229 usec for pid 143 (adjkerntz) Jun 8 10:16:34 mail kernel: calcru: runtime went backwards from 18 usec to 14 usec for pid 42 (sctp_iterator) Jun 8 10:16:34 mail kernel: calcru: runtime went backwards from 711 usec to 569 usec for pid 39 (irq15: ata1) Jun 8 10:16:34 mail kernel: calcru: runtime went backwards from 44 usec to 40 usec for pid 36 (usb3) Jun 8 10:16:34 mail kernel: calcru: runtime went backwards from 35 usec to 31 usec for pid 35 (usb2) Jun 8 10:16:34 mail kernel: calcru: runtime went backwards from 1325 usec to 1060 usec for pid 23 (swi6: task queue) Jun 8 10:16:34 mail kernel: calcru: runtime went backwards from 21246 usec to 20041 usec for pid 2 (g_event) Jun 8 10:16:34 mail kernel: calcru: runtime went backwards from 8572 usec to 7530 usec for pid 0 (swapper) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ 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
real time files mirroring ?
Hello I'm searching for a software that could perform some kind of real time mirroring between two (or more) freebsd servers. My meaning is to keep up to date some files ( flat and db maps ) used by Postfix on our MX servers and propagate every change of one or more files to all the others. Thank you ___ 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: real time files mirroring ?
Thanks for your answers guys ! I'm gonna test all softwares you pointed on On 05/20/10 16:12, Frank Bonnet wrote: Hello I'm searching for a software that could perform some kind of real time mirroring between two (or more) freebsd servers. My meaning is to keep up to date some files ( flat and db maps ) used by Postfix on our MX servers and propagate every change of one or more files to all the others. Thank you ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: download
Hi If you can, download the DVD ISO which contains all the FreeBSD stuff You also might prefer the 8.0 distro F On 05/17/10 15:44, Karen Bester wrote: Hi, I wish to download FreeBSD but I am unsure which option to choose. FTP directory /pub/FreeBSD/releases/i386/ISO-IMAGES/7.3/ at ftp.freebsd.org To view this FTP site in Windows Explorer, click Page, and then click Open FTP Site in Windows Explorer. Up to higher level directory 03/21/2010 02:13PM534 CHECKSUM.MD5 03/21/2010 02:15PM779 CHECKSUM.SHA256 03/21/2010 02:08PM 40,554,496 FreeBSD-7.3-RELEASE-i386-bootonly.iso 03/21/2010 02:09PM612,933,632 FreeBSD-7.3-RELEASE-i386-disc1.iso 03/21/2010 02:09PM706,879,488 FreeBSD-7.3-RELEASE-i386-disc2.iso 03/21/2010 02:10PM542,836,736 FreeBSD-7.3-RELEASE-i386-disc3.iso 03/21/2010 02:12PM324,126,720 FreeBSD-7.3-RELEASE-i386-docs.iso 03/21/2010 02:11PM 2,022,695,069 FreeBSD-7.3-RELEASE-i386-dvd1.iso.gz 03/21/2010 02:12PM238,215,168 FreeBSD-7.3-RELEASE-i386-livefs.iso Please advise Regards Karen Bester SmartTech 34 Firgrove Way Constantia Hills Cape Town South Africa 7806 Phone: +27-21-7130126 Fax: +27-21-7130127 Cell: +27-(0)82-7882223 E-mail:sa...@smarttech.co.za WebSite: www.smarttech.co.za This message may contain information which is confidential, private or privileged in nature and subject to legal privilege. If you are not the intended recipient or the agent responsible for delivering this message to the intended recipient, you may not peruse, use, disseminate, distribute, store or copy this message or any files attached to this message. If you have received this message in error, please notify the sender immediately by e-mail, facsimile or telephone and thereafter return and/or destroy the original message. All reasonable precautions have been taken to ensure no viruses are present in the message and attachments. Please note that the recipient must scan this e-mail and any attached files for viruses and the like. The sender accepts no liability of whatever nature for any loss, liability, damage or expense resulting directly or indirectly from the access of this message or any attachments to this message. Any views expressed in this message are those of the individual sender and do not necessarily reflect those of SmartTech (Spencer Allen Technologies cc), except where the sender specifically states them to be the view of SmartTech (Spencer Allen Technologies cc). __ Information from ESET Smart Security, version of virus signature database 5121 (20100517) __ The message was checked by ESET Smart Security. http://www.eset.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Very simple file sharing between FreeBSD server and windows client ?
Hello Is there a simple software to share files between a FreeBSD server and a windows client other than Samba which is a bit overkill for my needings, I just want to share a directory (and subdirectories) of my server with ONE Windows client, to facilitate some files exchanges between two users. Thanks for any infos ___ 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
LDAP and LDAPS on the same server ?
Hello I actually have an Openldap directory server that runs on a FreeBSD box at 8.0-RELEASE amd64 It runs nicely but I want to add LDAPS service on the SAME server. Is it possible ? I have generated cert.crt cert.csr cert.key as instructed in the FreeBSD howto but when I add the following lines in slapd.conf file it fails to restart TLSCACertificateFile /usr/local/etc/openldap/ssl/cert.crt TLSCertificateFile/usr/local/etc/openldap/ssl/cert.crt TLSCertificateKeyFile /usr/local/etc/openldap/ssl/cert.key in ldap.conf file I have the following # # LDAP Defaults # # See ldap.conf(5) for details # This file should be world readable but not world writable. BASEdc=esiee,dc=fr URI ldap://ldap.esiee.fr ldaps://ldap.esiee.fr #SIZELIMIT 12 #TIMELIMIT 15 #DEREF never What did I missed ? Thanks for any help ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: LDAP and LDAPS on the same server ?
On 05/06/10 14:34, Boris Samorodov wrote: On Thu, 06 May 2010 14:15:54 +0200 Frank Bonnet wrote: I actually have an Openldap directory server that runs on a FreeBSD box at 8.0-RELEASE amd64 It runs nicely but I want to add LDAPS service on the SAME server. Is it possible ? I have generated cert.crt cert.csr cert.key as instructed in the FreeBSD howto but when I add the following lines in slapd.conf file it fails to restart TLSCACertificateFile /usr/local/etc/openldap/ssl/cert.crt TLSCertificateFile/usr/local/etc/openldap/ssl/cert.crt TLSCertificateKeyFile /usr/local/etc/openldap/ssl/cert.key in ldap.conf file I have the following # # LDAP Defaults # # See ldap.conf(5) for details # This file should be world readable but not world writable. BASEdc=esiee,dc=fr URI ldap://ldap.esiee.fr ldaps://ldap.esiee.fr #SIZELIMIT 12 #TIMELIMIT 15 #DEREF never What did I missed ? I'm not sure but maybe you should add the following line to /etc/rc.conf[.local]: - slapd_flags='-h ldap:/// ldaps:///' - Look at SLAPD(8C) for more details. Cool ! it works , Thanks Boris :-) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: LDAP and LDAPS on the same server ?
On 05/06/10 16:26, Erik Norgaard wrote: On 06/05/10 14.15, Frank Bonnet wrote: It runs nicely but I want to add LDAPS service on the SAME server. Is it possible ? Yes in fact with OpenLDAP you can have ldap, ldaps and ldap TLS with STARTTLS, the latter runs on the standard ldap port. I have generated cert.crt cert.csr cert.key as instructed in the FreeBSD howto but when I add the following lines in slapd.conf file it fails to restart TLSCACertificateFile /usr/local/etc/openldap/ssl/cert.crt You do not need to specify TLSCACertificateFile unless you plan to require connecting clients to use a certificate. TLSCertificateFile /usr/local/etc/openldap/ssl/cert.crt TLSCertificateKeyFile /usr/local/etc/openldap/ssl/cert.key You only need to edit your rc.conf adding slapd_flags='-h ldap:/// ldaps:///' if you want to have old style ldaps (ldap with ssl) on port 636. Without any options OpenLDAP supports TLS on port 389. Unfortunately, common programs such as thunderbird does not support TLS for ldap (although it /is/ supported for smtp?!) in ldap.conf file I have the following # # LDAP Defaults # # See ldap.conf(5) for details # This file should be world readable but not world writable. BASE dc=esiee,dc=fr URI ldap://ldap.esiee.fr ldaps://ldap.esiee.fr You do not need to edit ldap.conf for the server to start up correctly, this is for the client. In order to use ldapmodify (and family) with TLS you need to add TLS_CACERT /path/to/your/CA/certificate.cer Then you can do $ ldapmodify -ZZ ... to connect with TLS. BR, Erik Thanks for your full detailed answer Erik ! ___ 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
FTP troubles with Roundcube vacation plugin
Hello I'm in trouble with vacation plugin which perform an FTP session at localhost , for an obscure PAM/FreeBSD reason the FTP session is not always working ... The machine runs FreeBSD 7.2-R with Dovecot 1.2.10 imap server Any clarification welcome ! Thank you. Sometimes it works well connection from localhost (127.0.0.1) Feb 16 13:21:10 mail ftpd[46479]: FTP LOGIN FROM localhost as bonj Feb 16 13:21:10 mail ftpd[46480]: FTP LOGIN FROM localhost as bonj Feb 16 13:21:29 mail ftpd[46541]: connection from localhost (127.0.0.1) Feb 16 13:21:29 mail ftpd[46541]: FTP LOGIN FROM localhost as bonj Feb 16 13:21:29 mail ftpd[46542]: connection from localhost (127.0.0.1) then suddenly it stops working Feb 16 13:23:19 mail ftpd[46782]: connection from localhost (127.0.0.1) Feb 16 13:23:19 mail ftpd[46782]: pam_acct_mgmt: new authentication token required Feb 16 13:23:19 mail ftpd[46782]: FTP LOGIN FAILED FROM localhost Feb 16 13:35:55 mail ftpd[48202]: connection from localhost (127.0.0.1) Feb 16 13:35:55 mail ftpd[48202]: pam_acct_mgmt: new authentication token required Feb 16 13:35:55 mail ftpd[48202]: FTP LOGIN FAILED FROM localhost Feb 16 13:35:55 mail ftpd[48203]: connection from localhost (127.0.0.1) Feb 16 13:35:55 mail ftpd[48203]: pam_acct_mgmt: new authentication token required ___ 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: How to activate French locale ?
On 01/21/10 17:40, Frank Wißmann wrote: Frank Bonnet schrieb: Hello The question is in the subject :-) Thanks a lot ___ Hi! You may want to set setenv LANG fr_FR.ISO8859-15 in your .cshrc. Greetings Frank Hello Thanks for the answer , but I want to do this at server level this machine is an email server used by French clients ( mostly windows and Linux Debian ) thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: How to activate French locale ?
On 01/22/10 14:10, Frank Bonnet wrote: On 01/21/10 17:40, Frank Wißmann wrote: Frank Bonnet schrieb: Hello The question is in the subject :-) Thanks a lot ___ Hi! You may want to set setenv LANG fr_FR.ISO8859-15 in your .cshrc. Greetings Frank Hello Thanks for the answer , but I want to do this at server level this machine is an email server used by French clients ( mostly windows and Linux Debian ) thanks The server is accessed thru imap ou pop3 protocols, nobody has local server access. ___ 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
How to activate French locale ?
Hello The question is in the subject :-) Thanks a lot ___ 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
how to set locale to French language on mail server ?
Hello I am a bit confuse on how to set locale to French language on our mail server , all our users user French keymap and actually the server is NOT well configured mail# locale LANG= LC_CTYPE=C LC_COLLATE=C LC_TIME=C LC_NUMERIC=C LC_MONETARY=C LC_MESSAGES=C LC_ALL= I want to configure at server level for all users which file do I have to setup FR as locale ? I've the doc but it is a bit unclear to me ... Thanks a lot. ___ 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
Postfix and vacation on FreeBSD 7.2 ?
Hello Since I migrated my mailhub to FreeBSD 7.2-R, the messages send through the vacation program are From MAILER-DAEMON and not from the original account that it has been sent ... Anyone has this problem ? Postfix problem or FreeBSD misconfiguration ? Thanks a lot for any info ___ 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
NIS users can't login with FTPD
Hello I've installed a nes machine ( 7.2 / 64 bits ) which runs like a charm EXCEPT for the FTP service for NIS users ... Local users ( which are present in /etc/passwd file ) have no problem BUT NIS users cannot log in when using telnet NIS users have no problem to log in ... Thank for any help the /etc/pam.d/ftpd looks like the following # # $FreeBSD: src/etc/pam.d/ftpd,v 1.19.8.1 2009/04/15 03:14:26 kensmith # # PAM configuration for the ftpd service # # auth authsufficient pam_opie.so no_warn no_fake_prompts authrequisite pam_opieaccess.so no_warn allow_local #auth sufficient pam_krb5.so no_warn #auth sufficient pam_ssh.so no_warn try_first_pass authrequiredpam_unix.so no_warn try_first_pass # account account requiredpam_nologin.so #accountrequiredpam_krb5.so account requiredpam_unix.so # session session requiredpam_permit.so 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: Need a filesystem with unlimited inodes
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Michael David Crawford wrote: Frank Bonnet wrote: It seems ZFS would match his needs , why don't use it ? Does ZFS really work on FreeBSD? It seems like every day someone is posting about ZFS either getting corrupted or panicking their kernel. Mike The only way to be sure is to test it , I've read at 7.2 it has reached stability. If you have enough money another solution is to buy a NetAPP filer ! -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.11 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkowtKkACgkQ6f7UMO5oSsU6nwCggXRXTOvPYwfgkolmcrHWgIBW SLwAn2dvGbGXjZNFMV9LGxytj6qMJ1RT =bam3 -END PGP SIGNATURE- ___ 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: Need a filesystem with unlimited inodes
Michael David Crawford a écrit : Could you use several large hard drives each with several partitions that each have one filesystem? With eight drives and eight partitions on each, you would multiply the maximum total number of inodes by 256. Mike Hello It seems ZFS would match his needs , why don't use it ? ___ 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
7-2 from scratch install , but no sound
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello I have freshly install a HPXW4200 ( i386 ) but sound system does not work I have gnome installed and all the above services are running moused_enable=YES nfs_client_enable=YES sshd_enable=YES linux_enable=YES postfix_enable=YES dovecot_enable=YES dbus_enable=YES gdm_enable=YES hald_enable=YES avahi_daemon_enable=YES apache22_enable=YES Any help/infos welcome Thanks -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.11 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkofkKoACgkQ6f7UMO5oSsXzyQCgkBzhGekhVddfc00SlSCkX4+W 6IsAoLh8AOvDMASGAFVXNyFb7ZB+v1mc =ey2B -END PGP SIGNATURE- ___ 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: 7-2 from scratch install , but no sound
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bruce Cran wrote: On Fri, 29 May 2009 09:37:14 +0200 Frank Bonnet f.bon...@esiee.fr wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello I have freshly install a HPXW4200 ( i386 ) but sound system does not work I have gnome installed and all the above services are running moused_enable=YES nfs_client_enable=YES sshd_enable=YES linux_enable=YES postfix_enable=YES dovecot_enable=YES dbus_enable=YES gdm_enable=YES hald_enable=YES avahi_daemon_enable=YES apache22_enable=YES Have you loaded the sound driver? Check /dev/sndstat to see if it's running. well ... it seems to be I loaded them by hand lisa.esiee.fr kldstat Id Refs AddressSize Name 1 42 0xc040 9fab28 kernel 22 0xc0dfb000 289a4linux.ko 31 0xc0e24000 75a7f4 nvidia.ko 41 0xc157f000 6a45cacpi.ko 51 0xc5b6b000 b000 ntfs.ko 61 0xc6eca000 7000 snd_emu10k1.ko 7 36 0xc94e 3f000sound.ko 81 0xc5f6b000 2000 snd_driver.ko 91 0xc94bd000 5000 snd_vibes.ko 101 0xc664a000 4000 snd_via82c686.ko 111 0xc94d1000 7000 snd_via8233.ko 121 0xc94d8000 5000 snd_t4dwave.ko 133 0xc5f6d000 3000 snd_spicds.ko 141 0xc951f000 5000 snd_solo.ko 154 0xc682e000 4000 snd_sbc.ko 161 0xc6a75000 4000 snd_sb8.ko 171 0xc6a97000 4000 snd_sb16.ko 181 0xc9524000 11000snd_neomagic.ko 192 0xc953f000 a000 snd_mss.ko 201 0xc9535000 9000 snd_maestro3.ko 211 0xc9551000 8000 snd_maestro.ko 221 0xc9549000 6000 snd_ich.ko 231 0xc956f000 19000snd_hda.ko 241 0xc6bfd000 4000 snd_fm801.ko 251 0xc9559000 5000 snd_ess.ko 261 0xc956 8000 snd_es137x.ko 271 0xc9588000 7000 snd_envy24ht.ko 281 0xc9594000 8000 snd_envy24.ko 291 0xc95b7000 12000snd_emu10kx.ko 301 0xc95c9000 b000 snd_ds1.ko 312 0xc959c000 7000 snd_csa.ko 321 0xc95a7000 5000 snd_cs4281.ko 331 0xc95b 5000 snd_cmi.ko 341 0xc95d4000 6000 snd_atiixp.ko 351 0xc95da000 5000 snd_als4000.ko -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.11 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkofpG0ACgkQ6f7UMO5oSsWeIQCgiAHMxlhrCT5WZnh2PuCHjszZ qn4AoJ86OuTMfwc3F9T0RseIwaU1qpYL =68uT -END PGP SIGNATURE- ___ 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: 7-2 from scratch install , but no sound
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bruce Cran wrote: On Fri, 29 May 2009 11:01:33 +0200 Frank Bonnet f.bon...@esiee.fr wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bruce Cran wrote: On Fri, 29 May 2009 09:37:14 +0200 Frank Bonnet f.bon...@esiee.fr wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello I have freshly install a HPXW4200 ( i386 ) but sound system does not work I have gnome installed and all the above services are running moused_enable=YES nfs_client_enable=YES sshd_enable=YES linux_enable=YES postfix_enable=YES dovecot_enable=YES dbus_enable=YES gdm_enable=YES hald_enable=YES avahi_daemon_enable=YES apache22_enable=YES Have you loaded the sound driver? Check /dev/sndstat to see if it's running. well ... it seems to be I loaded them by hand What does /dev/sndstat contain? You could also try running 'mixer' to see what, if any, channels are set to. yes ... strange everything seems OK but ... still no sound when I try to use the gnome sound manager it says Waiting for sound system to respond cat /dev/sndstat FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386) Installed devices: pcm0: Intel ICH6 (82801FB) at io 0xf0200800, 0xf0200a00 irq 21 bufsz 16384 [MPSAFE] (1p:1v/1r:1v channels duplex default) mixer Mixer vol is currently set to 75:75 Mixer pcm is currently set to 75:75 Mixer line is currently set to 75:75 Mixer mic is currently set to 0:0 Mixer cd is currently set to 75:75 Mixer rec is currently set to 0:0 Mixer igainis currently set to 0:0 Mixer ogainis currently set to 50:50 Mixer line1is currently set to 75:75 Mixer phin is currently set to 0:0 Mixer phoutis currently set to 0:0 Recording source: mic -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.11 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkofvuQACgkQ6f7UMO5oSsX1YwCgsHEIxku6BswiVfr2VjOUWXYC jl4AoJ5vsJlJKrV4kFA/hSnuxsEkCT8T =D1LC -END PGP SIGNATURE- ___ 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: 7-2 from scratch install , but no sound
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Wojciech Puchar wrote: Mixer vol is currently set to 75:75 Mixer pcm is currently set to 75:75 Mixer line is currently set to 75:75 Mixer mic is currently set to 0:0 Mixer cd is currently set to 75:75 Mixer rec is currently set to 0:0 Mixer igainis currently set to 0:0 Mixer ogainis currently set to 50:50 Mixer line1is currently set to 75:75 Mixer phin is currently set to 0:0 Mixer phoutis currently set to 0:0 looks absolutely fine. i don't know what's gnome doing but try cat /dev/random /dev/audio and tell if you hear the noise nothing -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.11 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkof0GYACgkQ6f7UMO5oSsXuUgCgjhPwhUq+FUbhGX21jhRbSkst IJsAoK8XyiYxur7LhHUC1Z5ZA+DAnU0p =XNTP -END PGP SIGNATURE- ___ 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
gdm won't start at 7.2
Hello I've installed from scratch a i386 7.2 machine , when I try to start gdm the machine display the login screen with other written on it but it is totally hanged , even the mouse. Any info ? Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Migration to 7.1 ?
Hello I'm planning to migrate our mailhub (IBM X3650) to FreeBSD 7.1 from Debian etch ;-) , of course I'll restart from scratch. I have two questions before doing so. Does 7.1 has reached a stability that it could be used for a high load production server ? Does the LAGG driver works well with broadcomm giga ethernet chips ? ( I plan to use LACP to a Cisco switch ) Thank you. ___ 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: Migration to 7.1 ?
Ewald Jenisch wrote: Does the LAGG driver works well with broadcomm giga ethernet chips ? ( I plan to use LACP to a Cisco switch ) Try asking at freebsd-net@ Hi, I've been running with the lagg-driver for quite some time now on several blade-systems using broadcom chips in a failover configuration - no problems whatsoever - failover/fallback all ok. LACP shouldn't be a problem either - on the Cisco side define a port channel using LACP plus optional a balancing strategy (like mac-based etc.) HTH -ewald Hello Thanks for your feedback Frank ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Anyone runs 7.1 with an IBM X3650 (64 bits ARCH) ?
Hello Everything is in the subject :-) Thanks for any infos Purpose is migration of a mailhub ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Anyone runs 7.1 with an IBM X3650 (64 bits ARCH) ?
Ivan Voras wrote: Frank Bonnet wrote: Hello Everything is in the subject :-) I'm not running it now but I've tested it - worked fine. OK Thanks a lot Ivan ___ 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 + Samba + OpenLDAP + iSCSI +Netapp , anyone ?
Hello All is in the subject :-) Does anyone has setup such server configuration A server running FreeBSD and supporting Samba server software with OpenLDAP backend and using iSCSI as disk access protocol to a Netapp filer for Samba volumes ? I plan this so passed experiences are welcome ! Thanks a lot ___ 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
lagg driver at 6.4 ?
Hello Does the lagg driver ( ethernet bonding ) has been backported to the 6.4 release ? I have to setup a server with two giga-ethernet interfaces ( broadcomm ) and I would like to use them with LACP with a Cisco switch Thank you ___ 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 program on FreeBSD for DLT drive
Hi The bakbone company sells a software called NETVAULT if I remember well it works under FreeBSD bsd wrote: Yes, This is probably the one I'll go for… There is a good hack described in the O'Reilly BSD hacks to setup Bacula… I'll consider this article as a starting point… Thank you very much folks. Le 23 janv. 09 à 04:21, Geoff Fritz a écrit : On Thu, Jan 22, 2009 at 08:30:56PM +0100, bsd wrote: Hello, I am using a FreeBSD server 7.0 as a Samba server and wanted to backup this server using Quantum DLT tape. I would need a simple tool that could be configured rapidl at that's stable enough to provide high security for the data. Ideally any good pointer to a howto would be a must! I've had success with Bacula for a small office file server (FreeBSD) and Windows clients clients. It supports SSL for the data transfer (if the client and server are not the same machine), as well as data encryption: http://www.bacula.org/en/dev-manual/Data_Encryption.html I haven't used the encryption myself. Bacula has a bit of a learning curve to set up corretly, but I really enjoy its use once it it set up correctly. -- Geoff 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 -- Cordialement Frank Bonnet ESIEE Paris ___ 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: 7.1 : watchdog bge0 timeout ?
I'm gonna retry installing 7.1 today on a different hardware machine ( an older one ) let's see what happen then. Frank Bonnet wrote: Jos Chrispijn wrote: [Lowell Gilbert] Uit een eerder bericht van 10-1-2009 15:51 :: Could be hardware trouble, I suppose. I know FreeBSD can detect hardware probs better than other OS'es; but why didn't 6.x detect this malfunction then? I believe Murphy and his law, but for mee it seems a little bit too accidentally L-) regards, Jos Chrispijn Well I have re-install the machine at 6.4 and it runs WITHOUT any trouble with exactly same softwares ( OS + Postfix + Postgrey ) At 7.1 the machine hanged after running few hours ( ~2 ) At 6.4 it runs since 3 days without problem. ___ 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 -- Cordialement Frank Bonnet ESIEE Paris ___ 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: 7.1 : watchdog bge0 timeout ?
Jos Chrispijn wrote: [Lowell Gilbert] Uit een eerder bericht van 10-1-2009 15:51 :: Could be hardware trouble, I suppose. I know FreeBSD can detect hardware probs better than other OS'es; but why didn't 6.x detect this malfunction then? I believe Murphy and his law, but for mee it seems a little bit too accidentally L-) regards, Jos Chrispijn Well I have re-install the machine at 6.4 and it runs WITHOUT any trouble with exactly same softwares ( OS + Postfix + Postgrey ) At 7.1 the machine hanged after running few hours ( ~2 ) At 6.4 it runs since 3 days without problem. ___ 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
7.1 : watchdog bge0 timeout ?
Hello I've installed 7.1 onto our mail exchager (MX) then it suddendly stopped to work last night with the following message watchdog bge0 timeout The machine is a HP pc which was doing the same service at 6.3 without that kind of trouble Any info welcome Thanks a lot. ___ 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: Image Programs
G magicman wrote: Hello does anyone know the following 1. Does Freebsd have a program like Photoshop avail to use a copy-left GNU license type ? and a form of Thumbsplus which allows me to do rudimentary picture manipulations changing file type, cropping etc. i have all the 3d programs but not these 2 basic ones. Thank you http://www.gimp.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ZFS over iSCSI anyone ?
Ivan Voras wrote: Ivan Voras wrote: Jeremy Chadwick wrote: On Mon, Nov 17, 2008 at 04:29:06PM +0100, Ivan Voras wrote: Jeremy Chadwick wrote: On Mon, Nov 17, 2008 at 03:44:23PM +0100, Frank Bonnet wrote: Hello Does anyone has tried to use ZFS over iSCSI ? Another FreeBSD user recently brought to my attention problems with iSCSI on FreeBSD. There is a patch available which fixes the issue, but I felt you might want to know about it beforehand. Issue: http://lists.freebsd.org/pipermail/freebsd-scsi/2008-February/003383.html Patch: http://lists.freebsd.org/pipermail/freebsd-scsi/2008-February/003387.html Isn't this committed already? The user tells me it is not, and that his replies to the patch author have gone ignored. It looks like the iSCSI developer disappeared - I got a bounce message (in French) on the last e-mail :( It looks like there's new development in -CURRENT: http://svn.freebsd.org/viewvc/base?view=revisionrevision=185289 Well good news ! it seems to be integrated inside operating system isn't it ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
7.1
Hello I don't want appears as an impatient and I KNOW people that support FreeBSD are volunteers, I am a long time user of our prefered OS I just would like to have an estimation for the release of 7.1. I have two new production servers that will come tomorrow - If the release is a matter of days I'll wait a bit before installing them, - If it is a matter of monthes I'll install them with another release. Thanks a lot ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]