Re: wine: notepad OK, others not
You have to mount the floppy and then link a: to the mount point. So if you mount it under /mnt you'd need this: mount -t msdosfs /dev/fd0 /mnt ln -s /mnt ~/.wine/dosdevices/a: That got only a little bit farther. It did find the setup program, and the option dialogs seemed to work properly, but very shortly after starting the actual install I got an error box: VISIO Setup ! Tried to create an invalid path using 'A:\' and 'clipart.vs_' and it locked up the display so that CtrlAltF1 would not switch to a text screen (although it did allow AltTab to bring up FVWM's window list). After clicking OK: Visio Setup i Setup failed. and it quit. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: dmesg empty after shutdown -r
On Thursday 01 May 2008 01:58:46 A Hamilton-Wright wrote: After shutdown -r now and the subsequent reboot, I have logged in to my machine FreeBSD qemg.org 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 10:35:36 UTC 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC amd64 Everything seems to be running normally, except dmesg produces no output, and /var/run/dmesg.boot is zero bytes long. Does anyone have any ideas why this would ever occur? Or even how it could occur? dmesg -M doesn't show anything either? -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Nut problem and last message repeated in dmesg
There are my questions: Does anyone become to correct the same problem and can help me to correct this? Can anyone tell my how to see the last message which is repeated hundred times? I've got an MGE ellipse 750 USBS. I've connected it to my server with USB cable. I've installed NUT via ports. Now this service is crashing very often. For example it crashes yesterday 23h16, I restarted it and when I watch it today : # dmesg - a . Apr 30 23:12:38 myhost last message repeated 120 times Apr 30 23:16:28 myhost last message repeated 46 times Apr 30 23:16:33 myhost upsmon[1011]: Poll UPS [EMAIL PROTECTED] failed - Server disconnected May 1 08:57:44 myhost upsmon[1011]: Poll UPS [EMAIL PROTECTED] failed - Data stale May 1 08:58:19 myhost last message repeated 7 times May 1 09:00:24 myhost last message repeated 25 times May 1 09:10:29 myhost last message repeated 121 times May 1 09:20:34 myhost last message repeated 121 times May 1 09:30:35 myhost last message repeated 120 times May 1 09:40:40 myhost last message repeated 121 times May 1 09:50:40 myhost last message repeated 120 times May 1 10:00:40 myhost last message repeated 120 times May 1 10:10:40 myhost last message repeated 120 times May 1 10:20:40 myhost last message repeated 120 times May 1 10:30:40 myhost last message repeated 120 times May 1 10:40:40 myhost last message repeated 120 times [EMAIL PROTECTED] ~]$ /usr/local/etc/rc.d/nut stop Password: Stopping nut. Network UPS Tools - UPS driver controller 2.2.1 [EMAIL PROTECTED] ~]$ /usr/local/etc/rc.d/nut start Network UPS Tools - UPS driver controller 2.2.1 Network UPS Tools: 0.29 USB communication driver - core 0.32 (2.2.1) Using subdriver: MGE HID 1.01 Starting nut. Network UPS Tools upsd 2.2.1 listening on 0.0.0.0 port 3493 Connected to UPS [ellipse]: usbhid-ups-ellipse Thanks. Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
is there driver for (Bearlake) HECI Controller for releng_7 (or 7_0_0)
Hello lists Intel G33 motherboard (Intel DG33FB) with FreeBSD 7 AMD64 (7.0-RELEASE-p1) one thing is missing: [EMAIL PROTECTED] ~]# pciconf -lv | grep -A3 none [EMAIL PROTECTED]:0:3:0: class=0x078000 card=0x50448086 chip=0x29c48086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '(Bearlake) HECI Controller' class = simple comms Actually I dont know if I really need this (machine will be used for asterisk voip solution), but for completeness is there a driver for this piece of hardware? 10x in advance ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Nut problem and last message repeated in dmesg
On Thursday 01 May 2008 11:01:02 Olivier GARNIER wrote: Can anyone tell my how to see the last message which is repeated hundred times? ... Apr 30 23:16:33 myhost upsmon[1011]: Poll UPS [EMAIL PROTECTED] failed - Server disconnected May 1 08:57:44 myhost upsmon[1011]: Poll UPS [EMAIL PROTECTED] failed - Data stale May 1 08:58:19 myhost last message repeated 7 times It's a bit bad choice of words, better would be previous message repeated 7 times. So the message that is repeated, is the message directly above it. Sorry, can't help you with NUT, but it looks like server disconnects are not handled correctly and just generate hundreds of messages about stale data, rather then refreshing the data. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
gdm sessions - xfce + fluxbox
Hello, I would want to have a choice at login time between xfce (my default desktop wm) and fluxbox. I have followed the steps from this document : http://geek00l.blogspot.com/2006/06/freebsd-fluxbox-gdm.html but i did not have the xsessions directory under /usr/X11R6/share/gnome/. so i created one and created another file called Fluxbox.desktop inside it. Then followed the rest of the document as is. Additionally I copied the startfluxbox binary to the ~/.Xclients file under the binary for xfce. What has happened now is that I still dont see no choice under the sessions menu in gdm morever i get logged on to xfce first. Now when I log on from xfce I get logged on to fluxbox meaning the fluxbox desktop may be waiting for the x-resources like the screen, mouse etc to become available and then when it does become available it starts to run. Im rather confused. Please help me with this and perhaps give me some insight as to why it is the wa it is if you can Hope to hear from you fellas -- Best Regards, Aijaz ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
7.0-RELEASE + newer kernel
So, I'm one of those trying to run FreeBSD on one of the newest Macbooks. The hardware support looks very good, except that the network chips are not supported. But the Ethernet chip is supported by the msk driver in the current 7.0-STABLE kernel. Now, before I push the whole system from RELEASE to STABLE, is there some chance I can stay with 7.0-RELEASE and just use a new version of the msk module with the release kernel? I compiled the miibus.ko and if_msk.ko modules from a stable kernel, but the latter complains about an undefined symbol 'm_collapse' at loading. This symbol is defined in sys/kern/uipc_mbuf.c, so I think I have bad chances running the new driver on the old kernel. The reasons why I hesitate to upgrade to 7.0-STABLE are: - freebsd-update won't work anymore. How do I then get informed about security updates? - Can't install distributions with sysinstall anymore. Do I just compile everything from source? - How do I actually update from release to stable? I have to compile everything myself from the sources, right? As well as for any update? Thanks for any suggestions, Anselm ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 7.0-RELEASE + newer kernel
On Thursday 01 May 2008 13:17:03 Anselm Strauss wrote: The reasons why I hesitate to upgrade to 7.0-STABLE are: - freebsd-update won't work anymore. How do I then get informed about security updates? Using your favorite RSS reader and subscribe to: http://www.freebsd.org/security/advisories.rdf - Can't install distributions with sysinstall anymore. Do I just compile everything from source? Yes (to distributions, no to ports), but you have to upgrade by source to -STABLE to begin with, unless you want to go the hard way and bake a new CD/DVD. - How do I actually update from release to stable? I have to compile everything myself from the sources, right? As well as for any update? The handbook has an entire section for this: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cutting-edge.html -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: dmesg empty after shutdown -r
On Thursday 01 May 2008 01:58:46 A Hamilton-Wright wrote: After shutdown -r now and the subsequent reboot, I have (... no dmesg) On Thu, 1 May 2008, Mel wrote: dmesg -M doesn't show anything either? Wish I'd thought to try that last night. I eventually shut it down again (shutdown -p) until I could come in this morning and take a look at the console while booting -- and now everything is fine. I have now tried a few reboots (shutdown -r) and halts (shutdown -h), and I have a dmesg every time it recovers. I will certainly keep an eye on this and see if I can reproduce this in any fashion. If anyone else sees this phenomena (even transiently), I would love to know about it. Andrew. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: dmesg empty after shutdown -r
On Thursday 01 May 2008 13:58:45 A. Hamilton-Wright wrote: On Thursday 01 May 2008 01:58:46 A Hamilton-Wright wrote: After shutdown -r now and the subsequent reboot, I have (... no dmesg) On Thu, 1 May 2008, Mel wrote: dmesg -M doesn't show anything either? Wish I'd thought to try that last night. I eventually shut it down again (shutdown -p) until I could come in this morning and take a look at the console while booting -- and now everything is fine. I have now tried a few reboots (shutdown -r) and halts (shutdown -h), and I have a dmesg every time it recovers. Just for the record, I asked because by default, dmesg uses kvm_read(3) to read the kernel's message buffer. -M tries to read the sysctl kern.msgbuf, so in the event kvm_read screwed up somewhere without noting an error, the 'backdoor' might just work. Pure speculation without having looked in detail at the kernel code, but I wanted to rule it out. What I did suspect, is that kernel's message buffer didn't get filled to begin with and that's a whole different ballgame. FYI: unless you really need dmesg to work for normal operations, you could've just let it up running and use scroll-lock+arrows/pgup|down to go all the way back up to btx loader. If it was the kernel message buffer not getting filled, I'd suspect some kind of message complaining about that. I know that doesn't help now, but for next time and googlers ;) -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Kernel Compile Error
Chris Maness [EMAIL PROTECTED] writes: I was trying to compile a 7.0 Release and the compile failed. I have never had a kernel compilation fail before. Here is the last of the output: opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Werror /usr/src/sys/kern/kern_descrip.c /usr/src/sys/kern/kern_descrip.c:211:36: error: macro FILEDESC_LOCK_ASSERT passed 2 arguments, but takes just 1 /usr/src/sys/kern/kern_descrip.c: In function 'fdused': /usr/src/sys/kern/kern_descrip.c:211: error: 'FILEDESC_LOCK_ASSERT' undeclared (first use in this function) /usr/src/sys/kern/kern_descrip.c:211: error: (Each undeclared identifier is reported only once /usr/src/sys/kern/kern_descrip.c:211: error: for each function it appears in.) /usr/src/sys/kern/kern_descrip.c:227:36: error: macro FILEDESC_LOCK_ASSERT passed 2 arguments, but takes just 1 /usr/src/sys/kern/kern_descrip.c: In function 'fdunused': /usr/src/sys/kern/kern_descrip.c:227: error: 'FILEDESC_LOCK_ASSERT' undeclared (first use in this function) cc1: warnings being treated as errors /usr/src/sys/kern/kern_descrip.c: In function 'kern_fcntl': /usr/src/sys/kern/kern_descrip.c:383: warning: statement with no effect /usr/src/sys/kern/kern_descrip.c:386: warning: implicit declaration of function 'FILEDESC_UNLOCK' /usr/src/sys/kern/kern_descrip.c:386: warning: nested extern declaration of 'FILEDESC_UNLOCK' /usr/src/sys/kern/kern_descrip.c:540: warning: implicit declaration of function 'FILEDESC_LOCK_FAST' /usr/src/sys/kern/kern_descrip.c:540: warning: nested extern declaration of 'FILEDESC_LOCK_FAST' /usr/src/sys/kern/kern_descrip.c:543: warning: implicit declaration of function 'FILEDESC_UNLOCK_FAST' /usr/src/sys/kern/kern_descrip.c:543: warning: nested extern declaration of 'FILEDESC_UNLOCK_FAST' /usr/src/sys/kern/kern_descrip.c: In function 'do_dup': /usr/src/sys/kern/kern_descrip.c:631: warning: statement with no effect /usr/src/sys/kern/kern_descrip.c:670: error: 'UF_OPENING' undeclared (first use in this function) /usr/src/sys/kern/kern_descrip.c: In function 'kern_close': /usr/src/sys/kern/kern_descrip.c:994: warning: statement with no effect /usr/src/sys/kern/kern_descrip.c:997: error: 'UF_OPENING' undeclared (first use in this function) /usr/src/sys/kern/kern_descrip.c:1202:36: error: macro FILEDESC_LOCK_ASSERT passed 2 arguments, but takes just 1 /usr/src/sys/kern/kern_descrip.c: In function 'fdgrowtable': /usr/src/sys/kern/kern_descrip.c:1202: error: 'FILEDESC_LOCK_ASSERT' undeclared (first use in this function) /usr/src/sys/kern/kern_descrip.c:1224: warning: statement with no effect /usr/src/sys/kern/kern_descrip.c:1263:36: error: macro FILEDESC_LOCK_ASSERT passed 2 arguments, but takes just 1 /usr/src/sys/kern/kern_descrip.c: In function 'fdalloc': /usr/src/sys/kern/kern_descrip.c:1263: error: 'FILEDESC_LOCK_ASSERT' undeclared (first use in this function) /usr/src/sys/kern/kern_descrip.c:1313:36: error: macro FILEDESC_LOCK_ASSERT passed 2 arguments, but takes just 1 /usr/src/sys/kern/kern_descrip.c: In function 'fdavail': /usr/src/sys/kern/kern_descrip.c:1313: error: 'FILEDESC_LOCK_ASSERT' undeclared (first use in this function) /usr/src/sys/kern/kern_descrip.c: In function 'falloc': /usr/src/sys/kern/kern_descrip.c:1351: warning: implicit declaration of function 'suser_cred' /usr/src/sys/kern/kern_descrip.c:1351: warning: nested extern declaration of 'suser_cred' /usr/src/sys/kern/kern_descrip.c:1351: error: 'SUSER_RUID' undeclared (first use in this function) /usr/src/sys/kern/kern_descrip.c:1376: warning: statement with no effect /usr/src/sys/kern/kern_descrip.c: In function 'fdinit': /usr/src/sys/kern/kern_descrip.c:1409: error: 'struct filedesc' has no member named 'fd_mtx' /usr/src/sys/kern/kern_descrip.c:1409: error: 'FILEDESC_LOCK_DESC' undeclared (first use in this function) /usr/src/sys/kern/kern_descrip.c:1411: warning: statement with no effect /usr/src/sys/kern/kern_descrip.c: In function 'fddrop': /usr/src/sys/kern/kern_descrip.c:1460: error: 'struct filedesc' has no member named 'fd_mtx' /usr/src/sys/kern/kern_descrip.c: In function 'fdcopy': /usr/src/sys/kern/kern_descrip.c:1514: warning: statement with no effect /usr/src/sys/kern/kern_descrip.c:1524: error: 'UF_OPENING' undeclared (first use in this function) /usr/src/sys/kern/kern_descrip.c:1535: warning: statement with no effect /usr/src/sys/kern/kern_descrip.c: In function 'fdfree': /usr/src/sys/kern/kern_descrip.c:1570: warning: statement with no effect /usr/src/sys/kern/kern_descrip.c:1598: warning: statement with no effect /usr/src/sys/kern/kern_descrip.c:1612: error: 'struct filedesc' has no member named 'fd_mtx' /usr/src/sys/kern/kern_descrip.c:1622: error: 'struct filedesc' has no member named 'fd_mtx'
Re: Perl 5.8.8 Compile
Jay Hall [EMAIL PROTECTED] writes: I am attempting to compile Perl 5.8.8 on FreeBSD 7.0-RELEASE. I make it through the configuration just fine, but when I attempt to run the make command, I receive the following error message. I am creating a custom install. The only parameter I am changing is the installation location. make: don't know how to make command-line. Stop. I have run make depend, and it finishes without any problems. I'm sure this is something simple I am missing because I have been looking at the problem for so long. Thanks in advance for your assistance. Even for non-standard location installs, I recommend using the ports instead of building yourself, but if you really want to do it by hand, expect to need to know a bit more about what you're doing. In this case, I suspect you need to use gmake instead of (the native) make. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Kernel Compile Error
Chris Maness [EMAIL PROTECTED] writes: I was trying to compile a 7.0 Release and the compile failed. I have never had a kernel compilation fail before. Here is the last of the output: opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx bla bla bla That's really weird. Is that an unchanged GENERIC kernel, with an empty make.conf? If so, youseem to have something inconsistent in your sources. How did you install the sources? Can you wipe them clean and try again? -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ Thanks for responding. I used CVSUP to update the source. This system is actually a restore from another server that I dumped from. The original server worked just fine (I tried it as an experiment). This is the only issue I have seen on the restored server so far. I just did a binary upgrade and am now rebuilding all of the ports from scratch. I will do as you suggested when that is done (rm -rf /usr/src/) and start from scratch. I thought the fact that the compile failed was really strange. I have never seen that before. Chris Maness ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OpenLDAP/FreeBSD: How to implement attribute HOST without STRUCTURAL account?
On Wednesday 30 April 2008 16:43, David Robillard wrote: On Wednesday 30 April 2008 11:00, O. Hartmann wrote: [ --- 8 --- SNIP! --- 8 --- ] That sounds very interesting Jonathan. Could you please share with us the complete LDIF data used to create such a user? This is live from my LDAP server: # jfm, group, hst.org.za dn: cn=jfm,ou=group,dc=hst,dc=org,dc=za objectClass: posixGroup gidNumber: 1001 cn: jfm # jfm, people, hst.org.za dn: uid=jfm,ou=people,dc=hst,dc=org,dc=za objectClass: inetOrgPerson objectClass: posixAccount objectClass: extensibleObject sn: McKeown cn: Jonathan McKeown uidNumber: 1001 gidNumber: 1001 mail: [EMAIL PROTECTED] loginShell: /usr/local/bin/bash host: charlotte.hst.org.za host: clare.hst.org.za uid: jfm homeDirectory: /home/jfm There is, of course, also a userPassword attribute in the user account. (You didn't expect me to show you that, did you?!) lol Well, if it's in {SSHA} format and you change a few digits here and there, that's not a security issue :) Using posixGroup, the attribute for adding additional members to a group is memberUid. There's a bit more to getting this all working: configuring slapd.conf with appropriate schemas, installing and configuring pam_ldap and nss_ldap, and setting up PAM correctly. I can go into excruciating detail if you like... Well, I'd certainly love to see how you've set things up. We could compare with what I've published on my wiki. The documentation is not finished, but it's a start. I'd really appreciate if people could check it out and tell me where the document could be enhanced, if I made any mistakes, things like that. Check it out here: http://wiki.zerocatastrophe.com/wiki/UNIX/FreeBSD/Kerberos+OpenLDAP Notice that I've updated my documentation to reflect your LDIF data as I believe it to be the very flexible. Thanks! I know that Edward Capriolo (in Cc: to this email) has also published some Kerberos OpenLDAP documentations online. Edward, care to join us here? My only irritation is that although passwd(1) in 6.3 has the code within it to allow it to be controlled by PAM, it's all currently diked out, so that you can't use passwd(1) transparently with LDAP users. (As far as I know this hasn't changed in 7.0). Indeed, that's also a problem I have. How do you go about to solve this? inetOrgPerson gives you a huge number of optional fields for other information, up to and including a JPEG photo. It inherits from organizationalPerson which inherits from person, so you need to combine all three sets of attributes to get the complete spec for inetOrgPerson (note the only MUST attributes are sn and cn from person): [ --- 8 --- SNIP! --- 8 --- ] We're hardly using any of these, but it seemed to make more sense to build it in, in case. You're right, I totally agree. Jonathan Cheers! DA+ -- David Robillard UNIX systems administrator Oracle DBA CISSP, RHCE Sun Certified Security Administrator Montreal: +1 514 966 0122 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DNS Problem
Ruel Luchavez wrote: when i resume it to its current configuration Obtain DBS server automatically the problem is back, is this a problem in my DNS server? I'm using the FreeBSD 6.2 version... I already restarted the DNS Server /etc/rc.d/named restart but nothing happens the problem is still there..Is there any one here could help me solve it? I'm not sure but it seems that you are trying to use dhcp to receive the address of DNS-server. Check the file /etc/resolv.conf ,this file should look like this: nameserver 10.1.2.3 nameserver 10.4.5.6 nameserver 10.7.8.9 -- Christer Hermansson ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
PHP5 install error
hi made a portsnap fetch update but I still get this error ideas? portaudit shows the vulnerability ... but that should be included in the port or? Error: make clean make install === Cleaning for php5-5.2.5_1 === php5-5.2.5_1 has known vulnerabilities: = php -- integer overflow vulnerability. Reference: http://www.FreeBSD.org/ports/portaudit/f6377f08-12a7-11dd-bab7-0016179b2dd5.html = Please update your ports tree and try again. *** Error code 1 Stop in /var/ports/lang/php5. mvh/best regards ervin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Perl 5.8.8 Compile
I received the same error with both make and gmake. Thanks, Jay On Thu, May 1, 2008 at 8:30 AM, Lowell Gilbert wrote: Jay Hall [EMAIL PROTECTED] writes: I am attempting to compile Perl 5.8.8 on FreeBSD 7.0-RELEASE. I make it through the configuration just fine, but when I attempt to run the make command, I receive the following error message. I am creating a custom install. The only parameter I am changing is the installation location. make: don't know how to make command-line. Stop. I have run make depend, and it finishes without any problems. I'm sure this is something simple I am missing because I have been looking at the problem for so long. Thanks in advance for your assistance. Even for non-standard location installs, I recommend using the ports instead of building yourself, but if you really want to do it by hand, expect to need to know a bit more about what you're doing. In this case, I suspect you need to use gmake instead of (the native) make. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Recovering mysql data - mysqlbinlog
Can someone direct me to where the MySQL transaction logs are stored? I am running FreeBSD 6.1 with MySql 5.0.41 which I installed from ports, no extra config. From what I've read online, unless you disable them (which I couldn't find in the makefile) the logs should be being created. Doing a find / --name bin. Didn't turn up anything. I'll also note that it is not in var/db/mysql with the rest of the mysql data files and the ib_logfiles which would have been useful, but the data I am trying to recover is from a MyISAM. Thanks for the help! -John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Recovering mysql data - mysqlbinlog
--On Thursday, May 01, 2008 13:45:32 -0400 John [EMAIL PROTECTED] wrote: Can someone direct me to where the MySQL transaction logs are stored? I am running FreeBSD 6.1 with MySql 5.0.41 which I installed from ports, no extra config. From what I've read online, unless you disable them (which I couldn't find in the makefile) the logs should be being created. Doing a find / --name bin. Didn't turn up anything. /var/db/mysql/hostname-bin.number /var/db/mysql/hostname-bin.index /var/db/mysql/hostname.err And if you've enabled query logging (stores passwords in plain text!) /var/db/mysql/query.log -- Paul Schmehl ([EMAIL PROTECTED]) Senior Information Security Analyst The University of Texas at Dallas http://www.utdallas.edu/ir/security/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Nut problem and last message repeated in dmesg
At 04:01 AM 5/1/2008, Olivier GARNIER wrote: There are my questions: Does anyone become to correct the same problem and can help me to correct this? Can anyone tell my how to see the last message which is repeated hundred times? I've got an MGE ellipse 750 USBS. I've connected it to my server with USB cable. I've installed NUT via ports. Now this service is crashing very often. For example it crashes yesterday 23h16, I restarted it and when I watch it today : # dmesg - a . Apr 30 23:12:38 myhost last message repeated 120 times Apr 30 23:16:28 myhost last message repeated 46 times Apr 30 23:16:33 myhost upsmon[1011]: Poll UPS [EMAIL PROTECTED] failed - Server disconnected May 1 08:57:44 myhost upsmon[1011]: Poll UPS [EMAIL PROTECTED] failed - Data stale May 1 08:58:19 myhost last message repeated 7 times May 1 09:00:24 myhost last message repeated 25 times May 1 09:10:29 myhost last message repeated 121 times May 1 09:20:34 myhost last message repeated 121 times May 1 09:30:35 myhost last message repeated 120 times May 1 09:40:40 myhost last message repeated 121 times May 1 09:50:40 myhost last message repeated 120 times May 1 10:00:40 myhost last message repeated 120 times May 1 10:10:40 myhost last message repeated 120 times May 1 10:20:40 myhost last message repeated 120 times May 1 10:30:40 myhost last message repeated 120 times May 1 10:40:40 myhost last message repeated 120 times [EMAIL PROTECTED] ~]$ /usr/local/etc/rc.d/nut stop Password: Stopping nut. Network UPS Tools - UPS driver controller 2.2.1 [EMAIL PROTECTED] ~]$ /usr/local/etc/rc.d/nut start Network UPS Tools - UPS driver controller 2.2.1 Network UPS Tools: 0.29 USB communication driver - core 0.32 (2.2.1) Using subdriver: MGE HID 1.01 Starting nut. Network UPS Tools upsd 2.2.1 listening on 0.0.0.0 port 3493 Connected to UPS [ellipse]: usbhid-ups-ellipse Make sure you are using the correct driver. Nut has consolidated and changed drivers in recent releases. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: PHP5 install error
ervin wrote: hi made a portsnap fetch update but I still get this error ideas? portaudit shows the vulnerability ... but that should be included in the port or? Error: make clean make install === Cleaning for php5-5.2.5_1 === php5-5.2.5_1 has known vulnerabilities: = php -- integer overflow vulnerability. Reference: http://www.FreeBSD.org/ports/portaudit/f6377f08-12a7-11dd-bab7-0016179b2dd5.html = Please update your ports tree and try again. *** Error code 1 Stop in /var/ports/lang/php5. mvh/best regards ervin 1. Wait until the PHP port gets updated. 2. OR, uninstall portaudit and throw all sheets to the wind. 3. OR, read the appropriate manpage for either ports(7) or portaudit and determine how to override the portaudit check. I've not got portaudit installed on this box, and ports(7) is a rather long manpage, so I'll leave this exercise to the reader. Oh, and #include disclaimer.h and all that HTH, Kevin Kinsey -- FORCE YOURSELF TO RELAX! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Recovering mysql data - mysqlbinlog
On Thursday 01 May 2008 19:45:32 John wrote: Can someone direct me to where the MySQL transaction logs are stored? I am running FreeBSD 6.1 with MySql 5.0.41 which I installed from ports, no extra config. From what I've read online, unless you disable them (which I couldn't find in the makefile) the logs should be being created. Doing a find / --name bin. Didn't turn up anything. By default they end up in /var/db/mysql and are named $hostname-bin.### Also, the information you read online is incorrect. By default, binary logging (which are the transaction logs) is disabled. I don't recall whether this is a FreeBSD port specific modification. You can turn it on by putting a my.cnf in /var/db/mysql. Templates named my-$size.cnf are in /usr/local/share/mysql and are well-commented. I'll also note that it is not in var/db/mysql with the rest of the mysql data files and the ib_logfiles which would have been useful, but the data I am trying to recover is from a MyISAM. I take it you tried myisamchk? -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Recovering mysql data - mysqlbinlog
Can someone direct me to where the MySQL transaction logs are stored? I am running FreeBSD 6.1 with MySql 5.0.41 which I installed from ports, no extra config. From what I've read online, unless you disable them (which I couldn't find in the makefile) the logs should be being created. Doing a find / --name bin. Didn't turn up anything. I'll also note that it is not in var/db/mysql with the rest of the mysql data files and the ib_logfiles which would have been useful, but the data I am trying to recover is from a MyISAM. Thanks for the help! -John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Perl 5.8.8 Compile
I solved the problem with using Perl 5.10.0 on FreeBSD 7. But it is not stable. Quoting Jay Hall [EMAIL PROTECTED]: I received the same error with both make and gmake. Thanks, Jay On Thu, May 1, 2008 at 8:30 AM, Lowell Gilbert wrote: Jay Hall [EMAIL PROTECTED] writes: I am attempting to compile Perl 5.8.8 on FreeBSD 7.0-RELEASE. I make it through the configuration just fine, but when I attempt to run the make command, I receive the following error message. I am creating a custom install. The only parameter I am changing is the installation location. make: don't know how to make command-line. Stop. I have run make depend, and it finishes without any problems. I'm sure this is something simple I am missing because I have been looking at the problem for so long. Thanks in advance for your assistance. Even for non-standard location installs, I recommend using the ports instead of building yourself, but if you really want to do it by hand, expect to need to know a bit more about what you're doing. In this case, I suspect you need to use gmake instead of (the native) make. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ 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: Recovering mysql data - mysqlbinlog
Thank you Mel and Paul for the suggestions. From what I understand the general query log is more for debugging and the binary log is for point in time recovery and replication. I'll be adding a my.cnf file (using the my-large.cnf as a skeleton) soon. I'm glad the issue was caught earlier on and now I'm the wiser thanks to you guys. I wonder why the default is no. I can't think of anyone who wouldn't find the binary logging beneficial. I didn't run myisamchk since I'm trying to restore data that was mistakenly deleted and not recovering from a corruption. -John -Original Message- From: Mel [mailto:[EMAIL PROTECTED] Sent: Thursday, May 01, 2008 2:23 PM To: freebsd-questions@freebsd.org Cc: John; [EMAIL PROTECTED] Subject: Re: Recovering mysql data - mysqlbinlog On Thursday 01 May 2008 19:45:32 John wrote: Can someone direct me to where the MySQL transaction logs are stored? I am running FreeBSD 6.1 with MySql 5.0.41 which I installed from ports, no extra config. From what I've read online, unless you disable them (which I couldn't find in the makefile) the logs should be being created. Doing a find / --name bin. Didn't turn up anything. By default they end up in /var/db/mysql and are named $hostname-bin.### Also, the information you read online is incorrect. By default, binary logging (which are the transaction logs) is disabled. I don't recall whether this is a FreeBSD port specific modification. You can turn it on by putting a my.cnf in /var/db/mysql. Templates named my-$size.cnf are in /usr/local/share/mysql and are well-commented. I'll also note that it is not in var/db/mysql with the rest of the mysql data files and the ib_logfiles which would have been useful, but the data I am trying to recover is from a MyISAM. I take it you tried myisamchk? -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Recovering mysql data - mysqlbinlog
On Thursday 01 May 2008 21:13:41 John wrote: Thank you Mel and Paul for the suggestions. From what I understand the general query log is more for debugging and the binary log is for point in time recovery and replication. I'll be adding a my.cnf file (using the my-large.cnf as a skeleton) soon. I'm glad the issue was caught earlier on and now I'm the wiser thanks to you guys. I wonder why the default is no. I can't think of anyone who wouldn't find the binary logging beneficial. I can think of a reason for FreeBSD. The binary logs are never deleted and upon every server restart a new one is created. If you're like me, developing on a laptop with a webenvironment including 'Mysql server', shutting down your laptop daily, you quickly find yourself having full /var partition. People running dedicated or semi-dedicated MySQL installations, are encouraged to tweak their installation anyway. The most common ones being: - put the binary logs on a large enough disk, if possible a seperate disk all together for performance. - by default, /tmp is used for temporary sorting tables, when JOINs demand it. If that's a small partition or worse a 64MB memory disk, expect to get in trouble, system wide. Use the tmpdir configuration variable. - thread_concurrency as indicated in the templates - skip-networking for security if all traffic is local - sort and key buffer + max_connections to limit/max out memory usage. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Recovering mysql data - mysqlbinlog
--On Thursday, May 01, 2008 21:52:05 +0200 Mel [EMAIL PROTECTED] wrote: On Thursday 01 May 2008 21:13:41 John wrote: Thank you Mel and Paul for the suggestions. From what I understand the general query log is more for debugging and the binary log is for point in time recovery and replication. I'll be adding a my.cnf file (using the my-large.cnf as a skeleton) soon. I'm glad the issue was caught earlier on and now I'm the wiser thanks to you guys. I wonder why the default is no. I can't think of anyone who wouldn't find the binary logging beneficial. I can think of a reason for FreeBSD. The binary logs are never deleted and upon every server restart a new one is created. If you're like me, developing on a laptop with a webenvironment including 'Mysql server', shutting down your laptop daily, you quickly find yourself having full /var partition. That can be alleviated by adding the logs to newsyslog.conf and gzipping and rotating them regularly. If you don't restart mysql much, something like this would work: /var/db/mysql/[hostname]-bin.*mysql:mysql 660 7 * $W6D0 JBG /var/db/mysql/[FQHN].pid If you're restarting it daily, something like this should work: /var/db/mysql/[hostname]-bin.*mysql:mysql 660 25 * $D0 JBG /var/db/mysql/[FQHN].pid Adjust the counts and the rotation schedule to your liking and, of course, use your own hostname and fully qualified hostname. -- Paul Schmehl ([EMAIL PROTECTED]) Senior Information Security Analyst The University of Texas at Dallas http://www.utdallas.edu/ir/security/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: HDD missing from sysinstall
I just want to say I'm having the same problem. I have an asus p5n-e SLI, two seagate 250GB sata2 HD's. When trying to install FreeBSD 7.0-Release, the sysinstall pops up the message No Disks Found!(...). And after that I can't boot up neither my Win Xp, Linux or Freebsd 6.2 anymore... Has anyone figured out a solution yet? :/ Another minor problem was that I was unable to run sysinstall with my usb keyboard, got stuck right at the region choice window. Troels Kofoed Jacobsen wrote: When I put in my fbsd 6.3 or 7.0 install disk sysinstall is unable to detect any of the hard drives in my computer. This is includes SATA and IDE HDDs in varying orders. BIOS is able to detect the the hard drives. I Previously had fbsd 6.2 installed on them and the problem started when I upgraded the kernel to 6.3 although I don't see my upgrades relevance as I have tried to reinstall from a clean disk since then. I have the exact same problem on an Asus P5N-E sli board. I have two ide harddrives, two ide optical drives and one sata harddisk connected. After trying to boot FreeBSD 7.0, which gives me No disks found, i cannot boot in freebsd 6.2 or linux anymore. I have to reboot with the ide harddisks disconnected. And then erboot again (with drives reconnected) before my machine can boot again. (Then both freebsd 6.2 and linxu works again) This is not a problem in the installer but in the kernel as i get the same result when upgrading (both to 7.0 and 8.0-current) I thing thes is a very severe problem/bug/regression.. I dont dare to try FreeBSD on a laptop where i cannot disconnect the drives as easily. dmesg from 6.2 attached. I cannot find a way to provide dmesg from 7.0 from the install cd (disk 1 -- i cannot mount livefs as optical drives are also not found) Best Regards Troels -- Troels Kofoed Jacobsen [EMAIL PROTECTED] tel: +45 20880798 Copyright (c) 1992-2007 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 6.2-RELEASE #0: Fri Jan 12 11:05:30 UTC 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz (2400.02-MHz 686-class CPU) Origin = GenuineIntel Id = 0x6f6 Stepping = 6 Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE Features2=0xe3bdSSE3,RSVD2,MON,DS_CPL,VMX,EST,TM2,b9,CX16,b14,b15 AMD Features=0x2010NX,LM AMD Features2=0x1LAHF Cores per package: 2 real memory = 2146369536 (2046 MB) avail memory = 2095267840 (1998 MB) ACPI APIC Table: Nvidia ASUSACPI FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0: Changing APIC ID to 4 ioapic0 Version 1.1 irqs 0-23 on motherboard kbd1 at kbdmux0 ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) acpi0: Nvidia ASUSACPI on motherboard acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi0: Power Button (fixed) acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR Timecounter ACPI-fast frequency 3579545 Hz quality 1000 acpi_timer0: 24-bit timer at 3.579545MHz port 0x1008-0x100b on acpi0 cpu0: ACPI CPU on acpi0 cpu1: ACPI CPU on acpi0 acpi_button0: Power Button on acpi0 pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0 pci0: ACPI PCI bus on pcib0 pci0: memory, RAM at device 0.1 (no driver attached) pci0: memory, RAM at device 0.2 (no driver attached) pci0: memory, RAM at device 0.3 (no driver attached) pci0: memory, RAM at device 0.4 (no driver attached) pci0: memory, RAM at device 0.5 (no driver attached) pci0: memory, RAM at device 0.6 (no driver attached) pci0: memory, RAM at device 0.7 (no driver attached) pci0: memory, RAM at device 1.0 (no driver attached) pci0: memory, RAM at device 1.1 (no driver attached) pci0: memory, RAM at device 1.2 (no driver attached) pci0: memory, RAM at device 1.3 (no driver attached) pci0: memory, RAM at device 1.4 (no driver attached) pci0: memory, RAM at device 1.5 (no driver attached) pci0: memory, RAM at device 1.6 (no driver attached) pci0: memory, RAM at device 2.0 (no driver attached) pci0: memory, RAM at device 2.1 (no driver attached) pci0: memory, RAM at device 2.2 (no driver attached) pcib1: ACPI PCI-PCI bridge at device 3.0 on pci0 pci1: ACPI PCI bus on pcib1 pci1: display, VGA at device 0.0 (no driver attached) pcib2: ACPI PCI-PCI bridge at device 5.0 on pci0 pci2: ACPI PCI bus on pcib2 pcib3: ACPI PCI-PCI bridge at device 6.0 on pci0 pci3: ACPI PCI bus on pcib3 pcib4: ACPI PCI-PCI bridge at device 7.0 on pci0 pci4: ACPI PCI bus on pcib4 atapci0:
Re: Recovering mysql data - mysqlbinlog
On Thursday 01 May 2008 22:24:33 Paul Schmehl wrote: --On Thursday, May 01, 2008 21:52:05 +0200 Mel [EMAIL PROTECTED] wrote: On Thursday 01 May 2008 21:13:41 John wrote: Thank you Mel and Paul for the suggestions. From what I understand the general query log is more for debugging and the binary log is for point in time recovery and replication. I'll be adding a my.cnf file (using the my-large.cnf as a skeleton) soon. I'm glad the issue was caught earlier on and now I'm the wiser thanks to you guys. I wonder why the default is no. I can't think of anyone who wouldn't find the binary logging beneficial. I can think of a reason for FreeBSD. The binary logs are never deleted and upon every server restart a new one is created. If you're like me, developing on a laptop with a webenvironment including 'Mysql server', shutting down your laptop daily, you quickly find yourself having full /var partition. That can be alleviated by adding the logs to newsyslog.conf and gzipping and rotating them regularly. If you don't restart mysql much, something like this would work: /var/db/mysql/[hostname]-bin.*mysql:mysql 660 7 * $W6D0 JBG /var/db/mysql/[FQHN].pid If you're restarting it daily, something like this should work: /var/db/mysql/[hostname]-bin.*mysql:mysql 660 25 * $D0 JBG /var/db/mysql/[FQHN].pid Adjust the counts and the rotation schedule to your liking and, of course, use your own hostname and fully qualified hostname. Yes, in this particular case it can, not changing hostnames is a plus then (as in, getting hostname from your dhcp server) ;) Actually, I think you can use a fixed name, but it's been a while since I looked at the bin-log related variables. However if you're using the bin-log, to recover accidental deletes or replications, then you need to use the mysql provided SQL commands for it. It's scriptable (periodic/crontab), but not for use in newsyslog. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
TERM
My HOME, END isn't working whenever I login through PuTTY or SecureCRT to FreeBSD-7.0-RELEASE-p1 anyone knows where/what needs to be adjusted? -- http://alexus.org/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ACPI can only be compiled into the kernel on the amd64 and ia64 platforms
anyone? On Wed, Apr 30, 2008 at 5:23 PM, alexus [EMAIL PROTECTED] wrote: dd# make cleandepend make depend rm -f .depend machine amd64 cd ../../../modules; MAKEOBJDIRPREFIX=/usr/src/sys/i386/compile/dd/modules KMODDIR=/boot/kernel DEBUG_FLAGS=-g MACHINE=i386 KERNBUILDDIR=/usr/src/sys/i386/compile/dd make cleandepend === aac (cleandepend) rm -f @ machine amd64 rm -f .depend GPATH GRTAGS GSYMS GTAGS === accf_data (cleandepend) rm -f @ machine amd64 rm -f .depend GPATH GRTAGS GSYMS GTAGS === accf_http (cleandepend) rm -f @ machine amd64 rm -f .depend GPATH GRTAGS GSYMS GTAGS === acpi (cleandepend) === acpi/acpi (cleandepend) Makefile, line 4: ACPI can only be compiled into the kernel on the amd64 and ia64 platforms *** Error code 1 Stop in /usr/src/sys/modules/acpi. *** Error code 1 Stop in /usr/src/sys/modules. *** Error code 1 Stop in /usr/src/sys/i386/compile/dd. dd# I took GENERIC and rewise it a little bit -- http://alexus.org/ -- http://alexus.org/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: HDD missing from sysinstall
On Thursday 01 May 2008 22:31:13 Cameigons wrote: I just want to say I'm having the same problem. I have an asus p5n-e SLI, two seagate 250GB sata2 HD's. When trying to install FreeBSD 7.0-Release, the sysinstall pops up the message No Disks Found!(...). And after that I can't boot up neither my Win Xp, Linux or Freebsd 6.2 anymore... Has anyone figured out a solution yet? :/ That would typically start with send-pr, so devs know there's a problem. Looking at the dmesg posted by Troels, I would include an acpi dump. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/acpi-debug.html -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ACPI can only be compiled into the kernel on the amd64 and ia64 platforms
On Wednesday 30 April 2008 23:23:27 alexus wrote: dd# make cleandepend make depend rm -f .depend machine amd64 cd ../../../modules; MAKEOBJDIRPREFIX=/usr/src/sys/i386/compile/dd/modules KMODDIR=/boot/kernel DEBUG_FLAGS=-g MACHINE=i386 KERNBUILDDIR=/usr/src/sys/i386/compile/dd make cleandepend === aac (cleandepend) rm -f @ machine amd64 rm -f .depend GPATH GRTAGS GSYMS GTAGS === accf_data (cleandepend) rm -f @ machine amd64 rm -f .depend GPATH GRTAGS GSYMS GTAGS === accf_http (cleandepend) rm -f @ machine amd64 rm -f .depend GPATH GRTAGS GSYMS GTAGS === acpi (cleandepend) === acpi/acpi (cleandepend) Makefile, line 4: ACPI can only be compiled into the kernel on the amd64 and ia64 platforms *** Error code 1 Stop in /usr/src/sys/modules/acpi. *** Error code 1 Stop in /usr/src/sys/modules. *** Error code 1 Stop in /usr/src/sys/i386/compile/dd. dd# I took GENERIC and rewise it a little bit You removed device acpi and shouldn't have done that. Also, your build system looks weird. What is compile/dd, why are you compiling under i386 when your system is detected as amd64 or ia64, why is MAKEOBJDIRPREFIX pointing to a directory below the source tree, rather then a directory outside the source tree. In other words, not enough info (aside from the missing question). -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: TERM
On Thursday 01 May 2008 22:56:39 alexus wrote: My HOME, END isn't working whenever I login through PuTTY or SecureCRT to FreeBSD-7.0-RELEASE-p1 anyone knows where/what needs to be adjusted? Your client. IIRC, secureCRT had an option to bind keys to a different combination. But it's been a while. ctrl-a for HOME and ctrl-e for END should work, regardless of client. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ACPI can only be compiled into the kernel on the amd64 and ia64 platforms
like i said i copy GENERIC dd# pwd /usr/src/sys/i386/conf dd# grep -i acpi GENERIC dd# my GENERIC doesn't have acpi either... as far as weird part goes, this is a plain vanila FreeBSD-7.0-RELEASE, I'm not sure what you mean by weird or i386 part, all I did is cp GENERIC dd then vi dd, then config dd and then tried compiling and it threw me an error right away. On Thu, May 1, 2008 at 5:34 PM, Mel [EMAIL PROTECTED] wrote: On Wednesday 30 April 2008 23:23:27 alexus wrote: dd# make cleandepend make depend rm -f .depend machine amd64 cd ../../../modules; MAKEOBJDIRPREFIX=/usr/src/sys/i386/compile/dd/modules KMODDIR=/boot/kernel DEBUG_FLAGS=-g MACHINE=i386 KERNBUILDDIR=/usr/src/sys/i386/compile/dd make cleandepend === aac (cleandepend) rm -f @ machine amd64 rm -f .depend GPATH GRTAGS GSYMS GTAGS === accf_data (cleandepend) rm -f @ machine amd64 rm -f .depend GPATH GRTAGS GSYMS GTAGS === accf_http (cleandepend) rm -f @ machine amd64 rm -f .depend GPATH GRTAGS GSYMS GTAGS === acpi (cleandepend) === acpi/acpi (cleandepend) Makefile, line 4: ACPI can only be compiled into the kernel on the amd64 and ia64 platforms *** Error code 1 Stop in /usr/src/sys/modules/acpi. *** Error code 1 Stop in /usr/src/sys/modules. *** Error code 1 Stop in /usr/src/sys/i386/compile/dd. dd# I took GENERIC and rewise it a little bit You removed device acpi and shouldn't have done that. Also, your build system looks weird. What is compile/dd, why are you compiling under i386 when your system is detected as amd64 or ia64, why is MAKEOBJDIRPREFIX pointing to a directory below the source tree, rather then a directory outside the source tree. In other words, not enough info (aside from the missing question). -- Mel Problem with today's modular software: they start with the modules and never get to the software part. -- http://alexus.org/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
mailcap documentation?
Hello all, There's apparently an RFC-standard file called /etc/mailcap (as well as .mailcap), but I can't find any docs on this file. Would it be worthwhile to rework the RFC into a manpage (I am willing to do it), or should I bother the providers of ports that use it (such as, say, alpine (and possibly others)? The problem is, they likely don't bundle it because other OSes have it already. It's a fairly standard file, but FreeBSD doesn't ship with an MUA that uses it (I *think*). I know mail(1) does not. -Dan -- Dan Mahoney Techie, Sysadmin, WebGeek Gushi on efnet/undernet IRC ICQ: 13735144 AIM: LarpGM Site: http://www.gushi.org --- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: TERM
I use same client for RHEL, and it works fine, is there anything can be done in order to make key work as a key (not on client side) but on server? On Thu, May 1, 2008 at 5:40 PM, Mel [EMAIL PROTECTED] wrote: On Thursday 01 May 2008 22:56:39 alexus wrote: My HOME, END isn't working whenever I login through PuTTY or SecureCRT to FreeBSD-7.0-RELEASE-p1 anyone knows where/what needs to be adjusted? Your client. IIRC, secureCRT had an option to bind keys to a different combination. But it's been a while. ctrl-a for HOME and ctrl-e for END should work, regardless of client. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. -- http://alexus.org/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ACPI can only be compiled into the kernel on the amd64 and ia64 platforms
On Thursday 01 May 2008 23:43:17 alexus wrote: like i said i copy GENERIC dd# pwd /usr/src/sys/i386/conf dd# grep -i acpi GENERIC dd# my GENERIC doesn't have acpi either... as far as weird part goes, this is a plain vanila FreeBSD-7.0-RELEASE, I'm not sure what you mean by weird or i386 part, all I did is cp GENERIC dd then vi dd, then config dd and then tried compiling and it threw me an error right away. Ah, the old config way. Better to use buildkernel target in /usr/src. What's your uname -m? -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ACPI can only be compiled into the kernel on the amd64 and ia64 platforms
On Thursday 01 May 2008 18:43:17 alexus wrote: why are you compiling under i386 when your system is detected as amd64 or ia64 ? You didn't answer this one. uname -a can help. -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since version 2.2.8 [not Pro-Audio YET!!] (99,7% winedows FREE) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ACPI can only be compiled into the kernel on the amd64 and ia64 platforms
sorry, this is amd64 On Thu, May 1, 2008 at 6:14 PM, Mario Lobo [EMAIL PROTECTED] wrote: On Thursday 01 May 2008 18:43:17 alexus wrote: why are you compiling under i386 when your system is detected as amd64 or ia64 ? You didn't answer this one. uname -a can help. -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since version 2.2.8 [not Pro-Audio YET!!] (99,7% winedows FREE) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- http://alexus.org/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DNS Problem
before i post here i already check the /etc/resolve.conf and this is what's inside of it domain name On Fri, May 2, 2008 at 12:23 AM, Christer Hermansson [EMAIL PROTECTED] wrote: Ruel Luchavez wrote: when i resume it to its current configuration Obtain DBS server automatically the problem is back, is this a problem in my DNS server? I'm using the FreeBSD 6.2 version... I already restarted the DNS Server /etc/rc.d/named restart but nothing happens the problem is still there..Is there any one here could help me solve it? I'm not sure but it seems that you are trying to use dhcp to receive the address of DNS-server. Check the file /etc/resolv.conf ,this file should look like this: nameserver 10.1.2.3 nameserver 10.4.5.6 nameserver 10.7.8.9 -- Christer Hermansson ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DNS Problem
before i post here i already check the /etc/resolve.conf and this is what's inside of it domain name myplace.com.ph name server 101.1.21.1 name server192.168.1.62 could it be my firewall blocking it? but i didn't change any configuration from it.. Thanks in advance for your help..:( On Fri, May 2, 2008 at 12:23 AM, Christer Hermansson [EMAIL PROTECTED] wrote: Ruel Luchavez wrote: when i resume it to its current configuration Obtain DBS server automatically the problem is back, is this a problem in my DNS server? I'm using the FreeBSD 6.2 version... I already restarted the DNS Server /etc/rc.d/named restart but nothing happens the problem is still there..Is there any one here could help me solve it? I'm not sure but it seems that you are trying to use dhcp to receive the address of DNS-server. Check the file /etc/resolv.conf ,this file should look like this: nameserver 10.1.2.3 nameserver 10.4.5.6 nameserver 10.7.8.9 -- Christer Hermansson ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DNS Problem
On Fri, 2 May 2008 at 09:36 +0800, [EMAIL PROTECTED] confabulated: before i post here i already check the /etc/resolve.conf and this is what's inside of it domain name myplace.com.ph name server 101.1.21.1 name server192.168.1.62 According to the resolver(5) documentation, it should look like this: domain myplace.com.ph nameserver 101.1.21.1 nameserver 192.168.1.62 could it be my firewall blocking it? but i didn't change any configuration from it.. Thanks in advance for your help..:( On Fri, May 2, 2008 at 12:23 AM, Christer Hermansson [EMAIL PROTECTED] wrote: Ruel Luchavez wrote: when i resume it to its current configuration Obtain DBS server automatically the problem is back, is this a problem in my DNS server? I'm using the FreeBSD 6.2 version... I already restarted the DNS Server /etc/rc.d/named restart but nothing happens the problem is still there..Is there any one here could help me solve it? I'm not sure but it seems that you are trying to use dhcp to receive the address of DNS-server. Check the file /etc/resolv.conf ,this file should look like this: nameserver 10.1.2.3 nameserver 10.4.5.6 nameserver 10.7.8.9 -- Christer Hermansson ___ 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: DNS Problem
Ok..I have follow your post D Hill, but it doesn't solve the problem Please HELP... Thanks..:( On Fri, May 2, 2008 at 9:45 AM, D Hill [EMAIL PROTECTED] wrote: On Fri, 2 May 2008 at 09:36 +0800, [EMAIL PROTECTED] confabulated: before i post here i already check the /etc/resolve.conf and this is what's inside of it domain name myplace.com.ph name server 101.1.21.1 name server192.168.1.62 According to the resolver(5) documentation, it should look like this: domain myplace.com.ph nameserver 101.1.21.1 nameserver 192.168.1.62 could it be my firewall blocking it? but i didn't change any configuration from it.. Thanks in advance for your help..:( On Fri, May 2, 2008 at 12:23 AM, Christer Hermansson [EMAIL PROTECTED] wrote: Ruel Luchavez wrote: when i resume it to its current configuration Obtain DBS server automatically the problem is back, is this a problem in my DNS server? I'm using the FreeBSD 6.2 version... I already restarted the DNS Server /etc/rc.d/named restart but nothing happens the problem is still there..Is there any one here could help me solve it? I'm not sure but it seems that you are trying to use dhcp to receive the address of DNS-server. Check the file /etc/resolv.conf ,this file should look like this: nameserver 10.1.2.3 nameserver 10.4.5.6 nameserver 10.7.8.9 -- Christer Hermansson ___ 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: DNS Problem
On Fri, May 02, 2008 at 09:36:51AM +0800, Ruel Luchavez wrote: before i post here i already check the /etc/resolve.conf and this is what's inside of it domain name myplace.com.ph name server 101.1.21.1 name server192.168.1.62 The problems with what you've just posted are: 1. the file is /etc/resolv.conf, not /etc/resolve.conf 2. your contents are wrong, they should look like: domain myplace.com.ph nameserver 101.1.21.1 nameserver 192.168.1.62 -- Jonathan Chen [EMAIL PROTECTED] -- The things we know best are the things we haven't been taught. - Marquis de Vauvenargues ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DNS Problem
On Fri, 2 May 2008 at 15:35 +1200, [EMAIL PROTECTED] confabulated: On Fri, May 02, 2008 at 09:36:51AM +0800, Ruel Luchavez wrote: before i post here i already check the /etc/resolve.conf and this is what's inside of it domain name myplace.com.ph name server 101.1.21.1 name server192.168.1.62 The problems with what you've just posted are: 1. the file is /etc/resolv.conf, not /etc/resolve.conf Ha! I didn't catch the misspelling of resolv.conf. :-( 2. your contents are wrong, they should look like: domain myplace.com.ph nameserver 101.1.21.1 nameserver 192.168.1.62 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: TERM
Hi Alexus, 2008/5/1 alexus [EMAIL PROTECTED]: I use same client for RHEL, and it works fine, is there anything can be done in order to make key work as a key (not on client side) but on server? probably, yes. I guess that your client sets the TERM variable to something FreeBSD doesn't understand correctly. The settings in TERMINFO aren't neccessarily the same on all platforms, let alone the fact that some aren't available at all. There's for example linux which I've seen to be the default in some terminals but doesn't work on non Linux-systems of course. xterm seems to be available everywhere, but doesn't contain the same binding on all platforms. Solaris for example lacks color support on some other bindings I've forgotten. vt100 should be fine everywhere (but might miss a few features). You can try several TERM settings in one session by assigning the proper value to this variable, respectively. If you found one that suits your needs you can save this setting on the client side, because its the client that sends the Terminfo to be used to the server. HTH Christian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
handling stale dependencies
Hello, I will appreciate your advice about how to best handle stale dependencies. Today I wanted to upgrade phpMyAdmin and I got a number of questions about stale dependencies. I eventually deleted all of them, but does this mean I need to upgrade ports which used this dependency (mailgraph-1.14_1, netpbm-10.26.52, p5-FuzzyOcr-devel-3.4.2_1, php5-gd-5.2.5_1, and rrdtool-1.2.26)? Stale dependency: mailgraph-1.14_1 - png-1.2.27 (graphics/png): Delete this? ([y]es/[n]o/[a]ll) [yes] Deleted. Stale dependency: netpbm-10.26.52 - png-1.2.27 (graphics/png): Delete this? ([y]es/[n]o/[a]ll) [yes] Deleted. Stale dependency: p5-FuzzyOcr-devel-3.4.2_1 - png-1.2.27 (graphics/png): Delete this? ([y]es/[n]o/[a]ll) [yes] Deleted. Stale dependency: pear-Image_Color-1.0.2_1 - png-1.2.27 (graphics/png): Delete this? ([y]es/[n]o/[a]ll) [yes] Deleted. Stale dependency: pecl-pdflib-2.1.5 - png-1.2.27 (graphics/png): Delete this? ([y]es/[n]o/[a]ll) [yes] Deleted. Stale dependency: php5-gd-5.2.5_1 - png-1.2.27 (graphics/png): Delete this? ([y]es/[n]o/[a]ll) [yes] Deleted. Stale dependency: phpMyAdmin-2.11.5 - png-1.2.27 (graphics/png): Delete this? ([y]es/[n]o/[a]ll) [yes] Deleted. Stale dependency: rrdtool-1.2.26 - png-1.2.27 (graphics/png): Delete this? ([y]es/[n]o/[a]ll) [yes] Deleted. I am not even sure png is installed. $ pkg_info -Ix png pkg_info: no packages match pattern(s) $ cat /usr/ports/graphics/png/distinfo MD5 (libpng-1.2.28.tar.bz2) = c981a7014fc695e354d2f2cac3a6742e SHA256 (libpng-1.2.28.tar.bz2) = 041c11048ea812f56d7042fbdfc3d7025c97a81f07ab20ebd0f50aecb47baccc SIZE (libpng-1.2.28.tar.bz2) = 788156 Many thanks in advance! -- Zbigniew Szalbot www.lc-words.com smime.p7s Description: S/MIME Cryptographic Signature
RE: Nut problem and last message repeated in dmesg
$ pkg_info | grep nut nut-2.2.1_1 Network UPS Tools $ grep driver /usr/local/etc/nut/*.conf | grep -v \# /usr/local/etc/nut/ups.conf:driver = usbhid-ups $ grep Ellipse /usr/local/etc/nut/driver.list | grep 750 | grep usb MGE Office Protection Systems Ellipse ASR USBS 600/750/1000/1500 VA USB cable usbhid-ups MGE UPS SYSTEMS Ellipse Office 750USB usbhid-ups $ sudo /usr/local/etc/rc.d/nut start Network UPS Tools - UPS driver controller 2.2.1 Network UPS Tools: 0.29 USB communication driver - core 0.32 (2.2.1) Using subdriver: MGE HID 1.01 Starting nut. Network UPS Tools upsd 2.2.1 listening on 0.0.0.0 port 3493 Connected to UPS [ellipse]: usbhid-ups-ellipse Broadcast Message from [EMAIL PROTECTED] (no tty) at 7:34 CEST... Communications with UPS [EMAIL PROTECTED] established It seems to be the good driver. It seems to be the last nut version. It seems to run weel during about 1/2 day, and then crash :/ Olivier De : Derek Ragona [mailto:[EMAIL PROTECTED] Envoyé : jeudi 1 mai 2008 20:14 À : Olivier GARNIER; freebsd-questions@freebsd.org Objet : Re: Nut problem and last message repeated in dmesg Make sure you are using the correct driver. Nut has consolidated and changed drivers in recent releases. -Derek ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]