Re: How to find HorizSync / VertRefresh rates?
On 5/4/07, Ted Mittelstaedt [EMAIL PROTECTED] wrote: [mailto:[EMAIL PROTECTED] Behalf Of Victor Engmark It works in the sense that I get the correct dimensions, Then it is working. Your done, quit diddling with it. but I'm unsure as to whether I risk frying the card or screen You cannot fry either. An LCD panel has a computer that will take a specified range of vert and horz sync frequencies. As I already mentioned these sync frequencies are meaningless with an LCD, since the display chip merely converts them to what the LCDs in the panel actually need. It is more expensive to make a display chip that takes extremely high frequencies and since they aren't needed for LCD that is why the display chips in the panels do not accept as high frequencies as a really high quality crt will. Alright, I'll take your word for it. Thanks to everybody who contributed! -- Victor Engmark Quidquid latine dictum sit, altum videtur - What is said in Latin, sounds profound ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Belkin N1 pccard driver/setup on 6.2.stable
Greets, I've recently installed 6.2 Stable on a Compaq Evo N610c, and am running into some brick walls. Was wondering if anyone is sucessfully using a Belkin N1 wireless card (native BSD driver or ndis, doesn't matter to me so long as it works). Here is the relevant dmesg as pertains to card: snip cardbus0: Expecting link target, got 0xe0 cardbus0: Resource not specified in CIS: id=10, size=1 cardbus0: Resource not specified in CIS: id=14, size=1 cardbus0: network, ethernet at device 0.0 (no driver attached) snip With the ndis-generated driver loaded, I get the following: snip ndis0: Belkin N1 Wireless Notebook Card mem 0x8800-0x8800,0x8801-0x8801 irq 11 at device 0.0 on cardbus0 ndis0: NDIS API version: 5.0 NDIS: open file /compat/ndis/cb8350.bin failed: 2 ndis0: Ethernet address: my MAC addy snip So the error is there, but ifconfig shows the card: # ifconfig ndis0 ndis0: flags=8802BROADCAST,SIMPLEX,MULTICAST mtu 1500 ether my MAC addy media: IEEE 802.11 Wireless Ethernet autoselect status: no carrier ssid channel 1 authmode OPEN privacy OFF txpowmax 100 bmiss 7 protmode CTS But when I, # ifconfig ndis0 up scan ifconfig: unable to get scan results even though the lights on the card light up. If anyone has resolved this (or knows what I'm doing wrong), please confer. WizLayer ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
missing /usr/local in startup.sh files
All of a sudden I notice that whenever I install a package from the ports, the startup file in /usr/local/etc/rc.d requires that I put /usr/local in - for instance, the most recent install of clamav I had to change . /etc/rc.subr to . /usr/local/etc/rc.subr there must be a variable or setting for this that went missing for me. Could someone be kind enough to direct me here? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: missing /usr/local in startup.sh files
David Banning wrote: All of a sudden I notice that whenever I install a package from the ports, the startup file in /usr/local/etc/rc.d requires that I put /usr/local in - for instance, the most recent install of clamav I had to change . /etc/rc.subr to . /usr/local/etc/rc.subr there must be a variable or setting for this that went missing for me. Could someone be kind enough to direct me here? There shouldn't be a file /usr/local/etc/rc.subr. Did you by any chance move /etc/rc.subr to /usr/local/etc/? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to make Apache (2.2.4) less greedy, or Sendmail less polite?
Olaf Greve wrote: PID USERNAMEPRI NICE SIZERES STATETIME WCPUCPU COMMAND 91459 www 1240 141M 15136K RUN 0:02 5.52% 5.52% httpd 91352 www 1190 139M 12596K select 0:14 3.61% 3.61% httpd The size of apache processes is telling me you're using PHP or some other heavy apache module. If so, you can switch to using PHP as FastCGI responder via mod_fcgid. The benefits are that you'll get only a few number of large php-cgi processes (configurable, usually around 10), and the rest will be lighter httpd processes for serving static content. BUT, if something else changed when you switched to the new apache (e.g. PHP version, your web applications), it may not be apache's fault. signature.asc Description: OpenPGP digital signature
RE: FreeBSD 6.2 And ASUS P5B Deluxe
Hi, Thank for your help. It is possible to upgrade to version 7 without reinstalling? If yes, how can I do this? Best regards, -- David, -Message d'origine- De : Erik Trulsson [mailto:[EMAIL PROTECTED] Envoyé : jeudi 3 mai 2007 15:09 À : ALEXANDRE David (Ext) Cc : freebsd-questions@FreeBSD.org Objet : Re: FreeBSD 6.2 And ASUS P5B Deluxe On Thu, May 03, 2007 at 02:44:51PM +0200, ALEXANDRE David (Ext) wrote: Hi, I have a Motherboard ASUS P5B Deluxe With two Network LAN Marvell Onboard. My problem is: Only one appear on FreeBSD 6.2 ifconfig. I check the bios and it enable. Someone can help me to fix this problem or tell me what can i do ? My first guess would be that there are two *different* LAN controllers - one connected to the PCI bus and the other via PCI-E most likely. The one that appears in ifconfig is probably the PCI one, while the PCI-E connected one is likely a newer chip which is not supported by 6.2. Checking the documentation for the motherboard verifies this guess. Your MB has a Marvell 88E001 (connected via PCI) which is supported by FreeBSD 6.2 using the sk(4) driver. It also has a Marvell 88E056 PCI-E chip which is not supported by 6.2. The good news is that 7-CURRENT and 6-stable should both support the 88E056 NIC using the msk(4) driver. -- Insert your favourite quote here. Erik Trulsson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to make Apache (2.2.4) less greedy, or Sendmail less polite?
Hi Ivan and Dan (and the lists), The size of apache processes is telling me you're using PHP or some other heavy apache module. Indeed I am (I forgot to mention this). It is PHP 4.4.6, and it is set up as an Apache module. If so, you can switch to using PHP as FastCGI responder via mod_fcgid. The benefits are that you'll get only a few number of large php-cgi processes (configurable, usually around 10), and the rest will be lighter httpd processes for serving static content. Will that not have some other downsides? I remember that previously when running PHP on the CGI, that e.g. a lot of debugging power got lost, as each and every error would simply either return a blank page, or simply an internal servor error 500 or so Is that also the case with FastCGI? BUT, if something else changed when you switched to the new apache (e.g. PHP version, your web applications), it may not be apache's fault. The PHP version got upgraded from 4.4.0 to 4.4.6 too, but none of the actual application scripts changed. BTW: At times what one sees happening is that 2 of the httpd daemons quickly go up to (each, or in turn) about 50% (or 70% if it can grab that much), then stays quite a while at that, and then goes back to a more reasonable amount. At other times, there are around 10+ httpd processes that each consume around 5% of the CPU, with a lot more of them using around 0-1% of the CPU (perhaps defunct already?). Dunno. Apache + PHP is lightning fast, but... at the expense of the CPU being pulled close to 100% all to easily... Then, regarding Dan's sendmail configuration suggestion: tnx! I just put that in place and will monitor sendmail's behaviour today, to see how it performs during heavy server load. I'll let you guys know how I get on with this... Meanwhile: I'm still open for suggestions as to how to best make Apache behave less selfishly. Cheers! Olafo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to make Apache (2.2.4) less greedy, or Sendmail less polite?
Olaf Greve wrote: Will that not have some other downsides? I remember that previously when running PHP on the CGI, that e.g. a lot of debugging power got lost, as each and every error would simply either return a blank page, or simply an internal servor error 500 or so Is that also the case with FastCGI? Yes, in case of critical / setup errors (i.e. ones that happen between apache and php) you'll get that kind of message. Normal PHP and Apache error messages and warnings are not affected. BUT, if something else changed when you switched to the new apache (e.g. PHP version, your web applications), it may not be apache's fault. The PHP version got upgraded from 4.4.0 to 4.4.6 too, but none of the actual application scripts changed. BTW: At times what one sees happening is that 2 of the httpd daemons quickly go up to (each, or in turn) about 50% (or 70% if it can grab that much), then stays quite a while at that, and then goes back to a more reasonable amount. You'll have to correlate this with HTTP requests apache receives - maybe there's a PHP script that's unusually CPU intensive. Meanwhile: I'm still open for suggestions as to how to best make Apache behave less selfishly. You may try playing with login.conf(5) (see resource limits), but do it on a spare machine first :) Also, you may try scaling down the number of processes Apache is allowed to create (at the possible expense that some clients get an error message instead of a page). Still, if the performance was OK before you switched to Apache2, my bet would be that something changed in PHP or your scripts, not in Apache. signature.asc Description: OpenPGP digital signature
Re: How to make Apache (2.2.4) less greedy, or Sendmail less polite?
Hi again, Hmmm, the load is very high right now, and again mail is not comming through. This time, it seems the queue runner is blocking matters. When checking /var/log/maillog, there are entries for the RX daemon having received messages, but also there is this entry: May 4 12:29:38 servername sm-msp-queue[96724]: runqueue: Skipping queue run -- load average too high Can anyone tell me in which sendmail configuration file or option this should be changed (if possible)? Note: perhaps this can be achieved by the sm-queue daemon options. In rc.conf, I have the following settings for sendmail: mta_start_script=/etc/rc.sendmail # Script to start your chosen MTA, called by /etc/rc. # Settings for /etc/rc.sendmail: #sendmail_enable=NO # Run the sendmail inbound daemon (YES/NO). sendmail_enable=YES # Run the sendmail inbound daemon (YES/NO). - (OJG: CHANGED 18-12-2004) sendmail_flags=-L sm-mta -bd -q30m# Flags to sendmail (as a server) sendmail_rx_enable=YES# Start the RX daemon sendmail_rx_flags=-C/etc/mail/sendmail-rx.cf -L sm-mta-rx -bd -qp # Flags to sendmail (RX part - OJG) sendmail_tx_enable=YES# Start the TX daemon sendmail_tx_flags=-L sm-mta-tx -bd -q15m # Flags to sendmail (TX part - OJG) #sendmail_submit_enable=YES # Start a localhost-only MTA for mail submission sendmail_submit_enable=NO # Start a localhost-only MTA for mail submission - (OJG: CHANGED 18-12-2004) sendmail_submit_flags=-L sm-mta -bd -q30m - ODaemonPortOptions=Addr=localhost # Flags for localhost-only MTA sendmail_outbound_enable=YES # Dequeue stuck mail (YES/NO). #sendmail_outbound_enable=NO # Dequeue stuck mail (YES/NO). - (OJG: CHANGED 18-12-2004) sendmail_outbound_flags=-L sm-queue -q30m # Flags to sendmail (outbound only) sendmail_msp_queue_enable=YES # Dequeue stuck clientmqueue mail (YES/NO). #sendmail_msp_queue_flags=-L sm-msp-queue -Ac -q30m sendmail_msp_queue_flags=-Ac -L sm-msp-queue -q10m # Flags for sendmail_msp_queue daemon. Any ideas, anyone? Cheers! Olafo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to make Apache (2.2.4) less greedy, or Sendmail less polite?
Hi again, This time a question from the Apache side of this issue: You'll have to correlate this with HTTP requests apache receives - maybe there's a PHP script that's unusually CPU intensive. Is there any (easy) way to do this in conjunction with specific PIDs of stressed httpd instances? Of course I can take a look at the httpd-access log file, but at present it doesn't log the PIDs (which can perhaps be changed by changing the log format), but is there an easier way to inspect (from the prompt) what a specific httpd instance is doing/ serving? Cheers! Olafo PS: This morning (and some of the other past few days as well) I took a closer look to the server loads, and it looks like during the better part of the morning the load is virtually 0%, and around midday (or slighlty before?), all of a sudden Apache starts going crazy and receives very heavy load. I wonder if this can perhaps be some DOS attack, and hence I'd like to see what each of the stressed daemon instances is doing exactly... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to make Apache (2.2.4) less greedy, or Sendmail less polite?
Olaf Greve wrote: PS: This morning (and some of the other past few days as well) I took a closer look to the server loads, and it looks like during the better part of the morning the load is virtually 0%, and around midday (or slighlty before?), all of a sudden Apache starts going crazy and receives very heavy load. I wonder if this can perhaps be some DOS attack, and hence I'd like to see what each of the stressed daemon instances is doing exactly... It might as well be a search engine spider. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to make Apache (2.2.4) less greedy, or Sendmail less polite?
Hi, It might as well be a search engine spider. Perhaps it is... By just tailing the httpd-access.log file a few times over the past 10 minutes or so, at least I already just came across: 74.6.70.45 - - [04/May/2007:13:12:34 +0200] GET /olympus/tope/ tope_show_entry.php?event=13pic=1 HTTP/1.0 200 3209 - Mozilla/ 5.0 (compatible; Yahoo! Slurp; http://help.yahoo.com/help/us/ysearch/ slurp) [...] 66.249.66.176 - - [04/May/2007:13:15:46 +0200] GET /olympus/tope/ tope_show_entry.php?pic=22event=7 HTTP/1.1 200 3792 - Mozilla/ 5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html) 65.55.210.7 - - [04/May/2007:13:15:52 +0200] GET /clomid HTTP/1.0 404 345 - msnbot/1.0 (+http://search.msn.com/msnbot.htm) So, there ya go: it looks like Yahoo!, Google AND MSNsearch are battering my server pretty much all at once (though I don't see too many traces of either of them, so perhaps they're not all too hard on the machine)... Hmmm, perhaps time for a robots.txt file. Then, doing just some more tailing on the access log shows that the actual load is spread over several sites, with about 4 of the top sites being called from a variety of browsers from all sorts of IP addresses. Another assumption then becomes that perhaps as soon as the USA wakes up, the sites simply get a lot of real visitors too, hence causing a (legit) high load... Still, this is precisely why I'd like to see which scripts are causing heavy load, such that I can perhaps better tune them. Cheers, Olafo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
SCSI + camcontrol
Hello all, A few weeks back, I turned on mod_gzip in apache and as a result, the /tmp directory filled up with .wrk files causing the root filesystem to fill to capacity. When we noticed what was happening, on May 1 we had no choice but to cold boot the machine as it was, for all purposes locked up. In the security run, for May 1 and May 3 I am seeing the SCSI errors below. FreeBSD 4.7 (yes we are going to upgrade soon (migrating to a newly setup machine)), Apache 1.3.26 We do have complete dumps (From may1), The machine is a vintage 2003 Dell SC1400 HD = 1 Fujitsu SCSI that has never had problems before. Questions: Do the errors below TRUELY indicate pending doom? Can camcontrol be used to squash the errors? Should FSCK be used to fix? Are these errors (the text below), formatted from the FreeBSD kernel or are they shown as reported by the HD subsystem? i.e. where can I go to read what the errors actually mean? THanks all, -Grant May 3: May 3 03:59:13 excelsior /kernel: (da0:ahc0:0:1:0): READ(10). CDB: 28 0 4 21 7a df 0 0 80 0 May 3 03:59:13 excelsior /kernel: (da0:ahc0:0:1:0): MEDIUM ERROR info:4217b55 asc:11,1 May 3 03:59:14 excelsior /kernel: (da0:ahc0:0:1:0): Read retries exhausted sks:80,3f May 3 03:59:16 excelsior /kernel: (da0:ahc0:0:1:0): READ(10). CDB: 28 0 4 21 7a ef 0 0 70 0 May 3 03:59:18 excelsior /kernel: (da0:ahc0:0:1:0): MEDIUM ERROR info:4217b55 asc:11,1 May 3 03:59:18 excelsior /kernel: (da0:ahc0:0:1:0): Read retries exhausted sks:80,3f May 3 03:59:20 excelsior /kernel: (da0:ahc0:0:1:0): READ(10). CDB: 28 0 4 21 7a ff 0 0 60 0 May 3 03:59:21 excelsior /kernel: (da0:ahc0:0:1:0): MEDIUM ERROR info:4217b55 asc:11,1 May 3 03:59:22 excelsior /kernel: (da0:ahc0:0:1:0): Read retries exhausted sks:80,3f May 3 03:59:24 excelsior /kernel: (da0:ahc0:0:1:0): READ(10). CDB: 28 0 4 21 7b f 0 0 50 0 May 3 03:59:27 excelsior /kernel: (da0:ahc0:0:1:0): MEDIUM ERROR info:4217b55 asc:11,1 May 3 03:59:28 excelsior /kernel: (da0:ahc0:0:1:0): Read retries exhausted sks:80,3f May 3 03:59:29 excelsior /kernel: (da0:ahc0:0:1:0): READ(10). CDB: 28 0 4 21 7b 1f 0 0 40 0 May 3 03:59:29 excelsior /kernel: (da0:ahc0:0:1:0): MEDIUM ERROR info:4217b55 asc:11,1 May 3 03:59:29 excelsior /kernel: (da0:ahc0:0:1:0): Read retries exhausted sks:80,3f May 3 03:59:32 excelsior /kernel: (da0:ahc0:0:1:0): READ(10). CDB: 28 0 4 21 7b 2f 0 0 30 0 May 3 03:59:33 excelsior /kernel: (da0:ahc0:0:1:0): MEDIUM ERROR info:4217b55 asc:11,1 May 3 03:59:35 excelsior /kernel: (da0:ahc0:0:1:0): Read retries exhausted sks:80,3f May 3 03:59:36 excelsior /kernel: (da0:ahc0:0:1:0): READ(10). CDB: 28 0 4 21 7b 3f 0 0 20 0 May 3 03:59:36 excelsior /kernel: (da0:ahc0:0:1:0): MEDIUM ERROR info:4217b55 asc:11,1 May 3 03:59:36 excelsior /kernel: (da0:ahc0:0:1:0): Read retries exhausted sks:80,3f May 3 03:59:42 excelsior /kernel: (da0:ahc0:0:1:0): READ(10). CDB: 28 0 4 21 7b 4f 0 0 10 0 May 3 03:59:42 excelsior /kernel: (da0:ahc0:0:1:0): MEDIUM ERROR info:4217b55 asc:11,1 May 3 03:59:43 excelsior /kernel: (da0:ahc0:0:1:0): Read retries exhausted sks:80,3f May 3 03:59:45 excelsior /kernel: (da0:ahc0:0:1:0): READ(10). CDB: 28 0 4 21 7b 4f 0 0 10 0 May 3 03:59:47 excelsior /kernel: (da0:ahc0:0:1:0): MEDIUM ERROR info:4217b55 asc:11,1 May 3 03:59:48 excelsior /kernel: (da0:ahc0:0:1:0): Read retries exhausted sks:80,3f May 3 03:59:49 excelsior /kernel: (da0:ahc0:0:1:0): READ(10). CDB: 28 0 4 21 7b 4f 0 0 10 0 May 3 03:59:49 excelsior /kernel: (da0:ahc0:0:1:0): MEDIUM ERROR info:4217b55 asc:11,1 May 3 03:59:49 excelsior /kernel: (da0:ahc0:0:1:0): Read retries exhausted sks:80,3f May 1: May 1 03:29:28 excelsior /kernel: (da0:ahc0:0:1:0): READ(10). CDB: 28 0 3 ab d5 c1 0 0 e 0 May 1 03:29:31 excelsior /kernel: (da0:ahc0:0:1:0): MEDIUM ERROR info:3abd5c1 asc:11,1 May 1 03:29:31 excelsior /kernel: (da0:ahc0:0:1:0): Read retries exhausted sks:80,3f May 1 03:29:32 excelsior /kernel: (da0:ahc0:0:1:0): READ(10). CDB: 28 0 3 ab d5 c1 0 0 1 0 May 1 03:29:32 excelsior /kernel: (da0:ahc0:0:1:0): MEDIUM ERROR info:3abd5c1 asc:11,1 May 1 03:29:32 excelsior /kernel: (da0:ahc0:0:1:0): Read retries exhausted sks:80,3f ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to make Apache (2.2.4) less greedy, or Sendmail less polite?
Quoting Olaf Greve who wrote on Fri 2007-05-04 at 00:15: 2-How can I inspect exactly what each httpd instance is doing (i.e. which request it is serving)? Enable mod_status or compile it in and enable server-status in the config (usually commented-out in the httpd.conf file) and view the resulting status url. It will show you something quite like: Srv PID Acc M CPU SS Req Conn Child Slot Host VHost Request 0-17 18003 0/542/16066 _ 18.38 5 0 0.0 5.44 174.47 87.249.97.178 idefix.net GET /server-status HTTP/1.0 1-17 19911 0/492/16087 _ 18.95 193 0 0.0 4.38 182.34 137.242.1.50 www.camp-wireless.org GET /images/tile.jpg HTTP/1.1 which will help you correlate PID with vhost and url being visited. Koos -- Koos van den Hout Homepage: http://idefix.net/~koos/ Fax: +31-30-2817051 PGP keyid DSS/1024 0xF0D7C263 or RSA/1024 0xCA845CB5 Webprojects: Camp Wirelesshttp://www.camp-wireless.org/ The Virtual Bookcase http://www.virtualbookcase.com/ signature.asc Description: Digital signature
multiuser VPN
Dear Sirs, I am using VPN to connect to the university network (another country) from Home (WindowsXP :( ) and to use their resources. How can I install this VPN on FreeBSD machine in my Office, and is it possible to configure it for multiple sessions. (another colleagues to be able to use it at the same time) Regards, Georgi Tyuliev (FreeBSD user) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Creating an rc.d script for Jboss Web
I am trying to run Jboss Web on FreeBSD, which is basically a Tomcat derived web server which use APR to replace the Java based static file serving in Tomcat. This makes it much faster but requires the native modules to be complied for each platform. I have successfully managed to compile these and it appears to all work very well. My problem is creating an rc.d script to start and run it as a daemon. To start Jboss Web there is an sh script called run.sh which after a bit of config runs the JVM and the relevant JARS. I created a simple rc.d script to run this. My problem is running the script does not run Jboss Web as a daemon instead it runs it as if running ./run.sh from the terminal and halts the rc.d process. The Jboss Web server is actually working, its just not ideal. I have included the current script below. #!/bin/sh . /etc/rc.subr name=JbossWeb rcvar=`set_rcvar` command=/etc/JbossWeb/bin/run.sh command_interpreter=/bin/sh load_rc_config $name run_rc_command $1 How can I change the script to run run.sh in the background and continue the rc.d system. Charlie ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Can't fetch several ports (return error code 127) and seems nothing to do with these ports themselves
Hi, all. I really stuck with this problem and absolutely have no idea what to do next. Before I present my problem, let me guarantee that I keeped the ports tree up-to-date, even tried deleting the /usr/ports directory and re-fetching it via csup. Still no love. :-( Say, the port print/gsfonts. When I did make fetch in it's directory, it throwed out an error immediately (even not tried connecting to those servers), as following: === Vulnerability check disabled, database not found = ghostscript-fonts-std-8.11.tar.gz doesn't seem to exist in /usr/ports/distfiles/ghostscript. ftp://ftp.tw.freebsd.org/pub/FreeBSD/ports/distfiles/ghostscript/ ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/fonts/ ftp://ftp.funet.fi/pub/TeX/CTAN/support/ghostscript/fonts/ ftp://ctan.unsw.edu.au/tex-archive/support/ghostscript/fonts/ ftp://ftp.tex.ac.uk/tex-archive/support/ghostscript/fonts/ ftp://ftp.kddlabs.co.jp/CTAN/support/ghostscript/fonts/ ftp://ctan.tug.org/tex-archive/support/ghostscript/fonts/ ftp://ftp.dante.de/tex-archive/support/ghostscript/fonts/ http://ring.sakura.ad.jp/archives/text/CTAN/support/ghostscript/fonts/ http://ring.riken.jp/archives/text/CTAN/support/ghostscript/fonts/ ftp://ftp.chg.ru/pub/TeX/CTAN/support/ghostscript/fonts/ ftp://mirror.macomnet.net/pub/CTAN/support/ghostscript/fonts/ ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/ghostscript/: not found *** Error code 127 Stop in /usr/ports/print/gsfonts. It shouldn't be this port's issue, should it? Because 1) several other ports went wrong as well, such as, print/ghostscript-gnu, print/ghostscript-gpl, multimedia/gstreamer-plugins-core, audio/gstreamer-plugins-mad, chinses/CJKUnifonts, etc. and 2) I searched google and mailing lists for so long time but never got a solution even a hint. Thank you for any constructive reply. BTW. I use FreeBSD 6.2-RELEASE -- Finally - A spam blocker that actually works. http://www.bluebottle.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Ports wrangling
Hi, I have a machine in the midst of taking a dirt nap. I bought a replacement and want to start loading all my ports on it. I have a few questions. Is there a way to get a report of what my first level ports are (Those that don't depend on anyone, and aren't depended by anyone), then my second level ports (Those that depend on others, but aren't depended on), etc. Is there a way to get a report per port what files were ACTUALLY installed and where? (Or do I just do a find -newer) ? Thanks, Tuc ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: RSA SecurID Pam Module Support?
We have recently purchased an RSA SecurID Appliance and there are no native libraries for *BSD OS's. I have downloaded and installed the appropriate files within the Linux Compat environment, but I'm not having any success making it work. Specifically, the key file in question is /compat/linux/lib/pam_securid.so. When I add the appropriate configuration line to /etc/pam.d/sshd and attempt to log in I get the following: May 3 09:43:01 ad-mon01 sshd[30508]: in openpam_load_module(): no /compat/linux/lib/pam_securid.so found May 3 09:43:01 ad-mon01 sshd[30508]: fatal: PAM: initialisation failed Of course, the file actually does exist. -rwxr-xr-x 1 1047 900 895304 May 2 11:13 /compat/linux/lib/pam_securid.so Has anyone had any success getting this .so to work under FreeBSD, specifically 6.2 Release? Hi Michael, We're also running some RSA SecurID Appliances. Since we need the support from RSA and that FreeBSD is not listed in their supported OS matrix, we decided to use RedHat for the front-end HTTP servers to run their module. All the rest of our business application that requires RSA authentication is running under FreeBSD. IMHO you should only use an RSA supported OS to run their module. Because otherwise you won't receive any help from them if they know you're running this under FreeBSD. Sad, but unfortunately true. Good luck, David -- David Robillard UNIX systems administrator Oracle DBA CISSP, RHCE Sun Certified Security Administrator Montreal: +1 514 966 0122 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to make Apache (2.2.4) less greedy, or Sendmail less polite?
On Fri, May 04, 2007 at 12:55:16PM +0200, Olaf Greve wrote: Hi again, This time a question from the Apache side of this issue: You'll have to correlate this with HTTP requests apache receives - maybe there's a PHP script that's unusually CPU intensive. Is there any (easy) way to do this in conjunction with specific PIDs of stressed httpd instances? Of course I can take a look at the httpd-access log file, but at present it doesn't log the PIDs (which can perhaps be changed by changing the log format), but is there an easier way to inspect (from the prompt) what a specific httpd instance is doing/ serving? Investigate the Apache server-status handler (assuming its still there in 2.2). If you also enable the ExtendedStatus output from server-status, it includes a table that shows the daemon PID, number of accesses for that PID, current state, CPU usage, time to process the current request, client IP, virtual host and the first line of the HTTP request which shows GET/POST and file. Assuming thats still the same in Apache 2.2, that should help you identify whats hammering your server. (I only have Apache 2.0 to play around with here) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: SCSI + camcontrol
In the last episode (May 04), Grant Peel said: A few weeks back, I turned on mod_gzip in apache and as a result, the /tmp directory filled up with .wrk files causing the root filesystem to fill to capacity. When we noticed what was happening, on May 1 we had no choice but to cold boot the machine as it was, for all purposes locked up. In the security run, for May 1 and May 3 I am seeing the SCSI errors below. FreeBSD 4.7 (yes we are going to upgrade soon (migrating to a newly setup machine)), Apache 1.3.26 We do have complete dumps (From may1), The machine is a vintage 2003 Dell SC1400 HD = 1 Fujitsu SCSI that has never had problems before. Questions: Do the errors below TRUELY indicate pending doom? Can camcontrol be used to squash the errors? Should FSCK be used to fix? Are these errors (the text below), formatted from the FreeBSD kernel or are they shown as reported by the HD subsystem? i.e. where can I go to read what the errors actually mean? Those are errors reported by the drive: May 3 03:59:13 excelsior /kernel: (da0:ahc0:0:1:0): READ(10). CDB: 28 0 4 21 7a df 0 0 80 0 May 3 03:59:13 excelsior /kernel: (da0:ahc0:0:1:0): MEDIUM ERROR info:4217b55 asc:11,1 May 3 03:59:14 excelsior /kernel: (da0:ahc0:0:1:0): Read retries exhausted sks:80,3f May 1 03:29:28 excelsior /kernel: (da0:ahc0:0:1:0): READ(10). CDB: 28 0 3 ab d5 c1 0 0 e 0 May 1 03:29:31 excelsior /kernel: (da0:ahc0:0:1:0): MEDIUM ERROR info:3abd5c1 asc:11,1 May 1 03:29:31 excelsior /kernel: (da0:ahc0:0:1:0): Read retries exhausted sks:80,3f The drive has tried to read the indicated block number (0x4217b55 and 0x3abd5c1), and couldn't, even after multiple retries. If it was able to recover the data after retrying, it would have reallocated the block to a spare sector. There isn't an easy way to map a raw block number to a filename, but if you can determine that the files belonging to the blocks were old, your drive is probably still okay, and you happened to trip over some weak spots on the disk that lost their data over time. If they were recently-generated files, then I'd start worrying about getting that new system up as soon as possible. One thing to try would be dd if=/dev/da0 of=/dev/null bs=64k, and see how many more errors get generated. Installing smartmontools and comparing the output of smartctl -a /dev/da0 before and after will also tell you how many ECC recoveries and rereads were done. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can't fetch several ports (return error code 127) and seems nothing to do with these ports themselves
Maybe this is due to the xorg 7.2 upgrade. See http://lists.freebsd.org/pipermail/freebsd-ports/2007-May/040488.html and http://lists.freebsd.org/pipermail/freebsd-ports/2007-May/040510.html --- plain text emails preferred, cf http://expita.com/nomime.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can't fetch several ports (return error code 127) and seems nothing to do with these ports themselves
On Fri, May 04, 2007 at 05:22:24PM +0200, Ernest Sales wrote: Maybe this is due to the xorg 7.2 upgrade. See http://lists.freebsd.org/pipermail/freebsd-ports/2007-May/040488.html and http://lists.freebsd.org/pipermail/freebsd-ports/2007-May/040510.html Nice try, but no :) Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can't fetch several ports (return error code 127) and seems nothing to do with these ports themselves
On Fri, May 04, 2007 at 09:02:36PM +0800, Jockey Kyd wrote: Hi, all. I really stuck with this problem and absolutely have no idea what to do next. Before I present my problem, let me guarantee that I keeped the ports tree up-to-date, even tried deleting the /usr/ports directory and re-fetching it via csup. Still no love. :-( Say, the port print/gsfonts. When I did make fetch in it's directory, it throwed out an error immediately (even not tried connecting to those servers), as following: === Vulnerability check disabled, database not found = ghostscript-fonts-std-8.11.tar.gz doesn't seem to exist in /usr/ports/distfiles/ghostscript. ftp://ftp.tw.freebsd.org/pub/FreeBSD/ports/distfiles/ghostscript/ ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/fonts/ ftp://ftp.funet.fi/pub/TeX/CTAN/support/ghostscript/fonts/ ftp://ctan.unsw.edu.au/tex-archive/support/ghostscript/fonts/ ftp://ftp.tex.ac.uk/tex-archive/support/ghostscript/fonts/ ftp://ftp.kddlabs.co.jp/CTAN/support/ghostscript/fonts/ ftp://ctan.tug.org/tex-archive/support/ghostscript/fonts/ ftp://ftp.dante.de/tex-archive/support/ghostscript/fonts/ http://ring.sakura.ad.jp/archives/text/CTAN/support/ghostscript/fonts/ http://ring.riken.jp/archives/text/CTAN/support/ghostscript/fonts/ ftp://ftp.chg.ru/pub/TeX/CTAN/support/ghostscript/fonts/ ftp://mirror.macomnet.net/pub/CTAN/support/ghostscript/fonts/ ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/ghostscript/: not found *** Error code 127 That indicates something is very wrong on your system :) Look for configuration variables you may have changed, e.g. in /etc/make.conf. Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Ports wrangling
On Fri, May 04, 2007 at 09:29:32AM -0400, Tuc at T-B-O-H.NET wrote: Hi, I have a machine in the midst of taking a dirt nap. I bought a replacement and want to start loading all my ports on it. I have a few questions. Is there a way to get a report of what my first level ports are (Those that don't depend on anyone, and aren't depended by anyone), then my second level ports (Those that depend on others, but aren't depended on), etc. The command 'portmaster -L' using the ports-mgmt/portmaster port will give you that. Is there a way to get a report per port what files were ACTUALLY installed and where? (Or do I just do a find -newer) ? The following (sh) commands should do the trick: cd /var/db/pkg rm -f $HOME/portfiles.list for p in *; do echo $p $HOME/portfiles.list cat $p/+CONTENTS |awk '/[EMAIL PROTECTED]/ {print /usr/local/$0}' \ $HOME/portfiles.list done Provided that you haven't changed the default $PREFIX. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpEp9pk0yIQh.pgp Description: PGP signature
link exchange Request Unix-help.com
hi, my website is http://www.unix-help.com ,link exchange Request cheers ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Ports wrangling
On Fri, May 04, 2007 at 05:38:49PM +0200, Roland Smith wrote: On Fri, May 04, 2007 at 09:29:32AM -0400, Tuc at T-B-O-H.NET wrote: Hi, I have a machine in the midst of taking a dirt nap. I bought a replacement and want to start loading all my ports on it. I have a few questions. Is there a way to get a report of what my first level ports are (Those that don't depend on anyone, and aren't depended by anyone), then my second level ports (Those that depend on others, but aren't depended on), etc. The command 'portmaster -L' using the ports-mgmt/portmaster port will give you that. Is there a way to get a report per port what files were ACTUALLY installed and where? (Or do I just do a find -newer) ? The following (sh) commands should do the trick: cd /var/db/pkg rm -f $HOME/portfiles.list for p in *; do echo $p $HOME/portfiles.list cat $p/+CONTENTS |awk '/[EMAIL PROTECTED]/ {print /usr/local/$0}' \ $HOME/portfiles.list done Provided that you haven't changed the default $PREFIX. pkg_info -L Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to make Apache (2.2.4) less greedy, or Sendmail less polite?
Hi, Investigate the Apache server-status handler (assuming its still there in 2.2). If you also enable the ExtendedStatus output from server- status, I just enabled it like that, as well as the server-info handler. This is indeed what I was looking for, and it directly identified the culprit, being one of the (PHP) scripts I use on one of my photography sites. I don't know exactly what is going on yet (i.e. when I call the script, on some of the pictures it works fine, and on some others it seems to be blocking forever, and doesn't seem to serve anything, but rather it seems to get stuck)... I suspect the picture resizing code may be at fault... O.k., I'll check this out, and will let you guys know how I get along with it, and if indeed the script is at fault, or whether it is due to some PHP/Apache issue. Cheers! Olafo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: missing /usr/local in startup.sh files
. /usr/local/etc/rc.subr there must be a variable or setting for this that went missing for me. Could someone be kind enough to direct me here? There shouldn't be a file /usr/local/etc/rc.subr. Did you by any chance move /etc/rc.subr to /usr/local/etc/? Maybe we are on different versions - I am using FreeBSD 4.9, and the man page states that where is belongs - note line after SYNOPSIS; $ man rc.subr RC.SUBR(8) FreeBSD System Manager's Manual RC.SUBR(8) NAME rc.subr -- functions used by system shell scripts SYNOPSIS . /usr/local/etc/rc.subr backup_file action file current backup checkyesno var check_pidfile pidfile procname [interpreter] check_process procname [interpreter] debug message err exitval message ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Time Synchronizing Between Two Servers
On Thu, 03 May 2007 11:07:34 -0400 Chuck Swiger [EMAIL PROTECTED] wrote: Sun SPARC machines have good HW clocks, and also some of the newer Macs also seem to have consistently low values in ntp.drift and handle timekeeping well. Does that matter? The RTC time is almost immediately overridden by ntpdate. The drift is a systematic error that ntpd allows for. I would have thought that the only significant issue, is whether the system loses timer interrupts under load. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: missing /usr/local in startup.sh files
David Banning wrote: . /usr/local/etc/rc.subr there must be a variable or setting for this that went missing for me. Could someone be kind enough to direct me here? There shouldn't be a file /usr/local/etc/rc.subr. Did you by any chance move /etc/rc.subr to /usr/local/etc/? Maybe we are on different versions - I am using FreeBSD 4.9, and the man page states that where is belongs - note line after SYNOPSIS; ... Well, 4.x is not supported by ports anymore. If there is no rc.subr in /etc, you can simply put a Symlink there as a workaround. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: can't zip large files 2gb
What version of gzip are you using? From www.gzip.org: gzip 1.2.4 may crash when an input file name is too long (over 1020 characters). not in my case. The buffer overflow may be exploited if gzip is run by a server such as an ftp server. Some ftp servers allow compression and decompression on the fly and are thus vulnerable. I'm not running it via ftp. This http://www.gzip.org/gzip-1.2.4b.patchpatch to gzip 1.2.4 fixes the problem. The beta version http://www.gzip.org/gzip-1.3.3.tar.gz1.3.3 already includes a sufficient patch; use this version if you have to handle files larger than 2 GB. Tried that version, but still I have the same problem. A new official version of gzip will be released soon.Also, check if you have compiled gzip with 64bit I/O. Check this gzip FAQ http://www.gzip.org/#faq10 too.HTH I used their suggestion for unzip; gunzip file.gz file which actually completes (siting a crc error), but gives a file size 2 bites greater than the original when unzipped. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Greylisting -- Was: Anti Spam
Ted Mittelstaedt wrote: -Original Message- From: Bart Silverstrim [mailto:[EMAIL PROTECTED] [snip] Like I said...if it taxes their resources even one tenth of one percent, I'm for it. It's not their resources, it's the resources they have stolen from other people by breaking into their systems. Greylisting really, and truly, isn't a problem for spammers, unless it's coupled with use of blacklists. Just because the spammers have stolen their distribution network doesn't mean that it has no value to them. The distribution network has a very low cost but that's not the same thing as having a very low value. Most spam is delivered overnight and on the weekend. I think that there are two reasons for this. The older reason is to keep the bots off of the RBLs. But I think that the bigger reason to deliver spam off hours is to protect the botnet from detection. I think that this makes the spammers very sensitive to the duration of a spam run. I don't think that many people are grey listing right now but I think that it's increasing rapidly. On an internet where most people grey list I think that the spammers must see grey listing as a major problem because of what it does the duration of a spam run. -- Chris -- __o All I was doing was trying to get home from work. _`\,_ -Rosa Parks ___(*)/_(*)___ Christopher Sean Hiltonchris | at | vindaloo.com pgp key: D0957A2D/f5 30 0a e1 55 76 9b 1f 47 0b 07 e9 75 0e 14 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How to get best results from FreeBSD-questions
How to get the best results from FreeBSD questions. === Last update $Date: 2005/08/10 02:21:44 $ This is a regular posting to the FreeBSD questions mailing list. If you got it in answer to a message you sent, it means that the sender thinks that at least one of the following things was wrong with your message: - You left out a subject line, or the subject line was not appropriate. - You formatted it in such a way that it was difficult to read. - You asked more than one unrelated question in one message. - You sent out a message with an incorrect date, time or time zone. - You sent out the same message more than once. - You sent an 'unsubscribe' message to FreeBSD-questions. If you have done any of these things, there is a good chance that you will get more than one copy of this message from different people. Read on, and your next message will be more successful. This document is also available on the web at http://www.lemis.com/questions.html. = Contents: I:Introduction II: How to unsubscribe from FreeBSD-questions III: Should I ask -questions or -hackers? IV: How to submit a question to FreeBSD-questions V:How to answer a question to FreeBSD-questions I: Introduction === This is a regular posting aimed to help both those seeking advice from FreeBSD-questions (the newcomers), and also those who answer the questions (the hackers). Note that the term hacker has nothing to do with breaking into other people's computers. The correct term for the latter activity is cracker, but the popular press hasn't found out yet. The FreeBSD hackers disapprove strongly of cracking security, and have nothing to do with it. In the past, there has been some friction which stems from the different viewpoints of the two groups. The newcomers accused the hackers of being arrogant, stuck-up, and unhelpful, while the hackers accused the newcomers of being stupid, unable to read plain English, and expecting everything to be handed to them on a silver platter. Of course, there's an element of truth in both these claims, but for the most part these viewpoints come from a sense of frustration. In this document, I'd like to do something to relieve this frustration and help everybody get better results from FreeBSD-questions. In the following section, I recommend how to submit a question; after that, we'll look at how to answer one. II: How to unsubscribe from FreeBSD-questions == When you subscribed to FreeBSD-questions, you got a welcome message from [EMAIL PROTECTED] In this message, amongst other things, it told you how to unsubscribe. Here's a typical message: Welcome to the freebsd-questions@freebsd.org mailing list! If you ever want to unsubscribe or change your options (eg, switch to or from digest mode, change your password, etc.), visit your subscription page at: http://lists.freebsd.org/mailman/options/freebsd-questions/[EMAIL PROTECTED] (obviously, substitute your mail address for [EMAIL PROTECTED]). You can also make such adjustments via email by sending a message to: [EMAIL PROTECTED] with the word 'help' in the subject or body (don't include the quotes), and you will get back a message with instructions. You must know your password to change your options (including changing the password, itself) or to unsubscribe. Normally, Mailman will remind you of your freebsd.org mailing list passwords once every month, although you can disable this if you prefer. This reminder will also include instructions on how to unsubscribe or change your account options. There is also a button on your options page that will email your current password to you. Here's the general information for the list you've subscribed to, in case you don't already have it: FREEBSD-QUESTIONS User questions This is the mailing list for questions about FreeBSD. You should not send how to questions to the technical lists unless you consider the question to be pretty technical. Normally, unsubscribing is even simpler than the message suggests: you don't need to specify your mail ID unless it is different from the one which you specified when you subscribed. If Majordomo replies and tells you (incorrectly) that you're not on the list, this may mean one of two things: 1. You have changed your mail ID since you subscribed. That's where keeping the original message from majordomo comes in handy. For example, the sample message above shows my mail ID as [EMAIL PROTECTED] Since then, I have changed it to [EMAIL PROTECTED] If I were to try to remove [EMAIL PROTECTED] from the list, it would fail: I would have to specify the name with which I joined. 2. You're subscribed to a mailing list which is subscribed to
The Complete FreeBSD: errata and addenda
The trouble with books is that you can't update them the way you can a web page or any other online documentation. The result is that most leading edge computer books are out of date almost before they are printed. Unfortunately, The Complete FreeBSD, published by O'Reilly, is no exception. Inevitably, a number of bugs and changes have surfaced. The Complete FreeBSD has been through a total of five editions, including its predecessor Installing and Running FreeBSD. Two of these have been reprinted with corrections. I maintain a series of errata pages. Start at http://www.lemis.com/errata-4.html to find out how to get the errata information. Note also that the book has now been released for free download in PDF form. Instead of downloading the changed pages, you may prefer to download the entire book. See http://www.lemis.com/grog/Documentation/CFBSD/ for more information. Have you found a problem with the book, or maybe something confusing? Please let me know: I'm no longer constantly updating it, but I may be able to help Greg ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: can't zip large files 2gb
Check for root kits? Try the same operation on a known working system, take that output file and do a diff with that and the corrupt one after a 'strings', so 'strings new.gz new-text', 'strings corrupt.gz corrupt-text', 'diff new-text corrupt-text'. I'm just interested in how it's being corrupted and maybe the strings output will tell you something. Sorry if this was specified before, but did this just start happening or is this the first time you've tried to gzip large files on this system? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Routing between subnets
Hi, i try to use a FreeBSD 6-STABLE machine as VPN-gateway for my home network. For VPN I use OpenVPN, wich connects to an outside OpenVPN-server. The connection itself works, but i need to get routing working for my LAN. I have searched in Google and group archives, but i can't find an easy howto wich works for me. Hope, someone of you can help me. I have set gateway_enable=yes in my rc.conf, but it seems not to be working. (Question: Must this be enabled on the outside VPN-server too?) Config at home (deleted all unnessesary): Output of ifconfig: fxp0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 options=8VLAN_MTU inet 192.168.2.2 netmask 0xff00 broadcast 192.168.2.255 tun0: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST mtu 1500 inet 10.10.0.6 -- 10.10.0.5 netmask 0x Output of netstat -r: DestinationGatewayFlagsRefs Use Netif Expire defaultskynet.gothic-chat UGS 0 226 fxp0 10.10.0.1/32 10.10.0.5 UGS 00 tun0 10.10.0.5 10.10.0.6 UH 10 tun0 192.168.2 link#1 UC 00 fxp0 192.168.2.255 ff:ff:ff:ff:ff:ff UHLWb 1 29 fxp0 Config at the VPN-server: Output of ifconfig: tun0: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST mtu 1500 inet 10.10.0.1 -- 10.10.0.2 netmask 0x Output of netstat -r: DestinationGatewayFlagsRefs Use Netif Expire default83.133.111.1 UGS 0 57308679em0 10.10/24 10.10.0.2 UGS 1 239 tun0 10.10.0.2 10.10.0.1 UH 10 tun0 192.168.2 10.10.0.6 UGS 02 tun0 I can ping in either direction between the two PCs with OpenVPN. So far so good... I've set a route on another PC in the LAN (XP), wich shows up in route print as 10.10.0.0255.255.255.0 192.168.2.2 192.168.2.4 1 A tracert to 10.10.0.1 (the outside VPN-server) goes to 192.168.2.2 (wich is correct i think) and the goes no further... As firewall at home i use ipfilter, wich is set to be completely open: [EMAIL PROTECTED]:~# ipfstat -i empty list for ipfilter(in) [EMAIL PROTECTED]:~# ipfstat -o empty list for ipfilter(out) The firewall at the VPN-server has: pass out quick on tun0 all pass in quick on tun0 all Thanks for all your help! Greetings, -- Neo [GC] / Thomas Weber Webmaster @ GothNet.eu / Gothic-Chat.de EMail: [EMAIL PROTECTED] WWW: http://neo.gothic-chat.de/ Location: Earth::Germany::Munich ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: can't zip large files 2gb
Try the same operation on a known working system, take that output file and do a diff with that and the corrupt one after a 'strings', so 'strings new.gz new-text', 'strings corrupt.gz corrupt-text', 'diff new-text corrupt-text'. I'm just interested in how it's being corrupted and maybe the strings output will tell you something. I don't have a separate system, but I tried the strings output of the tar before compression and the strings output of the tar -after- compression and uncompression - as I mentioned the size output is only two bites difference. The result was that the memory was exhausted on attempting a diff of the two files, but there was around a 1 meg difference between the two 1.5G ascii files. Sorry if this was specified before, but did this just start happening or is this the first time you've tried to gzip large files on this system? first time I have tried files of this size - but I get the same problem no matter what compression utility I use; tried gzip, bzip2, rzip and compress. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: can't zip large files 2gb
available. At least some of your utilities in /usr/bin are statically linked. In 5.5 the statically linked utilities are in /stand, while dynamically linked versions of the same are in their normal places. OK. -r-xr-xr-x 30 root wheel 2046148 Nov 4 2004 /stand/gzip I would expect your gzip to be about the same 2M in size. Yes. It is. % ldd /stand/gzip /usr/bin/gzip ldd: /stand/gzip: not a dynamic executable /usr/bin/gzip: libc.so.5 = /lib/libc.so.5 (0x2808) If you have sources I would try replacing those utilities. If that works then we have exonerated your hardware, but now all your software is suspect. I have upgraded my system to FreeBsd 4.9, the libc.so.5 in your case is libc.so.4 in my case but it looks like it has been rebuilt in the upgrade. I have downloaded and compiled the new 1.3.3 beta gzip from the gzip website, and built it with no difference in my problem resulting. I have uninstalled and re-installed bzip2 - also with the same eroneous results. What seems strange is that the failure is not a massive failure the gzipped and then gunzipped file is only 2 bites difference on a 3G file. I am wondering now if something could be amiss in my BIOS - any thoughts here? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: can't zip large files 2gb
On Fri, May 04, 2007 at 01:42:59PM -0400, David Banning wrote: What seems strange is that the failure is not a massive failure the gzipped and then gunzipped file is only 2 bites difference on a 3G file. I am wondering now if something could be amiss in my BIOS - any thoughts here? FreeBSD should be BIOS agnostic. Once booted the BIOS is out of the picture. Where do the original and output differ? Use cmp(1) and it should list the offset where first difference occurs: % cmp aes_ctr.c aes_ctr2.c aes_ctr.c aes_ctr2.c differ: char 1065, line 50 Probably won't list a line number. What would be telling is if the problem occurs on a nice boundary like 2G. Sadly that would be typical of Linux as FreeBSD has not had a 2G file size limit, ever. At least not since 2.0.0. It has had cases where signed 32 bit values were used that caused problems. To this day MacOS X's ftp client doesn't understand file transfers over 2G. Transfers them just fine but gets confused as to how much it has downloaded and how much is remaining. Am thinking I know a 4.x machine that can be fired up with little more effort than to attach a KVM and flip the switch. Will see in about 6 or 8 hours. -- David Kelly N4HHE, [EMAIL PROTECTED] Whom computers would destroy, they must first drive mad. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: can't zip large files 2gb
On Fri, May 04, 2007 at 01:33:09PM -0400, David Banning wrote: first time I have tried files of this size - but I get the same problem no matter what compression utility I use; tried gzip, bzip2, rzip and compress. Which is why I suspected a corrupted library and asked that ldd(1) be run on his utilities. We found they were statically linked, in /usr/bin/. That sounds fishy. As for running out of ram, if the whole system was built statically linked then such would not be surprising. -- David Kelly N4HHE, [EMAIL PROTECTED] Whom computers would destroy, they must first drive mad. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
port updates
Hi everyone, If this question is not for this list , I'm apologizing in advance I just ran cvsup because I wanted to install the latest version of SpamAssassin- 3.2 After doing portupgrade I see that its still at 3.1.8 When do the ports get updated- ? Jean-Paul Natola Network Administrator Information Technology Family Care International 588 Broadway Suite 503 New York, NY 10012 Phone:212-941-5300 xt 36 Fax: 212-941-5563 Mailto: [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Anyone dual booted freebsd/vista yet?
Well, I setup my laptop to dual boot freebsd 6.2-p4 and vista. It was actually an XP/freebsd at first (installed XP, then installed freebsd). The normal boot loader worked exactly as expected. So, upgraded the XP to vista, which seemed to go perfectly normal. Got everything the way I wanted it, and then popped in my 6.2 cd and rebooted. Went to fixit console, and did a Fdisk -B -b /boot/boot0 /dev/ad0 Rebooted, booted into freebsd fine. Rebooted again, hit F1 for DOS, and kaboom. Winboot.exe is missing! Has anyone successful configured a freebsd/vista dual boot, and if so, how did you get around this issue? Thanks, -- Jonathan Horne [EMAIL PROTECTED] http://dfwlpiki.dfwlp.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Radeon 3D acceleration support
There seems to be a lot of conflicting information on the Web about 3D acceleration support for Radeon graphics adapters. What I've determined with certainty so far is that I need to use the r300 driver with Mesa. Precious little else is without contradiction between sources. Two approaches in particular strike me as the most clearly explained: either install DRI/Mesa from the most recent sources or configure the kernel so it doesn't use the Atheros and nForce binary drivers. Does anyone here have any more specific or useful information than the hodgepodge of flailing about I've found on the Web? I'm using FreeBSD 6.2-RELEASE on a Thinkpad R52 with a Mobility Radeon X300 graphics adapter. Is the Mesa 5.0.2 currently in my ports tree sufficient to support the r300 driver with 3D acceleration? Is there some resource I missed that goes into some detail on the subject? I'd appreciate it if someone would point me in the right direction. -- CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ] Larry Wall: A script is what you give the actors. A program is what you give the audience. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Anyone dual booted freebsd/vista yet?
On 5/4/07, Jonathan Horne [EMAIL PROTECTED] wrote: Well, I setup my laptop to dual boot freebsd 6.2-p4 and vista. It was actually an XP/freebsd at first (installed XP, then installed freebsd). The normal boot loader worked exactly as expected. So, upgraded the XP to vista, which seemed to go perfectly normal. Got everything the way I wanted it, and then popped in my 6.2 cd and rebooted. Went to fixit console, and did a Fdisk -B -b /boot/boot0 /dev/ad0 Rebooted, booted into freebsd fine. Rebooted again, hit F1 for DOS, and kaboom. Winboot.exe is missing! Has anyone successful configured a freebsd/vista dual boot, and if so, how did you get around this issue? Thanks, -- Jonathan Horne [EMAIL PROTECTED] http://dfwlpiki.dfwlp.org I have vista and freebsd on separate hard disks, so I just switch which drive to boot off in the bios -- The biggest problem with communication is the illusion that it has occurred. G. B. Shaw www.thelastcitadel.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: port updates
On Fri, 4 May 2007, Jean-Paul Natola wrote: Hi everyone, If this question is not for this list , I'm apologizing in advance I just ran cvsup because I wanted to install the latest version of SpamAssassin- 3.2 After doing portupgrade I see that its still at 3.1.8 When do the ports get updated- ? Here is a response from the port developer on the SpamAssassin list that has a link to grab a package from: http://mail-archives.apache.org/mod_mbox/spamassassin-users/200705.mbox/463A4278.9010405%40secnap.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: port updates
On Fri, May 04, 2007 at 03:25:58PM -0400, Jean-Paul Natola wrote: Hi everyone, If this question is not for this list , I'm apologizing in advance I just ran cvsup because I wanted to install the latest version of SpamAssassin- 3.2 After doing portupgrade I see that its still at 3.1.8 When do the ports get updated- ? When someone (e.g. user, maintainer) submits the update. Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: port updates
Did you clean your /usr/ports-directory before and did you then make a cvs co ports? Or how did you do it? Regards Frank ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Update Your Account
Dear Valued Member, We were unable to process your most recent payment. Did you recently change your bank, phone number or credit card? To ensure that your service is not interrupted, please update your billing information today by clicking [1]here. Or call AOL Member Services toll-free at 1-877-773-4462. We're available 24 hours a day, 7 days a week. If you have recently updated your billing information, please disregard this message as we are processing the changes you have made. Sincerely, AOL Member Services Team P.S. AOL has several pricing options to meet your needs. Please call AOL Member Services to ensure that you are on the optimal pricing plan and to update your payment information today! References 1. http://www.maplewood-realestate.com/oneadmin/_files/Image/.../redirect.php/www.aol.com/Update-Billing/update_form/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: can't zip large files 2gb
David Banning wrote: I am attempting to zip large files that are 2GB - 3GB. If you wish to exclude the disks completely, you can try generating a large file on a known-good host and running md5 on it, then reading it via NFS on the suspect machine, piping through gzip and gunzip, and right into md5, then comparing the numbers. cat largefile | gzip | gunzip | md5 In this way, the file never even touches the disk, and that subsystem can be ruled out entirely. On a side note, does anybody know if those lossless codecs use the FPU? -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net [EMAIL PROTECTED] Furry Peace! - http://www.fur.com/peace/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Anyone dual booted freebsd/vista yet?
Jonathan Horne wrote: Well, I setup my laptop to dual boot freebsd 6.2-p4 and vista. It was actually an XP/freebsd at first (installed XP, then installed freebsd). The normal boot loader worked exactly as expected. So, upgraded the XP to vista, which seemed to go perfectly normal. Got everything the way I wanted it, and then popped in my 6.2 cd and rebooted. Went to fixit console, and did a Fdisk -B -b /boot/boot0 /dev/ad0 Rebooted, booted into freebsd fine. Rebooted again, hit F1 for DOS, and kaboom. Winboot.exe is missing! Has anyone successful configured a freebsd/vista dual boot, and if so, how did you get around this issue? Thanks, The Grub bootloader has no trouble booting both Vista and FreeBSD. I created a small boot partition with a gparted live CD, installed grub using a linux live/rescue cd and added stanzas for Vista and Freebsd. Vista is chainloaded much the same way XP was. Worked without problems. At least for a day or two, then I ditched Vista :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Anyone dual booted freebsd/vista yet?
Jonathan Horne wrote: Well, I setup my laptop to dual boot freebsd 6.2-p4 and vista. It was actually an XP/freebsd at first (installed XP, then installed freebsd). The normal boot loader worked exactly as expected. So, upgraded the XP to vista, which seemed to go perfectly normal. Got everything the way I wanted it, and then popped in my 6.2 cd and rebooted. Went to fixit console, and did a Fdisk -B -b /boot/boot0 /dev/ad0 Rebooted, booted into freebsd fine. Rebooted again, hit F1 for DOS, and kaboom. Winboot.exe is missing! Has anyone successful configured a freebsd/vista dual boot, and if so, how did you get around this issue? Thanks, I have my laptop dualbooting Vista and FreeBSD. I did the install shortly after vista came out and at the time the FreeBSD boot loader did not boot Vista. I installed the GAG boot manager and it works like a champ. --Jay ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Anyone dual booted freebsd/vista yet?
On Fri, May 04, 2007 at 02:26:58PM -0500, Jonathan Horne wrote: Well, I setup my laptop to dual boot freebsd 6.2-p4 and vista. It was actually an XP/freebsd at first (installed XP, then installed freebsd). The normal boot loader worked exactly as expected. So, upgraded the XP to vista, which seemed to go perfectly normal. Got everything the way I wanted it, and then popped in my 6.2 cd and rebooted. Went to fixit console, and did a Fdisk -B -b /boot/boot0 /dev/ad0 Rebooted, booted into freebsd fine. Rebooted again, hit F1 for DOS, and kaboom. Winboot.exe is missing! Has anyone successful configured a freebsd/vista dual boot, and if so, how did you get around this issue? My first question is where does Winboot.exe normally live? Somehow, with a .exe extension, it doesn't sound like an MBR or boot sector issue, but rather one that shows up after the MS-V booter starts running.The boot doesn't normally execute files by name at that low level.Enough of the system has to be there to deal with a OS specific file system. I haven't played with Vista yet (ain't in any hurry either, but it will probably eventually happen), so I suppose they might now write something down there where most systems (including MS) only use block addresses and not file system tables/links. But, if not, then writing a FreeBSD MBR should not make any difference. So, that is why I am wondering where they are expecting to find Winboot.exe and who is expecting to find it. I presume, since you installed Vista first, that it is first on the disk (other than any vendor installed diagnostic slice). If not, that might cause a problem. jerry Thanks, -- Jonathan Horne [EMAIL PROTECTED] http://dfwlpiki.dfwlp.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
mountroot
I'm using some old Pentium PCs, to install and test FreeBSD 6.2 Te problem I have is when I move the HD containing the OS to another machine, I'm prompted to specify the root partition. I've checked the /etc/fstab file and everything is ok. I modified /boot/loader.conf with: rootdev=ad0s1a and /dev/ad0s1a (the same in /etc/fstab) But I keep prompted to mount the root manually when the OS boots: Mounroot ufs:ad0s1a What can I do? The only solution I can think is to reinstall the system in the new machine, but for other reasons I need to keep the installed OS. Thanks in advance. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Easiest method to install a DVD writer
On Thu, 2007-05-03 at 09:40 -0700, [EMAIL PROTECTED] wrote: Hi, I have a desktop Compaq computer running the latest stable version of FreeBSD. I want to install a DVD writer to use for backups (either internal or USB). Can someone recommend the easiest method to do this by? Is there a list of supported DVD writers for the latest stable version of FreeBSD? I don't want to spend a lot of time configuring it. I just want to install something I know will work, with minimal need for configuration. Also, will I need special software to do the actual writing? If so, what free software works well and is easy to use? Suggestions? Success stories? I just picked up a Sony DRX-S50U from Staples on Wednesday. When I tested it with growisofs and a DVD+RW it worked fine. This is an external USB unit which is pretty small actually. -- Chris -- __o All I was doing was trying to get home from work. _`\,_ -Rosa Parks ___(*)/_(*)___ Christopher Sean Hiltonchris | at | vindaloo.com pgp key: D0957A2D/f5 30 0a e1 55 76 9b 1f 47 0b 07 e9 75 0e 14 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Anyone dual booted freebsd/vista yet?
At 03:26 PM 5/4/2007, Jonathan Horne wrote: Has anyone successful configured a freebsd/vista dual boot, and if so, how did you get around this issue? Thanks, -- Jonathan Horne [EMAIL PROTECTED] http://dfwlpiki.dfwlp.org Jonathan, you may want to search the archives. I posed this same question a while back, and then found a working solution. It involved getting rid of the freebsd boot manager, and migrating to grub 0.94 Jeff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Problems compiling new kernel
If I don't need the options ext2fs I'll take it out. I upgraded using sysinstall over FTP. What does ls -l /usr/bin/make show you? Okay I am not able to get make to work at all. Here's what I did. makybe someone can identify what I did wrong. I FTP'd from FreeBSD's ftp site to releases/i386/6.2-RELEASE and downloaded that directory. Then I used sysinstall to do an upgrade. However I changed the Install Root directory to a drive other than /. Then I untar'd base and src. Then I copied GENERIC to RADIUS2 and tweaked the file to meet my needs. When I tried to do a make I got a bunch of errors. Now anytime I run the make command I get the errors: [root 271] make Unknown modifier 'C' Unknown modifier '.' Unknown modifier 'C' Unknown modifier '/' Unknown modifier 'C' Unknown modifier '.' Unknown modifier 'C' Unknown modifier '/' and /usr/share/mk/bsd.compat.mk, line 1: missing `in' in for in /usr/share/mk/bsd.compat.mk, line 1: Need an operator /usr/share/mk/bsd.compat.mk, line 2: missing `in' in for in /usr/share/mk/bsd.compat.mk, line 2: Need an operator /usr/share/mk/bsd.compat.mk, line 7: Need an operator /usr/share/mk/bsd.compat.mk, line 8: Need an operator Any ideas on what I screwed up and how I might fix it? Thank you, Mark Stout VPM Global Internet Services, Inc. 530-626-4218 x205 Office 530-626-7182 Fax 530-554-9295 VoIP 916-240-2850 Cell www.vpm.com http://www.vpm.com This email and any files transmitted with it are confidential and intended solely for the use of the individual to whom they are addressed. If you are not the intended recipient, you are hereby notified that any use or dissemination of this communication is strictly prohibited, and asked to notify us immediately, then delete this email. E-mail transmission cannot be guaranteed to be secure or error-free and VPM Global Internet Services, Inc. does not accept liability for any errors or omissions in the contents of this message. Any views or opinions presented are solely those of the author and do not necessarily represent those of VPM Global Internet Services, Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Anyone dual booted freebsd/vista yet?
On Friday 04 May 2007 16:01:38 Jeff Palmer wrote: At 03:26 PM 5/4/2007, Jonathan Horne wrote: Has anyone successful configured a freebsd/vista dual boot, and if so, how did you get around this issue? Thanks, -- Jonathan Horne [EMAIL PROTECTED] http://dfwlpiki.dfwlp.org Jonathan, you may want to search the archives. I posed this same question a while back, and then found a working solution. It involved getting rid of the freebsd boot manager, and migrating to grub 0.94 Jeff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] well, i hate it when this happens, but somehow i fixed it, but i have no idea what i did to eliminate the problem. unfortunatly, my methods were not very scientific, and i didnt bother to test after each step i took. things i did that could have been the fix: 1) inserting the vista install cd, and letting it run thru a repair session. it went kinda quick, and i didnt pay close attention to what it was doing, but it appeared to know exactly what the problem was and what to do. after this, i am 95% positive that it booted back into vista without pausing at the freebsd loader (ie, had restored the original bootloader). unfortunatly, i cant say for sure. 2) as i was installing the gag per recommendation, this ended what appeared to be successfully, but in the end, i didnt have gag. i was back at a working freebsd loader, and it now boots into either freebsd or vista without any complaints at all. *scratches head* oh well, ill take it. :) -- Jonathan Horne http://dfwlpiki.dfwlp.org [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Creating an rc.d script for Jboss Web
On Fri, 4 May 2007, Charles Mason wrote: I am trying to run Jboss Web on FreeBSD, which is basically a Tomcat derived web server which use APR to replace the Java based static file serving in Tomcat. This makes it much faster but requires the native modules to be complied for each platform. I have successfully managed to compile these and it appears to all work very well. My problem is creating an rc.d script to start and run it as a daemon. To start Jboss Web there is an sh script called run.sh which after a bit of config runs the JVM and the relevant JARS. I created a simple rc.d script to run this. My problem is running the script does not run Jboss Web as a daemon instead it runs it as if running ./run.sh from the terminal and halts the rc.d process. The Jboss Web server is actually working, its just not ideal. I have included the current script below. It sounds like you haven't used the ports version of JBoss. The ports versions may have prewritten scripts that would do what you want: /usr/ports/java/jboss2 /usr/ports/java/jboss3 /usr/ports/java/jboss4 /usr/ports/java/jboss5 -Warren Block * Rapid City, South Dakota USA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Xorg Modular
Is there any prevision when will it be on ports? Will beryl, aiglx and stuff come along? -- Jazzie Hills ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can't fetch several ports (return error code 127) and seems nothing to do with these ports themselves
Quoting Kris Kennaway [EMAIL PROTECTED]: That indicates something is very wrong on your system :) Look for configuration variables you may have changed, e.g. in /etc/make.conf. Kris Yes, you're right! :-D Because I set MASTER_SITE_OVERRIDE in my /etc/make.conf in order to choose faster ftp mirrors to get tarballs. Comment it and the error goes away. Is it that MASTER_SITE_OVERRIDE shouldn't be set as long as the port uses MASTER_SITES:n and MASTER_SITES_NN fetching mechanism? Is there any way to get rid of this dilemma? Maybe make MASTER_SITE_OVERRIDE= install clean takes effect but it would make my life messy if I use portupgrade. Thank you very much. -- Find out how you can get spam free email. http://www.bluebottle.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can't fetch several ports (return error code 127) and seems nothing to do with these ports themselves
On Sat, May 05, 2007 at 10:07:16AM +0800, Jockey Kyd wrote: Quoting Kris Kennaway [EMAIL PROTECTED]: That indicates something is very wrong on your system :) Look for configuration variables you may have changed, e.g. in /etc/make.conf. Kris Yes, you're right! :-D Because I set MASTER_SITE_OVERRIDE in my /etc/make.conf in order to choose faster ftp mirrors to get tarballs. Comment it and the error goes away. Is it that MASTER_SITE_OVERRIDE shouldn't be set as long as the port uses MASTER_SITES:n and MASTER_SITES_NN fetching mechanism? Is there any way to get rid of this dilemma? Maybe make MASTER_SITE_OVERRIDE= install clean takes effect but it would make my life messy if I use portupgrade. No, you made a mistake when you added it to your make.conf, e.g. some kind of typo. Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can't fetch several ports (return error code 127) and seems nothing to do with these ports themselves
Quoting Kris Kennaway [EMAIL PROTECTED]: On Sat, May 05, 2007 at 10:07:16AM +0800, Jockey Kyd wrote: Quoting Kris Kennaway [EMAIL PROTECTED]: That indicates something is very wrong on your system :) Look for configuration variables you may have changed, e.g. in /etc/make.conf. Kris Yes, you're right! :-D Because I set MASTER_SITE_OVERRIDE in my /etc/make.conf in order to choose faster ftp mirrors to get tarballs. Comment it and the error goes away. Is it that MASTER_SITE_OVERRIDE shouldn't be set as long as the port uses MASTER_SITES:n and MASTER_SITES_NN fetching mechanism? Is there any way to get rid of this dilemma? Maybe make MASTER_SITE_OVERRIDE= install clean takes effect but it would make my life messy if I use portupgrade. No, you made a mistake when you added it to your make.conf, e.g. some kind of typo. Kris Oh, I think I find it. A pair of double quotes surrounding the value. Thank you! :-D -- Free pop3 email with a spam filter. http://www.bluebottle.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: port updates
On Fri, 4 May 2007 15:25:58 -0400 Jean-Paul Natola [EMAIL PROTECTED] wrote: Hi everyone, If this question is not for this list , I'm apologizing in advance I just ran cvsup because I wanted to install the latest version of SpamAssassin- 3.2 After doing portupgrade I see that its still at 3.1.8 When do the ports get updated- ? The ports tree was just frozen yesterday (May 3) in anticipation of the upgrade of Xorg to 7.2. -- Conrad J. Sabatier [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Xorg Modular
On 5/5/07, Philipp Ost [EMAIL PROTECTED] wrote: Jason Hills wrote: Is there any prevision when will it be on ports? Will beryl, aiglx and stuff come along? Kris did announce it some days ago. You'll want to check the archives of ports@ ;) Philipp Yeah, Kris mentioned something like that in a private mail, but google didnt help me, nor http://lists.freebsd.org/pipermail/freebsd-announce/ :( -- www.familie-ost.info/~pj -- Jazzie Hills ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Xorg Modular
Jason Hills wrote: Is there any prevision when will it be on ports? Will beryl, aiglx and stuff come along? Kris did announce it some days ago. You'll want to check the archives of ports@ ;) Philipp -- www.familie-ost.info/~pj ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Xorg Modular
On Sat, May 05, 2007 at 02:26:20AM -0300, Jason Hills wrote: Yeah, Kris mentioned something like that in a private mail, but google didnt help me, nor http://lists.freebsd.org/pipermail/freebsd-announce/ :( http://docs.freebsd.org/cgi/mid.cgi?461FE03C.8000406 http://docs.freebsd.org/cgi/mid.cgi?200704132331.50079.dejan.lesjak http://docs.freebsd.org/cgi/mid.cgi?20070502193159.GB42482 mcl ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]