Re: Mysql postfix SASL cyrus imap problem
As a short note - Try adding something like the following to your imapd.conf if you you want that Cyrus authenticates against your RDBMS as well ... #sasl_auxprop_plugin: sql #sasl_sql_engine: pgsql #sasl_sql_hostnames: postgresql.abyssworld.de #sasl_sql_user: haischt #sasl_sql_passwd: access4odin #sasl_sql_database: sasl2_auxprop #sasl_sql_select: SELECT %p FROM user_table WHERE username = '%u' and realm = '%r' ... and as a 2nd note - Make sure that the directory where the lmtp socket etc. should be created exists and is readable by the cyrus user account. Jason M aka Talon schrieb: Sorry if this was a double post my subscribe was not working :( Im not sure if the original mail went through. Hi All I have a problem with my cyrus imap / mysql install after 3 days on google looking around i am ripping my hair out I have tried everything i have found in the faq's / howto's but just cant seem to get it to work. Postfix works nicely and delivers to maildir etc when i use the sasldb for cyrus i have no problems users can log in auxprop has not been nice to me g. If any one has the time could they have a look at my configuration and give me a pointer on what I am doing wrong. Any help would be greatly appreciated Regards Jason M aka Talon (talonz[at]gmail.com) ### ## version information OS FreeBSD 5.3-RELEASE-p5 Postfix Version postfix 2.1.5 MySQL server version: 5.0.0-alpha Cyrus Version cyrus-imapd 2.2.10 SASL Version cyrus-sasl 2.1.20 All installed from ports ### ## /var/log/messages :: Errors when imapd is started forsaken master[60842]: process started forsaken ctl_cyrusdb[60843]: recovering cyrus databases forsaken ctl_cyrusdb[60843]: skiplist: recovered /var/imap/mailboxes.db (3 records, 584 bytes) in 0 seconds forsaken ctl_cyrusdb[60843]: skiplist: recovered /var/imap/annotations.db (0 records, 144 bytes) in 0 seconds forsaken ctl_cyrusdb[60843]: done recovering cyrus databases forsaken master[60842]: unable to create lmtpunix listener socket: No such file or directory forsaken master[60842]: ready for work forsaken ctl_cyrusdb[60844]: checkpointing cyrus databases forsaken ctl_cyrusdb[60844]: DBERROR: error listing log files: DB_NOTFOUND: No matching key/data pair found forsaken ctl_cyrusdb[60844]: DBERROR: archive /var/imap/db: cyrusdb error forsaken ctl_cyrusdb[60844]: DBERROR: error listing log files: DB_NOTFOUND: No matching key/data pair found forsaken ctl_cyrusdb[60844]: DBERROR: archive /var/imap/db: cyrusdb error forsaken ctl_cyrusdb[60844]: done checkpointing cyrus databases ### ## Login errors (after telnet localhost imap // o login test test) ## this is the bit that has me stumped forsaken imap[60846]: sql_select option missing forsaken imap[60846]: auxpropfunc error no mechanism available forsaken imap[60846]: no user in db forsaken imap[60846]: no user in db forsaken imap[60846]: badlogin: localhost [127.0.0.1] plaintext test SASL(-13): user not found: checkpass failed ### ## Start Configuration ### ## postfix main.cf queue_directory = /var/spool/postfix command_directory = /usr/local/sbin daemon_directory = /usr/local/libexec/postfix mail_owner = postfix myhostname = forsaken.unix.org.au mydomain = unix.org.au inet_interfaces = all mydestination = $myhostname, localhost.$mydomain, localhost unknown_local_recipient_reject_code = 550 relay_domains = $mydestination debug_peer_level = 2 debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin xxgdb $daemon_directory/$process_name $process_id sleep 5 sendmail_path = /usr/local/sbin/sendmail newaliases_path = /usr/local/bin/newaliases mailq_path = /usr/local/bin/mailq setgid_group = maildrop html_directory = no manpage_directory = /usr/local/man sample_directory = /usr/local/etc/postfix readme_directory = no # header/body checking header_checks = regexp:/usr/local/etc/postfix/header_checks body_checks = regexp:/usr/local/etc/postfix/body_checks # use cyrus or virtual mailbox_transport = cyrus virtual_alias_maps = mysql:/usr/local/etc/postfix/mysql_virtual_alias_maps.cf virtual_gid_maps = static:125 virtual_mailbox_base = /usr/local/virtual virtual_mailbox_domains = mysql:/usr/local/etc/postfix/mysql_virtual_domains_maps.cf virtual_mailbox_limit = 5120 virtual_mailbox_maps = mysql:/usr/local/etc/postfix/mysql_virtual_mailbox_maps.cf virtual_minimum_uid = 125 # use cyrus or
Re: IPFW or pf?
Andreas Davour [EMAIL PROTECTED] writes: Can someone tell me if it's ok to just use IPFW on my STABLE system, or is there some other knobs in the kernelconfig I should toggle to turn off pf support? By default pf is compiled as a loadable module, which you load if you want to run pf, leave alone otherwise. Removing all traces of pf would likely take a bit of effort. -- Peter N. M. Hansteen, member of the first RFC 1149 implementation team http://www.blug.linux.no/rfc1149/ http://www.datadok.no/ http://www.nuug.no/ First, we kill all the spammers The Usenet Bard, Twice-forwarded tales ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
mozilla port issues
I've been working on upgrading 85 ports with portmanager -u for the last couple days. Had to restart it a few times, but little by little it seems to be whittling down the number of outstanding packages. Couple questions though... 1) a lot of the gnome stuff doesn't seem to be getting done... did I read something recently about portmanager not being able to upgrade gnome currently? Or some difficulty with gnome? 2) several of my remaining ports say that they're waiting on mozilla-1.7.5_1,2 as a dependency, but if I try to upgrade that, it stops, saying there are security issues with mozilla and I need to update my ports tree. I've updated several times however... What else do I need to do? 3) portmanager periodically says that it's missing nautilus-media-0.8.1_1... any idea why that would be? thnks, Ben PS: crap, I just remembered the UPDATING file... I see in there that I can't use portupgrade to update gnome... does that mean it won't work with portmanager either? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: IPFW or pf?
Andreas Davour [EMAIL PROTECTED] writes: So, the base systems ships with two firewalls? Three, actually - ipfw, ipf and pf. There's a brief explanation why in the handbook at http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/firewalls-apps.html I prefer pf myself, but which one to use is really down to personal preference. I'd recommend following the Handbook's advice and do a bit of reading and experimenting. I hope to get around to updating my pf tutorial soonish (see http://www.bgnett.no/~peter/pf/en/ if you're interested - or http://www.bgnett.no/~peter/pf/no/ if you prefer the Norwegian version) -- Peter N. M. Hansteen, member of the first RFC 1149 implementation team http://www.blug.linux.no/rfc1149/ http://www.datadok.no/ http://www.nuug.no/ First, we kill all the spammers The Usenet Bard, Twice-forwarded tales ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
oo.org unkillable process
Hello, I recently installed OO.org via the ports. When I start one of its applications the program freezes and I can't kill the process, not even as root with #kill -9 PID I found some related messages in the freebsd-current mailling list, but I could not find a solution. http://lists.freebsd.org/mailman/htdig/freebsd-current/2004-November/042264. html http://lists.freebsd.org/mailman/htdig/freebsd-current/2004-November/042162. html http://lists.freebsd.org/mailman/htdig/freebsd-current/2004-November/04. html http://lists.freebsd.org/mailman/htdig/freebsd-current/2004-November/042204. html http://lists.freebsd.org/mailman/htdig/freebsd-current/2004-November/042488. html http://lists.freebsd.org/mailman/htdig/freebsd-current/2004-November/042156. html Does anybody have an idea? Freek ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Backup on DDS-4 tapes
--pP0ycGQONqsnqIMP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Monday, 14 March 2005 at 10:38:02 +0100, Ludo Koren wrote: Hi, I am using 5.2.1-RELEASE-p3 for backup on DDS-4 tapes 40GB in size. ... Why I cannot dump the filesystem on 2 tapes (it takes 3, it seems it works without compression) no matter if I use dump or cpio? What I am doing wrong? You're using dump :-) Dump is too stupid to understand compression or EOF marks, so it errs on the side of caution. It's also IMO not a very good backup medium unless you really want the incremental dump facility. Even between different releases of FreeBSD there are compatibility problems, and you can assume that there is no compatibility at all between different operating systems. You may find tar a better choice. Surprisingly http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/backup-basics.html in 16.1.7 suggests dump, though as the reference is used (maybe) outdated E. Zwicky link... Anyway, cpio cannot handle the problem too, and the tar in 5.2.1-RELEASE-p3 can handle multi-volume backup, but in the 5.3-STABLE don't according to the man page. I wonder what is then the best solution. Regards, lk ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Backup on DDS-4 tapes
# /sbin/dump -Lu0 -B 41943040 -C 32 -f /dev/sa0 /usr I would guess that your tape drive does hardware compression in which case the amount of data which fits on a tape is variable. In such a case you can't tell dump how big the tape is -- I haven't used options like -B since 1600bpi reel-to-reel tapes, except in my day you specified how many feet of tape you had :-) from man dump -a ``auto-size''. Bypass all tape length considerations, and enforce writing until an end-of-media indication is returned. This fits best for most modern tape drives. Use of this option is particularly recommended when appending to an existing tape, or using a tape drive with hardware compression (where you can never be sure about the compression ratio). It doesn't help either... The result is the same. Don't know -L, must be a 5.x thing. Try: -L This option is to notify dump that it is dumping a live file sys- tem. To obtain a consistent dump image, dump takes a snapshot of the file system in the .snap directory in the root of the filesystem being dumped and then does a dump of the snapshot. The snapshot is removed when the dump is complete. If the .snap directory does not exist in the root of the filesystem being dumped, the dump will fail. This problem can be corrected by creating a .snap directory in the root of the filesystem to be dumped; its owner should be root, its group should be operator, and its mode should be 0770. /sbin/dump -Lu0 -a -C 32 -f /dev/sa0 /usr I use -b 64 as well. Use cpio/tar at your peril as they may not do devices right and may not understand filesystem flags. --Alex lk ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Backup on DDS-4 tapes
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Ludo Koren Sent: Wednesday, March 16, 2005 1:19 AM To: [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Subject: Re: Backup on DDS-4 tapes Anyway, cpio cannot handle the problem too, and the tar in 5.2.1-RELEASE-p3 can handle multi-volume backup, but in the 5.3-STABLE don't according to the man page. I have never found multivolume tar archives to work unless I defined the size of each tape. Waiting for the tape device to return an EOT to the tar program always ended up with junk. If the tar in 5.3 doesen't have this option any longer why don't you compile a tar that does? Anyway, I think your problem is your tape device has it's dip switch set to disable compression. In that position it takes a SCSI command to turn compression on. If you flip the switch then the tape device starts with compression on, and it takes a scsi command to turn it off. This is hardware compression I am referring to, of course. Ted ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
sysinstall/fdisk drive geometry problem
Hello I finally got another hdd for my home box, decided to do a fresh fbsd install and I ended up with a disk problem :( : ide0: 40GB [FreeBSD wannabe (ufs2) 10GB, storage2 (fat32) 30GB] ide2: 40GB [WinXP (ntfs) 10GB, storage1 (fat32) 30GB] Now when I begin the installation, and go to the partitioning section, fdisk complains about drive geometry and rearranges the drive. Here are the settings: cyls/heads/sectors 19xxx/16/255 (BIOS) 7xxx/16/63 (dmesg this is what fbsd complains to) 4xxx/255/63 (the new fdisk rearrangement) and FreeBSD's fdisk seems to get off on setting the head count to 255!!! I tried setting the bios value and fdisk complains again, but for some reason when I swap the heads and sectors values it does not. Same goes for the dmesg values (drive geometry from the dmesg output). Since I have no experience with changing drive geometry, nor do I understand the bloody thing, I have several issues: - Will I loose the data on 'storage2' if I change the drive geometry? - How should I set up the new drive geometry? What setting is faster/better? more cyls or more sectors (since fdisk is set to use 255 heads)? - If I backup 'storage2', change drive geometry as fbsd/fdisk suggests (or whatever), create a 10g slice and leave the other space unpartitioned, will I be able to partition and format the drive to fat32 from WinXP? That's about it... any examples would be great! thanks ahead! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Shared object libintl.so.5 not found error wheninstallinglogrotate port - how to solve this?
Hi, Firstly, thanks for your reply! No, you have the right version of gettext but you didn't address the problem. I feared as much...:( Soo, the question then winds down to how to resolve this. Can anyone tell me how I can fix this problem? Well, you have a mix bag set of references to gettext. Ports you haven't rebuilt are still refering to the old library. The interface changed between .so.5 and .so.6 and you have to rebuild everything that uses libintl. Hmmm, to be honest, I'm not certain how I can best fix this. It is my live server which is up 24/7, and of which I'd rather not break anything just to get logrotate going I considered trying to install it as a package using sysinstall, but that complains that the fbsd 5.2.1 distribution cannot be found on the FTP servers anymore. Ideally, I'd like to (re)build the logrotate port such that it will work. I guess that does involve doing what you say: rebuilding everything that depends on the conflicting library. However, I do not know exactly how to do this. Can anyone perhaps tell me how I can find out which ports depend on this library, and how I can correctly update the lot such that it will all work, and such that I can install the logrotate port correctly? Cheers! Olafo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mozilla port issues
On Wednesday 16 March 2005 12:50 am, Ben Munat wrote: I've been working on upgrading 85 ports with portmanager -u for the last couple days. Had to restart it a few times, but little by little it seems to be whittling down the number of outstanding packages. Couple questions though... 1) a lot of the gnome stuff doesn't seem to be getting done... did I read something recently about portmanager not being able to upgrade gnome currently? Or some difficulty with gnome? 2) several of my remaining ports say that they're waiting on mozilla-1.7.5_1,2 as a dependency, but if I try to upgrade that, it stops, saying there are security issues with mozilla and I need to update my ports tree. I've updated several times however... What else do I need to do? 3) portmanager periodically says that it's missing nautilus-media-0.8.1_1... any idea why that would be? nautilus-media-0.8.1_1 is no longer in ports, see the bottom of /usr/ports/MOVED. Eventually when the ports that used to depend on it are upgraded you will stop seeing that message, thnks, Ben PS: crap, I just remembered the UPDATING file... I see in there that I can't use portupgrade to update gnome... does that mean it won't work with portmanager either? Until the upgrade is done you should set DISABLE_VULNERABILITIES=YES in your make file. portmanager will be able to do the upgrade, but when it can't upgrade one port like mozilla it won't upgrade anything that depends on mozilla either. -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
SSH with Kerberos authentication
Hi *, I get stucked for several hours with configuring SSH authentication via Kerberos. I tested the same configuration on Linux and there was no problem. I suspect pam_krb5.so. My requisities: FreeBSD 5.3-RELEASE-p5 Kerberos comming with base system (heimdal implementation (Heimdal 0.6.1)) in /etc/krb5.conf [libdefaults] default_realm = ATREY [realms] ATREY = { kdc = 172.16.10.1 kpasswd_server = 172.16.10.1 } [logging] kdc = FILE:/var/log/kdc.log kdc = SYSLOG:DEBUG default = SYSLOG:DEBUG:USER [appdefaults] kinit = { forwardable= true } [kdc] database = { realm = ATREY } require-preauth = no v4-realm= ATREY key-file = /var/heimdal/heimdal.mkey in /etc/pam.d/sshd have: authsufficient pam_krb5.so try_first_pass debug authrequiredpam_unix.so account required pam_krb5.so debug session optional pam_krb5.so debug password sufficient pam_krb5.so debug From client view : debug1: Authentications that can continue: publickey,gssapi-with-mic,password,keyboard-interactive debug1: Next authentication method: gssapi-with-mic debug1: Authentications that can continue: publickey,gssapi-with-mic,password,keyboard-interactive debug1: Next authentication method: publickey debug1: Trying private key: /home/dvorakv/.ssh/identity debug1: Trying private key: /home/dvorakv/.ssh/id_rsa debug1: Trying private key: /home/dvorakv/.ssh/id_dsa debug1: Next authentication method: keyboard-interactive Password: pam_krb5: pam_sm_authenticate: Kerberos 5 error pam_krb5: pam_sm_authenticate: Kerberos 5 refuses you At server site in /var/log/auth.log there is notning to public. :-( In /var/log/kdc.log : What more - debug parameter standing after pam_krb5.so doesn`t increase verbosity of output. Here is my configuration method: 1.kstash Password: 2. edit /etc/krb5.conf 3. kadmin -l kadmin init ATREY .. 4. add principals kadmin add dvorakv 5. run kdc,kpasswd,kadmind /etc/rc.d/{kerberos,kadmind,kpasswd} start 6. test if i can get a ticket kinit dvorakv password: [EMAIL PROTECTED]:~$ kinit dvorakv [EMAIL PROTECTED]'s Password: kinit: NOTICE: ticket renewable lifetime is 1 week everything ok, but SSH and PAM! :-( And the last remark - this server runs in jail(8) - but there shouldn`t be a problem. Any ideas ? Is /etc/pam.d/sshd correct ? Is there anything what I am missing ? Is there anything special in FreeBSD besides Linux. Thank you, Vladimir ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
5.3-RELEASE-p5 reboots, ahd(4) debug messages on reboot
Hello, Our fileserver with a raid cabinet attached reboots about every two weeks. What could be causing this? OS Version: FreeBSD 5.3-RELEASE-p5 Server brand: Supermicro 6018-P8 Server purpose: Hosting files using Samba 3 and NFS with 400 clients. SCSI cabinet: 2U EonStore A08-G1410. A RAID5+1 being exported as single U160 device to the HBA. Boot messages after crash: Mar 10 10:09:21 kern.crit filer kernel: Waiting 15 seconds for SCSI devices to settle Mar 10 10:09:21 kern.crit filer kernel: ahd0: Invalid Sequencer interrupt occurred. Mar 10 10:09:21 kern.crit filer kernel: Dump Card State Begins Mar 10 10:09:21 kern.crit filer kernel: ahd0: Dumping Card State at program address 0x23b Mode 0x0 Mar 10 10:09:21 kern.crit filer kernel: Card was paused Mar 10 10:09:21 kern.crit filer kernel: INTSTAT[0x0] SELOID[0x0] SELID[0x10] HS_MAILBOX[0x0] Mar 10 10:09:21 kern.crit filer kernel: INTCTL[0x80]:(SWTMINTMASK) SEQINTSTAT[0x0] SAVED_MODE[0x11] Mar 10 10:09:21 kern.crit filer kernel: DFFSTAT[0x33]:(CURRFIFO_NONE|FIFO0FREE|FIFO1FREE) Mar 10 10:09:21 kern.crit filer kernel: SCSISIGI[0x0]:(P_DATAOUT) SCSIPHASE[0x0] SCSIBUS[0x0] Mar 10 10:09:21 kern.crit filer kernel: LASTPHASE[0x1]:(P_DATAOUT|P_BUSFREE) SCSISEQ0[0x0] Mar 10 10:09:21 kern.crit filer kernel: SCSISEQ1[0x12]:(ENAUTOATNP|ENRSELI) SEQCTL0[0x0] SEQINTCTL[0x6]:(INTMASK1|INTMASK2) Mar 10 10:09:21 kern.crit filer kernel: SEQ_FLAGS[0x0] SEQ_FLAGS2[0x0] QFREEZE_COUNT[0x3] Mar 10 10:09:21 kern.crit filer kernel: KERNEL_QFREEZE_COUNT[0x3] MK_MESSAGE_SCB[0xff00] MK_MESSAGE_SCSIID[0xff] Mar 10 10:09:21 kern.crit filer kernel: SSTAT0[0x0] SSTAT1[0x0] SSTAT2[0x0] SSTAT3[0x0] PERRDIAG[0x0] Mar 10 10:09:21 kern.crit filer kernel: SIMODE1[0xa4]:(ENSCSIPERR|ENSCSIRST|ENSELTIMO) LQISTAT0[0x0] Mar 10 10:09:21 kern.crit filer kernel: LQISTAT1[0x0] LQISTAT2[0x0] LQOSTAT0[0x0] LQOSTAT1[0x0] Mar 10 10:09:21 kern.crit filer kernel: LQOSTAT2[0x0] Mar 10 10:09:21 kern.crit filer kernel: Mar 10 10:09:21 kern.crit filer kernel: SCB Count = 16 CMDS_PENDING = 0 LASTSCB 0x CURRSCB 0xf NEXTSCB 0xff00 Mar 10 10:09:21 kern.crit filer kernel: qinstart = 39 qinfifonext = 39 Mar 10 10:09:21 kern.crit filer kernel: QINFIFO: Mar 10 10:09:21 kern.crit filer kernel: WAITING_TID_QUEUES: Mar 10 10:09:21 kern.crit filer kernel: Pending list: Mar 10 10:09:21 kern.crit filer kernel: Total 0 Mar 10 10:09:21 kern.crit filer kernel: Kernel Free SCB list: 15 14 9 1 2 3 4 5 6 7 8 10 11 12 13 0 Mar 10 10:09:21 kern.crit filer kernel: Sequencer Complete DMA-inprog list: Mar 10 10:09:21 kern.crit filer kernel: Sequencer Complete list: Mar 10 10:09:21 kern.crit filer kernel: Sequencer DMA-Up and Complete list: Mar 10 10:09:21 kern.crit filer kernel: Sequencer On QFreeze and Complete list: Mar 10 10:09:21 kern.crit filer kernel: Mar 10 10:09:21 kern.crit filer kernel: Mar 10 10:09:21 kern.crit filer kernel: ahd0: FIFO0 Free, LONGJMP == 0x8000, SCB 0xe Mar 10 10:09:21 kern.crit filer kernel: SEQIMODE[0x3f]:(ENCFG4TCMD|ENCFG4ICMD|ENCFG4TSTAT|ENCFG4ISTAT|ENCFG4DATA|ENSAVEPTRS) Mar 10 10:09:21 kern.crit filer kernel: SEQINTSRC[0x0] DFCNTRL[0x0] DFSTATUS[0x89]:(FIFOEMP|HDONE|PRELOAD_AVAIL) Mar 10 10:09:21 kern.crit filer kernel: SG_CACHE_SHADOW[0x2]:(LAST_SEG) SG_STATE[0x0] DFFSXFRCTL[0x0] Mar 10 10:09:21 kern.crit filer kernel: SOFFCNT[0x0] MDFFSTAT[0x5]:(FIFOFREE|DLZERO) SHADDR = 0x00, SHCNT = 0x0 Mar 10 10:09:21 kern.crit filer kernel: HADDR = 0x00, HCNT = 0x0 CCSGCTL[0x10]:(SG_CACHE_AVAIL) Mar 10 10:09:21 kern.crit filer kernel: Mar 10 10:09:21 kern.crit filer kernel: ahd0: FIFO1 Free, LONGJMP == 0x8063, SCB 0xf Mar 10 10:09:21 kern.crit filer kernel: SEQIMODE[0x3f]:(ENCFG4TCMD|ENCFG4ICMD|ENCFG4TSTAT|ENCFG4ISTAT|ENCFG4DATA|ENSAVEPTRS) Mar 10 10:09:21 kern.crit filer kernel: SEQINTSRC[0x0] DFCNTRL[0x0] DFSTATUS[0x89]:(FIFOEMP|HDONE|PRELOAD_AVAIL) Mar 10 10:09:21 kern.crit filer kernel: SG_CACHE_SHADOW[0x2]:(LAST_SEG) SG_STATE[0x0] DFFSXFRCTL[0x0] Mar 10 10:09:21 kern.crit filer kernel: SOFFCNT[0x0] MDFFSTAT[0x5]:(FIFOFREE|DLZERO) SHADDR = 0x00, SHCNT = 0x0 Mar 10 10:09:21 kern.crit filer kernel: HADDR = 0x00, HCNT = 0x0 CCSGCTL[0x10]:(SG_CACHE_AVAIL) Mar 10 10:09:21 kern.crit filer kernel: LQIN: 0x8 0x0 0x0 0xe 0x0 0x1 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 Mar 10 10:09:21 kern.crit filer kernel: ahd0: LQISTATE = 0x0, LQOSTATE = 0x0, OPTIONMODE = 0x42 Mar 10 10:09:21 kern.crit filer kernel: ahd0: OS_SPACE_CNT = 0x20 MAXCMDCNT = 0x1 Mar 10 10:09:21 kern.crit filer kernel: ahd0: SAVED_SCSIID = 0x0 SAVED_LUN = 0x0 Mar 10 10:09:21 kern.crit filer kernel: Mar 10 10:09:21 kern.crit filer kernel: SIMODE0[0xc]:(ENOVERRUN|ENIOERR) Mar 10 10:09:21 kern.crit filer kernel: CCSCBCTL[0x4]:(CCSCBDIR) Mar 10 10:09:21 kern.crit filer kernel: ahd0: REG0 == 0xd501, SINDEX = 0x10e, DINDEX = 0x102 Mar 10 10:09:21 kern.crit filer kernel: ahd0: SCBPTR == 0xe, SCB_NEXT == 0xff00, SCB_NEXT2 == 0xff36 Mar 10 10:09:21 kern.crit filer kernel: CDB 12 20 0 80 8 55 Mar 10
RE: 5.3-RELEASE-p5 reboots, ahd(4) debug messages on reboot
You have some Seagates running at 320.000MB/s transfers (160.000MHz, offset 63, 16bit), and a IFT A08U-G1A3 341B running at 160.000MB/s transfers (80.000MHz, offset 62, 16bit) and they appear to be on the same cable? Interesting that Anthony is having a similar problem, same kind of thing although different scsi adapter and driver. You both ought to compare notes. Ted -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Leroy van Logchem Sent: Wednesday, March 16, 2005 2:36 AM To: freebsd-questions@freebsd.org Subject: 5.3-RELEASE-p5 reboots, ahd(4) debug messages on reboot Hello, Our fileserver with a raid cabinet attached reboots about every two weeks. What could be causing this? OS Version: FreeBSD 5.3-RELEASE-p5 Server brand: Supermicro 6018-P8 Server purpose: Hosting files using Samba 3 and NFS with 400 clients. SCSI cabinet: 2U EonStore A08-G1410. A RAID5+1 being exported as single U160 device to the HBA. Boot messages after crash: Mar 10 10:09:21 kern.crit filer kernel: Waiting 15 seconds for SCSI devices to settle Mar 10 10:09:21 kern.crit filer kernel: ahd0: Invalid Sequencer interrupt occurred. Mar 10 10:09:21 kern.crit filer kernel: Dump Card State Begins Mar 10 10:09:21 kern.crit filer kernel: ahd0: Dumping Card State at program address 0x23b Mode 0x0 Mar 10 10:09:21 kern.crit filer kernel: Card was paused Mar 10 10:09:21 kern.crit filer kernel: INTSTAT[0x0] SELOID[0x0] SELID[0x10] HS_MAILBOX[0x0] Mar 10 10:09:21 kern.crit filer kernel: INTCTL[0x80]:(SWTMINTMASK) SEQINTSTAT[0x0] SAVED_MODE[0x11] Mar 10 10:09:21 kern.crit filer kernel: DFFSTAT[0x33]:(CURRFIFO_NONE|FIFO0FREE|FIFO1FREE) Mar 10 10:09:21 kern.crit filer kernel: SCSISIGI[0x0]:(P_DATAOUT) SCSIPHASE[0x0] SCSIBUS[0x0] Mar 10 10:09:21 kern.crit filer kernel: LASTPHASE[0x1]:(P_DATAOUT|P_BUSFREE) SCSISEQ0[0x0] Mar 10 10:09:21 kern.crit filer kernel: SCSISEQ1[0x12]:(ENAUTOATNP|ENRSELI) SEQCTL0[0x0] SEQINTCTL[0x6]:(INTMASK1|INTMASK2) Mar 10 10:09:21 kern.crit filer kernel: SEQ_FLAGS[0x0] SEQ_FLAGS2[0x0] QFREEZE_COUNT[0x3] Mar 10 10:09:21 kern.crit filer kernel: KERNEL_QFREEZE_COUNT[0x3] MK_MESSAGE_SCB[0xff00] MK_MESSAGE_SCSIID[0xff] Mar 10 10:09:21 kern.crit filer kernel: SSTAT0[0x0] SSTAT1[0x0] SSTAT2[0x0] SSTAT3[0x0] PERRDIAG[0x0] Mar 10 10:09:21 kern.crit filer kernel: SIMODE1[0xa4]:(ENSCSIPERR|ENSCSIRST|ENSELTIMO) LQISTAT0[0x0] Mar 10 10:09:21 kern.crit filer kernel: LQISTAT1[0x0] LQISTAT2[0x0] LQOSTAT0[0x0] LQOSTAT1[0x0] Mar 10 10:09:21 kern.crit filer kernel: LQOSTAT2[0x0] Mar 10 10:09:21 kern.crit filer kernel: Mar 10 10:09:21 kern.crit filer kernel: SCB Count = 16 CMDS_PENDING = 0 LASTSCB 0x CURRSCB 0xf NEXTSCB 0xff00 Mar 10 10:09:21 kern.crit filer kernel: qinstart = 39 qinfifonext = 39 Mar 10 10:09:21 kern.crit filer kernel: QINFIFO: Mar 10 10:09:21 kern.crit filer kernel: WAITING_TID_QUEUES: Mar 10 10:09:21 kern.crit filer kernel: Pending list: Mar 10 10:09:21 kern.crit filer kernel: Total 0 Mar 10 10:09:21 kern.crit filer kernel: Kernel Free SCB list: 15 14 9 1 2 3 4 5 6 7 8 10 11 12 13 0 Mar 10 10:09:21 kern.crit filer kernel: Sequencer Complete DMA-inprog list: Mar 10 10:09:21 kern.crit filer kernel: Sequencer Complete list: Mar 10 10:09:21 kern.crit filer kernel: Sequencer DMA-Up and Complete list: Mar 10 10:09:21 kern.crit filer kernel: Sequencer On QFreeze and Complete list: Mar 10 10:09:21 kern.crit filer kernel: Mar 10 10:09:21 kern.crit filer kernel: Mar 10 10:09:21 kern.crit filer kernel: ahd0: FIFO0 Free, LONGJMP == 0x8000, SCB 0xe Mar 10 10:09:21 kern.crit filer kernel: SEQIMODE[0x3f]:(ENCFG4TCMD|ENCFG4ICMD|ENCFG4TSTAT|ENCFG4ISTAT|E NCFG4DATA|ENSAVEPTRS) Mar 10 10:09:21 kern.crit filer kernel: SEQINTSRC[0x0] DFCNTRL[0x0] DFSTATUS[0x89]:(FIFOEMP|HDONE|PRELOAD_AVAIL) Mar 10 10:09:21 kern.crit filer kernel: SG_CACHE_SHADOW[0x2]:(LAST_SEG) SG_STATE[0x0] DFFSXFRCTL[0x0] Mar 10 10:09:21 kern.crit filer kernel: SOFFCNT[0x0] MDFFSTAT[0x5]:(FIFOFREE|DLZERO) SHADDR = 0x00, SHCNT = 0x0 Mar 10 10:09:21 kern.crit filer kernel: HADDR = 0x00, HCNT = 0x0 CCSGCTL[0x10]:(SG_CACHE_AVAIL) Mar 10 10:09:21 kern.crit filer kernel: Mar 10 10:09:21 kern.crit filer kernel: ahd0: FIFO1 Free, LONGJMP == 0x8063, SCB 0xf Mar 10 10:09:21 kern.crit filer kernel: SEQIMODE[0x3f]:(ENCFG4TCMD|ENCFG4ICMD|ENCFG4TSTAT|ENCFG4ISTAT|E NCFG4DATA|ENSAVEPTRS) Mar 10 10:09:21 kern.crit filer kernel: SEQINTSRC[0x0] DFCNTRL[0x0] DFSTATUS[0x89]:(FIFOEMP|HDONE|PRELOAD_AVAIL) Mar 10 10:09:21 kern.crit filer kernel: SG_CACHE_SHADOW[0x2]:(LAST_SEG) SG_STATE[0x0] DFFSXFRCTL[0x0] Mar 10 10:09:21 kern.crit filer kernel: SOFFCNT[0x0] MDFFSTAT[0x5]:(FIFOFREE|DLZERO) SHADDR = 0x00, SHCNT = 0x0 Mar 10 10:09:21 kern.crit filer kernel: HADDR = 0x00, HCNT = 0x0 CCSGCTL[0x10]:(SG_CACHE_AVAIL) Mar 10 10:09:21 kern.crit filer kernel: LQIN: 0x8 0x0 0x0 0xe 0x0 0x1 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 Mar 10
5.3-RELEASE-p5 reboots, ahd(4) debug messages on reboot [fixed format]
Sorry for the previous linewrapped question Hello, Our fileserver with a raid cabinet attached reboots about every two weeks. What could be causing this? OS Version: FreeBSD 5.3-RELEASE-p5 Server brand: Supermicro 6018-P8 Server purpose: Hosting files using Samba 3 and NFS with 400 clients. SCSI cabinet: 2U EonStore A08-G1410. A RAID5+1 being exported as single U160 device to the HBA. Boot messages after crash: -- Copyright (c) 1992-2004 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 5.3-RELEASE-p5 #1: Wed Feb 2 11:48:23 CET 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC MPTable: Kings Canyon Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Intel(R) Xeon(TM) CPU 2.80GHz (2799.70-MHz 686-class CPU) Origin = GenuineIntel Id = 0xf27 Stepping = 7 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 Hyperthreading: 2 logical CPUs real memory = 1073217536 (1023 MB) avail memory = 1043804160 (995 MB) ioapic0: Assuming intbase of 0 ioapic1: Assuming intbase of 24 ioapic2: Assuming intbase of 48 ioapic0 Version 2.0 irqs 0-23 on motherboard ioapic1 Version 2.0 irqs 24-47 on motherboard ioapic2 Version 2.0 irqs 48-71 on motherboard npx0: [FAST] npx0: math processor on motherboard npx0: INT 16 interface pcib0: MPTable Host-PCI bridge pcibus 0 on motherboard pci0: PCI bus on pcib0 pci0: unknown at device 0.1 (no driver attached) pcib1: PCI-PCI bridge at device 2.0 on pci0 pci1: PCI bus on pcib1 pci1: base peripheral, interrupt controller at device 28.0 (no driver attached) pcib2: MPTable PCI-PCI bridge at device 29.0 on pci1 pci2: PCI bus on pcib2 em0: Intel(R) PRO/1000 Network Connection, Version - 1.7.35 port 0x3000-0x303f mem 0xfc20-0xfc21 irq 54 at device 3.0 on pci2 em0: Ethernet address: 00:30:48:2a:53:be em0: Speed:N/A Duplex:N/A em1: Intel(R) PRO/1000 Network Connection, Version - 1.7.35 port 0x3040-0x307f mem 0xfc22-0xfc23 irq 55 at device 3.1 on pci2 em1: Ethernet address: 00:30:48:2a:53:bf em1: Speed:N/A Duplex:N/A pci1: base peripheral, interrupt controller at device 30.0 (no driver attached) pcib3: MPTable PCI-PCI bridge at device 31.0 on pci1 pci3: PCI bus on pcib3 ahd0: Adaptec AIC7902 Ultra320 SCSI adapter port 0x4000-0x40ff,0x4400-0x44ff mem 0xfc30-0xfc301fff irq 28 at device 2.0 on pci3 ahd0: [GIANT-LOCKED] aic7902: Ultra320 Wide Channel A, SCSI Id=7, PCI-X 101-133Mhz, 512 SCBs ahd1: Adaptec AIC7902 Ultra320 SCSI adapter port 0x4800-0x48ff,0x4c00-0x4cff mem 0xfc302000-0xfc303fff irq 29 at device 2.1 on pci3 ahd1: [GIANT-LOCKED] aic7902: Ultra320 Wide Channel B, SCSI Id=7, PCI-X 101-133Mhz, 512 SCBs pci0: serial bus, USB at device 29.0 (no driver attached) pci0: serial bus, USB at device 29.1 (no driver attached) pci0: serial bus, USB at device 29.2 (no driver attached) pcib4: MPTable PCI-PCI bridge at device 30.0 on pci0 pci4: PCI bus on pcib4 pci4: display, VGA at device 1.0 (no driver attached) isab0: PCI-ISA bridge at device 31.0 on pci0 isa0: ISA bus on isab0 atapci0: Intel ICH3 UDMA100 controller port 0x2060-0x206f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 pci0: serial bus, SMBus at device 31.3 (no driver attached) cpu0 on motherboard orm0: ISA Option ROMs at iomem 0xe-0xe3fff,0xc8000-0xc8fff,0xc-0xc7fff on isa0 pmtimer0 on isa0 atkbdc0: Keyboard controller (i8042) at port 0x64,0x60 on isa0 atkbd0: AT Keyboard irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] fdc0: Enhanced floppy controller at port 0x3f0-0x3f5 irq 6 drq 2 on isa0 fdc0: [FAST] fd0: 1440-KB 3.5 drive on fdc0 drive 0 sc0: System console at flags 0x100 on isa0sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0 unknown: PNP0303 can't assign resources (port) unknown: PNP0c02 can't assign resources (memory) unknown: PNP0501 can't assign resources (port) unknown: PNP0501 can't assign resources (port) unknown: PNP0700 can't assign resources (port) Timecounter TSC frequency 2799696480 Hz quality 800 Timecounters tick every 10.000 msec acd0: CDROM CD-224E/1.9A at ata1-master UDMA33 Waiting 15 seconds for SCSI devices to settle ahd0: Invalid Sequencer interrupt occurred. Dump Card State Begins ahd0: Dumping Card State at program address 0x23b Mode 0x0 Card was paused INTSTAT[0x0] SELOID[0x0] SELID[0x10] HS_MAILBOX[0x0] INTCTL[0x80]:(SWTMINTMASK) SEQINTSTAT[0x0] SAVED_MODE[0x11] DFFSTAT[0x33]:(CURRFIFO_NONE|FIFO0FREE|FIFO1FREE) SCSISIGI[0x0]:(P_DATAOUT) SCSIPHASE[0x0] SCSIBUS[0x0] LASTPHASE[0x1]:(P_DATAOUT|P_BUSFREE) SCSISEQ0[0x0] SCSISEQ1[0x12]:(ENAUTOATNP|ENRSELI) SEQCTL0[0x0] SEQINTCTL[0x6]:(INTMASK1|INTMASK2)
FB 5.3 with wireless connection
Hi all With a FB 5.3-P5 how can I configure a wifi card with 128 bits key wep ? My wifi card is wi0: Dell TrueMobile 1150 Series PC Card at port 0xe000-0xe03f irq 5 function 0 config 1 on pccard1 When I use [EMAIL PROTECTED] ifconfig wi0 wepkey xx up ifconfig: string too long [EMAIL PROTECTED] ifconfig wi0 weptxkey xx up ifconfig: SIOCS80211: Invalid argument Regards. -- Albert SHIH Universite de Paris 7 (Denis DIDEROT) U.F.R. de Mathematiques. Heure local/Local time: Wed Mar 16 11:55:05 CET 2005 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FB 5.3 with wireless connection
On Wed, 16 Mar 2005 11:58:37 +0100, Albert Shih [EMAIL PROTECTED] wrote: Hi all Hi there, With a FB 5.3-P5 how can I configure a wifi card with 128 bits key wep ? My wifi card is wi0: Dell TrueMobile 1150 Series PC Card at port 0xe000-0xe03f irq 5 function 0 config 1 on pccard1 When I use [EMAIL PROTECTED] ifconfig wi0 wepkey xx up ifconfig: string too long [EMAIL PROTECTED] ifconfig wi0 weptxkey xx up ifconfig: SIOCS80211: Invalid argument You should inform your system that you're using an exadecimal key! Do so by writing 0x before your wep key. Regards. -- Albert SHIH Universite de Paris 7 (Denis DIDEROT) U.F.R. de Mathematiques. Heure local/Local time: Wed Mar 16 11:55:05 CET 2005 Hope this helps, best regards -- Pietro Piter Cerutti [EMAIL PROTECTED] [EMAIL PROTECTED] Beansidhe - SwiSS Death / Thrash Metal www.beansidhe.ch Windows: Where do you want to go today? Linux: Where do you want to go tomorrow? FreeBSD: Are you guys coming or what? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FB 5.3 with wireless connection
Albert Shih [EMAIL PROTECTED] wrote: With a FB 5.3-P5 how can I configure a wifi card with 128 bits key wep ? My wifi card is wi0: Dell TrueMobile 1150 Series PC Card at port 0xe000-0xe03f irq 5 function 0 config 1 on pccard1 When I use [EMAIL PROTECTED] ifconfig wi0 wepkey xx up ifconfig: string too long [EMAIL PROTECTED] ifconfig wi0 weptxkey xx up ifconfig: SIOCS80211: Invalid argument The recommended way is to specify the wepkey in hexadecimal digits. ifconfig wi0 wepkey 0x1deadc0dedeadc0dedeadc0de1 man ifconfig: wepkey key|index:key For IEEE 802.11 wireless interfaces, set the selected WEP key. If an index is not given, key 1 is set. A WEP key will be either 5 or 13 characters (40 or 104 bits) depending of the local net- work and the capabilities of the adaptor. It may be specified either as a plain string or as a string of hexadecimal digits proceeded by `0x'. For maximum portability, hex keys are recom- mended; the mapping of text keys to WEP encryption is usually driver-specific. In particular, the Windows drivers do this map- ping differently to FreeBSD. A key may be cleared by setting it to `-'. If WEP is supported then there are at least four keys. Some adaptors support more than four keys. If that is the case, then the first four keys (1-4) will be the standard temporary keys and any others will be adaptor specific keys such as perma- nent keys stored in NVRAM. Regards Fabian -- http://www.fabiankeil.de ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Backup on DDS-4 tapes
Ludo Koren wrote: It doesn't help either... The result is the same. Just to check I'm understanding your problem correctly -- you're expecting to write much more data to the tape than is actually being written. If that's correct, then there's a couple things I can think of: 1) Your tape drive isn't doing hardware compression. Check the manual and see if there are any dip switches you need to set. (Make a note of how they're set before you change anything, so you can go back to what you had originally!). When you say the result is the same, if it used exactly the same number of tapes (down to the decimal point) then that definitely suggests that your tape drive is not compressing. 2) The data you're writing to the tape is already mostly compressed, so you won't fit as much as you might if it were uncompressed data. Also, the 40Gb per tape that you quote is, I think, the MAXIMUM amount of data the tape will take. It's only 20Gb native. 40Gb is how much will fit at optimum compression, which you never get. It's unlikely to be a FreeBSD problem because I regularly fit 6-7Gb on a DDS-2, which has a native size of 4Gb. I use dump options like the ones in my last message. --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Illogical usage of swap
Perhaps this resonates with someone, I sure hope so. We bought and deployed a new server recently. Owing to various combinations of nics/raid controllers lack of support, instead of installing 5.3 we installed 4.11. The motherboard is a tyan tiger i7320s5350, dual Xeon 3.0GHz w/1MB cache and an moderately impressive 4GB of RAM. Hyperthreading *is* enabled, here's a sysctl hw snapshot: gonzo# sysctl -a |grep hw hw.machine: i386 hw.model: Intel(R) Xeon(TM) CPU 3.00GHz hw.ncpu: 4 #other stuff that may be meaningful to someone: hw.physmem: 3618050048 hw.usermem: 3261022208 hw.pagesize: 4096 hw.floatingpoint: 1 hw.machine_arch: i386 hw.aac.iosize_max: 65536 hw.an.an_dump: off #and so on. Hard to believe, but this beast is swapping. Here's a typical top snapshot: load averages: 0.75, 0.36, 0.23 up 14+12:39:04 12:40:02 128 processes: 1 running, 125 sleeping, 2 zombie CPU states: 7.5% user, 0.0% nice, 1.3% system, 0.0% interrupt, 91.2% idle Mem: 479M Active, 2470M Inact, 337M Wired, 101M Cache, 199M Buf, 5468K Free Swap: 8192M Total, 116K Used, 8192M Free The box is replacing a machine with dual AMD athlon MP CPU's and 1GB of RAM. The old box never swapped once, though then - as now - free memory dipped down into numbers we weren't comfortable with occasionally. The old box *was* quite heavily loaded at times so this wasn't so surprising. The new superbox however doesn't even have some stuff running on it that the old one had! So under no circumstances could the workload on the new box be described as heavy. Can anyone suggest *anything* that might cause this uttely illogical situation to exist? We're frankly baffled. Regards TIA, -Colin -- Colin J. Raven Wed Mar 16 12:54:00 CET 2005 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
inode
What is a inode ? I installed freebsd 5.3 on a 2gb harddisk and it tells me there are not enough inodes ? Aldo there is diskspace availeble ? Does it mean there are to many directories ? Can you fix this ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: inode
Gert Cuykens wrote: What is a inode ? I installed freebsd 5.3 on a 2gb harddisk and it tells me there are not enough inodes ? Aldo there is diskspace availeble ? Does it mean there are to many directories ? Can you fix this ? I suppose there is no disk space available on some partition. When this message apears ? Or, you can check it out bu df -h command. Vladimir ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: inode
On 2005-03-16 13:05, Gert Cuykens [EMAIL PROTECTED] wrote: What is a inode ? I installed freebsd 5.3 on a 2gb harddisk and it tells me there are not enough inodes ? Aldo there is diskspace availeble ? Does it mean there are to many directories ? Can you fix this ? i-nodes are the areas where the file system saves information such as the owner, the size and pointers to the data area of a normal or special file or a directory. 2 GB is a lot of space for a virgin FreeBSD installation. The base system takes up to 170 MB on a clean disk here. - Have you tweaked the newfs options that sysinstall used? - Have you installed any extra packages? How many and which? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: inode
On Wed, 16 Mar 2005 14:13:09 +0200, Giorgos Keramidas [EMAIL PROTECTED] wrote: On 2005-03-16 13:05, Gert Cuykens [EMAIL PROTECTED] wrote: What is a inode ? I installed freebsd 5.3 on a 2gb harddisk and it tells me there are not enough inodes ? Aldo there is diskspace availeble ? Does it mean there are to many directories ? Can you fix this ? i-nodes are the areas where the file system saves information such as the owner, the size and pointers to the data area of a normal or special file or a directory. 2 GB is a lot of space for a virgin FreeBSD installation. The base system takes up to 170 MB on a clean disk here. - Have you tweaked the newfs options that sysinstall used? - Have you installed any extra packages? How many and which? No i just installed 5.3 i386 base and ports and there is plenty of freespace on all default partitions availeble but when i do mkdir it tells me no inodes availeble. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: inode
On 2005-03-16 13:22, Gert Cuykens [EMAIL PROTECTED] wrote: On Wed, 16 Mar 2005 14:13:09 +0200, Giorgos Keramidas [EMAIL PROTECTED] wrote: On 2005-03-16 13:05, Gert Cuykens [EMAIL PROTECTED] wrote: What is a inode ? I installed freebsd 5.3 on a 2gb harddisk and it tells me there are not enough inodes ? Aldo there is diskspace availeble ? Does it mean there are to many directories ? Can you fix this ? i-nodes are the areas where the file system saves information such as the owner, the size and pointers to the data area of a normal or special file or a directory. 2 GB is a lot of space for a virgin FreeBSD installation. The base system takes up to 170 MB on a clean disk here. - Have you tweaked the newfs options that sysinstall used? - Have you installed any extra packages? How many and which? No i just installed 5.3 i386 base and ports and there is plenty of freespace on all default partitions availeble but when i do mkdir it tells me no inodes availeble. Show us the output of: # df -ik ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Illogical usage of swap
Colin J. Raven [EMAIL PROTECTED] writes: Hard to believe, but this beast is swapping. Here's a typical top snapshot: load averages: 0.75, 0.36, 0.23 up 14+12:39:04 12:40:02 128 processes: 1 running, 125 sleeping, 2 zombie CPU states: 7.5% user, 0.0% nice, 1.3% system, 0.0% interrupt, 91.2% idle Mem: 479M Active, 2470M Inact, 337M Wired, 101M Cache, 199M Buf, 5468K Free Swap: 8192M Total, 116K Used, 8192M Free Not a problem. http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/misc.html#TOP-FREEMEM ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Illogical usage of swap
On Mar 16 at 07:29, Lowell Gilbert launched this into the bitstream: Colin J. Raven [EMAIL PROTECTED] writes: Hard to believe, but this beast is swapping. Here's a typical top snapshot: load averages: 0.75, 0.36, 0.23 up 14+12:39:04 12:40:02 128 processes: 1 running, 125 sleeping, 2 zombie CPU states: 7.5% user, 0.0% nice, 1.3% system, 0.0% interrupt, 91.2% idle Mem: 479M Active, 2470M Inact, 337M Wired, 101M Cache, 199M Buf, 5468K Free Swap: 8192M Total, 116K Used, 8192M Free Not a problem. http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/misc.html#TOP-FREEMEM Hmm, yeah I should have included what I've actually read in the handbook and elsewhere. In fact I did read that exerpt you quoted the URL for above sometime previously, when it was quoted in another thread on the list. Free memory (or the lack thereof) isn't the issue though. The issue is this: Swap: 8192M Total, 116K Used, 8192M Free and that's the piece of the puzzle that has us all utterly baffled. No way in creation this box should be swapping. Thanks for your response Lowell. Regards, -Colin -- Colin J. Raven Wed Mar 16 13:36:00 CET 2005 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: inode
On Wed, 16 Mar 2005 14:27:21 +0200, Giorgos Keramidas [EMAIL PROTECTED] wrote: On 2005-03-16 13:22, Gert Cuykens [EMAIL PROTECTED] wrote: On Wed, 16 Mar 2005 14:13:09 +0200, Giorgos Keramidas [EMAIL PROTECTED] wrote: On 2005-03-16 13:05, Gert Cuykens [EMAIL PROTECTED] wrote: What is a inode ? I installed freebsd 5.3 on a 2gb harddisk and it tells me there are not enough inodes ? Aldo there is diskspace availeble ? Does it mean there are to many directories ? Can you fix this ? i-nodes are the areas where the file system saves information such as the owner, the size and pointers to the data area of a normal or special file or a directory. 2 GB is a lot of space for a virgin FreeBSD installation. The base system takes up to 170 MB on a clean disk here. - Have you tweaked the newfs options that sysinstall used? - Have you installed any extra packages? How many and which? No i just installed 5.3 i386 base and ports and there is plenty of freespace on all default partitions availeble but when i do mkdir it tells me no inodes availeble. Show us the output of: # df -ik $ df -ik Filesystem 1K-blocks Used Avail Capacity iused ifree %iused Mounted on /dev/ad0s1a253678 35430 19795415% 981 320413% / devfs 1 1 0 100% 0 0 100% /dev /dev/ad0s1e253678 6 233378 0% 3 330190% /tmp /dev/ad0s1f673024 332902 28628254% 87038 0 100% /usr /dev/ad0s1d253678240 233144 0% 98 329240% /var $ Its only the /usr partition that seems to have inode problems ___ 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 Digest, Vol 91, Issue 29
From: Jason Henson [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Date: Mon, 14 Mar 2005 02:00:48 + Subject: Re: kern.maxpipekva exceeded, please see tuning(7) On 03/13/05 15:44:32, John DeStefano wrote: I have seen a mention or two of this error on the lists before, including this link to the current list I pulled up from Google: http://lists.freebsd.org/pipermail/freebsd-current/2004-January/019150.html In my case, the errors began after my exploratory two-year-old found the shiny 'reset' button and could not resist its powers. I'm also getting HDD error messages on boot, 'fsck -y' shows all the file systems as read-only and returns errors on one of them, and I can no longer SSH into my system (due to, I assume, too many open file handles), or even get a command in on my console without an error popping in.. The solution does not seem clear cut to me, and it seems the error message itself does not provide valid (or, at least, sufficient) information. Could someone please help, or point me in the right direction? Thanks, as always, John ___ FreeBSD is very robust with power failures, but that was a reset button. Do you have acpi on? When I hit my power button every once in a while my system shuts down properly. Try booting into single user mode and do a manual mount and fsck. And just to help you out: $ sysctl -ad | grep pipekva kern.ipc.maxpipekva: Pipe KVA limit kern.ipc.pipekva: Pipe KVA usage $ sysctl -a | grep pipekva kern.ipc.maxpipekva: 8634368 kern.ipc.pipekva: 344064 Thank you Jason. I do have ACPI on. I believe booting into -s mode, manually mounting and fsck-ing the slices, and adding the two kernel paramenters to /boot/loader.conf as you suggsted has sorted me (or, at least, alleviated the system of kernel errors). I used your parameters ver batim; I will need to understand how the values relate to physical memory (only 320MB) before I tinker with them. Thanks again, ~John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
su: Sorry
Why can i not su accessing the server true ssh ? $ su su: Sorry $ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Illogical usage of swap
On 2005-03-16 13:36, Colin J. Raven [EMAIL PROTECTED] wrote: On Mar 16 at 07:29, Lowell Gilbert launched this into the bitstream: Colin J. Raven [EMAIL PROTECTED] writes: Mem: 479M Active, 2470M Inact, 337M Wired, 101M Cache, 199M Buf, 5468K Free Swap: 8192M Total, 116K Used, 8192M Free Not a problem. http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/misc.html#TOP-FREEMEM Hmm, yeah I should have included what I've actually read in the handbook and elsewhere. In fact I did read that exerpt you quoted the URL for above sometime previously, when it was quoted in another thread on the list. Free memory (or the lack thereof) isn't the issue though. The issue is this: Swap: 8192M Total, 116K Used, 8192M Free and that's the piece of the puzzle that has us all utterly baffled. No way in creation this box should be swapping. Do you, by any chance, have vm.swap_idle_enabled set to 1? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Problems with /var/spool/hylafax
Under FBSD 5.3 I've just compiled hylafax from the ports, set up the modem with faxsetup and then started /usr/local/etc/rc.d/hylafax.sh.sample start ... BUT.. /var/log/messages complains that: VicBSD FaxQueuer[668]: /var/spool/hylafax: Can not change directory VicBSD HylaFAX[669]: Can not change directory to /var/spool/hylafax VicBSD FaxQueuer[739]: /var/spool/hylafax: Can not change directory VicBSD HylaFAX[740]: Can not change directory to /var/spool/hylafax What's the matter with it and what shall I do? Here it is a ls -al /var/spool/hylafax total 40 drwxr-xr-x 17 uucpdialer 512 Mar 16 09:07 . drwx-- 9 daemon daemon 512 Mar 15 21:43 .. -r--r--r-- 1 rootdialer 5426 Mar 15 21:43 COPYRIGHT prw--- 1 uucpdialer 0 Mar 15 21:43 FIFO prw--- 1 uucpdialer 0 Mar 16 09:07 FIFO.cuaa0 drwx-- 2 uucpdialer 512 Mar 15 21:43 archive drwxr-xr-x 2 uucpdialer 512 Mar 16 09:05 bin drwxr-xr-x 2 uucpdialer 512 Mar 15 21:43 client drwxr-xr-x 2 uucpdialer 1536 Mar 15 21:43 config drwxr-xr-x 2 uucpdialer 512 Mar 15 21:43 dev drwx-- 2 uucpdialer 512 Mar 15 21:43 docq drwx-- 2 uucpdialer 512 Mar 15 21:43 doneq drwxr-xr-x 2 uucpdialer 512 Mar 16 09:07 etc drwxr-xr-x 2 uucpdialer 512 Mar 15 21:43 info drwxr-xr-x 2 uucpdialer 512 Mar 15 21:43 log drwx-- 2 uucpdialer 512 Mar 15 21:43 pollq drwxr-xr-x 2 uucpdialer 512 Mar 15 21:43 recvq drwx-- 2 uucpdialer 512 Mar 15 21:43 sendq drwxr-xr-x 2 uucpdialer 512 Mar 16 09:01 status drwx-- 2 uucpdialer 512 Mar 15 21:43 tmp Ciao Vittorio ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: su: Sorry
On Wed, 16 Mar 2005 13:54:49 +0100, Gert Cuykens [EMAIL PROTECTED] wrote: Why can i not su accessing the server true ssh ? are you in the wheel group? check out /etc/pam.d/su $ su su: Sorry $ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Pietro Piter Cerutti [EMAIL PROTECTED] [EMAIL PROTECTED] Beansidhe - SwiSS Death / Thrash Metal www.beansidhe.ch Windows: Where do you want to go today? Linux: Where do you want to go tomorrow? FreeBSD: Are you guys coming or what? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Illogical usage of swap
On Mar 16 at 14:54, Giorgos Keramidas asked: On 2005-03-16 13:36, Colin J. Raven [EMAIL PROTECTED] wrote: On Mar 16 at 07:29, Lowell Gilbert launched this into the bitstream: Colin J. Raven [EMAIL PROTECTED] writes: Mem: 479M Active, 2470M Inact, 337M Wired, 101M Cache, 199M Buf, 5468K Free Swap: 8192M Total, 116K Used, 8192M Free Not a problem. http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/misc.html#TOP-FREEMEM Hmm, yeah I should have included what I've actually read in the handbook and elsewhere. In fact I did read that exerpt you quoted the URL for above sometime previously, when it was quoted in another thread on the list. Free memory (or the lack thereof) isn't the issue though. The issue is this: Swap: 8192M Total, 116K Used, 8192M Free and that's the piece of the puzzle that has us all utterly baffled. No way in creation this box should be swapping. Do you, by any chance, have vm.swap_idle_enabled set to 1? No, it isn't: gonzo# sysctl -a |grep vm.swap_idle_enabled vm.swap_idle_enabled: 0 Regards, -Colin -- Colin J. Raven Wed Mar 16 14:01:00 CET 2005 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
fdisk drive geometry problem
Hello I finally got another hdd for my home box, decided to do a fresh fbsd install and I ended up with a disk problem :( : ide0: 40GB [FreeBSD wannabe (ufs2) 10GB, storage2 (fat32) 30GB] ide2: 40GB [WinXP (ntfs) 10GB, storage1 (fat32) 30GB] Now when I begin the installation, and go to the partitioning section, fdisk complains about drive geometry and rearranges the drive. Here are the settings: cyls/heads/sectors 19xxx/16/255 (BIOS) 7xxx/16/63 (dmesg this is what fbsd complains to) 4xxx/255/63 (the new fdisk rearrangement) and FreeBSD's fdisk seems to get off on setting the head count to 255!!! I tried setting the bios value and fdisk complains again, but for some reason when I swap the heads and sectors values it does not. Same goes for the dmesg values (drive geometry from the dmesg output). Since I have no experience with changing drive geometry, nor do I understand the bloody thing, I have several issues: - Will I loose the data on 'storage2' if I change the drive geometry? - How should I set up the new drive geometry? What setting is faster/better? more cyls or more sectors (since fdisk is set to use 255 heads)? - If I backup 'storage2', change drive geometry as fbsd/fdisk suggests (or whatever), create a 10g slice and leave the other space unpartitioned, will I be able to partition and format the drive to fat32 from WinXP? That's about it... any examples would be great! thanks ahead! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: inode
On 2005-03-16 13:49, Gert Cuykens [EMAIL PROTECTED] wrote: On Wed, 16 Mar 2005 14:27:21 +0200, Giorgos Keramidas [EMAIL PROTECTED] wrote: Show us the output of: # df -ik $ df -ik Filesystem 1K-blocks Used Avail Capacity iused ifree %iused Mounted on /dev/ad0s1a253678 35430 19795415% 981 320413% / devfs 1 1 0 100% 0 0 100% /dev /dev/ad0s1e253678 6 233378 0% 3 330190% /tmp /dev/ad0s1f673024 332902 28628254% 87038 0 100% /usr Here you are. Your /usr partition has no free i-nodes. Probably because you used too large block/fragment sizes when it was newfs'd. You have two options, both of which involve a reinstallation: a) Resplit the disk giving more space to /usr. b) Use a single, big root partition. One possible layout, if you choose (a) could be: FilesystemSize Mount-point Other /dev/ad0s1a 100-200 MB/ - /dev/ad0s1b ??? MB- (swap, tmpfs) /dev/ad0s1e 200-300 MB/var- /dev/ad0s1f rest /usrthe rest of the disk You can then use /usr/home for the home directories of users, and have most of your space in /usr (where it is needed). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Illogical usage of swap
On 2005-03-16 14:02, Colin J. Raven [EMAIL PROTECTED] wrote: On Mar 16 at 14:54, Giorgos Keramidas asked: Free memory (or the lack thereof) isn't the issue though. The issue is this: Swap: 8192M Total, 116K Used, 8192M Free and that's the piece of the puzzle that has us all utterly baffled. No way in creation this box should be swapping. Do you, by any chance, have vm.swap_idle_enabled set to 1? No, it isn't: gonzo# sysctl -a |grep vm.swap_idle_enabled vm.swap_idle_enabled: 0 Strange. AFAIK, processes are not swapped out to disk unless there is a severe memory shortage. The usual case is to have them paged out, which is a bit different. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: su: Sorry
Gert Cuykens wrote: Why can i not su accessing the server true ssh ? $ su su: Sorry $ http://lists.freebsd.org/mailman/htdig/freebsd-questions/2004-November/063643.html Cheers, Karol -- Karol Kwiatkowski freebsd at orchid dot homeunix dot org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
PPPoE ip-up/ip-down
Hi all, I have found a few postings regarding the /etc/ppp/ip-up and ip-down scripts and the fact that they do not work. I am experiencing the same thing and I have tried all of the hints that I found in those threads but with little success. I would really like to use these scripts. Are there any hints? -I have set the permissions to 555 -#!/bin/sh is the first line in the script Are there any other things that I may have missed? Note: pppoe is setup as per the handbook with a few modifications as found on one of the links given by the handbook. Thanks, Marco ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Illogical usage of swap
On Mar 16 at 15:07, Giorgos Keramidas said: On 2005-03-16 14:02, Colin J. Raven [EMAIL PROTECTED] wrote: On Mar 16 at 14:54, Giorgos Keramidas asked: Free memory (or the lack thereof) isn't the issue though. The issue is this: Swap: 8192M Total, 116K Used, 8192M Free and that's the piece of the puzzle that has us all utterly baffled. No way in creation this box should be swapping. Do you, by any chance, have vm.swap_idle_enabled set to 1? No, it isn't: gonzo# sysctl -a |grep vm.swap_idle_enabled vm.swap_idle_enabled: 0 Strange. AFAIK, processes are not swapped out to disk unless there is a severe memory shortage. The usual case is to have them paged out, which is a bit different. That was my understanding also, and that's what's baffling us Regards, -Colin -- Colin J. Raven Wed Mar 16 14:17:00 CET 2005 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: inode
Here you are. Your /usr partition has no free i-nodes. Probably because you used too large block/fragment sizes when it was newfs'd. I pict default partitioning ? How big does the /usr need to be for base, ports mysql php apache ? Is there a make command that tells you how much space it needs to install ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: su: Sorry
On Wed, 16 Mar 2005 14:08:05 +0100, Karol Kwiatkowski [EMAIL PROTECTED] wrote: Gert Cuykens wrote: Why can i not su accessing the server true ssh ? $ su su: Sorry $ http://lists.freebsd.org/mailman/htdig/freebsd-questions/2004-November/063643.html Cheers, Karol -- Karol Kwiatkowski freebsd at orchid dot homeunix dot org thx ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Illogical usage of swap
On 2005-03-16 14:17, Colin J. Raven [EMAIL PROTECTED] wrote: On Mar 16 at 15:07, Giorgos Keramidas said: On 2005-03-16 14:02, Colin J. Raven [EMAIL PROTECTED] wrote: On Mar 16 at 14:54, Giorgos Keramidas asked: Free memory (or the lack thereof) isn't the issue though. The issue is this: Swap: 8192M Total, 116K Used, 8192M Free and that's the piece of the puzzle that has us all utterly baffled. No way in creation this box should be swapping. Do you, by any chance, have vm.swap_idle_enabled set to 1? No, it isn't: gonzo# sysctl -a |grep vm.swap_idle_enabled vm.swap_idle_enabled: 0 Strange. AFAIK, processes are not swapped out to disk unless there is a severe memory shortage. The usual case is to have them paged out, which is a bit different. That was my understanding also, and that's what's baffling us Unless, of course, there _was_ a short period of memory shortage, some processes were swapped out (a pair of idle getty instances, for example) and they were never swapped back in because they are still idle. You can probably track this down to the specific process or processes that have the PS_INMEM bit turned off in their proc-p_sflag. But 116K seems too small to be a complete process. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: inode
On 2005-03-16 14:21, Gert Cuykens [EMAIL PROTECTED] wrote: Here you are. Your /usr partition has no free i-nodes. Probably because you used too large block/fragment sizes when it was newfs'd. I pict default partitioning ? How big does the /usr need to be for base, ports mysql php apache ? Well, the default is just that: a default. It certainly doesn't fit all the possible setups and all the possible installations. It's not that bad to diverge from the default a bit, when needed. Is there a make command that tells you how much space it needs to install ? None that I know of. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
accounting package
I am looking for a client server accounting package for industrial equipment dealers and distributors that will handle serialized whole good inventory, parts inventory and a service shop. Text based Unix or Linux platform is fine. Any recommendations? HR ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Illogical usage of swap
On Mar 16 at 15:34, Giorgos Keramidas suggested: Free memory (or the lack thereof) isn't the issue though. The issue is this: Swap: 8192M Total, 116K Used, 8192M Free and that's the piece of the puzzle that has us all utterly baffled. No way in creation this box should be swapping. Do you, by any chance, have vm.swap_idle_enabled set to 1? No, it isn't: gonzo# sysctl -a |grep vm.swap_idle_enabled vm.swap_idle_enabled: 0 Strange. AFAIK, processes are not swapped out to disk unless there is a severe memory shortage. The usual case is to have them paged out, which is a bit different. That was my understanding also, and that's what's baffling us Unless, of course, there _was_ a short period of memory shortage, some processes were swapped out (a pair of idle getty instances, for example) and they were never swapped back in because they are still idle. You can probably track this down to the specific process or processes that have the PS_INMEM bit turned off in their proc-p_sflag. But 116K seems too small to be a complete process. This is going way above my head now, but great as a learning process anyway! May I ask how we would go about tracking processes with the PS-INMEM bit turned off? That sounds as if - to me, still a journeyman on the road to knowledge - grepping multiple source trees might be necessary, which frankly is a daunting process (to say the very least). Is there one meta-search string that would show this? and if so, where should this search be applied? Regards, -Colin -- Colin J. Raven Wed Mar 16 14:43:00 CET 2005 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Backup on DDS-4 tapes
Ludo Koren wrote: It doesn't help either... The result is the same. Just to check I'm understanding your problem correctly -- you're expecting to write much more data to the tape than is actually being written. That's right. I suppose that 54GB of data could fit on 2 40GB tapes... If that's correct, then there's a couple things I can think of: 1) Your tape drive isn't doing hardware compression. Check the manual and see if there are any dip switches you need to set. (Make a note of how they're set before you change anything, so you can go back to what you had originally!). I'll check this When you say the result is the same, if it used exactly the same number of tapes (down to the decimal point) then that definitely suggests that your tape drive is not compressing. 2) The data you're writing to the tape is already mostly compressed, so you won't fit as much as you might if it were uncompressed data. I will do statistics about files. Also, the 40Gb per tape that you quote is, I think, the MAXIMUM amount of data the tape will take. It's only 20Gb native. 40Gb is how much will fit at optimum compression, which you never get. It's unlikely to be a FreeBSD problem because I regularly fit 6-7Gb on a DDS-2, which has a native size of 4Gb. I use dump options like the ones in my last message. --Alex Thank, for your suggestions. lk ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Howto monitor system security
I've recently started using devialog (http://devialog.sourceforge.net/), which is pretty good at sending exceptions to you. Examlog (http://examlog.sourceforge.net/index.php) is by far the most popular that I've seen, but I have not had a chance to try it on FreeBSD. Lire (http://logreport.org/lire/) is a good all-around choice - it has built in recognition for many different types of logs, but I found it a bit hard to use. If you are comfortable with it, I'd try this one. I've heard of several companies that have part of the security monitoring built around logwatch (http://www2.logwatch.org:81/), but it takes a good amount of customizing to get it to where it's really useful. Jerry http://www.syslog.org On 2005-03-14, Jerry Bell [EMAIL PROTECTED] wrote: There are many tools that will send alerts to you, but very few that will work out of the box, without some level of tuning. There is a collection of them here: http://www.syslog.org/Web_Links+index-req-viewlink-cid-4.phtml and here: http://www.syslog.org/Web_Links+index-req-viewlink-cid-19.phtml I see lots of log analizer tools. Which one is a good choice? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Source-upgrading from FreeBSD 4.9 to 4.11
patrick [EMAIL PROTECTED] writes: I'm trying to do a source upgrade from FreeBSD 4.9 to 4.11, but during the make buildworld, I get the following: === gnu/usr.bin/cvs/cvs make: don't know how to make stack.c. Stop *** Error code 2 Stop in /usr/src/gnu/usr.bin/cvs. *** Error code 1 ... I don't have a RELENG_4 system around any more, but it sounds like you're missing part of the source tree you should have. Do you have /usr/src/contrib/cvs/src/stack.c? How did you do the update of your sources? I didn't see any mention of this in the handbook, but do I have to upgrade to 4.10 first, and then go up to 4.11? No. Remember to check /usr/src/UPDATING for more information before starting an upgrade... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Upgrading to 4.10-STABLE
[redirected to questions@ since this is not -net stuff] Hi, Julius, 2005-03-16 17:01 +0300Julius Kidubuka Hi all, I am trying to upgrade from 4.10-RELEASE to 4.10-STABLE and I have gone through the following steps; 1. make buildworld 2. make buildkernel KERNCONF=MYKERN 3. make installkernel KERNCONF=MYKERN 4. booted into single user mode and did, mount -u /, mount -a 5. make installworld 6. mergemaster 7. then finally rebooted My problem is after I have rebooted and issued the command uname -a, I still find that am running 4.10-RELEASE yet I have actually gone through all the steps above without any errors at all. Is there anything I could be doing wrong? Are you absolutely sure that you are sync'ing with 4-STABLE (now 4.11-STABLE), which is identified by RELENG_4? If you are sync'ing with RELENG_4_10, that's the 4.10-RELEASE security branch. Cheers, -- Xin LI delphij delphij net http://www.delphij.net/ signature.asc Description: =?UTF-8?Q?=E8=BF=99=E6=98=AF=E4=BF=A1=E4=BB=B6=E7=9A=84=E6=95=B0?= =?UTF-8?Q?=E5=AD=97=E7=AD=BE=E5=90=8D=E9=83=A8?= =?UTF-8?Q?=E5=88=86?=
Appletalk/Samba?
Is it possible to set up a FreeBSD server to act as a gateway between an appletalk file server and a group of tcp/ip based windows PCs? What I'm trying to do is enable a group of PCs on the same physical network as the appletalk file server to be able to access files on that server. Windows XP, it would seem, does not support appletalk natively. Please CC any responses to me. Thank you. Timothy R. Simmons IT Technician Champion Realty Inc. Direct Line: 410-975-3328 Office: 410-544-6004 E-mail: [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Illogical usage of swap
Colin J. Raven [EMAIL PROTECTED] writes: On Mar 16 at 07:29, Lowell Gilbert launched this into the bitstream: http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/misc.html#TOP-FREEMEM Hmm, yeah I should have included what I've actually read in the handbook and elsewhere. In fact I did read that exerpt you quoted the URL for above sometime previously, when it was quoted in another thread on the list. Free memory (or the lack thereof) isn't the issue though. The issue is this: Swap: 8192M Total, 116K Used, 8192M Free and that's the piece of the puzzle that has us all utterly baffled. The same logic applies to some extent, though. No way in creation this box should be swapping. I have noticed that FreeBSD 5.x is swapping out small amounts of memory in situations (as near I can tell; it is quite hard to be sure that the situation is really identical) where 4.x was not. I haven't really tried to track down exactly what's going on, but it's always been less than the text segment of any task in the system, so I was pretty sure I wasn't seeing a problem. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
upgrade 5.3 to 5.4
Hi! If I want upgrade 5.3 to 5.4 is this all I need to do: 1. change RELENG_5_3 to 5_4 and cvsup sources. 2. make buildworld 3. make buildkernel KERNCONF=filename 4. make installkernel KERNCONF=filename 5. reboot to single user 6. mergemaster -p 7. make installworld 8. mergemaster 9. reboot -- kpn @ IRCnet ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Illogical usage of swap
On Mar 16 at 09:24, Lowell Gilbert then said: Colin J. Raven [EMAIL PROTECTED] writes: On Mar 16 at 07:29, Lowell Gilbert launched this into the bitstream: http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/misc.html#TOP-FREEMEM Hmm, yeah I should have included what I've actually read in the handbook and elsewhere. In fact I did read that exerpt you quoted the URL for above sometime previously, when it was quoted in another thread on the list. Free memory (or the lack thereof) isn't the issue though. The issue is this: Swap: 8192M Total, 116K Used, 8192M Free and that's the piece of the puzzle that has us all utterly baffled. The same logic applies to some extent, though. No way in creation this box should be swapping. I have noticed that FreeBSD 5.x is swapping out small amounts of memory in situations (as near I can tell; it is quite hard to be sure that the situation is really identical) where 4.x was not. I haven't really tried to track down exactly what's going on, but it's always been less than the text segment of any task in the system, so I was pretty sure I wasn't seeing a problem. Except (if I'm following you sequentially, and if I'm not, then apologies!) this is FreeBSD 4.11. Regards, -Colin -- Colin J. Raven Wed Mar 16 15:29:00 CET 2005 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sshd behaviour
On Wed, 16 Mar 2005 10:41:09 +0300 Eugene M. Minkovskii [EMAIL PROTECTED] wrote: Hi. I see strange to me behaviour of sshd. Please tell me is it bug or feature? I use following network configuration: ######## # LAN # - # gateway # - # router # ######## Gateway machine has sshd. Normally I work from LAN on the gateway good. But when connection with provider's router broken: ###### ## # LAN # - # gateway # -X- # router # ###### ## I can't login from LAN to gateway. Moreover, I can't login from gateway to itself, using loop interface. But other Network servicec working good. For example, I can do # telnet gateway 25 from LAN. I've seen this same behavior on a 5.3 server when Bind crashes/gets messed up by cPanel. I suspect the problem is ssh trying to do a reverse dns lookup, which doesn't timeout until the login has timed out as well. In my case I can see a fast response from the server if I telnet to it on port 22, but I never get the password prompt. The logfiles also show login timeouts when I'm finally able to login again. You might try setting UseDNS no in /etc/ssh/sshd_config. I believe this will still make it record the ip used for login, but it won't try and do a reverse dns lookup on the ip. HTH, Jacob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Illogical usage of swap
Colin J. Raven [EMAIL PROTECTED] writes: On Mar 16 at 07:29, Lowell Gilbert launched this into the bitstream: http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/misc.html#TOP-FREEMEM Hmm, yeah I should have included what I've actually read in the handbook and elsewhere. In fact I did read that exerpt you quoted the URL for above sometime previously, when it was quoted in another thread on the list. Free memory (or the lack thereof) isn't the issue though. The issue is this: Swap: 8192M Total, 116K Used, 8192M Free and that's the piece of the puzzle that has us all utterly baffled. The same logic applies to some extent, though. No way in creation this box should be swapping. I have noticed that FreeBSD 5.x is swapping out small amounts of memory in situations (as near I can tell; it is quite hard to be sure that the situation is really identical) where 4.x was not. I haven't really tried to track down exactly what's going on, but it's always been less than the text segment of any task in the system, so I was pretty sure I wasn't seeing a problem. Swap space is also used for paging. If you are running through some big file or have processes that are live but not active, they can use up some page space. That space just stays there until it is needed otherwise. At least that is my understanding. jerry ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
mount_smbfs can't get handle to requester
I have a box running 4.5. I try to execute the mount_smbfs I get mount_smbfs: can't get handle to requester (no /dev/nsmb* device). When I do an ls of the /dev directory I see the following devices: /dev/nsmb0 /dev/smb0 /dev/smb1 Anyone seen this before? Ray ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sysinstall/fdisk drive geometry problem
Hello I finally got another hdd for my home box, decided to do a fresh fbsd install and I ended up with a disk problem :( : ide0: 40GB [FreeBSD wannabe (ufs2) 10GB, storage2 (fat32) 30GB] ide2: 40GB [WinXP (ntfs) 10GB, storage1 (fat32) 30GB] Now when I begin the installation, and go to the partitioning section, fdisk complains about drive geometry and rearranges the drive. Here are the settings: cyls/heads/sectors 19xxx/16/255 (BIOS) 7xxx/16/63 (dmesg this is what fbsd complains to) 4xxx/255/63 (the new fdisk rearrangement) and FreeBSD's fdisk seems to get off on setting the head count to 255!!! I tried setting the bios value and fdisk complains again, but for some reason when I swap the heads and sectors values it does not. Same goes for the dmesg values (drive geometry from the dmesg output). Since I have no experience with changing drive geometry, nor do I understand the bloody thing, I have several issues: - Will I loose the data on 'storage2' if I change the drive geometry? - How should I set up the new drive geometry? What setting is faster/better? more cyls or more sectors (since fdisk is set to use 255 heads)? - If I backup 'storage2', change drive geometry as fbsd/fdisk suggests (or whatever), create a 10g slice and leave the other space unpartitioned, will I be able to partition and format the drive to fat32 from WinXP? Generally, I don't tink with drive geometry. I just let the system take care of it. I haven't done much with IDE - only a couple of systems - but it seemed to work the same on those. The geometry values you see are mostly fiction and are there for some historical (hysterical??) reasons. What fdisk sees will not match what is really on the disk. There is a FAQ and lots of stuff in the archives on this. Some of the entries, especially the FAQ explain it fairly well - better than I can. But, the sum of it is just go ahead and try the new disk. Don't change BIOS or anything about the gometry. Ignore its whining. If it seems to work, then the system knows what it is doing. If it doesn't, then take the details from what goes wrong and ask some more questions. In the meantime, don't do anything with your old disk, just to be careful. jerry That's about it... any examples would be great! thanks ahead! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Illogical usage of swap
On Mar 16 at 09:47, Jerry McAllister commented: Colin J. Raven [EMAIL PROTECTED] writes: On Mar 16 at 07:29, Lowell Gilbert launched this into the bitstream: http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/misc.html#TOP-FREEMEM Hmm, yeah I should have included what I've actually read in the handbook and elsewhere. In fact I did read that exerpt you quoted the URL for above sometime previously, when it was quoted in another thread on the list. Free memory (or the lack thereof) isn't the issue though. The issue is this: Swap: 8192M Total, 116K Used, 8192M Free and that's the piece of the puzzle that has us all utterly baffled. The same logic applies to some extent, though. No way in creation this box should be swapping. I have noticed that FreeBSD 5.x is swapping out small amounts of memory in situations (as near I can tell; it is quite hard to be sure that the situation is really identical) where 4.x was not. I haven't really tried to track down exactly what's going on, but it's always been less than the text segment of any task in the system, so I was pretty sure I wasn't seeing a problem. Swap space is also used for paging. If you are running through some big file or have processes that are live but not active, they can use up some page space. That space just stays there until it is needed otherwise. At least that is my understanding. With 4GB of RAM to chew on, I must say this surprises me more than a bit. Recalling earlier in this thread, I said the box that this one replaced had dual Athlon MP's (forget what speed) and 1GB of RAM. It *never* swapped. It ran 4.10, then later upgraded to 5.3. We couldn't do 5.3 on this box because some controllers on the mobo weren't (yet) supported, so we elected to install 4.11. Then we took some jobs away from this server and reassigned 'em elsewhere (only because of the delay in sourcing the replacement) . So - purely theoretically - this server *should* have been sitting around less than fully tasked. It is way more powerful (by significant orders of magnitude) CPU-wise, has four times as much - and faster - memory, a faster FSB, SATA instead of ATA drives, 4.11-and-not-the-bleeding-edge-choice-of-OS. What I'm saying is that (almost) any of these factors taken individually should show a fairly relaxed, under-tasked errr...happy box. Take the cumulative effect of the rather healthy upgrade and this box should be sitting around picking its nose so to speak, and watching TV because it has so little to do...hell we took work *away* from it. Except it swaps...sometimes as much as 2MB, mostly around 100 - 350K. I bring this to the list only because of the utterly insane nature of the situation. It's as if you replaced your 333MHZ 256MB/memory Dell Dimension with a dual 3.0 Xeon/4GB HP Kayak (or equivalent) workstation, then in the middle of reading email you suddenly hear it writing to disk, check your taskmanager and discover to your absolute horror that the thing is swapping.. We have no custom apps running here, only stuff that comes right out of the ports tree. We're running email, DNS (BIND9)+PowerDNS, various A/V and antispam packages, screen, pine, mc, apache, perl, php, mysql, Courier IMAP, Postfixabsolutely nothing unusual that isn't run every day in hundreds of thousands of production environments. The custom stuff that *does* have the potential (but never did so on the old lower powered box) to use up memory has been moved off to another server or two. So there we have itthe mystery continues :) Thanks for your ongoing interest and curiosity. Regards, -Colin -- Colin J. Raven Wed Mar 16 16:10:00 CET 2005 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: inode
* Giorgos Keramidas [2005-03-16 15:06 +0200] Filesystem 1K-blocks Used Avail Capacity iused ifree %iused Mounted on /dev/ad0s1a253678 35430 19795415% 981 320413% / devfs 1 1 0 100% 0 0 100% /dev /dev/ad0s1e253678 6 233378 0% 3 330190% /tmp /dev/ad0s1f673024 332902 28628254% 87038 0 100% /usr You have two options, both of which involve a reinstallation: a) Resplit the disk giving more space to /usr. b) Use a single, big root partition. If he should not have the possibility to just wipe the entire disk to reinstall it (eg. this is his only disk and it is full of valuable data), he might be able to boot into single user, mount /usr and /tmp, and cram the entire contents of /usr into /tmp (using some sort of compression, e.g gzip) and then newfs /usr with more sensible values before restoring the contents from /tmp. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: accounting package
On Tue, 2005-03-15 at 09:30 -0500, Harry Reid wrote: I am looking for a client server accounting package for industrial equipment dealers and distributors that will handle serialized whole good inventory, parts inventory and a service shop. Text based Unix or Linux platform is fine. Any recommendations? I've been using sql-ledger for a while, it has good inventory/bills of material stuff: quote With the assembly feature you can build manufactured goods from parts, services, labor units and assemblies. When the assembly is sold all the accounts linked to the individual parts, services, labor units and assemblies are updated and stock levels adjusted accordingly. If an item belonging to an assembly is changed all assemblies are updated as well. /quote And, just as importantly, I'm aware of no other open source package that has the same range of functionality. http://www.sql-ledger.org Peter. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: accounting package
On Tue, 15 Mar 2005 09:30:06 -0500, Harry Reid [EMAIL PROTECTED] wrote: I am looking for a client server accounting package for industrial equipment dealers and distributors that will handle serialized whole good inventory, parts inventory and a service shop. Text based Unix or Linux platform is fine. Any recommendations? HR You may also want to check out Compiere. I've never used it personally. It caught my interest recently because they are releasing some sort of database independence module. http://www.compiere.org/ http://www.sourceforge.net/projects/compiere/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Need help setting up qmail / binc imap on FreeBSD
On Sun, 2005-03-13 at 12:11 -0500, Madhusudan Singh wrote: Hi I am trying to implement a qmail based mailserver with binc imap on FreeBSD 5.3-RELEASE using the instructions found on : I don't use binc-imap, so was reluctant to answer. But nobody else has, so: http://www.bsdguides.org/guides/freebsd/mailserver/qmail+vpopmail+qmailadmin.php I am using packet filter (pf) to setup the firewall. I have added the following rules to permit incoming traffic on ports 993 (imaps) and 465 (smtps) : I assume your firewall allows all connections from localhost. If so... [...] However, when I try to connect to the server using openssl : /usr/local/ssl/bin/openssl s_client -connect servername:993 -crlf connect: Connection refused connect:errno=29 Maybe on the server itself try localhost for servername to eliminate the firewall angle. I have generated a .pem file for SSL over binc imap and made the suggested additions to /usr/local/etc/bincimap/bincimap.conf. Upon consulting /var/log/qmail/current, I see a slew of messages like : @40004233d471384eecb4 delivery 2: deferral: Unable_to_chdir_to_maildir._(#4.2.1)/ @40004233d4713850679c status: local 0/10 remote 0/20 So you have a permissions problem for qmail. Do you also have vpopmail running? If so, you need very particular permissions for the vpopmail/domains directories. drwx-- 5 vpopmail vchkpw 512 Dec 14 2003 domains Peter. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Appletalk/Samba?
On Wed, 16 Mar 2005, Tim Simmons wrote: Is it possible to set up a FreeBSD server to act as a gateway between an appletalk file server and a group of tcp/ip based windows PCs? What I'm trying to do is enable a group of PCs on the same physical network as the appletalk file server to be able to access files on that server. Windows XP, it would seem, does not support appletalk natively. Please CC any responses to me. Thank you. Afaik, no, sorry. FreeBSD can act as an appletalk file server (by using the netatalk port and the appletalk kernel extension), but it is not able to mount remote filesystems via appletalk. Mac OS X and Darwin can do so; thus I think, Darwin wood be a good choice for you. Best regards Konrad Heuer GWDG, Am Fassberg, 37077 Goettingen, Germany, [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
cannot build openoffice
Hello, When I try to build openoffice I get the following error: ./unxfbsd.pro/misc/FREEBSDGCCIruntime/libprldap50.so \ echo /dev/null cp: ./unxfbsd.pro/misc/build/mozilla/dist/bin/libnss3.so: No such file or directory dmake: Error code 1, while making './unxfbsd.pro/misc/build/so_moz_runtime_files' ---* TG_SLO.MK *--- *** Error code 255 Stop in /usr/ports/editors/openoffice-1.1. Does anyone know why this might happen or what I can do to fix it? Thanks /Brian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Appletalk/Samba?
On Wed, 16 Mar 2005 09:09:16 -0500 Tim Simmons [EMAIL PROTECTED] spake thus: Is it possible to set up a FreeBSD server to act as a gateway between an appletalk file server and a group of tcp/ip based windows PCs? What I'm trying to do is enable a group of PCs on the same physical network as the appletalk file server to be able to access files on that server. Windows XP, it would seem, does not support appletalk natively. Please CC any responses to me. Thank you. Not exactly the same as you are trying to do here but I have in the past run both netatalk and samba on the same FBSD machine to share the same FS between apple and winblows clients. Was pretty stable for a couple of years and then I didn't need to do that anymore so I uninstalled netatalk. Can you move the FS to a FBSD box ? If so that would be my suggestion. HTH LukeK -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sshd behaviour
On Wed, Mar 16, 2005 at 10:41:09AM +0300, Eugene M. Minkovskii wrote: Hi. I see strange to me behaviour of sshd. Please tell me is it bug or feature? I use following network configuration: ######## # LAN # - # gateway # - # router # ######## Gateway machine has sshd. Normally I work from LAN on the gateway good. But when connection with provider's router broken: ###### ## # LAN # - # gateway # -X- # router # ###### ## I can't login from LAN to gateway. Moreover, I can't login from gateway to itself, using loop interface. But other Network servicec working good. For example, I can do # telnet gateway 25 from LAN. Provider's router is default router in /etc/rc.conf. As another poster mentioned, the problem is likely related to DNS, and I have experienced it as well. If you are using Privilege Separation, then an sshd process will chroot itself into /var/empty before performing authentication. /var/empty is itself usually empty. One thing you can do is to make the dir /var/empty/etc and then drop a copy of your /etc/hosts file into the newly created /var/empty/etc/ directory. You might want to make sure that the hosts file contains a mapping to the LAN machines which you want to ssh from. Keep in mind that /var/empty has the schg flag set, so you won't be able to copy anything to it without disabling this first. See more at `man chflags`. Try something like this: # chflags -R noschg /var/empty # mkdir /var/empty/etc # cp /etc/hosts /var/empty/etc # chflags -R schg /var/empty This will likely clear up your problem. Nathan pgp0RJ4SYKS4t.pgp Description: PGP signature
Re: Appletalk/Samba?
I have recently performed that exact operation, I had a lot of trouble with filenames. Created a common shared folder using samba and AppleTalk using netatalk. I did not spend much time configure the share. I was pushed for time and a little lazy. On Wednesday 16 March 2005 07:09, Tim Simmons wrote: Is it possible to set up a FreeBSD server to act as a gateway between an appletalk file server and a group of tcp/ip based windows PCs? What I'm trying to do is enable a group of PCs on the same physical network as the appletalk file server to be able to access files on that server. Windows XP, it would seem, does not support appletalk natively. Please CC any responses to me. Thank you. Timothy R. Simmons IT Technician Champion Realty Inc. Direct Line: 410-975-3328 Office: 410-544-6004 E-mail: [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Appletalk/Samba?
Unfortunately, I can't change the server. It's a server for our marketing department, and they like it the way it is. Timothy R. Simmons IT Technician Champion Realty Inc. Direct Line: 410-975-3328 Office: 410-544-6004 E-mail: [EMAIL PROTECTED] -Original Message- From: Luke Kearney [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 16, 2005 10:54 AM To: Tim Simmons Cc: freebsd-questions@freebsd.org Subject: Re: Appletalk/Samba? On Wed, 16 Mar 2005 09:09:16 -0500 Tim Simmons [EMAIL PROTECTED] spake thus: Is it possible to set up a FreeBSD server to act as a gateway between an appletalk file server and a group of tcp/ip based windows PCs? What I'm trying to do is enable a group of PCs on the same physical network as the appletalk file server to be able to access files on that server. Windows XP, it would seem, does not support appletalk natively. Please CC any responses to me. Thank you. Not exactly the same as you are trying to do here but I have in the past run both netatalk and samba on the same FBSD machine to share the same FS between apple and winblows clients. Was pretty stable for a couple of years and then I didn't need to do that anymore so I uninstalled netatalk. Can you move the FS to a FBSD box ? If so that would be my suggestion. HTH LukeK -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mozilla port issues
Michael C. Shultz wrote: Until the upgrade is done you should set DISABLE_VULNERABILITIES=YES in your make file. portmanager will be able to do the upgrade, but when it can't upgrade one port like mozilla it won't upgrade anything that depends on mozilla either. Ok, I'll give that a shot... but are you saying then that portmanager does not suffer the same problems with gnome as portupgrade? If so, kewl... Ben ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mozilla port issues
On Wed, 16 Mar 2005 08:22:12 -0800, Ben Munat [EMAIL PROTECTED] wrote: Michael C. Shultz wrote: Until the upgrade is done you should set DISABLE_VULNERABILITIES=YES in your make file. portmanager will be able to do the upgrade, but when it can't upgrade one port like mozilla it won't upgrade anything that depends on mozilla either. Ok, I'll give that a shot... but are you saying then that portmanager does not suffer the same problems with gnome as portupgrade? If so, kewl... Ben ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] just pkg delete everything that boders portmanager -u it worked fine for me the dependency error slows down the hole process ALOT if you have many things to upgrade ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mozilla port issues
On Wednesday 16 March 2005 08:22 am, Ben Munat wrote: Michael C. Shultz wrote: Until the upgrade is done you should set DISABLE_VULNERABILITIES=YES in your make file. portmanager will be able to do the upgrade, but when it can't upgrade one port like mozilla it won't upgrade anything that depends on mozilla either. Ok, I'll give that a shot... but are you saying then that portmanager does not suffer the same problems with gnome as portupgrade? If so, kewl... Ben You may have to run portmanager more than once to get everything done but for the most part it seems to be handling the gnome upgrade OK. -Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Appletalk/Samba?
Are you using MacOS X or MacOS classic? MacOS X comes with SAMBA software native which means Macintosh and Windows clients can share Windows volumes natively. How does this sound? -Adam On Mar 16, 2005, at 6:09 AM, Tim Simmons wrote: Is it possible to set up a FreeBSD server to act as a gateway between an appletalk file server and a group of tcp/ip based windows PCs? What I'm trying to do is enable a group of PCs on the same physical network as the appletalk file server to be able to access files on that server. Windows XP, it would seem, does not support appletalk natively. Please CC any responses to me. Thank you. Timothy R. Simmons IT Technician Champion Realty Inc. Direct Line: 410-975-3328 Office: 410-544-6004 E-mail: [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: umass0 -- yes, daX -- no?
In the last episode (Mar 15), Mikhail Teterin said: I'm trying to access the file system on a usb memory key. When I insert it, however, kernel duly reports creation of umass0, but not the da1 (da0 is my ZIP drive). According to usbdevs -d, I have: addr 1: OHCI root hub, SiS uhub0 addr 2: Dell USB Memory Key, M-Systems umass0 You might have a device that's not known in umass's table. It looks like it needs to know the protocol before it will create a da* device; try editing /sys/dev/usb/usbdevs and adding a DISKONKEY3 entry (usbdevs -dv should print the hex IDs you need), and copy one of the existing DISKONKEY array entries in umass.c. Thanks, I'll try. This is disheartening, however... I was pretty sure, anything, that support USB Mass Storage would work out of the box :-( -mi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Where does FreeBSD install the Qt directory?
Trying to compile mysqlcc from source (ports didn't work) and it says install a version of Qt [EMAIL PROTECTED] [/usr/X11R6/include] pkg_info | grep qt qt-3.3.3_2 Multiplatform C++ application framework [EMAIL PROTECTED] [/usr/X11R6/include] So that should mean I have qt installed right? When I run ./configure script it errors with this: checking if MySQL Version /usr/local/include/mysql is = 4.0.0... yes Qt is not installed. Please install QT 3.0.5 or later After googling and searching I find there is a configure option --with-qt=/path/to/qt but I can't find the path to qt, tried the /usr/X11R6/ include and bin paths still no luck. After yet more googling I can't seem to find the exact place qt is installed Any help greatly appreciated -- Regards ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Illogical usage of swap
On Mar 16 at 09:47, Jerry McAllister commented: Colin J. Raven [EMAIL PROTECTED] writes: On Mar 16 at 07:29, Lowell Gilbert launched this into the bitstream: http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/misc.html#TOP-FREEMEM Hmm, yeah I should have included what I've actually read in the handbook and elsewhere. In fact I did read that exerpt you quoted the URL for above sometime previously, when it was quoted in another thread on the list. Free memory (or the lack thereof) isn't the issue though. The issue is this: Swap: 8192M Total, 116K Used, 8192M Free and that's the piece of the puzzle that has us all utterly baffled. The same logic applies to some extent, though. No way in creation this box should be swapping. I have noticed that FreeBSD 5.x is swapping out small amounts of memory in situations (as near I can tell; it is quite hard to be sure that the situation is really identical) where 4.x was not. I haven't really tried to track down exactly what's going on, but it's always been less than the text segment of any task in the system, so I was pretty sure I wasn't seeing a problem. Swap space is also used for paging. If you are running through some big file or have processes that are live but not active, they can use up some page space. That space just stays there until it is needed otherwise. At least that is my understanding. With 4GB of RAM to chew on, I must say this surprises me more than a bit. Recalling earlier in this thread, I said the box that this one replaced had dual Athlon MP's (forget what speed) and 1GB of RAM. It *never* swapped. It ran 4.10, then later upgraded to 5.3. We couldn't do 5.3 on this box because some controllers on the mobo weren't (yet) supported, so we elected to install 4.11. Then we took some jobs away from this server and reassigned 'em elsewhere (only because of the delay in sourcing the replacement) . So - purely theoretically - this server *should* have been sitting around less than fully tasked. It is way more powerful (by significant orders of magnitude) CPU-wise, has four times as much - and faster - memory, a faster FSB, SATA instead of ATA drives, 4.11-and-not-the-bleeding-edge-choice-of-OS. What I'm saying is that (almost) any of these factors taken individually should show a fairly relaxed, under-tasked errr...happy box. Take the cumulative effect of the rather healthy upgrade and this box should be sitting around picking its nose so to speak, and watching TV because it has so little to do...hell we took work *away* from it. Except it swaps...sometimes as much as 2MB, mostly around 100 - 350K. That it uses some swap space does not mean it is not still very undertasked nor that it is getting close to being overloaded. It just uses that space in the course of its normal managing of processes. Someone else can much better tell you how that algorithm works. I'm just don't sweat it. It is normal and reasonable. jerry I bring this to the list only because of the utterly insane nature of the situation. It's as if you replaced your 333MHZ 256MB/memory Dell Dimension with a dual 3.0 Xeon/4GB HP Kayak (or equivalent) workstation, then in the middle of reading email you suddenly hear it writing to disk, check your taskmanager and discover to your absolute horror that the thing is swapping.. We have no custom apps running here, only stuff that comes right out of the ports tree. We're running email, DNS (BIND9)+PowerDNS, various A/V and antispam packages, screen, pine, mc, apache, perl, php, mysql, Courier IMAP, Postfixabsolutely nothing unusual that isn't run every day in hundreds of thousands of production environments. The custom stuff that *does* have the potential (but never did so on the old lower powered box) to use up memory has been moved off to another server or two. So there we have itthe mystery continues :) Thanks for your ongoing interest and curiosity. Regards, -Colin -- Colin J. Raven Wed Mar 16 16:10:00 CET 2005 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Install squirrelmail
Hello I want to install squirrelmail from ports (cvsuped today). Make runs without problems but after make install the following error occurs: Build complete. (It is safe to ignore warnings about tempnam and tmpnam). === Installing for php4-4.3.10_2 === php4-4.3.10_2 depends on file: /usr/local/sbin/apxs - found === Generating temporary packing list === Checking if lang/php4 already installed Installing PHP SAPI module: apache2handler /usr/local/share/apache2/build/instdso.sh SH_LIBTOOL='/usr/local/share/apache2/build/libtool' libphp4.la /usr/local/libexec/apache2 /usr/local/share/apache2/build/libtool --mode=install cp libphp4.la /usr/local/libexec/apache2/ libtool: install: `libphp4.la' is not a valid libtool archive Try `libtool --help --mode=install' for more information. apxs:Error: Command failed with rc=65536 . *** Error code 1 Stop in /usr/ports/lang/php4/work/php-4.3.10. *** Error code 1 Stop in /usr/ports/lang/php4. *** Error code 1 Stop in /usr/ports/mail/squirrelmail. pluto# exit$[K exit Before I installed apache, sendmail, cyrus and mailscanner without problems. What I'm doing wrong? Any hints are welcome. -- Regards Martin Schweizer [EMAIL PROTECTED] PC-Service M. Schweizer GmbH; Bannholzstrasse 6; CH-8608 Bubikon Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch; public key : http://www.pc-service.ch/pgp/public_key.asc; fingerprint: EC21 CA4D 5C78 BC2D 73B7 10F9 C1AE 1691 D30F D239; ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sshd behaviour
On Wed, Mar 16, 2005 at 10:00:44AM -0600, Nathan Kinkade wrote: As another poster mentioned, the problem is likely related to DNS, and I have experienced it as well. If you are using Privilege Separation, then an sshd process will chroot itself into /var/empty before performing authentication. /var/empty is itself usually empty. One thing you can do is to make the dir /var/empty/etc and then drop a copy of your /etc/hosts file into the newly created /var/empty/etc/ directory. You might want to make sure that the hosts file contains a mapping to the LAN machines which you want to ssh from. Keep in mind that /var/empty has the schg flag set, so you won't be able to copy anything to it without disabling this first. See more at `man chflags`. Try something like this: # chflags -R noschg /var/empty # mkdir /var/empty/etc # cp /etc/hosts /var/empty/etc # chflags -R schg /var/empty This will likely clear up your problem. Nathan Thank you, Nathan. Can I put soft link into /var/empty/etc (this is crossdevice link, and I can't put hard link in it)? And does I realy need -R key in last command which you recomended? This mean that directory /var/empty/etc has schg flag too. Is it nessesery? -- Sensory yours, Eugene Minkovskii , ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
5.3 IBM PC Server 325 Type 8639-1RY
I have installed 5.3 several times and I am using the built in nic an PCI AMD card. I can not seem to change the card to full-duplex using ifconfig or the built in sysinstall. I noticed there appeared to be other problems with IBM machines. My ? is this a recognized problem or something new? My server also has dual processors in it. Thanks for your time. JM -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.7.3 - Release Date: 3/15/2005 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Where does FreeBSD install the Qt directory?
On Wed, 16 Mar 2005 10:40:26 -0600 CHris Rich [EMAIL PROTECTED] wrote: Trying to compile mysqlcc from source (ports didn't work) and it says install a version of Qt [EMAIL PROTECTED] [/usr/X11R6/include] pkg_info | grep qt qt-3.3.3_2 Multiplatform C++ application framework [EMAIL PROTECTED] [/usr/X11R6/include] So that should mean I have qt installed right? When I run ./configure script it errors with this: checking if MySQL Version /usr/local/include/mysql is = 4.0.0... yes Qt is not installed. Please install QT 3.0.5 or later After googling and searching I find there is a configure option --with-qt=/path/to/qt but I can't find the path to qt, tried the /usr/X11R6/ include and bin paths still no luck. After yet more googling I can't seem to find the exact place qt is installed Since Qt seems to be installed, you can find all the files that it installed and where with: pkg_info -L qt-\*|less HTH, Randy -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
What's difference between iconv and libiconv ports?
Hello. Could anyone tell me what's difference between iconv and libiconv ports? Bye. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 5.3 IBM PC Server 325 Type 8639-1RY
JM wrote: I have installed 5.3 several times and I am using the built in nic an PCI AMD card. I can not seem to change the card to full-duplex using ifconfig or the built in sysinstall. I noticed there appeared to be other problems with IBM machines. My ? is this a recognized problem or something new? My server also has dual processors in it. Thanks for your time. Hi, JM! Thanks for posting. I'm not sure that I'm the guy to help you, but I just wanted to point out that it might be helpful to give us the output of `uname -a` as suggested in the default /etc/motd (that you should see when you log in), and the relevant parts of `dmesg`, especially any mention of the PCI bus, drivers for these NICs and anything that looks like it might be an error. Also, if you want to check whether the problem has been reported by anyone else, there is a search interface on the website (www.freebsd.org) that might help you find any problem reports dealing with a specific driver or hardware device. I hope you get it working soon. Kevin Kinsey ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 4.x Opteron Question
--- Boris Spirialitious [EMAIL PROTECTED] wrote: When opteron support start for Freebsd? I have 4.9. is supported? Or 4.11 better? I can't use 5.x. Will a i386 disk boot on opteron system? Can I use same disk image for intel and amd MBs? Any big problems? Thanks, Boris Does anyone know answer please? Someone must use Opteron here Boris __ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 5.3 IBM PC Server 325 Type 8639-1RY
On Wed, Mar 16, 2005 at 10:18:35AM -0700, JM wrote: I have installed 5.3 several times and I am using the built in nic an PCI AMD card. To get the built-in NIC working on a 325, you will need to rebuild the kernel and comment out device pcn. You need device lnc, but pcn has precedence over lnc. While your at it, if your 325 is dual processor (most are) you can un- comment options SMP and apic. Instructions for recompiling your kernel can be found here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig.html HTH -Mike I can not seem to change the card to full-duplex using ifconfig or the built in sysinstall. I noticed there appeared to be other problems with IBM machines. My ? is this a recognized problem or something new? My server also has dual processors in it. Thanks for your time. JM -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.7.3 - Release Date: 3/15/2005 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Michael Galvez http://www.people.virginia.edu/~mrg8n Information Technology Specialist University of Virginia USENIX Member ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
DHCP server performance
Greetings, I want to setup a DHCP server on my internal (private 192.168.1.X) network. I already have a Freebsd machine on the network as a webserver. Should I dedicate an entire machine to being a DHCP server ? Or will the load be minimal and I can put the DHCP server functionality on my webserver ? thanks in advance, Darryl ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DHCP server performance
Greetings, I want to setup a DHCP server on my internal (private 192.168.1.X) network. I already have a Freebsd machine on the network as a webserver. Should I dedicate an entire machine to being a DHCP server ? Or will the load be minimal and I can put the DHCP server functionality on my webserver ? For just a private internal network, it would hardly notice the extra load. I assume you won't have thousands of machines coming in and out regularly, but only a few dozen at the most coming in a few times per day. No problem. Some of our sites have several hundred machines using DHCP, on a machine with web, DNS, majordomo, squid proxy, squirrel web based Email running. About the only thing that slows them down is spamassasin/procmail when lots of Email comes in. jerry thanks in advance, Darryl ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DHCP server performance
On Mar 16, 2005, at 1:03 PM, Darryl Hoar wrote: Should I dedicate an entire machine to being a DHCP server ? Or will the load be minimal and I can put the DHCP server functionality on my webserver ? A DHCP server is very lightweight, and you can run one on a machine used for other tasks just fine. Unless your other machine is overloaded now, it probably won't notice a difference... -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Bind + CHROOT + -u binduser fails
Hi, I installed recently freebsd 5.3 from cd and i test the bind9 port of bind9-9.3.0 i installed correctly and i configure my own zones, but with a particular switches: rc.conf: named_enable=YES # Run named, the DNS server (or NO). named_program=/usr/sbin/named # path to named, if you want a different one. named_flags=-u bind # Flags for named named_pidfile=/var/run/named/pid # Must set this in named.conf as well named_chrootdir=/var/named# Chroot directory (or not to auto-chroot it) named_chroot_autoupdate=YES # Automatically install/update chrooted # components of named. See /etc/rc.d/named. named_symlink_enable=YES # Symlink the chrooted pid file The result is, when i want to serve dns to address * I decoment the next line in named.conf: listen-on { *; }; 1. And then the syslog reports: named[262]: could not listen on UDP socket: permission denied named[262]: creating IPv4 interface rl0 failed; interface ignored named[262]: not listening on any interfaces If i change the next switch from rc.conf: named_flags= Now i'm running named as root user whycannot run as bind user?? Thanks -- Jose Nicolas Castellano Presidente - Asociación No cON Name Tel: +34 616 727 675 E-Mail : [EMAIL PROTECTED] WWW: www.noconname.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 4.x Opteron Question
http://www.freebsd.org/platforms/amd64.html Looks like you will need to use 5.3-release (or 5.3-stable/5.4-prerelease if you have more than 4GB). Why can you not use 5.3? On Wed, 2005-03-16 at 09:43 -0800, Boris Spirialitious wrote: --- Boris Spirialitious [EMAIL PROTECTED] wrote: When opteron support start for Freebsd? I have 4.9. is supported? Or 4.11 better? I can't use 5.x. Will a i386 disk boot on opteron system? Can I use same disk image for intel and amd MBs? Any big problems? Thanks, Boris Does anyone know answer please? Someone must use Opteron here Boris -- GnuPG key : 0xD25FCC81 | http://cyb.websimplex.de/pubkey.asc Fingerprint: D182 6F22 7EEC DD4C 0F6E 564C 691B 0372 D25F CC81 signature.asc Description: This is a digitally signed message part
Re: cannot build openoffice
Hello, When I try to build openoffice I get the following error: ./unxfbsd.pro/misc/FREEBSDGCCIruntime/libprldap50.so \ echo /dev/null cp: ./unxfbsd.pro/misc/build/mozilla/dist/bin/libnss3.so: No such file or directory dmake: Error code 1, while making './unxfbsd.pro/misc/build/so_moz_runtime_files' ---* TG_SLO.MK *--- *** Error code 255 Stop in /usr/ports/editors/openoffice-1.1. Does anyone know why this might happen or what I can do to fix it? Me too... But there is binary packages available from openoffice.org. http://oootranslation.services.openoffice.org/pub/OpenOffice.org/ooomisc/FreeBSD/ You can download one of these and install with pkg_add packagename I did not manage to find suitable package from the ports, somehow. -- Hilsen Lars Thanks /Brian ___ 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]
Which ports use C++?
Hello! I'm planning to upgrade one of my servers from RELENG_5_2 to RELENG_5_3. In my reading of /usr/src/UPDATING I have reached the entry of 20040728 which says that all programs written in C++ need to be recompiled. Ugh. Is there an easy way to find out whether particular port uses C++? I had a quick look at bsd.port.mk but didn't see anything. The ports I'm most interested in are apache2, mod_php4, mysql40-server, postfix and cyrus-imapd. Or should I more or less expect that I need to rebuild *all* the ports anyway? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What's difference between iconv and libiconv ports?
In the last episode (Mar 16), Stas Myasnikov said: Could anyone tell me what's difference between iconv and libiconv ports? iconv is a BSD-licensed charset conversion library (doesn't seem to have been unpdated since 2000), libiconv is the GNU one that most programs expect. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: kern.ipc.nmbclusters
where else can i ask about this? i tried bsdforums but still total silence there too... Did you check top to see if you even use swap? yea. very small amount. Swap: 2032M Total, 624K Used, 2031M Free I never use swap with 512MB on my desktop. Read man tuning, around byte 32372. i did a few times. don't remember which byte was it thought... Try netstat -m. i did. here: this was when i send this message originally: # netstat -m 6138/6832/26624 mbufs in use (current/peak/max): 6137 mbufs allocated to data 1 mbufs allocated to fragment reassembly queue headers 6092/6656/6656 mbuf clusters in use (current/peak/max) 15020 Kbytes allocated to network (75% of mb_map in use) 11125 requests for memory denied 1 requests for memory delayed 0 calls to protocol drain routines === this is now: netstat -m 349/6832/26624 mbufs in use (current/peak/max): 348 mbufs allocated to data 1 mbufs allocated to fragment reassembly queue headers 346/6656/6656 mbuf clusters in use (current/peak/max) 15020 Kbytes allocated to network (75% of mb_map in use) 11125 requests for memory denied 1 requests for memory delayed 0 calls to protocol drain routines huge difference. so i think about 260 lines of netstat -p tcp output like: tcp4 0 33580 server.http c68.112.166.214..3307 FIN_WAIT_1 has to do with all these 6000 clusters. but i'm not sure how. DOS may be?! they are all from the same client ip and all of them have much higher number for send then received Q's. what does the state FIN_WAIT_1 mean? waiting to finish? if so - why it didn't do that for hours and hours. my web server keeps connections alive for 10 sec. there isn't much else that uses tcp on that machine. the webserver was inaccessile for about 5-10 min. so my first thought was DOS... 11125 requests for memory denied made it look like it was a DOS... maybe somebody can explain the relation if any. it'll be appreciated... thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
/bin/sh, php mysql
After upgrading to BSD 4.11, I've been having all sorts of problems. Please help! - The shell no longer supports the up cursor key, which gives a history of commands that you type. - Also, mod_php no longer supports mySQL. Does anyone know what's going on here? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Which ports use C++?
On Wed, Mar 16, 2005 at 08:53:05PM +0200, Toomas Aas wrote: Hello! I'm planning to upgrade one of my servers from RELENG_5_2 to RELENG_5_3. In my reading of /usr/src/UPDATING I have reached the entry of 20040728 which says that all programs written in C++ need to be recompiled. Ugh. Is there an easy way to find out whether particular port uses C++? I had a quick look at bsd.port.mk but didn't see anything. Not easily. You can look at the symbol table of every file on the system associated to ports and grep for some common C++ symbols, but this is more trouble than it's worth. The ports I'm most interested in are apache2, mod_php4, mysql40-server, postfix and cyrus-imapd. Or should I more or less expect that I need to rebuild *all* the ports anyway? That's best; there are other incompatibilities that are there when you have old (compiled on 5.2) versions of a library and you try and compile new software against them on 5.3. Kris -- In God we Trust -- all others must submit an X.509 certificate. -- Charles Forsythe [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 5.3: Sharedlibs using sharedlibs (and Tcl)
On Wed, Mar 16, 2005 at 03:35:16PM +0100, Palle Girgensohn wrote: ! ! --On onsdag, mars 16, 2005 11.43.31 +0100 Peter Much ! [EMAIL PROTECTED] wrote: ! ! ! So, you're saying that pctclsh *can* access, but pgaccess *cannot*? ! Odd... ! I would expect they'd both use the same lib to connect, no? ! I'll have to ! ! They use the same libraries, yes. But Tcl interpreter seem to need more ! advice on where to find sub-functions in other libraries. It looks ! like this: ! ! pgtclsh -finds- libpgtcl.so -finds- libpq.so -finds- libkrb5.so ! pgaccess -loads- libpgtcl.so -finds- libpq.so -fails- libkrb5.so ! ! Uh, OK. I'm not qualified enough with linkers to answer this, I'm afraid. ! Did you try the pgsql-interfaces mailing list? Oh well, same with me. I sent a copy of one of my reports to that list, yes. But only got feedback that it will be evaluated by moderator, as I am not signed on that list. I'm actually no professional psql user - the database is just a small part of my installation, mainly logging the lowlevel error counts from my exabyte drives and providing reports about tape wearout. And the kerberos is just there for fun, as a reference installation. Nevertheless, I would think this is not a matter for the postgres community. Because this would happen the same way with any other application that provides Tcl support and kerberos support (or maybe also with other components of the system, if they are used from Tcl). So it seems either a Tcl problem or a linker/loader problem. Which, I cannot say - maybe both. ! And then I found that it is enough to place into libpq.so the explicit ! references to libkrb5 and the other kerberos libs. That is what the ! readelf -a output in my other mail shows. ! ! sounds like a better solution, yes... Shouldn't they always be there? ! Sounds like a bug to me? Thats the question. I just did a little more investigation (like reading manpages) and found out _WHY_ it does work for pgtclsh but not for pgaccess. There is a command ldd that shows nested library dependencies for any program. For pgtclsh it shows all the kerberos libs: bash-3.00# ldd /usr/local/bin/pgtclsh /usr/local/bin/pgtclsh: libpgtcl.so.2 = /usr/local/lib/libpgtcl.so.2 (0x28075000) libpq.so.3 = /usr/local/lib/libpq.so.3 (0x2807d000) libtcl84.so.1 = /usr/local/lib/libtcl84.so.1 (0x28097000) libm.so.3 = /lib/libm.so.3 (0x28135000) libkrb5.so.7 = /usr/lib/libkrb5.so.7 (0x2814f000) libasn1.so.7 = /usr/lib/libasn1.so.7 (0x28186000) libcrypto.so.3 = /lib/libcrypto.so.3 (0x281a6000) libroken.so.7 = /usr/lib/libroken.so.7 (0x2829b000) libcrypt.so.2 = /lib/libcrypt.so.2 (0x282a9000) libcom_err.so.2 = /usr/lib/libcom_err.so.2 (0x282c1000) libz.so.2 = /lib/libz.so.2 (0x282c3000) libreadline.so.5 = /lib/libreadline.so.5 (0x282d3000) libutil.so.4 = /lib/libutil.so.4 (0x282ff000) libc.so.5 = /lib/libc.so.5 (0x2830b000) libintl.so.6 = /usr/local/lib/libintl.so.6 (0x283e4000) libssl.so.3 = /usr/lib/libssl.so.3 (0x283ed000) libncurses.so.5 = /lib/libncurses.so.5 (0x2841b000) libiconv.so.3 = /usr/local/lib/libiconv.so.3 (0x2845a000) But for libpgtcl.so (this is the first elf binary that pgaccess gets to see) it does not show these kerberos libraries (I use the old libpq.so here, not the one that I have modified): bash-3.00# ldd /usr/local/lib/libpgtcl.so /usr/local/lib/libpgtcl.so: libpq.so.3 = /usr/local/lib/libpq.so.3 (0x2815a000) libtcl84.so.1 = /usr/local/lib/libtcl84.so.1 (0x28174000) libm.so.3 = /lib/libm.so.3 (0x28212000) libintl.so.6 = /usr/local/lib/libintl.so.6 (0x2822c000) libssl.so.3 = /usr/lib/libssl.so.3 (0x28235000) libcrypto.so.3 = /lib/libcrypto.so.3 (0x28263000) libiconv.so.3 = /usr/local/lib/libiconv.so.3 (0x28358000) Then the explanation became simple: these kerberos libraries get just LITERALLY LISTED WITHIN THE pgtclsh BINARY! And this is an impossible method for a Tcl script. bash-3.00# readelf -d /usr/local/bin/pgtclsh | grep krb5 0x0001 (NEEDED) Shared library: [libkrb5.so.7] So now we have a full explanation for the behaviour, but not really a solution. Instead, this looks like a fundamental question about how to load nested elf sharedlibs from interpreter languages. From my technical viewpoint, the only solution that makes sense would be: every shared library must reference all other shared libraries from which it uses functions. The shared library cannot rely on the executable to do this job, because the executable may be an interpreter script, which neither is able to do this nor would it want to know them all. From this viewpoint, the linker command that creates libpq.so is defective. So You were right and its a problem for the postgresql developers. But as I am not competent with shared libraries and development systems and such stuff, I would very much appreciate
Re: kern.ipc.nmbclusters
On Mar 16, 2005, at 3:01 PM, kalin mintchev wrote: 11125 requests for memory denied 1 requests for memory delayed 0 calls to protocol drain routines You were exceeding the amount of socket buffer memory available there. huge difference. so i think about 260 lines of netstat -p tcp output like: tcp4 0 33580 server.http c68.112.166.214..3307 FIN_WAIT_1 has to do with all these 6000 clusters. but i'm not sure how. DOS may be?! they are all from the same client ip and all of them have much higher number for send then received Q's. what does the state FIN_WAIT_1 mean? waiting to finish? if so - why it didn't do that for hours and hours. my web server keeps connections alive for 10 sec. there isn't much else that uses tcp on that machine. the webserver was inaccessile for about 5-10 min. so my first thought was DOS... 11125 requests for memory denied made it look like it was a DOS... maybe somebody can explain the relation if any. it'll be appreciated... FIN_WAIT_1 means that one side of the TCP conversation sent a FIN, and the other side (yours) wants to flush the queue of unsent data and will then close the connection. It's not clear why this isn't working, and there is a timer which gets started which ought to close the connection after 10 minutes or so if no data can be sent. Perhaps the other side is playing games? If you do a tcpdump against that client, are you seeing responses with a 0 window size? -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: accounting package
I have had good luck with sql-ledger. --Nick On Tue, 15 Mar 2005 09:30:06 -0500, Harry Reid [EMAIL PROTECTED] wrote: I am looking for a client server accounting package for industrial equipment dealers and distributors that will handle serialized whole good inventory, parts inventory and a service shop. Text based Unix or Linux platform is fine. Any recommendations? HR ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 5.3-release fine with 512MB RAM, reboots at times with 1.5GB (but no panic)
I would have to agree that it is a HW issue. The RAM itself may be ok, but may have issues with other HW components in your system. --Nick On Tue, 15 Mar 2005 19:10:27 -0800, Jean Lagarde [EMAIL PROTECTED] wrote: I have been troubleshooting reboots over the last weekend, I think I might have enough clues now to get some useful hints from an expert. FreeBSD 5.3-release (see dmesg below for details) The problem seems to be with trying to run with 1.5GB vice 512MB of RAM. The system has not had problems so far when I only leave the 512MB stick in. When I add the 1GB stick the system will reboot at specific times, for example, while trying to launch KDE3 or trying to make OpenOffice (always reboots at Extracting for openoffice-1.1.2-1). I do not see any panic in the messages log, the system just silently reboots. I initially installed FreeBSD with only the 512MB stick in. The memory itself seems fine; memtest86 detects no errors. At boot time all the memory is detected: real memory = 1610547200 (1535 MB) avail memory = 1568432128 (1495 MB) Running memtest all only seems to find 512MB to use. It evidently makes no assumption about how much memory is there, starting by trying to malloc 4GB and reducing the amount gradually until it finally successfully mallocs 512 MB and eventually manages to lock 413 MB (failed due to insufficient resources above that). The tests on the 413 MB do pass. I have rebuilt the kernel with VM_KMEM_SIZE_MAX=419430400 as suggested in the FAQ. No change. Would setting MAXMEM to 1572864 help? I am not sure since the correct amount is reported by FreeBSD at boot, and right now trying to make the kernel with that option seems to be another case that reboots the machine (i.e. the make process itself reboots the machine) so I have not tried it yet (guess I would have to remove the 1GB stick to make the new kernel and then put it back to try it out). Thank you for any help. dmesg FreeBSD 5.3-RELEASE #1: Sun Mar 13 20:01:36 PST 2005 x:/usr/src/sys/i386/compile/KERNEL_JEAN Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) 4 CPU 2.20GHz (2205.01-MHz 686-class CPU) Origin = GenuineIntel Id = 0xf24 Stepping = 4 Features=0x3febfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,C MOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM real memory = 1610547200 (1535 MB) avail memory = 1568432128 (1495 MB) mptable_probe: MP Config Table has bad signature: .\M^K\M-@ npx0: [FAST] npx0: math processor on motherboard npx0: INT 16 interface acpi0: SOYO AWRDACPI on motherboard acpi0: Power Button (fixed) Timecounter ACPI-fast frequency 3579545 Hz quality 1000 acpi_timer0: 24-bit timer at 3.579545MHz port 0x1008-0x100b on acpi0 cpu0: ACPI CPU (3 Cx states) on acpi0 acpi_tz0: Thermal Zone on acpi0 acpi_button0: Power Button on acpi0 acpi_button1: Sleep Button on acpi0 pcib0: ACPI Host-PCI bridge port 0x1080-0x10ff,0x1000-0x107f,0x480-0x48f,0xcf8 -0xcff on acpi0 pci0: ACPI PCI bus on pcib0 agp0: SiS 645 host to AGP bridge mem 0xe000-0xe3ff at device 0.0 on pc i0 pcib1: PCI-PCI bridge at device 1.0 on pci0 pci1: PCI bus on pcib1 isab0: PCI-ISA bridge at device 2.0 on pci0 isa0: ISA bus on isab0 ohci0: SiS 5571 USB controller mem 0xe700-0xe7000fff irq 5 at device 2.2 o n pci0 ohci0: [GIANT-LOCKED] usb0: OHCI version 1.0, legacy support usb0: SiS 5571 USB controller on ohci0 usb0: USB revision 1.0 uhub0: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 3 ports with 3 removable, self powered ohci1: SiS 5571 USB controller mem 0xe7001000-0xe7001fff irq 12 at device 2.3 on pci0 ohci1: [GIANT-LOCKED] usb1: OHCI version 1.0, legacy support usb1: SiS 5571 USB controller on ohci1 usb1: USB revision 1.0 uhub1: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 3 ports with 3 removable, self powered atapci0: SiS 961 UDMA100 controller port 0xf000-0xf00f,0x376,0x170-0x177,0x3f6 ,0x1f0-0x1f7 at device 2.5 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 sis0: SiS 900 10/100BaseTX port 0xe000-0xe0ff mem 0xe7002000-0xe7002fff irq 11 at device 3.0 on pci0 miibus0: MII bus on sis0 ukphy0: Generic IEEE 802.3u media interface on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto sis0: Ethernet address: 00:50:2c:04:6c:0b pci0: display, VGA at device 10.0 (no driver attached) pci0: multimedia, audio at device 14.0 (no driver attached) sio0: 16550A-compatible COM port port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A atkbdc0: Keyboard controller (i8042) port 0x64,0x60 irq 1 on acpi0 atkbd0: AT Keyboard irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] orm0: ISA Option ROM at iomem 0xc-0xc7fff on isa0 pmtimer0 on isa0 ppc0: parallel port not found. sc0: System console at flags 0x100 on isa0 sc0: VGA 16 virtual consoles,
Makefiles compatible with both BSD and GNU make?
I got the silly idea that I want one Makefile to work with both BSD and GNU makes. Silly me. Fairly simple Makefiles work but when expanding my Makefile to include .depend generation I get tripped. BSD make automagically uses .depend if one is found. GNU make requires the file be named in an include, but the syntax of GNU include is different than BSD. As is the syntax of conditional statements. Yes, I could simply use gmake on FreeBSD and make under cygwin, but where is the fun in that? Not only no fun but nothing to be learned. Is there a way I can write the include of .depend that GNU make will use and at the same time BSD make will either ignore or do the same as GNU? Meanwhile I'm just accepting the fact on cygwin the only sure way to update is make clean before make. -- David Kelly N4HHE, [EMAIL PROTECTED] Whom computers would destroy, they must first drive mad. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]