File owner name not updated.
I had this problem several months ago, submitted a bug report on it, and promptly forgot about it. I'm now seeing the same issue in 5.0, and want to delve a little deeper to see if this is expected behavior or not. I created a user, let's call him fred, which was assigned uid 503. The user directory was created and assigned to owner fred and group wheel. All ok. Later that evening, root changed the uid for fred to 502 (for compatibility with other systems). The problem isn't that the directory owner didn't automatically change to uid 502 - I expected to have to change it manually. What I wasn't prepared for is that a ls -al still showed the owner as fred, which was now assigned to uid 502. ls -lan properly showed the owner as still being 503. So, I'm open to correction, but it seems to me that something's broken. If user fred used to be 503, but is now 502 (there is no user 503 now), I don't see how it can be correct for ls to still report fred as the owner of files/directories. I expected the reporting to change to just show the numeric uid, but I'm not picky about that. I have no idea whether this is a problem with the ls command, with the filesystem, with some index of ownership/permissions, or something else entirely. Suggestions? KeS ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: File owner name not updated.
On Tue, Mar 25, 2003 at 10:55:03PM -0800, Kevin Stevens wrote: I had this problem several months ago, submitted a bug report on it, and promptly forgot about it. I'm now seeing the same issue in 5.0, and want to delve a little deeper to see if this is expected behavior or not. I created a user, let's call him fred, which was assigned uid 503. The user directory was created and assigned to owner fred and group wheel. All ok. Later that evening, root changed the uid for fred to 502 (for compatibility with other systems). The problem isn't that the directory owner didn't automatically change to uid 502 - I expected to have to change it manually. What I wasn't prepared for is that a ls -al still showed the owner as fred, which was now assigned to uid 502. ls -lan properly showed the owner as still being 503. So, I'm open to correction, but it seems to me that something's broken. If user fred used to be 503, but is now 502 (there is no user 503 now), I don't see how it can be correct for ls to still report fred as the owner of files/directories. I expected the reporting to change to just show the numeric uid, but I'm not picky about that. I have no idea whether this is a problem with the ls command, with the filesystem, with some index of ownership/permissions, or something else entirely. Suggestions? Two things occur to me: i) Did root use vipw(8) to edit the passwd database, or otherwise run: # cap_mkdb /etc/master.passwd when the UID was changed? It's the value in the hashed database cap_mkdb(1) builds that is used by the system. Updating that should have instantaneous effect. ii) You haven't said anything about what the source of your password data is, which probably means you're just using the flat file password database and not anything like NIS or LDAP. If you are using a distributed database, then a degree of latency while changes get propagated around the servers is to be expected. However, that shouldn't take any more than a few minutes in a well configured system. The problem is not with the ls(1) command per se. It's the underlying system library functions such as getpwuid(3) which do the translation between numeric UIDs and usernames that are the seat of the problem. You can see that by running some other command that uses getpwuid(3), eg: % perl -e 'print scalar getpwuid(503), \n;' Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: File owner name not updated.
On Tuesday, Mar 25, 2003, at 23:29 US/Pacific, Matthew Seaman wrote: Two things occur to me: i) Did root use vipw(8) to edit the passwd database, or otherwise run: # cap_mkdb /etc/master.passwd when the UID was changed? It's the value in the hashed database cap_mkdb(1) builds that is used by the system. Updating that should have instantaneous effect. Just used the pw command. However, note that this symptom persisted for over 24 hours. Last time it happened (on a 4.7 system) it persisted for several days if I recall, before I noticed/corrected it. ii) You haven't said anything about what the source of your password data is, which probably means you're just using the flat file password database and not anything like NIS or LDAP. Correct. If you are using a distributed database, then a degree of latency while changes get propagated around the servers is to be expected. However, that shouldn't take any more than a few minutes in a well configured system. Right, and this is a standalone system (which is why I'm manually syncing up the uids in the first place). The problem is not with the ls(1) command per se. It's the underlying system library functions such as getpwuid(3) which do the translation between numeric UIDs and usernames that are the seat of the problem. You can see that by running some other command that uses getpwuid(3), eg: % perl -e 'print scalar getpwuid(503), \n;' Got it. I think what I'll do is create a dummy user with the same conditions and let it persist for awhile so we can experiment with it. KeS ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: File owner name not updated.
On Tuesday, Mar 25, 2003, at 23:29 US/Pacific, Matthew Seaman wrote: Two things occur to me: i) Did root use vipw(8) to edit the passwd database, or otherwise run: # cap_mkdb /etc/master.passwd when the UID was changed? It's the value in the hashed database cap_mkdb(1) builds that is used by the system. Updating that should have instantaneous effect. Just tried running that after creating a dummy user and changing his uid from 1005 to 1010. No change. The problem is not with the ls(1) command per se. It's the underlying system library functions such as getpwuid(3) which do the translation between numeric UIDs and usernames that are the seat of the problem. You can see that by running some other command that uses getpwuid(3), eg: % perl -e 'print scalar getpwuid(503), \n;' bash-2.05b# perl -e 'print scalar getpwuid(1010), \n;' fred bash-2.05b# perl -e 'print scalar getpwuid(1005), \n;' fred bash-2.05b# grep fred /etc/master.passwd fred:*:1010:1005:User :/home/fred:/bin/sh KeS ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
rl(4): autoselect/manual media == no carrier at boot time?
Hello, that's me again :) rl0: RealTek 8139 10/100BaseTX port 0xec00-0xecff mem 0xdf00-0xdfff irq 10 at device 5.0 on pci0 rl0: Realtek 8139B detected. Warning, this may be unstable in autoselect mode ^^ ^^ This is my detected NIC. It has always been detecting 100baseTX half-duplex, when I am actually plugged into a cool 100Mbps switch. So after a couple of tests, I decided that full-duplex was going fine and appended media 100baseTX mediaopt full-duplex to the ifconfig_rl0 line in my rc.conf, just in case. The card was actually working fine in this mode. Also given that rl(4) isn't so happy with autoselect mode if the proper PHY chip is not present (or something), I thought this would be a good thing. Now it happened that the server rebooted after a kernel panic (this is 5.0, I will be taking *this* subject to -current), but the problem here is that rl(4) detected no carrier : kernel: rl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 kernel: inet 666.666.222.35 netmask 0xff00 broadcast 666.666.222.255 kernel: ether 00:50:fc:97:41:b4 kernel: media: Ethernet 100baseTX full-duplex kernel: status: no carrier My ISP says that they have not touched the UTP cable. After they rebooted the server again while trying to find why it was down, the same no carrier appears in the dmesg, so after a normal boot too. They claim that after this second reboot they unplugged and then plugged back the UTP connection and the NIC's led came to life and the network was up again (and still is, full-duplex). My question is, is it possible that setting the media to 100baseTX full-duplex could cause problems for carrier detection at boot time? Or is my ISP lying and they unplugged the network just right during the kernel panic and only plugged it back after a while? This doesn't sound likely... I do not feel like rebooting again right now just to see if using autoselect works, I'd rather not have to call them today to fix it once more ;-) Thanks in advance Olivier, always learning more thanks to you! To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: rl(4): autoselect/manual media == no carrier at boot time?
At 15:01 25.03.2003 +0100, Olivier Dony wrote: Hello, that's me again :) [... realtek has no carrier...] My question is, is it possible that setting the media to 100baseTX full-duplex could cause problems for carrier detection at boot time? Or is my ISP lying and they unplugged the network just right during the kernel panic and only plugged it back after a while? This doesn't sound likely... I do not feel like rebooting again right now just to see if using autoselect works, I'd rather not have to call them today to fix it once more ;-) Sounds like that at the other end of the patchcable autoselect still is active and is unable to agree with the fixed media realtek card. So I would suggest to check the router/switch at the other end of the patchcable and to also switch off autoselect there. tcpblast from the ports is a handy tool to check tcp troughput. To be on the safe side you should tcpblast in both directions. Expect about 10 Mbytes/s with no other network load. Btw.: I have no experience with Realtek hardware, so there may be other things here causing the error. with best regards Alexander -- Alexander Haderer Charite Berlin - Germany To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: gcc bug?
On Mon, Mar 24, 2003 at 09:25:41PM -0800, milo wrote: On Mon, Mar 24, 2003 at 09:00:30PM -0800, Kris Kennaway wrote: Date: Mon, 24 Mar 2003 21:00:30 -0800 From: Kris Kennaway [EMAIL PROTECTED] To: milo [EMAIL PROTECTED] Cc: Adam [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Re: gcc bug? On Mon, Mar 24, 2003 at 08:36:05PM -0800, milo wrote: so i need to build/install gcc first before can build the rest? i'm not sure how to just build contrib/gcc. i tried make contrib/gcc; make install contrib/gcc but failed in lib/libcom_err. Update your entire source tree and perform the upgrade procedure documented in the handbook. that's what i did and am trying to do but failing as i reported to begin with. OK, It wasn't clear to me that's what you were doing. supposedly because my gcc is one minor revision behind, libbz2 won't build. so i'm trying to rebuild gcc. This is not necessary, because gcc is rebuilt early in the buildworld process and the new version is automatically used thereafter. If you're having compiler failures it's probably due to failing hardware and not a bug in FreeBSD. Kris pgp0.pgp Description: PGP signature
Re: [PATCH2] PPP in -direct mode does not execute any chat scripts
Hi, Yes, this looks fine, although I think this shows that the -direct description is wrong. Perhaps this is more appropriate: -direct This is used for communicating over an already established connection, usually when receiving incoming connections accepted by getty(8). ppp ignores the ``set device'' line and uses descriptor 0 as the link. ppp will ignore any configured chat scripts unless the ``force-scripts'' option has been enabled. If callback Do you agree with this description ? If so, I'll go ahead and commit the changes. Just to be picky, I'll re-sort the OPT_ variables too :*P And thanks for the patches. On Mon, 03 Feb 2003 14:45:37 -0800, Maksim Yevmenkin wrote: Dear Brian and Hackers, Please find updated proposed version of the patch. As suggested by Warner option has been renamed to 'force-sripts' and now works for both 'direct' and 'dedicated' modes. Also as suggested by Terry the man page has been updated to document side effect of 'direct'. -direct This is used for receiving incoming connections. ppp ignores the ``set device'' line and uses descriptor 0 as the link. ppp will never use any configured chat scripts unless ``force-scripts'' option has been enabled. If callback is configured, ppp will use the ``set device'' infor- mation when dialing back. -dedicated This option is designed for machines connected with a dedicated wire. ppp will always keep the device open and will never use any configured chat scripts unless ``force-scripts'' option has been enabled. force-scripts Default: Disabled. Forces execution of the configured chat scripts in direct and dedicated modes. Please find attached patch that adds new option to the PPP. run-scripts-in-direct-mode Default: Disabled. This allows to run chat scripts in direct mode. did i miss anything? objections? comments? reviews? First comment: run it past Brian Somers [EMAIL PROTECTED]; it's his baby, and he's the active maintainer. I have sent him e-mail. Rest of comments: Actually, why doesn't -direct allow a chat script by default? The man page doesn't document that as a side-effect of -direct, only of -dedicated, but it's been there since the import. Should this really be a negotiate section command, rather than just a command or a set command? Also, there are only two other commands even have a - in them, and both of them only have one (just seems a little long, compared to, say, rsid or direct-with-script, or even force-script). Personal preference: don't make it conditional on -direct, let it also work with -dedicated, and call it force-script or something, instead. done The man page should be updated -- including the undocumented side-effect of -direct disabling scripts). done thanks max -- Brian [EMAIL PROTECTED] [EMAIL PROTECTED] http://www.Awfulhak.org[EMAIL PROTECTED] Don't _EVER_ lose your sense of humour ! [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [OT] file synchronization between two machines
In the last episode (Mar 25), Louis LeBlanc said: That sounds right, but what if the file last changed on the remote machine? Will rsync copy the newer remote copy to the local machine when necessary and copy the newer local copy to the remote machine when necessary? This is the problem, really. Running rsync on both machines won't do any good, because the remote machine can't come thru the firewall. You run it on one machine twice, once for each direction. From the manpage: To synchronize my samba source trees I use the following: rsync -avuzb --exclude '*~' samba:samba/ . rsync -Cavuzb . samba:samba/ The only drawback is rsync will never delete files; you have to manually remove them from both machines manually. -- Dan Nelson [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
libX11 too old?
compiling gtk2 I get the folllowing error; checking for XOpenDisplay in -lX11... no configure: error: *** libX11 not found. Check 'config.log' config log states that is looking in the right place; $ ./configure --enable-static --x-libraries=/usr/X11R6/lib --x-includes=/usr/X 11R6/include --prefix=/usr/X11R6 --target=i386-unknown-freebsd4.7 and the library is there; root# ls -l /usr/X11R6/lib/libX11* -rw-r--r-- 1 root wheel 1344166 Feb 27 00:14 /usr/X11R6/lib/libX11.a lrwxr-xr-x 1 root wheel 11 Mar 7 00:25 /usr/X11R6/lib/libX11.so - libX11.so.6 -rwxr-xr-x 1 root wheel 866767 Feb 27 00:14 /usr/X11R6/lib/libX11.so.6 and ldconfig knows it's there; root# ldconfig -r | grep libX11 72:-lX11.6 = /usr/lib/libX11.so.6 117:-lX11.6 = /usr/X11R6/lib/libX11.so.6 root# To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: [OT] file synchronization between two machines
In the last episode (Mar 25), John Straiton said: The only drawback is rsync will never delete files; you have to manually remove them from both machines manually. It wouldn't be near as neat a utility if that were true (unless I misunderstood your statement). You might have. For correct two-way replication, you need a history file that records the state of the filesystem as of the last time the replication ran. Otherwise you won't know whether the file1 is on serverA but not on ServerB case is due to the user creating a new file1 on serverA, or deleting an old file1 from ServerB. Rsync doesn't keep a history file, so all it can do it copy file1 over to serverB. -- Dan Nelson [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: [PATCH2] PPP in -direct mode does not execute any chat scripts
Hello Brian, Yes, this looks fine, although I think this shows that the -direct description is wrong. Perhaps this is more appropriate: -direct This is used for communicating over an already established connection, usually when receiving incoming connections accepted by getty(8). ppp ignores the ``set device'' line and uses descriptor 0 as the link. ppp will ignore any configured chat scripts unless the ``force-scripts'' option has been enabled. If callback Do you agree with this description ? If so, I'll go ahead and commit the yes, this is more accurate description. i missed it. changes. Just to be picky, I'll re-sort the OPT_ variables too :*P no problem :) And thanks for the patches. thank you for reviewing them :) max On Mon, 03 Feb 2003 14:45:37 -0800, Maksim Yevmenkin wrote: Dear Brian and Hackers, Please find updated proposed version of the patch. As suggested by Warner option has been renamed to 'force-sripts' and now works for both 'direct' and 'dedicated' modes. Also as suggested by Terry the man page has been updated to document side effect of 'direct'. -direct This is used for receiving incoming connections. ppp ignores the ``set device'' line and uses descriptor 0 as the link. ppp will never use any configured chat scripts unless ``force-scripts'' option has been enabled. If callback is configured, ppp will use the ``set device'' infor- mation when dialing back. -dedicated This option is designed for machines connected with a dedicated wire. ppp will always keep the device open and will never use any configured chat scripts unless ``force-scripts'' option has been enabled. force-scripts Default: Disabled. Forces execution of the configured chat scripts in direct and dedicated modes. Please find attached patch that adds new option to the PPP. run-scripts-in-direct-mode Default: Disabled. This allows to run chat scripts in direct mode. did i miss anything? objections? comments? reviews? First comment: run it past Brian Somers [EMAIL PROTECTED]; it's his baby, and he's the active maintainer. I have sent him e-mail. Rest of comments: Actually, why doesn't -direct allow a chat script by default? The man page doesn't document that as a side-effect of -direct, only of -dedicated, but it's been there since the import. Should this really be a negotiate section command, rather than just a command or a set command? Also, there are only two other commands even have a - in them, and both of them only have one (just seems a little long, compared to, say, rsid or direct-with-script, or even force-script). Personal preference: don't make it conditional on -direct, let it also work with -dedicated, and call it force-script or something, instead. done The man page should be updated -- including the undocumented side-effect of -direct disabling scripts). done thanks max ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
port to convert comma delimited file
Hello, I have a comma delimited file with approximately 7000 rows and 5 columns. I have absolutely no database skills and and almost as much HTML skill, yet I need to convert this file into an HTML table. Is there something in the ports collection that will do this for me, a sort of converter for dummies? Barring that, is there any port that will do this, hopefully with docs so I can learn as I go? Dru ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: port to convert comma delimited file
* Dru [EMAIL PROTECTED] [2003-03-25 20.51 -0500]: Hello, Hi, I have a comma delimited file with approximately 7000 rows and 5 columns. I have absolutely no database skills and and almost as much HTML skill, yet I need to convert this file into an HTML table. Is there something in the ports collection that will do this for me, a sort of converter for dummies? Barring that, is there any port that will do this, hopefully with docs so I can learn as I go? I couldn't find anything like that in the ports collection, but there seems to be alternatives on the web, e.g. csv2html URL:http://watson-wilson.ca/computer/csv2html.html. Hint: search the web for csv (comma separated values) and html. Dru HTH -- Martin Karlsson ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: port to convert comma delimited file
Hi, I have a comma delimited file with approximately 7000 rows and 5 columns. I have absolutely no database skills and and almost as much HTML skill, yet I need to convert this file into an HTML table. Is there something in the ports collection that will do this for me, a sort of converter for dummies? Barring that, is there any port that will do this, hopefully with docs so I can learn as I go? You will not need the ports collection. All you need is the perl programming language, and that's in the base system (at least, if you are running 4.x, for 5.x you will have to install a port indeed). Have a look at the 'split' function. Your perl script will perform the following algorithm: print (TABLE); Read the input file line-wise for each line, do the following print (TR); split the line (with comma as separator) and put the result into an array for each component of the array (see the 'shift' function) print (TD); now print the element print (/TD); print (/TR); print (/TABLE); There are lots of perl tutorials around the 'net, but if you perfer books, I'd recommend Lerning Perl (Oreily), which I found very helpful. Btw.: Some perl knowledge can never harm in a UN*X environment. Your task is an ideal motivation to get to now this mighty language. Simon signature.asc Description: Digital signature ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: port to convert comma delimited file
On Wed, 26 Mar 2003, Martin Karlsson wrote: * Dru [EMAIL PROTECTED] [2003-03-25 20.51 -0500]: Hello, Hi, I have a comma delimited file with approximately 7000 rows and 5 columns. I have absolutely no database skills and and almost as much HTML skill, yet I need to convert this file into an HTML table. Is there something in the ports collection that will do this for me, a sort of converter for dummies? Barring that, is there any port that will do this, hopefully with docs so I can learn as I go? I couldn't find anything like that in the ports collection, but there seems to be alternatives on the web, e.g. csv2html URL:http://watson-wilson.ca/computer/csv2html.html. Hint: search the web for csv (comma separated values) and html. Wow, that was quick. For the curious, the downloadable perl script does the trick nicely :-) Dru ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: port to convert comma delimited file
On 2003-03-25 20:51, Dru [EMAIL PROTECTED] wrote: I have a comma delimited file with approximately 7000 rows and 5 columns. I have absolutely no database skills and and almost as much HTML skill, yet I need to convert this file into an HTML table. Is there something in the ports collection that will do this for me, a sort of converter for dummies? Barring that, is there any port that will do this, hopefully with docs so I can learn as I go? Someone mentioned Perl. Try the following little Perl snippet: #!/usr/bin/perl print TABLE\n; while (defined($line = STDIN)) { chomp $line; print TRTD . join(/TDTD, split(/;/, $line)) . /TD/TR\n; } print /TABLE\n; Save this to a file called csv2html.pl and then run it like this: $ perl csv2html.pl filename.csv filename.html The power of Unix as an environment comes from the ability to write small, throw-away programs like this one, in one of the dozens of scripting languages that are usually available. Why hunt for a port to do something so simple[1] ? [1] For some definintion of `simple'. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: LVM / Vinum
In the last episode (Mar 26), Greg 'groggy' Lehey said: On Tuesday, 25 March 2003 at 8:40:26 +, james wrote: I'll look into that, but will stick to Vinum for now. I actually work for Veritas so it's a shame VM isn't on freebsd :) What important VxVM functionality is missing in Vinum? The two things I can think of off the top of my head are full-stripe writes on RAID-5 plexes, and automatic rebuild of a failed RAID-1 or RAID-5 disk. -- Dan Nelson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: port to convert comma delimited file
Someone mentioned Perl. Try the following little Perl snippet: #!/usr/bin/perl print TABLE\n; while (defined($line = STDIN)) { chomp $line; print TRTD . join(/TDTD, split(/;/, $line)) . /TD/TR\n; } print /TABLE\n; Yes, this is exactly what I was thinking about :-) Simon signature.asc Description: Digital signature ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Moving Disks to new PC Machines
Joseph Maxwell wrote: Hello, I need to move my system ( actually 2 hard disk) to another machine w/ different MotherBoard and CPU. The disks have been configured as a bootablesyetm disk and the other data storage. How can I reconfigure to achieve this with the minimum amount of perturbation. While the disks are in the old machine, verify that your current kernel has compiled-in support for all the devices needed on the new machine. If necessary, make a new kernel. Then move the disks to the new machine and you're ready to go. An easier option is just copy the generic kernel back into place... Or just specify it at boot. That way, if you're not sure of what devices you'll need, you can verify using dmesg. You did keep a copy of it around for emergencies, right? :) Brent To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: CVSUP help
Hello! Im running a few FBSD systems doing a number of things from webhosting mail etcmost of the machines are Duel P3 450 w/ 512 MB ram (kinda old butohwell) My question is thisI have done a full system update of a FBSD system on a older system 4.1 FBSD..however im getting ready to update my servers (currently running 4.5 release) to the either 5.0 release or 4.7 stable. Which of these should i go to ? (personally id like to run the 5.0 seeing its suppose to have better SMP support... is this true ??) It is my understanding that SMPng is still not quite polished and given that many parts of 5.0-RELEASE still contain a lot of debugging code I doubt that you would see any performance gain. I am not a developer of course, so have a grain of salt with that. Anyhow, I in your shoes would read the Early Adopter's Guide from FreeBSD website, and then think deeply about it. Unless there is something in 5.0 that you *absolutely* can't live without, I would stay to 4.7 for now. Anywho ...the process of doing a cvsup ...has it changed or are there better methods that the guys at FBSD would recommend ? I personally wasn't even around when 4.1 was released, but since 4.3 there haven't been much changes. Maybe in the times of 4.1 they still used the make world target instead of make buildworld + make installworld as is done now... Anyway, all the details are in the Handbook, chapter 21. Have fun :-) -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * Top Secret! Burn before reading! To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: FW: FW: Retrieving web based mail?
The new powers that be have decided to turn of the POP2 server. There suggested alternative is a miserable web based mail access (Lotus Notes, I think, if it matters). Lotus Domino server (while being miserable indeed g) contains POP3 and IMAP server. Maybe you can persuade the admins to turn it on. -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * Windows NT - the world's only 80 MB solitaire game! To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Sendmail questions
At 02:09 25.03.2003 +0200, you wrote: On 2003-03-24 15:14, Andreas Wider?e Andersen [EMAIL PROTECTED] wrote: I've got two questions: 1. I've been getting this error all day on both of my FreeBSD servers (different physic location and version - 4.7 STABLE and 4.8 RC): ... did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA. I'm seing this in my /var/log/maillog file and since the problems occured around 04.30 this morning I haven't received any mails. Can anyone please explain to me what's going on? Both servers have been delivering mail for a long problem-free time. I'm running Sendmail 8.12.7 (patched) and 8.12.8. What's the deal with the two different version numbers? Are you running two different Sendmail versions on the same machine? No, they are on 2 different servers. 2. When the mail server isn't sending out mail or relaying, all mail sent from localhost end up in here: /var/spool/clientmqueue. How can I manually send these mails off later? It looks like one of the sendmail processes that should runn on your system for mail to work somehow dies. What does this show? # ps xauww | grep sendmail root 484 0.0 0.3 2784 1660 ?? Ss6:07PM 0:03.47 sendmail: accepting connections (sendmail) smmsp495 0.0 0.3 2656 1552 ?? Is6:08PM 0:00.05 sendmail: Queue [EMAIL PROTECTED]:30:00 for /var/spool/clientmqueue (sendmail) I got the problem solved. What solved the problem for me was to remove all the dnsbl blacklistings, recompile the cf file and restart my Sendmail. Now it works fine again. I will let things calm down before I start adding those dnsbls again. I wasn't the only one getting this problem, and all of us got it fixed by removing dnsbl features. /Andreas --- Andreas Widerøe Andersen [EMAIL PROTECTED] Pragma AS http://www.pragma.no To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: LVM / Vinum
Hi Greg Thanks for the reply, appreciate it! On Tue, 25 Mar 2003, Greg 'groggy' Lehey wrote: I'm very used to using LVM on Linux, AIX, HP/UX etc, and I want to be able to similar stuff on fbsd. I've had a play with Vinum, and I'm just wondering if there are any other alternatives? There's also RAIDFrame. I'll look into that, but will stick to Vinum for now. I actually work for Veritas so it's a shame VM isn't on freebsd :) I like the LVM way of having a pool of physical volumes, and having the LVM subsystem take care of physical placement of logical volumes. In Vimun, it seems to me that you have to explicitly state what disks you would like to use for a volume. Yes, correct. I don't think of this as a problem. True, just means I'll have to actually plan things which can only be a good thing. Also, is it possible to extend / shrink volumes once they have been created? Yes. Add or remove subdisks to/from a plex. Is this also true for striped volumes? It seems this is not possible from the documentation I've found on the web, but I know that documentation can be out of date. Cheers James To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Okano Mouse
Try disabling the touchpad from the BIOS of the laptop. With Windows drivers, I believe that the touchpad gets disabled if a detection on the PS/2 port is detected, but I don't know if FreeBSD does... Anthony On Monday 24 March 2003 20:59, Pierrick Brossin wrote: Hey! Wheel still not working under X. Weird... Does the output from dmesg mention the mouse at all? Maybe we can identify it from there... Ok, while I was in the train I thought I forgot to tell you something :) The computer in question is a SONY laptop which has a touchpad and I'm connecting the new mouse to the PS2. So I think XFree doesn't the external mouse but the mouse can send signal. no ? My touchpad has two real buttons but no scroll. Only the external mouse has a scroll. That's maybe why ! Any idea ? Thanx To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Portupgrading all
Hi, Is there anyway to portupgrade all the installed applications that I have on my FreeBSD box? Anthony portupgrade -rRN pkgconfig???would this do? To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Portupgrading all
On Tuesday 25 March 2003 10:33, CARTER Anthony wrote: Hi, Is there anyway to portupgrade all the installed applications that I have on my FreeBSD box? I think portupgrade -Rra qhould do it. Antoine To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Portupgrading all
Is there anyway to portupgrade all the installed applications that I have on my FreeBSD box? portupgrade -v -all that should do the trick :-) Marcel To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Question
Take a normal DOS boot disk with fdisk on it and do: fdisk /mbr That will get your NT back... Now boot FreeBSD and add the loader, if you so wish. Please note, PQMagic ver 7 does not recognise FBSDs filesystem (don't know about version 8). Anthony On Tuesday 25 March 2003 12:23, wrote: Hello! I need help. After installing fBSD 5.0 release on drive with configuration ntfs - ad0s1 ntfs - ad0s2 fBSD - ad0s3 = new slice, after bios setup process i see messagentloader is missing, press ctr+alt+del. Trying fix it with FIXMBR and FIXBOOT of the win recovery console, take no effect. PQ Partition magic shows in this case error instead of partition table, ntldr file in ad0s1 is OK, booting from other disk with win2k i see normal partitions 1,2 and 3. During the install process, i choosen leave MBR untoched. Checking this disk with windows checker- no bad results. It's second time this situation takes place. What to do?how to repair it, and how not to do it in the future? Thank You. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: 5.0 Release frequently asked questions
On Sun, 23 Mar 2003, taxman wrote: Hi, due to the multiple questions that users have regarding 5.0, and not reading the documentation, I whipped up a quick version specific FAQ, that I think will be useful at least until 5.1 is released or 5-stable is created. We seem to get up to 5 questions a day on the questions mailing list from people that didn't read the early adopters guide and assumed the 5.0 was another production quality release. Please comment on this and let me know if you think it needs wider release. Mike Meyer was nice enough to host it for me. http://www.mired.org/5.0-not-production.html Ok. I think I have got two nice and typical 5.0-nonProduction questions for you: 1) What do these messages calcru: negative time of -67779 usec ... messages mean? They don't seem to do any harm, but frequently fill up my console. 2) What has become out of the /modules directory? Regards, Uli. Thanks, Tim To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message +---+ |Peter Ulrich Kruppa| | - Wuppertal - | | Germany | +---+ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Upgrading mobos...raid 1 to no raid?
I've been using raid 1 on an Abit kr7a-133r motherboard and am planning to upgrade to a different mobo without raid (for the time being.) Considering this is just mirroring, I should be able to drop down to one drive, right? Also, when and how should I change the mount points for the file systems, e.g. via an install cd, before I switch mobos, etc.? Thanks, Zach To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: 5.0 Release frequently asked questions
Please, don't Cc: the doc@ list with general questions... On 2003-03-25 14:53, P. U. Kruppa [EMAIL PROTECTED] wrote: Ok. I think I have got two nice and typical 5.0-nonProduction questions for you: 1) What do these messages calcru: negative time of -67779 usec ... messages mean? They don't seem to do any harm, but frequently fill up my console. This is described in the FAQ, IIRC. Here it is: http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/faq/troubleshoot.html#CALCRU-NEGATIVE 2) What has become out of the /modules directory? The /usr/src/UPDATING file says: : 2905: : The boot loader has been updated. The new default kernel is : now /boot/kernel/kernel.ko. The new default module location : is /boot/kernel. : : You *MUST* upgrade your boot loader and kernel at the same time. : The easiest way to do this is to do the buildworld/buildkernel/ : installkernel/installworld dance. : : Furthermore, you are urged to delete your old /modules directory : before booting the new kernel, since kldload will find stale : modules in that directory instead of finding them in the correct : path, /boot/kernel. The most common complaint that this cures : is that the linux module crashes your machine after the update. : : if [ ! -d /boot/kernel.old ]; then : mv /modules.old /boot/kernel.old : chflags noschg /kernel.old : mv /kernel.old /boot/kernel.old/kernel.ko : chflags schg /boot/kernel.old/kernel.ko : fi To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Upgrading mobos...raid 1 to no raid?
On Tue, 2003-03-25 at 06:55, Zach Thompson wrote: Also, when and how should I change the mount points for the file systems, e.g. via an install cd, before I switch mobos, etc.? Sorry, really meant the device as this is what will be changing. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: 5.0 In-stalls
But the install breaks telling me that the filesystem is full while trying to complete an extract. I allocate 128MB for the root mount, but when I allocate more, it still breaks but on a later extract, so the install seems to proceed futher. I know I'm missing something obvious. Sounds to me that you've got the problem already narrowed down. Have you tried using a much bigger / just to test (doesn't take long to get to that point of the install)? My installed 5.0 machines only use 51M of the / partition once up, but I don't have any with less than 500MB in / so I can't say what the minimum is to install. John Straiton Jks @clickcom.com Clickcom, Inc 704-365-9970x101 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: 5.0 In-stalls
As default during install i believe that root is 256MB...maybe try that... Anthony On Tuesday 25 March 2003 15:53, John Straiton wrote: But the install breaks telling me that the filesystem is full while trying to complete an extract. I allocate 128MB for the root mount, but when I allocate more, it still breaks but on a later extract, so the install seems to proceed futher. I know I'm missing something obvious. Sounds to me that you've got the problem already narrowed down. Have you tried using a much bigger / just to test (doesn't take long to get to that point of the install)? My installed 5.0 machines only use 51M of the / partition once up, but I don't have any with less than 500MB in / so I can't say what the minimum is to install. John Straiton Jks @clickcom.com Clickcom, Inc 704-365-9970x101 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Hide mouse pointer with Xwindows
Hi... I need to hide mouse pointer (the big X) with Xwindows. I have read man XF86Config but I cann't find anything related and I don't know any program/command/option that can do it. I want hide mouse pointer just at Xwindows starts, and probably, I don't show it again. ¿Do you know how to do it? Thank you in advanced _ Charla con tus amigos en línea mediante MSN Messenger: http://messenger.yupimsn.com/ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
[no subject]
I am testing this out. That's right, Bush needs FreeBSD to survive! To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: OpenSSL obstacle to PostgreSQL Installation
In [EMAIL PROTECTED], Tamir Halperin [EMAIL PROTECTED] typed: It appears that a symlink solved the problem. I did try someone else's symlink suggestion but it didn't point to the /usr/lib directory like Dmitry's did. A brief conversation with Dmitry Morozovsky [mailto:[EMAIL PROTECTED] in the pgsql-admin list produced the following: DM So, possibly, quick hack like 'ln -s DM /usr/local/lib/libcrypto.so /usr/lib' may DM help you. Right. That's a good symlink to do. The question is, why did ports think you should have /usr/lib/libcrypto.so when you didn't have one? Either you didn't install the crypto distribution, or you didn't build it when you upgarded to a system that had it. He brings up a good point. I'm running something that's over a year behind and I think it would benefit me to be at 4.8 or at least 4.7. Can you point me to a concise document that discusses the upgrade procedure? I don't know of one. Upgrading a binary distribution is straightforward, though. Boot the 4.8 CDROM, and select ugprade. That will give you a long warning about how dangerous all this is - which you should ignore, because you've backed up your system prior to doing this. Go through the upgrade procedure, then use the copy of your config files that it saved - I forget where - to modify the new versions that were installed so your config files are up to date. Alternatively for that last step, you can copy the your version back, and run /usr/sbin/mergemaster to merge in the config file changes from 4.8. But getting your config files up to date is the only part that's not simple. If you want to do a source upgrade, the handbook covers that in the cutting edge. But the sequence is: # cvsup # to get new sources. # cd /usr/src # make buildworld # make kernel KERNCONF=whatever # use your kernel config file name here # shutdown -r # reboot new kernel in single user mode. Then, in single user mode # fsck -p # mount -a # cd /usr/src # make installworld # /usr/sbin/mergemaster And again, it should all just work, except for the mergemaster step. mike -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/consulting.html Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Open Source
Hey. I was wondering if FreeBSD Linux is open source (source code) I want to see how it is build up and stuff. If it is Open source, do you think you can tell me how to get it???=) Greatings Dan Gaute -- __ Sign-up for your own FREE Personalized E-mail at Mail.com http://www.mail.com/?sr=signup To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Open Source
At 03:10 25.03.2003 -0500, Don Juan wrote: Hey. I was wondering if FreeBSD Linux is open source (source code) FreeBSD is not Linux, but an alternative preferred by many. I want to see how it is build up and stuff. If it is Open source, do you think you can tell me how to get it???=) Install FreeBSD with full source. You can see all source under /usr/src. /Andreas --- Andreas Widerøe Andersen [EMAIL PROTECTED] Pragma AS http://www.pragma.no To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Question
Hello! I need help. After installing fBSD 5.0 release on drive with configuration ntfs - ad0s1 ntfs - ad0s2 fBSD - ad0s3 = new slice, after bios setup process i see messagentloader is missing, press ctr+alt+del. Trying fix it with FIXMBR and FIXBOOT of the win recovery console, take no effect. PQ Partition magic shows in this case error instead of partition table, ntldr file in ad0s1 is OK, booting from other disk with win2k i see normal partitions 1,2 and 3. During the install process, i choosen leave MBR untoched. Checking this disk with windows checker- no bad results. It's second time this situation takes place. What to do?how to repair it, and how not to do it in the future? Thank You. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: multi-port serial IO support
On Thursday, February 20, 2003, at 01:38 PM, Douglas K. Rand wrote: ** Jim Pazarena [EMAIL PROTECTED] on Wed, 19 Feb 2003 18:38:01 -0800 ** in [multi-port serial IO support] writes: Jim Can anyone suggest a reliable multi-port serial system which has Jim native support for FreeBSD (without the linux compat module) ? We use the Comtrol RocketPort cards. I've had good luck with both the 16 and 32 port variations. The only problem I've ever had was trying to get two RocketPort cards to work in the same box. (Although I've not tested it, I suspect that the driver that comes with FreeBSD 4.7 might fix this, we are still back at 4.5 on that box.) We especially like that they are rack mountable and come in high densities. I'm also a fan of the RocketPort card. I am a little concerned that the first time you use it, the driver logs to dmesg: WARNING: driver rp should register devices with make_dev() (dev_t = #rp/0x10082) Has the driver been updated since FreeBSD 4.5? (Yeah, our RocketPorts are on older machines... a testament to how reliable FreeBSD 4.x is :-) ...we haven't needed to upgrade them). My other concern is that the RocketPorts have RJ45 connectors and finding the right cable is sometimes difficult. They look like modern Cisco RJ45 serial ports, but they aren't compatible. I wish there was a vendor that I could call and say, Hi! I have this weird device... here's my credit-card #... send me the right cable for my console server. --tal To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
[OT] file synchronization between two machines
Hey all. Sorry for the OT question, but here goes. I have several documents that I modify on two different machines. Of course, before I start work on one machine, I have to remember where I last modified it, and if necessary, copy it over. I'd like to automate this process. I know rdist is supposed to do something like this, but as I understand it, it only works for files modified in a centralized location. To further complicate things, communication between the two machines is strictly one sided. One machine is behind a firewall that doesn't have an opening for the second. I haven't yet had time to set up a tunnel between the two to remedy that, but ssh access the other way is trivial. Anyone know of a tool or method that can check the last modification date of two files under these conditions and keep them in sync? Thanks Lou -- Louis LeBlanc [EMAIL PROTECTED] Fully Funded Hobbyist, KeySlapper Extrordinaire :) http://www.keyslapper.org ԿԬ Reappraisal, n.: An abrupt change of mind after being found out. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: [OT] file synchronization between two machines
On Tuesday, Mar 25, 2003, at 08:01 US/Pacific, Louis LeBlanc wrote: Hey all. Sorry for the OT question, but here goes. Anyone know of a tool or method that can check the last modification date of two files under these conditions and keep them in sync? I've never tried this, but you might give rsync with the -u option a try (test it first on unimportant files). I believe you would need to run it on both machines as it would only update in one direction. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: [OT] file synchronization between two machines
On 2003-03-25 11:01, Louis LeBlanc [EMAIL PROTECTED] wrote: Hey all. Sorry for the OT question, but here goes. I have several documents that I modify on two different machines. Of course, before I start work on one machine, I have to remember where I last modified it, and if necessary, copy it over. I'd like to automate this process. I know rdist is supposed to do something like this, but as I understand it, it only works for files modified in a centralized location. To further complicate things, communication between the two machines is strictly one sided. One machine is behind a firewall that doesn't have an opening for the second. I haven't yet had time to set up a tunnel between the two to remedy that, but ssh access the other way is trivial. Anyone know of a tool or method that can check the last modification date of two files under these conditions and keep them in sync? If these documents are text-only or at least test-based (no binary formats, like .doc, .pdf or whatever), this is a situation that screams Use CVS! Use CVS! :) - Giorgos To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: [OT] file synchronization between two machines
-Original Message- From: Doug Hardie [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 18:10 To: [EMAIL PROTECTED] Subject: Re: [OT] file synchronization between two machines On Tuesday, Mar 25, 2003, at 08:01 US/Pacific, Louis LeBlanc wrote: Hey all. Sorry for the OT question, but here goes. Anyone know of a tool or method that can check the last modification date of two files under these conditions and keep them in sync? I've never tried this, but you might give rsync with the -u option a try (test it first on unimportant files). I believe you would need to run it on both machines as it would only update in one direction. rsync (from ports/net/rsync) does not need a peer on the other side. You can think of is as a clever scp- you can copy to/from one server to/from another server, only rsync can sync files on the block level, so it's supposed to be more efficient than merely copying the files over. For your case, I'd say run a cron job at the firewalled machine to rsync the files over to the other one. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: [OT] file synchronization between two machines
- Original Message - From: Louis LeBlanc [EMAIL PROTECTED] To: FreeBSD Questions [EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 11:01 AM Subject: [OT] file synchronization between two machines Hey all. Sorry for the OT question, but here goes. --SNIP-- Anyone know of a tool or method that can check the last modification date of two files under these conditions and keep them in sync? Thanks Lou -- Try rsync. Adam To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: [OT] file synchronization between two machines
On 03/25/03 06:40 PM, Yonatan Bokovza sat at the `puter and typed: On Tuesday, Mar 25, 2003, at 08:01 US/Pacific, Louis LeBlanc wrote: Hey all. Sorry for the OT question, but here goes. Anyone know of a tool or method that can check the last modification date of two files under these conditions and keep them in sync? I've never tried this, but you might give rsync with the -u option a try (test it first on unimportant files). I believe you would need to run it on both machines as it would only update in one direction. rsync (from ports/net/rsync) does not need a peer on the other side. You can think of is as a clever scp- you can copy to/from one server to/from another server, only rsync can sync files on the block level, so it's supposed to be more efficient than merely copying the files over. For your case, I'd say run a cron job at the firewalled machine to rsync the files over to the other one. That sounds right, but what if the file last changed on the remote machine? Will rsync copy the newer remote copy to the local machine when necessary and copy the newer local copy to the remote machine when necessary? This is the problem, really. Running rsync on both machines won't do any good, because the remote machine can't come thru the firewall. I had already thought of another recommendation to use CVS, but that wouldn't work because the files are M$ Word (eww). Thanks everyone for your replies Lou -- Louis LeBlanc [EMAIL PROTECTED] Fully Funded Hobbyist, KeySlapper Extrordinaire :) http://www.keyslapper.org ԿԬ Sacher's Observation: Some people grow with responsibility -- others merely swell. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: OpenSSL obstacle to PostgreSQL Installation
I have a few questions and I'll jump right into this. -Original Message- From: Mike Meyer [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 10:50 AM To: Tamir Halperin Cc: [EMAIL PROTECTED] Subject: RE: OpenSSL obstacle to PostgreSQL Installation Right. That's a good symlink to do. The question is, why did ports think you should have /usr/lib/libcrypto.so when you didn't have one? Either you didn't install the crypto distribution, or you didn't build it when you upgarded to a system that had it. 1a. As I proceed with the full upgrade how do I confirm that crypto is installed and running properly so that I can remove the symlink and get the system into a configuration that is more supportable and relying more on default settings? 1b. How do I get rid of the symlink? I looked at man ln and it wasn't very clear. I have so much to learn :( He brings up a good point. I'm running something that's over a year behind and I think it would benefit me to be at 4.8 or at least 4.7. Can you point me to a concise document that discusses the upgrade procedure? I don't know of one. Upgrading a binary distribution is straightforward, though. Boot the 4.8 CDROM, and select ugprade. That will give you a long warning about how dangerous all this is - which you should ignore, because you've backed up your system prior to doing this. Go through the upgrade procedure, then use the copy of your config files that it saved - I forget where - to modify the new versions that were installed so your config files are up to date. You may not know of one but you sure did create one for me here. Thx. I'll download the 4.8 cdimage and burn a cd. 2. I do not know how to do a back up. I hope there's some program in the system that will allow me to simply back up only the system related config files since those are the only thinga that aren't application specific that I've modified from time to time. I can easily get burn those on to a cd as well or copy them as a backup volume to my other machine for later restoration. Alternatively for that last step, you can copy the your version back, and run /usr/sbin/mergemaster to merge in the config file changes from 4.8. But getting your config files up to date is the only part that's not simple. 3a. An interestingly sounding alternative but I'm not sure what you mean by copy your version back. 3b. What does my version pertain to? Are you limiting that term to my version of the config files in the sense that I restore them back to their original locations and a program called mergmaster automagically updates them all with 4.8 settings where appropriate? If you want to do a source upgrade, the handbook covers that in the cutting edge. But the sequence is: # cvsup # to get new sources. # cd /usr/src # make buildworld # make kernel KERNCONF=whatever # use your kernel 4a. Where will I find the file that needs to be referenced in place of the word whatever? If you know the directory the KERNCONF file is stored in, great. But some hints as to the name will go a long way as well if you don't. config file name here 4b. This one eludes me as well. # shutdown -r # reboot new kernel in single user mode. Then, in single user mode # fsck -p # mount -a # cd /usr/src # make installworld # /usr/sbin/mergemaster And again, it should all just work, except for the mergemaster step. I'll read up on mergemaster and formulate my next round of questions when I know more about it. mike Thanks again. -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/consulting.html Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: [OT] file synchronization between two machines
-Original Message- From: Louis LeBlanc [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 18:57 To: [EMAIL PROTECTED] Subject: Re: [OT] file synchronization between two machines On 03/25/03 06:40 PM, Yonatan Bokovza sat at the `puter and typed: On Tuesday, Mar 25, 2003, at 08:01 US/Pacific, Louis LeBlanc wrote: Hey all. Sorry for the OT question, but here goes. Anyone know of a tool or method that can check the last modification date of two files under these conditions and keep them in sync? I've never tried this, but you might give rsync with the -u option a try (test it first on unimportant files). I believe you would need to run it on both machines as it would only update in one direction. rsync (from ports/net/rsync) does not need a peer on the other side. You can think of is as a clever scp- you can copy to/from one server to/from another server, only rsync can sync files on the block level, so it's supposed to be more efficient than merely copying the files over. For your case, I'd say run a cron job at the firewalled machine to rsync the files over to the other one. That sounds right, but what if the file last changed on the remote machine? Will rsync copy the newer remote copy to the local machine when necessary and copy the newer local copy to the remote machine when necessary? This is the problem, really. Running rsync on both machines won't do any good, because the remote machine can't come thru the firewall. I had already thought of another recommendation to use CVS, but that wouldn't work because the files are M$ Word (eww). Read it's man page: http://www.freebsd.org/cgi/man.cgi?query=rsyncapropos=0sektion=0manpath=FreeBSD+Ports+4.7-RELEASEformat=html you can do this at the firewalled machine (examples only, not real commands) : rsync -u [EMAIL PROTECTED]:file file rsync -u file [EMAIL PROTECTED]:file This will guarantee that file is the same on both machines. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
usb device driver skeleton?
Hi all: I want to port a linux device driver that I did to *BSD. I would like to know if there is some source of information to develope usb device drivers in freebsd. Handbook talks about usb in general, an about device drivers but not about usb device drivers. My last option is to read some usb DD already coded but before that I would like know if there is some other beginner source of information. Thanks in advance... this list rocks. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: file system help needed
I'd think something like this should work for you (please give your own consideration on which filesystem you'd like to use otherwise) Make a backup of /etc/namedb of course first stop bind.. mkdir /usr/www/etc cp -Rp /etc/namedb /usr/www/etc/ rm -r /etc/namedb ln -s /usr/www/etc/namedb /etc/namedb Now start bind again. You could use a similar method to just install another HD with a slice named /etc/namedb John Straiton [EMAIL PROTECTED] Clickcom, Inc 704-365-9970x101 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Arie J. Gerszt Sent: Tuesday, March 25, 2003 12:15 PM To: [EMAIL PROTECTED] Subject: file system help needed Hi Everybody I have a huge problem as you see ... Filesystem 1K-blocks UsedAvail Capacity Mounted on /dev/ad0s1a 9918396309-5060 106%/ /dev/ad0s1e 5458605 2866595 215532257%/usr /dev/ad0s1g 17876344 1085421 15360816 7%/usr/www /dev/ad0s1f 4465853 212592 3895993 5%/var procfs 440 100%/proc This server is a production server and I can't add any dns zonefiles or passwords, because they sit in /etc which is full, evidently. What can I do to solve that rather quickly? The disk ad0 has free space: caramba# fdisk /dev/ad0 *** Working on device /dev/ad0 *** parameters extracted from in-core disklabel are: cylinders=3649 heads=255 sectors/track=63 (16065 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=3649 heads=255 sectors/track=63 (16065 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 165,(FreeBSD/NetBSD/386BSD) start 63, size 58621122 (28623 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1; end: cyl 1023/ head 254/ sector 63 The data for partition 2 is: UNUSED The data for partition 3 is: UNUSED The data for partition 4 is: UNUSED caramba# -- but i am not sure what to do, because I can't have any long -- downtime, understandibily. Thanks for help, Arie To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-isp in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: [OT] file synchronization between two machines
The only drawback is rsync will never delete files; you have to manually remove them from both machines manually. It wouldn't be near as neat a utility if that were true. From the man page for rsync: --deletedelete files that don't exist on the sending side --delete-excluded also delete excluded files on the receiving side --delete-after delete after transferring, not before --ignore-errors delete even if there are IO errors John Straiton [EMAIL PROTECTED] Clickcom, Inc 704-365-9970x101 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: [OT] file synchronization between two machines
The only drawback is rsync will never delete files; you have to manually remove them from both machines manually. It wouldn't be near as neat a utility if that were true (unless I misunderstood your statement). From the man page for rsync: --deletedelete files that don't exist on the sending side --delete-excluded also delete excluded files on the receiving side --delete-after delete after transferring, not before --ignore-errors delete even if there are IO errors John Straiton [EMAIL PROTECTED] Clickcom, Inc 704-365-9970x101 To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
some questions about FreeBSD 5.x
Hi everybody! I was so much enthusiastic about kernel threads implemented in 5.x but some ugly rumors spoiled my dreams :0) So I want to get if these rumors are myths or not. 1.Is it true that kernel threads are more heavy than userspace ones (pthread) and hence application with hundreds of threads will work evidently slower than that using pthreads due to more switching penalties? 2.Is it true that even 5.x has no implementation for inter-process semaphores that are blocking calling thread only not the whole process as usually in FreeBSD? Alex To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: OpenSSL obstacle to PostgreSQL Installation
In [EMAIL PROTECTED], Tamir Halperin [EMAIL PROTECTED] typed: -Original Message- From: Mike Meyer [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 10:50 AM To: Tamir Halperin Cc: [EMAIL PROTECTED] Subject: RE: OpenSSL obstacle to PostgreSQL Installation Right. That's a good symlink to do. The question is, why did ports think you should have /usr/lib/libcrypto.so when you didn't have one? Either you didn't install the crypto distribution, or you didn't build it when you upgarded to a system that had it. 1a. As I proceed with the full upgrade how do I confirm that crypto is installed and running properly so that I can remove the symlink and get the system into a configuration that is more supportable and relying more on default settings? Make sure you select any cryptography distributions that show up. 1b. How do I get rid of the symlink? I looked at man ln and it wasn't very clear. I have so much to learn :( Just rm /usr/lib/libcrypto.so. 2. I do not know how to do a back up. I hope there's some program in the system that will allow me to simply back up only the system related config files since those are the only thinga that aren't application specific that I've modified from time to time. The upgrade process will back up the system related config files for you. Like I said, I'm not sure where it backs them up to, as I haven't done a binary upgrade in a while. I can easily get burn those on to a cd as well or copy them as a backup volume to my other machine for later restoration. Alternatively for that last step, you can copy the your version back, and run /usr/sbin/mergemaster to merge in the config file changes from 4.8. But getting your config files up to date is the only part that's not simple. 3a. An interestingly sounding alternative but I'm not sure what you mean by copy your version back. 3b. What does my version pertain to? The upgrade process copies all your old system config files to a safe place before it installs the new ones. That's your version of them. Are you limiting that term to my version of the config files in the sense that I restore them back to their original locations and a program called mergmaster automagically updates them all with 4.8 settings where appropriate? Sort of. Mergemaster isn't completely automatic. It will ask you if you want to udpate files, and gives you the option to examine both files and then merge them under your control. If you haven't modified very many of the files, it might be easier to do this the other way around. If you want to do a source upgrade, the handbook covers that in the cutting edge. But the sequence is: # cvsup # to get new sources. # cd /usr/src # make buildworld # make kernel KERNCONF=whatever # use your kernel 4a. Where will I find the file that needs to be referenced in place of the word whatever? If you know the directory the KERNCONF file is stored in, great. But some hints as to the name will go a long way as well if you don't. config file name here 4b. This one eludes me as well. Those are the same thing. If you haven't configured a custom kernel, then you can just do make kernel and leave off the KERNCONF= stuff. If you have configured a custom kernel, you should know the name of the kernels config file, and that's the whatever to use. mike -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/consulting.html Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: [OT] file synchronization between two machines
* Louis LeBlanc [EMAIL PROTECTED] [2003-03-25 11:01 -0500]: Anyone know of a tool or method that can check the last modification date of two files under these conditions and keep them in sync? Try unison[1][2]. I love it. Regards, Olli 1. http://www.cis.upenn.edu/~bcpierce/unison/ 2. ${PORTSDIR}/net/unison/ -- Oliver Braun :: [EMAIL PROTECTED] :: [EMAIL PROTECTED] pgp0.pgp Description: PGP signature
Re: [OT] file synchronization between two machines
On 03/25/03 12:23 PM, John Straiton sat at the `puter and typed: The only drawback is rsync will never delete files; you have to manually remove them from both machines manually. It wouldn't be near as neat a utility if that were true (unless I misunderstood your statement). From the man page for rsync: --deletedelete files that don't exist on the sending side --delete-excluded also delete excluded files on the receiving side --delete-after delete after transferring, not before --ignore-errors delete even if there are IO errors Cool. It also occurred to me that a flag that tells rsync not to copy files if they aren't already at the destination would be useful. --existing will do it. Looking thru the manpage, I see that the -C flag is a cvs style exclusion. Is there any reason for using an explicit exclusion in one command and a CVS style exclusion in the other? rsync -avuzb --exclude '*~' samba:samba/ . rsync -Cavuzb . samba:samba/ Other than this, I think you've all helped me solve this problem. Thank you! Lou -- Louis LeBlanc [EMAIL PROTECTED] Fully Funded Hobbyist, KeySlapper Extrordinaire :) http://www.keyslapper.org ԿԬ Technological progress has merely provided us with more efficient means for going backwards. -- Aldous Huxley To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: OpenSSL obstacle to PostgreSQL Installation
I did do a custom kernel only it wasn't me and the person that did this for me is no longer available to refer the question to. I remember clearly that he was interested in shrinking down the size of the kernel for the sake of saving memory but I don't remember the details of how he achieved this. What are some typical things to look for and where when trying to hunt down a config file for a custom kernel. -Original Message- From: Mike Meyer [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 12:39 PM To: Tamir Halperin Cc: [EMAIL PROTECTED] Subject: RE: OpenSSL obstacle to PostgreSQL Installation In [EMAIL PROTECTED], Tamir Halperin [EMAIL PROTECTED] typed: -Original Message- From: Mike Meyer [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 10:50 AM To: Tamir Halperin Cc: [EMAIL PROTECTED] Subject: RE: OpenSSL obstacle to PostgreSQL Installation Right. That's a good symlink to do. The question is, why did ports think you should have /usr/lib/libcrypto.so when you didn't have one? Either you didn't install the crypto distribution, or you didn't build it when you upgarded to a system that had it. 1a. As I proceed with the full upgrade how do I confirm that crypto is installed and running properly so that I can remove the symlink and get the system into a configuration that is more supportable and relying more on default settings? Make sure you select any cryptography distributions that show up. 1b. How do I get rid of the symlink? I looked at man ln and it wasn't very clear. I have so much to learn :( Just rm /usr/lib/libcrypto.so. 2. I do not know how to do a back up. I hope there's some program in the system that will allow me to simply back up only the system related config files since those are the only thinga that aren't application specific that I've modified from time to time. The upgrade process will back up the system related config files for you. Like I said, I'm not sure where it backs them up to, as I haven't done a binary upgrade in a while. I can easily get burn those on to a cd as well or copy them as a backup volume to my other machine for later restoration. Alternatively for that last step, you can copy the your version back, and run /usr/sbin/mergemaster to merge in the config file changes from 4.8. But getting your config files up to date is the only part that's not simple. 3a. An interestingly sounding alternative but I'm not sure what you mean by copy your version back. 3b. What does my version pertain to? The upgrade process copies all your old system config files to a safe place before it installs the new ones. That's your version of them. Are you limiting that term to my version of the config files in the sense that I restore them back to their original locations and a program called mergmaster automagically updates them all with 4.8 settings where appropriate? Sort of. Mergemaster isn't completely automatic. It will ask you if you want to udpate files, and gives you the option to examine both files and then merge them under your control. If you haven't modified very many of the files, it might be easier to do this the other way around. If you want to do a source upgrade, the handbook covers that in the cutting edge. But the sequence is: # cvsup # to get new sources. # cd /usr/src # make buildworld # make kernel KERNCONF=whatever # use your kernel 4a. Where will I find the file that needs to be referenced in place of the word whatever? If you know the directory the KERNCONF file is stored in, great. But some hints as to the name will go a long way as well if you don't. config file name here 4b. This one eludes me as well. Those are the same thing. If you haven't configured a custom kernel, then you can just do make kernel and leave off the KERNCONF= stuff. If you have configured a custom kernel, you should know the name of the kernels config file, and that's the whatever to use. mike -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/consulting.html Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
CVSUP help
hello, Im running a few FBSD systems doing a number of things from webhosting mail etcmost of the machines are Duel P3 450 w/ 512 MB ram (kinda old butohwell) My question is thisI have done a full system update of a FBSD system on a older system 4.1 FBSD..however im getting ready to update my servers (currently running 4.5 release) to the either 5.0 release or 4.7 stable. Which of these should i go to ? (personally id like to run the 5.0 seeing its suppose to have better SMP support... is this true ??) Anywho ...the process of doing a cvsup ...has it changed or are there better methods that the guys at FBSD would recommend ? And what are the newer proceedures for this ? Thank you for any and all help Brent To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: OpenSSL obstacle to PostgreSQL Installation
In [EMAIL PROTECTED], Tamir Halperin [EMAIL PROTECTED] typed: I did do a custom kernel only it wasn't me and the person that did this for me is no longer available to refer the question to. I remember clearly that he was interested in shrinking down the size of the kernel for the sake of saving memory but I don't remember the details of how he achieved this. What are some typical things to look for and where when trying to hunt down a config file for a custom kernel. /usr/src/sys/i386/conf. That should have GENERIC and LINT in it. Anything else there is a custom kernel, and can be used as the value of the KERNCONF= parameter to make kernel. mike -- Mike Meyer [EMAIL PROTECTED] http://www.mired.org/consulting.html Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
FW: FW: Retrieving web based mail?
The company I worked for is in the process of being merged. Lot's of fun :-( In any case one of the results of this is a huge problem for me in mail retrieval. I use a freeBSD laptop as my primary machine. I had been using fetchmail to retrieve my email, and passing the mail on to sendmail on the local machine. The new powers that be have decided to turn of the POP2 server. There suggested alternative is a miserable web based mail access (Lotus Notes, I think, if it matters). Now, I was wondering if someone had cobbled together something (perl script), to essentially screen scrape email of w web interface? I am hoping to replace the fetchmail part of my setup with something. Suggestions? -- They that would give up essential liberty for temporary safety deserve neither liberty nor safety. -- Benjamin Franklin To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Can't get PCI128 sound card to be recognized
[EMAIL PROTECTED] wrote: Cc: [EMAIL PROTECTED] Subject: Can't get PCI128 sound card to be recognized Perhaps you should change your BIOS settings to no PnP OS No, I looked there first. The BIOS doesn't appear to have any such setting. -- Steve Willoughby | The purpose of IT is to seamlessly and trans- Intel DPG Eng. Computing | parently provide the other nine-tenths of the Application Development | iceburg for people who need to work with chunks [EMAIL PROTECTED] | of floating ice. --Strata R. Chalup To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: FW: FW: Retrieving web based mail?
I feel for ya - we used to call this the result of 'damagement' :) On Tue, 25 Mar 2003, stan wrote: The company I worked for is in the process of being merged. Lot's of fun :-( In any case one of the results of this is a huge problem for me in mail retrieval. I use a freeBSD laptop as my primary machine. I had been using fetchmail to retrieve my email, and passing the mail on to sendmail on the local machine. The new powers that be have decided to turn of the POP2 server. There suggested alternative is a miserable web based mail access (Lotus Notes, I think, if it matters). Now, I was wondering if someone had cobbled together something (perl script), to essentially screen scrape email of w web interface? I am hoping to replace the fetchmail part of my setup with something. Suggestions? -- They that would give up essential liberty for temporary safety deserve neither liberty nor safety. -- Benjamin Franklin To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Problem with soundcard fm801 under 4.8RC1
On Thursday 20 March 2003 19:33, someone, possibly Whyking, typed: Hi, my problem is still not fixed. I'm pretty sure by the time that the driver maybe just broken. When noone of you has an idea what the problem could be I gonna fill out a bug report. So any hints would be appreciated. Cheers, Whyking I've been having a similar problem with an FM801 since 4.7-STABLE some time. I filed a report on GNATS but it seems to have never been delivered. I'll mail the maintaner of the driver and see if we can get him to take a quick look. Will Please copy mail to [EMAIL PROTECTED], i'm not subscribed. On Sat, 15 Mar 2003 17:28:22 +0100 Whyking [EMAIL PROTECTED] wrote: Sorry, i forgot. I ran mergemaster and just reran MAKEDEV all. Still doesn't work. On Sat, 15 Mar 2003 09:56:51 -0500 Bill Moran [EMAIL PROTECTED] wrote: [please wrap your lines to a reasonable length] Whyking wrote: Hello, I have a huge problem trying to get my soundcard working. It worked perfectly before I upgraded my system to 4.8RC1. Since I compiled the new kernel I always get /dev/dsp: Device not configured. It's a terratec 512i with an fm 801 chip (pci). I tried compiling the kernel with and without pcm support build in. The module loads without complaints and I see the soundcard in pciconf -l. Thanks in advance, Did you run cd /dev; MAKEDEV all after the upgrade? It will do this for you automatically when you run mergemaster. -- Bill Moran Potential Technologies http://www.potentialtech.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message -- Willie Viljoen Freelance IT Consultant 214 Paul Kruger Avenue, Universitas Bloemfontein 9321 South Africa +27 51 522 15 60 +27 51 522 44 36 (after hours) +27 82 404 03 27 (mobile) [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: Upgrading mobos...raid 1 to no raid?
It depends on the RAID chip. I believe (don't quote me on this tho) that the Promise raid chips in mirroring mode uses a master drive, then mirrors that to the secondary drive as it can (I'm sure using some complicated methodolgy). In theory, you should just be able to use the regular wd driver and let the system boot up, assuming you didn't pull that from your kernel... Of course, the best thing to do is to backup the drive first before attempting. There are lots of new boards out there that have the raid chips on them. Why not stick to one of those? They're not much pricier and the convenience of mirroring when a drive dies is so nice... :) Just make sure its the same chip... Promise and Highpoint are the 2 most common and they don't mix. I had a stripe on a promise and moved it to a highpoint (figuring I'd have to break and rebuild it). The highpoint claimed to recognize it and the o/s saw the stripe, but everything was corrupted on disk checks and such, so don't let it fool you! brent -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Zach Thompson Sent: Tuesday, March 25, 2003 7:10 AM To: [EMAIL PROTECTED] Subject: Re: Upgrading mobos...raid 1 to no raid? On Tue, 2003-03-25 at 06:55, Zach Thompson wrote: Also, when and how should I change the mount points for the file systems, e.g. via an install cd, before I switch mobos, etc.? Sorry, really meant the device as this is what will be changing. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
IPFW - Why Doesn't This Rule Match?
I am using the following rules to match traffic on my home network with a FBSD 4.8 firewall. The first rule matches but the second doesn't. Here's the rules: # Match this specific traffic 00700288 329708 count ip from 192.168.1.3 8080 to any # Match everything else 00800 0 0 count ip from not 192.168.1.3 8080 to any Can anyone tell me what I am missing? Thanks, Drew To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: FW: Retrieving web based mail?
The company I worked for is in the process of being merged. Lot's of fun :-( In any case one of the results of this is a huge problem for me in mail retrieval. I use a freeBSD laptop as my primary machine. I had been using fetchmail to retrieve my email, and passing the mail on to sendmail on the local machine. The new powers that be have decided to turn of the POP2 server. There suggested alternative is a miserable web based mail access (Lotus Notes, I think, if it matters). Now, I was wondering if someone had cobbled together something (perl script), to essentially screen scrape email of w web interface? I am hoping to replace the fetchmail part of my setup with something. Suggestions? If you're able to get a copy of the webmail pages, you may be able to decipher the calls that log you in/present your new mail/etc. Then, just build a perl script to connect to the web server and run the relevant commands and parse the results as you see fit. Lotus Notes also has a stand-alone client. Not sure what protocol it uses, but maybe they have it enabled and you can find something that will interface with it. Like maybe it uses IMAP or something. Lotus is known for its abilty to replicate (techies, of course, would use the more accurate term synch), so there is probably a way to interface with that... Never know, if you come up w/ something good enough, you could submit it to the ports and help the other poor people that are subjected to Notes use... Brent To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
RE: Freebsd - restarting itself - followup
Right now I have the exact same thing happening to one machine. It is located offsite (naturally) and about 10 days ago it had a random shutdown (did not come back up) followed by a random reboot a couple days later. It had been running 50-60 days previous. The shutdown occurred just after business hours, the reboot at about 4am. I now have the machine emailing me at specific intervals to try to narrow things down. I have a couple ideas for the both of us. One is that maybe the machine is plugged into a faulty power line, something that is borking the current enough to cause reboots. Another is that maybe the PSU is dying prematurely (3mos old for me). I wish us both good luck. -Derrick Almost certainly heat related. Even really good cpu/ps fans in a clean environment will only last a year or so running 24/7. Most just weren't built with this kind of use in mind. I made a habit of checking fans yearly and replacing as needed. However, I've never had box shutdown, only reboot. Did it really shut down, or was it maybe hung on boot wanting a manual fsck or something? If it actually shutdown, and you're not connected to a ups running a shutdown daemon, I would suspect someone did it accidentally or intentionally... Maybe something like kill 1? :) I was also never a power supply snob in the past, but I can honestly say now that I will not buy generic p/s anymore. I went thru 2 generic p/s on my home machine before buying the nice $100 antec... I haven't had any problems since... No lockups/reboots/etc. It definitely turned my thinking around. Brent To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
freebsd_spreading
Hi, FreeBSD brothers ___ translated message I am using of the FreeBSD and would like to receive for e_mail the images (marks) the FreeBSD, to help to divulge the system in my country. Any illustration for impression in shirts. Phrases, symbols, mascotes, etc. original Sou usuário do FreeBSD e gostaria de receber por e_mail as imagens (marcas) do FreeBSD, para ajudar a divulgar o sistema em meu país. Qualquer ilustração para impressão em camisas. Frases, símbolos, mascotes, etc. by Silvestre Brasil _ MSN Hotmail, o maior webmail do Brasil. http://www.hotmail.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: IPFW - Why Doesn't This Rule Match?
Drew Tomlinson [EMAIL PROTECTED] writes: I am using the following rules to match traffic on my home network with a FBSD 4.8 firewall. The first rule matches but the second doesn't. Here's the rules: # Match this specific traffic 00700288 329708 count ip from 192.168.1.3 8080 to any # Match everything else 00800 0 0 count ip from not 192.168.1.3 8080 to any Can anyone tell me what I am missing? Thanks, Drew Probably because the not applies just to the address, and not to the port number. -- Dan Pelleg To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
wavelan lucent
Hi. I am trying install Wavelan Lucent (pcmcia orinoco silver) in freebsd 4.5 but I donït have sucesss. On boot arise the follow message: pccardd[42]: No card in database for (null)((null)) pccardd[42]: pccardd started Thanks some help. Ceara P.S. Sorry my english. -- ___ José Weyne Nunes Marcelino Administração de redes - Engenheiro de CA W2B S.A. Rua Tenente Silveira nº293, Ed.Reflex, Sala 401. Centro Florianópolis SC 88010-300 Fone/Fax: (048) 3243006 / 3241855 ___ To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
/kernel: file: table is full
I'm running FreeBSD 4.2, Apache Webserver, and send ~20k e-mails to opt-in subscribers daily. I am regularly seeing the message /kernel: file: table is full in my messages log. Can anyone tell me what this signifies and how to correct this condition? Thanks, Worth Bishop To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: /kernel: file: table is full
On Tue, Mar 25, 2003 at 04:41:27PM -0500, Worth Bishop wrote: I'm running FreeBSD 4.2, Apache Webserver, and send ~20k e-mails to opt-in subscribers daily. I am regularly seeing the message /kernel: file: table is full in my messages log. Can anyone tell me what this signifies and how to correct this condition? Thanks, Worth Bishop To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message end of the original message This is a FAQ: http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/troubleshoot.html#FILE-TABLE-FULL Francesco Casadei -- You can download my public key from http://digilander.libero.it/fcasadei/ or retrieve it from a keyserver (pgpkeys.mit.edu, wwwkeys.pgp.net, ...) Key fingerprint is: 1671 9A23 ACB4 520A E7EE 00B0 7EC3 375F 164E B17B pgp0.pgp Description: PGP signature
Re: /kernel: file: table is full
play around with and read up on... [EMAIL PROTECTED]:~% pstat -T 226/14000 files 0M/1023M swap space [EMAIL PROTECTED]:~% more /etc/sysctl.conf kern.maxfiles=14000 [EMAIL PROTECTED]:~% -philip On Tue, 25 Mar 2003, Worth Bishop wrote: I'm running FreeBSD 4.2, Apache Webserver, and send ~20k e-mails to opt-in subscribers daily. I am regularly seeing the message /kernel: file: table is full in my messages log. Can anyone tell me what this signifies and how to correct this condition? Thanks, Worth Bishop To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: /kernel: file: table is full
On Tue, 25 Mar 2003 at 16:41:27 -0500, Worth Bishop wrote: I'm running FreeBSD 4.2, Apache Webserver, and send ~20k e-mails to opt-in subscribers daily. I am regularly seeing the message /kernel: file: table is full in my messages log. Can anyone tell me what this signifies and how to correct this condition? Increase maxusers in your kernel config and recompile. Search the mail archives and/or Google for more info. - jim -- - jim mock. email: [EMAIL PROTECTED] web: http://soupnazi.org - - freebsd project: [EMAIL PROTECTED]opendarwin: [EMAIL PROTECTED] - To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
send-pr to different smtp server
Is there a setting/environment variable so that send-pr uses a different smtp server (eg. my isp?) other than local sendmail? This is so I can send-pr, without it getting rejected. -- Khairil Yusof [EMAIL PROTECTED] signature.asc Description: This is a digitally signed message part
Re: send-pr to different smtp server
On 2003-03-26 07:12, Khairil Yusof [EMAIL PROTECTED] wrote: Is there a setting/environment variable so that send-pr uses a different smtp server (eg. my isp?) other than local sendmail? This is so I can send-pr, without it getting rejected. The correct fix is to configure your mail transfer agent properly. Are you getting failure notices back when you send-pr? What is the exact message that the failure notice contains? - Giorgos pgp0.pgp Description: PGP signature
Re: /usr/share/man - Rules for showing/gernerating manual pages
On 2003-03-25 14:48, parv [EMAIL PROTECTED] wrote: Could somebody tell me what are the rules for showing/generating man pages in (man|cat)? directories (in /usr/share/man)? Given that i upgrade from source, are some of the man pages in /usr/share/man available only pre-formatted (in cat? directories not in man?)? (I am cleaning up /usr, so i want to throw out the rotten things.) Manpages are an integral part of the program source for many of the base system utilities. Therefore, it's difficult to run just `one' command and have all the manpages that `installworld' gives you. But you can safely delete (or simply move away) the existing /usr/share directory right before `make installworld'... Try this: # cd /usr # mv share share.old # mtree -deU /etc/mtree/BSD.usr.dist and then run `make installworld' in /usr/src. After installworld finishes successfully, you can delete share.old. It's no longer needed (unless you have manually installed stuff in there). :-) To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: LVM / Vinum
On Tuesday, 25 March 2003 at 8:40:26 +, james wrote: Hi Greg Thanks for the reply, appreciate it! On Tue, 25 Mar 2003, Greg 'groggy' Lehey wrote: I'm very used to using LVM on Linux, AIX, HP/UX etc, and I want to be able to similar stuff on fbsd. I've had a play with Vinum, and I'm just wondering if there are any other alternatives? There's also RAIDFrame. I'll look into that, but will stick to Vinum for now. I actually work for Veritas so it's a shame VM isn't on freebsd :) What important VxVM functionality is missing in Vinum? Also, is it possible to extend / shrink volumes once they have been created? Yes. Add or remove subdisks to/from a plex. Is this also true for striped volumes? It seems this is not possible from the documentation I've found on the web, but I know that documentation can be out of date. No, this is still not possible. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers pgp0.pgp Description: PGP signature ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
printing worked fine yesterday, today prints junk
Yesterday, I was printing .jpg images just fine, from XV. Today I try to print some more and all I get are pages with a little bit of junk on the first line, many many pages like this. I reset the printer, clear the queue, even unplug/plug in the usb cable. No good. Any ideas why this is? -- Chip ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: usb device driver skeleton?
On Tuesday 25 March 2003 12:15 pm, David Rio wrote: Hi all: I want to port a linux device driver that I did to *BSD. I would That would be great. like to know if there is some source of information to develope usb device drivers in freebsd. Handbook talks about usb in general, an about device drivers but not about usb device drivers. My last option is to read some usb DD already coded but before that I would like know if there is some other beginner source of information. Yep, the thing you need is the developers handbook. You can get to it from the other docs page. Here is the USB section: http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/usb.html Beyond that, the source of other drivers will be what you need. I think you'll want to look at the ugen(4) manpage and code too, Good luck Tim ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: dmesg Analysis
- Original Message - From: Bob Perry [EMAIL PROTECTED] To: taxman [EMAIL PROTECTED]; Josh Paetzel [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, March 24, 2003 11:31 PM Subject: Re: dmesg Analysis - Original Message - From: taxman [EMAIL PROTECTED] To: Bob Perry [EMAIL PROTECTED]; Josh Paetzel [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, March 24, 2003 11:13 PM Subject: Re: dmesg Analysis On Monday 24 March 2003 09:48 pm, Bob Perry wrote: On Mon, Mar 24, 2003 at 09:08:31PM -0500, Bob Perry wrote: I recently upgraded/reinstalled 4.7 RELEASE and apparently lost use of my SCSI tape backup system. The dmesg command indicates that FreeBSD found the controller and tape but I don't understand much more than that. Does anyone know where I might find some documentation which would explain output resulting from running dmesg? For instance, one of the lines reads: sa0 at adv0 bus 0 target 4 lun 0 I don't know of any docs that really explain reading a dmesg in detail, but I'd be willing to help you sort your issues if you posted your dmesg. Thanks Josh, I have a SCSI Seagate TapeStor system that worked fine under 4.5 RELEASE. It worked equally as well when I tried a binary upgrade to 4.7. There were too many other problems with the upgrade so later I did a complete install of 4.7. This is where I found that my tape system no longer responded to any mt commands. What errors do you get? Its always good to include those. The errors are: w/tape inserted Input/Output error wo/tape inserted Device not configured I ran the command dmesg | grep sa0 for the tape device and got the following: sa0 at adv0 bus 0 target 4 lun 0 sa0: Seagate STT2N 6451 Removable Sequential Access SCSI-2 device sa0: 10,000 MB/s transfers (10,000 MHz, offset 15) Also ran dmesg | grep adv0 for the controller: adv0: AdvanSys Ultra SCSI Host Adapter SCSI ID 7, queue depth 240 adv0: AdvanSys ASC3030/50 SCSI controller port 0xb400-0xb4ff mem 0x500-0xd5ff irq 11 at device 12.0 on pci0 My kernel SCSI controller data reads: adv0at isa? My kernel SCSI peripheral data reads: saSequential Access (tape, etc) The best I can pull from this is that FreeBSD finds the tape and controller when it boots. Yep, that's exactly it. So since it sees it, I don't have any idea what would cause the problem in it not working. As I mentioned, you'll have to include the error. Since it's not likely a problem in how FreeBSD sees the device, the links on how to read dmesg will not help you that much, but hopefully will be instructive anyway. Tim Due to the timing of the whole event, I never gave the hardware a thorough check. I checked the connections but nothing more. I forgot to check the two-week old Travan 20GB tape cartridge. It was broke! I stuck in an older (3 year old) cartridge and it works just fine. Thanks to everyone for your time and input. I won't forget this one. Bob ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
sockets
---BeginMessage--- hello I'm using R4.6.2 and when i try to compile anything with the file sys/socket.h i get tons of error messages INSIDE that file. is there anything i should know about it? any help will be very appreciated thank you Daniel Valencia - have fun ---End Message--- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sockets
On 2003-03-25 19:07, Jesus Daniel Valencia Sanchez [EMAIL PROTECTED] wrote: I'm using R4.6.2 and when i try to compile anything with the file sys/socket.h i get tons of error messages INSIDE that file. is there anything i should know about it? any help will be very appreciated Show us the exact command-line options you're using to compile your programs with and the errors you're getting. - Giorgos ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
drive image dd booting backup question
Hi, I have two identical (model/size/etc.) hard drives in a computer, both of which are recognized by the PC's BIOS, both of which are listed in dmesg as ad0 and ad1, respectively, and both of which appear as /dev/ad0 and /dev/ad1. One is master, one is slave. The slave (ad1) is never mounted. My goal was to install FreeBSD and set up apps for a user on the 'master' drive (ad0), then 'image' the drive over to ad1 (to produce backup media for the project) using the following command: dd if=/dev/ad0 of=/dev/ad1 bs=512 So far, so good, everything works great. dd reports that everything went smoothly. Then I attempt to boot off the that slave drive, after performing the following steps to make what was once ad1 is now the primary ad0 drive: * disengaged the drive data cable from ad0 * set ad1's jumper to a single drive * changed the bios to recognize only one drive When I try to boot off what was once the slave drive (ad1), however, I get errors that /boot/loader and /kernel can't be found. FreeBSD/i386 BOOT Default: 0:ad(0,a)/kernel boot: Not ufs No /kernel Does anybody have any thoughts on what I might have missed? Google and newsgroup searches have not produced an answer that's helpful. Of course, I hope I haven't committed some remedial error and wasted your time with this post. Thanks, G. Sherman ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: drive image dd booting backup question a non-issue
My apologies... The BIOS just needed a sharp smack up against the head, and it has booted just fine. Old hardware... {mutters} Thanks again, G. Sherman ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: multi-port serial IO support
On Tuesday 25 March 2003 08:29 am, Douglas K. Rand wrote: Tom WARNING: driver rp should register devices with make_dev() (dev_t = Tom #rp/0x10082) While I haven't tested it, I expect that this message goes away with FreeBSD 4.7. The rp driver got some work done to it between 4.6 and 4.7. Still happens on my FreeBSD 4.{6,7} console servers @work, where we use RocketPorts pretty widely. (We even have some old RP ISA cards floating around that are still in use) WARNING: driver rp should register devices with make_dev() (dev_t = #rp/0x10014) I did hear that a new rp driver (nrp?) had been written/committed in -CURRENT sometime late last year, and apparently made it in 5.0-RELEASE, but hadn't been back-ported to -STABLE yet (but patches have been floating around in the archives). I haven't had a chance to test it yet, although one of the things the new driver apparently fixes is you are now able to use more than one PCI card in a box. (we have some installs where we need a second PCI card to drive a third/fourth pod, where this would be useful) We just make our own cables and ends. Using flat satin cable, putting the RJ45 ends on is trivial, and Comtrol's pin out allows a cross over cable to be built by putting the RJ45 connector on one end of the cable on backwards. That's what we do here... (tangled in a web of cat-5 and silver satin cables at the moment) Best Wishes - Peter -- [EMAIL PROTECTED] - [ http://www.plosh.net/ ] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problems making ogle and libdvdread
On Sun, 23 Mar 2003, Stephen Hilton wrote: On Sat, 22 Mar 2003 22:34:21 -0800 (PST), Peter Leftwich [EMAIL PROTECTED] wrote: Actually, switch the order of those. I'm trying to make or put libdvdread in the right place so when I run `./configure` in the ogle-0.9.0 directory it won't keep complaining about libdvdread. Can someone please comment? I emailed [EMAIL PROTECTED] asking for an ogle package but I don't know where that request will go... Thanks everybody, please CC replies to me. Peter, Have you tried using the ports/multimedia/ogle port ? it is working well for me on my 4.8RC box. Regards, Stephen Hilton [EMAIL PROTECTED] Thank you for the idea and encouragement, but I remain anti-ports. I don't see any good in a process whereby the user must download all in order to, if he or she wishes at a later date, only install or activate a handful of those applications. Why work from the base of the pyramid to the tip? That's just my rant, sorry to burden you all. -- Peter Leftwich President Founder, Video2Video Services Box 13692, La Jolla, CA, 92039 USA http://Www.Video2Video.Com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Antigen Notification:Antigen found FILE FILTER= *.bat file
Title: Antigen Notification:Antigen found FILE FILTER= *.bat file Antigen for Exchange found Rwowo.bat matching FILE FILTER= *.bat file filter. The file is currently Removed. The message, A powful tool, was sent from postmaster and was discovered in Realtime Scan Job\Hays, Kelly\Vendors\FreeBSD\freebsd-questions located at TTU/TTMC/ALPINE. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Email with enclosed suspicious file type intercepted.
Email with enclosed suspicious file type intercepted. Automated Message: An email was intercepted that had an enclosed attachment that was considered dangerous. The email was deleted and the recipient was spared the situation of receiving an email containing a possible virus. This account is for debugging purposes only. Sending email to this account may mean that it may not be processed by a human. If you wish to contact those responsible for postmaster duties at vvi.at please visit http://www.vvi.at for the appropriate contact information. .bat ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problems making ogle and libdvdread
* Peter Leftwich [EMAIL PROTECTED] [2003-03-26 00.10 -0500]: [...snip] Thank you for the idea and encouragement, but I remain anti-ports. I don't see any good in a process whereby the user must download all in order to, if he or she wishes at a later date, only install or activate a handful of those applications. Why work from the base of the pyramid to the tip? That's just my rant, sorry to burden you all. Hi. You can make use of the ports collection without actually having it: point a web browser to: URL:http://www.freebsd.org/cgi/cvsweb.cgi What I mean is that it can be useful to look at a port's Makefile (and sometimes it's patches) and see e.g. what configure options the port of the app in question uses. Just a thought. Best regards, -- Martin Karlsson ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
HELP TV
Help to settle problem with driver and installation them on equipment TV Eline Vision TVMaster-2000 (Chips philips saa7130) OS Freebsd 4.6 Is it Beforehand thanked. Aleksey [EMAIL PROTECTED] - Eline Vision TVMaster-2000 philips saa7130 OS Freebsd 4.6 . ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
flat hippie
-- It was a hard sell, since he's a database person, and as far as I've seen, once those database worms eat into your brain, it's hard to ever get anything practical done again. To a database person, every nail looks like a thumb. Or something like that. - jwz___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
filesystem problem resolved - /sbin/mount was causing it
Hi Everybody The problem cleared out. I now know what, but not why :) For those of you interested. I have a 2nd disk in the machine (ad3) which has a backup parition (ad3f). This partition is mounted to a mountpoint (guess: in root) to /mnt/vol1. For strange reasons (who knows why?) mount fails (see below), therefor the volume gets not mounted and the backup sits in the mountpoint directory, filling up... /. Btw: I moved all /modules /sbin /bin to their right places back. Now the mount fails as showed here. The backup partition is not mountalbe, but another, on the same disk, is... caramba# mount /dev/ad3f /mnt/vol1 mount: /dev/ad3f: Operation not permitted caramba# mount /dev/ad3f /backup/slice1 mount: /dev/ad3f: Operation not permitted caramba# here another partition: caramba# mount /dev/ad0s1a on / (ufs, local) /dev/ad0s1e on /usr (ufs, local) /dev/ad0s1g on /usr/www (ufs, local) /dev/ad0s1f on /var (ufs, local) procfs on /proc (procfs, local) /dev/ad3e on /mnt/vol1 (ufs, local) caramba# umount /mnt/vol1/ caramba# the disklabel entry: caramba# disklabel ad3 # /dev/ad3c: type: ESDI disk: ad3s1 label: flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 16 sectors/cylinder: 1008 cylinders: 31206 sectors/unit: 31456593 rpm: 3600 interleave: 1 trackskew: 0 cylinderskew: 0 headswitch: 0 # milliseconds track-to-track seek: 0 # milliseconds drivedata: 0 8 partitions: #size offsetfstype [fsize bsize bps/cpg] c: 314565930unused0 0 # (Cyl.0 - 31206*) e: 419430404.2BSD 1024 819216 # (Cyl.0 - 4161*) f: 12582912 41943044.2BSD 1024 819216 # (Cyl. 4161*- 16644*) g: 12582912 167772164.2BSD 1024 819216 # (Cyl. 16644*- 29127*) h: 2096465 293601284.2BSD 1024 819216 # (Cyl. 29127*- 31206*) caramba# -- no, i can stop backups for the moment, or repoint them to another partition, e.g. ad3g, but why does mount not work on that respectively give operation not permitted? Thanks Arie ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: filesystem problem resolved - /sbin/mount was causing it
Arie J. Gerszt writes: Hi Everybody The problem cleared out. I now know what, but not why :) For those of you interested. I have a 2nd disk in the machine (ad3) which has a backup parition (ad3f). This partition is mounted to a mountpoint (guess: in root) to /mnt/vol1. For strange reasons (who knows why?) mount fails (see below), therefor the volume gets not mounted and the backup sits in the mountpoint directory, filling up... /. Btw: I moved all /modules /sbin /bin to their right places back. Now the mount fails as showed here. The backup partition is not mountalbe, but another, on the same disk, is... caramba# mount /dev/ad3f /mnt/vol1 mount: /dev/ad3f: Operation not permitted caramba# mount /dev/ad3f /backup/slice1 mount: /dev/ad3f: Operation not permitted caramba# here another partition: caramba# mount /dev/ad0s1a on / (ufs, local) /dev/ad0s1e on /usr (ufs, local) /dev/ad0s1g on /usr/www (ufs, local) /dev/ad0s1f on /var (ufs, local) procfs on /proc (procfs, local) /dev/ad3e on /mnt/vol1 (ufs, local) caramba# umount /mnt/vol1/ caramba# the disklabel entry: caramba# disklabel ad3 # /dev/ad3c: type: ESDI disk: ad3s1 label: flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 16 sectors/cylinder: 1008 cylinders: 31206 sectors/unit: 31456593 rpm: 3600 interleave: 1 trackskew: 0 cylinderskew: 0 headswitch: 0 # milliseconds track-to-track seek: 0 # milliseconds drivedata: 0 8 partitions: #size offsetfstype [fsize bsize bps/cpg] c: 314565930unused0 0 # (Cyl.0 - 31206*) e: 419430404.2BSD 1024 819216 # (Cyl.0 - 4161*) f: 12582912 41943044.2BSD 1024 819216 # (Cyl. 4161*- 16644*) g: 12582912 167772164.2BSD 1024 819216 # (Cyl. 16644*- 29127*) h: 2096465 293601284.2BSD 1024 819216 # (Cyl. 29127*- 31206*) caramba# -- no, i can stop backups for the moment, or repoint them to another partition, e.g. ad3g, but why does mount not work on that respectively give operation not permitted? Thanks Arie Hi, Are you trying to mount the backup volume as root? By default only root is allowed to mount and unmount volumes. Also check if the mount pouint is having write permissions when you try to mount the volume. Subhro Sankha Kar IIIT-Calcutta ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]