altq / pf question

2011-10-06 Thread David Higgs
I enabled altq briefly on my OpenBSD router to throttle upstream traffic due to a buggy cable modem. It worked great, but I've since replaced the modem and removed the bandwidth constraints. Since I'm nowhere near saturating the link and haven't dropped any packets since then, is there any remain

Re: cd and run app from rc.local

2011-10-06 Thread Alexander Hall
On 10/06/11 15:17, Steve wrote: Hi, Can someone please point me in the right direction. I am trying to start a ruby rails app from rc.local by calling a script. The script simply changes directory and executes the app The script works outside of rc.local I understand this is probably unix 101

Re: (no subject)

2011-10-06 Thread Amps2005
604051828 http://www.cbs.so/571ff2

solved: xenocara missing xshare50.tgz

2011-10-06 Thread Darrel
Download xshare50.tgz. tar -C / -pzxvf xshare50.tgz Already being root in my home directory, I ran it like this: tar -C / -pxzvhf xshare50.tgz because the -h option was included on this page: http://www.openbsd.org/faq/faq4.html#AddFileSet I have not had X on OpenBSD recently- until today

Re: cd and run app from rc.local

2011-10-06 Thread Stuart Henderson
On 2011-10-06, Steve wrote: > Hi, > Can someone please point me in the right direction. > > I am trying to start > a ruby rails app from rc.local by calling a script. > > The script simply changes > directory and executes the app > The script works outside of rc.local > > I > understand this is pr

ActualizaciĆ³n, Novedades de Almacenes e Inventarios

2011-10-06 Thread Lic. Marcela Ramos
[IMAGE] Pms Capacitacisn Efectiva de Mixico presenta: Gestisn TOTAL de Almacenes 360 Exclusiva Presentacisn Final: 10-11 de Octubre en la Ciudad de Mixico con un horario de 09:00 a 06:00 pm. Seminario Practico! Lo estara acompaqado nuestro experto Internacional Lic. Ariel Valero. Traemos los mejore

Re: Re : Php script using adodb cannot connect to mysql when executed in chroot /var/www

2011-10-06 Thread richardtoohey
Quoting richardtoo...@paradise.net.nz: > Quoting Mik J : > > > > De : "richardtoo...@paradise.net.nz" > > > > > > > > OpenBSD 3.9? Or 4.9? > > My mistake, yes it's OpenBSD 4.9 > > > > > > Have you tried connecting to 127.0.0.1 rather than localhost? > I suggest this because ... http://op

Re: xenocara missing xshare50.tgz

2011-10-06 Thread Ingo Schwarze
Hi Darrel, Darrel wrote on Thu, Oct 06, 2011 at 02:02:06PM -0400: > Yesterday I installed -current, Welcome. > got source and built the system. ... and promptly caused yourself issues: http://www.openbsd.org/faq/faq5.html#WhySrc Use snapshots. > I have not built xenocara in the past. > >

Re: Re : Php script using adodb cannot connect to mysql when executed in chroot /var/www

2011-10-06 Thread richardtoohey
Quoting Mik J : > > De : "richardtoo...@paradise.net.nz" > > > > OpenBSD 3.9? Or 4.9? > My mistake, yes it's OpenBSD 4.9 > > Have you tried connecting to 127.0.0.1 rather than localhost? (That won't be why you are getting the Fatal error: Call to undefined function mysql_pconnect(), though

Re: xenocara missing xshare50.tgz

2011-10-06 Thread Paul de Weerd
On Thu, Oct 06, 2011 at 02:02:06PM -0400, Darrel wrote: | Hello, | | Yesterday I installed -current, got source and built the system. I | have not built xenocara in the past. | | Today I noticed that startx is not available. I failed to get | xshare50.tgz and put it on the cd-rom, which probabl

Re : Php cannot connect to mysql

2011-10-06 Thread Mik J
Priviet, I should have written that my sock has the proper permissions # ls -la /var/www/var/run/mysql/mysql.sock srwxrwxrwxB 5 _mysqlB daemonB 0 OctB 4 23:04 /var/www/var/run/mysql/mysql.sock However the hard link has other permissions # ls -la /var/run/mysql/mysql.sock lrwxr-xr-xB 1 rootB

xenocara missing xshare50.tgz

2011-10-06 Thread Darrel
Hello, Yesterday I installed -current, got source and built the system. I have not built xenocara in the past. Today I noticed that startx is not available. I failed to get xshare50.tgz and put it on the cd-rom, which probably is why X is not alright. How can I fix this now? Is it possi

Re: cd and run app from rc.local

2011-10-06 Thread Norman Golisz
On Thu Oct 6 2011 06:17, Steve wrote: > Hi, > Can someone please point me in the right direction. [...] > I > understand this is probably unix 101 but I cant find it. Please read and understand rc.local(8) and [1]. In general you have two options: - add your script to rc.local(8), - create a rc.

cd and run app from rc.local

2011-10-06 Thread Steve
Hi, Can someone please point me in the right direction. I am trying to start a ruby rails app from rc.local by calling a script. The script simply changes directory and executes the app The script works outside of rc.local I understand this is probably unix 101 but I cant find it. Thanks

Re: DUID base root device for kernel

2011-10-06 Thread Jiri B
On Thu, Oct 06, 2011 at 10:18:40AM +0200, Johan Ryberg wrote: > I think Flashboot will give you a flying start. Look at the scripts > that build the pendrive (build-usbkernel.sh and build-usbimage.sh) > > https://github.com/openbsd/flashboot > > Best regards Johan > I think you don't understand

Re: DUID base root device for kernel

2011-10-06 Thread Johan Ryberg
I think Flashboot will give you a flying start. Look at the scripts that build the pendrive (build-usbkernel.sh and build-usbimage.sh) https://github.com/openbsd/flashboot Best regards Johan 2011/10/6 Jiri B : > Hello, > > would be possible to tell kernel via `bsd -a' or with extended > boot.con

Re: Php cannot connect to mysql

2011-10-06 Thread pavel pocheptsov
Mik J P?P8QP5Q: # ls /var/www/var/run/mysql/ mysql.sock I hard linked it to /var/run/mysql/ # ln /var/www/var/run/mysql/mysql.sock /var/run/mysql/mysql.sock # ls -la /var/www/var/run/mysql total 8 drwxr-xr-xB 2 _mysqlB _mysqlB 512 Sep 21 21:14 . drwxr-xr-xB 3 rootB B B daemonB 512 Ap

DUID base root device for kernel

2011-10-06 Thread Jiri B
Hello, would be possible to tell kernel via `bsd -a' or with extended boot.conf configuration capabilities to use a root device defined with DUID? My intend is to boot from an external usb stick and to have root device in the box configured with softraid and keydisk. jirib

Re : Php script using adodb cannot connect to mysql when executed in chroot /var/www

2011-10-06 Thread Mik J
> De : "richardtoo...@paradise.net.nz" > OpenBSD 3.9? Or 4.9? My mistake, yes it's OpenBSD 4.9 > Quoting Mik J : > >> Hello everyone, >> >> My problem is that I cannot execute a php script in CLI. This >> test script is supposed to connect to mysql and retrieve some simple >> results >>