Re: wrestling with b*rked package/ports collection
On Tuesday 30 March 2004 11:33 pm, paul beard wrote: > I seem to be in a loop where expat and gettext will somehow not > install in such a way as to serve as valid dependencies. I have > rebuilt either directly or as part of building something else > countless times, as well as installing from a package. For whatever > reason, expat seems to be missing something: > > Error: shared library "expat.5" does not exist > > portupgrade -f, installing from source, installing from a package: > all seem to fail. And since it and/or gettext are core dependencies > for everything else, it seems, there's not much progress being made. > Any other sage advice? On both of them, you needed to portupgrade -rf. Now, I think your links are broken. You might try pkgdb -F can connect the links to the latest version. Then do the forced portupgrade. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
wrestling with b*rked package/ports collection
I seem to be in a loop where expat and gettext will somehow not install in such a way as to serve as valid dependencies. I have rebuilt either directly or as part of building something else countless times, as well as installing from a package. For whatever reason, expat seems to be missing something: Error: shared library "expat.5" does not exist portupgrade -f, installing from source, installing from a package: all seem to fail. And since it and/or gettext are core dependencies for everything else, it seems, there's not much progress being made. Any other sage advice? -- Paul Beard paulbeard [at] mac.com
Re: Possibly OpenLDAP problems (was Re: Why all my applicationgiving me core dumped error?)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 30 Mar 2004, Kirk Strauser wrote: > At 2004-03-30T09:45:11Z, Suhaimi Jamalludin <[EMAIL PROTECTED]> writes: > > > I got some question regarding FreeBSD. Today I just install FreeBSD > > 5.2-RELEASE from CD. Then I cvsup port-all tag=. to the current one and > > complete the portupgrade -arR for update. I want to setup > > LDAP+SAMBA3. Then I install all the required ports. Then After I install > > samba-devel. my system going crazy it give me all these core dumped error. > > A few people have been reporting problems with programs that link against > OpenLDAP after a recent upgrade. I had a cascade of failures until I > temporarily removed the "ldap" entries from /etc/nsswitch.conf. If your > portupgrade -arR upgraded OpenLDAP, then you may be bitten by the same bug. > > For an example, see: > > http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/64932 > > I'm currently gathering information to submit more detailed debugging > information. Hi, i had the same problems here. the problem came up after an upgrade from OpenLDAP-2.2.6 to OpenLDAP-2.2.7 the problem is line 205 in net/openldap22-server/Makefile LIBS+= ${PTHREAD_LIBS} the libraries are expicitly linked against "c_r" which breaks everything. this change was introduced to fix threading problems on CURRENT system as the CVS log says. i can not check if it works on CURRENT but it definitly breaks the STABLE systems. solution: remove line 205 in net/openldap22-server/Makefile and recompile/reinstall the port and it will work. maybe the maintainer can say something more about the porblems on CURRENT. regards Joerg -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAanEjSPOsGF+KA+MRAk/UAKDQ3wDGcrxIw1uEQWKLEq0KP2LNIQCcDpsD AA04oIWzjo6MuAJXc2kHfg4= =VO/E -END PGP SIGNATURE- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: freebsd 5.2.1 and exim 4.30 problems
On Wed, 2004-03-31 at 15:59, Andrew Thomson wrote: > On Wed, 2004-03-31 at 15:24, Andrew Thomson wrote: > > On Wed, 2004-03-31 at 14:38, Andrew Thomson wrote: > > > I have a bit of strange problem and I'm nearly at my witts end as to > > > what the cause of the problem is. > > > > > > Basically I installed a 5.2-RELEASE box and setup my new mailserver. > > > Then used portupgrade to upgrade any newer versions of software > > > installed. > > > > > > I then cvsup'ed to 5.2.1-p4 and now things aren't working too well. > > > > > > mx2# telnet 0 25 > > > Trying 0.0.0.0... > > > Connected to 0. > > > Escape character is '^]'. > > > 220 mx2 ESMTP Exim 4.30 Wed, 31 Mar 2004 14:27:14 +1000 > > > 421 mx2 lost input connection > > > Connection closed by foreign host. > > > > > > I always get this "connection closed" business before I can send any > > > commands through! > > > > > > The problem is that everything works on my desktop, which is a > > > 5.2.1-p4/exim 4.30 combo - thus proving everything should work fine. Well, we're getting closer!! The problem is reproduceable. Install exim-ldap2-4.30_2 on freebsd 5.2.1 This will obviously install openldap-client-2.1.28_1 if your ports are up to date! Then start exim and try a telnet on port 25.. I noticed some interesting commits on the openldap21-server however potentially someone more knowledgeable may have some thoughts on this matter! Regards, ajt. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: upgrade 3.3 -> 5.2.1, server now hangs
On Wed, Mar 31, 2004 at 10:35:23AM +, Alexei Khalimov wrote: > > Hello! > > Recently I have upgraded our server from 3.3 to 5.2.1 > Now it hangs every 2-3 days without any warnings in > syslog or system console. > System DMESG can be found at: > http://www.divo.ru/~lesha/dmesg.txt > What can be the problem? Any ideas? Try turning on the debugging options listed in GENERIC (WITNESS, INVARIANTS, etc). Note that WITNESS generates a number of false positives - see the archives of -current for more details. Kris pgp0.pgp Description: PGP signature
upgrade 3.3 -> 5.2.1, server now hangs
Hello! Recently I have upgraded our server from 3.3 to 5.2.1 Now it hangs every 2-3 days without any warnings in syslog or system console. System DMESG can be found at: http://www.divo.ru/~lesha/dmesg.txt What can be the problem? Any ideas? Cheers, Alex ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: freebsd 5.2.1 and exim 4.30 problems
On Wed, 2004-03-31 at 15:24, Andrew Thomson wrote: > On Wed, 2004-03-31 at 14:38, Andrew Thomson wrote: > > I have a bit of strange problem and I'm nearly at my witts end as to > > what the cause of the problem is. > > > > Basically I installed a 5.2-RELEASE box and setup my new mailserver. > > Then used portupgrade to upgrade any newer versions of software > > installed. > > > > I then cvsup'ed to 5.2.1-p4 and now things aren't working too well. > > > > mx2# telnet 0 25 > > Trying 0.0.0.0... > > Connected to 0. > > Escape character is '^]'. > > 220 mx2 ESMTP Exim 4.30 Wed, 31 Mar 2004 14:27:14 +1000 > > 421 mx2 lost input connection > > Connection closed by foreign host. > > > > I always get this "connection closed" business before I can send any > > commands through! > > > > The problem is that everything works on my desktop, which is a > > 5.2.1-p4/exim 4.30 combo - thus proving everything should work fine. > > > > The only real differences I guess are in the hardware. The new > > mailserver is an SMP box whilst my box is just a standard desktop. > > > > I've tried the following to no avail: > > > > * portupgrade -Rf exim > > * make kernel (use GENERIC) > > * make kernel (use GENERIC but no smp) > > * build/installworld then portupgrade -Rf exim > > > > Everything was working fine but now it's pooched! I'm not sure what to > > try next as I had this box all setup ready to be dropped into production > > and then this issue arose! > > > > Every other part of the box works fine - ssh, courier-imap, ldap etc > > etc.. But not being able to receive mail is quite a fundamental problem! > > > > Any thoughts on what to try next would be appreciated. System rebuild > > isn't high on the agenda!! ;) > > > Something else I've noted. > > On my desktop where it works: > > 1011# ps auxwww | grep exim > mailnull 99630 0.0 0.8 5284 2144 ?? Ss3:21PM 0:00.00 > /usr/local/sbin/exim -bd -q30m (exim-4.30-2) > > And on the new mailserver: > > mx2# ps auxwww | grep exim > mailnull 766 0.0 0.2 5844 3180 ?? Ss3:26PM 0:00.00 > /usr/local/sbin/exim -bd -q30m (exim-4.30-2) > root 767 0.0 0.1 5836 3124 ?? S 3:26PM 0:00.02 > /usr/local/sbin/exim -q (exim-4.30-2) > root 768 0.0 0.2 5896 3216 ?? S 3:26PM 0:00.00 > /usr/local/sbin/exim -q (exim-4.30-2) > mailnull 0 0.0 0.0 00 ?? ZW - 0:00.00 > (exim-4.30-2) > > This is after and /etc/rc.d/exim start. > > No exim processes were running before the exim start. > > Interesting? > > ajt. And another point of interest, mx2# telnet 0 25 Trying 0.0.0.0... Connected to 0. Escape character is '^]'. 220 mx2.au.itouchnet.net ESMTP Sendmail 8.12.10/8.12.10; Wed, 31 Mar 2004 16:01:19 +1000 (EST) mail from: [EMAIL PROTECTED] 250 2.1.0 [EMAIL PROTECTED] Sender ok So sendmail works ok... Velly interesting! ajt. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
[no subject]
I do not read the email account "[EMAIL PROTECTED]". Thank you. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
'Partial' X upgrade, now locked out of X server
Hello, It looks like I have upgraded parts of XFree86 while installing some other ports, and I now seem unable to make even local connections to my X server. I must admit, X is something I set up years ago on this machine, and have just set and forgot---as such, I do not even have a good appreciation for what information might be useful for people to help me debug this. The machine was originally running one of the early 4.X releases, and that is when X was installed. It's now running 4.8. The following have been installed recently: drwxr-xr-x 2 root wheel 512 Feb 26 01:28 XFree86-clients-4.3.0_6/ drwxr-xr-x 2 root wheel 512 Feb 26 01:29 XFree86-fontEncodings-4.3.0/ drwxr-xr-x 2 root wheel 512 Feb 26 01:30 XFree86-fontScalable-4.3.0/ drwxr-xr-x 2 root wheel 512 Mar 28 19:36 XFree86-libraries-4.3.0_6/ I usually login via xdm, started as root with 'xdm -nodaemon &'. I am currently unable to log in as a non-root user, and I get the following in ~/.xsession-errors when I try: Xlib: connection to ":0.0" refused by server Xlib: Client is not authorized to connect to Server twm: unable to open display ":0" I presume this has something to do with access control, but I've never needed to set up anything for local access before. While I am keen to get suggestions on how to correct this access control glitch, I would be happy to fully upgrade X if that's recommended. Somewhat embarrassingly, I'm not even sure how this should be done---via ports? -- Paul. mailto:[EMAIL PROTECTED] pgp0.pgp Description: PGP signature
Re: freebsd 5.2.1 and exim 4.30 problems
On Wed, 2004-03-31 at 14:38, Andrew Thomson wrote: > I have a bit of strange problem and I'm nearly at my witts end as to > what the cause of the problem is. > > Basically I installed a 5.2-RELEASE box and setup my new mailserver. > Then used portupgrade to upgrade any newer versions of software > installed. > > I then cvsup'ed to 5.2.1-p4 and now things aren't working too well. > > mx2# telnet 0 25 > Trying 0.0.0.0... > Connected to 0. > Escape character is '^]'. > 220 mx2 ESMTP Exim 4.30 Wed, 31 Mar 2004 14:27:14 +1000 > 421 mx2 lost input connection > Connection closed by foreign host. > > I always get this "connection closed" business before I can send any > commands through! > > The problem is that everything works on my desktop, which is a > 5.2.1-p4/exim 4.30 combo - thus proving everything should work fine. > > The only real differences I guess are in the hardware. The new > mailserver is an SMP box whilst my box is just a standard desktop. > > I've tried the following to no avail: > > * portupgrade -Rf exim > * make kernel (use GENERIC) > * make kernel (use GENERIC but no smp) > * build/installworld then portupgrade -Rf exim > > Everything was working fine but now it's pooched! I'm not sure what to > try next as I had this box all setup ready to be dropped into production > and then this issue arose! > > Every other part of the box works fine - ssh, courier-imap, ldap etc > etc.. But not being able to receive mail is quite a fundamental problem! > > Any thoughts on what to try next would be appreciated. System rebuild > isn't high on the agenda!! ;) > Something else I've noted. On my desktop where it works: 1011# ps auxwww | grep exim mailnull 99630 0.0 0.8 5284 2144 ?? Ss3:21PM 0:00.00 /usr/local/sbin/exim -bd -q30m (exim-4.30-2) And on the new mailserver: mx2# ps auxwww | grep exim mailnull 766 0.0 0.2 5844 3180 ?? Ss3:26PM 0:00.00 /usr/local/sbin/exim -bd -q30m (exim-4.30-2) root 767 0.0 0.1 5836 3124 ?? S 3:26PM 0:00.02 /usr/local/sbin/exim -q (exim-4.30-2) root 768 0.0 0.2 5896 3216 ?? S 3:26PM 0:00.00 /usr/local/sbin/exim -q (exim-4.30-2) mailnull 0 0.0 0.0 00 ?? ZW - 0:00.00 (exim-4.30-2) This is after and /etc/rc.d/exim start. No exim processes were running before the exim start. Interesting? ajt. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: log off with process running
On Wed, Mar 31, 2004 at 01:28:41PM +0800, [EMAIL PROTECTED] wrote: > I was wondering if I did something like this using putty: > > #nohup btlaunchmany.py . & > > and then the session was terminated because of a power spike, how could I > put the process back into the foreground after logging in again so I could > see its statistics? I wouldnt want to use redirection because it would > probably use too much disk. You can't, but that is what "screen" is for (and you don't need to use nohup). Kris pgp0.pgp Description: PGP signature
Re: log off with process running
>>nohup is a possible solution; check its man page. >> >>Example: >> >>$ nohup wget http://server/big.iso & >> >>On Fri, 2004-03-26 at 05:22, Robert Storey wrote: >> >>>I want to log off and hang up the modem. The question is, how to do so? >>> With the above process running, I can't even get back to the command line to type "exit" >>>(and wouldn't typing "exit" kill any process I'm running?). Ditto if I >>> hit ctrl-c. I suppose I could just hang up the modem, but that's not >>> elegant. > > Screen, nohup, etc; all great answers. > > Just for curiosity's sake, isn't standard redirection > the first thing to think of? > > #cvsup /ports-via-modem.sup > /root/cvsuplog & > > Wanna get it back? > > #jobs > [1] + Running cvsup /ports-via-modem.sup > > /root/cvsuplog > > Wanna keep it in the bg, but check its current status? > > $tail -f /myhome/cvsuplog > > Willing to be educated, > > Kevin Kinsey > DaleCo, S.P. > I was wondering if I did something like this using putty: #nohup btlaunchmany.py . & and then the session was terminated because of a power spike, how could I put the process back into the foreground after logging in again so I could see its statistics? I wouldnt want to use redirection because it would probably use too much disk. Thanks, Rommel ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
freebsd 5.2.1 and exim 4.30 problems
I have a bit of strange problem and I'm nearly at my witts end as to what the cause of the problem is. Basically I installed a 5.2-RELEASE box and setup my new mailserver. Then used portupgrade to upgrade any newer versions of software installed. I then cvsup'ed to 5.2.1-p4 and now things aren't working too well. mx2# telnet 0 25 Trying 0.0.0.0... Connected to 0. Escape character is '^]'. 220 mx2 ESMTP Exim 4.30 Wed, 31 Mar 2004 14:27:14 +1000 421 mx2 lost input connection Connection closed by foreign host. I always get this "connection closed" business before I can send any commands through! The problem is that everything works on my desktop, which is a 5.2.1-p4/exim 4.30 combo - thus proving everything should work fine. The only real differences I guess are in the hardware. The new mailserver is an SMP box whilst my box is just a standard desktop. I've tried the following to no avail: * portupgrade -Rf exim * make kernel (use GENERIC) * make kernel (use GENERIC but no smp) * build/installworld then portupgrade -Rf exim Everything was working fine but now it's pooched! I'm not sure what to try next as I had this box all setup ready to be dropped into production and then this issue arose! Every other part of the box works fine - ssh, courier-imap, ldap etc etc.. But not being able to receive mail is quite a fundamental problem! Any thoughts on what to try next would be appreciated. System rebuild isn't high on the agenda!! ;) Thanks, ajt. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: lang/mono
On Tue, 2004-03-30 at 19:34, Joe Marcus Clarke wrote: > On Tue, 2004-03-30 at 19:30, Tim Hawkins wrote: > > Does anybody know who the maintainer for this port is? > > gnome@ is the maintainer as it says in the port Makefile. > > > > > I understand the GC issues that had broken this port in the past have now > > been resolved with the latest version on boem and mono.0.31 > > They have? I don't see anything in the boehm 6.3alpha5 log that would > indicate the FreeBSD threading problems have been fixed. Please let me > know which commits fix this problem. Well, I tried mono-0.31 on -CURRENT, and I get the same problem. It can't even compile anything without a SIGILL. Do you know what code was supposed to fix the GC problem on FreeBSD? Note: I had to compile without sigaltstack support as it would not link with it enabled. Joe > > Joe > > > > > ___ > > [EMAIL PROTECTED] mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to "[EMAIL PROTECTED]" -- PGP Key : http://www.marcuscom.com/pgp.asc signature.asc Description: This is a digitally signed message part
8 virtual screens defined, but can only use console
Hello, I've come across a bit of a snag with X. when i start x nothing i type shows up, they all somehow manage to find their way to the console. i can start applications like gkrellm, eterm and firefox fine it's just that i can't type in them, the console interprets everything as a command of course and spits out unknown command messages when i end the x-session. i looked at my /etc/ttys and confirmed that i didn't mess with it, i didn't do anything weird to x. so i have no idea how to even try to start tracking down the problem. i'm using the fluxbox window manager. if anyone has come across this before or would like more information in helping me track this down please let me know. yes, i looked at the mailing list archives for freebsd-questions,current, and the xfree86 archive also and couldn't find anything similar to this. i am running a current build from friday, but strangely enough the problem started right before i redid world on friday thank you, Nathanael Jean-Francois ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
NATD and SecureClient?
Hello, I have a FreeBSD as my ipfw firewall using natd to redirect my ports... When I redirect port 500 so I can get SecureClient to work for my connection to work my entire firewall stops working and not traffic gets through... Any ideas? And yes natd.conf is configured correctly, I have other ports mapped... Thanks, Doug ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: unknown tcp connections to dawsonmail.com
Its a bit confusing because you mention the DSL router and "my server" as if they are two different machines. If they are, then are they the ONLY two different machines behind the DSL router? Is it possible you have a Windoze PC on your subnet somewhere? Seems that dawsonmail.com is a hostile web site (it attempts to install adware) perhaps you have something connected to it somewhere? --Chuck At 06:44 PM 3/30/2004, Lorin Lund wrote: I have freebsd 5.2 release running on my server. I have apache2 and MySQL installed and running. No other daemons to speak of. Yet my DSL router shows connections to dawsonmail.com. Does anyone have any knowledge or ideas of what might be going on? The DSL router does not show port info. Just the outside domain name and the inside IP address. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
unknown tcp connections to dawsonmail.com
I have freebsd 5.2 release running on my server. I have apache2 and MySQL installed and running. No other daemons to speak of. Yet my DSL router shows connections to dawsonmail.com. Does anyone have any knowledge or ideas of what might be going on? The DSL router does not show port info. Just the outside domain name and the inside IP address. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
SOLVED: Is this the right / best way of updating zoneinfo only
( Wrapup head posted ) Thanks Kris, I dont have a problem with the normal make world etc (do it regularly on non production stuff, but I was kinda hoping that I could do this zoneinfo build as a mini build on the production webserver to A) obviate the need to make world B) head off a mini problem that may never actually occur with the use of the zoneinfo data.. Push comes to shove - if a timezone/daylight savings setting needs altering I can carefully modify the appropriate file and re-zic things. ta mjt On Wed, 2004-03-31 at 12:03, Kris Kennaway wrote: > On Wed, Mar 31, 2004 at 11:53:18AM +1000, Murray Taylor wrote: > > Question not responded to in a week.. > > > > -Forwarded Message- > > From: Murray Taylor <[EMAIL PROTECTED]> > > To: [EMAIL PROTECTED] > > Subject: Is this the right / best way of updating zoneinfo only > > Date: Tue, 23 Mar 2004 10:48:17 +1100 > > > > Is this the right way to update the zoneinfo data > > used for the time / timezone related calls.. > > > > cvsup -STABLE > > cd /usr/src/share/zoneinfo > > make > > make install > > > > I need to ensure that the zoneinfo is upto date on say a monthly cycle > > and dont really want or need to recompile everything... > > I looked at the Makefile and the included bsd.prog.mk file and > > decided that I dont need to learn _that much_ about makefiles .. ;-) > > That might work, but it's not guaranteed to always work. There's only > one way to safely rebuild your system, which is the one documented in > the handbook. In particular, piecewise updates are not supported. > > zoneinfo is hardly ever updated anyway, so you may be trying to solve > a non-problem. > > Kris > > > This Email has been scanned for Viruses by MailMarshal. > -- Murray Taylor Special Projects Engineer - Bytecraft Systems & Entertainment P: +61 3 8710 2555 F: +61 3 8710 2599 D: +61 3 9238 4275 M: +61 417 319 256 E: [EMAIL PROTECTED] or visit us on the web http://www.bytecraftsystems.com http://www.bytecraftentertainment.com This Email has been scanned for Viruses by MailMarshal. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: XFree86 4.4 in FreeBSD?
On Tue, Mar 30, 2004 at 06:03:19PM -0800, Kris Kennaway wrote: > On Tue, Mar 30, 2004 at 08:59:42PM -0500, Jesse Sheidlower wrote: > > > > I'm about to install FreeBSD on a new computer, and was > > looking over the release notes for XFree86 in preparation and > > discovered that the Current release is 4.4. Though I don't > > think I actively need any of the features of version 4.4, I do > > wonder why it hasn't made it into the Ports system yet. It's > > been out for a month, and there are FreeBSD binaries on the > > XFree86 site. > > > > There doesn't seem to have been much discussion of it here. Are > > there any specific problems with 4.4, or is it just a big job > > to port it and deal with dependencies? > > The latter. Hmm. This is distressing, as I've discovered since posting my original message not long ago that my video card (ATI Mobility FireGL T2) is not supported in 4.3, but is supported in 4.4. How grim a job is it going to be to handle the X setup manually, and how badly will I get screwed every time I try to install a new X-based app? Thanks. Jesse Sheidlower ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
From pagemaker file add to current web page
I wonder if you can help me We have a product manual made up of pdf's from pagemaker files.When you insert the cd into your computer it opens as a web page, then you can click on different areas to view different pages. My problem is not building the pages, it is "How do I add pages to the different sections and then put a link on the sub menu page so that when you insert the cd and go to one of the sub menus, you will see the new page link and it will open that pdf?" Can you help or suggest someone who can thanks Danielle Sim Filter Technology Australia www.filtertechnology.com.au This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: XFree86 4.4 in FreeBSD?
On Tue, Mar 30, 2004 at 08:59:42PM -0500, Jesse Sheidlower wrote: > > I'm about to install FreeBSD on a new computer, and was > looking over the release notes for XFree86 in preparation and > discovered that the Current release is 4.4. Though I don't > think I actively need any of the features of version 4.4, I do > wonder why it hasn't made it into the Ports system yet. It's > been out for a month, and there are FreeBSD binaries on the > XFree86 site. > > There doesn't seem to have been much discussion of it here. Are > there any specific problems with 4.4, or is it just a big job > to port it and deal with dependencies? The latter. Kris pgp0.pgp Description: PGP signature
Re: Resend of Question: Is this the right / best way of updating zoneinfo only
On Wed, Mar 31, 2004 at 11:53:18AM +1000, Murray Taylor wrote: > Question not responded to in a week.. > > -Forwarded Message- > From: Murray Taylor <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Is this the right / best way of updating zoneinfo only > Date: Tue, 23 Mar 2004 10:48:17 +1100 > > Is this the right way to update the zoneinfo data > used for the time / timezone related calls.. > > cvsup -STABLE > cd /usr/src/share/zoneinfo > make > make install > > I need to ensure that the zoneinfo is upto date on say a monthly cycle > and dont really want or need to recompile everything... > I looked at the Makefile and the included bsd.prog.mk file and > decided that I dont need to learn _that much_ about makefiles .. ;-) That might work, but it's not guaranteed to always work. There's only one way to safely rebuild your system, which is the one documented in the handbook. In particular, piecewise updates are not supported. zoneinfo is hardly ever updated anyway, so you may be trying to solve a non-problem. Kris pgp0.pgp Description: PGP signature
XFree86 4.4 in FreeBSD?
I'm about to install FreeBSD on a new computer, and was looking over the release notes for XFree86 in preparation and discovered that the Current release is 4.4. Though I don't think I actively need any of the features of version 4.4, I do wonder why it hasn't made it into the Ports system yet. It's been out for a month, and there are FreeBSD binaries on the XFree86 site. There doesn't seem to have been much discussion of it here. Are there any specific problems with 4.4, or is it just a big job to port it and deal with dependencies? Jesse Sheidlower ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Resend of Question: Is this the right / best way of updating zoneinfo only
Question not responded to in a week.. -Forwarded Message- From: Murray Taylor <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Is this the right / best way of updating zoneinfo only Date: Tue, 23 Mar 2004 10:48:17 +1100 Is this the right way to update the zoneinfo data used for the time / timezone related calls.. cvsup -STABLE cd /usr/src/share/zoneinfo make make install I need to ensure that the zoneinfo is upto date on say a monthly cycle and dont really want or need to recompile everything... I looked at the Makefile and the included bsd.prog.mk file and decided that I dont need to learn _that much_ about makefiles .. ;-) cheers mjt -- Murray Taylor Special Projects Engineer - Bytecraft Systems & Entertainment P: +61 3 8710 2555 F: +61 3 8710 2599 D: +61 3 9238 4275 M: +61 417 319 256 E: [EMAIL PROTECTED] or visit us on the web http://www.bytecraftsystems.com http://www.bytecraftentertainment.com This Email has been scanned for Viruses by MailMarshal. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: compiling kernel :(
> whenever i try to run it i get an error and a question wheter i have added > USER_LDT option to my kernel > which brings me to my current problem > whenever i attempt to compile my kernel i get this after a while : The answer to your question is in the file you sent: > umass.o:/usr/src/sys/dev/usb/umass.c:2683: more undefined references to > `xpt_done' follow > deviceumass # Disks/Mass storage - Requires scbus and da You have defined umass but the driver specifically says it requires scbus and da which you have not defined. The same is true of your network cards. You have defined ethernet cards whcih require the miibus and yet you have not defined the miibus device in your config file. The answers are there but you need to sit down and actually read the kernel config file. If you randomly delete or include options without reading them then the kernel is not going to compile. -Don ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: lang/mono
On Tue, 2004-03-30 at 19:30, Tim Hawkins wrote: > Does anybody know who the maintainer for this port is? gnome@ is the maintainer as it says in the port Makefile. > > I understand the GC issues that had broken this port in the past have now > been resolved with the latest version on boem and mono.0.31 They have? I don't see anything in the boehm 6.3alpha5 log that would indicate the FreeBSD threading problems have been fixed. Please let me know which commits fix this problem. Joe > > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" -- PGP Key : http://www.marcuscom.com/pgp.asc signature.asc Description: This is a digitally signed message part
compiling kernel :(
hello im pretty new to freebsd got it about two weeks ago now i've been trying to get kazaa on my box so i have installed wine, but whenever i try to run it i get an error and a question wheter i have added USER_LDT option to my kernel which brings me to my current problem whenever i attempt to compile my kernel i get this after a while : umass.o:/usr/src/sys/dev/usb/umass.c:2683: more undefined references to `xpt_done' follow if_aue.o: In function `aue_attach': /usr/src/sys/dev/usb/if_aue.c:769: undefined reference to `mii_phy_probe' if_aue.o: In function `aue_tick': /usr/src/sys/dev/usb/if_aue.c:1116: undefined reference to `mii_tick' /usr/src/sys/dev/usb/if_aue.c:1118: undefined reference to `mii_pollstat' if_aue.o: In function `aue_init': /usr/src/sys/dev/usb/if_aue.c:1277: undefined reference to `mii_mediachg' if_aue.o: In function `aue_ifmedia_upd': /usr/src/sys/dev/usb/if_aue.c:1342: undefined reference to `mii_phy_reset' /usr/src/sys/dev/usb/if_aue.c:1347: undefined reference to `mii_mediachg' if_aue.o: In function `aue_ifmedia_sts': /usr/src/sys/dev/usb/if_aue.c:1363: undefined reference to `mii_pollstat' if_aue.o: In function `csr_write_1': /usr/src/sys/dev/usb/if_aue.c:316: undefined reference to `miibus_readreg_desc' /usr/src/sys/dev/usb/if_aue.c:316: undefined reference to `miibus_writereg_desc' /usr/src/sys/dev/usb/if_aue.c:318: undefined reference to `miibus_statchg_desc' if_aue.o: In function `csr_write_2': /usr/src/sys/dev/usb/if_aue.c:342: undefined reference to `miibus_driver' /usr/src/sys/dev/usb/if_aue.c:344: undefined reference to `miibus_devclass' if_ed.o: In function `ed_tick': /usr/src/sys/dev/ed/if_ed.c:1749: undefined reference to `mii_tick' if_ed.o: In function `ed_init': /usr/src/sys/dev/ed/if_ed.c:1899: undefined reference to `mii_mediachg' if_ed.o: In function `ed_ifmedia_upd': /usr/src/sys/dev/ed/if_ed.c:3286: undefined reference to `mii_mediachg' if_ed.o: In function `ed_ifmedia_sts': /usr/src/sys/dev/ed/if_ed.c:3302: undefined reference to `mii_pollstat' if_ed_pccard.o: In function `ed_pccard_attach': /usr/src/sys/dev/ed/if_ed_pccard.c:248: undefined reference to `mii_phy_probe' if_ed_pccard.o: In function `ed_pccard_detach': /usr/src/sys/dev/ed/if_ed_pccard.c:125: undefined reference to `miibus_readreg_desc' /usr/src/sys/dev/ed/if_ed_pccard.c:127: undefined reference to `miibus_writereg_desc' if_ed_pccard.o: In function `ed_pccard_probe': /usr/src/sys/dev/ed/if_ed_pccard.c:147: undefined reference to `miibus_driver' /usr/src/sys/dev/ed/if_ed_pccard.c:156: undefined reference to `miibus_devclass' *** Error code 1 Stop in /usr/obj/usr/src/sys/MYKERNEL. *** Error code 1 Stop in /usr/src. *** Error code 1 i have no idea what it could be here is my kernel config file (locared at /usr/src/sys/i386/conf/): # # GENERIC -- Generic kernel configuration file for FreeBSD/i386 # # For more information on this file, please read the handbook section on # Kernel Configuration Files: # # http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html # # The handbook is also available locally in /usr/share/doc/handbook # if you've installed the doc distribution, otherwise always see the # FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the # latest information. # # An exhaustive list of options and more detailed explanations of the # device lines is also present in the ./LINT configuration file. If you are # in doubt as to the purpose or necessity of a line, check first in LINT. # # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.246.2.54 2003/04/28 03:41:46 simokawa Exp $ machine i386 cpu I686_CPU ident MYKERN maxusers64 makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols #optionsMATH_EMULATE#Support for x87 emulation options INET#InterNETworking options INET6 #IPv6 communications protocols options FFS #Berkeley Fast Filesystem options FFS_ROOT#FFS usable as root device [keep this!] options SOFTUPDATES #Enable FFS soft updates support #optionsUFS_DIRHASH #Improve performance on big directories options MFS #Memory Filesystem options MD_ROOT #MD is a potential root device #optionsNFS #Network Filesystem #optionsNFS_ROOT#NFS usable as root device, NFS required #optionsMSDOSFS #MSDOS Filesystem options CD9660 #ISO 9660 Filesystem options CD9660_ROOT #CD-ROM usable as root, CD9660 required options PROCFS #Process filesystem options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] #optionsSCSI_DELAY=15000#Delay (in ms) before probing SCSI options UCONSOLE#Allow users to grab the console op
lang/mono
Does anybody know who the maintainer for this port is? I understand the GC issues that had broken this port in the past have now been resolved with the latest version on boem and mono.0.31 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
5.2.1-R sysinstall NFS install failure
Ok this is the last question I promise... I am attempting to install FreeBSD via NFS. I keep getting an error from sysinstall saying: "Error mounting 10.3.1.20:/usr/FreeBSD/5.2.1-RELEASE on /dist: No such file or directory" I can mount 10.3.1.20:/usr/FreeBSD/5.2.1-RELEASE on other systems within the network. The pxeboot loader is also pulling /kernel from an NFS mount on this server. Does anyone know why this might not be working? -Don ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: libXft port will not install...
On Tue, Mar 30, 2004 at 05:47:08PM -0600, Jason Zimberoff wrote: > ===> libXft-2.1.6 depends on executable: gmake - found > ===> libXft-2.1.6 depends on shared library: fontconfig.1 - found > ===> libXft-2.1.6 depends on shared library: X11.6 - found > ===> Configuring for libXft-2.1.6 > checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel > checking whether build environment is sane... yes > checking for gawk... no > checking for mawk... no > checking for nawk... nawk > checking whether gmake sets $(MAKE)... yes > checking whether to enable maintainer-specific portions of Makefiles... no > checking for gcc... cc > checking for C compiler default output file name... a.out > checking whether the C compiler works... yes > checking whether we are cross compiling... no > checking for suffix of executables... > checking for suffix of object files... o > checking whether we are using the GNU C compiler... yes > checking whether cc accepts -g... yes > checking for cc option to accept ANSI C... none needed > checking for style of include used by gmake... GNU > checking dependency style of cc... gcc3 > checking build system type... i386-portbld-freebsd5.0 > checking host system type... i386-portbld-freebsd5.0 > checking for a sed that does not truncate output... /usr/bin/sed > checking for egrep... grep -E > checking for ld used by cc... /usr/bin/ld > checking if the linker (/usr/bin/ld) is GNU ld... yes > checking for /usr/bin/ld option to reload object files... -r > checking for BSD-compatible nm... /usr/bin/nm -B > checking whether ln -s works... yes > checking how to recognise dependent libraries... pass_all > checking how to run the C preprocessor... cc -E > checking for ANSI C header files... yes > checking for sys/types.h... yes > checking for sys/stat.h... yes > checking for stdlib.h... yes > checking for string.h... yes > checking for memory.h... yes > checking for strings.h... yes > checking for inttypes.h... yes > checking for stdint.h... yes > checking for unistd.h... yes > checking dlfcn.h usability... yes > checking dlfcn.h presence... yes > checking for dlfcn.h... yes > checking whether we are using the GNU C++ compiler... yes > checking whether c++ accepts -g... yes > checking dependency style of c++... gcc3 > checking how to run the C++ preprocessor... c++ -E > checking for g77... no > checking for f77... f77 > checking whether we are using the GNU Fortran 77 compiler... yes > checking whether f77 accepts -g... yes > checking the maximum length of command line arguments... (cached) 65536 > checking command to parse /usr/bin/nm -B output from cc object... ok > checking for objdir... .libs > checking for ar... ar > checking for ranlib... ranlib > checking for strip... strip > checking if cc static flag works... yes > checking if cc supports -fno-rtti -fno-exceptions... yes > checking for cc option to produce PIC... -fPIC > checking if cc PIC flag -fPIC works... yes > checking if cc supports -c -o file.o... yes > checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes > checking whether -lc should be explicitly linked in... yes > checking dynamic linker characteristics... freebsd5.0 ld.so > checking how to hardcode library paths into programs... immediate > checking whether stripping libraries is possible... yes > checking if libtool supports shared libraries... yes > checking whether to build shared libraries... yes > checking whether to build static libraries... yes > configure: creating libtool > appending configuration tag "CXX" to libtool > checking for ld used by c++... /usr/bin/ld > checking if the linker (/usr/bin/ld) is GNU ld... yes > checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes > checking for c++ option to produce PIC... -fPIC > checking if c++ PIC flag -fPIC works... yes > checking if c++ supports -c -o file.o... yes > checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes > checking dynamic linker characteristics... freebsd5.0 ld.so > checking how to hardcode library paths into programs... immediate > checking whether stripping libraries is possible... yes > appending configuration tag "F77" to libtool > checking if libtool supports shared libraries... yes > checking whether to build shared libraries... yes > checking whether to build static libraries... yes > checking for f77 option to produce PIC... -fPIC > checking if f77 PIC flag -fPIC works... yes > checking if f77 supports -c -o file.o... yes > checking whether the f77 linker (/usr/bin/ld) supports shared libraries... yes > checking dynamic linker characteristics... freebsd5.0 ld.so > checking how to hardcode library paths into programs... immediate > checking whether stripping libraries is possible... yes > checking for pkg-config... /usr/local/bin/pkg-config > checking for xrender >= 0.8.2... checking for xrender >= 0... checking for X... > libraries /usr/X11R6/lib, headers /usr/X11R6/include > checking X11/extensions/Xrende
libXft port will not install...
Hello all. Here is the quick problem... FreeBSD freeBSD.comcast.com 5.0-RELEASE FreeBSD 5.0-RELEASE #0: Thu Jan 16 22:16:53 GMT 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 Everything was working fine. Using gnome, and had installed opera, xmms, gnometelnet, and grn with no major problems. Then I tried to install gimp... It crashes when it gets to the libXft dependency. Someone mentioned on bsdforums.org that I am missing the Xfree86-devel, but I am not sure how to fix that, if it is the problem. Here is the screen output... === ===> libXft-2.1.6 depends on executable: gmake - found ===> libXft-2.1.6 depends on shared library: fontconfig.1 - found ===> libXft-2.1.6 depends on shared library: X11.6 - found ===> Configuring for libXft-2.1.6 checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel checking whether build environment is sane... yes checking for gawk... no checking for mawk... no checking for nawk... nawk checking whether gmake sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for gcc... cc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ANSI C... none needed checking for style of include used by gmake... GNU checking dependency style of cc... gcc3 checking build system type... i386-portbld-freebsd5.0 checking host system type... i386-portbld-freebsd5.0 checking for a sed that does not truncate output... /usr/bin/sed checking for egrep... grep -E checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking how to run the C preprocessor... cc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking whether we are using the GNU C++ compiler... yes checking whether c++ accepts -g... yes checking dependency style of c++... gcc3 checking how to run the C++ preprocessor... c++ -E checking for g77... no checking for f77... f77 checking whether we are using the GNU Fortran 77 compiler... yes checking whether f77 accepts -g... yes checking the maximum length of command line arguments... (cached) 65536 checking command to parse /usr/bin/nm -B output from cc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if cc static flag works... yes checking if cc supports -fno-rtti -fno-exceptions... yes checking for cc option to produce PIC... -fPIC checking if cc PIC flag -fPIC works... yes checking if cc supports -c -o file.o... yes checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... yes checking dynamic linker characteristics... freebsd5.0 ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by c++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes checking for c++ option to produce PIC... -fPIC checking if c++ PIC flag -fPIC works... yes checking if c++ supports -c -o file.o... yes checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... freebsd5.0 ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes appending configuration tag "F77" to libtool checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for f77 option to produce PIC... -fPIC checking if f77 PIC flag -fPIC works... yes checking if f77 supports -c -o file.o... yes checking whether the f77 linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... freebsd5.0 ld.so checking how to hardcode library path
Re: Largest Hard Drive
>> > What is the largest hard drive that FreeBSD can suppport? > Is there a limit? >> Since the block number in the kernel buf struct is still a 32 bit integer (in FreeBSD release 4.9 at least), I would guess that FreeBSD can handle at most a Terrabyte (2^40 bytes) or two (if the block number is unsigned) on a single hard disk. If you try to make a single file system that large, you may find that things like fsck don't scale very well. Dan Strick [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: tcopy tape to tape WAY too slow
On Tuesday 30 March 2004 15:27, Dan Nelson wrote: > In the last episode (Mar 30), Jesse Guardiani said: > > On Tuesday 30 March 2004 10:39, you wrote: > > > If you have multiple files or unknown blocksizes, the cptp command > > > from the MAG package at http://www.cs.vu.nl/~dick/mag.html will > > > preserve filemark and blocksize info through pipes, so you could do > > > a cptp | cptp pipe. > > > > That looks promising. Do you have special build instructions for this > > package under FreeBSD 4.x? > > > > I'm getting the following error on 'gmake' or 'make': > > > > gcc -ansi -DUNIX -O -s -c tperr.c > > tperr.c:18: initializer element is not constant > > *** Error code 1 > > Bug in the program (stderr cannot be used to initialize static > variables). Replace line 18 with > > #define tperr stderr > > and it'll build. It looks like you may also want to edit tploc.h, line > 49, and replace those two "8"'s with "%d"'s. Then something like > "cptp -m 0 of=- | cptp -m 1 if=-" should copy from rmt0 to rmt1 with a > little bit of pipe buffering inbetween. Adding "team" or "buffer" > (both in ports/misc) inbetween will add even more buffering. Having lotsa trouble getting this working. I'm using this command line: cptp -hm 1 of=- | cptp -hm 0 if=- (tried it without the -h too) And getting this output: After 0 tape marks, after 0 blocks: tape image format error on standard input And this error in /var/log/messages: Mar 30 18:23:24 billmax /kernel: (sa1:ahc0:0:2:0): 64512-byte tape record bigger than supplied buffer Mar 30 18:23:24 billmax /kernel: (sa1:ahc0:0:2:0): tape is now frozen- use an OFFLINE, REWIND or MTEOM command to clear this state. Any ideas? -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Anti-virus
On Tuesday 30 March 2004 06:58 am, Lewis Thompson wrote: > On Mon, Mar 29, 2004 at 08:52:23PM -0600, Earl Larsen wrote: > > I was wondering what is a good, free ;) anti virus program for FreeBSD. > > Depending what you mean by free... maybe try security/f-prot. It's free > for non-commercial use. > > -lewiz. It will be used for non-commercial use. I am a student with limited income. And any good free (comparable to boughten) anti virus software would be nice. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
e2fsprogs install
Hello FreeBSDers, Just installed e2fsprogs from ports and it gave some instructions for vreating some links as follows: -- To have your ext2 and ext3 filesystems fsck'ed correctly without explicitly invoking the fsck_ext2fs utility installed by this port you will need to create links for the fsck utilities installed by this port in /sbin, e.g. ln -f /usr/local/sbin/fsck_ext2fs /sbin/ 2>/dev/null \ || install -m755 /usr/local/sbin/fsck_ext2fs /sbin/ ln -f /usr/local/sbin/e2fsck /sbin/e2fsck 2>/dev/null \ || install -m755 /usr/local/sbin/e2fsck /sbin/e2fsck IMPORTANT: you also need to repeat the above steps after a port upgrade! - I haven't done this yet as I am a little cinfused by the syntax. In particular, I assume that each of these two commands are meant to be entered as one line, and has been shown over two lines to fit on the page. I also assume that there is a symbol denoting that the command is continued on the next line. But which one? The "\" and the end of the first line, or the "|" at the beginning of the second line, or both? Can some one set me straight? Ron ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
sysinstall "Unable to find device node..."
Using an install.cfg with sysinstall off the boot floppies I am getting the following error: "Unable to find device node for /dev/ad0s1b in /dev!" "The creation of filesystems will be aborted" This only happens if I specify the file systems and sizes I want in install.cfg and tell it to do an installCommit or a diskLabelCommit. If I go into the disklabel editor after the install fails, I see the root partition and the swap partition but not my /usr or /var partitions. The debug screen says: "Scanning disk ad0 for swap partitions" "Found swapdev at ad0s1b!" It would appear that the swap device is there, and being found, but for some reason sysinstall is erroring out and I do not know why. This is only a problem when running it from install.cfg -Don ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Largest Hard Drive
Hi Everyone, What is the largest hard drive that FreeBSD can suppport? Is there a limit? -- ~*\\~*~\\*~Cheers ~*~\\~*~\\~*~Jason ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: tar & ssh: strange gzip error message?
* Zev Thompson <[EMAIL PROTECTED]> [2004-03-30 11:14]: > Hi all, > > If I want to copy a bunch of files over ssh without extra servers, it's > easy enough to use the following command: > > [EMAIL PROTECTED] ssh [EMAIL PROTECTED] "cd /directory/to/copy && tar -cvf > - *" | tar -xf - -C . > > This works without complaint. However, when I change the options passed > to tar, adding gzip compression on one end and decompression on the > other: > > [EMAIL PROTECTED] ssh [EMAIL PROTECTED] "cd /directory/to/copy && tar > -cvzf - *" | tar -xzf - -C . > > I get this error message: > > gzip: stdin: decompression OK, trailing garbage ignored > tar: Child died with signal 13 > tar: Error exit delayed from previous errors > > Is my method wrong? It appears that the files transferred just fine, I don't think so... [EMAIL PROTECTED] ssh [EMAIL PROTECTED] "cd /test && tar -cvzf - *" | tar -xzf - -C . GUIDE.pdf HeterogenousClusters.pdf SecurityAndopenMosix.pdf [EMAIL PROTECTED] Both forms work happily here, but i did notice on subsequent copies of the same files I experienced some data corruption: GUIDE.pdf HeterogenousClusters.pdf SecurityAndopenMosix.pdf tar: SecurityAndopenMosix.pdf: file changed as we read it linux-kongress_2003_openMosix.pdf tar: Error exit delayed from previous errors -- Joshua Suffocating together ... would create heroic camaraderie. -- Khan Noonian Singh, "Space Seed", stardate 3142.8 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Installation & fdisk partitioning (slices)
I know that writing is my worst form of communication ever! If something is not clear please ask. I will not bother you again. Thanks Russ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Russell E. Mayfield Sent: Monday, March 29, 2004 6:12 AM To: freebsd-questions Subject: Installation & fdisk partitioning (slices) I picked up a copy of the "FreeBSD Handbook 2nd Ed" the other day, it came with a installation disk for version 5.1 Current and that is what I am trying to install. This is my first attempt to do anything with FreeBSD. First let me describe my system, I have a pentium 200 MMX cpu with 128MB Ram and two 20GB hard drives (ad0 & ad2). I am installing FreeBSD to ad2s2. I made room for fbsd with Partition Magic so when installing fbsd all I had to do was make it bootable and format it. The first time I installed fbsd everything went well but I remember wondering about the C flag that came up with the A flag when I made the slice bootable. Later I decided on a better way to arrange my partitions, so I had to reinstall fbsd. I tried for 4 days to get that C flag back in there (which the online help says is the default) and couldn't. When ever I went ahead wihtout the C flag it made the disk unusable to anything except fbsd, also in the disklabel program the d partition was skiped the first time, which the handbook cautions about using, but without the C flag I had to make a fake partition then delete it to get ride of it. Finaly I decided to live dangerously an I changed the geometry of the drive to match the bios figures. It seems to work, but I haven't gotten into it very deep. Can somebody shed some light on this, and should I make out a bug report? Thanks Russ --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.614 / Virus Database: 393 - Release Date: 3/5/04 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.614 / Virus Database: 393 - Release Date: 3/5/04 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.614 / Virus Database: 393 - Release Date: 3/5/04 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: shmem release
In the last episode (Mar 30), Tim Traver said: > Hi all, > > Ok, I am running a 4.7 FreeBSD box that is a web server running apache. > > It looks like some module that I have is leaking memory, and eventually, > apache crashes on restarts becuase of this error : > > shmget() failed: No space left on device > > which means it can't get any more memory, which I understand. ipcs -m will list your current shm segments, and ipcrm will let you delete the ones not in use anymore. SYSV shared memory usage is limited by the kern.ipc.shmmax sysctl, I believe. -- Dan Nelson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Building KSambaPlugin Port question pt2
I don't know if it helps but I figured out that it doesn't freeze with the command line: "kcmshell --nocrashhandler kcmsambaconf" Can anyone give me a nudge in the right direction? Joe. > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Joe Kraft > Sent: Saturday, March 13, 2004 10:32 > To: [EMAIL PROTECTED] > Subject: KSambaPlugin question > > > I've been looking at the KSambaPlugin and am interested in it. I noticed > there used to be a port for this KControl plugin, but it appears to not > have been updated and was removed. I figured it's as good of a place as > any to start digging into FreeBSD, but I've run into a problem with it. > > I've made the changes to the port files and it configures and > builds fine, > but it won't run. I'm new with programming on FreeBSD, so forgive me if > this is an easy problem to solve... > > I'm using KDE 3.2, Samba 3.0.1, FreeBSD 5.2, and ksambaplugin 0.5. > kde-3.2.0 The "meta-port" for KDE > kdebase-3.2.0_1 Basic applications for the KDE system > kdelibs-3.2.0 Base set of libraries needed by KDE programs > samba-3.0.1_2,1 A free SMB and CIFS client and server for UNIX > samba-libsmbclient-3.0.1 The shared lib from the samba packages > > The compile is relatively clean, only a few messages about > unused variables > and arguments and a couple about using some print headers which are > supposed to be for internal KDE use. No errors though. > > What is happening is that the plugin is freezing when it's called. I've > tracked it down to the external process call (testParam.start), > which never > returns. Here's the relevant code parts: > > --- start code --- > KProcess testParam; > testParam << "testparm"; > testParam << "-V"; > _parmOutput = QString(""); > _sambaVersion = 2; > > connect( &testParam, SIGNAL(receivedStdout(KProcess*,char*,int)), > this, SLOT(testParmStdOutReceived(KProcess*,char*,int))); > > =>if (testParam.start(KProcess::Block,KProcess::Stdout)) { > if (_parmOutput.find("3") > -1) > _sambaVersion = 3; > } > --- end code --- > --- more code --- > void SambaFile::testParmStdOutReceived(KProcess *, char *buffer, int > buflen) > { > _parmOutput+=QString::fromLatin1(buffer,buflen); > } > --- end more code --- > > I can run the 'testparm -V' from a shell to get the samba > version, but the > response seems to get lost here. Is there anything that should be > different in this snippet of code? It appears the plugin has only been > tested in Linux; so, is there a common problem I'm running into here. > Pointers to any additional documentation I should read would be > appreciated. > > Thanks, > Joe. > > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: tcopy tape to tape WAY too slow
In the last episode (Mar 30), Jesse Guardiani said: > On Tuesday 30 March 2004 10:39, you wrote: > > If you have multiple files or unknown blocksizes, the cptp command > > from the MAG package at http://www.cs.vu.nl/~dick/mag.html will > > preserve filemark and blocksize info through pipes, so you could do > > a cptp | cptp pipe. > > That looks promising. Do you have special build instructions for this > package under FreeBSD 4.x? > > I'm getting the following error on 'gmake' or 'make': > > gcc -ansi -DUNIX -O -s -c tperr.c > tperr.c:18: initializer element is not constant > *** Error code 1 Bug in the program (stderr cannot be used to initialize static variables). Replace line 18 with #define tperr stderr and it'll build. It looks like you may also want to edit tploc.h, line 49, and replace those two "8"'s with "%d"'s. Then something like "cptp -m 0 of=- | cptp -m 1 if=-" should copy from rmt0 to rmt1 with a little bit of pipe buffering inbetween. Adding "team" or "buffer" (both in ports/misc) inbetween will add even more buffering. -- 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: BGP On Host
It's a reasonable way to perform certain kinds of replication. DDNS can often converge faster than BGP, but this *requires* that clients observe TTLs. Many do not. I don't know about current browsers, but not too long ago browsers would keep the results of a DNS lookup until they died. We offer a replication service (as a special) based on BGP. We do not recommend it unless the DDNS approach will not meet requirements. And then we work to find alternatives! To do it yourself is rather simple (Catbert's grin here.) First. Find a collection of ISPs that will agree to accept your BGP4 announcements of this foreign (to all save perhaps one ISP) AS. Oh, get an AS #. Then get someone to assign you some address space that can be so advertised. If you're lucky you have a spare /19 in your back pocket. :) After that it's *easy*. OK, I'm being cute. Some large ISPs will work with you to do this wholly in their diverse facilities with private AS numbers and address space they have reserved for this. AFAIK, the last free version of gated will work for IPv4 versions of this approach. And that runs on FreeBSD. -sam ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to auto-login on boot up
Nice! ... works great ! Thanks a lot for your help. -Pranav *** Pranav A. Desai On Tue, 30 Mar 2004, Matthew Seaman wrote: > On Tue, Mar 30, 2004 at 09:47:45AM -0600, Pranav A. Desai wrote: > > >Is there a way to auto login on the console when the system boots up. > > So that I can run a script that will provide with a menu to the user > > instead of the login prompt. And also if the script is killed or it dies > > it should respawn. > > Something similar to what /etc/inittab can do in linux. > > I would appreciate any suggestions or solutions. > > See ttys(5), getty(8), gettytab(5). Basically you setup a terminal > type via /etc/gettytab -- copy the 'Pc' entry and append the > 'al=username' property -- which causes that terminal to autologin as > the named user. Then you use /etc/ttys to tell the system to run a > getty(8) with that terminal type on a particular tty (the console, or > a vty) -- init(8) scans the /etc/ttys file and will detect when the > associated getty program exits and respawn it. > > Set the login shell of the username you select to the program you want > to run on the console, and take steps so that you can't get into that > account by other means, like ftp(1) or ssh(1). > > 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 > ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: shared memory release...
Tim Traver wrote: Ok, I am running a 4.7 FreeBSD box that is a web server running apache. It looks like some module that I have is leaking memory, and eventually, apache crashes on restarts becuase of this error : shmget() failed: No space left on device which means it can't get any more memory, which I understand. SysV shared memory is a limited resource which has tunables you need to set or adjust in your kernel config file. It's not the same as physical RAM. When I look at the top list, it shows me something like this : Mem: 140M Active, 879M Inact, 151M Wired, 181M Cache, 199M Buf, 660M Free top is measuring something else, here. -- -Chuck ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: about Ultra-sparc and alpha: what makes the difference?
Date: Wed, 31 Mar 2004 01:27:51 +0800 From: Zhang Weiwu <[EMAIL PROTECTED]> >Hello. The question sounds really silly, but google with "compare sparc >i386 alpha" / "benchmark sparc i386 alpha" doesn't give meaningful >result in several pages. Please suggest me a better keyword compilation:) How about this instead: Sparc (UltraSparc) A 32(64) bit processor designed by Sun Microsystems to advance beyond the Motorola 68040. Chips made by TI, Fujitsu, and perhaps others. www.sparcinternational.com Alpha, A 64 bit processor designed by Digital to advance beyond the VAX architecture. Digital, bought by Compaq, merged into HP. Chips made by Samsung (only, I think) www.alpha-processor.com (which may no longer work) FreeBSD runs on them all, multi-processor. They are more expensive primarily due to their lower volumes and the desire of their manufacturers to not enter low-margin markets. As a result, there is more money per computer to manufacture hi-quality enclosures. But this can be done with x86 systems, of course. -sam ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: BGP On Host
Kind of, except both machines are on 2 different ISP, in different states. At ApacheCon, I described how I have a server in Oregon and a server in Florida, and I have a monitoring program that does a dynamic DNS update when one of the hosts goes down. The individual described that what they are doing is something to do with BGP, in which they have multiple servers in different countries, all with the same IP address. Traffic is routed to the nearest logical server, until one goes down, then the traffic is routed to the nearest logical server that is still up. That is what I am wanting. Since I didn't get the person's contact information, I am trying to figure out how to do it myself. Sincerely, Rick Duvall - Original Message - From: "Marc G. Fournier" <[EMAIL PROTECTED]> To: "Rick Duvall" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, March 30, 2004 11:43 AM Subject: Re: BGP On Host > > sounds like you are describing a load balancing switch ... two seperate > boxes behind the switch, with a single "public" IP in front that sends a > heartbeat to the boxes behind it ... > > On Tue, 30 Mar 2004, Rick Duvall wrote: > > > I wasn't sure if it was BGP or if it was something else. Definetly between > > routers would be using BGP. But, I heard at an apache conference somebody > > was doing something where the machine would send a keepalive to the directly > > connected Cisco router, and if the router didn't receive the keepalive > > signal, BGP would re-route the traffic to the other host. Both hosts are on > > different ISP, but have the same IP address. Traffic is routed from the > > requester to the closest logical server. I think UltraDNS does this with > > their DNS servers as well. > > > > Anyway, I don't know what the host uses to send the keepalive to the Cisco > > router, or even how to configure the BGP to make it work. I was wondering > > if somebody on the list has set up the same configuration on a couple of > > fault tolerant FreeBSD boxes. > > > > Sincerely, > > > > Rick Duvall > > - Original Message - > > From: <[EMAIL PROTECTED]> > > To: "Rick Duvall" <[EMAIL PROTECTED]> > > Cc: <[EMAIL PROTECTED]> > > Sent: Tuesday, March 30, 2004 11:26 AM > > Subject: Re: BGP On Host > > > > > > > > (mirrored). If both hosts are up, the traffic is routed to the closes > > > > server to the person making the request. Otherwise, if one server is > > down, > > > > traffic is automatically re-routed to the other box. > > > > > > That is not what BGP is made for. It's an exterior routing protocol for > > > routes between AS. > > > > > > > ___ > > [EMAIL PROTECTED] mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > > > > > Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) > Email: [EMAIL PROTECTED] Yahoo!: yscrappy ICQ: 7615664 > ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Security Updates and Patching Two Choices?
* Chuck Swiger <[EMAIL PROTECTED]> [2004-03-30 11:14]: > Giorgos Keramidas wrote: > >On 2004-03-29 15:07, Charles Swiger <[EMAIL PROTECTED]> wrote: > >>On Mar 29, 2004, at 2:28 PM, Sean Murphy wrote: > [ ... ] > >>>If a tag just the 4_9 Release in the CVSupfile can i just ignore the > >>>mergemaster? also can I just CVSup the sources and build the ones I > >>>want? (see above) > >> > >>Generally one can ignore doing the mergemaster simply for a security > >>patch. > > > >Unless, of course, the security patch fixes problems in /etc files that > >mergemaster *must* update. It's not very difficult to run mergemaster. > >I wouldn't recomment avoiding it altogether. [ ... ] > > Oh, I agree with you: I think mergemaster is a useful tool, and I don't > think it's very difficult to use. > > Reasonable people disagree, however. In particular, people who aren't > familiar with diff generally find mergemaster to be incomprehensible. :-) > >From a [relative] newbie; it's only incomprehensible the first time or two. -- Joshua A woman should have compassion. -- Kirk, "Catspaw", stardate 3018.2 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: BGP On Host
sounds like you are describing a load balancing switch ... two seperate boxes behind the switch, with a single "public" IP in front that sends a heartbeat to the boxes behind it ... On Tue, 30 Mar 2004, Rick Duvall wrote: > I wasn't sure if it was BGP or if it was something else. Definetly between > routers would be using BGP. But, I heard at an apache conference somebody > was doing something where the machine would send a keepalive to the directly > connected Cisco router, and if the router didn't receive the keepalive > signal, BGP would re-route the traffic to the other host. Both hosts are on > different ISP, but have the same IP address. Traffic is routed from the > requester to the closest logical server. I think UltraDNS does this with > their DNS servers as well. > > Anyway, I don't know what the host uses to send the keepalive to the Cisco > router, or even how to configure the BGP to make it work. I was wondering > if somebody on the list has set up the same configuration on a couple of > fault tolerant FreeBSD boxes. > > Sincerely, > > Rick Duvall > - Original Message - > From: <[EMAIL PROTECTED]> > To: "Rick Duvall" <[EMAIL PROTECTED]> > Cc: <[EMAIL PROTECTED]> > Sent: Tuesday, March 30, 2004 11:26 AM > Subject: Re: BGP On Host > > > > > (mirrored). If both hosts are up, the traffic is routed to the closes > > > server to the person making the request. Otherwise, if one server is > down, > > > traffic is automatically re-routed to the other box. > > > > That is not what BGP is made for. It's an exterior routing protocol for > > routes between AS. > > > > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email: [EMAIL PROTECTED] Yahoo!: yscrappy ICQ: 7615664 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
FreeBSD Hard disk repair
I have a FreeBSD hard drive in which the circuit board is dead, but everything else is fine. Does anybody know where I can purchase just the circuit board? I don't want to buy a whole new drive just to remove the board from it to use on my old drive. Sincerely, Rick Duvall Online Highways System Administrator Office: (541) 997-8401 x 111 Cell: (541) 999-2338 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
shmem release
Hi all, Ok, I am running a 4.7 FreeBSD box that is a web server running apache. It looks like some module that I have is leaking memory, and eventually, apache crashes on restarts becuase of this error : shmget() failed: No space left on device which means it can't get any more memory, which I understand. When I look at the top list, it shows me something like this : Mem: 140M Active, 879M Inact, 151M Wired, 181M Cache, 199M Buf, 660M Free But when you look at the processes that are still up, they hardly take up any memory. So, my question is this. Is there a way to free up Inactive memory from crashed processes ??? Without just rebooting the box ??? I know that I need to find the source of the leaking and crashing to begin with, but in the mean time, if it happens, I'd like to free up the memory manually, so I can get the box running again... Thanks, Tim. SimpleNet's Back ! http://www.simplenet.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
shared memory release...
Hi all, Ok, I am running a 4.7 FreeBSD box that is a web server running apache. It looks like some module that I have is leaking memory, and eventually, apache crashes on restarts becuase of this error : shmget() failed: No space left on device which means it can't get any more memory, which I understand. When I look at the top list, it shows me something like this : Mem: 140M Active, 879M Inact, 151M Wired, 181M Cache, 199M Buf, 660M Free But when you look at the processes that are still up, they hardly take up any memory. So, my question is this. Is there a way to free up Inactive memory from crashed processes ??? Without just rebooting the box ??? I know that I need to find the source of the leaking and crashing to begin with, but in the mean time, if it happens, I'd like to free up the memory manually, so I can get the box running again... Thanks, Tim. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: BGP On Host
I wasn't sure if it was BGP or if it was something else. Definetly between routers would be using BGP. But, I heard at an apache conference somebody was doing something where the machine would send a keepalive to the directly connected Cisco router, and if the router didn't receive the keepalive signal, BGP would re-route the traffic to the other host. Both hosts are on different ISP, but have the same IP address. Traffic is routed from the requester to the closest logical server. I think UltraDNS does this with their DNS servers as well. Anyway, I don't know what the host uses to send the keepalive to the Cisco router, or even how to configure the BGP to make it work. I was wondering if somebody on the list has set up the same configuration on a couple of fault tolerant FreeBSD boxes. Sincerely, Rick Duvall - Original Message - From: <[EMAIL PROTECTED]> To: "Rick Duvall" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, March 30, 2004 11:26 AM Subject: Re: BGP On Host > > (mirrored). If both hosts are up, the traffic is routed to the closes > > server to the person making the request. Otherwise, if one server is down, > > traffic is automatically re-routed to the other box. > > That is not what BGP is made for. It's an exterior routing protocol for > routes between AS. > ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
5.2.1 sysinstall disk geometry problem
Ok last problem I am having: When scripting sysinstall, it still halts with an error about my disk geometry. The problem is, even if I specify the geometry that FreeBSD wants to use by setting the geometry= variable, I still get the error. Everything else in sysinstall is being scripted correctly. The only problems I am having are disk related. Can anyone shed any light on this subject? Thanks, -Don ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: BGP On Host
> (mirrored). If both hosts are up, the traffic is routed to the closes > server to the person making the request. Otherwise, if one server is down, > traffic is automatically re-routed to the other box. That is not what BGP is made for. It's an exterior routing protocol for routes between AS. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Kernel: Panic problem with TCPDUMP
From: "Guthemberg Silvestre" <[EMAIL PROTECTED]> Date: Tue, 30 Mar 2004 13:46:06 -0300 >Hi everyone, >I'm using the FreeBSD 5.2(FreeBSD 5.2-RELEASE #0: Sun Jan 11 04:21:45 GMT >2004),default installation, to collect packets with TCPDUMP. The computer >has: >-> CPU: AMD Athlon(tm) XP 2400+ (2004.56-MHz 686-class CPU) >-> real memory = 536805376 (511 MB) >-> rl0: port 0xd400-0xd4ff mem >0xdfffbf00-0xdfffbfff irq 18 at device 8.0 on pci0, etc. >The problem is when I start the program TCPDUMP to collect the packets from >a 32Mb/s link (at the rl0 interface). After some time, the following log >error messages appear: >"Mar 30 11:29:22 p2p kernel: panic: vm_fault: fault on nofault entry, addr: >e0aae000 >Mar 30 11:29:22 p2p kernel: cpuid = 0; >Mar 30 11:29:22 p2p kernel: >Mar 30 11:29:22 p2p kernel: syncing disks, buffers remaining... 3842 3842 >3842 3842 3842 3842 3842 3842 3842 3842 3842 3842 3842 3842 3842 38 >42 3842 3842 3842 3842 You don't by any chance have a Shuttle Xpc do you? Those are very similar dmesg lines to my Xpc. I have found that the memory boards are woefully undercooled in this box. I experimented with many coverings of the vent holes to increase the pressures near the front where the memory resides. Eventually I wedged a fan inside and aimed it along the two dimms. Runs fine now. Before that I had the *same* results as you whenever I ran software that exercised dma to disk, net, whatever. Which meant that the system often crashed the first time I read mail... ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
BGP On Host
Has anybody heard of making a webserver redundant using BGP? That is, if I set up 2 machines on different ISP's, with exactly the same content on them (mirrored). If both hosts are up, the traffic is routed to the closes server to the person making the request. Otherwise, if one server is down, traffic is automatically re-routed to the other box. Sincerely, Rick Duvall Online Highways System Administrator Office: (541) 997-8401 x 111 Cell: (541) 999-2338 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Security Updates and Patching Two Choices?
Giorgos Keramidas wrote: On 2004-03-29 15:07, Charles Swiger <[EMAIL PROTECTED]> wrote: On Mar 29, 2004, at 2:28 PM, Sean Murphy wrote: [ ... ] If a tag just the 4_9 Release in the CVSupfile can i just ignore the mergemaster? also can I just CVSup the sources and build the ones I want? (see above) Generally one can ignore doing the mergemaster simply for a security patch. Unless, of course, the security patch fixes problems in /etc files that mergemaster *must* update. It's not very difficult to run mergemaster. I wouldn't recomment avoiding it altogether. [ ... ] Oh, I agree with you: I think mergemaster is a useful tool, and I don't think it's very difficult to use. Reasonable people disagree, however. In particular, people who aren't familiar with diff generally find mergemaster to be incomprehensible. :-) -- -Chuck ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
unable to install gnome2 from ports
Aloha I am having a rough time trying to install Gnome 2 from ports. I have FreeBSD 5.1 running on a different PC and just installed 5.2-RC1 on a new computer. This new PC is a P4 2.6G with 1G of ram on an Asus P4800 mobo. I am installing on the first 60 GB of a 120 GB SATA drive. I installed FreeBSD from CD and did not install XFree86 from the CD. I CVSup'd for new port trees and downloaded XFree86 4.4 binaries and installed it. I went through some gyrations to get support in the kernel for my Radeon 9200se. All went well and XFree86 configured fine. I then tried do a make install clean for Gnome2. I am now stuck with an error that states; "cannot find -lpthread" Thanks for any help anyone can provide. Robert p.s.I have attached the outputs of dmesg and pkg_info as dmesg.txt and pkg_inf.txt Copyright (c) 1992-2003 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.2-RC1 #0: Wed Mar 24 13:30:39 HST 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC Preloaded elf kernel "/boot/kernel/kernel" at 0xc0a2c000. Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0a2c21c. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) 4 CPU 2.60GHz (2598.76-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf29 Stepping = 9 Features=0xbfebfbff Hyperthreading: 2 logical CPUs real memory = 1072889856 (1023 MB) avail memory = 1032749056 (984 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0 irqs 0-23 on motherboard Pentium Pro MTRR support enabled npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard pcibios: BIOS version 2.10 Using $PIR table, 14 entries at 0xc00f5230 acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 acpi_cpu0: on acpi0 acpi_cpu1: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: mem 0xf000-0xf7ff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pcib1: could not get PCI interrupt routing table for \\_SB_.PCI0.P0P1 - AE_NOT_FOUND pci1: on pcib1 pci1: at device 0.0 (no driver attached) pci1: at device 0.1 (no driver attached) uhci0: port 0xeec0-0xeedf irq 16 at device 29.0 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xef00-0xef1f irq 19 at device 29.1 on pci0 usb1: on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered ums0: MacALLY Macally USB Scrolling Mouse, rev 1.00/2.00, addr 2, iclass 3/1 ums0: 6 buttons and Z dir. uhci2: port 0xef20-0xef3f irq 18 at device 29.2 on pci0 usb2: on uhci2 usb2: USB revision 1.0 uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered uhci3: port 0xef40-0xef5f irq 16 at device 29.3 on pci0 usb3: on uhci3 usb3: USB revision 1.0 uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered pci0: at device 29.7 (no driver attached) pcib2: at device 30.0 on pci0 pci2: on pcib2 skc0: <3Com 3C940 Gigabit Ethernet> port 0xd800-0xd8ff mem 0xfeafc000-0xfeaf irq 22 at device 5.0 on pci2 skc0: 3Com Gigabit LOM (3C940) sk0: on skc0 sk0: Ethernet address: 00:0c:6e:91:de:a6 miibus0: on sk0 e1000phy0: on miibus0 e1000phy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX-FDX, auto isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0xfc00-0xfc0f,0-0x3,0-0x7,0-0x3,0-0x7 at device 31.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata0: [MPSAFE] ata1: at 0x170 irq 15 on atapci0 ata1: [MPSAFE] atapci1: port 0xef90-0xef9f,0xefa8-0xefab,0xefa0-0xefa7,0xefac-0xefaf,0xefe0-0xefe7 irq 18 at device 31.2 on pci0 atapci1: [MPSAFE] ata2: at 0xefe0 on atapci1 ata2: [MPSAFE] ata3: at 0xefa0 on atapci1 ata3: [MPSAFE] pci0: at device 31.3 (no driver attached) pci0: at device 31.5 (no driver attached) acpi_button0: on acpi0 atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0 port 0x3f8-0x3ff irq 4 on acpi0 sio0: type 16550A sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled sio1 port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A fdc0: port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 ppc0 port 0x778-0x77b,0x378-0x37f irq 7 drq 3 on acpi0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/9 bytes threshold ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0:
tar & ssh: strange gzip error message?
Hi all, If I want to copy a bunch of files over ssh without extra servers, it's easy enough to use the following command: [EMAIL PROTECTED] ssh [EMAIL PROTECTED] "cd /directory/to/copy && tar -cvf - *" | tar -xf - -C . This works without complaint. However, when I change the options passed to tar, adding gzip compression on one end and decompression on the other: [EMAIL PROTECTED] ssh [EMAIL PROTECTED] "cd /directory/to/copy && tar -cvzf - *" | tar -xzf - -C . I get this error message: gzip: stdin: decompression OK, trailing garbage ignored tar: Child died with signal 13 tar: Error exit delayed from previous errors Is my method wrong? It appears that the files transferred just fine, but I'm still curious as to what's going on. Thanks in advance to any replies. Cheers, Zev ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: openssl-0.9.7d vs STABLE
albi wrote: On Tue, 30 Mar 2004 19:16:52 +0100 Stacey Roberts <[EMAIL PROTECTED]> wrote: Is openssl-0.9.7d in STABLE yet? $ uname -v FreeBSD 4.9-STABLE #0: Mon Mar 29 22:52:04 BST 2004 in ports it still seems to be openssl 0.9.7c*, not sure about the base-system My ports tree has 0.9.7d. Freshports says it was upgraded on the 17th http://www.freshports.org/security/openssl/ -- Clint Gilders <[EMAIL PROTECTED]> Director of Technology Services OnlineHobbyist.com, Inc. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: portupgrade problem w/ dependency?
On Tuesday 30 March 2004 06:20 am, Bart Silverstrim wrote: > After doing a make install on openssl and then a portupgrade -f > portupgrade, here's what I ran... > > server# pkgdb -F > ---> Checking the package registry database > server# portsdb -Uu > Updating the ports index ... Generating INDEX.tmp - please wait.. > Done. done > [Updating the portsdb in /usr/ports ... - 10657 > port entries found > .1000.2000.3000.4000.5000 >... ..6000.7000.8000.9000.1.. > . done] > server# pkdgdb -F > pkdgdb: Command not found. > server# pkgdb -F > ---> Checking the package registry database > server# > > This was what was happening after my previous selection of the > portupgrade as a dependency using tab completion (it wouldn't allow > openssl with tab completion); no errors seemed to show up afterwards. > > How can I tell that the link/dependency is properly fixed with > portupgrade now, or does the above show it's okay? I don't know if > now portupgrade has a circular dependency or not... :-( (below was > the exchange that started my problem in the first place and prompted > me to send to the list) > > I'd think that the "command failed" part meant nothing was > changed?...below was what prompted the question, above is the output > after installing openssl and going portupgrade -f portupgrade, sorry > for the out-of-sequence-of-events-posting :-) This shows normal output. If nothing is wrong with the links, pkgdb -F doesn't do anything. I have seen portupgrade do what you had happen. It doesn't always do that but will install the ports that is needs. If you have a version of openssl installed and don't portupgrade -R portupgrade It can also leave you with the broken link that you saw originally. What is broken right now is the dependancy of portupgrade. If you do a run the following cd /usr/ports make search name=portupgrade Openssl will not be listed. If you portupgrade -f porupgrade, you can see it clean for openssl. Something is broken but if you know that the message is really telling you that "openssl" needed to be updated, you won't have a problem. The latest version may have fixed the problem since it cleaned for openssl. I don't know. For right now, I would just remember how you fixed it by updating openssl and know that you should never point a port back to itself. You have to skip and drop out of the pkgdb -F before you can fix the broken link. You are doing a number of things you don't need to. For example, I only run pkgdb -F when the system tells me to. I have a script that cvsup updates only ports-all and immediately after the cvsup, The script runs the equivalent of portsdb -uU. That is the only time portsdb -uU needs to be run. If you use a script, it will always be run when it needs to be run. In a normal situation, I never run pkgdb or portsdb from the command line. I may go for weeks without running pkgdb -F but I have a cron job that updates ports-all at 4am and 4pm. I try to keep my system clean so that I can answer questions like yours. I follow -ports@ and cvs-all@ and in the past would only upgrade my ports when something significant came along. The updates may have been weeks apart. I don't fix things that aren't broken and there are a lot of ports that seem to be updated for no special reason. I keep my systems current because if I have to spend 4 hours updating ruby before I can test your problem, my response is going to be kind of slow. Ruby is an AMD 2400+ XP with a lot of HD space and memory. When I did the portupgrade -rf expat2, it required 13 hours. That would have been a really slow response :). Half of any problem is knowing if it is probably on your end and not a generic problem affecting everyone. If two or more people have the same problem, it is probably something generic on the FreeBSD end and many times you can easily track down who broke ports-all. I keep all of the cvs-all messages for a week. The change that broke things will be in there along with the email address of the person making the change. Kent > > > server# pkgdb -F > ---> Checking the package registry database > Stale dependency: portupgrade-20040325_1 -> openssl-0.9.7d > (security/openssl): > New dependency? (? to help): ? > [Enter] to skip, [Ctrl]+[D] to delete, [.][Enter] to abort, [Tab] > to complete > New dependency? (? to help): portupgrade-20040325_1 > Fixed. (-> portupgrade-20040325_1) > Cyclic dependencies: portupgrade-20040325_1 -> > (portupgrade-20040325_1) Unlink portupgrade-20040325_1 -> > portupgrade-20040325_1 ? [yes] Command failed [exit code 1]: "grep -v > \"^portupgrade-20040325_1\\\$\" < > /var/db/pkg/portupgrade-20040325_1/+REQUIRED_BY > > /tmp/+REQUIRED_BY82988.0" > server# > * > > Thanks, > -Bart -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] m
Re: openssl-0.9.7d vs STABLE
On Tue, 30 Mar 2004 19:16:52 +0100 Stacey Roberts <[EMAIL PROTECTED]> wrote: > Is openssl-0.9.7d in STABLE yet? > $ uname -v > FreeBSD 4.9-STABLE #0: Mon Mar 29 22:52:04 BST 2004 in ports it still seems to be openssl 0.9.7c*, not sure about the base-system ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
System offline when portsdb is running
Hello everyone, My server suddenly offline when the command `portsdb -Uu`is running. I have checked /var/log/messages. But, I couldn't find why. Could anyone what steps I should do to find the error? *I have no phyical access to the server. Thanks Meimi http://www.htmlcss.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD 5.2.1 nstall problem: filesystem error.
> > I was trying to install FreeBSD 5.2.1 on my PC, but I got a strange error > about the filesystem being full. > I just created the filesystems, with / having 256MB. > It was able to copy a few files from the mfsroot disk to /, then when it > tried > to extract the packages, cpio complained about / being full. I've verified > that the disk geometry was correct and the partitions were set up right. > System is > an eMachines T2778. I was atempting FTP installation. Anyone know what > might be wrong? What other filesystems did you create. Certainly if you only made a 256MB / file system and no /usr or /var, etc (so it would put everything there in root), it would not be enough room to do a complete installation. If you want to make one big root (/) for the whole installation, you will need it to be something like 1.5GB or more, depending on how much other stuff like X and ports you install. jerry ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: troubles with jdk-1.4.2p6_4
On Tue, Mar 30, 2004 at 09:35:58AM -0500, Lowell Gilbert wrote: > "Nikita S. Sychevsky" <[EMAIL PROTECTED]> writes: > > > I can't build jdk-1.4.2p6_4 from the ports collection on jdk-1.4.2p6_4 > > system. Can anybody help please? > > Looks like a known problem; it's failing on the test cluster as well. You can't build java in a directory with the sticky bit. Try and set your WRKDIRPREFIX somewhere else. -lewiz. -- I was so much older then, I'm younger than that now. --Bob Dylan, 1964. -| msn:[EMAIL PROTECTED] | jabber:[EMAIL PROTECTED] | url:www.lewiz.org |- pgp0.pgp Description: PGP signature
openssl-0.9.7d vs STABLE
Hello, Is openssl-0.9.7d in STABLE yet? If so, which cvs servers actually have it? My reasons for asking this is simply that I've cvsup'd one of my machines here last night and found that I'm still running the same version of openssl in my base system: $ uname -v FreeBSD 4.9-STABLE #0: Mon Mar 29 22:52:04 BST 2004 @:/usr/obj/usr/src/sys/ $ Regards, Stacey -- Stacey Roberts ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
FreeBSD 5.2.1 nstall problem: filesystem error.
I was trying to install FreeBSD 5.2.1 on my PC, but I got a strange error about the filesystem being full. I just created the filesystems, with / having 256MB. It was able to copy a few files from the mfsroot disk to /, then when it tried to extract the packages, cpio complained about / being full. I've verified that the disk geometry was correct and the partitions were set up right. System is an eMachines T2778. I was atempting FTP installation. Anyone know what might be wrong? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Possibly OpenLDAP problems (was Re: Why all my application giving me core dumped error?)
At 2004-03-30T09:45:11Z, Suhaimi Jamalludin <[EMAIL PROTECTED]> writes: > I got some question regarding FreeBSD. Today I just install FreeBSD > 5.2-RELEASE from CD. Then I cvsup port-all tag=. to the current one and > complete the portupgrade -arR for update. I want to setup > LDAP+SAMBA3. Then I install all the required ports. Then After I install > samba-devel. my system going crazy it give me all these core dumped error. A few people have been reporting problems with programs that link against OpenLDAP after a recent upgrade. I had a cascade of failures until I temporarily removed the "ldap" entries from /etc/nsswitch.conf. If your portupgrade -arR upgraded OpenLDAP, then you may be bitten by the same bug. For an example, see: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/64932 I'm currently gathering information to submit more detailed debugging information. -- Kirk Strauser "94 outdated ports on the box, 94 outdated ports. Portupgrade one, an hour 'til done, 82 outdated ports on the box." ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: tcopy tape to tape WAY too slow
On Tuesday 30 March 2004 10:39, you wrote: > In the last episode (Mar 30), Jesse Guardiani said: > > I'm copying 35G/90G AIT-1 tapes on FreeBSD from tape drive to tape > > drive (nrsa0 and nrsa1) using the tcopy -c command and it's taking > > WAY too long. Over 12 hours including the verification process. (not > > sure exactly how long as it finished when I was sleeping) > > > > Is there something I can do to speed this up? > > I don't think tcopy is double-buffered; if you only have one file on > that tape and know the blocksize, dd if=/dev/nrsa0 bs=##k | dd > of=/dev/nrsa0 bs=##k should be much faster. No, I've got between 70 and 90 files per tape. > If you have multiple files > or unknown blocksizes, the cptp command from the MAG package at > http://www.cs.vu.nl/~dick/mag.html will preserve filemark and blocksize > info through pipes, so you could do a cptp | cptp pipe. That looks promising. Do you have special build instructions for this package under FreeBSD 4.x? I'm getting the following error on 'gmake' or 'make': - gcc -ansi -DUNIX -O -s -c tperr.c tperr.c:18: initializer element is not constant *** Error code 1 Stop in /usr/local/src/mag. Exit 1 - -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Ordering of dummynet and natd.
Hi, Can anybody help me out with ipfw rules to do dummynet shaping before packets hit natd for translation. 192.168.0.4 should be able to upload at just 100KB/s. The default gateway and natd is done on 192.168.0.1 where I have the following rules: pipe 1 ip from 192.168.0.4 to any via xl1 divert 8668 ip from any to any via xl1 allow ip from any to any pipe 1 just limits the bandwidth to 10KB/s. pipe 1 is before divert because if I put it after then natd has already translated the address so I cannot shape the bandwidth as I want. Am I wrong in thinking I can use pipes like this? -lewiz. -- I was so much older then, I'm younger than that now. --Bob Dylan, 1964. -| msn:[EMAIL PROTECTED] | jabber:[EMAIL PROTECTED] | url:www.lewiz.org |- pgp0.pgp Description: PGP signature
re: security related questions
Oops ... please don\'t include \"jim\" in the reply. He won\'t have the foggiest... Testing a webmail interface; my maildir, but apparently it was using *his* username/address information. Time to track a bug... Kevin Kinsey DaleCo, S.P. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: port questions (why do I find myself fudging symlinks to make stuff work?)
On Mar 30, 2004, at 12:23 AM, Matthew Seaman wrote: A more interesting question would be what output do you get from: % pkg_info -g jpeg-\* tiff-\* [/usr/local/lib]# ls -l libjpeg* libtiff* -rw-r--r-- 1 root wheel 159384 Mar 30 08:04 libjpeg.a -r--r--r-- 1 root wheel 354610 Mar 29 21:11 libtiff.a [/usr/local/lib]# pkg_info -g jpeg-\* tiff-\* Information for jpeg-6b_2: Mismatched Checksums: pkg_info: /usr/local/lib/libjpeg.so doesn't exist pkg_info: /usr/local/lib/libjpeg.so.9 doesn't exist Information for tiff-3.6.1_1: Mismatched Checksums: pkg_info: /usr/local/lib/libtiff.so doesn't exist pkg_info: /usr/local/lib/libtiff.so.4 doesn't exist Hmm, portinstall -f on those two ports seems to get caught in some recursive loop. I'm going thru my entire installed base and redoing it all. Perhaps there's a more clueful way to do it, but unless this will do any harm, it seems the most thorough. I need to explore the docs and get a better understanding of the ports tools: I seem to find this happening again and again. Thanks for the quick and detailed reply. -- Paul Beard paulbeard [at] mac.com
Problems building JDK 1.4
I am trying to build java/jdk14 with portupgrade, and I have run into a problem. After downloading all the necessary patches and the j2sdk binaries and src files from Sun, I ran the following: portupgrade --new java/jdk14 Things went along fine for about 2 hours, and then wham I get the following error: Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location /usr/ports/java/jdk14/work/control/build/bsd-i586/gensrc/java/util/CurrencyData.java:1: 'class' or 'interface' expected Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location ^ /usr/ports/java/jdk14/work/control/build/bsd-i586/gensrc/java/util/CurrencyData.java:1: unclosed character literal Java HotSpot(TM) Client VM warning: Can't detect initial thread stack location ^ 2 errors gmake[4]: *** [.compile.classlist] Error 1 gmake[4]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/java/java' gmake[3]: *** [optimized] Error 2 gmake[3]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/java/java' gmake[2]: *** [all] Error 1 gmake[2]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/java' gmake[1]: *** [all] Error 1 gmake[1]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make' gmake: *** [j2se-build] Error 2 *** Error code 2 Stop in /usr/ports/java/jdk14. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade8248.0 make ** Fix the problem and try again. ** The following packages were not installed or upgraded (*:skipped / !:failed) ! java/jdk14(unknown build error) I did some searching and noticed that someone else posted the exact same problem a couple weeks ago, but unfortunately no one replied to his problem. Has anyone solved this, or know what I should do to fix the problem? Here's some more info that may be helpful: port: jdk-1.4.2p6_4 uname -mp: 5.1-RELEASE-p2 i386 Thanks for any help, Chris p.s. sorry for the long lines in the error signature.asc Description: This is a digitally signed message part
Re: good network troubleshooting tool
On Tue, 30 Mar 2004, Roger 'Rocky' Vetterberg wrote: > Im looking for suggestions on a good tool to track down packetlosses. > MTR (/usr/ports/net/mtr) is exactly what I want with one exception: > MTR uses ICMP, I would like something TCP based. > I have tried a lot of the utilities in ports but has so far not > found anything that suits my needs. Does anyone have any suggestions > on utilities or pointers where to look? You can try something like lft (layer four traceroute). This may do what you're looking for. http://www.mainnerve.com/lft/ Hope this helps. jms ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
about Ultra-sparc and alpha: what makes the difference?
Hello. The question sounds really silly, but google with "compare sparc i386 alpha" / "benchmark sparc i386 alpha" doesn't give meaningful result in several pages. Please suggest me a better keyword compilation:) I don't know about anything other than i386, but the sparc servers and alpha servers are much more expensive than i386 servers on the same clock rate. People keep telling me "they are expensive because they are more advanced", but I prefer to read some comperhasive data, benchmarks and such like. Thank you. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Re: Security related questions
> could anyone explain some examples of setting up a restricted group for > limiting users? using chmod and chown.. i\'ve had a little luck, but not > overall. Is this what you\'re asking for? #echo \"jamesgroup:*:5000:james,me\" >> /etc/group #touch /home/me/james-file #chgrp jamesgroup /home/me/james-file #chmod 770 /home/me/james-file Note that \"5000\" was an arbitrary choice. At the very least, it should be a gid that isn\'t already present ;-) If you\'ve never played with /etc/group before, be sure you have a backup copy before you start ... Kevin Kinsey DaleCo, S.P. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to auto-login on boot up
On Tue, Mar 30, 2004 at 09:47:45AM -0600, Pranav A. Desai wrote: >Is there a way to auto login on the console when the system boots up. > So that I can run a script that will provide with a menu to the user > instead of the login prompt. And also if the script is killed or it dies > it should respawn. > Something similar to what /etc/inittab can do in linux. > I would appreciate any suggestions or solutions. See ttys(5), getty(8), gettytab(5). Basically you setup a terminal type via /etc/gettytab -- copy the 'Pc' entry and append the 'al=username' property -- which causes that terminal to autologin as the named user. Then you use /etc/ttys to tell the system to run a getty(8) with that terminal type on a particular tty (the console, or a vty) -- init(8) scans the /etc/ttys file and will detect when the associated getty program exits and respawn it. Set the login shell of the username you select to the program you want to run on the console, and take steps so that you can't get into that account by other means, like ftp(1) or ssh(1). 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
Re: I need help badly with freebsd
On Mon, 29 Mar 2004, Steven Soria wrote: > I really need help getting FreeBSD. I cant seem to figure out how to > get FreeBSD. I really want and need this but I need to know how to get > it. My platform is I386 and please email me witha solution. There are several ways to get it, depending on what hardware you have. If you have a machine equipped with a CD burner, you can download the ISO images for the current FreeBSD i386 distribution, burn them onto CDs (total of 4 for the most recent 5.2 release), and install from that. Make sure your CD writer software recognizes that the files you downloaded are ISO images and not regular data files. If you don't have a CD burner, your best bet may be to either order the CDs from freebsdmall.com, or make an appropriate boot/install set on floppies, then complete the actual installation by downloading the packages you need from the net. Instructions for getting and installing FreeBSD are on the website at www.freebsd.org. jms ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Kernel: Panic problem with TCPDUMP
Hi everyone, I'm using the FreeBSD 5.2(FreeBSD 5.2-RELEASE #0: Sun Jan 11 04:21:45 GMT 2004),default installation, to collect packets with TCPDUMP. The computer has: -> CPU: AMD Athlon(tm) XP 2400+ (2004.56-MHz 686-class CPU) -> real memory = 536805376 (511 MB) -> rl0: port 0xd400-0xd4ff mem 0xdfffbf00-0xdfffbfff irq 18 at device 8.0 on pci0, etc. The problem is when I start the program TCPDUMP to collect the packets from a 32Mb/s link (at the rl0 interface). After some time, the following log error messages appear: "Mar 30 11:29:22 p2p kernel: panic: vm_fault: fault on nofault entry, addr: e0aae000 Mar 30 11:29:22 p2p kernel: cpuid = 0; Mar 30 11:29:22 p2p kernel: Mar 30 11:29:22 p2p kernel: syncing disks, buffers remaining... 3842 3842 3842 3842 3842 3842 3842 3842 3842 3842 3842 3842 3842 3842 3842 38 42 3842 3842 3842 3842 Mar 30 11:29:22 p2p kernel: giving up on 26 buffers Mar 30 11:29:22 p2p kernel: Uptime: 58m52s Mar 30 11:29:22 p2p kernel: kernel trap 12 with interrupts disabled Mar 30 11:29:22 p2p kernel: Mar 30 11:29:22 p2p kernel: Mar 30 11:29:22 p2p kernel: Fatal trap 12: page fault while in kernel mode Mar 30 11:29:22 p2p kernel: cpuid = 0; apic id = 00 Mar 30 11:29:22 p2p kernel: fault virtual address = 0x24 Mar 30 11:29:22 p2p kernel: fault code = supervisor read, page not present Mar 30 11:29:22 p2p kernel: instruction pointer = 0x8:0xc0654dae Mar 30 11:29:22 p2p kernel: stack pointer = 0x10:0xd77e4c0c Mar 30 11:29:22 p2p kernel: frame pointer = 0x10:0xd77e4c30 Mar 30 11:29:22 p2p kernel: code segment= base 0x0, limit 0xf, type 0x1b Mar 30 11:29:22 p2p kernel: = DPL 0, pres 1, def32 1, gran 1 Mar 30 11:29:22 p2p kernel: processor eflags= resume, IOPL = 0 Mar 30 11:29:22 p2p kernel: current process = 36 (swi8: tty:sio clock) Mar 30 11:29:22 p2p kernel: trap number = 12 Mar 30 11:29:22 p2p kernel: panic: page fault Mar 30 11:29:22 p2p kernel: cpuid = 0; Mar 30 11:29:22 p2p kernel: Uptime: 58m52s Mar 30 11:29:22 p2p kernel: Shutting down ACPI Mar 30 11:29:22 p2p kernel: Automatic reboot in 15 seconds - press a key on the console to abort Mar 30 11:29:22 p2p kernel: Rebooting... Mar 30 11:29:22 p2p kernel: Copyright (c) 1992-2004 The FreeBSD Project." What can I do to correct this problem? Thanks in advance. Guthemberg Silvestre _ MSN Messenger: instale grátis e converse com seus amigos. http://messenger.msn.com.br ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: sf.net: host not found
+++ Zhang Weiwu [freebsd] [30-03-04 16:29 +0800]: | | Hello. It has been three days since I cannot access sourceforge.net, using | many different Chinese dns server: | | [EMAIL PROTECTED]:~>host sf.net | Host not found, try again. | [EMAIL PROTECTED]:~>host sourceforge.net | Host not found, try again. | | It behave like the last year's Google being blocked in China. But I don't | know sourceforge has anything to do with political stuff. | | Can anyone tell me sourceforge's ip address? Or better tell me a | world-accessible dns server, that I can help myself with such things. | | If it is truly blocked, then it is no use to have IP address. But I'll have | a try. | | Thank you. As you are using FreeBSD, why not have your own caching name server? Method: 1. set your hostname hostname="test.tld" in your /etc/rc.conf 2. cd /etc/namedb 3. sh make-localhost 4. start named. add following line in /etc/rc.conf named_enable="YES" to test dig -x 127.0.0.1 Shantanoo ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: howto mount logical fat32 partition? (Invalid argument error...)
+++ Tamas ZADORI [freebsd] [30-03-04 00:24 +0200]: | Hi! | | After browsing and googleing a lot I have no other idea how to mount my | logical partition. I'm using RELEASE-5.2.1 with a freshly compiled | kernel (yes, with msdosfs included). | | The output of fdisk is here: | | #fdisk ad0 | *** Working on device /dev/ad0 *** | parameters extracted from in-core disklabel are: | cylinders=116301 heads=16 sectors/track=63 (1008 blks/cyl) | | Figures below won't work with BIOS for partitions not in cyl 1 | parameters to be used for BIOS calculations are: | cylinders=116301 heads=16 sectors/track=63 (1008 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 7 (0x07),(OS/2 HPFS, NTFS, QNX-2 (16 bit) or Advanced UNIX) | start 63, size 16386237 (8001 Meg), flag 80 (active) | beg: cyl 0/ head 1/ sector 1; | end: cyl 1019/ head 254/ sector 63 | The data for partition 2 is: | sysid 15 (0x0f),(Extended DOS (LBA)) | start 16386300, size 100840005 (49238 Meg), flag 0 | beg: cyl 1020/ head 0/ sector 1; | end: cyl 1023/ head 254/ sector 63 | | # file -s /dev/ad0s5 | /dev/ad0s5: x86 boot sector, extended partition table | | After I try to mount it brings up the following error: | | [EMAIL PROTECTED]:~# mount -t msdos /dev/ad0s5 /mnt | msdosfs: /dev/ad0s5: Invalid argument | [EMAIL PROTECTED]:~# mount -t msdosfs /dev/ad0s5 /mnt | msdosfs: /dev/ad0s5: Invalid argument | [EMAIL PROTECTED]:~# mount_msdosfs /dev/ad0s5 /mnt | mount_msdosfs: /dev/ad0s5: Invalid argument | | Is there a workaround for this? As I mentioned I found nothing on the | web that could help me. | | Thanks, | Thomas | | ps: I'm not on the list, please cc it to me as well. try 'scandisk' through windows and then try re-mounting. This type of prob. is faced when you have Win2k and FBSD dual booted. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Sendmail refusing connection
+++ Payne [freebsd] [29-03-04 16:10 -0500]: | Hi, | | I have installed FreeBSD 5.2 and I am trying to get to access mail from | the outside world. But when I do a telnet to port 25 I get this error, | | telnet mail.eatme.com | trying xxx.xxx.xxx.xxx telnet mail.eatme.com 25 | | telnet: connect to address xxx.xxx.xxx.xxx: Connection refused | | where do I need to go to tell my server it ok to access mail. | | Payne | | | Please note that eatme.com and xxx.xxx.xxx.xxx are flake to protect the | real server. | | | -- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: good network troubleshooting tool
On Tue, 2004-03-30 at 06:34, Roger 'Rocky' Vetterberg wrote: > Hi list, > > Im looking for suggestions on a good tool to track down packetlosses. > MTR (/usr/ports/net/mtr) is exactly what I want with one exception: > MTR uses ICMP, I would like something TCP based. > I have tried a lot of the utilities in ports but has so far not > found anything that suits my needs. Does anyone have any suggestions > on utilities or pointers where to look? Take a look at net/pchar. Joe > > TIA > > -- > R > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" -- PGP Key : http://www.marcuscom.com/pgp.asc signature.asc Description: This is a digitally signed message part
Re: portupgrade problem w/ dependency?
* Bart Silverstrim <[EMAIL PROTECTED]> [20040330 17:23]: wrote: > > After doing a make install on openssl and then a portupgrade -f > portupgrade, here's what I ran... > > server# pkgdb -F > ---> Checking the package registry database > server# portsdb -Uu > Updating the ports index ... Generating INDEX.tmp - please wait.. Done. > done > [Updating the portsdb in /usr/ports ... - 10657 > port entries found > .1000.2000.3000.4000.5000... > ..6000.7000.8000.9000.1.. . > done] for file in /var/db/pkg/portupgrade\-*; do pkg_delete -f $file; done reinstall portupgrade by going into /usr/port/blah/blah && make install clean -Wash http://www.netmeister.org/news/learn2quote.html -- +==+ |\ _,,,---,,_ | Odhiambo Washington<[EMAIL PROTECTED]> Zzz /,`.-'`'-. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +==+ What color is a chameleon on a mirror? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Filter web site requests in apache
My Apache server is being flooded with single home page requests that contain spoofed sender names. Does Apache have way to hard code sender names to ignore? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
How to auto-login on boot up
Hi all! Is there a way to auto login on the console when the system boots up. So that I can run a script that will provide with a menu to the user instead of the login prompt. And also if the script is killed or it dies it should respawn. Something similar to what /etc/inittab can do in linux. I would appreciate any suggestions or solutions. Thanks *** Pranav A. Desai ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Custom kernel for PXE / cdrom installation
Related to a problem I had earlier: I am trying to set up a network installation of FreeBSD. I have a couple of other problems with this process but one of the most stubborn is getting a custom kernel to boot. If I take kernel.gz and mfsroot.gz from the boot floppies and put those in the NFS share for the PXE boot then the isntallation proceeds correctly through the normal boot floppy sequence. I want to avoid being prompted for a driver disk and things like that so I want to be able to boot my own kernel. I have taken a kernel from an identical system, copied it to the NFS share, and then copied my modules to the mfsroot image. Even though I do not use the modules I figured I would stick them in the mfsroot just to be sure. When I attempt to boot the new kernel I get errors about being unable to load each module, and the kernel ends up hanging. I have tried using my own kernel with the stock modules directory and I have made sure to compile in everything I can think of in the kernel. Can anyone shed some light on the kernel options required for a PXE boot image or why I am getting module loading errors? Thanks in advance, -Don ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
A night with threads and gdb
A night with threads and gdb or How I began to wonder whether 5.2.1 works or thread support is really broken It all started on Saturday 2004/3/27: the spring sun was shining hot and I was struggling in the effort to get apache working decently on a 5.2.1p3/i386 (more on this later). While portupgrading mod_php4, the system suddenly stopped working properly: no more "make install", no more "install", even "ls -l" would dump core!!! I wondered what could have caused this and thought that any changes to installed ports should not affect the stability of binaries from the base system; I tried moving /usr/local/lib out of the way and "ls -l" would work again. Logic or intuition lead me to blame nss_ldap, so I disabled it and everything would work fine again. To make it clear: with nss_ldap enabled, everything that accessed the user database would crash: so "ls -l", "id" and so on (but not, e.g., "ls" without "-l"). I recompiled ls and libc with -ggdb3 and found out that the problem was in nsdispatch.c, and precisely in the last line of the following function: nss_atexit(void) { (void)_pthread_rwlock_wrlock(&nss_lock); vector_free((void **)&_nsmap, &_nsmapsize, sizeof(*_nsmap), (vector_free_elem)ns_dbt_free); vector_free((void **)&_nsmod, &_nsmodsize, sizeof(*_nsmod), (vector_free_elem)ns_mod_free); (void)_pthread_rwlock_unlock(&nss_lock); } Once again Google turned out to be man's best friend, by providing me the following link: http://groups.google.it/groups?q=vector_free+nss_atexit&hl=it&lr=&ie=UTF-8&oe=UTF-8&selm=1080344625.82158.35.camel_server.mcneil.com%40ns.sol.net&rnum=1 Apart from the psychological help derived from knowing I'm not alone, this suggested to patch that file to look like: nss_atexit(void) { if (__isthreaded) (void)_pthread_rwlock_wrlock(&nss_lock); vector_free((void **)&_nsmap, &_nsmapsize, sizeof(*_nsmap), (vector_free_elem)ns_dbt_free); vector_free((void **)&_nsmod, &_nsmodsize, sizeof(*_nsmod), (vector_free_elem)ns_mod_free); if (__isthreaded) (void)_pthread_rwlock_unlock(&nss_lock); } I did, and did similarly for other pthread calls in that file, declaring __isthreaded as: extern int __isthreaded; That was one step ahead: now "ls -l /bin" would crash no more, but "ls -l /home" would still be problematic. Obviously the difference between the two is that in /bin everything is owned by system accounts, while listing /home would imply searching for users in the ldap database. I guessed the problem was that upgrading php had upgraded openldap too, so I looked at freshport and found out that the main difference was in the makefile, where "-with-threads" had been replaced with "-with-threads=posix". I decided to try the three alternatives: a) -without-threads would not do, as it would cause slapd to crash when ldapsearching with a filter (i.e. "ldapsearch -b 'dc=mydomain'" works fine, but "ldapsearch -b 'dc=mydomain' (objectClass=posixAccount)" not); b) -with-threads=posix would exhibit the above mentioned problem with ls; c) -with-threads would work best. Now I could even "ls -l /home" and see the correct usernames. However, I could not login or su anymore. (This forced me to go and ask for the keys to the server room and wait until Sunday). I ended up finding out (again by 'gdb su') that now using nss_ldap hampers the ability of a process to read from stdin. I can even provide this demonstrative program: #include int main(int argc,char**argv) { char ch; getpwent(); while (1) { ch=getchar(); putchar(ch); } } If I want it to work, I'll either need to comment the call to getpwent() or "ldap" in /etc/nsswitch.conf. ktracing su showed "resource temporarily unavailable" when it tried to read from descriptor 0. Also, telnetting to localhost:pop3 had qpopper say "I/O error". Afternoon was over, darkness was coming and the machine had to be up again before morning, so I decided to leave nss_ldap and migrate the user accounts to the system password files. This will not do in the long run, since it prevents web management, but has allow several mail domains to be up again before any message was lost! However, I was forced to increase the username length limit (MAXLOGNAME to 65 in /usr/src/sys/sys/param and UT_NAMESIZE=64 in utmp.h). This is a deviation from a standard system which I'd like to avoid, but it is needed until the day I can get nss_ldap back up. (Long base system recompile). Now I had pop3 back up, time to think about smtp. I tried recompiling /usr/ports/mail/sendmail-ldap but it hangs on t-event test, after the message: ./t-event This test may hang. If there is no output within twelve seconds, abort it and recompile with -DSM_CONF_SETITIMER=0 I tried make -DSM_CONF_SETITIMER=0, but it makes no difference. This test calls sleep(1) and program flow never gets out of it; if I use gdb and in
Re: tcopy tape to tape WAY too slow
In the last episode (Mar 30), Jesse Guardiani said: > I'm copying 35G/90G AIT-1 tapes on FreeBSD from tape drive to tape > drive (nrsa0 and nrsa1) using the tcopy -c command and it's taking > WAY too long. Over 12 hours including the verification process. (not > sure exactly how long as it finished when I was sleeping) > > Is there something I can do to speed this up? I don't think tcopy is double-buffered; if you only have one file on that tape and know the blocksize, dd if=/dev/nrsa0 bs=##k | dd of=/dev/nrsa0 bs=##k should be much faster. If you have multiple files or unknown blocksizes, the cptp command from the MAG package at http://www.cs.vu.nl/~dick/mag.html will preserve filemark and blocksize info through pipes, so you could do a cptp | cptp pipe. -- 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: i865GBFLK - ???
Alex Zivenko wrote: Hi all! What do you think about this chipset, and motherboards on it??? I have got it some day ago. And I want to setup it on me FreeBSD server. Does anybody know something about it? A very late reply, but... you'll need to use FreeBSD 5.2.1 for the most complete device support. If you want to use 4.9, add a supported network card. PWR. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: list patches
On Tue, Mar 30, 2004 at 04:20:57PM +0200, Yaraghchi, Stephan wrote: > I'm wondering if there's an easy way to list all > the patches already applied to a FreeBSD box. Err -- no. FreeBSD doesn't really work that way. You sound as if you're used to, say, Solaris where there is a system of vendor-produced binary patches and the scripting interface to manage them. While there is http://www.daemonology.net/ there is no official FreeBSD project binary patch system at the moment. FreeBSD does things differently. The primary means of getting updates to the system is to pull down updates to the source code and recompile. There are several ways of doing that, all described in the Handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mirrors.html (especially the section on CVSup which is what most people would use.) In general then the way you'ld characterise the state of the system is to note the time at which you last synchronised your sources against the FreeBSD CVS repository, and which CVS tag you used. There are certain cases which can be described in a more-or-less shortcut manner: those are (a) using one of the releases installed straight from CD, which is refered to as eg. 5.2.1-RELEASE or (b) tracking one of the -RELEASE CVS branches, eg. RELENG_5_2 -- in this case every time a patch is applied the system version as returned by 'uname -r' will indicate a "patch level" eg. 5.2.1-RELEASE-p4. However, you can manually apply the same patches (as directed in the accompanying security advisory) and recompile just the affected part of the system. This gets your system to exactly the same state as tracking the release branch, except that the various version numbers don't get updated. That doesn't count any other sort of ad-hoc patches or local customizations which may have been applied. Neither does it deal with 3rd party software (but see pkg_info(1) for how to deal with that). In short, the most effective way to learn everything you need to know about the state of a FreeBSD box is to ask the person doing the system administration. 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
Re: SpamAssassin
On Mon, Mar 29, 2004 at 12:31:25PM -0500, Bart Silverstrim wrote: > Question...Is anyone else running amavisd-new with spamassassin from > ports? > Just started about a week ago, with dual-Sendmail setup + SA and ClamAV. > If so, where/how should I be updating or altering the spamassassin > rules? > > I'd like to try updating some of the rules from the spamassassin site, > but didn't know where the ports version was putting the rulesets... > a) what directory should I put them into? > b) is there a config file I'd have to alter to get spamassassin to use > them? > c) can I just plonk new SA files into that directory and they would be > used automatically? > d) should I just wait until the ports version of SA is updated to get > new rules, or does ports have the newer rules integrated into it? > e) do I need to alter anything in amavisd-new to get the new rules to > work? > > Thanks! > -Bart > Most everything of the rules/config nature is plonked into /usr/local/etc/spamassassin/. I'm not so sure about adding to those files, but if you're brave, you might go ahead. The comments in the files might be helpful. And, there's this, from /usr/local/share/spamassassin/user_prefs.template: # SpamAssassin user preferences file. See 'perldoc Mail::SpamAssassin::Conf' # for details of what can be tweaked. HTH, Kevin Kinsey ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: troubles with jdk-1.4.2p6_4
"Nikita S. Sychevsky" <[EMAIL PROTECTED]> writes: > I can't build jdk-1.4.2p6_4 from the ports collection on jdk-1.4.2p6_4 > system. Can anybody help please? Looks like a known problem; it's failing on the test cluster as well. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
tcopy tape to tape WAY too slow
Howdy list, I'm copying 35G/90G AIT-1 tapes on FreeBSD from tape drive to tape drive (nrsa0 and nrsa1) using the tcopy -c command and it's taking WAY too long. Over 12 hours including the verification process. (not sure exactly how long as it finished when I was sleeping) Is there something I can do to speed this up? -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: I need help badly with freebsd
> > Hi , > I really need help getting FreeBSD. I cant seem to figure out how to > get FreeBSD. I really want and need this but I need to know how to get > it. My platform is I386 and please email me witha solution. Go to the FreeBSD web site. http://www.freebsd.org/ Click on the Installation Guide item in the list on the right. You will find lots of information on obtaining and installing FreeBSD. Whether you choose to buy a CD set from one of the sites that burn them and package them with a handbook or download the ISO and burn it yourself and install via FTP primarily depends on two things. 1- the quality/speed of your internet connection. If you have a slow connection or if it is unreliable, it can be a long tedius task to do it all by download. But with a good connection, it is easy and quick. 2- If you are able to financially support the FreeBSD project. Most of the companies that package installation CD sets contribute some of the money to the FreeBSD project. jerry > > Thanks > ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
portupgrade problem w/ dependency?
After doing a make install on openssl and then a portupgrade -f portupgrade, here's what I ran... server# pkgdb -F ---> Checking the package registry database server# portsdb -Uu Updating the ports index ... Generating INDEX.tmp - please wait.. Done. done [Updating the portsdb in /usr/ports ... - 10657 port entries found .1000.2000.3000.4000.5000... ..6000.7000.8000.9000.1.. . done] server# pkdgdb -F pkdgdb: Command not found. server# pkgdb -F ---> Checking the package registry database server# This was what was happening after my previous selection of the portupgrade as a dependency using tab completion (it wouldn't allow openssl with tab completion); no errors seemed to show up afterwards. How can I tell that the link/dependency is properly fixed with portupgrade now, or does the above show it's okay? I don't know if now portupgrade has a circular dependency or not... :-( (below was the exchange that started my problem in the first place and prompted me to send to the list) I'd think that the "command failed" part meant nothing was changed?...below was what prompted the question, above is the output after installing openssl and going portupgrade -f portupgrade, sorry for the out-of-sequence-of-events-posting :-) server# pkgdb -F ---> Checking the package registry database Stale dependency: portupgrade-20040325_1 -> openssl-0.9.7d (security/openssl): New dependency? (? to help): ? [Enter] to skip, [Ctrl]+[D] to delete, [.][Enter] to abort, [Tab] to complete New dependency? (? to help): portupgrade-20040325_1 Fixed. (-> portupgrade-20040325_1) Cyclic dependencies: portupgrade-20040325_1 -> (portupgrade-20040325_1) Unlink portupgrade-20040325_1 -> portupgrade-20040325_1 ? [yes] Command failed [exit code 1]: "grep -v \"^portupgrade-20040325_1\\\$\" < /var/db/pkg/portupgrade-20040325_1/+REQUIRED_BY > /tmp/+REQUIRED_BY82988.0" server# * Thanks, -Bart ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
list patches
Hi fellows! I'm wondering if there's an easy way to list all the patches already applied to a FreeBSD box. Any suggestions? Mit freundlichen Gruessen / with kind regards +++ S t e p h a n F. Y a r a g h c h i +++ +++ Information Technology +++ +++ Boerse Berlin-Bremen +++ Fasanenstr. 85 +++ 10623 Berlin +++ +++ mail [EMAIL PROTECTED] +++ web http://www.boerse-berlin-bremen.de +++ +++ phone +49 (0) 30 3110910 +++ fax +49 (0) 30 31109178 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: download
On Mon, Mar 29, 2004 at 11:44:20PM -0300, Nora Angélica Saravia Bianchini wrote: > Hi, I'd like to know where from can I download BSD to try it. Thanks a lot. This sort of question is better suited to the freebsd-questions@ mailing list: follow-ups redirected appropriately. For everything you ever wanted or needed to know about getting hold of FreeBSD, consult the Handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mirrors.html In particular, you'll be interested in the FreeBSD mirror sites database: http://mirrorlist.freebsd.org/FBSDsites.php 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