Rare problems in upgrade process (corrupted FS?)

2008-09-26 Thread Jordi Espasa Clofent
air several errors. Epecially, one error claims my attention: SUPERBLOCK. * After the theorical FS reparation I'm again in the point 1. ¿Any clues? -- Thanks, Jordi Espasa Clofent ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.o

Re: Rare problems in upgrade process (corrupted FS?)

2008-09-26 Thread Jordi Espasa Clofent
GENERIC exists, and is on the cvsup mirrors. Yes, of course. I've checked it from cvsweb. Superblock problems wouldn't explain this; there are hundreds of superblocks available (you wouldn't be able to use your machine if they were all horked). I've supposed it; your words

Re: Rare problems in upgrade process (corrupted FS?) [SOLVED]

2008-09-26 Thread Jordi Espasa Clofent
be it's so stupid as the first tag was miss-typed... but I think not. I checked it several times. I'ts solved, but I don't understand yet. -- Thanks, Jordi Espasa Clofent ___ freebsd-stable@freebsd.org mailing list http://lists.fre

Replication system

2008-11-03 Thread Jordi Espasa Clofent
re shared-data layer... I know it will be the optimal structure, but as I've said above, I can't use it because various reasons. -- Thanks, Jordi Espasa Clofent ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/lis

Error in 7.0p5 upgrade

2008-11-20 Thread Jordi Espasa Clofent
e the "classical" method over "new" binary method because of my kernel is customized. PD2. I use -DINSTALL_NODEBUG flag because of my / partition is so small and need to preserve the maximum space. -- Thanks, Jordi Espasa Clofent ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"

gjournal + gmirror

2009-11-24 Thread Jordi Espasa Clofent
Hi all, I've configured a new disk with two journaled partitions (/var and /usr). All works fine until this point. Next I add a new disk and I set up a gmirror as I've done always without problems. But when I reboot the system, I always get a nasty 'mountroot' message. I've cheched the gmirr

Error upgrading 7.0 to 7.2 (buildword in gnu/usr.bin/binutils/libopcodes setp)

2009-12-16 Thread Jordi Espasa Clofent
Hi all, I get the next nasty error: ===> gnu/usr.bin/binutils/libopcodes (all) cc -O2 -fno-strict-aliasing -pipe -DBFD_DEFAULT_TARGET_SIZE=64 -I. -I/usr/src/gnu/usr.bin/binutils/libopcodes -I/usr/src/gnu/usr.bin/binutils/libopcodes/../libbfd -I/usr/obj/usr/src/tmp/usr/src/gnu/usr.bin/binutils

Re: Error upgrading 7.0 to 7.2 (buildword in gnu/usr.bin/binutils/libopcodes setp)

2009-12-16 Thread Jordi Espasa Clofent
Lowell Gilbert escribió: Does it always happen in the same place (if not, it's a hardware problem)? Hi Lowel, Yes, always at same point. Does it happen the same way without the '-j' option (that can make the output less useful)? Wonderful. I've used times the same command (1) without -j f

Re: Hacked - FreeBSD 7.1-Release

2009-12-29 Thread Jordi Espasa Clofent
# pfctl -sr | grep ssh_brutes block drop quick from to any pass quick on em1 inet proto tcp from any to xxx.xxx.xxx.0/23 port = ssh flags S/SA keep state (source-track rule, max-src-conn 20, max-src-conn-rate 3/12, overload flush global, src.track 12) pass quick on em0 inet proto tcp from any

ssh+pam fails after 6.4 to 7.2 upgrade

2010-01-07 Thread Jordi Espasa Clofent
Hi all, I've upgraded a FreeBSD box to 6.4 to 7.2; no problems here, all goes fine as usual. After the whole upgrade process I can't do ssh connections. Because of I use ssh through LDAP, it involves also the PAM modules. I've tried: - repeat the whole upgrade process because of I didn't kno

Re: ssh+pam fails after 6.4 to 7.2 upgrade

2010-01-07 Thread Jordi Espasa Clofent
You would probably need to reinstall the openldap-client package (and any packages openldap-client depends on) as well as the pam_ldap and nss-ldap packages. - $ portupgrade -fR openldap-client (-R flag implies the recompilation of openldap-client depenedent packages as well) CONCLUSION: no e

About nice(1), renice(8) and ULE scheduler

2010-01-15 Thread Jordi Espasa Clofent
HI all, I've realized that the nice(1) code hasn't been modified for a long time (last code change seems from 4 years ago according the sources). ¿Is the nice(1) behaviour the expected? I mean, ¿Has been the ULE scheduler adapted to nice(1) command or not? nice(1) is a very old command base

Re: About nice(1), renice(8) and ULE scheduler

2010-01-20 Thread Jordi Espasa Clofent
In fact nice is a very simple program. It only changes the priority value of a process in a POSIX-compliant way. There is no need to change or adapt it; it still works fine in the SMP world and with new schedulers. It's up to the scheduler to interpret and handle the priority values of processes

ionice in FreeBSD?

2010-02-02 Thread Jordi Espasa Clofent
Hi all, In Linux exists the ionice(1) for "get/set program io scheduling class and priority". In FreeBSD we've nice(1), renice(8) and even rtprio, idprio(1) but if I'm understanding correctly, they're related to CPU priorty only, not to I/O. ¿Is there some ionice(1) equivalent in FreeBSD?

Re: ionice in FreeBSD?

2010-02-03 Thread Jordi Espasa Clofent
On 02/03/2010 12:12 PM, Bruce Simpson wrote: On 02/02/2010 17:19, Jordi Espasa Clofent wrote: In FreeBSD we've nice(1), renice(8) and even rtprio, idprio(1) but if I'm understanding correctly, they're related to CPU priorty only, not to I/O. That's not entirely true. A t

Inmutable bit in some binaries

2010-02-03 Thread Jordi Espasa Clofent
HI all, I'm hardening one test box and at present I'm planning to do: # chflags -R schg where will be some binaries that seems to be common targets for rootkits and lammers: ls du ps find top locate strings ifconfig netstat login I wonder if changing these files permissions as I've shown

Re: Inmutable bit in some binaries

2010-02-05 Thread Jordi Espasa Clofent
It's possible installworld will break (fail/exit) when trying to overwrite some of these binaries. However... install(1) supports the -f flags to specify what the destination file should have its file flags (chflags) set to, and from looking at the code (src/usr.bin/xinstall/xinstall.c), there a

Re: ionice in FreeBSD?

2010-02-05 Thread Jordi Espasa Clofent
Great aclarations. Thanks. -- I must not fear. Fear is the mind-killer. Fear is the little-death that brings total obliteration. I will face my fear. I will permit it to pass over me and through me. And when it has gone past I will turn the inner eye to see its path. Where the fear has gone th

Re: ionice in FreeBSD?

2010-02-05 Thread Jordi Espasa Clofent
Great work Luigi ;) That's amazing... anyway ¿is it production-ready? -- I must not fear. Fear is the mind-killer. Fear is the little-death that brings total obliteration. I will face my fear. I will permit it to pass over me and through me. And when it has gone past I will turn the inner eye

gmirror(8) rebuild speed

2010-04-22 Thread Jordi Espasa Clofent
Hi, I wonder if is possible to configure the gmirror rebuild speed. Neither I've found any related info in the net nor the man pages. -- I must not fear. Fear is the mind-killer. Fear is the little-death that brings total obliteration. I will face my fear. I will permit it to pass over me and

Re: gmirror(8) rebuild speed

2010-04-22 Thread Jordi Espasa Clofent
To make it slower, I assume? When is that a good idea? It depends on what status your server are. For example: - if I've a fsck in background so the I/O is high, maybe I want to make it slower - If the box is completey unloaded maybe I want to make it quicker -- I must not fear. Fear is the

Re: apachectl gracefult causes Signal 11 crash after 6.3 to 7.0 upgrade [SOLVED]

2008-06-11 Thread Jordi Espasa Clofent
t helps someone (I'm very surprised that this isn't a documented bug in 7.0 yet) -- Thanks, Jordi Espasa Clofent ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: apachectl gracefult causes Signal 11 crash after 6.3 to 7.0 upgrade [SOLVED]

2008-06-13 Thread Jordi Espasa Clofent
those who have experienced such. Yes Jeremy, I known. I also don't doubt your words, but in my case the order of the extensions seems not any effect. The only solution has been comment the mentioned mbash extension. -- Thanks, Jordi Espasa Clofent __

Random reboots (amd64) SOLVED

2008-06-20 Thread Jordi Espasa Clofent
Some time ago I was crazy with this problem: http://marc.info/?l=freebsd-amd64&m=119783171822355&w=2 Finally, it has been solved with upgrade from 6.2/6.3 to 7.0. I've no idea why, but nowadays the reboots doesn't exist. -- Thanks, Jo

Upgrade OpenSSH in 6.3 and 7.0 RELENG

2009-06-17 Thread Jordi Espasa Clofent
ww.nabble.com/Re:-Password-expiry-warning-message-from-ppolicy-td8071732.html -- Thanks, Jordi Espasa Clofent ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

nsswitch.conf bad configuration?

2009-08-07 Thread Jordi Espasa Clofent
(uid=postfix))" filter="(&(objectClass=posixAccount)(uid=root))" filter="(&(objectClass=posixAccount)(uid=postfix))" You can see the difference between user 'oscar? (exists in LDAP ddbb) and the others (doesn't exist in LDAP ddbb). The main que

nscd in 6.x?

2009-08-20 Thread Jordi Espasa Clofent
/src/sbin/ ¿Can I use nscd in 6.x branch? ¿Is there some 'alternative'? I've read about "cached" but I don't find anywhere in 6.3 (for example); the only one reference I've found is the port /usr/ports/databases/memcached, but I