Issues with FlowCleaner on a spam server.

2010-10-06 Thread perikillo
Hi my friends I have a big issue that I still cannot track what is
causing that my server stop working.

I have a spam gateway running:

spamassassin
clamavis
amavis
apache+mailgraph
postfix
bacula client
apcupsd client

My server is running freebsd 8.0-p2 AMD64. Raid-1.

Copyright (c) 1992-2009 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 8.0-RELEASE-p2 #5: Mon May 10 23:23:20 PDT 2010
r...@filter.oakwest.com:/usr/obj/usr/src/sys/SPAMKER
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(R) CPU   E3110  @ 3.00GHz (2999.68-MHz K8-class CPU)
  Origin = GenuineIntel  Id = 0x1067a  Stepping = 10
  
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
  
Features2=0x408e3fdSSE3,DTES64,MON,DS_CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE
  AMD Features=0x20100800SYSCALL,NX,LM
  AMD Features2=0x1LAHF
  TSC: P-state invariant
real memory  = 4294967296 (4096 MB)
avail memory = 4119261184 (3928 MB)
ACPI APIC Table: 090208 APIC1432
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
FreeBSD/SMP: 1 package(s) x 2 core(s)
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1

For some reason that I still don't know, amavisd stop working, the
port no longer answer any inbound, postfix, spamd, clamd works,
amavisd is the issue normally.

My server can work for a month, each weekend I update the ports and
upgrade my packages, spamd rules every month are updated.

No issue here, suddenly after a month or 4-5 weeks the server stop
working, amavisd stop doing the job, I can access the server via ssh
and see the issue.

This is the 4th time that happens.

My IDLE goes to 50%, when I start debugging I see a process called
FlowCleaner eating 1 CPU.

Always got the PID 20, looks like a internal process, I have been
searching info about this process but not to much info.

I cannot kill this process, I can restart clamd, spamd, apache,
bacula, but amavisd is stuck.

If I send a shutdown -r now won't work, my server just hang-up, if I
press the power button won't work to.

I have to do a cold reboot, I don't have other choice.

I have read logs but don't see any issue (maillog, console, all, message).

One thing to mention, is that every time this happen, my server fan's
are working more faster that usual, the first day I detect this I
create a batch that send every 5 minutes the core temperature using
freebsd coretemp.ko module.

Avg. I got 40'c for each core:

dev.cpu.0.temperature: 42.0C
dev.cpu.1.temperature: 41.0C

I search around on Intel site and this chip max temp. is 70'c, I had
never seen this number on my emails, the biggest number had been 54'c
and this appear before my server got crazy yesterday:

dev.cpu.0.temperature: 53.0C
dev.cpu.1.temperature: 49.0C

Something is causing this, a spam attack, memory leak mmm I had not
seen my server use the whole 4GB ever.

My friends, what do u you recommend to me to track this?

Any input will be very appreciated, I got 1 month to track this before
this happen again, 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: Issues with FlowCleaner on a spam server.

2010-10-06 Thread perikillo
On Wed, Oct 6, 2010 at 1:28 AM, Bas Smeelen b.smee...@ose.nl wrote:
 On 10/06/2010 09:40 AM, perikillo wrote:
 Hi my friends I have a big issue that I still cannot track what is
 causing that my server stop working.

 may be this bug?
 http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/146792
 a fix is also in the report
 I have a spam gateway running:

 spamassassin
 clamavis
 amavis
 apache+mailgraph
 postfix
 bacula client
 apcupsd client

 My server is running freebsd 8.0-p2 AMD64. Raid-1.

 Copyright (c) 1992-2009 The FreeBSD Project.
 Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
         The Regents of the University of California. All rights reserved.
 FreeBSD is a registered trademark of The FreeBSD Foundation.
 FreeBSD 8.0-RELEASE-p2 #5: Mon May 10 23:23:20 PDT 2010
     r...@filter.oakwest.com:/usr/obj/usr/src/sys/SPAMKER
 Timecounter i8254 frequency 1193182 Hz quality 0
 CPU: Intel(R) Xeon(R) CPU           E3110  @ 3.00GHz (2999.68-MHz K8-class 
 CPU)
   Origin = GenuineIntel  Id = 0x1067a  Stepping = 10
   
 Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
   
 Features2=0x408e3fdSSE3,DTES64,MON,DS_CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE
   AMD Features=0x20100800SYSCALL,NX,LM
   AMD Features2=0x1LAHF
   TSC: P-state invariant
 real memory  = 4294967296 (4096 MB)
 avail memory = 4119261184 (3928 MB)
 ACPI APIC Table: 090208 APIC1432
 FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 FreeBSD/SMP: 1 package(s) x 2 core(s)
  cpu0 (BSP): APIC ID:  0
  cpu1 (AP): APIC ID:  1

 For some reason that I still don't know, amavisd stop working, the
 port no longer answer any inbound, postfix, spamd, clamd works,
 amavisd is the issue normally.

 My server can work for a month, each weekend I update the ports and
 upgrade my packages, spamd rules every month are updated.

 No issue here, suddenly after a month or 4-5 weeks the server stop
 working, amavisd stop doing the job, I can access the server via ssh
 and see the issue.

 This is the 4th time that happens.

 My IDLE goes to 50%, when I start debugging I see a process called
 FlowCleaner eating 1 CPU.

 Always got the PID 20, looks like a internal process, I have been
 searching info about this process but not to much info.

 I cannot kill this process, I can restart clamd, spamd, apache,
 bacula, but amavisd is stuck.

 If I send a shutdown -r now won't work, my server just hang-up, if I
 press the power button won't work to.

 I have to do a cold reboot, I don't have other choice.

 I have read logs but don't see any issue (maillog, console, all, message).

 One thing to mention, is that every time this happen, my server fan's
 are working more faster that usual, the first day I detect this I
 create a batch that send every 5 minutes the core temperature using
 freebsd coretemp.ko module.

 Avg. I got 40'c for each core:

 dev.cpu.0.temperature: 42.0C
 dev.cpu.1.temperature: 41.0C

 I search around on Intel site and this chip max temp. is 70'c, I had
 never seen this number on my emails, the biggest number had been 54'c
 and this appear before my server got crazy yesterday:

 dev.cpu.0.temperature: 53.0C
 dev.cpu.1.temperature: 49.0C

 Something is causing this, a spam attack, memory leak mmm I had not
 seen my server use the whole 4GB ever.

 My friends, what do u you recommend to me to track this?

 Any input will be very appreciated, I got 1 month to track this before
 this happen again, thanks!


 DISCLAIMER: This e-mail is for the intended recipient(s) only. Access, 
 disclosure, copying,
 distribution or reliance on any of it by anyone else is prohibited. If you 
 have received it
 by mistake please let us know by reply and then delete it from your system.

 ___
 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


Hey Bas thanks, I will try that, I had read the link u mention and I
have the same behavior, is not a router but I have the option inside
my kernel:

optionsFLOWTABLE   # per-cpu routing cache

I had seen that we can disable with sysctl, I will try to disable and
wait for a month and see if my spam server don't have issues like this
anymore.

I will let u know, thanks again Bas.
___
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 8: gdbm.h: No such file or directory

2010-05-03 Thread perikillo
Hi.

I want to install http://www.csamuel.org/software/vacation/

Version vacation-1.2.7.0, the INSTALL say:

under FreeBSD type 'gmake' to compile
the program.   To install it you will need to do (as root) 'make install'
or, for FreeBSD, 'gmake install'.

But went I run gmake i got:

gcc  -g -Wall -DMAIN   -Xlinker -warn-common
-D_PATH_VACATION=\/usr/bin/vacation\ -o vacation vacation.c strlcpy.c
strlcat.c rfc822.c -lgdbm
*vacation.c:81:18: error: gdbm.h: No such file or directory*
In file included from vacation.c:92:
vacation.h:61: error: expected '=', ',', ';', 'asm' or '__attribute__'
before 'db'
vacation.c: In function 'main':
vacation.c:200: error: 'db' undeclared (first use in this function)
vacation.c:200: error: (Each undeclared identifier is reported only once
vacation.c:200: error: for each function it appears in.)
vacation.c:200: warning: implicit declaration of function 'gdbm_open'
vacation.c:200: error: 'GDBM_NEWDB' undeclared (first use in this function)
vacation.c:200: error: 'GDBM_WRITER' undeclared (first use in this function)
vacation.c:222: warning: implicit declaration of function 'gdbm_close'
vacation.c: In function 'recent':
vacation.c:529: error: 'datum' undeclared (first use in this function)
vacation.c:529: error: expected ';' before 'key'
vacation.c:533: error: 'key' undeclared (first use in this function)
vacation.c:535: error: 'data' undeclared (first use in this function)
vacation.c:535: warning: implicit declaration of function 'gdbm_fetch'
vacation.c:535: error: 'db' undeclared (first use in this function)
vacation.c: In function 'setinterval':
vacation.c:567: error: 'datum' undeclared (first use in this function)
vacation.c:567: error: expected ';' before 'key'
vacation.c:569: error: 'key' undeclared (first use in this function)
vacation.c:571: error: 'data' undeclared (first use in this function)
vacation.c:573: warning: implicit declaration of function 'gdbm_store'
vacation.c:573: error: 'db' undeclared (first use in this function)
vacation.c:573: error: 'GDBM_REPLACE' undeclared (first use in this
function)
vacation.c: In function 'setreply':
vacation.c:583: error: 'datum' undeclared (first use in this function)
vacation.c:583: error: expected ';' before 'key'
vacation.c:586: error: 'key' undeclared (first use in this function)
vacation.c:589: error: 'data' undeclared (first use in this function)
vacation.c:591: error: 'db' undeclared (first use in this function)
vacation.c:591: error: 'GDBM_REPLACE' undeclared (first use in this
function)
gmake: *** [vacation] Error 1

I got gdbm from ports,

The Makefile is:

SHELL   = /bin/sh
CC  = gcc
ARCH= $(uname -m)
OS  = $(uname -s)
#
# Default CFLAGS for all builds, architecture flags get appended below.
CFLAGS  = $(RPM_OPT_FLAGS) -g -Wall -DMAIN
ifeq $(ARCH) x86_64
# Uncomment below for backwards compatibility of gdbm files.
#  CFLAGS   = $(CFLAGS) -m32
else
ifeq $(ARCH) ppc
  CFLAGS   = $(CFLAGS) -fsigned-char
else
ifeq $(ARCH) ppc64
  CFLAGS   = $(CFLAGS) -fsigned-char
endif
endif
endif

LFLAGS  = -Xlinker -warn-common
IFLAGS  =

LIBS= -lgdbm
LINT= lint -abchuvx
LLIBS   =


ifeq $(OS) FreeBSD
# PREFIX for FreeBSD
PREFIX  = /usr/local
IFLAGS  = -I/usr/local/include
LIBS= -L/usr/local/lib -lgdbm
else
# PREFIX for Linux
PREFIX  = /usr
endif
# where things go
BINDIR  = $(PREFIX)/bin
VACATION= $(BINDIR)/vacation
VACLOOK = $(BINDIR)/vaclook
MANDIR  = $(PREFIX)/man/man
MANEXT1 = 1

VERSION = 1
SUBVERSION  = 2
PATCHLEVEL  = 7

# what are we making
EXTRAS  = strlcpy.c strlcat.c rfc822.c
SRC = vacation.c $(EXTRAS)
OBJ = vacation.o
BIN = vacation
HDR = vacation.h

# what we are packaging
PACKAGE = ChangeLog Makefile README tzfile.h \
  vacation vacation.c vacation.h *.man COPYING rfc822.c \
  contrib vacation-1.2.6.lsm patches OLD strlcpy.c strlcat.c
TGZFILE = vacation-$(VERSION).$(SUBVERSION).$(PATCHLEVEL).tar.gz

# rules

all:$(BIN)

install:  all
install -s -m 755 $(BIN) $(VACATION)
install -m 755 vaclook $(VACLOOK)
./html2man.pl  vacation.html 
$(MANDIR)$(MANEXT1)/vacation.$(MANEXT1)
install -m 444 vaclook.man $(MANDIR)$(MANEXT1)/vaclook.$(MANEXT1)

vacation:   $(SRC) $(HDR)
$(CC) $(CFLAGS) $(IFLAGS) $(PFLAGS) $(LFLAGS)
-D_PATH_VACATION=\$(VACATION)\ -o $(BIN) $(SRC) $(LIBS)

courier:$(SRC) $(HDR)
$(CC) $(CFLAGS) $(IFLAGS) $(PFLAGS) $(LFLAGS) -DCOURIER
-D_PATH_VACATION=\$(VACATION)\ -o $(BIN) $(SRC) $(LIBS)
debug:  $(SRC) $(HDR)
$(CC) $(CFLAGS) $(IFLAGS) -DDEBUG $(LFLAGS) -o $(BIN) $(SRC) $(LIBS)

clean:
rm -f *.o core *.out *~ Makefile.old vacation

clobber: clean
rm -f $(BIN)

package: all
strip vacation
tar cvf - $(PACKAGE) 

Re: dovecot/jail question

2010-04-13 Thread perikillo
I have: (Samba+LDAP = PDC + Dovecot+Postix ) ---JailA
(amavisd-new+spamassassin+clamd --spam gateway )  ---JailB

   FreeBSD 8.0 Release.

 My src.conf for my jails:

 WITHOUT_AMD=yes
WITHOUT_APM=yes
WITHOUT_ASSERT_DEBUG=yes
WITHOUT_ATM=yes
WITHOUT_AUTHPF=yes
WITHOUT_BIND=yes
WITHOUT_BLUETOOTH=yes
WITHOUT_BOOT=yes
WITHOUT_CALENDAR=yes
WITHOUT_CDDL=yes
WITHOUT_CTM=yes
WITHOUT_CVS=yes
WITHOUT_DICT=yes
WITHOUT_EXAMPLES=yes
WITHOUT_FLOPPY=yes
WITHOUT_FREEBSD_UPDATE=yes
WITHOUT_GAMES=yes
WITHOUT_GPIB=yes
WITHOUT_HTML=yes
WITHOUT_INET6=yes
WITHOUT_IPFILTER=yes
WITHOUT_IPFW=yes
WITHOUT_IPX=yes
WITHOUT_JAIL=yes
WITHOUT_KVM=yes
WITHOUT_LPR=yes
WITHOUT_MAIL=yes
WITHOUT_MAN=yes
WITHOUT_NCP=yes
WITHOUT_NDIS=yes
WITHOUT_NTP=yes
WITHOUT_PF=yes
WITHOUT_PMC=yes
WITHOUT_PPP=yes
WITHOUT_PROFILE=yes
WITHOUT_QUOTAS=yes
WITHOUT_RCMDS=yes
WITHOU_RCS=yes
WITHOUT_SHAREDOCS=yes
WITHOUT_TELNET=yes
WITHOUT_USB=yes
WITHOUT_WIRELESS=yes
WITHOUT_WPA_SUPPLICANT_EAPOL=yes

  Running without a issue, Greetings!!!

On Wed, Jan 20, 2010 at 1:34 PM, Michael Grimm trash...@odo.in-berlin.dewrote:

 Sam Fourman Jr. sfour...@gmail.com wrote:
  On Tue, Jan 19, 2010 at 4:18 PM, Jim stapleton...@gmail.com wrote:

  First, Thanks all for the help with my previous sendmail question.
  I rebuilt the jail without postfix and that at least seems happy.
 
  So does this mean that you can NOT run postfix in a FreeBSD 8 Jail?
 
  I didn't know this, I just assumed postfix in a Jail would work. if
  possible could someone confirm this?

 I can confirm that Postfix, Dovecot, and Squirrelmail do run in jails,
 and I do assume that almost every mailing system will do as well.

 Regards,
 Michael
 --
 to let
 ___
 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: FreeBSD 8: Postfix policyd-weight not working!!!

2010-04-10 Thread perikillo
On Thu, Apr 8, 2010 at 3:29 PM, perikillo periki...@gmail.com wrote:



 On Thu, Apr 8, 2010 at 2:57 PM, Noel Jones noeld...@gmail.com wrote:

 On Thu, Apr 8, 2010 at 9:29 AM, perikillo periki...@gmail.com wrote:
   Hi people.
 
   I'm working in my first spam gateway, using Postfix + policyd-weight.
 
   I have 2 jails for this, the jail-A is the mail server, where the
 mailboxes
  exist, they are on each user home directory:
 
   /home/user-1
   /home/user-2
   /home/user-3
  ...
   /home/user-N
 
   This jail-A have samba+ldap=PDC, nss_ldap+pam_ldap working +
  dovecot+postfix working to.
 
   id test
  uid=10003(test) gid=513(Domain Users) groups=513(Domain Users)
  id root
  uid=0(root) gid=0(wheel) groups=0(wheel),5(operator),512(Domain Admins)
 
   I can add users without a issue using smbldap-tools.
 
   I have test dovecot+postfix and I can send emails with that jail.
 
  Now I want to setup my spam gateway, is another jail called jail-B, I
 have
  setup nss_ldap+pam_ldap to contact my PDC(jail-A) and is working:
 
  id user1
  uid=10002(user1) gid=513(Domain Users) groups=513(Domain Users)
  id test
  uid=10003(test) gid=513(Domain Users) groups=513(Domain Users)
 
  Now, the part is the one is not working is postfix+ policyd-weight.
 
  Went I test with other machine in the network using telnet, for some
 reason
  once postfix accept the mail wants to send the email to the outside not
  internally. I have setup transport to send the email jail-A but I don't
 see
  any task doing this, check:
 
  Apr  8 07:02:01 filtro postfix/qmgr[6723]: 97002BB47C2: from=t...@x.org
 ,
  size=409, nrcpt=1 (queue active)
  Apr  8 07:02:04 filtro postfix/smtpd[6727]: connect from filtro.X.org
  [192.168.49.7]
  Apr  8 07:02:31 filtro postfix/smtp[6725]: connect to X.org[X.Y.Z.W]:25:
  Operation timed out
  Apr  8 07:02:31 filtro postfix/smtp[6725]: 97002BB47C2: to=us...@x.org
 ,
  relay=none, delay=869, delays=839/0.03/30/0, dsn=4.4.1, status=deferred
  (connect to X.org[X.Y.Z.W]:25: Operation timed out)

 You say that X.org should be delivered locally.  Postfix doesn't think
 X.org is a local domain.

  Apr  8 07:10:00 filtro postfix/sendmail[6763]: fatal: root(0): No
 recipient
  addresses found in message header

 This appears that you've used sendmail -t to inject some mail, and
 there was no To: header.
 Don't rely on headers for mail routing.


 
  X.Y.Z.W -- Public address.
 
  My postfix settings are this:
 
  alias_maps = hash:/etc/aliases
  command_directory = /usr/local/sbin
  config_directory = /usr/local/etc/postfix
  daemon_directory = /usr/local/libexec/postfix
  data_directory = /var/db/postfix
  debug_peer_level = 2
  home_mailbox = Maildir/
  html_directory = /usr/local/share/doc/postfix
  inet_interfaces = all
  local_destination_concurrency_limit = 2
  mail_owner = postfix
  mailq_path = /usr/local/bin/mailq
  manpage_directory = /usr/local/man
  mydomain = X.org
  myhostname = filtro.X.org

 You might want to add
 mydestination = $mydomain $myhostname localhost


  myorigin = $mydomain
  newaliases_path = /usr/local/bin/newaliases
  queue_directory = /var/spool/postfix
  readme_directory = /usr/local/share/doc/postfix
  relay_domains = $transport_maps

 Bad idea.  If you add a transport for eg. hotmail, you become an
 instant open relay.  Don't reuse transport_maps this way.

 If mail is delivered locally on this box, relay_domains should be
 explicitly set empty.
 relay_domains =


  sample_directory = /usr/local/etc/postfix
  sendmail_path = /usr/local/sbin/sendmail
  setgid_group = maildrop
  smtpd_delay_reject = yes
  smtpd_helo_required = yes
  smtpd_recipient_restrictions = permit_mynetworks,
  reject_unauth_destination,  reject_non_fqdn_recipient,
  reject_invalid_helo_hostname,   check_policy_service
  inet:[192.168.49.7]:12525
  soft_bounce = no
  transport_maps = hash:/usr/local/etc/postfix/transport
  unknown_local_recipient_reject_code = 550
 
  Now, my transport file is:
 
  nis.X.orgsmtp:[192.168.49.6]  -jail-A
 
  Is created:  transport.db
 
  Another think, in the log I don't see went is touching policyd-weight:
  12525 or this is just for the outside connections?

 Mail that's permitted by permit_mynetworks or submitted via the
 sendmail(1) interface won't trigger the policy server in your config.


 Thanks Noel for your quick answer, just would like to inform u that this is
 a spam server not a email server, once this server accept the email, he need
 to send it to the real mail server, is other machine in the network(other
 jail).

  This is why I'm using the transport stuff, if exist a more secure way
 please let me know, spam server + email server exist in the same
 network(jails).

  The test  was made with telnet, about the sendmail, I don't know went I
 setup something about sendmail, I just have been working with postfix.

  Thanks again!!!


  -- Noel Jones



Fix it:

alias_maps = hash:/etc/aliases
command_directory = /usr/local/sbin
config_directory

FreeBSD 8: Postfix policyd-weight not working!!!

2010-04-08 Thread perikillo
 Hi people.

 I'm working in my first spam gateway, using Postfix + policyd-weight.

 I have 2 jails for this, the jail-A is the mail server, where the mailboxes
exist, they are on each user home directory:

 /home/user-1
 /home/user-2
 /home/user-3
...
 /home/user-N

 This jail-A have samba+ldap=PDC, nss_ldap+pam_ldap working +
dovecot+postfix working to.

 id test
uid=10003(test) gid=513(Domain Users) groups=513(Domain Users)
id root
uid=0(root) gid=0(wheel) groups=0(wheel),5(operator),512(Domain Admins)

 I can add users without a issue using smbldap-tools.

 I have test dovecot+postfix and I can send emails with that jail.

Now I want to setup my spam gateway, is another jail called jail-B, I have
setup nss_ldap+pam_ldap to contact my PDC(jail-A) and is working:

id user1
uid=10002(user1) gid=513(Domain Users) groups=513(Domain Users)
id test
uid=10003(test) gid=513(Domain Users) groups=513(Domain Users)

Now, the part is the one is not working is postfix+ policyd-weight.

Went I test with other machine in the network using telnet, for some reason
once postfix accept the mail wants to send the email to the outside not
internally. I have setup transport to send the email jail-A but I don't see
any task doing this, check:

Apr  8 07:02:01 filtro postfix/qmgr[6723]: 97002BB47C2: from=t...@x.org,
size=409, nrcpt=1 (queue active)
Apr  8 07:02:04 filtro postfix/smtpd[6727]: connect from filtro.X.org
[192.168.49.7]
Apr  8 07:02:31 filtro postfix/smtp[6725]: connect to X.org[X.Y.Z.W]:25:
Operation timed out
Apr  8 07:02:31 filtro postfix/smtp[6725]: 97002BB47C2: to=us...@x.org,
relay=none, delay=869, delays=839/0.03/30/0, dsn=4.4.1, status=deferred
(connect to X.org[X.Y.Z.W]:25: Operation timed out)
Apr  8 07:02:45 filtro postfix/smtpd[6727]: 11699BB537C: client=X.dyndns.org
[192.168.49.7]
Apr  8 07:02:50 filtro postfix/cleanup[6731]: 11699BB537C:
message-id=20100408070245.11699bb5...@x.org
Apr  8 07:02:50 filtro postfix/qmgr[6723]: 11699BB537C: from=us...@x.org,
size=399, nrcpt=1 (queue active)
Apr  8 07:02:51 filtro postfix/smtpd[6727]: disconnect from filtro.X.org
[192.168.49.7]
Apr  8 07:03:20 filtro postfix/smtp[6725]: connect to X.org[X.Y.Z.W]:25:
Operation timed out
Apr  8 07:03:20 filtro postfix/smtp[6725]: 11699BB537C: to=us...@x.org,
relay=none, delay=45, delays=15/0/30/0, dsn=4.4.1, status=deferred (connect
to X.org[X.Y.Z.W]:25: Operation timed out)
Apr  8 07:10:00 filtro postfix/sendmail[6763]: fatal: root(0): No recipient
addresses found in message header

X.Y.Z.W -- Public address.

My postfix settings are this:

alias_maps = hash:/etc/aliases
command_directory = /usr/local/sbin
config_directory = /usr/local/etc/postfix
daemon_directory = /usr/local/libexec/postfix
data_directory = /var/db/postfix
debug_peer_level = 2
home_mailbox = Maildir/
html_directory = /usr/local/share/doc/postfix
inet_interfaces = all
local_destination_concurrency_limit = 2
mail_owner = postfix
mailq_path = /usr/local/bin/mailq
manpage_directory = /usr/local/man
mydomain = X.org
myhostname = filtro.X.org
myorigin = $mydomain
newaliases_path = /usr/local/bin/newaliases
queue_directory = /var/spool/postfix
readme_directory = /usr/local/share/doc/postfix
relay_domains = $transport_maps
sample_directory = /usr/local/etc/postfix
sendmail_path = /usr/local/sbin/sendmail
setgid_group = maildrop
smtpd_delay_reject = yes
smtpd_helo_required = yes
smtpd_recipient_restrictions = permit_mynetworks,
reject_unauth_destination,  reject_non_fqdn_recipient,
reject_invalid_helo_hostname,   check_policy_service
inet:[192.168.49.7]:12525
soft_bounce = no
transport_maps = hash:/usr/local/etc/postfix/transport
unknown_local_recipient_reject_code = 550

Now, my transport file is:

nis.X.orgsmtp:[192.168.49.6]  -jail-A

Is created:  transport.db

Another think, in the log I don't see went is touching policyd-weight:
12525 or this is just for the outside connections?

Is my first spam server, if u see something wrong please let me know, I will
appreciated, thanks all for your time!!!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: FreeBSD 8: Postfix policyd-weight not working!!!

2010-04-08 Thread perikillo
On Thu, Apr 8, 2010 at 2:57 PM, Noel Jones noeld...@gmail.com wrote:

 On Thu, Apr 8, 2010 at 9:29 AM, perikillo periki...@gmail.com wrote:
   Hi people.
 
   I'm working in my first spam gateway, using Postfix + policyd-weight.
 
   I have 2 jails for this, the jail-A is the mail server, where the
 mailboxes
  exist, they are on each user home directory:
 
   /home/user-1
   /home/user-2
   /home/user-3
  ...
   /home/user-N
 
   This jail-A have samba+ldap=PDC, nss_ldap+pam_ldap working +
  dovecot+postfix working to.
 
   id test
  uid=10003(test) gid=513(Domain Users) groups=513(Domain Users)
  id root
  uid=0(root) gid=0(wheel) groups=0(wheel),5(operator),512(Domain Admins)
 
   I can add users without a issue using smbldap-tools.
 
   I have test dovecot+postfix and I can send emails with that jail.
 
  Now I want to setup my spam gateway, is another jail called jail-B, I
 have
  setup nss_ldap+pam_ldap to contact my PDC(jail-A) and is working:
 
  id user1
  uid=10002(user1) gid=513(Domain Users) groups=513(Domain Users)
  id test
  uid=10003(test) gid=513(Domain Users) groups=513(Domain Users)
 
  Now, the part is the one is not working is postfix+ policyd-weight.
 
  Went I test with other machine in the network using telnet, for some
 reason
  once postfix accept the mail wants to send the email to the outside not
  internally. I have setup transport to send the email jail-A but I don't
 see
  any task doing this, check:
 
  Apr  8 07:02:01 filtro postfix/qmgr[6723]: 97002BB47C2: from=t...@x.org
 ,
  size=409, nrcpt=1 (queue active)
  Apr  8 07:02:04 filtro postfix/smtpd[6727]: connect from filtro.X.org
  [192.168.49.7]
  Apr  8 07:02:31 filtro postfix/smtp[6725]: connect to X.org[X.Y.Z.W]:25:
  Operation timed out
  Apr  8 07:02:31 filtro postfix/smtp[6725]: 97002BB47C2: to=us...@x.org
 ,
  relay=none, delay=869, delays=839/0.03/30/0, dsn=4.4.1, status=deferred
  (connect to X.org[X.Y.Z.W]:25: Operation timed out)

 You say that X.org should be delivered locally.  Postfix doesn't think
 X.org is a local domain.

  Apr  8 07:10:00 filtro postfix/sendmail[6763]: fatal: root(0): No
 recipient
  addresses found in message header

 This appears that you've used sendmail -t to inject some mail, and
 there was no To: header.
 Don't rely on headers for mail routing.


 
  X.Y.Z.W -- Public address.
 
  My postfix settings are this:
 
  alias_maps = hash:/etc/aliases
  command_directory = /usr/local/sbin
  config_directory = /usr/local/etc/postfix
  daemon_directory = /usr/local/libexec/postfix
  data_directory = /var/db/postfix
  debug_peer_level = 2
  home_mailbox = Maildir/
  html_directory = /usr/local/share/doc/postfix
  inet_interfaces = all
  local_destination_concurrency_limit = 2
  mail_owner = postfix
  mailq_path = /usr/local/bin/mailq
  manpage_directory = /usr/local/man
  mydomain = X.org
  myhostname = filtro.X.org

 You might want to add
 mydestination = $mydomain $myhostname localhost


  myorigin = $mydomain
  newaliases_path = /usr/local/bin/newaliases
  queue_directory = /var/spool/postfix
  readme_directory = /usr/local/share/doc/postfix
  relay_domains = $transport_maps

 Bad idea.  If you add a transport for eg. hotmail, you become an
 instant open relay.  Don't reuse transport_maps this way.

 If mail is delivered locally on this box, relay_domains should be
 explicitly set empty.
 relay_domains =


  sample_directory = /usr/local/etc/postfix
  sendmail_path = /usr/local/sbin/sendmail
  setgid_group = maildrop
  smtpd_delay_reject = yes
  smtpd_helo_required = yes
  smtpd_recipient_restrictions = permit_mynetworks,
  reject_unauth_destination,  reject_non_fqdn_recipient,
  reject_invalid_helo_hostname,   check_policy_service
  inet:[192.168.49.7]:12525
  soft_bounce = no
  transport_maps = hash:/usr/local/etc/postfix/transport
  unknown_local_recipient_reject_code = 550
 
  Now, my transport file is:
 
  nis.X.orgsmtp:[192.168.49.6]  -jail-A
 
  Is created:  transport.db
 
  Another think, in the log I don't see went is touching policyd-weight:
  12525 or this is just for the outside connections?

 Mail that's permitted by permit_mynetworks or submitted via the
 sendmail(1) interface won't trigger the policy server in your config.


Thanks Noel for your quick answer, just would like to inform u that this is
a spam server not a email server, once this server accept the email, he need
to send it to the real mail server, is other machine in the network(other
jail).

 This is why I'm using the transport stuff, if exist a more secure way
please let me know, spam server + email server exist in the same
network(jails).

 The test  was made with telnet, about the sendmail, I don't know went I
setup something about sendmail, I just have been working with postfix.

 Thanks again!!!


  -- Noel Jones

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail

Re: Shrink a Slice? FreeBSD 7.1

2009-02-09 Thread perikillo
  Thanks for your great info, the only problem is that I don't want to
cause any trouble to my current system and I needed to fix this quickly.
  I already install the system and everything is working, I have to built a
system and test your procedure step by step.

   This info u give to us is very important, I had done this with Linux
before, and is easy, but with FreeBSD is the first time I need to do this.

   I will let u know my results ASAP.

   Thanks again for your help Jerry.


On Thu, Feb 5, 2009 at 2:23 PM, Jerry McAllister jerr...@msu.edu wrote:

 On Thu, Feb 05, 2009 at 12:19:13PM -0800, perikillo wrote:

 Hi people.
 I have been googling without any good info about: How to shrink a
 slice?
 
 Case: I installed a new server for mysql, is working, I already
 install
  all the ports I need, them I spend a lot of hours yesterday with this
 baby,
  now this is my current disk layout:
 
  /dev/ad0s1a on / (ufs, local, noatime, soft-updates)
  devfs on /dev (devfs, local)
  /dev/ad0s1f on /tmp (ufs, local, noatime, soft-updates)
  /dev/ad0s1d on /usr (ufs, local, noatime, soft-updates)
  /dev/ad0s1e on /var (ufs, local, noatime, soft-updates)
  /dev/ad0s1g on /backups (ufs, local, soft-updates)
 
 What I want to do is to shrink the slice /dev/ad0s1g

   /dev/ad0s1g is a partition, not a slice.
  /dev/ad0s1 is the slice.

 MicroSloth usage of the terms is different and confuses people sometimes.

 As far as I know neither growfs(8) nor tunefs(8) can shrink the disk
 allocated to a partition.

 The only way is to dump each of the filesystems to some other
 reliable media (maybe tape or a large USB disk) and then repartition
 that slice to be the sizes you want.Use dump(8) to make the dumps
 and then check the dump files out before starting the repartitioning.

 First you have to build a filesystem on the USB drive.
 You should be able to use bsdlabel to create a single partition
 that covers the whole drive.

 But, if your FreeBSD or BIOS is old enough it might not go that big,
 so you will need to break it down in to smaller slices and make a
 partition in each.  (I have had to do that.  But if it is 7.xx it
 should not be necessary)  To break it up, get the  gparted  utility.
 Download its boot image and use it to break up the USB disk in to
 slices that your FreeBSD will handle.  You need to have it make all
 what it calls (in the MS way) Primary Partitions, but those are what
 are called slices in FreeBSD land.

 Don't get tempted to use gparted to shrink your ad0s1 slice because
 it will not work right.   That will just trash the current partitions.
 It is not what you are looking for.

 Either if your FreeBSD will handle the whole USB or after you have it
 broken up, then build a partition on each slice of the USB using bsdlabel.
 Don't make it bootable or write a boot sector on it.  Then run newfs(8)
 on it to make a filesystem.
 This bsdlabel and newfs can be done while the system is running.

 Then, take the system down and run the dumps.You can do the dumps
 from single user mode or boot a fixit image from the install CD.
 You will need to do the repartitioning and restore the dumps from
 the fixit anyway so you could just start there.
 Boot the machine from the fixit disk - create a 'holographic' image as
 they call it.   Fixit is usually on disc1.

 Run the dumps.
 Lets say you are doing the dumps to a USB drive that comes up
 as /dev/da0 in the fixit boot and your current disk still is
 comes up with the name  /dev/ad0 .

 First, make up mount points for all your filesystems that you want to
 dump plus for the filesystem[s] on the USB drive.
 NOTE: That the fixit runs from a memory resident filesystem so whatever
  you create there will disappear on boot.

 Anyway, skip dumping /tmp and /dev is a pretend filesystem.

 mkdir /oldroot
 mkdir /oldusr
 mkdir /oldvar
 mkdir /oldbkup

 mkdir /usbdrive

 (You can actually make the dumps from the devices rather than mounting
  them, but I have never gotten in to that habit)

 Mount those partitions

 mount /dev/ad0s1a /oldroot
 mount /dev/ad0s1d /oldusr
 mount /dev/ad0s1e /oldvar
 mount /dev/ad0s1g /oldbkup

 mount /dev/da0s1 /usbdrive(This device name might be different
 depending on how you make it.   Some possibilities are:
  /dev/da0s1If you just newfs the slice without making a partition
 in it
  /dev/da0s1a  If you make a slice with fdisk and a partition with
 bsdlabel
  /dev/da0aIf you make a partition with bsdlabel without making a
 slice

 Now do the dumps

 dump 0af /usbdrive/rootdump /oldroot
 dump 0af /usbdrive/usrdump /oldusr
 dump 0af /usbdrive/vardump /oldvar
 dump 0af /usbdrive/bkupdump /oldbkup

 This will take a while depending on media you use.
 By the way, to tape it would go to /dev/nsa0 rather than /usbdrive/oldroot,
 etc

 Once the dumps are done, you may want to reboot and mount that USB
 drive or read the tape and look at the dumps to make sure they can
 be read

Shrink a Slice? FreeBSD 7.1

2009-02-05 Thread perikillo
   Hi people.
   I have been googling without any good info about: How to shrink a slice?

   Case: I installed a new server for mysql, is working, I already install
all the ports I need, them I spend a lot of hours yesterday with this baby,
now this is my current disk layout:

/dev/ad0s1a on / (ufs, local, noatime, soft-updates)
devfs on /dev (devfs, local)
/dev/ad0s1f on /tmp (ufs, local, noatime, soft-updates)
/dev/ad0s1d on /usr (ufs, local, noatime, soft-updates)
/dev/ad0s1e on /var (ufs, local, noatime, soft-updates)
/dev/ad0s1g on /backups (ufs, local, soft-updates)

   What I want to do is to shrink the slice /dev/ad0s1g

Filesystem  1M-blocks   Used  Avail Capacity  Mounted on
/dev/ad0s1a   49523222351%/
devfs   0  0  0   100%/dev
/dev/ad0s1f   495  0456 0%/tmp
/dev/ad0s1d  5967   4225   126477%/usr
/dev/ad0s1e 15863   1343  13251 9%/var
/dev/ad0s1g272313  48823 20170419%/backups

  Like u can see, is the last slice I have, is posible to remove that slice
and create a new one?

  I don't have info there yet and is not a freebsd default slice, I know
that I need to umount first.

  I have been reading some post but all I have seen is that ins not possible
or I'm wrong?

  I try to with sysinstall looks like don't let me do this.

  Running FreeBSD 7.1-p2.

  Thanks all for your time!!!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Cannot install php5-gd!!!

2009-01-16 Thread perikillo
On Fri, Jan 16, 2009 at 12:14 AM, Manolis Kiagias sonic200...@gmail.comwrote:

 perikillo wrote:

  Hi people.

  I want to install some ports that depends this module php5-gd (phpmyadmin
 example), I update my ports every day, but I still  getting this error:

  bacula# pwd
 /usr/ports/graphics/php5-gd
 bacula# make install clean
 ===  php5-gd-5.2.8 has known vulnerabilities:
 = php5-gd -- uninitialized memory information disclosure vulnerability.
   Reference: 

 http://www.FreeBSD.org/ports/portaudit/58a3c266-db01-11dd-ae30-001cc0377035.html
  = Please update your ports tree and try again.
 *** Error code 1

 Stop in /usr/ports/graphics/php5-gd.
 *** Error code 1

 Stop in /usr/ports/graphics/php5-gd.

  I have been trying today, but no success, someone knows anything about
 this?

  FreeBSD 6.1-p21

  Thanks for your support!!!



 Well, it seems it suffers from an unpatched vulnerability.
 You can  still install it if you really want to, using stg like:

 make install clean -DDISABLE_VULNERABILITIES

 but whether it would be wise to do so, is definitely questionable.


   Thanks men.

   This is a internal server, will not be reachable from outside, but I need
some ports that need this package.

   Thanks for again for your advised, greetings!!!
___
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


Cannot install php5-gd!!!

2009-01-15 Thread perikillo
  Hi people.

  I want to install some ports that depends this module php5-gd (phpmyadmin
example), I update my ports every day, but I still  getting this error:

  bacula# pwd
/usr/ports/graphics/php5-gd
bacula# make install clean
===  php5-gd-5.2.8 has known vulnerabilities:
= php5-gd -- uninitialized memory information disclosure vulnerability.
   Reference: 
http://www.FreeBSD.org/ports/portaudit/58a3c266-db01-11dd-ae30-001cc0377035.html

= Please update your ports tree and try again.
*** Error code 1

Stop in /usr/ports/graphics/php5-gd.
*** Error code 1

Stop in /usr/ports/graphics/php5-gd.

  I have been trying today, but no success, someone knows anything about
this?

  FreeBSD 6.1-p21

  Thanks for your support!!!
___
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: Problems with portsdb -Uu on FreeBSD 6.3

2008-09-09 Thread perikillo
On Tue, Sep 9, 2008 at 6:13 AM, RW [EMAIL PROTECTED] wrote:

 On Mon, 8 Sep 2008 17:57:16 -0700
 perikillo [EMAIL PROTECTED] wrote:
  On Mon, Sep 8, 2008 at 5:26 PM, Michael Powell
  [EMAIL PROTECTED]wrote:
 
 Please don't top-post.
  
   Unless you have a specific overriding reason to do -Uu you might
   want to try -uF instead. It's what I use and it's always worked. In
   fact, this is what I do to see if I need an upgrade:
  
   csup -L 2 ports  portsdb -uF  pkgdb -u  portversion
  
   But since I have never used portsnap don't really know anything
   about it.
  
   -Mike
 I have been trying a lot of things, I want to start again, I think
  I just need to delete /usr/ports?
 
 Let me read again the manual and see those Flags.
 
 I remember that the first time u run portsdb the manuals recommend
  to sue Uu, but let read the manual page, I will back soon!!!


 portsdb -F and portsdb -U, both update the index file. The first
 downloads it, the second creates it from scratch (which is slow).
 Portsnap handles this automatically, so neither will be needed.

 The work done by portsdb -u will be done automatically when portupgrade
 is next run, but it may save a little time later.

 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]


   After finally realize that running portsdb -Uu each time I sync my ports
is not a good way, I will follow the Michael Powell tip. Thanks all for your
help, I still don't know why always appear the port apcupsd went this thing
crush.

   Thanks all for your great help!!!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Problems with portsdb -Uu on FreeBSD 6.3

2008-09-08 Thread perikillo
  Hi people.

   Well I have time locking for a solution for this problem I have, I have
googling around and have not found a solution, I have 2 serves running
FreeBSD 6.1/6.2, normally I update my ports tree each day, but I already
stop doing that because I still cannot fix the problems with the commmand:

portsdb -Uu, each time I run that command on both servers I receive this
error:

Updating the ports index ... Generating INDEX.tmp - please wait..Makefile,
line 56: Could not find bsd.port.options.mk
make: fatal errors encountered -- cannot continue
=== sysutils/apcupsd failed
*** Error code 1

I try to follow some sites solutions but no luck, I remove the port
portupgrade and install again but again no luck, download the Index file,
etc, etc, today I build a server, fresh install, update my ports with
portsnap, them run the portsdb
-Uu and again the same error.

This could not be the sync of the server and my files, because the last time
I try to sync my servers this was the same error I got today.

I don't know if this is  the only way we can have  our ports sync:

portsnap fetch  portsnap update  portsdb -Uu ?

  This is my normal commands I use to sync my ports,  maybe I am wrong
please confirm this if I'am wrong,  but  the  error appear  right in my
server, what could I do to fix this error?

  I have seen other people with the same error and no solution yet.

  sysutils/apcupsd failed

  Thanks all for your time!!!


FreeBSD 6.3-Release!!!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems with portsdb -Uu on FreeBSD 6.3

2008-09-08 Thread perikillo
http://www.freebsd.org/doc/en/books/handbook/portsnap.html

  I supposes that portsnap extract have to run just once, latter u have to
just run  portsnap fetch  portsnap update?

  Sean, u say that I better mix cvsup + portsnap?

  This is normal? This would not broke my tree?

   Right now I already run cvsup and is running portsdb -Uu, I will let u
know what happend, thanks!!!


On Mon, Sep 8, 2008 at 3:19 PM, Schiz0 [EMAIL PROTECTED] wrote:

 On Mon, Sep 8, 2008 at 6:12 PM, Sean Cavanaugh [EMAIL PROTECTED]
 wrote:
  --
  From: perikillo [EMAIL PROTECTED]
  Sent: Monday, September 08, 2008 5:41 PM
  To: FreeBSD Mailing List freebsd-questions@freebsd.org
  Subject: Problems with portsdb -Uu on FreeBSD 6.3
 
   Hi people.
 
   Well I have time locking for a solution for this problem I have, I have
  googling around and have not found a solution, I have 2 serves running
  FreeBSD 6.1/6.2, normally I update my ports tree each day, but I already
  stop doing that because I still cannot fix the problems with the
 commmand:
 
  portsdb -Uu, each time I run that command on both servers I receive this
  error:
 
  Updating the ports index ... Generating INDEX.tmp - please
  wait..Makefile,
  line 56: Could not find bsd.port.options.mk
  make: fatal errors encountered -- cannot continue
  === sysutils/apcupsd failed
  *** Error code 1
 
 
  CVSUP your tree to straighten it out. I noticed that portsnap will not
 fix
  damaged/missing files.

 Portsnap will if you do extract. It WONT if you do update.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems with portsdb -Uu on FreeBSD 6.3

2008-09-08 Thread perikillo
=# Install the BIND libs and include files
#
# To build sys/modules when building the world (our old way of doing things)
#MODULES_WITH_WORLD=# do not build modules when building kernel
#
# The list of modules to build instead of all of them.
#MODULES_OVERRIDE=  linux ipfw
#
# The list of modules to never build, applied *after* MODULES_OVERRIDE.
#WITHOUT_MODULES=   bktr plip
#
#
NO_MANCOMPRESS=
#PRINTERDEVICE= ps
BOOTWAIT=0
#   COM1: = 0x3F8, COM2: = 0x2F8, COM3: = 0x3E8, COM4: = 0x2E8
#BOOT_COMCONSOLE_PORT=  0x3F8
BOOT_COMCONSOLE_SPEED=  115200
#LOADER_TFTP_SUPPORT= YES
#ENABLE_SUID_K5SU=
#SUP_UPDATE=
#
#SUP=/usr/bin/csup
#SUPFLAGS=   -g -L 2
#SUPHOST=cvsup.uk.FreeBSD.org
#SUPFILE=/usr/share/examples/cvsup/standard-supfile
#PORTSSUPFILE=   /usr/share/examples/cvsup/ports-supfile
#DOCSUPFILE= /usr/share/examples/cvsup/doc-supfile
#TOP_TABLE_SIZE= 101
DOC_LANG=   en_US.ISO8859-1
#SENDMAIL_MC=/etc/mail/myconfig.mc
#SENDMAIL_SUBMIT_MC=/etc/mail/mysubmit.mc
#SENDMAIL_ADDITIONAL_MC=/etc/mail/foo.mc /etc/mail/bar.mc
#SENDMAIL_CF_DIR=/usr/local/share/sendmail/cf
#SENDMAIL_M4_FLAGS=
#with SASLv1:
#   SENDMAIL_CFLAGS=-I/usr/local/include/sasl1 -DSASL
#   SENDMAIL_LDFLAGS=-L/usr/local/lib
#   SENDMAIL_LDADD=-lsasl
#
#with SASLv2:
#   SENDMAIL_CFLAGS=-I/usr/local/include -DSASL=2
#   SENDMAIL_LDFLAGS=-L/usr/local/lib
#   SENDMAIL_LDADD=-lsasl2
#SENDMAIL_CFLAGS=
#SENDMAIL_LDFLAGS=
#SENDMAIL_LDADD=
#SENDMAIL_DPADD=
#SENDMAIL_SET_USER_ID=
#SENDMAIL_MAP_PERMS=
NO_WPA_SUPPLICANT_EAPOL=true
# added by use.perl 2008-09-06 19:36:04
PERL_VER=5.8.8
PERL_VERSION=5.8.8

This could be a bug or what?

 What else I could do?

  Thanks for your support!!!

On Mon, Sep 8, 2008 at 4:43 PM, Sean Cavanaugh [EMAIL PROTECTED]wrote:

 --
 From: perikillo [EMAIL PROTECTED]
 Sent: Monday, September 08, 2008 7:25 PM
 To: FreeBSD Mailing List freebsd-questions@freebsd.org
 Subject: Re: Problems with portsdb -Uu on FreeBSD 6.3

  http://www.freebsd.org/doc/en/books/handbook/portsnap.html

  I supposes that portsnap extract have to run just once, latter u have
 to
 just run  portsnap fetch  portsnap update?

  Sean, u say that I better mix cvsup + portsnap?

  This is normal? This would not broke my tree?

  Right now I already run cvsup and is running portsdb -Uu, I will let u
 know what happend, thanks!!!


 I've never fully trusted portsnap. I do run portsnap fetch before every
 portupgrade but I always follow it up with CVSUP and I usually find some
 more files that get changed anyway.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems with portsdb -Uu on FreeBSD 6.3

2008-09-08 Thread perikillo
   I have been trying a lot of things, I want to start again, I think I just
need to delete /usr/ports?

   Let me read again the manual and see those Flags.

   I remember that the first time u run portsdb the manuals recommend to sue
Uu, but let read the manual page, I will back soon!!!

   Thanks all for your support!!!

On Mon, Sep 8, 2008 at 5:26 PM, Michael Powell [EMAIL PROTECTED]wrote:

 perikillo wrote:

  http://www.freebsd.org/doc/en/books/handbook/portsnap.html
 
I supposes that portsnap extract have to run just once, latter u have
to
  just run  portsnap fetch  portsnap update?
 
Sean, u say that I better mix cvsup + portsnap?
 
This is normal? This would not broke my tree?
 
 Right now I already run cvsup and is running portsdb -Uu, I will let u
  know what happend, thanks!!!
 [snip]

 Unless you have a specific overriding reason to do -Uu you might want to
 try -uF instead. It's what I use and it's always worked. In fact, this is
 what I do to see if I need an upgrade:

 csup -L 2 ports  portsdb -uF  pkgdb -u  portversion

 But since I have never used portsnap don't really know anything about it.

 -Mike



 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Looking for this special software?

2008-08-16 Thread perikillo
Hi people.

I want to know, what came of software could help with this problem:

My boss need a software for the company, where everyone could put
reports(xls, word, pdf), change information, with user rights, put meetings,
and just with a browser everyone could access the company information.

I was reading a magazine and they where speaking about
www.centraldesktop.com, I read what we can do with that peace of software
and looks like is what I'm locking for.

Exist something similar in the opensource?

Or what software could help me?

Thanks for your time people!!!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Looking for this special software?

2008-08-16 Thread perikillo
On Sat, Aug 16, 2008 at 10:12 AM, Chuck Swiger [EMAIL PROTECTED] wrote:

 On Aug 16, 2008, at 9:22 AM, perikillo wrote:

 My boss need a software for the company, where everyone could put
 reports(xls, word, pdf), change information, with user rights, put
 meetings,
 and just with a browser everyone could access the company information.

 I was reading a magazine and they where speaking about
 www.centraldesktop.com, I read what we can do with that peace of software
 and looks like is what I'm locking for.


 Right, well, CentralDesktop is considered a Wiki plus some support for
 calandering and so forth; there are plenty of other Wiki implementations out
 there with similar features, give or take, and many are available as open
 source for free:

  http://en.wikipedia.org/wiki/Comparison_of_wiki_software

 I've used TWiki (http://twiki.org/) with decent success at some large
 companies...

 Regards,
 --
 -Chuck


  Thanks Chuck for your quick info, I will try.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: RES: RES: Very Slow Samba

2008-08-15 Thread perikillo
On Fri, Aug 15, 2008 at 11:07 AM, Michael Powell [EMAIL PROTECTED]wrote:

 Mauro Ribeiro - Class Consultoria e Assessoria wrote:

  Hi Derek,
 
  I didn't have any Intel boards here for spare, but i Found a HP
  PCI-Express 1x Giga Ethernet here.
 
  It's a broadcom chipset, I did replace the card but still with the same
  problem. I also did a very deep research in google and found more people
  with the same problem and everyone of them without a solution.
 
  I guess that it's a issue between Samba and FreeBSD. I do say that 'cuz
 on
  Linux+Samba (Debian Kernel+Samba.deb) this issue does not appear.
 
  Anyway, If you have another idea.
 
 [snip]

 Yes - don't use the Realtek. They are OK for low end things like home ADSL,
 but when stressed will generally only give you about half the throughput of
 a real NIC.

 Don't know if this will help, but I believe the default buffer sizes to be
 way too small. This, for example purposes, from my smb.conf:

 max xmit = 65535
 socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=65535 SO_RCVBUF=65535

 This was also in conjunction with some tuning in /etc/sysctl.conf. If the
 above changes the behavior, you might also look at some tuning numbers like
 below and see if adjusting them helps. YMMV.

 kern.ipc.maxsockbuf=2097152
 kern.ipc.nmbclusters=32768
 kern.ipc.somaxconn=4096
 kern.ipc.shmmax=67108864
 kern.ipc.shmall=32768

 These should only be used as food for thought examples. What values may
 be
 of benefit to you will most likely be specific to your situation.

 Also I have/use:use sendfile = Yes

 I have never had Samba perform exactly the same as Windows Server 2003, it
 has always been just a tad slower. One thing to figure out though, is if it
 is disk limited, network limited, or some combination of both. IF the disk
 subsystem is just way too slow it won't matter what you fiddle with in
 network land. You may find what you really need is a faster disk subsystem.

 -Mike


 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]



I thing i would u is first disable the debug level, u are a developer???

syslog = 0
log level = 3

remove the debug option.

See u.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Support for SCSI Card LSI LSI20160?

2008-04-30 Thread perikillo
  I have a scsi card from LSI, the model is LSI20160, some knows if this is
support on FreeBSD 6.x or FreeBSD 7.0?

  I have been googling but i didn't anything related.

  Thanks!!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Firewalls

2008-04-29 Thread perikillo
On Mon, Apr 28, 2008 at 12:50 PM, Bruce Cran [EMAIL PROTECTED] wrote:

 Doug Hardie wrote:

  FreeBSD supports 3 firewalls:  IPF, IPFW, and PF.  Some time ago
  (perhaps years) I seem to recall some discussion that one or more of those
  was better maintained and higher quality than the others.  I don't see any
  indications of this in the handbook.  Several years ago I needed to do
  traffic shaping and used IPFW with dummynet.  It worked but the need
  eventually went away.  More recently I needed to incorporate spamd which
  defaults to PF so I used that.  However, now I am back to needing traffic
  shaping again.  I suspect trying to use both PF and IPFW simultaneously will
  not be a good approach.  In addition, there now are instructions for using
  spamd with IPFW so it appears that either PF or IPFW will do what I need.
   Is there any additional information available to assist in selecting
  between those?  Thanks.
 

 As I understand it pf is often found to be easiest to use and has lots of
 features like altq and os fingerprinting but is quite a bit slower than
 ipfw.

 --
 Bruce

 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
 [EMAIL PROTECTED]


 Reading this post, i have some doubt, how is IPFW support for VoIP packets,
can do traffic shaping?, i read that PF can do that, I'm right?

 Thanks!!!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


How to recover a tape device?

2008-04-04 Thread perikillo
Hi people.

 I have 1 tape device attached to a FreeBSD 6.2-Release box for
bacula, sometimes i lost the connection with the device, doesn't
answer me, this happend not to often, but nothing is perfect, my doubt
is:
Once my console say:

Apr  4 12:25:46 bacula kernel:  Dump Card State Ends

Apr  4 12:25:46 bacula kernel: (sa0:ahc0:0:3:0): SCB 0x10 - timed out
Apr  4 12:25:46 bacula kernel: (sa0:ahc0:0:3:0): no longer in timeout,
status = 24b
Apr  4 12:25:46 bacula kernel: ahc0: target 3 using 8bit transfers
Apr  4 12:25:46 bacula kernel: ahc0: target 3 using asynchronous transfers
Apr  4 12:25:46 bacula kernel: ahc0: Issued Channel A Bus Reset. 1 SCBs aborted
Apr  4 12:25:46 bacula kernel: (sa0:ahc0:0:3:0): Command timed out
Apr  4 12:25:46 bacula kernel: (sa0:ahc0:0:3:0): error 5
Apr  4 12:25:46 bacula kernel: (sa0:ahc0:0:3:0): Retries Exausted
Apr  4 12:25:46 bacula kernel: (sa0:ahc0:0:3:0): tape is now frozen-
use an OFFLINE, REWIND or MTEOM command to clear this state.
Apr  4 12:25:46 bacula kernel: ahc0: Timedout SCBs already complete.
Interrupts may not be functioning.

What is the procedure to bring my device back? camcontrol or mt
command and what flags a have to use to return the control to my
hands?

Device Ultruim-1 HP Storageworks 232, thanks for your time.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: LDAP user authentication?

2008-03-05 Thread perikillo
  Hi Jon.

  Look i'm in your situation, searching for documents about this
authentication stuff, i have follow this threat, i just want to know
if u already have done this and what was your results.

  Thanks!!!

On Sun, Feb 17, 2008 at 4:49 PM, Jonathan Chen [EMAIL PROTECTED] wrote:
 On Sun, Feb 17, 2008 at 05:45:33PM -0500, Darek M. wrote:
   Jon Theil Nielsen wrote:
   I have googled for a very long time, but I haven't found any useful
   howto on this issue. Well, there is
   
 http://www.cultdeadsheep.org/FreeBSD/docs/Quick_and_dirty_FreeBSD_5_x_and_nss_ldap_mini-HOWTO.html
   but that seems to be a bit confusing an not up-to-date. I guess it
   _should_ be possible - and indeed very useful (especially combinde
   with Samba PDC and an easily maintainlable mail server). So please, if
   you have any experiences or knowledge of a useful description..!
   
   Regards,
   Jon Theil Nielsen
  
   At the risk of a thread-jack...
  
   how are home directories handled?  Will 'user' have a home dir on the
   local system?  I suppose once LDAP is set up properly, you can then
   create the home dir, then chown it 'user', with 'user' not being a local
   user and not in passwd/master.passwd files.  So when you chown/chgrp,
   those commands go through pam/nss/ldap to retrieve the proper id and
   name from the LDAP server?

  There's security/pam_mkhomedir, which should do what you want.


  Cheers.
  --
  Jonathan Chen [EMAIL PROTECTED]
  
  We laugh in the face of danger, we drop icecubes down the vest of fear
  - Edmond Blackadder III


 ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to [EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Problems with my tape drive.

2007-12-03 Thread perikillo
 I have been working with this tapa drive: HP StorageWorks Ultrium 232
Tape Drive With FreeBSD 6.1-p16 and my scsi card is:

aic7892: Ultra160 Wide Channel A, SCSI Id=6, 32/253 SCBs

 I have running bacula since 1.38.10 with this tape drive, the i
update to 1.38.11 not to many changes, more than a year without any
problem. Them some months ago i upgrade to bacula 2.2.5, big changes
from 1.38.X to 2.2.X.

  Well 2 months ago i start receiving this error in my console:

(ahc0:A:3:0): Sending PPR bus_width 1, period 9, offset 40, ppr_options 2
(ahc0:A:3:0): Received PPR width 1, period 9, offset 40,options 2
Filtered to width 1, period 9, offset 40, options 2
ahc0: Recovery Initiated
 Dump Card State Begins 
ahc0: Dumping Card State while idle, at SEQADDR 0x8
Card was paused
ACCUM = 0x4, SINDEX = 0x36, DINDEX = 0x24, ARG_2 = 0x0
HCNT = 0x0 SCBPTR = 0x0
SCSIPHASE[0x0] SCSISIGI[0x0] ERROR[0x0] SCSIBUSL[0x0]
LASTPHASE[0x1]:(P_BUSFREE) SCSISEQ[0x12]:(ENAUTOATNP|ENRSELI)
SBLKCTL[0xa]:(SELWIDE|SELBUSB) SCSIRATE[0x0] SEQCTL[0x10]:(FASTMODE)
SEQ_FLAGS[0xc0]:(NO_CDB_SENT|NOT_IDENTIFIED) SSTAT0[0x0]
SSTAT1[0x0] SSTAT2[0x0] SSTAT3[0x0] SIMODE0[0x8]:(ENSWRAP)
SIMODE1[0xa4]:(ENSCSIPERR|ENSCSIRST|ENSELTIMO) SXFRCTL0[0x80]:(DFON)
DFCNTRL[0x0] DFSTATUS[0x89]:(FIFOEMP|HDONE|PRELOAD_AVAIL)
STACK: 0x0 0x164 0x179 0x3
SCB count = 20
Kernel NEXTQSCB = 14
Card NEXTQSCB = 14
QINFIFO entries:
Waiting Queue entries:
Disconnected Queue entries: 0:2
QOUTFIFO entries:
Sequencer Free SCB List: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
19 20 21 22 23 24 25 26 27 28 29 30 31
Sequencer SCB Info:
  0 SCB_CONTROL[0x44]:(DISCONNECTED|DISCENB) SCB_SCSIID[0x36]
SCB_LUN[0x0] SCB_TAG[0x2]
  1 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
  2 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
  3 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
  4 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
  5 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
  6 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
  7 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
  8 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
  9 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
 10 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
 11 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
 12 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
 13 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
 14 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
 15 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
 16 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
 17 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
 18 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
 19 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
 20 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
 21 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
 22 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
 23 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
 24 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
 25 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
 26 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
 27 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
 28 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
 29 SCB_CONTROL[0x0] SCB_SCSIID[0xff]:(TWIN_CHNLB|OID|TWIN_TID)
SCB_LUN[0xff]:(SCB_XFERLEN_ODD|LID) SCB_TAG[0xff]
 30 

FreeBSD + PHP + Barcode scanners for Web Application?

2007-08-19 Thread perikillo
  Hi people.

   Look we have some applications at work, that use scanners Manufacture by
Symbol. Those applications were created in Access, but i want to create
those app for a Web browser, my doubt is:

   Does someone here has a app running from the browser that use bar code
scanners?
   Which languages did u use, python, php, other?
   Did u have problems with fonts?

   Does some know something about this?

   I still didn't see any app that runs in the browser that use bar code
scanners, hope someone here give some light.

   This web app will be for FreeBSD 6.2 server, but i want to use the most
used browsers like Firefox or Iexplorer but i don't want to depend just from
Microsoft Windows + Office in my clients, i will like to use a browser on
any OS to run my app.

   Thanks all for your time, greetings!!!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [freebsd-questions] FreeBSD + PHP + Barcode scanners for Web Application?

2007-08-19 Thread perikillo
   Hi Howard.

   Does u have some app like the one i want to?
   Could u explain me which software did u use to develop your app i will
apreciate.

   Thanks Howard for your time!!!

On 8/19/07, Howard Jones [EMAIL PROTECTED] wrote:

 perikillo wrote:
Hi people.
 
 Look we have some applications at work, that use scanners Manufacture
 by
  Symbol. Those applications were created in Access, but i want to create
  those app for a Web browser, my doubt is:
 
 Does someone here has a app running from the browser that use bar
 code
  scanners?
 Which languages did u use, python, php, other?
 
 A lot of barcode scanners work by generating keycodes (either connected
 via an adaptor to the PS/2 connector, or USB) so they should work in
 anything really... the one we have at work certainly will just write
 into Notepad or whatever has keyboard focus when you hit the scanner's
 Go button.
 Did u have problems with fonts?
 
 Huh? For reading barcodes?

 For printing them (or displaying in a webpage), there are a bunch of
 libraries around that generate images, a quick Google showed up:

for PHP: http://www.phpclasses.org/browse/package/2176.html
for command-line (anything):
 http://ar.linux.it/software/barcode/barcode.html

 Have fun!

 Howie

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Problems installing asterisk-addons over FreeBSD 6.2?

2007-06-05 Thread perikillo

 Hi people.

  Im trying to setup my first PBX system with asterisk from ports, my ports
are updated, i install asterisk 1.4.4, gastaman, zaptel driver, but went i
try to install asterisk-addons i receive this error:

asteriskbsd# make install clean
===  Vulnerability check disabled, database not found
===  Extracting for asterisk-addons-1.2.3_1
= MD5 Checksum OK for asterisk-addons-1.2.3.tar.gz.
= SHA256 Checksum OK for asterisk-addons-1.2.3.tar.gz.
===  Patching for asterisk-addons-1.2.3_1
===  Applying FreeBSD patches for asterisk-addons-1.2.3_1
===   asterisk-addons-1.2.3_1 depends on executable in : asterisk - found
===   asterisk-addons-1.2.3_1 depends on executable in : gmake - found
===   asterisk-addons-1.2.3_1 depends on shared library: mysqlclient.15 -
found
===  Configuring for asterisk-addons-1.2.3_1
===  Building for asterisk-addons-1.2.3_1
./mkdep -O -pipe -march=pentium4 -fPIC -I/usr/local/include -D_GNU_SOURCE
-I/usr/local/include/mysql  `ls *.c`
gmake -C format_mp3 all
gmake[1]: Entering directory `/usr/ports/net/asterisk-addons/work/asterisk-
addons-1.2.3/format_mp3'
gcc -pipe -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations  -I/usr/local/include -D_REENTRANT -D_GNU_SOURCE
-D_THREAD_SAFE  -O6-c -o common.o common.c
gcc -pipe -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations  -I/usr/local/include -D_REENTRANT -D_GNU_SOURCE
-D_THREAD_SAFE  -O6-c -o dct64_i386.o dct64_i386.c
gcc -pipe -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations  -I/usr/local/include -D_REENTRANT -D_GNU_SOURCE
-D_THREAD_SAFE  -O6-c -o decode_ntom.o decode_ntom.c
gcc -pipe -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations  -I/usr/local/include -D_REENTRANT -D_GNU_SOURCE
-D_THREAD_SAFE  -O6-c -o layer3.o layer3.c
gcc -pipe -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations  -I/usr/local/include -D_REENTRANT -D_GNU_SOURCE
-D_THREAD_SAFE  -O6-c -o tabinit.o tabinit.c
gcc -pipe -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations  -I/usr/local/include -D_REENTRANT -D_GNU_SOURCE
-D_THREAD_SAFE  -O6-c -o interface.o interface.c
gcc -pipe -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-declarations  -I/usr/local/include -D_REENTRANT -D_GNU_SOURCE
-D_THREAD_SAFE  -O6-c -o format_mp3.o format_mp3.c
format_mp3.c:46: error: redefinition of `struct ast_filestream'
format_mp3.c:325: warning: function declaration isn't a prototype
format_mp3.c:336:25: macro ast_format_register passed 12 arguments, but
takes just 1
format_mp3.c: In function `load_module':
format_mp3.c:327: error: `ast_format_register' undeclared (first use in this
function)
format_mp3.c:327: error: (Each undeclared identifier is reported only once
format_mp3.c:327: error: for each function it appears in.)
format_mp3.c: At top level:
format_mp3.c:342: warning: function declaration isn't a prototype
format_mp3.c:347: warning: function declaration isn't a prototype
format_mp3.c:359: warning: function declaration isn't a prototype
format_mp3.c:365: warning: function declaration isn't a prototype
format_mp3.c:76: warning: 'exts' defined but not used
format_mp3.c:107: warning: 'mp3_open' defined but not used
format_mp3.c:135: warning: 'mp3_close' defined but not used
format_mp3.c:219: warning: 'mp3_read' defined but not used
format_mp3.c:267: warning: 'mp3_write' defined but not used
format_mp3.c:275: warning: 'mp3_seek' defined but not used
format_mp3.c:302: warning: 'mp3_rewrite' defined but not used
format_mp3.c:308: warning: 'mp3_trunc' defined but not used
format_mp3.c:315: warning: 'mp3_tell' defined but not used
format_mp3.c:320: warning: 'mp3_getcomment' defined but not used
gmake[1]: *** [format_mp3.o] Error 1
gmake[1]: Leaving directory `/usr/ports/net/asterisk-addons/work/asterisk-
addons-1.2.3/format_mp3'
gmake: *** [format_mp3/format_mp3.so] Error 2
*** Error code 2

 I want to test FreePBX to, but i need this port.

 Some knows how to fix this error?

 Thanks all for your time!!!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems installing asterisk-addons over FreeBSD 6.2?

2007-06-05 Thread perikillo

On 6/5/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:


On Tue, 5 Jun 2007, perikillo wrote:

 Hi people.

  Im trying to setup my first PBX system with asterisk from ports, my
ports
 are updated, i install asterisk 1.4.4, gastaman, zaptel driver, but went
i
 try to install asterisk-addons i receive this error:

 asteriskbsd# make install clean
 ===  Vulnerability check disabled, database not found
 ===  Extracting for asterisk-addons-1.2.3_1
 = MD5 Checksum OK for asterisk-addons-1.2.3.tar.gz.
 = SHA256 Checksum OK for asterisk-addons-1.2.3.tar.gz.
 ===  Patching for asterisk-addons-1.2.3_1
 ===  Applying FreeBSD patches for asterisk-addons-1.2.3_1
 ===   asterisk-addons-1.2.3_1 depends on executable in : asterisk -
found
 ===   asterisk-addons-1.2.3_1 depends on executable in : gmake - found
 ===   asterisk-addons-1.2.3_1 depends on shared library: mysqlclient.15-
 found
 ===  Configuring for asterisk-addons-1.2.3_1
 ===  Building for asterisk-addons-1.2.3_1
 ./mkdep -O -pipe -march=pentium4 -fPIC -I/usr/local/include
-D_GNU_SOURCE
 -I/usr/local/include/mysql  `ls *.c`
 gmake -C format_mp3 all
 gmake[1]: Entering directory
`/usr/ports/net/asterisk-addons/work/asterisk-
 addons-1.2.3/format_mp3'
 gcc -pipe -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes
 -Wmissing-declarations  -I/usr/local/include -D_REENTRANT -D_GNU_SOURCE
 -D_THREAD_SAFE  -O6-c -o common.o common.c
 gcc -pipe -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes
 -Wmissing-declarations  -I/usr/local/include -D_REENTRANT -D_GNU_SOURCE
 -D_THREAD_SAFE  -O6-c -o dct64_i386.o dct64_i386.c
 gcc -pipe -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes
 -Wmissing-declarations  -I/usr/local/include -D_REENTRANT -D_GNU_SOURCE
 -D_THREAD_SAFE  -O6-c -o decode_ntom.o decode_ntom.c
 gcc -pipe -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes
 -Wmissing-declarations  -I/usr/local/include -D_REENTRANT -D_GNU_SOURCE
 -D_THREAD_SAFE  -O6-c -o layer3.o layer3.c
 gcc -pipe -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes
 -Wmissing-declarations  -I/usr/local/include -D_REENTRANT -D_GNU_SOURCE
 -D_THREAD_SAFE  -O6-c -o tabinit.o tabinit.c
 gcc -pipe -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes
 -Wmissing-declarations  -I/usr/local/include -D_REENTRANT -D_GNU_SOURCE
 -D_THREAD_SAFE  -O6-c -o interface.o interface.c
 gcc -pipe -fPIC -Wall -Wstrict-prototypes -Wmissing-prototypes
 -Wmissing-declarations  -I/usr/local/include -D_REENTRANT -D_GNU_SOURCE
 -D_THREAD_SAFE  -O6-c -o format_mp3.o format_mp3.c
 format_mp3.c:46: error: redefinition of `struct ast_filestream'
 format_mp3.c:325: warning: function declaration isn't a prototype
 format_mp3.c:336:25: macro ast_format_register passed 12 arguments,
but
 takes just 1
 format_mp3.c: In function `load_module':
 format_mp3.c:327: error: `ast_format_register' undeclared (first use in
this
 function)
 format_mp3.c:327: error: (Each undeclared identifier is reported only
once
 format_mp3.c:327: error: for each function it appears in.)
 format_mp3.c: At top level:
 format_mp3.c:342: warning: function declaration isn't a prototype
 format_mp3.c:347: warning: function declaration isn't a prototype
 format_mp3.c:359: warning: function declaration isn't a prototype
 format_mp3.c:365: warning: function declaration isn't a prototype
 format_mp3.c:76: warning: 'exts' defined but not used
 format_mp3.c:107: warning: 'mp3_open' defined but not used
 format_mp3.c:135: warning: 'mp3_close' defined but not used
 format_mp3.c:219: warning: 'mp3_read' defined but not used
 format_mp3.c:267: warning: 'mp3_write' defined but not used
 format_mp3.c:275: warning: 'mp3_seek' defined but not used
 format_mp3.c:302: warning: 'mp3_rewrite' defined but not used
 format_mp3.c:308: warning: 'mp3_trunc' defined but not used
 format_mp3.c:315: warning: 'mp3_tell' defined but not used
 format_mp3.c:320: warning: 'mp3_getcomment' defined but not used
 gmake[1]: *** [format_mp3.o] Error 1
 gmake[1]: Leaving directory
`/usr/ports/net/asterisk-addons/work/asterisk-
 addons-1.2.3/format_mp3'
 gmake: *** [format_mp3/format_mp3.so] Error 2
 *** Error code 2

 I want to test FreePBX to, but i need this port.

 Some knows how to fix this error?

 Thanks all for your time!!!

You should talk to the port maintainer about this.

-Garrett





Thanks Garret!!!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: how many data can i write to my tape, how to tested?

2007-06-03 Thread perikillo

On 6/2/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:


On 28/05/07, perikillo [EMAIL PROTECTED] wrote:
I'm running bacula 1.38.11 with one tape storage-works 232 200Gb.
. . .
   Them, he says that my tape is full, but calculating all clients, is
 about 181GB, them why hi say that my tape is full?

For raw capacity multiply the advertised number
by 0.5.
As we get more and more precompressed data
(think ogg, png, mp3) those sunny marketing
numbers will mean less and less.

--
--





Thanks guys, i understand your point. I was thinking wrong about my tape.
Now i need to clean my servers.

 Thanks!!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


how many data can i write to my tape, how to tested?

2007-05-28 Thread perikillo

  Hi people.

  I'm running bacula 1.38.11 with one tape storage-works 232 200Gb. But i
start to get some errors about Tape Full like this:

28-May 04:30 bacula-dir: Start Backup JobId 1409,
Job=MBXDBA-FD.2007-05-28_04.30.00
28-May 06:18 bacula-sd: End of Volume FullTape-0009 at 184:1 on
device StorageWorks-232 (/dev/nsa0). Write of 64512 bytes got 0.
28-May 06:18 bacula-sd: End of medium on Volume FullTape-0009
Bytes=177,755,370,128 Blocks=2,755,390 at 28-May-2007 06:18.
28-May 06:19 bacula-dir: There are no Jobs associated with Volume
FullTape-0010. Marking it purged.
28-May 06:19 bacula-dir: Recycled volume FullTape-0010

28-May 08:07 bacula-sd: MBXDBA-FD.2007-05-28_04.30.00 Fatal error:
append.c:207 Fatal append error on device StorageWorks-232
(/dev/nsa0): ERR=label.c:733 Expecting Volume Label, got FI=0 Stream=0
len=64412

28-May 08:07 bacula-sd: MBXDBA-FD.2007-05-28_04.30.00 Fatal error:
askdir.c:291 NULL Volume name. This shouldn't happen!!!
28-May 08:11 MBXDBA-FD: MBXDBA-FD.2007-05-28_04.30.00 Fatal error:
backup.c:500 Network send error to SD. ERR=Broken pipe
28-May 08:07 bacula-dir: MBXDBA-FD.2007-05-28_04.30.00 Error: Bacula
1.38.11 (28Jun06): 28-May-2007 08:07:31
 JobId:  1409
 Job:MBXDBA-FD.2007-05-28_04.30.00
 Backup Level:   Full
 Client: MBXDBA i686-redhat-linux-gnu,redhat,
 FileSet:MBXDBA-FS 2007-02-20 15:40:01
 Pool:   MueblexFullTape
 Storage:LTO-1
 Scheduled time: 28-May-2007 04:30:00
 Start time: 28-May-2007 04:30:05
 End time:   28-May-2007 08:07:31
 Elapsed time:   3 hours 37 mins 26 secs
 Priority:   15
 FD Files Written:   73,128
 SD Files Written:   73,128
 FD Bytes Written:   66,939,362,451 (66.93 GB)
 SD Bytes Written:   66,949,907,557 (66.94 GB)
 Rate:   5131.0 KB/s
 Software Compression:   None
 Volume name(s): FullTape-0009
 Volume Session Id:  39
 Volume Session Time:1179787421
 Last Volume Bytes:  1 (1 B)
 Non-fatal FD errors:0
 SD Errors:  0
 FD termination status:  Error
 SD termination status:  Error
 Termination:*** Backup Error ***


 Them, he says that my tape is full, but calculating all clients, is
about 181GB, them why hi say that my tape is full?

 This is the reason i want to test my tape first, to see if the
problem is freebsd or bacula. Hope you could point how to fill my tape
with freebsd and see how much data can i write to my tape.

  Thanks all for your time!!!


 P.S. FreeBSD 6.1-p16
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Pure-ftpd with Mysql, where is the database?

2007-02-14 Thread perikillo

  Hi people.

  I'm testing pure-ftpd from FreeBSD 6.2, i want to test with MySQL
4.1which already is running, i read the docs from the site but didn't
see
anything about  how pure-ftp  authenticated users from Mysql. My both
servers are running but, where is the PureFTPD database inf MySQL?

 Reading some linux manuals a see that they created the database manually,
is the same process? or we have already some database?

 Thanks all for your time!!!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: VPN Solution for my current Situation.

2006-12-11 Thread perikillo

On 12/11/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:


Hi

Selon Nathan Vidican [EMAIL PROTECTED]:

 perikillo wrote:
   Hi people.
 
   I want to know which is the best VPN solution i need to my current
  situation:
 
  2 Offices  1 Mexico-Tijuana 1 E.U.-Otay Mesa(both in the border).
 
  In E.U. Offices with have:
 
  DNS+Firewall+Proxy  Linux
  Mail Server Linux
  Samba Linux
  PBX Altigen Win NT
  ERP DBA Linux
  Backup FreeBSD.
 
  Mexico
  PBX Same system
  Samba
  ERP DBA(This is the busies from both sites)
  Backup FreeBSD
 
  65 User 55 Mexico 10 E.U.
40 user in Mexico have mail account  only 15 Internet access
all the users in E.U have mail account  Internet access.
 
  We share files, E.U. users access the ERP system in Mexico.
 
  If the users in Mexico need Internet, they have to reach the proxy in
  E.U.
 
  Both PBX systems have communication for company internal calls,
external
  calls.
 
  All this communication of Voice and Data goes over one private link,
but
  next year our contract is going to finish, them we need to negotiate
the
  next contract.
 
  Another thing, is that we are planning to start the VoIP solution and
  see is
  we can remove our current PBX system with Asterisk.
 
  My  questions es this: Supposed that we continue with the same Private
  Line,
  and we add another public line to do some VPN between both facilities
  if one
  link fail the other can continue(backup) or have both sharing the
  workload,
  with this workload which VPN solution is the best for my situation:
 
  IPsec, OpenVPN, etc?
 
  Speaking of FreeBSD, because there is where i want to deploy the VPN
  solution in Mexico, in E.U. we have there Linux, this can be
problematic?
 
  Hope you understand my layout  english, any advice is welcome,
  thanks all
  for your time!!!
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]
 
 
 mpd for FreeBSD... it just works.

The choice is up to you - We also use OpenVPN for site-to-site VPN SSL
tunnels
and it is also a good and easy solution. Authentication is based on X509
certificates for cross-authentication - With OpenVPN's multiple and
fine-grained options.

We have good performance with strong encryption options.

The protocol (UDP) encapsulation is also a nice feature.

The Linux-FreeBSD is not a problem at all.



 --
 Nathan Vidican
 [EMAIL PROTECTED]
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to 
[EMAIL PROTECTED]


Philippe Laquet.



  I see that OpenVPN is the first choice, i will try this port first 
latter continue with other ones.

  Thanks all for your answer.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Question about gmirror?

2006-12-11 Thread perikillo

 Hi people.

 I have one system running FreeBSD 6.1-p11 i have there a Raid-1 setup with
gmirror, is working very good  stable, but i need to add another space not
for the raid, is for the applicaction im running there like a temporal
buffer, my doubt is:

Can i add another disk to the system apart from the Raid?

 Example:
Raid-1 -- ad0 + ad2 (/, /usr, /var, /tmp, /home, swap)
extra disk --ad3 (/buffer)

 I have this doubt only.

 Thanks all for your time.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Cannot use my External DVD Writer

2006-12-10 Thread perikillo

 Hi people.

 I still cannot use my external writer Sony DRX-820U, went some GUI
aplicaction wants to do something my console start to cry:

umass0: Unsupported ATAPI command 0x46
umass0: Unsupported ATAPI command 0x46
umass0: Unsupported ATAPI command 0x46
umass0: Unsupported ATAPI command 0x46
umass0: Unsupported ATAPI command 0x46
umass0: Unsupported ATAPI command 0x46
umass0: Unsupported ATAPI command 0x46
umass0: Unsupported ATAPI command 0xb9

 I have my device created /dev/cd0, pass0, etc.

 If i test dvd+rw-mediainfo /dev/cd1

 bsblaptop# dvd+rw-mediainfo /dev/cd1

INQUIRY:[SONY][DVD RW DRU-820A ][2.0c]

:-( unable to GET CONFIGURATION: Input/output error

Input/output error


 Some one knows whats is the meaning of this message?

 Is the device very  newt for FreeBSD 6.1?

I had read the handbook and enable everything i need to handle external
device, i can work with external HD, Digital Cameras, Ipod's, but i cannot
work with this device.

Thanks all for your time.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


MPD vs Freebsd Internal PPPoE support?

2006-11-30 Thread perikillo

 Hi people.

 I have been using pfsense, i see that they use mpd port to handle PPPoE
connections.

 Now, my current internet service is ADSL, my doubt is:

 Right now, is better to use freebsd internal PPPoE module or we got better
support with mpd port?

 In your experienced.

 Just that, thanks all for your time!!!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: MPD vs Freebsd Internal PPPoE support?

2006-11-30 Thread perikillo

On 11/30/06, Andrew Pantyukhin [EMAIL PROTECTED] wrote:


On 11/30/06, perikillo [EMAIL PROTECTED] wrote:
   Now, my current internet service is ADSL, my doubt is:

   Right now, is better to use freebsd internal PPPoE module
 or we got better support with mpd port?

Coincidentally, mpd uses FreeBSD's internal PPPoE
netgraph module. Both ppp(8) (which in 7.x also seems
to use ng_pppoe, and I don't remember if it does in
6.x) and mpd do a great job. You can try whichever
you want to learn better, and their configs are
somewhat alike.

Good luck!




I will try that port, thanks Andrew !!!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 6.2: ULE vs 4BSD

2006-11-26 Thread perikillo

On 11/26/06, Andrew Pantyukhin [EMAIL PROTECTED] wrote:


On 11/26/06, John Smith [EMAIL PROTECTED] wrote:
 On 11/26/06, Andrew Pantyukhin [EMAIL PROTECTED] wrote:
  On 11/26/06, John Smith [EMAIL PROTECTED] wrote:
   Hello,
  
   What shall I use as a scheduler on it? 4BSD or ULE?
 
  The general consensus is you should not touch ULE unless
  you're a developer willing to fix some outstanding issues and
  maybe take active maintainership of it.
 
  You can try it just for the fun of it, but your problem reports
  will be met by a grinning we told you so.
 

 Thank you Andrew,

 I'm asking because I downloaded PC-BSD 1.3 Beta which is based on
 FreeBSD 6.1 and the default in kernel is ULE, so I wanted to make
 sure.

That's strange. I've used ULE for months on many boxes, but
much as I like it, I have to admit there are serious problems
with it. There are different reports, but it's clear you can't use
it in production environments. It might be okay to run it on your
{desk,lap}top system, though, but PC-BSD developers have
yet to comment on their reasoning.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]



 I recommende not to use the ULE for production, months ago, my backup
server start crashing, until someone told me to disable ULE_ and enable the
old 4BSD scheduler, check
this posts:


http://lists.freebsd.org/pipermail/freebsd-questions/2006-October/132966.html

  My system back to normal after i disable ULE.

  Greetings.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


External HD create different slice on /dev which one i need to mount...?

2006-11-22 Thread perikillo

  Hi people.

  I have one external HD:

umass0: Prolific Technology Inc. Mass Storage Device, rev 2.00/1.00, addr 2
umass0:0:0:-1: Attached to scbus0
(probe0:umass-sim0:0:0:0): error 22
(probe0:umass-sim0:0:0:0): Unretryable Error
pass0 at umass-sim0 bus 0 target 0 lun 0
pass0: WDC WD25 00JB-00REA0 20.0 Fixed Direct Access SCSI-0 device
pass0: 40.000MB/s transfers
GEOM: new disk da0
da0 at umass-sim0 bus 0 target 0 lun 0
da0: WDC WD25 00JB-00REA0 20.0 Fixed Direct Access SCSI-0 device
da0: 40.000MB/s transfers
da0: 238475MB (488397168 512 byte sectors: 255H 63S/T 30401C)

Ok i setup the HD with sysinstall and format all the disk to UFS2, this is
my entry on /dev

crw-r-  1 root  operator0, 102 Nov 14 16:39 da0
crw-r-  1 root  operator0, 103 Nov 14 16:39 da0s1
crw-r-  1 root  operator0,  86 Nov 14 16:39 da0s1c
crw-r-  1 root  operator0,  87 Nov 14 16:39 da0s1d

Now which one i need to mount each time i need to use this HD...?

I create one mount point, /ext, FreeBSD the first time use /dev/da0s1d, them
if i want to mount that one, it send this message:

WARNING: /ext was not properly dismounted

No metter which one i use, da0s1, da0s1c, da0s1d always send this message,
this is normal...?

mount /dev/da0s1 /ext
mount /dev/da0s1c /ext
mount /dev/da0s1d /ext

Always: WARNING: /ext was not properly dismounted

Any idea about this...?

Im using FreeBSD 6.1-p10, my machine has 6 USB ports i have been testing
with all and the same message.

Thanks all for your time!!!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: External HD create different slice on /dev which one i need to mount...?

2006-11-22 Thread perikillo

On 11/22/06, Norberto Meijome [EMAIL PROTECTED] wrote:


On Wed, 22 Nov 2006 17:37:52 -0800
perikillo [EMAIL PROTECTED] wrote:

 mount /dev/da0s1 /ext
this is the slice, dont use it
 mount /dev/da0s1c /ext
this is the raw partition, DONT use c - ever, unless u really (think you)
know
what you are doing

 mount /dev/da0s1d /ext

bing


 Always: WARNING: /ext was not properly dismounted

 Any idea about this...?

yes, last time you mounted da0s1d , u didnt unmounted it cleanly. Before
you
mount, you should run fsck -p on it:
(as root, or with sudo)

fsck -p -t ufs /dev/da0s1d



 Im using FreeBSD 6.1-p10, my machine has 6 USB ports i have been testing
 with all and the same message.

of course, it is nothing to do with the usb itself, it's a filesystem
issue.
_
{Beto|Norberto|Numard} Meijome

The music business is a cruel and shallow money trench, a long plastic
hallway
where thieves and pimps run free, and good men die like dogs. There's also
a
negative side. Hunter S. Thompson

I speak for myself, not my employer. Contents may be hot. Slippery when
wet.
Reading disclaimers makes you go blind. Writing them is worse. You have
been
Warned.



Thanks Norberto for your answer i got it, right now im testing the HD on my
laptop, is working really good.

See you!!!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 6.0/AMD64 server crash

2006-11-14 Thread perikillo

Hey wojtek.

  Did you find a fix for this error...?

  I receive this error today went i try to cp some backups files from my
server to the external hard disk(USB 2.0):

cp -P -R -v /backups/backups /ext/

  After some minutes i receive this error in my console:

Nov 14 16:36:09 bacula kernel: umass0: at uhub4 port 7 (addr 2) disconnected
Nov 14 16:36:09 bacula kernel: (da0:umass-sim0:0:0:0): lost device
Nov 14 16:36:09 bacula kernel: (pass0:umass-sim0:0:0:0): lost device
Nov 14 16:36:09 bacula kernel: (pass0:umass-sim0:0:0:0): removing device
entry
Nov 14 16:36:09 bacula kernel: (da0:dead_sim0:0:0:0): error 22
Nov 14 16:36:09 bacula kernel: (da0:dead_sim0:0:0:0): Unretryable Error
Nov 14 16:36:09 bacula kernel: g_vfs_done():da0s1[WRITE(offset=17162190848,
length=131072)]error = 6
Nov 14 16:36:09 bacula kernel: g_vfs_done():da0s1[WRITE(offset=17162321920,
length=131072)]error = 6
Nov 14 16:36:09 bacula kernel: g_vfs_done():da0s1[WRITE(offset=17162452992,
length=131072)]error = 6
Nov 14 16:36:09 bacula kernel: g_vfs_done():da0s1[WRITE(offset=17162584064,
length=131072)]error = 6
Nov 14 16:36:09 bacula kernel: g_vfs_done():da0s1[WRITE(offset=17162715136,
length=131072)]error = 6
Nov 14 16:36:09 bacula kernel: g_vfs_done():da0s1[WRITE(offset=17162059776,
length=131072)]error = 6
Nov 14 16:36:09 bacula kernel: g_vfs_done():da0s1[WRITE(offset=17162846208,
length=131072)]error = 6
Nov 14 16:36:09 bacula kernel: umass0: detached

And boom receive the same error you wirite below.

 This is one smp kernel P4 3Ghz Dual Core, i have one mirror 1 with
gmirror, some have any solution to this problem, did i need to slice the
disk in 2 slices because linux have the some problem, it cannot use the
whole disk, them maybe freebsd to need to slice the disk in 2...?

Thanks.

On 10/22/06, Wojciech Puchar [EMAIL PROTECTED] wrote:


Sleeping thread (tid 100168, pid 56693) owns a non-sleepable lock
panic: sleeping thread
Uptime: 23h56m57s
Sleeping thread (tid 100168, pid 56693) owns a non-sleepable lock
panic: sleeping thread
Uptime: 23h56m57s
kernel trap 12 with interrupts disabled


Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x48
fault code  = supervisor read, page not present
instruction pointer = 0x8:0x8025217e
stack pointer   = 0x10:0xae3e39a0
frame pointer   = 0x10:0xff0002ac5000
code segment= base 0x0, limit 0xf, type 0x1b
 = DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags= resume, IOPL = 0
current process = 14 (swi1: net)
trap number = 12
panic: page fault
Uptime: 23h56m57s
GEOM_MIRROR: Device swap: provider mirror/swap destroyed.


any idea why? second crash like this and i have no idea why?

help please

Wojtek
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Issues with Dual-Core CPU's and SMP+Generic Kernel...?

2006-10-25 Thread perikillo

 Hi people.

 Yesterday i was trying to setup another backup server with FreeBSD 6.1 and
Bacula.

This is my first time that i work with one Dual Core system and FreeBSD.

This is the system:

FreeBSD 6.1-RELEASE #0: Sun May  7 04:42:56 UTC 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP
Preloaded elf kernel /boot/kernel/kernel at 0xc0afd000.
Preloaded elf module /boot/kernel/acpi.ko at 0xc0afd19c.
Calibrating clock(s) ... i8254 clock: 1190820 Hz
CLK_USE_I8254_CALIBRATION not specified - using default frequency
Timecounter i8254 frequency 1193182 Hz quality 0
Calibrating TSC clock ... TSC clock: 3006012457 Hz
CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (3006.01-MHz 686-class CPU)
Origin = GenuineIntel  Id = 0xf43  Stepping = 3
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
 Features2=0x649dSSE3,RSVD2,MON,DS_CPL,EST,CNTX-ID,CX16,b14
 AMD Features=0x2000LM
 Logical CPUs per core: 2
real memory  = 1063841792 (1014 MB)

ACPI APIC Table: INTEL  D945GTP 
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs

cpu0: ACPI CPU on acpi0
cpu1: ACPI CPU on acpi0

SMP: AP CPU #1 Launched!
cpu1 AP:
ID: 0x0100   VER: 0x00050014 LDR: 0x DFR: 0x
 lint0: 0x00010700 lint1: 0x0400 TPR: 0x SVR: 0x01ff
 timer: 0x000200ef therm: 0x0001 err: 0x0001 pcm: 0x0001
Trying to mount root from ufs:/dev/ad4s1a
start_init: trying /sbin/init

SMP: AP CPU #1 Launched!  This doesn't tell me that he just is going to use
1 CPU...?

The hard disk is one WD 320GB SATA, which just see 305GB but this is another
history!!

The layout i was trying to setup for the disk was:

/  512MB
SWAP 2000MB
/usr 20480MB
/var 8192 MB
/home 2048MB
/tmp 1024MB
/backups 264GB

With this layout the system didnt in boot multi-user enviroment, just
single-user, and the error was:

start_init: trying /sbin/init
.:Out of File Descriptors

The system just let me go into single-user mode.

I modify /boot/loader.conf

kern.maxfiles=   # Set the sys. wide open files limit
kern.maxproc=# Set the maximum # of processes
kern.maxssiz=# Set the max stack size
kern.maxusers= # Set size of various static tables

I play with this values, the last value that i use was kern.maxusers = 8192
which crash my system with a Kernel Trap 12, I couldnt recover my system,
doesnt even let go to Single-User Mode.

Ok for this i googling around but nothing clear, i setup freebsd about 10
times, i use GENERIC and SMP kernel and the same problem, different
settings, a lot of time invest.

After a will, i decide to setup the disk with the Automatic Layout and
GENERIC kernel only and WOW my system boot in Multi-User enviroment,
no moreOut of File Descriptor.

Them i decide to boot with SMP kernel and again, a success!!!

Them i start working with the disk, i use the same layout except for /home:

/  512MB
SWAP 2000MB
/usr 20480MB
/var 8192 MB
/tmp 1024MB
/backups 267GB

Load both GENERIC  SMP kernels, and everything is working right now, i
just want to know if thereis a problem between the Disk Setup or Layout and
the Kernels...?
Why and how i fix this problem of Out of file descriptors...?

Right now, i will customize my kernel, i wouldnt do the BuildWorld stuff,
because this is a remote system, until next week will visit this system and
rebuild everthing.

Thanks all for your time, greetings!!!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD Bonding Support.

2006-10-08 Thread perikillo

  Hi people.

  Hey, exist some future project in freebsd for bonding support or we
already have something like the Linux bonding driver..?

  Greetings!!!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: vr0: watchdog timeout FreeBSD 6.1-p10 Crashing my backups

2006-10-07 Thread perikillo

On 10/6/06, Kris Kennaway [EMAIL PROTECTED] wrote:

On Fri, Oct 06, 2006 at 10:08:27AM -0700, perikillo wrote:

 change the scheduler to the old SCHED_4BSD and maxuser from 10 to 32
 like chuck told me.

These are probably what fixed it.

I guess you've learned a Lesson: when you choose to use code marked as
experimental, a) don't be surprised when it goes wrong, and b) the
first thing you should do to try and fix it is to stop using the
experimental code :-)

Kris






 Yes, this is the lastime that i will use *experimental code*. It
looks everything back to normal.

 My local backups already finished withuout any problems, right now
is bringing the remote servser backups and they are running good.

  Thanks people for all your help.

Greetings!!!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: vr0: watchdog timeout FreeBSD 6.1-p10 Crashing my backups

2006-10-06 Thread perikillo

On 10/4/06, backyard [EMAIL PROTECTED] wrote:



--- Chuck Swiger [EMAIL PROTECTED] wrote:

 On Oct 4, 2006, at 10:32 AM, perikillo wrote:
  My kernel file is this:
 
  machine  i386
  cpu   I686_CPU

 You should also list cpu  I586_CPU, otherwise you
 will not include
 some optimizations intended for Pentium or higher
 processors.
 

are you sure about this??? This statement seems to
contradict the handbook which says it is best to use
only the CPU you have I would think I686_CPU would
cause the build know it is higher then a pentium and
thus use those optimizations. But if this is true...


-brian



___
freebsd-questions@freebsd.org  mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to  [EMAIL PROTECTED]





Hi people.

  Today i receive a completed FULL backups from all my local clients,
without any message saying:

vr0: watchdog timeout

  I did some changes, in kernel, bacula, and machine:

Machine
  Disable the internal NIC(via) and install one Linksys which use the
same driver vr0.

Kernel:

change the scheduler to the old SCHED_4BSD and maxuser from 10 to 32
like chuck told me.

disable AHC_ALLOW_MEMIO, this is the firs time that i use this option.

Enable IPFILTER to setup the firewall, i was thinking that maybe i
have been atack or something like that, i must check this.

Remove some SCSI drivers.

build the kernel, installed and reboot.

Bacula:

I setup the Heartbeat Interval var in the client and the storage demon
to 1 minute, because there is no formula to know which number is the
best.

  Today my backups where completed succesfully, no horror message, i
have been working with this server this past days, testing, change
here, there, until today, i dont know if it was the NIC, or some
kernel option, but is not very easy to test because is a production
server.

  I check my Firewall logs but there is nothing that give some clue
that i have been atack, good :-)

  Im testing the backup right now, today i will do another
FULL-BACKUPS  from all my local serves and i will bring the backups
from another serves that we have on another building and see if the
system is already stable.

  I will let you now people, thanks for your help.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: vr0: watchdog timeout FreeBSD 6.1-p10 Crashing my backups

2006-10-04 Thread perikillo

On 10/3/06, Christopher Swingler [EMAIL PROTECTED] wrote:



On Oct 3, 2006, at 7:55 PM, perikillo wrote:

 On 10/3/06, perikillo [EMAIL PROTECTED] wrote:

   Hi people i have read a some mails about this problem, snip

 Greetings.




 Wow

   snip again
 To unsubscribe, send any mail to freebsd-questions-
 [EMAIL PROTECTED]

The only time I have ever had watchdog timeouts is when I've had a
bad cable or a bad port.  If it's doing it on two entirely different
NICs, then it is most CERTAINLY a bad cable or a bad port on the
switch end.  You seem to have addressed the most expensive issue
first (bad card), which is kind of backwards, but whatever.  You've
switched ports, that's good too, now switch cables.



Hi people, thanks for your answer, right now i googling around and see how
to handle this problem i have.

 Im home right now, here i have one NIC Intel (fxp driver) with 2 ports on
it, this is my firewall machine but tomorrow i will take to my work, i dont
have access top my server right now , but i will give you the info you
request ASAP.

  I have another Linksys NIC, some posts say that those 2 NIC's on freebsd
are really good.

 Another thing that i will do, i dont know if it works, disable the drivers
form the kernel and just use the modules and see what hapend :-?

 But i need to see first how my backups finish, and will let you you now
guys. Thanks for your time.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: vr0: watchdog timeout FreeBSD 6.1-p10 Crashing my backups

2006-10-04 Thread perikillo

On 10/4/06, Bill Moran [EMAIL PROTECTED] wrote:


In response to perikillo [EMAIL PROTECTED]:

[snip]

 Right now my first backup again crash

 xl0: watchdog timeout

 Right now i change the cable from on port to another and see what
happends.

 Guy, please someone has something to tell me, this is critical for me.

 This is my second NIC.

Don't know if this is related or not, but it may be:

http://lists.freebsd.org/pipermail/freebsd-stable/2006-September/028792.html

--
Bill Moran
Collaborative Fusion Inc.



Hi people.

  Today my full backups completed succesfully, but my NIC again show me the
same failure:

Oct  3 23:36:54 bacula kernel: xl0: watchdog timeout
Oct  3 23:36:54 bacula kernel: xl0: no carrier - transceiver cable problem?
Oct  3 23:36:54 bacula kernel: xl0: link state changed to DOWN
Oct  3 23:36:56 bacula kernel: xl0: link state changed to UP
Oct  4 00:39:14 bacula kernel: xl0: watchdog timeout
Oct  4 00:39:14 bacula kernel: xl0: no carrier - transceiver cable problem?
Oct  4 00:39:14 bacula kernel: xl0: link state changed to DOWN
Oct  4 00:39:16 bacula kernel: xl0: link state changed to UP
Oct  4 01:41:39 bacula kernel: xl0: watchdog timeout
Oct  4 01:41:39 bacula kernel: xl0: no carrier - transceiver cable problem?
Oct  4 01:41:39 bacula kernel: xl0: link state changed to DOWN
Oct  4 01:41:42 bacula kernel: xl0: link state changed to UP
Oct  4 08:12:45 bacula login: ROOT LOGIN (root) ON ttyv0
Oct  4 08:15:50 bacula kernel: xl0: link state changed to DOWN
Oct  4 08:20:07 bacula login: ROOT LOGIN (root) ON ttyv1
Oct  4 08:27:34 bacula kernel: xl0: link state changed to UP
Oct  4 08:27:38 bacula kernel: xl0: link state changed to DOWN
Oct  4 08:27:40 bacula kernel: xl0: link state changed to UP
Oct  4 08:31:53 bacula su: ubacula to root on /dev/ttyp0

I check the switch, view the port where this server is connected but i dont
see nothing wrong there:

  Received   Transmitted
--
--
Packets:  53411791Packets:
93628031
Multicasts:  0Multicasts:
37550
Broadcasts: 19Broadcasts:
36157
Total Octets:   3644260033Total Octets:
737446293
Lost Packets:0Lost
Packets:0
Packets 64 bytes: 16678016Packets 64 bytes:
959175
   65-127 bytes  3673309465-127 bytes
384773
   128-255 bytes  384128-255 bytes
114963
   256-511 bytes   70256-511 bytes
304495
   512-1023 bytes  60512-1023 bytes
2472655
   1024-1518 bytes1671024-1518 bytes
89391970
FCS Errors:  0
Collisions:  0
Undersized Packets:  0Single
Collisions:   0
Oversized Packets:   0Multiple
Collisions: 0
Filtered Packets:   83Excessive
Collisions:0
Flooded Packets: 0Deferred
Packets:0
Frame Errors:0Late
Collisions: 0


My kernel file is this:

machine  i386
cpu   I686_CPU
ident BACULA
maxusers   10

# To statically compile in device wiring instead of /boot/device.hints
#hintsGENERIC.hints# Default places to look for
devices.

makeoptions   DEBUG=-g # Build kernel with gdb(1) debug symbols

options   SCHED_ULE# ULE scheduler
#options  SCHED_4BSD   # 4BSD scheduler
options   PREEMPTION   # Enable kernel thread preemption
options   INET # InterNETworking
#options  INET6# IPv6 communications protocols
options   FFS  # Berkeley Fast Filesystem
options   SOFTUPDATES  # Enable FFS soft updates support
options   UFS_ACL# Support for access control lists
options   UFS_DIRHASH  # Improve performance on big directories
options   MD_ROOT# MD is a potential root device
options   MSDOSFS# MSDOS Filesystem
options   CD9660   # ISO 9660 Filesystem
options   PROCFS   # Process filesystem (requires PSEUDOFS)
options   PSEUDOFS # Pseudo-filesystem framework
options   GEOM_GPT # GUID Partition Tables.
options   COMPAT_43# Compatible with BSD 4.3 [KEEP THIS!]
#options  COMPAT_FREEBSD4# Compatible with FreeBSD4
options   COMPAT_FREEBSD5# Compatible with FreeBSD5
options   SCSI_DELAY=5000# Delay (in ms) before probing SCSI
options   KTRACE   # ktrace(1) support
options   _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time

vr0: watchdog timeout FreeBSD 6.1-p10 Crashing my backups

2006-10-03 Thread perikillo

 Hi people i have read a some mails about this problem, it looks like all
was running some 5.X branch, i have been using FreeBSD 6.1 some months
ago,  yesterday i make the buildworld process, right now i have my box with
FreeBSD6.1-p10.

 This box runs bacula server with this NIC:

vr0: VIA VT6102 Rhine II 10/100BaseTX port 0xe400-0xe4ff mem
0xee022000-0xee0220ff at device 18.0 on pci0
vr0: Reserved 0x100 bytes for rid 0x10 type 4 at 0xe400
miibus0: MII bus on vr0
vr0: bpf attached
vr0: Ethernet address: 00:01:6c:2c:09:90
vr0: [MPSAFE]

 This NIC is integrated with the motherboard, i used this box with freebsd
5.4-pX almost 1 year running bacula 1.38.5 without a problem.

 1 full backup take almost 140Gb of data.

Last week i lost 1 job Full Backup from one of my biggest servers running
RH9 aprox 80Gb off data, bacula just backup 35Gb and mark the job -Error

26-Sep 00:28 bacula-dir: MBXBDCB.2006-09-25_21.30.00 Fatal error: Network
error with FD during Backup: ERR=Operation timed out
26-Sep 00:28 bacula-dir: MBXBDCB.2006-09-25_21.30.00 Fatal error: No Job
status returned from FD.
26-Sep 00:28 bacula-dir: MBXBDCB.2006-09-25_21.30.00 Error: Bacula
1.38.11(28Jun06): 26-Sep-2006 00:28:48

FD termination status:  Error
SD termination status:  Error
Termination:*** Backup Error ***

 I have no problem with the client, is running our ERP software and no
comment here.

In my freebsd console appear this:

vr0: watchdog timeout

 I reset the server, and all the Differential backups has been working
good, i do the buildworld yesterday and let my bacula server ready to do a
full backup for all my clients and whops...

I lost 2 clients jobs:

Client 1:

02-Oct 18:30 bacula-dir: Start Backup JobId 176, Job=PDC.2006-10-02_18.30.00
02-Oct 20:40 bacula-dir: PDC.2006-10-02_18.30.00 Fatal error: Network error
with FD during Backup: ERR=Operation timed out
02-Oct 20:40 bacula-dir: PDC.2006-10-02_18.30.00 Fatal error: No Job status
returned from FD.
02-Oct 20:40 bacula-dir: PDC.2006-10-02_18.30.00 Error: Bacula
1.38.11(28Jun06): 02-Oct-2006 20:40:11
 JobId:  176
 Job:PDC.2006-10-02_18.30.00
 Backup Level:   Full
 Client:   PDC Windows NT 4.0,MVS,NT 4.0.1381
 FileSet:PDC-FS 2006-08-21 18:04:12
 Pool:   FullTape
 Storage:LTO-1
 Scheduled time: 02-Oct-2006 18:30:00
 Start time: 02-Oct-2006 18:30:06
 End time:   02-Oct-2006 20:40:11
 Elapsed time:   2 hours 10 mins 5 secs
 Priority:   11
 FD Files Written:   0
 SD Files Written:   0
 FD Bytes Written:   0 (0 B)
 SD Bytes Written:   0 (0 B)
 Rate:   0.0 KB/s
 Software Compression:   None
 Volume name(s): FullTape-0004
 Volume Session Id:  2
 Volume Session Time:1159832414
 Last Volume Bytes:  38,857,830,949 (38.85 GB)
 Non-fatal FD errors:0
 SD Errors:  0
 FD termination status:  Error
 SD termination status:  Error
 Termination:*** Backup Error ***

Client 2

02-Oct 21:30 bacula-dir: Start Backup JobId 178, Job=
MBXBDCB.2006-10-02_21.30.00
02-Oct 21:31 bacula-dir: MBXBDCB.2006-10-02_21.30.00 Warning: bnet.c:853
Could not connect to File daemon on 192.168.2.9:9102. ERR=Host is down
Retrying ...
02-Oct 21:37 bacula-dir: MBXBDCB.2006-10-02_21.30.00 Warning: bnet.c:853
Could not connect to File daemon on 192.168.2.9:9102. ERR=Host is down
Retrying ...
02-Oct 21:44 bacula-dir: MBXBDCB.2006-10-02_21.30.00 Warning: bnet.c:853
Could not connect to File daemon on 192.168.2.9:9102. ERR=Host is down
Retrying ...
02-Oct 21:51 bacula-dir: MBXBDCB.2006-10-02_21.30.00 Warning: bnet.c:853
Could not connect to File daemon on 192.168.2.9:9102. ERR=Host is down
Retrying ...
02-Oct 21:58 bacula-dir: MBXBDCB.2006-10-02_21.30.00 Warning: bnet.c:853
Could not connect to File daemon on 192.168.2.9:9102. ERR=Host is down
Retrying ...
02-Oct 22:04 bacula-dir: MBXBDCB.2006-10-02_21.30.00 Warning: bnet.c:853
Could not connect to File daemon on 192.168.2.9:9102. ERR=Host is down
Retrying ...
02-Oct 22:10 bacula-dir: MBXBDCB.2006-10-02_21.30.00 Fatal error: bnet.c:859
Unable to connect to File daemon on 192.168.2.9:9102. ERR=Host is down
02-Oct 22:10 bacula-dir: MBXBDCB.2006-10-02_21.30.00 Error: Bacula
1.38.11(28Jun06): 02-Oct-2006 22:10:03
 JobId:  178
 Job:MBXBDCB.2006-10-02_21.30.00
 Backup Level:   Full
 Client: MBXBDCB i686-pc-linux-gnu,redhat,9
 FileSet:MBXBDCB-FS 2006-08-21 23:00:02
 Pool:   FullTape
 Storage:LTO-1
 Scheduled time: 02-Oct-2006 21:30:00
 Start time: 02-Oct-2006 21:30:02
 End time:   02-Oct-2006 22:10:03
 Elapsed time:   40 mins 1 sec
 Priority:   13
 FD Files Written:   0
 SD Files Written:   0
 FD Bytes Written:   0 (0 B)
 SD Bytes Written:   0 (0 B)
 Rate:

Re: vr0: watchdog timeout FreeBSD 6.1-p10 Crashing my backups

2006-10-03 Thread perikillo

On 10/3/06, perikillo [EMAIL PROTECTED] wrote:


  Hi people i have read a some mails about this problem, it looks like all
was running some 5.X branch, i have been using FreeBSD 6.1 some months
ago,  yesterday i make the buildworld process, right now i have my box with
FreeBSD6.1-p10.

  This box runs bacula server with this NIC:

vr0: VIA VT6102 Rhine II 10/100BaseTX port 0xe400-0xe4ff mem
0xee022000-0xee0220ff at device 18.0 on pci0
vr0: Reserved 0x100 bytes for rid 0x10 type 4 at 0xe400
miibus0: MII bus on vr0
vr0: bpf attached
vr0: Ethernet address: 00:01:6c:2c:09:90
vr0: [MPSAFE]

  This NIC is integrated with the motherboard, i used this box with
freebsd 5.4-pX almost 1 year running bacula 1.38.5 without a problem.

  1 full backup take almost 140Gb of data.

Last week i lost 1 job Full Backup from one of my biggest servers running
RH9 aprox 80Gb off data, bacula just backup 35Gb and mark the job -Error

26-Sep 00:28 bacula-dir: MBXBDCB.2006-09-25_21.30.00 Fatal error: Network
error with FD during Backup: ERR=Operation timed out
26-Sep 00:28 bacula-dir: MBXBDCB.2006-09-25_21.30.00 Fatal error: No Job
status returned from FD.
26-Sep 00:28 bacula-dir: MBXBDCB.2006-09-25_21.30.00 Error: Bacula 
1.38.11(28Jun06): 26-Sep-2006 00:28:48

FD termination status:  Error
SD termination status:  Error
Termination:*** Backup Error ***

  I have no problem with the client, is running our ERP software and no
comment here.

In my freebsd console appear this:

vr0: watchdog timeout

  I reset the server, and all the Differential backups has been working
good, i do the buildworld yesterday and let my bacula server ready to do a
full backup for all my clients and whops...

I lost 2 clients jobs:

Client 1:

02-Oct 18:30 bacula-dir: Start Backup JobId 176, Job=
PDC.2006-10-02_18.30.00
02-Oct 20:40 bacula-dir: PDC.2006-10-02_18.30.00 Fatal error: Network
error with FD during Backup: ERR=Operation timed out
02-Oct 20:40 bacula-dir: PDC.2006-10-02_18.30.00 Fatal error: No Job
status returned from FD.
02-Oct 20:40 bacula-dir: PDC.2006-10-02_18.30.00 Error: Bacula 
1.38.11(28Jun06): 02-Oct-2006 20:40:11
  JobId:  176
  Job:PDC.2006-10-02_18.30.00
  Backup Level:   Full
  Client:   PDC Windows NT 4.0,MVS,NT 4.0.1381
  FileSet:PDC-FS 2006-08-21 18:04:12
  Pool:   FullTape
  Storage:LTO-1
  Scheduled time: 02-Oct-2006 18:30:00
  Start time: 02-Oct-2006 18:30:06
  End time:   02-Oct-2006 20:40:11
  Elapsed time:   2 hours 10 mins 5 secs
  Priority:   11
  FD Files Written:   0
  SD Files Written:   0
  FD Bytes Written:   0 (0 B)
  SD Bytes Written:   0 (0 B)
  Rate:   0.0 KB/s
  Software Compression:   None
  Volume name(s): FullTape-0004
  Volume Session Id:  2
  Volume Session Time:1159832414
  Last Volume Bytes:  38,857,830,949 ( 38.85 GB)
  Non-fatal FD errors:0
  SD Errors:  0
  FD termination status:  Error
  SD termination status:  Error
  Termination:*** Backup Error ***

Client 2

02-Oct 21:30 bacula-dir: Start Backup JobId 178, Job=
MBXBDCB.2006-10-02_21.30.00
02-Oct 21:31 bacula-dir: MBXBDCB.2006-10-02_21.30.00 Warning: bnet.c:853
Could not connect to File daemon on 192.168.2.9:9102. ERR=Host is down
Retrying ...
02-Oct 21:37 bacula-dir: MBXBDCB.2006-10-02_21.30.00 Warning: bnet.c:853
Could not connect to File daemon on 192.168.2.9:9102. ERR=Host is down
Retrying ...
02-Oct 21:44 bacula-dir: MBXBDCB.2006-10-02_21.30.00 Warning: bnet.c:853
Could not connect to File daemon on 192.168.2.9:9102. ERR=Host is down
Retrying ...
02-Oct 21:51 bacula-dir: MBXBDCB.2006-10-02_21.30.00 Warning: bnet.c:853
Could not connect to File daemon on 192.168.2.9:9102. ERR=Host is down
Retrying ...
02-Oct 21:58 bacula-dir: MBXBDCB.2006-10-02_21.30.00 Warning: bnet.c:853
Could not connect to File daemon on 192.168.2.9:9102. ERR=Host is down
Retrying ...
02-Oct 22:04 bacula-dir: MBXBDCB.2006-10-02_21.30.00 Warning: bnet.c:853
Could not connect to File daemon on 192.168.2.9:9102. ERR=Host is down
Retrying ...
02-Oct 22:10 bacula-dir: MBXBDCB.2006-10-02_21.30.00 Fatal error: bnet.c:859
Unable to connect to File daemon on 192.168.2.9:9102 . ERR=Host is down
02-Oct 22:10 bacula-dir: MBXBDCB.2006-10-02_21.30.00 Error: Bacula 
1.38.11(28Jun06): 02-Oct-2006 22:10:03
  JobId:  178
  Job:MBXBDCB.2006-10-02_21.30.00
  Backup Level:   Full
  Client: MBXBDCB i686-pc-linux-gnu,redhat,9
  FileSet:MBXBDCB-FS 2006-08-21 23:00:02
  Pool:   FullTape
  Storage:LTO-1
  Scheduled time: 02-Oct-2006 21:30:00
  Start time: 02-Oct-2006 21:30:02
  End time:   02-Oct-2006 22:10:03
  Elapsed time:   40 mins 1 sec
  Priority:   13
  FD Files Written:   0
  SD

Re: FROM ARGENTINA

2006-08-21 Thread perikillo

On 8/21/06, Bill Moran [EMAIL PROTECTED] wrote:

In response to Sergio Milardovich [EMAIL PROTECTED]:

 Hi!, my name is sergio and i`m from Argentina, i and too many people in
 my city was interested in use freebsd but we haven`t got a hight
 internet conection, so can you send me to Argentina some freeBSD cd`s?,

There used to ba a BSD user's group in Argentina:
http://www.netbsd.org/gallery/groups.html

It looks like their site is defunct, though.  Have you checked around to
see if there's any remnant of the group?

There also seems to be an OpenBSD group in Argentina:
http://www.openbsd.org/groups.html#Argentina

They're likely to be FreeBSD-friendly, and may be able to help.

--
Bill Moran
Collaborative Fusion Inc.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]



 You can check to www.eldemonio.org is a spanish site for all the BSD
distros and they have a maillist to.

 Greetings!!!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Add colored border around console?

2006-08-21 Thread perikillo

On 8/20/06, Alexey Mikhailov [EMAIL PROTECTED] wrote:

Nikolas Britton wrote:
 What I want is the colored border around the console window... I have
 no clue how to do it, /dev/random made the border you see the photo! I
 let it run all night to generate interrupt load as part of a system
 stress test.
I think you need to use vidcontrol. So man vidcontrol and look for
-b option.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]



I have this:

/etc/rc.conf

allscreens_flags=-f 8x8 iso-8x8 -b red -mode 80x60 green black

Just check which video modes support your video adapter, some video
cards that i have been using dosent support this settings.

Greetings!!!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Web ports for Hylafax?

2006-08-15 Thread perikillo

Hi people.

  Im setup hylafax on freebsd 6.1-p3, the server is running, now is
time to test the clients.

 I read in the handbook of hylafax about some web-clients, i search
on my ports but didnt see any of this programs:

   * AvantFAX
   * Hermesfree
   * IGSuite
   * Movifax
   * Nweb2fax

  We some web-clients programs for hylafax on freebsd? I prefer to
have web clients for the users, i think is more independent.

  Thanks for your time.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Sysinstall and my tape conflic?

2006-07-22 Thread perikillo

 Hi people, i was installing FreeBSD 6-1, do the world stuff and all
that process, normally went my system is runnig i no more use the
sysinstall program.

 Im going to test bacula 1.38.11 with the tape HP storageworks 232.

 I was installing some ports that i going to test on this machine and
i try to run sysinstall and the first window, the one that say is
probing device never dissapear and my tape Ready Led start blinking,
normally went bacula start working with the tape my first console
receive 1 message:

Jul 21 08:36:00 bacula kernel: (ahc0:A:3:0): Sending PPR bus_width 1,
period 9, offset 40, ppr_options 2
Jul 21 08:36:00 bacula kernel: (ahc0:A:3:0): Received PPR width 1,
period 9, offset 40,options 2
Jul 21 08:36:00 bacula kernel: Filtered to width 1, period 9, offset
40, options 2
Jul 21 08:36:00 bacula kernel: (sa0:ahc0:0:3:0): error 6

 No problem because the programs works. I just receive this message 1
each day that bacula runs with no problem.

 But My console start receiving a lot of those message, after a
couple of minutes my tape request me the tape cleaner. I just turn off
and on again and dissapear.

  But the sysinstall never let the probing device screen.

 I turn off the tape and try again but the same problem, never jump
to the next screen, i was thinking that just with the 6.1-p3 version,
i change my HD to the one i have in production running 5.4-p16, but i
get same behaviour like say normally went i setup my OS never use the
sysinstall program.

  I can live without that boy, but this behaviour is not normall to me.

  Any info about this...? Thanks all for your time!!!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: User crontab file dosent run...?

2006-07-18 Thread perikillo

On 7/17/06, Dan Nelson [EMAIL PROTECTED] wrote:

In the last episode (Jul 17), perikillo said:
 Hi people.

  Im testing how to run scripts from cron using the crontab program,
 the handbook say tha each user need to have a crontab file if they
 want to run some process with the cron program:

 user-x$ crontab -e

 SHELL=/bin/sh
 PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin
 MAILTO=root
 */1 *   *   *   *   user-x /bin/echo Testing

User crontabs don't have a username column.  Remove user-x from the
above line and it should work.

You should still have gotten an error message emailed to root,
something like user-x: not found.  Maybe looking at /var/log/cron
will help.

--
Dan Nelson
[EMAIL PROTECTED]



Yeaa guys thanks for your help, my job is working now just need to
figure out why is not sending the email to the root account...?

Thanks :-).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


User crontab file dosent run...?

2006-07-17 Thread perikillo

Hi people.

 Im testing how to run scripts from cron using the crontab program,
the handbook say tha each user need to have a crontab file if they
want to run some process with the cron program:

user-x$ crontab -e

SHELL=/bin/sh
PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin
MAILTO=root
*/1 *   *   *   *   user-x /bin/echo Testing

went the user finish and save the file the system say:

/tmp/crontab.JIh2pM4Ey5 5 lines, 120 characters
crontab: installing new crontab

Them i use the flag -l to see that user crontab file:

root# crontab -l -u user-x

SHELL=/bin/sh
PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin
MAILTO=root
*/1 *   *   *   *   user-x /bin/echo Testing

Them the handbook say that the root user must add the user crontab file:

root#crontab /var/cron/tabs/user-x_crontab_file

But here the crontab add the crontab to user root, ok no problem just
what to see this think works, but still dosent see any mail to root,
them i run again the command but using the flag -u user-x:

root#crontab -u user-x /var/cron/tabs/user-x_crontab_file

My cron program is running, i stop and restart the cron daemon but
still dont see any answer.

I read some mails from this list but my system still dont run my test job.

I forget something...? Thanks for your time.

Running FreeBSD_5.4-p16.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Ports doubt, check network performance...?

2006-07-06 Thread perikillo

On 7/5/06, Nikos Vassiliadis [EMAIL PROTECTED] wrote:

On Wednesday 05 July 2006 02:01, perikillo wrote:
 On 7/4/06, Nikos Vassiliadis [EMAIL PROTECTED] wrote:
  On Tuesday 04 July 2006 03:49, perikillo wrote:
  Hi people.
  
   I have some problems on my network, and i want to use my freebsd
   box to see if i can find the problems on my network, we have two
   networks in two countrys connected by a private link, but i have seen
   just a couple a weeks ago that we have some problems between both
   links, we are lossing packets if i ping some server on the other link,
   some times i get 36% of packets loss, is to but to much on bussines
   hours.
 
  36% packet loss is very high, it will almost make TCP unusable.
  ping is your tool. Use -s 500 to 1500 to simulate some-how real traffic
  situation. I guess you have a point-to-point link between the two
  offices, connected to a router? Do you administer these routers? Do know
  your bandwidth utilization? Are you sure your link is OK? check this with
  your service provider.
 
  Either you link is bad or you use all your available bandwidth.
 
   I want to use my freebsd box running 6.0 but just want to know if
   some one could recomend me wich ports to check to see if i can find
   wich device is causing this problem.
 
  FreeBSD can not help you much with this. Unless FreeBSD is the router
  in question. Or you could pass all traffic from a FreeBSD box in order to
  know what's going on. something like this
 
  central-switch--FBSD--router-1=router-2
  [LAN] [-WAN-]

No i dont administer those routers, i need to check if the problem
 is our network or the ISP link, and yes is Point To Point link and
 talk with the guys that setup that router, but im thinking in put a
 freebsd box between our lan and the router and sniff all the traffic
 and see whats is happening but wich port to use...?

ntop can show how much bandwidth is used by whom
There are many available and I'm not sure ntop is the
best choice. There is pfSense which is a FreeBSD based
live-CD for router-like installations. pfSense has ntop
package. it won't hurt trying it out.

 , thanks all for
 your help.

Ethereal is for read packets but can he check wich one device is
 causing problems..?

device causing problems? Do you mean computer using
a lot of bandwidth? You can check this with ntop(and a thousand
others I guess, use google)



  Well to find how is causing my loss of packets, iam using ntop
right now and ethereal, i try to find out who is causing the lost of
packets, any recomendations...?

  Thanks for your time!!!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Ports doubt, check network performance...?

2006-07-04 Thread perikillo

On 7/4/06, Nikos Vassiliadis [EMAIL PROTECTED] wrote:

On Tuesday 04 July 2006 03:49, perikillo wrote:
Hi people.

 I have some problems on my network, and i want to use my freebsd
 box to see if i can find the problems on my network, we have two
 networks in two countrys connected by a private link, but i have seen
 just a couple a weeks ago that we have some problems between both
 links, we are lossing packets if i ping some server on the other link,
 some times i get 36% of packets loss, is to but to much on bussines
 hours.

36% packet loss is very high, it will almost make TCP unusable.
ping is your tool. Use -s 500 to 1500 to simulate some-how real traffic
situation. I guess you have a point-to-point link between the two offices,
connected to a router? Do you administer these routers? Do know your
bandwidth utilization? Are you sure your link is OK? check this with your
service provider.

Either you link is bad or you use all your available bandwidth.


 I want to use my freebsd box running 6.0 but just want to know if
 some one could recomend me wich ports to check to see if i can find
 wich device is causing this problem.

FreeBSD can not help you much with this. Unless FreeBSD is the router
in question. Or you could pass all traffic from a FreeBSD box in order to
know what's going on. something like this

central-switch--FBSD--router-1=router-2
[LAN] [-WAN-]




  No i dont administer those routers, i need to check if the problem
is our network or the ISP link, and yes is Point To Point link and
talk with the guys that setup that router, but im thinking in put a
freebsd box between our lan and the router and sniff all the traffic
and see whats is happening but wich port to use...?, thanks all for
your help.

  Ethereal is for read packets but can he check wich one device is
causing problems..?

   Greetings.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Ports doubt, check network performance...?

2006-07-03 Thread perikillo

  Hi people.

   I have some problems on my network, and i want to use my freebsd
box to see if i can find the problems on my network, we have two
networks in two countrys connected by a private link, but i have seen
just a couple a weeks ago that we have some problems between both
links, we are lossing packets if i ping some server on the other link,
some times i get 36% of packets loss, is to but to much on bussines
hours.

   I want to use my freebsd box running 6.0 but just want to know if
some one could recomend me wich ports to check to see if i can find
wich device is causing this problem.

  Thanks any help will be apreciated, greetings!!!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ftp proxy.

2006-06-30 Thread perikillo

On 6/29/06, jekillen [EMAIL PROTECTED] wrote:

Hello,
I have successfully installed FreeBSD 6.0 commercial boxed cds in 2
AMD64 machines. All ports and packages selected and all went well.
but some other software that is not installed by default, like Apache,
I couldn't get ports to install because the this particular machine
was on an inside network. I need to know how to get ftp to use an ftp
proxy (on another machine that has a direct connection).
Since the machine in question is configured to be a server, I did'nt
install the Xwindows softwares. So I need to know what to do with
the command line (default csh for root). The other machine does have
Xwindows installed so I can use the configuration apps to set it.
I'm being a little lazy and not looking at Absolute FreeBSD nor the
manual that can be obtained from the same source as the CD set.
If a fast and simple suggestion isn't fast and simple tell me to go
read the books (again). My bio-chemical buffer is getting a little
cranky..
and clumsy.
Thanks in advance
JK

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]



I have my bsd box behind a proxy and this are my settings on .cshrc:

setenv  HTTP_PROXY http://192.168.1.2:3128;
setenv  HTTP_PROXY_AUTH basic:*:myuser:mypassword

We are using squid + firewall and we have to add the rule OUT on the
firewall to let me connect to port 5999 check the Firewall section of
the handbook i think if you have a proxy you a firewall...?

  Greetings!!!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Backup sollutions

2006-06-23 Thread perikillo

On 6/22/06, Andreas Wideroe Andersen [EMAIL PROTECTED] wrote:

Hi,
I'm looking for a free (ports?) backup sollutions for FreeBSD
servers. I would like to have something similare to IBM's Tivoli
where you install a client on each server and administer the backup
from another server with a web gui.

Are there similare sollutions found for FreeBSD?

Thanks!
Andreas

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]



  Try bacula, i have 4 servers clients, 2 windows NT/1 Win2k3/1 Linux
RedHat on tape.

Greetings.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: bacula daemon dosent died..?

2006-04-24 Thread perikillo
On 4/24/06, Bill Moran [EMAIL PROTECTED] wrote:
 On Sun, 23 Apr 2006 09:25:24 -0700
 perikillo [EMAIL PROTECTED] wrote:

  On 4/23/06, perikillo [EMAIL PROTECTED] wrote:
   On 4/23/06, Bill Moran [EMAIL PROTECTED] wrote:
perikillo [EMAIL PROTECTED] wrote:
   
   Hi people, iam testing bacula 1.38.8, the problem i have right now
 is that if i want to stop the daemon:

 zorra#/usr/local/etc/rc.d/bacula-dir.sh stop
 Stopping bacula-dir.
 Waiting for PIDS: 910, 910,
 910,910,910,910,910,910,910,910,910,910,910,910,910,910,910, 910, 910,
 910,910,910,910,910,910,910,910,910,910,910,910,910,910,910,
 910,910,910,910,910, 910,
 910,910,910,910,910,910,910,910,910,910,910,910,910,910,910,
 910,910,910,910,
 910, 910, 910,910,910,910,910,910,910,910,910,910,910,910,910,910,910,
 910,910,910,910, 910, 910,
 910,910,910,910,910,910,910,910,910,910,910,910,910,910,910,
 910,910,910,910,
 910, 910, 910,910,910,910,910,910,910,910,910,910,910,910,910,910,910,
 910,910,910,910,910, 910,
 910,910,910,910,910,910,910,910,910,910,910,910,910,910,910,
 910,910,910,910,

  top say:

 idle 0.0% 21.9% user 0.0% nice 79.0 system

   I need to use the kill command to stop the daemon, has someone any
 idea about how to resolve this problem...?
   
What's the daemon doing when you try to stop it?  From the high system 
time,
it looks like it's in the process of running a job.  I doubt it's going 
to
shut down until the job completes, which is the behaviour I would 
expect.
   
--
Bill Moran
Potential Technologies
http://www.potentialtech.com
   
  
   Hi Bill.
  
  Yes, i have jobs running each minute, maybe you are right, let me
   change the Schedule settings and see how he react.
  
  Let me try and inform here, thanks for that info Bill, greattings all.
  
 
Bill i test, i cancel all my jobs, try to stop the director and same
  behaviour, it seens that i need to first shutdown the fd and sd
  daemons first if i want to stop the director daemon.
 
 If this is normal i can live with.

 I can't speak authoritatively, but (based on the rc script) it looks
 like the daemons need started and stopped in a certain order due to
 dependencies.

 It might be worthwhile to take this question to the bacula users mailing
 list, they're a helpful bunch and more likely to know the details of
 this kind of thing.

 --
 Bill Moran
 Collaborative Fusion Inc.


Ok Bill, i will go to bacula maillist to start there, thanks Bill.
  Greattings all.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


bacula daemon dosent died..?

2006-04-23 Thread perikillo
  Hi people, iam testing bacula 1.38.8, the problem i have right now
is that if i want to stop the daemon:

zorra#/usr/local/etc/rc.d/bacula-dir.sh stop
Stopping bacula-dir.
Waiting for PIDS: 910, 910,
910,910,910,910,910,910,910,910,910,910,910,910,910,910,910, 910, 910,
910,910,910,910,910,910,910,910,910,910,910,910,910,910,910,
910,910,910,910,910, 910,
910,910,910,910,910,910,910,910,910,910,910,910,910,910,910,
910,910,910,910,
910, 910, 910,910,910,910,910,910,910,910,910,910,910,910,910,910,910,
910,910,910,910, 910, 910,
910,910,910,910,910,910,910,910,910,910,910,910,910,910,910,
910,910,910,910,
910, 910, 910,910,910,910,910,910,910,910,910,910,910,910,910,910,910,
910,910,910,910,910, 910,
910,910,910,910,910,910,910,910,910,910,910,910,910,910,910,
910,910,910,910,

 top say:

idle 0.0% 21.9% user 0.0% nice 79.0 system

  I need to use the kill command to stop the daemon, has someone any
idea about how to resolve this problem...?

Running Freebsd 6.0-p7 Bacula 1.38.8 with mysql 5.019, greetings all.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: bacula daemon dosent died..?

2006-04-23 Thread perikillo
On 4/23/06, Bill Moran [EMAIL PROTECTED] wrote:
 perikillo [EMAIL PROTECTED] wrote:

Hi people, iam testing bacula 1.38.8, the problem i have right now
  is that if i want to stop the daemon:
 
  zorra#/usr/local/etc/rc.d/bacula-dir.sh stop
  Stopping bacula-dir.
  Waiting for PIDS: 910, 910,
  910,910,910,910,910,910,910,910,910,910,910,910,910,910,910, 910, 910,
  910,910,910,910,910,910,910,910,910,910,910,910,910,910,910,
  910,910,910,910,910, 910,
  910,910,910,910,910,910,910,910,910,910,910,910,910,910,910,
  910,910,910,910,
  910, 910, 910,910,910,910,910,910,910,910,910,910,910,910,910,910,910,
  910,910,910,910, 910, 910,
  910,910,910,910,910,910,910,910,910,910,910,910,910,910,910,
  910,910,910,910,
  910, 910, 910,910,910,910,910,910,910,910,910,910,910,910,910,910,910,
  910,910,910,910,910, 910,
  910,910,910,910,910,910,910,910,910,910,910,910,910,910,910,
  910,910,910,910,
 
   top say:
 
  idle 0.0% 21.9% user 0.0% nice 79.0 system
 
I need to use the kill command to stop the daemon, has someone any
  idea about how to resolve this problem...?

 What's the daemon doing when you try to stop it?  From the high system time,
 it looks like it's in the process of running a job.  I doubt it's going to
 shut down until the job completes, which is the behaviour I would expect.

 --
 Bill Moran
 Potential Technologies
 http://www.potentialtech.com


Hi Bill.

   Yes, i have jobs running each minute, maybe you are right, let me
change the Schedule settings and see how he react.

   Let me try and inform here, thanks for that info Bill, greattings all.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: bacula daemon dosent died..?

2006-04-23 Thread perikillo
On 4/23/06, perikillo [EMAIL PROTECTED] wrote:
 On 4/23/06, Bill Moran [EMAIL PROTECTED] wrote:
  perikillo [EMAIL PROTECTED] wrote:
 
 Hi people, iam testing bacula 1.38.8, the problem i have right now
   is that if i want to stop the daemon:
  
   zorra#/usr/local/etc/rc.d/bacula-dir.sh stop
   Stopping bacula-dir.
   Waiting for PIDS: 910, 910,
   910,910,910,910,910,910,910,910,910,910,910,910,910,910,910, 910, 910,
   910,910,910,910,910,910,910,910,910,910,910,910,910,910,910,
   910,910,910,910,910, 910,
   910,910,910,910,910,910,910,910,910,910,910,910,910,910,910,
   910,910,910,910,
   910, 910, 910,910,910,910,910,910,910,910,910,910,910,910,910,910,910,
   910,910,910,910, 910, 910,
   910,910,910,910,910,910,910,910,910,910,910,910,910,910,910,
   910,910,910,910,
   910, 910, 910,910,910,910,910,910,910,910,910,910,910,910,910,910,910,
   910,910,910,910,910, 910,
   910,910,910,910,910,910,910,910,910,910,910,910,910,910,910,
   910,910,910,910,
  
top say:
  
   idle 0.0% 21.9% user 0.0% nice 79.0 system
  
 I need to use the kill command to stop the daemon, has someone any
   idea about how to resolve this problem...?
 
  What's the daemon doing when you try to stop it?  From the high system time,
  it looks like it's in the process of running a job.  I doubt it's going to
  shut down until the job completes, which is the behaviour I would expect.
 
  --
  Bill Moran
  Potential Technologies
  http://www.potentialtech.com
 

 Hi Bill.

Yes, i have jobs running each minute, maybe you are right, let me
 change the Schedule settings and see how he react.

Let me try and inform here, thanks for that info Bill, greattings all.


  Bill i test, i cancel all my jobs, try to stop the director and same
behaviour, it seens that i need to first shutdown the fd and sd
daemons first if i want to stop the director daemon.

   If this is normal i can live with.

   Thanks all for your time!!!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Surestore 230 settings on bacula running on FreeBSD5.4...?

2006-04-17 Thread perikillo
Hi people.

I want to test my tape device with bacula 1.38.5 running on FreeBSD 5.4-p10.

My tape device is:
*HP Surestore Ultrium 230
*Tape 200GB
*SCSI card is one Adaptec 29160

My dmesg output say this:

pass0 at ahc0 bus 0 target 6 lun 0
pass0: HP Ultrium 1-SCSI E22D Removable Sequential Access SCSI-3 device
pass0: Serial Number IE72D07695
pass0: 80.000MB/s transfers ( 40.000MHz, offset 15, 16bit)
sa0 at ahc0 bus 0 target 6 lun 0
sa0: HP Ultrium 1-SCSI E22D Removable Sequential Access SCSI-3 device
sa0: Serial Number IE72D07695
sa0: 80.000MB/s transfers (40.000MHz, offset 15, 16bit)

I want to test FreeBSD 5.4 and FreeBSD 6.0.

But i still dont know how to setup this device on my bacula-sd.conf file...?

Can someone show his settings on FreeBSD i will apreciated, thanks
all for your time.

Greetings!!!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Problems with Cron

2006-03-03 Thread perikillo
On 3/1/06, David J Brooks [EMAIL PROTECTED] wrote:
 On Wednesday 01 March 2006 01:10, perikillo wrote:
  root: not found

 The FAQ explains it all:
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/admin.html#ROOT-NOT-FOUND-CRON-ERRORS

 David
 --
 Sure God created the world in only six days,
 but He didn't have an established userbase.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]


   Thanks David, that was the answer!!!

   Sorry for not read that FAQ!!!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Problems with Cron

2006-02-28 Thread perikillo
  Hi people.

I have 1 system running freebsd 5.4-p11, but since the first day
of use root start getting a emails from cron that say this:

Message 1:
From [EMAIL PROTECTED] Tue Feb 28 23:10:06 2006
Date: Tue, 28 Feb 2006 23:10:01 -0800 (PST)
From: [EMAIL PROTECTED] (Cron Daemon)
To: [EMAIL PROTECTED]
Subject: Cron [EMAIL PROTECTED] root  /usr/libexec/atrun
X-Cron-Env: SHELL=/bin/sh
X-Cron-Env: PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin
X-Cron-Env: HOME=/root
X-Cron-Env: LOGNAME=root
X-Cron-Env: USER=root

root: not found

From [EMAIL PROTECTED] Tue Feb 28 23:11:06 2006
Date: Tue, 28 Feb 2006 23:11:00 -0800 (PST)
From: [EMAIL PROTECTED] (Cron Daemon)
To: [EMAIL PROTECTED]
Subject: Cron [EMAIL PROTECTED] operator /usr/libexec/save-entropy
X-Cron-Env: SHELL=/bin/sh
X-Cron-Env: PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin
X-Cron-Env: HOME=/root
X-Cron-Env: LOGNAME=root
X-Cron-Env: USER=root

operator: not found

This is the file /etc/crontab:

# /etc/crontab - root's crontab for FreeBSD
#
# $FreeBSD: src/etc/crontab,v 1.32 2002/11/22 16:13:39 tom Exp $
#
SHELL=/bin/sh
PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin
HOME=/var/log
#MAIL=root
#
#minute hourmdaymonth   wdaywho command
#
*/5 *   *   *   *   root/usr/libexec/atrun
#
# Save some entropy so that /dev/random can re-seed on boot.
*/11*   *   *   *   operator /usr/libexec/save-entropy
#
# Rotate log files every hour, if necessary.
0   *   *   *   *   rootnewsyslog
#
# Perform daily/weekly/monthly maintenance.
1   3   *   *   *   rootperiodic daily
15  4   *   *   6   rootperiodic weekly
30  5   1   *   *   rootperiodic monthly
#
# Adjust the time zone if the CMOS clock keeps local time, as opposed to
# UTC time.  See adjkerntz(8) for details.
1,310-5 *   *   *   rootadjkerntz -a

 I have been checking thi file but i still dont get it why is saying
that the users that supposes will run the job didnt exist, this is my
/etc/passwd:

samantha#vipw
# $FreeBSD: src/etc/master.passwd,v 1.39 2004/08/01 21:33:47 markm Exp $
root:$1$ycY0WzTj$e5ObqwAsCUgBFV9n05be9.:0:0::0:0:Charlie :/root:/bin/csh
toor:*:0:0::0:0:Bourne-again Superuser:/root:
daemon:*:1:1::0:0:Owner of many system processes:/root:/usr/sbin/nologin
operator:*:2:5::0:0:System :/:/usr/sbin/nologin
bin:*:3:7::0:0:Binaries Commands and Source:/:/usr/sbin/nologin
tty:*:4:65533::0:0:Tty Sandbox:/:/usr/sbin/nologin
kmem:*:5:65533::0:0:KMem Sandbox:/:/usr/sbin/nologin
games:*:7:13::0:0:Games pseudo-user:/usr/games:/usr/sbin/nologin
news:*:8:8::0:0:News Subsystem:/:/usr/sbin/nologin
man:*:9:9::0:0:Mister Man Pages:/usr/share/man:/usr/sbin/nologin
sshd:*:22:22::0:0:Secure Shell Daemon:/var/empty:/usr/sbin/nologin
smmsp:*:25:25::0:0:Sendmail Submission
User:/var/spool/clientmqueue:/usr/sbin/nologin
mailnull:*:26:26::0:0:Sendmail Default User:/var/spool/mqueue:/usr/sbin/nologin
bind:*:53:53::0:0:Bind Sandbox:/:/usr/sbin/nologin
proxy:*:62:62::0:0:Packet Filter pseudo-user:/nonexistent:/usr/sbin/nologin
_pflogd:*:64:64::0:0:pflogd privsep user:/var/empty:/usr/sbin/nologin
uucp:*:66:66::0:0:UUCP
pseudo-user:/var/spool/uucppublic:/usr/local/libexec/uucp/uucico
pop:*:68:6::0:0:Post Office Owner:/nonexistent:/usr/sbin/nologin
www:*:80:80::0:0:World Wide Web Owner:/nonexistent:/usr/sbin/nologin
nobody:*:65534:65534::0:0:Unprivileged user:/nonexistent:/usr/sbin/nologin
klabaza:$1$Lz3s2.yR$.iU8SRhkrG/FXG0ZXGjlr/:1001:1001::0:0:User 
Moreno:/home/klabaza:/bin/tcsh
mysql:*:88:88::0:0:MySQL Daemon:/nonexistent:/sbin/nologin
bacula:*:910:910::0:0:Bacula Daemon:/var/db/bacula:/sbin/nologin
periko:$1$bH6i7s7L$7X3a.Bkg3N9yoYBFQAmI1.:1002:1002::0:0:User 
moreno:/home/periko:/bin/sh
karina:$1$0fY4adrB$LMEELuaeCoTQ.9S60b9yN0:1003:1003::0:0:karina
moreno:/home/karina:/bin/csh

   Some knows the reason of this emails...? This is not a production
system, but i receive a lot of emails each day, look right i just
write the mail and already have 2 mails:

samantha# mail -u root
Mail version 8.1 6/6/93.  Type ? for help.
/var/mail/root: 2 messages 2 new
N  1 [EMAIL PROTECTED]  Tue Feb 28 23:15  23/895   Cron
[EMAIL PROTECTED] root   /usr/libexec/atrun
 N  2 [EMAIL PROTECTED]  Tue Feb 28 23:20  23/895   Cron
[EMAIL PROTECTED] root   /usr/libexec/atrun


   Any info you have to fix this i wil apreciated, thanks all for your time.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Barcode software?

2006-02-11 Thread perikillo
  Hi people, did someone knows if we have some barcode designer on
Freebsd?, i googling and just found kbarcode -kde, but we have
something else...?

   Thanks for your time, greetings.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: About samba 3 options to compile?

2006-01-05 Thread perikillo
On 1/4/06, Daniel [EMAIL PROTECTED] wrote:
 This query should be redirected to the Samba team, try
 https://lists.samba.org/mailman/ for a list of mailing lists and howto
 subscribe to them.

 Please read The Official Samba Howto
 (http://us3.samba.org/samba/docs/man/Samba-HOWTO-Collection/) before
 querying their mailing list. This howto truly is an excellent peice of
 documentation.

 Before you go on, just a couple things that I'm certain you will come across.
 1. Samba only has experimental support for active directory, it will
 not work properly.
 2. Samba will function fully as an NT4 style domain controller (I have
 XP/2000 clients joined to this domain without a problem).
 3. To have a backup domain controller, I believe, you must use LDAP

 On 1/5/06, perikillo [EMAIL PROTECTED] wrote:
Hi people.
  I was trying to install /usr/ports/net/samba3 on my freebsd 5.4-p8
  box, but he ask me some questions:
 
  LDAPWith LDAP support on \
  ADS With Active Directory support off \
  CUPSWith CUPS printing support on \
  WINBIND With WinBIND support on \
  ACL_SUPPORT With ACL support off \
  AIO_SUPPORT With experimental AIO support off \
  SYSLOG  With Syslog support off \
  QUOTAS  With Quota support off \
  UTMPWith UTMP support on \
  MSDFS   With MSDFS support off \
  SAM_XML With XML smbpasswd backend off \
  SAM_MYSQL   With MYSQL smbpasswd backend off \
  SAM_PGSQL   With PostgreSQL smbpasswd backend off \
  SAM_OLD_LDAPWith Samba2.x LDAP smbpasswd backend off \
  PAM_SMBPASS With SMB PAM module off \
  EXP_MODULES With experimental module(s) off \
  POPTWith installed POPT library on
 
  I have two situations:
 
  1; i want to try this on my home network runnning windows 2k advanced
  server on WORKGROUP.
 
  2; The other setup is on one domain running win2k3 standard edition
 -DNS
 -AD
 
 But for both situations, wich options i need to enable and disable
  went i run the make install command...?
 
  This is my first time i will run samba my own, and really i want
  to understand wich args i need for each enviroment, i prefer the ports
  over the packages.
 
  I read the samba page
  http://us4.samba.org/samba/docs/man/Samba-HOWTO-Collection/compiling.html#id2653989
 
  but you know, only linux stuff.
 
  *I already have running freebsd 5.4-p8/mysql5/cups/
 
  Any help will be apreciated, thanks for your time.
 
   Greattings all!!!
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to [EMAIL PROTECTED]
 


  Ok man i will check with them thanks.
   Greetings all.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ipnat -CF -f /etc/ipnat.rules

2006-01-04 Thread perikillo
On 1/3/06, fbsd_user [EMAIL PROTECTED] wrote:

 On 1/2/06, fbsd_user [EMAIL PROTECTED] wrote:
  I see tun in your ipnat rule.
  That means you are using ppp for phone dialup connection.
  Every time you lose your phone connection you get different IP
 from
  your ISP.
  Use NAT function of PPP and not ipnat and your problem will go
 away.
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] Behalf Of caleb
  Sent: Friday, December 30, 2005 9:16 PM
  To: freebsd-questions@freebsd.org
  Subject: ipnat -CF -f /etc/ipnat.rules
 
 
  Hi everyone,
  I have just put together a router/firewall using 5.4
  RELEASE
  and IPFILTER. Everything is working fine except I have to manually
  flush
  the NAT table every time the router boots. below is my rc.conf and
  ipnat.rules, I have used rc.conf to start everything at boot;
 
  /* rc.conf */
 
  gateway_enable=YES
  sshd_enable=YES
  ifconfig_rl1=inet 10.0.0.1 netmask 255.255.255.0
  ifconfig_rl0=inet 192.168.0.1 netmask 255.255.255.0
  hostname=tweak
  ipfilter_enable=YES
  ipfilter_rules=/etc/ipf.rules
  ipmon_enable=YES
  ipmon_flags=-Ds
  ipnat_enable=YES
  ipnat_rules=/etc/ipnat.rules
  ppp_enable=YES
  ppp_mode=ddial
  ppp_nat=NO
  ppp_profile=netspace
  ppp_user=root
 
  /* ipnat.rules */
 
  map tun0 192.168.0.0/24 - 0/32
 
 
  Is there something I am missing? I do not think it is ipf, as I
 have
  configured it to allow everything in and out. Could you please CC
 me
  if
  you decide to help.
 
  Thankyou,
 
  caleb
  --
 
 

Well i use PPPoE protocol, i have never try the same ppp program
 to
 handle the NAT thing, them i disable ipnat or what...? I need to
 understand this very clear.

Thanks for your tip.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

 You are not configured correctly. This statement
  ifconfig_rl0=inet 192.168.0.1 netmask 255.255.255.0
 is forceing that ip addr to be used and its wrong.
 you have to get ip assigned by your isp.
 Follow this example.  Which means you can use ipnat or ppp nat.

   start of ppp.conf  ###
 default:

  set log Phase tun #use to avoid excessive log sizes
  set timeout 0 # no idle time out, will not
 disconnect

 dialisp:
  set device PPPoE:XXX  # replace xxx with your NIC device
 name
  set authname YOURLOGINNAME# Replace with your ISP account
 username
  set authkey YOURPASSWORD  # Replace with your ISP account
 password
  add default HISADDR   # Add a (sticky) default route
 (Mandatory)
  enable dns # Gets the ISP's DNS IP address  places
 them
 # in resolv.conf for reference by FBSD box.

 ###   End of ppp.conf
 #


 Replace the XXX in the [set device PPPoE:XXX] statement with the
 NIC's FBSD interface name. Sometimes it will be necessary to use a
 service tag to establish your connection depending on how your ISP
 and/or the phone company has its DSL network configured. Service
 tags are used to distinguish between different PPPoE servers
 attached to a given network. You should have been given any required
 service tag information in the documentation provided by your ISP.
 If you cannot locate it there, ask your ISP's tech support
 personnel. This is the format of the command with the service tag
 added:

 set device PPPoE::service_tag(in your case  = rl0)

 The  is the FBSD interface name used by PPPoE. The interface
 must be UP (IE: enabled). It is only used as a transport, and does
 not need to be assigned an IP address. This can be done
 automatically at boot time by updating the /etc/rc.conf file. The
 format of the statement to add is ifconfig_=up where  is the
 NIC's FBSD interface name used by PPPoE that you specified in the
 /etc/ppp/ppp.conf file.


 ee /etc/rc.conf # add following statements

 ifconfig_=up# (in your case  = rl0)

 ifconfig_tun0=DHCP# get your ISP assigned IP address



 To setup user ppp to dial your ISP automatically at FBSD boot time,
 you have to add the following statements to the rc.conf file. The
 ddial option means to redial every time the connection to the ISP
 gets dropped.

 ee /etc/rc.conf


 # Activate user ppp auto start at boot time
 ppp_enable=YES # Start User PPP task
 ppp_mode=ddial # ddial, auto, background
 ppp_profile=dialisp# section in ppp.conf to exec

 #ppp_nat=YES   # only if you have LAN behind this PC.

 # deactivate ipfilter Nat function (comment statements out)

 #ipnat_enable=YES
 #ipnat_rules=/etc/ipnat.rules



 Ok fbsd_user.

/etc/ppp.conf
default:
 set log Phase tun command
 set timeout 0

prodigy:
 set device PPPoE:fxp1
 set MRU 1472 #tested
 set MTU 1472  #tested

About samba 3 options to compile?

2006-01-04 Thread perikillo
  Hi people.
I was trying to install /usr/ports/net/samba3 on my freebsd 5.4-p8
box, but he ask me some questions:

LDAPWith LDAP support on \
ADS With Active Directory support off \
CUPSWith CUPS printing support on \
WINBIND With WinBIND support on \
ACL_SUPPORT With ACL support off \
AIO_SUPPORT With experimental AIO support off \
SYSLOG  With Syslog support off \
QUOTAS  With Quota support off \
UTMPWith UTMP support on \
MSDFS   With MSDFS support off \
SAM_XML With XML smbpasswd backend off \
SAM_MYSQL   With MYSQL smbpasswd backend off \
SAM_PGSQL   With PostgreSQL smbpasswd backend off \
SAM_OLD_LDAPWith Samba2.x LDAP smbpasswd backend off \
PAM_SMBPASS With SMB PAM module off \
EXP_MODULES With experimental module(s) off \
POPTWith installed POPT library on

I have two situations:

1; i want to try this on my home network runnning windows 2k advanced
server on WORKGROUP.

2; The other setup is on one domain running win2k3 standard edition
   -DNS
   -AD

   But for both situations, wich options i need to enable and disable
went i run the make install command...?

This is my first time i will run samba my own, and really i want
to understand wich args i need for each enviroment, i prefer the ports
over the packages.

I read the samba page
http://us4.samba.org/samba/docs/man/Samba-HOWTO-Collection/compiling.html#id2653989

but you know, only linux stuff.

*I already have running freebsd 5.4-p8/mysql5/cups/

Any help will be apreciated, thanks for your time.

 Greattings all!!!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ipnat -CF -f /etc/ipnat.rules

2006-01-02 Thread perikillo
On 1/2/06, fbsd_user [EMAIL PROTECTED] wrote:
 I see tun in your ipnat rule.
 That means you are using ppp for phone dialup connection.
 Every time you lose your phone connection you get different IP from
 your ISP.
 Use NAT function of PPP and not ipnat and your problem will go away.

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of caleb
 Sent: Friday, December 30, 2005 9:16 PM
 To: freebsd-questions@freebsd.org
 Subject: ipnat -CF -f /etc/ipnat.rules


 Hi everyone,
 I have just put together a router/firewall using 5.4
 RELEASE
 and IPFILTER. Everything is working fine except I have to manually
 flush
 the NAT table every time the router boots. below is my rc.conf and
 ipnat.rules, I have used rc.conf to start everything at boot;

 /* rc.conf */

 gateway_enable=YES
 sshd_enable=YES
 ifconfig_rl1=inet 10.0.0.1 netmask 255.255.255.0
 ifconfig_rl0=inet 192.168.0.1 netmask 255.255.255.0
 hostname=tweak
 ipfilter_enable=YES
 ipfilter_rules=/etc/ipf.rules
 ipmon_enable=YES
 ipmon_flags=-Ds
 ipnat_enable=YES
 ipnat_rules=/etc/ipnat.rules
 ppp_enable=YES
 ppp_mode=ddial
 ppp_nat=NO
 ppp_profile=netspace
 ppp_user=root

 /* ipnat.rules */

 map tun0 192.168.0.0/24 - 0/32


 Is there something I am missing? I do not think it is ipf, as I have
 configured it to allow everything in and out. Could you please CC me
 if
 you decide to help.

 Thankyou,

 caleb
 --
 There is no spoon
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

   Well i use PPPoE protocol, i have never try the same ppp program to
handle the NAT thing, them i disable ipnat or what...? I need to
understand this very clear.

   Thanks for your tip.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD 6.0 AMD64 Dont Detect My PCIExpress Card...? Radeon X300.

2006-01-02 Thread perikillo
  Hi people.
I have this motherboard:

http://www.msi.com.tw/program/products/mainboard/mbd/pro_mbd_detail.php?UID=652

   K8N Neo4 AMD64

   I install freebsd 6.0 AMD64, the installation was easy. The
problema is my VGA card is one PCIExpress ATI Radeon X300, i install
suse 10 on the same computer and suse detect the card, i say if suse
can bsd can, but no :-(, on the BIOS i dont have the option PnP OS =
YES or NO, i have 2 options for the VGA card:
PCIE or PCI, and IRQ Auto and Manual, i test both Auto and Manual, but
still didnt detect my card.

I read the NOTES file and found two options:

drm
radeondrm

   I enable both options on the kernel file, install the kernel but
still didnt detect my ATI card, this is my dmesg output:

Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 6.0-RELEASE #2: Mon Jan  2 17:05:34 PST 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/AMD64
Preloaded elf kernel /boot/kernel/kernel at 0x8065e000.
ACPI APIC Table: Nvidia AWRDACPI
Calibrating clock(s) ... i8254 clock: 1193191 Hz
CLK_USE_I8254_CALIBRATION not specified - using default frequency
Timecounter i8254 frequency 1193182 Hz quality 0
Calibrating TSC clock ... TSC clock: 1809280663 Hz
CPU: AMD Athlon(tm) 64 Processor 3000+ (1809.28-MHz K8-class CPU)
  Origin = AuthenticAMD  Id = 0x20ff0  Stepping = 0
  
Features=0x78bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2
  Features2=0x1SSE3
  AMD Features=0xe2500800SYSCALL,NX,MMX+,b25,LM,3DNow+,3DNow
L1 2MB data TLB: 8 entries, fully associative
L1 2MB instruction TLB: 8 entries, fully associative
L1 4KB data TLB: 32 entries, fully associative
L1 4KB instruction TLB: 32 entries, fully associative
L1 data cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way associative
L1 instruction cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way associative
L2 2MB unified TLB: 0 entries, disabled/not present
L2 4KB data TLB: 512 entries, 4-way associative
L2 4KB instruction TLB: 512 entries, 4-way associative
L2 unified cache: 512 kbytes, 64 bytes/line, 1 lines/tag, 16-way associative
real memory  = 1073676288 (1023 MB)
Physical memory chunk(s):
0x1000 - 0x0009efff, 647168 bytes (158 pages)
0x0075b000 - 0x3e1a, 1034244096 bytes (252501 pages)
avail memory = 1029566464 (981 MB)
APIC: CPU 0 has ACPI ID 0
MADT: Found IO APIC ID 2, Interrupt 0 at 0xfec0
ioapic0: Routing external 8259A's - intpin 0
ioapic0: intpin 0 - ExtINT (edge, high)
ioapic0: intpin 1 - ISA IRQ 1 (edge, high)
ioapic0: intpin 2 - ISA IRQ 2 (edge, high)
ioapic0: intpin 3 - ISA IRQ 3 (edge, high)
ioapic0: intpin 4 - ISA IRQ 4 (edge, high)
ioapic0: intpin 5 - ISA IRQ 5 (edge, high)
ioapic0: intpin 6 - ISA IRQ 6 (edge, high)
ioapic0: intpin 7 - ISA IRQ 7 (edge, high)
ioapic0: intpin 8 - ISA IRQ 8 (edge, high)
ioapic0: intpin 9 - ISA IRQ 9 (edge, high)
ioapic0: intpin 10 - ISA IRQ 10 (edge, high)
ioapic0: intpin 11 - ISA IRQ 11 (edge, high)
ioapic0: intpin 12 - ISA IRQ 12 (edge, high)
ioapic0: intpin 13 - ISA IRQ 13 (edge, high)
ioapic0: intpin 14 - ISA IRQ 14 (edge, high)
ioapic0: intpin 15 - ISA IRQ 15 (edge, high)
ioapic0: intpin 16 - PCI IRQ 16 (level, low)
ioapic0: intpin 17 - PCI IRQ 17 (level, low)
ioapic0: intpin 18 - PCI IRQ 18 (level, low)
ioapic0: intpin 19 - PCI IRQ 19 (level, low)
ioapic0: intpin 20 - PCI IRQ 20 (level, low)
ioapic0: intpin 21 - PCI IRQ 21 (level, low)
ioapic0: intpin 22 - PCI IRQ 22 (level, low)
ioapic0: intpin 23 - PCI IRQ 23 (level, low)
MADT: Interrupt override: source 9, irq 9
ioapic0: intpin 9 trigger: level
ioapic0: intpin 9 polarity: high
MADT: Interrupt override: source 14, irq 14
ioapic0: intpin 14 trigger: edge
ioapic0: intpin 14 polarity: high
MADT: Interrupt override: source 15, irq 15
ioapic0: intpin 15 trigger: edge
ioapic0: intpin 15 polarity: high
lapic0: Routing NMI - LINT1
lapic0: LINT1 trigger: edge
lapic0: LINT1 polarity: high
MADT: Ignoring local NMI routed to ACPI CPU 1
ioapic0 Version 1.1 irqs 0-23 on motherboard
cpu0 BSP:
 ID: 0x   VER: 0x00050010 LDR: 0x0100 DFR: 0x0fff
  lint0: 0x00010700 lint1: 0x0400 TPR: 0x SVR: 0x01ff
  timer: 0x000100ef therm: 0x0001 err: 0x0001 pcm: 0x0001
wlan: 802.11 Link Layer
mem: memory
netsmb_dev: loaded
null: null device, zero device
random: entropy source, Software, Yarrow
io: I/O
acpi0: Nvidia AWRDACPI on motherboard
acpi0: [MPSAFE]
pci_open(1):mode 1 addr port (0x0cf8) is 0x80003804
pci_open(1a):   mode1res=0x8000 (0x8000)
pci_cfgcheck:   device 0 [class=058000] [hdr=00] is there (id=005e10de)
acpi_bus_number: root bus has no _BBN, assuming 0
acpi_bus_number: can't get _ADR
acpi_bus_number: can't get _ADR
AcpiOsDerivePciId: bus 0 dev 1 func 0
acpi0: Power Button (fixed)
acpi_bus_number: root bus has no _BBN, assuming 0

Re: ipnat -CF -f /etc/ipnat.rules

2006-01-01 Thread perikillo
On 1/1/06, Parv [EMAIL PROTECTED] wrote:
 in message [EMAIL PROTECTED],
 wrote perikillo thusly...
 
  root#chmod +x /etc/rc.d/ipnat.rules

 Why did you need to add execute bit for the rules?


   - Parv

 --


   Hi Parv.
 No, the file name is ipnat.bug, i make one  mistake here. The
rules continue on /etc. Happy New Year!!!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ipnat -CF -f /etc/ipnat.rules

2005-12-31 Thread perikillo
On 12/30/05, Ruben Bloemgarten [EMAIL PROTECTED] wrote:
 Hi Caleb,

 Add ipfs_enable=YES.

 Regards,
 Ruben

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of caleb
 Sent: December 31, 2005 3:16 AM
 To: freebsd-questions@freebsd.org
 Subject: ipnat -CF -f /etc/ipnat.rules

 Hi everyone,
 I have just put together a router/firewall using 5.4 RELEASE
 and IPFILTER. Everything is working fine except I have to manually flush
 the NAT table every time the router boots. below is my rc.conf and
 ipnat.rules, I have used rc.conf to start everything at boot;

 /* rc.conf */

 gateway_enable=YES
 sshd_enable=YES
 ifconfig_rl1=inet 10.0.0.1 netmask 255.255.255.0
 ifconfig_rl0=inet 192.168.0.1 netmask 255.255.255.0
 hostname=tweak
 ipfilter_enable=YES
 ipfilter_rules=/etc/ipf.rules
 ipmon_enable=YES
 ipmon_flags=-Ds
 ipnat_enable=YES
 ipnat_rules=/etc/ipnat.rules
 ppp_enable=YES
 ppp_mode=ddial
 ppp_nat=NO
 ppp_profile=netspace
 ppp_user=root

 /* ipnat.rules */

 map tun0 192.168.0.0/24 - 0/32


 Is there something I am missing? I do not think it is ipf, as I have
 configured it to allow everything in and out. Could you please CC me if
 you decide to help.

 Thankyou,

 caleb
 --
 There is no spoon
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]


 --
 No virus found in this incoming message.
 Checked by AVG Free Edition.
 Version: 7.1.371 / Virus Database: 267.14.9/216 - Release Date: 12/29/2005


 --
 No virus found in this incoming message.
 Checked by AVG Free Edition.
 Version: 7.1.371 / Virus Database: 267.14.9/216 - Release Date: 12/29/2005


 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

  Hi Ruben, months ago i didnt found how to fix that problem, if i
remenber it was a little bug on ipfilter, i try a lot of changes on
the system, right i was setting up ipfilter on another box, fresh
installation:

*freebsd 5.4-p8
*ipf v3.4.35

   I try your tip, but didnt work, i was thinking that maybe
secure_level = 2  was the problem but no, i download to 1 and still
didnt work.

  Them the only solution i found before was to create one simple
script to re-charge ipnat:

ee /etc/rc.d/ipnat.bug

#!/bin/sh
   echo Fix ipnat bug
   ipnat -FC -f /etc/ipnat.rules

root#chmod +x /etc/rc.d/ipnat.rules

   Now i dont need to manually re-charge ipnat every time i restart
the system, i hope that this little problem will be fix on freebsd
6.0.

  Hi cale, this i are my ipnat rules, hope they help you:

map tun0 0/0 - 0/32 proxy port ftp ftp/tcp
map tun0 0/0 - 0/32 portmap tcp/udp 2:4
map tun0 0/0 - 0/32

Good day to all and Happy New Year BSD people!!!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Bacula vs. Amanda vs. whatever ...

2005-12-10 Thread perikillo
On 12/8/05, Olivier Nicole [EMAIL PROTECTED] wrote:
  I have a home network with two FreeBSD servers (web- and file-server), a =
  number of Windows desktops and a wireless FreeBSD laptop all connected to o=
  ne another using Samba.=20

 Advantage of Amanda, if I understand well, is that you don't need to
 install anything on your Windows machines.

 I have been using Amanda to backup various Unixes and Windows for
 years now and it is very satisfactory.

 I even wrote some web interface so that Windows user could add some
 shares to back-up, without any sys admin help. OK that bit has not
 been tested with XP...

 Olivier
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

  This information is very important, but you only say windows, but i
like to know wich one...? All...?
   Because i want to try bacula+mysql-5 to backup 1 win2k3, 2 WinNT4
and 1 Linux box.
  I try once bacula on freebsd 5.4-p8 with bacula using some simple
tape drive and backup the win2k3 box and it works, but my doubt is
winNT4+Linux, you have some winNT4+Linux on your list with bacula or
amanda...?
  Greetings!!!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Install Freebsd AMD64 on Mirror Disk...?

2005-11-28 Thread perikillo
   Hi people.

 I have one computer with this:

motherboard MS-7125
CPU AMD64 3000+
RAM: 1GB
Hard Drives: 2(111 GB Each) SATA drives Raid 1

 This motherboard went arrive to my office was already setup, with
the mirror disk, i donwload freebsd AMD64, i want to install 3 OS
Windows XP/Freebsd/Linux-Suse.

 I want to know if is possible to install freebsd with this
configuration, the mirror disk, or i need to delete the mirror first
to install freebsd...?

I have another Disk(IDE), i can useit to install freebsd there and
let windows and suse on the mirror disk...?

Any comments are welcome, thanks all for your time.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 5.4-p8 PPPoE Link Problems...?

2005-11-28 Thread perikillo
On 11/28/05, Vladimir Tsvetkov [EMAIL PROTECTED] wrote:
 Hi people.
 
   I have one ISP that give 512Kbps service, they give to me one
  modem SpeedStream, i setup everything, before this service was running
  on freebsd 4.11-p16(i think ...?), them change all to freebsd 5.4-p8.
 
  The problem here is that sometimes appear the link up:
 
  tun0: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST mtu 1492
  inet 201.143.64.40 -- 201.130.144.1 netmask 0x
  Opened by PID 236
 
  But if i try to access the Internet, the browser say that i dont
  have connection, them i go to my freebsd box, test the connection with
  Ping and is correct i lost my connection, i need to manually force the
  link to close and again connect.
 
   I dont know if this problem is from my ISP or is Freebsd, i dont
  have a clue where to find the problem to fix this, with freebsd 4.11 i
  have this problems to. This is my /etc/rc.conf for ppp
 
  # User ppp configuration.
  ppp_enable=YES# Start user-ppp (or NO).
  ppp_mode=ddial# Choice of auto, ddial, direct or 
  dedica
  ppp_nat=NO# Use PPP's internal network address translation or 
  NO.
  ppp_profile=prodigy   # Which profile to use from /etc/ppp/ppp.conf.
  ppp_user=root # Which user to run ppp as
 
  I was thinking to create a script that check every 5 minutes the
  link and do something to re-connect, but i dont think is the right
  solution.
 
  Does someone have any idea what can i do  to find the problem and
  fix this...?
 
  FreeBSD 5.4-p8
  Firewall IPFILTER
 
  I have everything enable on the kernel not from modules.
 
   Thanks all for your time.

 To me, this looks like a PPPoE and Path MTU Discovery Problem - for
 the presentation of the problem you can read this (section 6.3) -
 http://66.249.93.104/search?q=cache:eOfdxb4tmkoJ:renaud.waldura.com/doc/freebsd/pppoe/+Renaud+Waldura+%2B+PPPoEhl=enclient=firefox-a.

 You should do the following to establish the Maximum Transmit Unit for
 your connection:

 To see how big are the fragments of the TCP Packets I do the following:

 1. Start tcpdump and ping something with big SMTP packets (I use the
 maximum size for an Ethernet frame):

 [csh prompt]#  tcpdump  tcpdump.dump
 [csh prompt]#  ping -s 1500 www.freebsd.org

 Packets with this size - 1500 bytes will be transmited not as a whole
 packet - this packet will be chopped and transmited in few parts.

 2. Lets look at an excerpt of the tcpdump file:

 vladimir.inana.org.1898  192.168.222.1.domain:  30781+ A? www.freebsd.org. 
 (33)
 vladimir.inana.org  www.freebsd.org: icmp: echo request (frag 1025:[EMAIL 
 PROTECTED])
 vladimir.inana.org  www.freebsd.org: icmp (frag 1025:[EMAIL PROTECTED])
 www.freebsd.org  vladimir.inana.org: icmp: echo reply (frag
 35040:[EMAIL PROTECTED]) [tos 0x16,ECT(0)]
 www.freebsd.org  vladimir.inana.org: icmp (frag 35040:[EMAIL PROTECTED]) [tos
 0x16,ECT(0)]

 We can see clearly that these big packets are splitted in two fragments:

 36B + 1472B = 1508B = 1500B(Ethernet Frame) + 8B(PPPoE Additional 
 Encapsulation)

 3. I set the mtu in the my ppp.conf with the following value:

 1472B + 8B = 1480B

 and my connection works correctly :)

 Good Luck :)
 Vladimir T


   Hi Vladimir.

 Look i setup my kernel for BPF, i test first with data size of
1500 and receive this after some minutes waiting answer:

#ping -s 1500 cvsup4.FreeBSD.org---My near server
--after some minutes Ctrl+c
98 packets transmitted, 0 packets receive, 100% lost

Them i star playing with the -s option and found that i can send
packets no more than 1464 bytes.

1464+8 = 1472 this is my MTU

If i send packets more than this quantity (1464) dont receive any
answer from ping command.

   Before my MTU was 1492 on the /etc/ppp/ppp.conf because i use one
example to setup my DSL modem, them to test i comment MTU and MRU and
start playing with the values.

   I was reading the ppp man page, it says that the default value for
MTU and MRU is 1500 bytes, but like i show you, i cannot send  more
than 1464+8, them i setup both values to 1472 on /etc/ppp/ppp.conf

   set MTU=1472
   set MRU=1472

   My conclusion is correct Vladimir...?

  Thanks for your time.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD 5.4-p8 PPPoE Link Problems...?

2005-11-27 Thread perikillo
   Hi people.

 I have one ISP that give 512Kbps service, they give to me one
modem SpeedStream, i setup everything, before this service was running
on freebsd 4.11-p16(i think ...?), them change all to freebsd 5.4-p8.

The problem here is that sometimes appear the link up:

tun0: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST mtu 1492
inet 201.143.64.40 -- 201.130.144.1 netmask 0x
Opened by PID 236

But if i try to access the Internet, the browser say that i dont
have connection, them i go to my freebsd box, test the connection with
Ping and is correct i lost my connection, i need to manually force the
link to close and again connect.

 I dont know if this problem is from my ISP or is Freebsd, i dont
have a clue where to find the problem to fix this, with freebsd 4.11 i
have this problems to. This is my /etc/rc.conf for ppp

# User ppp configuration.
ppp_enable=YES# Start user-ppp (or NO).
ppp_mode=ddial# Choice of auto, ddial, direct or dedica
ppp_nat=NO# Use PPP's internal network address translation or NO.
ppp_profile=prodigy   # Which profile to use from /etc/ppp/ppp.conf.
ppp_user=root # Which user to run ppp as

I was thinking to create a script that check every 5 minutes the
link and do something to re-connect, but i dont think is the right
solution.

Does someone have any idea what can i do  to find the problem and
fix this...?

FreeBSD 5.4-p8
Firewall IPFILTER

I have everything enable on the kernel not from modules.

 Thanks all for your time.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


About SCSI devices on freebsd 5.4...?

2005-10-21 Thread perikillo
  Hi people, i have this tape: Seagate STD224000N, is plug into one
scsi pci card, freebsd is using this drives:

*ahc
*pass
*sa

   My questions is, i need to setup first the pci-card on my BIOS or
there is no problem if the BIOS dont have the driver?

   This all my doubt, thanks all for your time.

   Freebsd 5.4-p8
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


information of how to use scsi tape drives...?

2005-10-21 Thread perikillo
  Hi i want to know is someone of you knows about some links where i
can find some how-to use tapes drivers(scsi), thanks people.

  I try the man page, but get how to play with my tape...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: About SCSI devices on freebsd 5.4...?

2005-10-21 Thread perikillo
On 10/21/05, Jerry McAllister [EMAIL PROTECTED] wrote:
 
Hi people, i have this tape: Seagate STD224000N, is plug into one
  scsi pci card, freebsd is using this drives:
 
  *ahc
  *pass
  *sa
 
 My questions is, i need to setup first the pci-card on my BIOS or
  there is no problem if the BIOS dont have the driver?

 FreeBSd supplies its own drivers and doesn't depend on BIOS.
 A SCSI tape device is /dev/*sa*

 jerry

 
 This all my doubt, thanks all for your time.
 
 Freebsd 5.4-p8
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to [EMAIL PROTECTED]
 
 



   Thanks Jerry, thats the answer i was waiting!!!
   Greetings.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


root mail is pointing to one user account..?(sendmail)

2005-10-16 Thread perikillo
  Hi people.
  Freebsd 5.4-p8
  tag RELENG_5_4

I need some help, the problem is that for some reason that i still
dont know, my root mail account is pointing to another user, is to
wear, that i really dont know how this happend, i check the /etc/mail/
files and dosnt see any thing wrong, i have 2 user working, root and
another call klabaza(wheel group), to access the system i use klabaza
and them su to get root account.
Today i made the buildworld process, after everything was complete
without any problems, i see one message on my /var/log/maillog saying
that my aliases.db was out of day the i run the newaliases program but
give some errors because i was having the mount point / ro(read only)
them i change /  to rw, and again execute the program newaliases, and
everything was good, before this, root could send mail, after i run
newaliases, change some files propierties because this machine is one
firewall, i execute the command mail and appear this message:
samantha#mail
/var/mail/klabaza

   Is the inbox of the other user, them i check my .cshrc file:

alias h history 25
alias j jobs -l
alias lals -a
alias lfls -FA
alias llls -lA
alias loll -o
alias cls   clear
alias apagarshutdown -r now

# A righteous umask
umask 22

set path = (/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin
/usr/local/bin /usr/X11R6/bin $HOME/bin)

setenv  EDITOR  ee
setenv  PAGER   less
setenv  BLOCKSIZE   K
setenv  CLICOLOR

if ($?prompt) then
# An interactive shell -- set some stuff up
set prompt = `/bin/hostname -s`# 
set filec
set history = 100
set savehist = 100
set mail = (/var/mail/$USER)
if ( $?tcsh ) then
bindkey ^W backward-delete-word
bindkey -k up history-search-backward
bindkey -k down history-search-forward
endif
endif

***
Them i check my vars with set command and found this:

samantha# set
addsuffix
argv()
cwd /root
dirstack/root
echo_style  bsd
edit
filec
gid 0
group   klabaza
history 100
home/root
killring30
mail/var/mail/klabaza
owd /home/klabaza
path(/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin
/usr/local/bin /usr/X11R6/bin /root/bin)
prompt  samantha#
prompt2 %R?
prompt3 CORRECT%R (y|n|e|a)?
savehist100
shell   /bin/csh
shlvl   2
status  0
tcsh6.13.00
termxterm
tty ttyp0
uid 0
userklabaza
version tcsh 6.13.00 (Astron) 2004-05-19 (i386-intel-FreeBSD) options
8b,nls,dl,al,kan,sm,rh,color,dspm,filec


There i found that mail is pointing to the other user...why..?, Ok, if
i echo $USER with the root shell appear this:
samantha#echo $USER
klabaza

  I think this is normal because i am using su to get root access, i
amd right...?

  ok, them i decide to change my .cshrc file and change manually mail
and MAIL var, ok this fix the set problem, but not my problem, because
even if now i exec the mail command, and send some mail with root
account, look this header:

From [EMAIL PROTECTED] Sun Oct 16 03:24:39 2005
Return-Path: [EMAIL PROTECTED]
Received: from samantha.MBX.local (localhost [127.0.0.1])
by samantha.MBX.local (8.13.3/8.13.3) with ESMTP id j9GAOd6J001138
for [EMAIL PROTECTED]; Sun, 16 Oct 2005 03:24:39 -0700 (PDT)
(envelope-from [EMAIL PROTECTED])
Received: (from [EMAIL PROTECTED])
by samantha.MBX.local (8.13.3/8.13.3/Submit) id j9GAOYAH001137
for klabaza; Sun, 16 Oct 2005 03:24:34 -0700 (PDT)
(envelope-from klabaza)
Date: Sun, 16 Oct 2005 03:24:34 -0700 (PDT)
From: User Klabaza moreno [EMAIL PROTECTED]
Message-Id: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: test root.
body: must be root acount.
**
The first line say is the user klabaza and the mail was with the root
account, i receive this mail on the root and klabaza account, i am
receiving the cron mails to the root account, and this appear on some
maillog lines:

 to=localuser, ctladdr=root (26/0), delay=00:00:00, mailer=local,
pri=40422, dsn=5.1.1, stat=User unknown

The localuser dosnt exits, i only change the /etc/mail/aliases line:

# Pretty much everything else in this file points to root, so
# you would do well in either reading root's mailbox or forwarding
# root's email from here.

root: localuser, [EMAIL PROTECTED]-Only this line

# Basic system aliases -- these MUST be present
MAILER-DAEMON: postmaster
postmaster: root

***
I still dont know how to fix this problem, any advised i will
apreciated, thanks all for your time.

freebsd 5.4 and ipnat startup problem...?

2005-10-09 Thread perikillo
  Hi people.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


freebsd 5.4 and ipnat startup problem...?

2005-10-09 Thread perikillo
 Hi people.
   I was using freebsd 4.11 like gateway with ipfilter enable and
ipnat. It was working very good, but after some years start giving me
problems, it was the time to try with 5.4, them i made a fresh freebsd
5.4 installation. Them i update my source and made the buildworld
process and now i have running freebsd 5.4-p7.

   I read the handbook to see if something change in the ipfilter
section but dont see to much different. I change my kernel file to
enable ipfilter plus another secure options, normally on my firewalls
i dont install any X stuff only the necesary stuff to run my
firewalls.

  Setup my /etc/rc.conf to enable ipfilter+ipnat+ipmon+gateway.

  My connection is PPPoE, them i copy those files: ppp.conf +
ppp.linkup from my old machine to my new system and made the changes,
normally the NIC option.

  Copy my ipfilter rules and ipnat rules from my old system to my new
system, them made the neccesary changes on ipfilter.rules because
ipnat.rules dont need to.

   I have on the new system one NIC Intel dual port 82558 Pro/100
Ethernet driver fxp, my PPPoE is conected to fxp1 and my gateway is
fxp0(192.168.0.1).

   Test and after some little changes, i was having my new firewall +
nat system to serve my local machines. I test my windows systems and
it was working, but i found some messages on the startup process:

ioctl(SIOCIPFL6): invalid argument

   Read some ipfilter maillist post and Darren Red say that if we
enable IP6 on the kernel this message disappear, i ask my self, with
do i need that option if only run one simply network with only one
firewall and 2 clients IPv4...?

   Ok, i enable IP6 on the kernel and the message disappear, good.

   Them i found this message:

filter sync'd twice why...? and ipnat wasnt translating
anything to my clients, i can run:

#ipnat -l

And show me the list filter rules, i can ping my local machines
from freebsd and from windows, i can ping internet adreess, like yahoo
or freebsd from my firewall but windows cannot, if i ping with my
firewall outsite address and them run ipnat -l, dosent show any active
sessions...? i think only ipfilter is working but not ipnat...?

Right now i need to manually run ipnat every time i use my
firewall, i have been searching about, but dont see any solution
yet!!!

Another message appear on my startup process:

su: NSSWITCH(nss_method_lookup): nis, passwd_compat, endpwent, not found

   I found with apropos nsswitch.conf, i still dont know about nis to
much, i dont have nothing enable on my rc.conf file about nis, but i
really need this option...?

   Them someone knows how to fix the ipnat problem? and is good to
enable NIS...?

   Thanks all for your time.

   Freebsd 5.4-p7
   ipfilter enable on kernel 3.4.35
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Problems to setup one PCI SCSI Card? Freebsd 5.4-p6

2005-09-03 Thread perikillo
  Hi people i need to install one SCSI PCI card, the chip is support
by freebsd 5.4 hardware using the driver ahc:

 Chip 26160N Adaptec

  I read the man pages for the driver ahc(4), and say this:

SYNOPSIS
 For one or more VL/EISA cards:
 device eisa
 device ahc

 For one or more PCI cards:
 device pci
 device ahc

 To allow PCI adapters to use memory mapped I/O if enabled:
 options AHC_ALLOW_MEMIO

 To configure one or more controllers to assume the target role:
 options AHC_TMODE_ENABLE bitmask of units

 For one or more SCSI busses:
 device scbus

  But i dosent understand what options i need in my kernel config
file, i have by default

device eisa
device pci

   Them i add 
  
device ahc
options AHC_ALLOW_MEMIO


  And them make give me error code 1, i remove options
AHC_ALLOW_MEMIO  and give me again errors, my motherboard dosent have
any internal SCSI stuff.

   This why im here trying to know wich options i need in my kernel
file to add this SCSI card and wich more are available for it...?

  I need to test this card because iam going to setup one backup
system, i need to setup the card first on my BIOS...?
 
  Freebsd 5.4-p6
  Adaptec 26160N PCI 
  
   Thanks in advanced!!!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Seagate STD224000N on Freebsd 5.4?

2005-08-25 Thread perikillo
  Hi people, i want to know if some one from here has the tape drive
Seagate STD224000N running on freebsd 5.4 or wish release, and wich
backup program you have?. Thanks all.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Problems with DNS

2005-08-11 Thread perikillo
   HI all.

 I have one freebsd box running 5.3, i get my IP from one internal
DHCP running NT 4.0, here we have one PDC on NT 4.0, to get to the
outside we pass thru one http proxy and one firewall, i have my user
and password for the proxy, i want to get outside, i install manually
the cvsup program, i download that one from another machine and burn
the file on that machine because i cannot made my freebsd box reach
internet.

 I already setup this variables:

 /root/.cshrc
setenv HTTP_PROXY http://myuser:[EMAIL PROTECTED]:3128
setenv FTP_PROXY http://myuser:[EMAIL PROTECTED]:3128

 /etc/make.conf

FETCH_ENV= HTTP_PROXY=http://myuser:[EMAIL PROTECTED]:8080
FETCH_ENV= FTP_PROXY=http://myuser:[EMAIL PROTECTED]:8080

i have my NIC setup on /etc/rc.conf to get the IP from my DHCP
server, and found my lease on /var/db/dhcp.lease

There i see my info, my domain, i create my /etc/resolv.conf and
input my domain:

nameserver MYDOMAIN   My lease have this 

But went i run cvsup, say that it cannot resolved hostname, i
really dont know what more to do, i read the handbook, but dont find
any good info on the DHCP setup, only talk about the server but not
about how to setup the client, only say some files, dhcp.conf, etc.

   I need to setup those files...?

   I dont have any packages install, because i cannot reach Internet,
i was thinking this was simply, but i dont know what iam doing wrong,
some tips about my problem...?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: cannot connect to Internet...http proxy?

2005-08-10 Thread perikillo
On 02 Aug 2005 09:35:31 -0400, Lowell Gilbert
[EMAIL PROTECTED] wrote:
 perikillo [EMAIL PROTECTED] writes:
 
In my work, we connect to the internet over one http proxy
  (squid) running on fedora, with windows(98/2k/xp) we dont have any
  problem to acces to the outside. I have my user and password, the
  proxy have the IP: 192.168.1.2 Port 3128
 
I need to access to the internet to update my system because i
  only download the mini-iso, and i need to update ports and kernel, i
  need to install some packages, but went the /stand/sysinstall ask me
  how i want to connect to the internet i chose HTTP Proxy, them he ask:
 
  Please enter the address of the http proxy in this format:
  hostname: port (the ':port' is optional, default is 3128 )
 
 I give the IP of my proxy: 192.168.1.2, but he dont ask my user and
  password, and say:
 
  No Such directory: ftp://ftp4.freebsd.org/pub/FreeBSD
  /snapshots/i386/5.3-RELEASE please check URL and try again
 
We use one DHCP server with windows that give the IP, i receive the
  IP, but still cannot connect my freebsd box to the internet, some docs
  say that if we receive our IP address from some DHCP we dont need to
  worry about the DNS. I dont have nothing on /etc/resolv.conf
 
Our subnet is W.X.2.Z  -- my IP is 192.168.2.22
 
I forget something?, i need to ask something more to the person is
  in charge of the Internet access?
 
I really need to setup freebsd, because we need to test some
  software before next friday. Hope you could help me, thanks.
 
 Set the HTTP_PROXY environment variable.
 See man 3 fetch.
 

   Ok, i still have problems connecting my freebsd 5.3 to the outside,
i read man 3 fetch and have this examples:

 man 3 fetch
EXAMPLES
 To access a proxy server on proxy.example.com port 8080, set the
 HTTP_PROXY environment variable in a manner similar to this:

   HTTP_PROXY=http://proxy.example.com:8080

 If the proxy server requires authentication, there are two options avail-
 able for passing the authentication data.  The first method is by using
 the proxy URL:

   HTTP_PROXY=http://user:pwd@proxy.example.com:8080

 The second method is by using the HTTP_PROXY_AUTH environment variable:

   HTTP_PROXY=http://proxy.example.com:8080
   HTTP_PROXY_AUTH=basic:*:user:pwd
*** end man 3 fetch*

  Them i add this to my /root/.cshrc

  setenv HTTP_PROXY http://myusername:[EMAIL PROTECTED]:3128
  setenv http_proxy http://myusername:[EMAIL PROTECTED]:3128

   Where 192.168.1.2 is my internal proxy(squid), that let goes out
side, that proxy is begin the firewall, all running on fedora on the
same box, is my setup correct or i didnt understand well?

I dont get it, it looks very easy, any tip there? 

Thanks in advanced.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Xorg 6.8.2 Big Problems....

2005-08-01 Thread perikillo
On 7/26/05, perikillo [EMAIL PROTECTED] wrote:
 On 7/12/05, perikillo [EMAIL PROTECTED] wrote:
  On 7/12/05, Bernhard Fischer [EMAIL PROTECTED] wrote:
   Hy Perikillo!
  
   I still have the same problem, and also no solution.
   One time I thought I had one, but I was mistaken :-(((
  
   Regards,
   bh
  
  
 Hi Fischer, i test with 5-stable and the same problem, right now
  iam goint to continue with 5.2.1, this one like i say before, really
  works for me and my keyboard, i already test with. Give a try Fischer.
 
 I only test 5.4-Release to see the X system, i have running 4.11
  without any problems, but i want to test the 5 stuff.
 
 But let see what happend, any information about i let you know
  Fischer see you.
 
About this problem, yesterday a buy one new keyboard Genius with a
 lot of keys on it,  i think 24, i really dont remember, but the case
 is that i install again xorg 6.8.2 on a fresh new 5.4 release install,
 without any buildworld or kernel, i think thats not really important
 to test my X system.
 
The think is that i let my system instaling xorg from ports,  on my
 P2, and this morning went i wake up and the installation finish with
 any errors. Them i setup my X system following the Handbook and went i
 run the server...
 
My keyboard was working with the Xterm, i am really happy, i dont
 make to much test on it, because i have to work, but i dont see any
 problems, all my keys where display on the X system, today after work,
 i will install some Windows Manager and make the last test, if
 everything goes great, i will make the buildworld process.
 
Fisher after some weeks, i see light, maybe was my standard
104 keyboard that dosent comunicate very well with the new driver
 kbd on xorg 6.8.2, because i was running xorg  6.8.2 on freebsd
 5.2.1, but the problem here is that this release is not good, a lot of
 ports are broken, this way i invest on one new kbd and try this way,
 and is working.
 
   Hope, you already have working xorg 6.8.2.
 
   Thanks.
 

   Ok guys, finally someone from www.freebsdforums.org give a track
about this problem, before he say that he was having the same problem
with his keyboard and xorg 6.8.2 on freebsd 5.4, and he test the ports
and packages, but before he build a custom kernel, and the keyboard
dosent answer, them he test with the GENERIC kernel and the keyboard
start working.

  Them this weekend i update my system to the lastest RELENG_5_4,
buildworld + buildkernel(custom), xorg was already install form ports,
and my keyboard wasnt answer, them i start from GENERIC and found that
my keyboard start to work, them i start disabling kernel options, i
build about 10 different kernels, and found that some options from
sysco driver SC, was breaking the comunication between xorg and my
kbd, this two:

options  SC_ALT_MOUSE_IMAGE
options  MAXCONS=8

   This is the only options i disable from my custom kernel, right now
is working, i hope maybe on Freebsd 6 this bug or i dont know how to
call this will be fix.

Problem solve.
OS: Freebsd 5.4-p6
Kernel: Custom
X: xorg 6.8.2 --ports
kbd: ps/2 standard 104 keys
mouse: belking USB
Browser: firefox 1.0.6 --ports 
WM: xfce4 --ports.

   Thanks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


cannot connect to Internet...http proxy?

2005-07-31 Thread perikillo
   Hi all.

  In my work, we connect to the internet over one http proxy
(squid) running on fedora, with windows(98/2k/xp) we dont have any
problem to acces to the outside. I have my user and password, the 
proxy have the IP: 192.168.1.2 Port 3128

  I need to access to the internet to update my system because i
only download the mini-iso, and i need to update ports and kernel, i
need to install some packages, but went the /stand/sysinstall ask me
how i want to connect to the internet i chose HTTP Proxy, them he ask:

Please enter the address of the http proxy in this format: 
hostname: port (the ':port' is optional, default is 3128 )

   I give the IP of my proxy: 192.168.1.2, but he dont ask my user and
password, and say:

No Such directory: ftp://ftp4.freebsd.org/pub/FreeBSD
/snapshots/i386/5.3-RELEASE please check URL and try again

  We use one DHCP server with windows that give the IP, i receive the
IP, but still cannot connect my freebsd box to the internet, some docs
say that if we receive our IP address from some DHCP we dont need to
worry about the DNS. I dont have nothing on /etc/resolv.conf

  Our subnet is W.X.2.Z  -- my IP is 192.168.2.22

  I forget something?, i need to ask something more to the person is
in charge of the Internet access?

  I really need to setup freebsd, because we need to test some
software before next friday. Hope you could help me, thanks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Xorg 6.8.2 Big Problems....

2005-07-26 Thread perikillo
On 7/12/05, perikillo [EMAIL PROTECTED] wrote:
 On 7/12/05, Bernhard Fischer [EMAIL PROTECTED] wrote:
  Hy Perikillo!
 
  I still have the same problem, and also no solution.
  One time I thought I had one, but I was mistaken :-(((
 
  Regards,
  bh
 
 
Hi Fischer, i test with 5-stable and the same problem, right now
 iam goint to continue with 5.2.1, this one like i say before, really
 works for me and my keyboard, i already test with. Give a try Fischer.
 
I only test 5.4-Release to see the X system, i have running 4.11
 without any problems, but i want to test the 5 stuff.
 
But let see what happend, any information about i let you know
 Fischer see you.
 
   About this problem, yesterday a buy one new keyboard Genius with a
lot of keys on it,  i think 24, i really dont remember, but the case
is that i install again xorg 6.8.2 on a fresh new 5.4 release install,
without any buildworld or kernel, i think thats not really important
to test my X system.
  
   The think is that i let my system instaling xorg from ports,  on my
P2, and this morning went i wake up and the installation finish with
any errors. Them i setup my X system following the Handbook and went i
run the server...

   My keyboard was working with the Xterm, i am really happy, i dont
make to much test on it, because i have to work, but i dont see any
problems, all my keys where display on the X system, today after work,
i will install some Windows Manager and make the last test, if
everything goes great, i will make the buildworld process.

   Fisher after some weeks, i see light, maybe was my standard
   104 keyboard that dosent comunicate very well with the new driver
kbd on xorg 6.8.2, because i was running xorg  6.8.2 on freebsd
5.2.1, but the problem here is that this release is not good, a lot of
ports are broken, this way i invest on one new kbd and try this way,
and is working.
   
  Hope, you already have working xorg 6.8.2.

  Thanks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Backup Server with Freebsd 5.4. Help.

2005-07-23 Thread perikillo
On 7/23/05, Hornet [EMAIL PROTECTED] wrote:
 On 7/22/05, perikillo [EMAIL PROTECTED] wrote:
  On 7/22/05, lars [EMAIL PROTECTED] wrote:
   perikillo wrote:
  Hi people.
   
 I like to hear some experienced about this situation and see if
is possible:
   
   We have in the company i work, one backup system running Windows NT
4 with some Seagate Backup Exec 7.8 over one SCSI system HP SuRestore
Ultrium 230, this system has working good for some years, but next
week we are going to receive one new Dell server running win server
2k3, this will be our PDC, and we need to get rid of Windows NT system
backup, and i want to install the backup system with Freebsd 5.3 or
5.4 and bacula or another backup system that you now is working with
my HP device.
   
   Them, i can use Freebsd 5.3 or 5.4 with my HP device with bacula or
other software to
backup files on my windows domain? The PDC is going to run win 2k3
here is going to be the files we want to backup.
   Did you check www.bacula.org whether your tape drive is supported by
   Bacula? Or how to setup Bacula on MS Windows?
  
  
 
 Yes, is supported, but the OS dosent appear, this way i want to
  knows if someone has this tape drive working with freebsd 5.3 or 5.4.
 
 About setup bacula under Redmond software, i dont want pay more
  license only to use it like backup system, this why i want to use
  freeebsd, to use one simply hardware and backup my windows files for
  windows 2003.
 
 Some has this configuration?
 
 
 I have always like the bacula software. I have not used it in about a
 year though. This was on a w2k AD domain. The problem only I had using
 it, was the MS agent. It had issues backing up MS systems files. I
 just cron'd MSbackup to backup the system state to a SMB mount, and
 used the agent for everything else. Also you will have to run the
 agent as administrator or an account with-in the administrators group.
 
 If your HP device will work the app mt it should work with bacula.
 Sometimes it will require a bit of hacking.
 

   Thanks for the tip Hornet, it seens that is possible to setup this,
i will start next week this work and if i have problems i will can
back here or if everething goes perfect i will inform you guys.

   Thanks all for your comments, grettings.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mplayer

2005-07-23 Thread perikillo
On 7/23/05, RW [EMAIL PROTECTED] wrote:
 On Saturday 23 July 2005 06:32, Greg 'groggy' Lehey wrote:
 
# cd /usr/ports/multimedia/mplayer
# make install
 
  It's a pig to use, unfortunately.  See
  http://www.lemis.com/grog/videorecorder/packages.html for some
  observations.  If you find something there with which you disagree, or
  which is incomplete, please let me know.
 
 I find it pretty stable, particularly with the sources that matter most: DVDs
 and DivX AVIs.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 
  I setup from ports in my freebsd 5.2.1 release and i have no
problems with. Is working very good.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


join my freebsd box to windows domain?

2005-07-22 Thread perikillo
   Hi all.
  I want to run freebsd 5.4 and join this machine to my windows
2k3 domain, i just want to browse with my freebsd machine the others
windows clients and windows clients browse my box, i just want to be
another machine on the domain, they are running Windows XP and others
2k.

 This is my first time i am going to try this, i want to know if
is posible and wich software i need or where i can find some
information about, i search with google, but all the examples talk
about making freebsd domain member or PDC, is the only way...?

 Them if is posible, i will need samba software? Any information
or link are welcome.

NOTE: i want to setup this machine and be my backup server on my
Redmond domain, this is way im investigate about this, i think that if
i want to make one Unix system to be my backup system for window
domain system i need to be another client on that domain, im right or
wrong???

I have never than this, but i want to give a try.

PDC Windows 2k3
Clients running winXP and win 2k.
Freebsd 5.3 or 5.4.

   Thanks in advanced.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Backup Server with Freebsd 5.4. Help.

2005-07-22 Thread perikillo
  Hi people.

 I like to hear some experienced about this situation and see if
is possible:

   We have in the company i work, one backup system running Windows NT
4 with some Seagate Backup Exec 7.8 over one SCSI system HP SuRestore
Ultrium 230, this system has working good for some years, but next
week we are going to receive one new Dell server running win server
2k3, this will be our PDC, and we need to get rid of Windows NT system
backup, and i want to install the backup system with Freebsd 5.3 or
5.4 and bacula or another backup system that you now is working with
my HP device.

   Them, i can use Freebsd 5.3 or 5.4 with my HP device with bacula or
other software to
backup files on my windows domain? The PDC is going to run win 2k3
here is going to be the files we want to backup.

Thanks in advanced.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Backup Server with Freebsd 5.4. Help.

2005-07-22 Thread perikillo
On 7/22/05, lars [EMAIL PROTECTED] wrote:
 perikillo wrote:
Hi people.
 
   I like to hear some experienced about this situation and see if
  is possible:
 
 We have in the company i work, one backup system running Windows NT
  4 with some Seagate Backup Exec 7.8 over one SCSI system HP SuRestore
  Ultrium 230, this system has working good for some years, but next
  week we are going to receive one new Dell server running win server
  2k3, this will be our PDC, and we need to get rid of Windows NT system
  backup, and i want to install the backup system with Freebsd 5.3 or
  5.4 and bacula or another backup system that you now is working with
  my HP device.
 
 Them, i can use Freebsd 5.3 or 5.4 with my HP device with bacula or
  other software to
  backup files on my windows domain? The PDC is going to run win 2k3
  here is going to be the files we want to backup.
 Did you check www.bacula.org whether your tape drive is supported by
 Bacula? Or how to setup Bacula on MS Windows?
 
 
 
   Yes, is supported, but the OS dosent appear, this way i want to
knows if someone has this tape drive working with freebsd 5.3 or 5.4.

   About setup bacula under Redmond software, i dont want pay more
license only to use it like backup system, this why i want to use
freeebsd, to use one simply hardware and backup my windows files for
windows 2003.

   Some has this configuration?

  Thanks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: join my freebsd box to windows domain?

2005-07-22 Thread perikillo
On 7/22/05, Ross Kendall Axe [EMAIL PROTECTED] wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 perikillo wrote:
 Hi all.
I want to run freebsd 5.4 and join this machine to my windows
  2k3 domain, i just want to browse with my freebsd machine the others
  windows clients and windows clients browse my box, i just want to be
  another machine on the domain, they are running Windows XP and others
  2k.
 
   This is my first time i am going to try this, i want to know if
  is posible and wich software i need or where i can find some
  information about, i search with google, but all the examples talk
  about making freebsd domain member or PDC, is the only way...?
 
 If you want other machines on the network to be able to browse this
 machine, then domain member is probably what you want.  It's all in the
 Samba HOWTO at
 http://us5.samba.org/samba/docs/man/Samba3-HOWTO/domain-member.html#domain-member-server.
 
   Them if is posible, i will need samba software? Any information
  or link are welcome.
 
  NOTE: i want to setup this machine and be my backup server on my
  Redmond domain, this is way im investigate about this, i think that if
  i want to make one Unix system to be my backup system for window
  domain system i need to be another client on that domain, im right or
  wrong???
 
 I'm afraid Samba can only act as a BDC to a _Samba_ PDC, so it looks
 like you're out of luck here. This is also in the Samba HOWTO:
 http://us5.samba.org/samba/docs/man/Samba3-HOWTO/samba-bdc.html#id2549809
 
 Ross
 
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.2.7 (GNU/Linux)
 Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
 
 iD8DBQFC4Lrd9bR4xmappRARApF3AJ9kqvletYcsNjARK/sLUPkYUsrQKwCgtwWY
 znkEsbqcDqG9Zh2h/6Ub3Pk=
 =cVA7
 -END PGP SIGNATURE-
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

   Ok. Resume like Chuck Swiger: 

   you can join a domain as client and backup the share files
 
   This is my objective.

 Thanks to all of you guys, all the information is valuable,
because is my first time on this field, next week is going to start
this change, and iam going to start to read and make some test   with
current system.

IfI i find some problems i will can back i give you the problems
or success of my process.

 Thanks again and greetings to all.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Problems with MySQl Server port

2005-07-17 Thread perikillo
  Hi, i install freebsd 5.2, make the buildworld process and right now
is 5.2.1-RELEASE-p14 FreeBSD 5.2.1-RELEASE-p14.

  I update my ports and start to installing my favorites, then i
decide to setup some IDS, and i could  not install mysql50-server 
port because exit with this error:

pipe -march=pentium2 -D_THREAD_SAFE -MT dbug_analyze.o -MD -MP -MF .deps/dbug_a
nalyze.Tpo -c -o dbug_analyze.o dbug_analyze.c;  then mv -f .deps/dbug_analyze
.Tpo .deps/dbug_analyze.Po; else rm -f .deps/dbug_analyze.Tpo; exit 1; fi
/usr/local/bin/libtool15 --preserve-dup-deps --mode=link cc  -DDBUG_OFF -O -pipe
 -march=pentium2 -D_THREAD_SAFE-o dbug_analyze  dbug_analyze.o libdbug.a ../
mysys/libmysys.a ../strings/libmystrings.a -lc_r -lcrypt -lm  -lc_r
cc -DDBUG_OFF -O -pipe -march=pentium2 -D_THREAD_SAFE -o dbug_analyze dbug_analy
ze.o  libdbug.a ../mysys/libmysys.a ../strings/libmystrings.a -lcrypt -lm
/bin/rm -f example1.r
/usr/bin/sed -e 's!\\!!g' example1.c  example1.r
/bin/rm -f example2.r
/usr/bin/sed -e 's!\\!!g' example2.c  example2.r
/bin/rm -f example3.r
/usr/bin/sed -e 's!\\!!g' example3.c  example3.r
/bin/rm -f main.r
/usr/bin/sed -e 's!\\!!g' main.c  main.r
/bin/rm -f factorial.r
/usr/bin/sed -e 's!\\!!g' factorial.c  factorial.r
./factorial 1 2 3 4 5 | cat  output1.r
./factorial -\#t:o 2 3 | cat output2.r
./factorial -\#d:t:o 3 | cat output3.r
./factorial -\#d,result:o 4 | cat output4.r
./factorial -\#d:f,factorial:F:L:o 3 | cat output5.r
nroff -mm user.r  user.t
user.r:204: warning: can't find font `C'
user.r:773: warning [p 15, 5.8i]: can't break line
user.r:785: warning [p 15, 8.0i]: can't break line
user.r:795: warning [p 15, 9.8i]: can't break line
user.r:812: warning [p 16, 3.7i]: can't break line
user.r:814: warning [p 16, 3.8i]: cannot adjust line
user.r:1038: warning: indent cannot be negative
groff -mm user.r  user.ps
Making all in extra
if cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include  -I../sql -DDBU
G_OFF -O -pipe -march=pentium2 -D_THREAD_SAFE -MT comp_err.o -MD -MP -MF .deps/
comp_err.Tpo -c -o comp_err.o comp_err.c;  then mv -f .deps/comp_err.Tpo .de
ps/comp_err.Po; else rm -f .deps/comp_err.Tpo; exit 1; fi
/usr/local/bin/libtool15 --preserve-dup-deps --mode=link cc  -DDBUG_OFF -O -pipe
 -march=pentium2 -D_THREAD_SAFE-o comp_err  comp_err.o ../mysys/libmysys.a
../dbug/libdbug.a ../strings/libmystrings.a -lc_r -lcrypt -lm  -lc_r
mkdir .libs
cc -DDBUG_OFF -O -pipe -march=pentium2 -D_THREAD_SAFE -o comp_err comp_err.o  ..
/mysys/libmysys.a ../dbug/libdbug.a ../strings/libmystrings.a -lcrypt -lm
../extra/comp_err  --charset=../sql/share/charsets  --out-dir=../sql/share/  --h
eader_file=../include/mysqld_error.h  --name_file=../include/mysqld_ername.h  --
state_file=../include/sql_state.h  --in_file=../sql/share/errmsg.txt
Segmentation fault (core dumped)
*** Error code 139

Stop in /usr/ports/databases/mysql50-server/work/mysql-5.0.9-beta/extra.
*** Error code 1

Stop in /usr/ports/databases/mysql50-server/work/mysql-5.0.9-beta.
*** Error code 1

Stop in /usr/ports/databases/mysql50-server/work/mysql-5.0.9-beta.
*** Error code 1

Stop in /usr/ports/databases/mysql50-server.


   I install first Mysql client without any problems, i am using
freebsd 5.2 because with 5.3, 5.4 and 5-stable my keyboard dosent work
with Xorg, and the only version of Xorg that is working very weel is
this one i am using right now to write this email,

xorg-6.7.0_1X.Org distribution metaport

  And is the package, not the port.

 Then about the error of mysql, someone knows how to fix this error?

  I have mysql4 and mysql41 options, but right now i want to know is
exist some patch for this.

  Thanks all.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: securing FreeBSD

2005-07-13 Thread perikillo
On 7/13/05, Greg Barniskis [EMAIL PROTECTED] wrote:
 [EMAIL PROTECTED] wrote:
  hi guys
 
  I would like to secure my FreeBSD server.
  I don't want anyone to be able to access to the disk using a bootable CD 
  (or by
  setting the actual hdd to secondary and plug an other primary hdd).
 
  I just don't want anyone to be able to hack this box nor any password.
 
  Do you have a solution?
 
 Securing a platform against a determined attacker who can put their
 hands on the physical hardware is a significant challenge for any
 OS. To protect against the type of attack you describe, encrypting
 all disk content (or at least the sensitive parts) is probably the
 only effective thing you can do, short of sealing the whole thing
 inside some other physically protected environment.
 
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/disks-encrypting.html
 
 Short of that, you could use a case with a trigger mechanism that
 informs the BIOS that the case has been opened, so that a warning is
 emitted at boot time re: physical security has been violated. Of
 course, that doesn't prevent intrusion, it just tells you that it
 occurred (and then, only if the intruder doesn't also violate your
 BIOS security and simply reset the case has been opened bits).
 
 --
 Greg Barniskis, Computer Systems Integrator
 South Central Library System (SCLS)
 Library Interchange Network (LINK)
 gregb at scls.lib.wi.us, (608) 266-6348
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

  Plus, use google: +hardening freebsd.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Xorg 6.8.2 Big Problems....

2005-07-07 Thread perikillo
   MY KEYBOARD DOSENT RESPOND

  Hi i have almost 1 month trying to run xorg, the problem is my
keyboard, went i run

test#startx
  
  X window system start, my mouse is working, but my keyboard dosent
respond to anything.

If i test the xorg config:

test# Xorg -config xorg.conf.new

  The black and grey grid and an X mouse cursor appear, if i press
Ctrl+Alt+Backspace my keyboard respond and send me back to my shell.

  Now, i have been testing with freebsd 5.3 and 5.4 release, i see
that on both release we have xorg 6.8.2, and they are using the new
driver kbd, i see that we have the choice to use the old driver
keyboard, i change my x.org config file and the driver, but the same
results no answer from my keyboard.

  Another thing, went i test my keyboard pressing different keys, went
i kill my session with the mouse option Kill, i found all the time
strange characters on my shell, example this are from today in the
morning test:

xauth: (argv):1:  bad display name devhora:0 in remove command
^_^^ Ÿ9 ^_ž ^YŸ¹^^™9ž¦^\+^^:ºœ«ž ^\¹œ^NŽ^NŽ^]8^NŽ^NŽ^\œ^NŽ^\œ^NŽ^O^R
œ^NŽ:º^O^R
œ^NŽ:º:^O^R
œ^NŽ:º:º^A;¼»à57EൕGÅÇNÎKOËÏà^\RSàœÓÒàMàPàKàÐàÍàËàOàQàSàÑàÏFàRÆàÒàÓ^[^Zloa
d: 0.66  cmd: csh 479 [running] 0.15u 0.04s 0% 1944k
¹•!/load: 0.66  cmd: csh 479 [running] 0.15u 0.04s 0% 1944k
¯¡ 9¹ ¸devhora#

 devhora is the name of my computer. 

My xorg.conf files have been made with this two options:

test# Xorg -config xorg.conf.new
 
and

test# xorgconfig

But no results with any of both options. I read my X log on
/var/log/X.org.0.log but any errors appear.

I have another system running freebsd 5.2.1-Release and the X system
is working very well,  on this system my keyboard is working, i see
that here the xorg version is  6.8.2 and the xorg is not using the
new driver kbd, we still using the old driver keyboard.

Them, i was thinking that maybe my keyboard was the problem but went i
test with 5.2.1 i see that is not, i think the new drivers is the
problem.

I have my xorg files, log, dmesg, if someone could help me how to fix
this i will apreciate, i dont know if someone else has this problem
right now with xorg 6.8.2, someone from this list say to me that after
he change his system to 5 stable, his keyboard start to work, but, i
am going to try to see if i can find the problem, iam not a guru but i
can read the files.

Thanks all for your time, i hope we can fix this little problem, if
not i will test with 5 stable i send the results.

I dont want this mail to be to long i only going to put my Xorg log
from /var/log/, i someone need more information just ask for it, and i
with pleasure send the info.

 greetings.

NOTE: 
 Test with with out any succes:
  -Freebsd 5.3 Release + buildworld + ports update  -- p17
  -Freebsd 5.4 Release + buildworld + ports update  -- p3
  Xorg 6.8.2 from porst and packages.

 Test with success
 -Freebsd 5.2.1 Release + buildworld + ports update
 -Xorg version  6.8.2 from packages of Release 5.3.

Hardware:
Mouse: USB Belkin
Keyboard: standard 104 keys PS/2.
Motherbaord: P6SBA
CPU: PII 266MHZ
RAM: 384 SDIM PC-100.

  My Log:

X Window System Version 6.8.2
Release Date: 9 February 2005
X Protocol Version 11, Revision 0, Release 6.8.2
Build Operating System: FreeBSD 5.3 i386 [ELF] 
Current Operating System: FreeBSD devhora 5.3-RELEASE-p17 FreeBSD
5.3-RELEASE-p17 #0: Wed Jul  6 19:29:53 PDT 2005
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/DEVHORA i386
Build Date: 07 July 2005
Before reporting problems, check http://wiki.X.Org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: /var/log/Xorg.0.log, Time: Thu Jul  7 06:24:39 2005
(==) Using config file: /etc/X11/xorg.conf
(==) ServerLayout Simple Layout
(**) |--Screen Screen 1 (0)
(**) |   |--Monitor My Monitor
(**) |   |--Device Diamond Fire GL 1000 PRO
(**) |--Input Device Mouse0
(**) |--Input Device Keyboard0
(WW) `fonts.dir' not found (or not valid) in /usr/X11R6/lib/X11/fonts/local/.
Entry deleted from font path.
(Run 'mkfontdir' on /usr/X11R6/lib/X11/fonts/local/).
(**) FontPath set to
/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/TTF/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/
(**) RgbPath set to /usr/X11R6/lib/X11/rgb
(==) ModulePath set to /usr/X11R6/lib/modules
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.2
X.Org Video Driver: 0.7
X.Org XInput driver : 0.4
X.Org Server Extension : 0.2
X.Org Font Renderer : 0.4
(II) Loader running on freebsd
(II) LoadModule: bitmap
(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a
(II) Module bitmap: vendor=X.Org Foundation

  1   2   >