8.1 to 8.2 upgrade, apache SSL Certificates problem

2011-03-23 Thread n dhert
Hi, I did an upgrade from FreeBSD 8.1 to 8.2 today. All OK so far, except for Apache (apache-2.2.17_1) It wouldn't start. /var/log/httpd-error.log [Wed Mar 23 13:04:26 2011] [error] Server should be SSL-aware but has no certificate configured [Hint: SSLCertificateFile] ((null):0) I dit not chang

Bandwith Management

2011-03-23 Thread Eric Beukes
Could you please assist me. I have a freebsd box the previous person who handled it left the company. Now we increased the bandwidth with tenet now how do I increase it on my freebsd box? As well as how do I now what is actually used for the management of the bandwith like ipfw, ect?

Solved - 8.1 to 8.2 upgrade, apache SSL Certificates problem

2011-03-23 Thread n dhert
Don't border, i found the error, nothing to with freebsd. sorry 2011/3/23 n dhert > Hi, > > I did an upgrade from FreeBSD 8.1 to 8.2 today. All OK so far, except for > Apache (apache-2.2.17_1) > It wouldn't start. > /var/log/httpd-error.log > [Wed Mar 23 13:04:26 2011] [error] Server should be

Re: Bandwith Management

2011-03-23 Thread Ryan Coleman
Do you know exactly what they used to limit the bandwidth? was it IPFW or something else? On Mar 23, 2011, at 8:49 AM, Eric Beukes wrote: > Could you please assist me. > > > > I have a freebsd box the previous person who handled it left the > company. > > > > Now we increased the bandwidth

why does this simple counter fail?

2011-03-23 Thread Gary Kline
Guys, Can any of you php hackers tell me why this simple self-hacked counter bomb? appended. tia. -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org

Re: why does this simple counter fail?

2011-03-23 Thread Ryan Coleman
Do you have an error for it? If not... add after the first > Guys, > > Can any of you php hackers tell me why this simple self-hacked > counter bomb? > > appended. > > tia. > > -- > Gary Kline kl...@thought.org http://www.thought.org Public Service Unix >

Re: why does this simple counter fail?

2011-03-23 Thread Ryan Coleman
On a side note, I'd nix $count += 1; for $count++; -- ryan On Mar 23, 2011, at 11:45 AM, Gary Kline wrote: > > Guys, > > Can any of you php hackers tell me why this simple self-hacked > counter bomb? > > appended. > > tia. > > -- > Gary Kline kl...@thought.

Re: Bandwith Management

2011-03-23 Thread Odhiambo Washington
On Wed, Mar 23, 2011 at 16:49, Eric Beukes wrote: > Could you please assist me. > > > > I have a freebsd box the previous person who handled it left the > company. > > > > Now we increased the bandwidth with tenet now how do I increase it on my > freebsd box? > > > > As well as how do I now what

Re: why does this simple counter fail?

2011-03-23 Thread Paul Macdonald
On 23/03/2011 16:45, Gary Kline wrote: Guys, Can any of you php hackers tell me why this simple self-hacked counter bomb? appended. tia. $file doesn't look to be set anywhere if its a web script ( as opposed to cmd line cli) tyhen its probably passed

Re: why does this simple counter fail?

2011-03-23 Thread Ryan Coleman
On Mar 23, 2011, at 12:14 PM, Paul Macdonald wrote: > On 23/03/2011 16:45, Gary Kline wrote: >> Guys, >> >> Can any of you php hackers tell me why this simple self-hacked >> counter bomb? >> >> appended. >> >> tia. > $file doesn't look to be set anywhere > > if its a

Re: Bandwith Management

2011-03-23 Thread Michael J. Kearney
The isp takes it to the dmarc after that its up to you. You could make a phonecall and find out where the dsu / csu us at. Eric Beukes wrote: Could you please assist me. I have a freebsd box the previous person who handled it left the company. Now we increased the bandwidth with tenet no

Re: why does this simple counter fail?

2011-03-23 Thread Frédéric Perrin
Gary Kline writes: > Can any of you php hackers tell me why this simple self-hacked > counter bomb? As others said, what does 'this simple counter bomb' means? > $fp = fopen($directory.$file, "r+"); > flock($fp, 1); You want an exclusive lock (LOCK_EX, which is 2 is

Automating mounting of ISO images

2011-03-23 Thread Ryan Coleman
I have a folder full of ISOs that we're sharing on the network instead of having the discs available (seems like a good idea, right?) But I want to automate the process on boot instead of having to write a static script to do the work. Disc images are located in /mount/disc_images/ (all are IS

FreeBSD-based hosting

2011-03-23 Thread Австин Ким
Hi, all, I happened to come across this Netcraft survey of the "Most Reliable Hosting Company Sites in February 2011" (the most recent month for which statistics are available): http://news.netcraft.com/archives/2011/03/01/most-reliable-hosting-company-sites-in-february-2011.html I was surprised

Re: FreeBSD-based hosting

2011-03-23 Thread Randal L. Schwartz
> "Австин" == Австин Ким writes: Австин> Can anyone recommend the best FreeBSD-based hosting provider Австин> that they've used recently and/or are currently using, in terms Австин> of: You might want to check the archives for this mailing list. This question gets asked and answered repeate

Re: Automating mounting of ISO images

2011-03-23 Thread Chuck Swiger
Hi-- On Mar 23, 2011, at 11:49 AM, Ryan Coleman wrote: > Disc images are located in /mount/disc_images/ (all are ISOs) > They need to mount into /mount/office_files/images/FILENAME [without the .iso > extension] > > How can I do this? I've always been given these types of scripts in the past >

Re: Automating mounting of ISO images

2011-03-23 Thread Polytropon
On Wed, 23 Mar 2011 13:49:46 -0500, Ryan Coleman wrote: > I have a folder full of ISOs that we're sharing on the > network instead of having the discs available (seems > like a good idea, right?) Please use the correct terminology: FreeBSD (as any UNIX operating systems) calls them DIRECTORIES.

Re: Automating mounting of ISO images

2011-03-23 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 3/23/11 2:49 PM, Ryan Coleman wrote: > I have a folder full of ISOs that we're sharing on the network instead of > having the discs available (seems like a good idea, right?) > > But I want to automate the process on boot instead of having to writ

Re: FreeBSD-based hosting

2011-03-23 Thread Nathan Vidican
On Wed, Mar 23, 2011 at 2:51 PM, Австин Ким wrote: > Hi, all, > > I happened to come across this Netcraft survey of the "Most Reliable > Hosting Company Sites in February 2011" (the most recent month for which > statistics are available): > > http://news.netcraft.com/archives/2011/03/01/most-reli

Re: Automating mounting of ISO images

2011-03-23 Thread Ryan Coleman
We're close on this (thanks for the push). It wants to load the entire path up in ${DEST} which is not ideal but I can live with that. I am also trying to make the directories right before the attempt to mount the image (a 'duh' moment just now). So I'd like to have just the filename, not the

Re: Kodak C195 digital camera appears to affect WD on usb

2011-03-23 Thread Steven Friedrich
I know I wasn't clear in my original mail, but after this AutoSense failed, I get LOTS of g_vfs_done errors. I don't get them if I don't plu in the camera > Mar 22 01:12:21 laptop2 kernel: (da0:umass-sim0:0:0:0): AutoSense failed > Mar 22 01:12:21 laptop2 kernel: g_vfs_done():da0s1f[WRITE(offset

Re: Automating mounting of ISO images

2011-03-23 Thread Polytropon
On Wed, 23 Mar 2011 15:06:14 -0500, Ryan Coleman wrote: > I am also trying to make the directories right before the attempt > to mount the image (a 'duh' moment just now). > So I'd like to have just the filename, not the full path, made > as a folder... A directory. :-) > In other news: The

Re: Automating mounting of ISO images

2011-03-23 Thread Ryan Coleman
On Mar 23, 2011, at 3:16 PM, Polytropon wrote: > On Wed, 23 Mar 2011 15:06:14 -0500, Ryan Coleman > wrote: >> I am also trying to make the directories right before the attempt >> to mount the image (a 'duh' moment just now). >> So I'd like to have just the filename, not the full path, made >>

Re: Automating mounting of ISO images

2011-03-23 Thread Ryan Coleman
Here's the working script (Yay!) #! /bin/sh for FILE in /mount/disc_images/*.iso; do DEST=$FILE DIRNAME=`basename ${FILE} .iso` echo ${DIRNAME} ${FILE} mkdir /mount/new_brighton/images/${DIRNAME} mount -t cd9660 /dev/`mdconfig -f ${FILE}` /mount/new_brighton/images/${DIRNAME} done

Re: Automating mounting of ISO images

2011-03-23 Thread Polytropon
On Wed, 23 Mar 2011 15:35:21 -0500, Ryan Coleman wrote: > Here's the working script (Yay!) > > #! /bin/sh > > for FILE in /mount/disc_images/*.iso; do > DEST=$FILE > DIRNAME=`basename ${FILE} .iso` > echo ${DIRNAME} ${FILE} > mkdir /mount/new_brighton/images/${DIRNAME} > mount -t cd96

Re: Automating mounting of ISO images

2011-03-23 Thread Ryan Coleman
On Mar 23, 2011, at 3:45 PM, Polytropon wrote: > On Wed, 23 Mar 2011 15:35:21 -0500, Ryan Coleman > wrote: >> Here's the working script (Yay!) >> >> #! /bin/sh >> >> for FILE in /mount/disc_images/*.iso; do >> DEST=$FILE >> DIRNAME=`basename ${FILE} .iso` >> echo ${DIRNAME} ${FILE} >> mk

Re: Automating mounting of ISO images

2011-03-23 Thread Polytropon
On Wed, 23 Mar 2011 16:05:12 -0500, Ryan Coleman wrote: > I did try that once and it didn't strip the directory structure > out so when basename worked I didn't mess with it too much. I've just checked - you're right. While `basename` works as intended, ${%} can be applied to "pure filenames" on

Re: Automating mounting of ISO images

2011-03-23 Thread Chuck Swiger
On Mar 23, 2011, at 1:06 PM, Ryan Coleman wrote: > I am also trying to make the directories right before the attempt to mount > the image (a 'duh' moment just now). > So I'd like to have just the filename, not the full path, made as a folder... Ah, yes-- add "mkdir -p /mount/office_files/images

Re: Automating mounting of ISO images

2011-03-23 Thread Polytropon
On Wed, 23 Mar 2011 14:17:38 -0700, Chuck Swiger wrote: > Ah, yes-- add "mkdir -p /mount/office_files/images/${DEST}" before the mount > command. > Someone else mentioned a use of basedir command Prefix it with a test: [ -d /mount/office_files/images/${DEST} ] && mkdir... mo

Re: Automating mounting of ISO images

2011-03-23 Thread Chuck Swiger
On Mar 23, 2011, at 2:21 PM, Polytropon wrote: > Prefix it with a test: > > [ -d /mount/office_files/images/${DEST} ] && mkdir... > mount... > > so there will be no error if the script is started for the > second time (and the directories still exist), means: create > them only if not

Re: Automating mounting of ISO images

2011-03-23 Thread Polytropon
On Wed, 23 Mar 2011 14:24:43 -0700, Chuck Swiger wrote: > While I agree with this suggested change from the perspective > of only doing work if you actually need to do it, note that > "mkdir -p" doesn't return an error if the directory already > exists. :-) You're telling this to a man who check

Re: how to enable NCQ on Intel ESB2 AHCI SATA controller/ST31000340NS

2011-03-23 Thread Dan Nelson
In the last episode (Mar 22), Anton Yuzhaninov said: > How to enable NCQ on this controller: > ahci0@pci0:0:31:2: class=0x010601 card=0x808015d9 chip=0x26818086 > rev=0x09 hdr=0x00 > vendor = 'Intel Corporation' > device = 'LSI LOGIC, 62089A2, LSISAS1068 B0, T 0620, WE 119200.

Bridge, dpcpd, sshd

2011-03-23 Thread Chris
Hi all, I have a server machine that I use as DHCP server, sshd login etc, and since I have multiple Ethernet interfaces on it, I would like to use two of those for the internal network to avoid adding one more ethernet switch for just one extra machine. DHCP should configure hosts on both thos

Re: Bandwith Management

2011-03-23 Thread Daniel Staal
--As of March 23, 2011 3:49:37 PM +0200, Eric Beukes is alleged to have said: As well as how do I now what is actually used for the management of the bandwith like ipfw, ect? --As for the rest, it is mine. As far as I know, the two most likely bandwidth management systems on a FreeBSD box a

Re: Bridge, dpcpd, sshd

2011-03-23 Thread Nerius Landys
> > I have a server machine that I use as DHCP server, sshd login etc, and since > I have multiple Ethernet interfaces on it, I would like to use two of those > for the internal network to avoid adding one more ethernet switch for just > one extra machine. DHCP should configure hosts on both tho

Re: Bridge, dpcpd, sshd

2011-03-23 Thread Ian Smith
In freebsd-questions Digest, Vol 355, Issue 4, Message: 33 On Wed 23 Mar 2011 22:20:06 + (GMT) Chris wrote: > I have a server machine that I use as DHCP server, sshd login etc, > and since I have multiple Ethernet interfaces on it, I would like to > use two of those for the internal netw

Re: Bridge, dpcpd, sshd

2011-03-23 Thread timp
My similar config . cloned_interfaces="bridge0" ifconfig_bridge0="addm wlan0 addm sk0 up" ifconfig_bridge0_alias0="ether f6:3f:1f:48:4d:97" ifconfig_bridge0_alias1="inet 172.16.254.1 netmask 255.255.255.0" ifconfig_sk0="up" ifconfig_wlan0="up" . Use alias# for setting inet on bridge0 -- V