Re: nginx how to run first site as open , and second
Hi ,all . how to compile nginx who has ability of basic auth using ports ? according to http://wiki.nginx.org/Modules , if auth_basic is not wanted, compile nginx --without-http_auth_basic_module . --- i need basic auth because of family privacy photos , i run nginx on arch linux out of need . nginx.conf is worker_processes 1; events { worker_connections 1024; } http { include mime.types; default_type application/octet-stream; sendfileon; keepalive_timeout 65; # local server { listen 80; server_name localhost; root /mnt-nginx/d3; index index.html index.htm; auth_basic Restricted; auth_basic_user_file /etc/nginx/13/.htpasswd; # 13 insted of require } #-open-mydns server { listen 80; server_name a.mydns.jp; root /mnt-nginx/d1; index index.html index.htm; } #-basic auth---ddns server { listen 80; server_name s.sun.ddns.vc; root /mnt-nginx/htdocs/Fam; index index.html index.htm; auth_basic Restricted; auth_basic_user_file /etc/nginx/1/.htpasswd; # 1 insted of require } } --- tuyosi
Re: OpenBSD projects
On 27 December 2014 at 16:32, Predrag Punosevac punoseva...@gmail.com wrote: OpenBSD has its own sensorsd which is pure gold and unlike other BSDs Yes, and sensorsd(8) / sensor_attach(9) stuff has also been imported into DragonFly BSD (and also briefly into FreeBSD, too). http://mdoc.su/d/sensor_attach.9 http://BXR.SU/DragonFly/search?q=sensor_attach Plus pretty much more than half of the wireless device drivers available all across BSDs (and even OpenSolaris, RIP) have originated in OpenBSD: http://en.wikipedia.org/wiki/Comparison_of_open-source_wireless_drivers#OpenBSD http://bxr.su/f,n,d/s?q=%22Damien+Bergamini%22+OR+damien@openbsd Lots of misc stuff from OpenBSD in the other 3 BSDs, too: http://bxr.su/f,n,d/search?q=$OpenBSD+OR+openbsd.org C.
Re: 500 httpd error with owncloud
$ ldd /usr/bin/sqlite3 /usr/bin/sqlite3: StartEnd Type Open Ref GrpRef Name 00b21e80 00b21ec11000 exe 10 0 /usr/bin/sqlite3 00b491c4e000 00b49212 rlib 01 0 /usr/lib/libsqlite3.so.28.0 00b498a0f000 00b498e42000 rlib 01 0 /usr/lib/libedit.so.5.1 00b430ec9000 00b431323000 rlib 01 0 /usr/lib/libcurses.so.14.0 00b472f65000 00b473377000 rlib 02 0 /usr/lib/libpthread.so.18.1 00b497b7e000 00b49806a000 rlib 01 0 /usr/lib/libc.so.78.0 00b44840 00b44840 rtld 01 0 /usr/libexec/ld.so I copied all libraries used by sqlite3 in the folder /var/www/usr/lib/: $ ls -lh /var/www/usr/lib/ total 17920 -r--r--r-- 1 root daemon 3.2M Dec 29 09:01 libc.so.78.0 -r--r--r-- 1 root daemon 1.4M Dec 29 09:01 libcurses.so.14.0 -r--r--r-- 1 root daemon 480K Dec 29 09:01 libedit.so.5.1 -r--r--r-- 1 root daemon 208K Dec 29 09:01 libpthread.so.18.1 -r--r--r-- 1 root daemon 3.4M Dec 29 09:01 libsqlite3.so.28.0 I think it has something to do with sqlite3 - this is just a guess. Trying to install wordpress form ports, it failed at the database setup (although wp uses mariadb/mysql). Has anyone else experienced such problems? Clemens
Re: pf: question about tables derived from interface group
On 12/28/14 15:35, Harald Dunkel wrote: Thats cool. Where did you find this? Searching on openbsd.org for _pf revealed only http://www.openbsd.org/papers/ven05-henning/mgp00011.txt . This is surely something that should go to the man page or to the FAQs for pf. PS: Another important information not told by pf.conf(5) is that (groupname:network) excludes fe80::/10, even though (groupname) includes the link local address. Regards Harri
Best way forward w.r.t. apache/nginx/httpd?
Hi all, I'm finally getting round to updating my home server (gets a fresh 5.6 install). Of course, there were a lot of changes over the past versions, one of them being the whole apache - nginx - httpd migration. My webserver has a CMS running which requires PHP and MySQL, plus a few more PHP-applications. Also, I have two or three virtual sites running and I'm currently considering having a look at something like Owncloud and/or Citadel. Given the current state of development in OpenBSD, I'm now wondering what the best way forward is for me: a) Install apache-httpd-openbsd from ports and keep my configuration basically as is Advantage: Less work to get everything running - I've done OpenBSD re-installs like that several times over the past years Disadvantage: I guess that the new httpd will get a lot more developer attention, so this does not seem the ideal option longterm, but I could always migrate to httpd later, e.g. when upgrading to 5.7 or (more likely) 5.8 b) Migrate to nginx This seems to be the least interesting option - not only do I have to migrate now, but once more in the future, as nginx is also on the way out (so, the same developer attention caveat applies as with apache) c) Migrate to httpd From what I've gathered so far from this list, this would basically require me to switch to -current, as the 5.6 version is too fresh and too many changes have happened since - or am I being pessimistic here? I've never run -current before, hence, I'm a bit hesitant... I tend to go for a) because I do not want to migrate twice - but maybe somebody else has some interesting points that I have not considered yet? I'd appreciate the input! Regards, Thomas -- - Thomas Ribbrockhttp://www.ribbrock.org/ You have to live on the edge of reality - to make your dreams come true!
Re: Best way forward w.r.t. apache/nginx/httpd?
In more or less the same boat, without php as our virtual sites are simple display only. However for future business developement we have wondered the same. I am inn agreement with your choice of (1) as that would be ours pending feedback here from those who know. On Mon, Dec 29, 2014 at 7:30 AM, T. Ribbrock emga...@gmx.net wrote: Hi all, I'm finally getting round to updating my home server (gets a fresh 5.6 install). Of course, there were a lot of changes over the past versions, one of them being the whole apache - nginx - httpd migration. My webserver has a CMS running which requires PHP and MySQL, plus a few more PHP-applications. Also, I have two or three virtual sites running and I'm currently considering having a look at something like Owncloud and/or Citadel. Given the current state of development in OpenBSD, I'm now wondering what the best way forward is for me: a) Install apache-httpd-openbsd from ports and keep my configuration basically as is Advantage: Less work to get everything running - I've done OpenBSD re-installs like that several times over the past years Disadvantage: I guess that the new httpd will get a lot more developer attention, so this does not seem the ideal option longterm, but I could always migrate to httpd later, e.g. when upgrading to 5.7 or (more likely) 5.8 b) Migrate to nginx This seems to be the least interesting option - not only do I have to migrate now, but once more in the future, as nginx is also on the way out (so, the same developer attention caveat applies as with apache) c) Migrate to httpd From what I've gathered so far from this list, this would basically require me to switch to -current, as the 5.6 version is too fresh and too many changes have happened since - or am I being pessimistic here? I've never run -current before, hence, I'm a bit hesitant... I tend to go for a) because I do not want to migrate twice - but maybe somebody else has some interesting points that I have not considered yet? I'd appreciate the input! Regards, Thomas -- - Thomas Ribbrockhttp://www.ribbrock.org/ You have to live on the edge of reality - to make your dreams come true!
Re: 500 httpd error with owncloud
Sqlite3 is is fine.  As I said I use it. What about file permissions? Maybe run the httpd daemon in the foreground and increase its verbosity. Did you manage to run a simple perl or bash script through the server? Sent from Samsung Mobile Original message From: Clemens Goessnitzer e1126...@student.tuwien.ac.at Date: 12-29-2014 04:12 (GMT-05:00) To: misc@openbsd.org Subject: Re: 500 httpd error with owncloud $ ldd /usr/bin/sqlite3 /usr/bin/sqlite3:         Start           End             Type Open Ref GrpRef Name         00b21e80 00b21ec11000 exe 1   0  0 /usr/bin/sqlite3         00b491c4e000 00b49212 rlib 0   1  0 /usr/lib/libsqlite3.so.28.0         00b498a0f000 00b498e42000 rlib 0   1  0 /usr/lib/libedit.so.5.1         00b430ec9000 00b431323000 rlib 0   1  0 /usr/lib/libcurses.so.14.0         00b472f65000 00b473377000 rlib 0   2  0 /usr/lib/libpthread.so.18.1         00b497b7e000 00b49806a000 rlib 0   1  0 /usr/lib/libc.so.78.0         00b44840 00b44840 rtld 0   1  0 /usr/libexec/ld.so I copied all libraries used by sqlite3 in the folder /var/www/usr/lib/: $ ls -lh /var/www/usr/lib/ total 17920 -r--r--r-- 1 root daemon  3.2M Dec 29 09:01 libc.so.78.0 -r--r--r-- 1 root daemon  1.4M Dec 29 09:01 libcurses.so.14.0 -r--r--r-- 1 root daemon  480K Dec 29 09:01 libedit.so.5.1 -r--r--r-- 1 root daemon  208K Dec 29 09:01 libpthread.so.18.1 -r--r--r-- 1 root daemon  3.4M Dec 29 09:01 libsqlite3.so.28.0 I think it has something to do with sqlite3 - this is just a guess. Trying to install wordpress form ports, it failed at the database setup (although wp uses mariadb/mysql). Has anyone else experienced such problems? Clemens
Re: Openbsd broke my hard drive twice! Getting frustrated
I've been seeing a similar issue on a DELL XPS 13 Developer edition I got back in June -- ran fine with ubuntu as shipped with Dell, and then I wiped and installed OpenBSD and now can't even access the BIOS. I'm *sure* it's a BIOS issue as the BIOS is probably trying to do something silly with the hardisk. Haven't gotten around to flashing the BIOS to a newer version as I'm fairly sure I'll need to remove the harddisk before the system will even let me boot (and that involves taking apart most of the laptop). It's sad that BIOSes are so buggy these days, and a bit crazy that something you do to the disk would cause the BIOS to freak out. Oh well, whenever the Dell support people pick up the phone, I'll complain to them for all the good it will do. The Dell had no problem booting the install media from usb, was just when it came time to try and boot from HD that the BIOS freaked, and now won't allow me to access the BIOS settings or the choose which media to boot from menu. To the OP -- This is definitely not OpenBSD breaking your system, it's OpenBSD doing one of the things it does best... exposing bugs in *other* places (: and I feel your pain, it's quite frustrating when hardware we've paid for can't handle something that should be easy. gabe.
Re: Best way forward w.r.t. apache/nginx/httpd?
Hi Thomas, On 29 December 2014 at 05:30, T. Ribbrock emga...@gmx.net wrote: Hi all, I'm finally getting round to updating my home server (gets a fresh 5.6 install). Of course, there were a lot of changes over the past versions, one of them being the whole apache - nginx - httpd migration. My webserver has a CMS running which requires PHP and MySQL, plus a few more PHP-applications. Also, I have two or three virtual sites running and I'm currently considering having a look at something like Owncloud and/or Citadel. c) Migrate to httpd From what I've gathered so far from this list, this would basically require me to switch to -current, as the 5.6 version is too fresh and too many changes have happened since - or am I being pessimistic here? I've never run -current before, hence, I'm a bit hesitant... Well you could try 5.6 with this patch: http://ftp.openbsd.org/pub/OpenBSD/patches/5.6/common/009_httpd.patch.sig Of course, visualize everything and test it out before going live! But you are right, httpd is very fast moving: https://secure.freshbsd.org/search?project=openbsdq=httpd Regards, Thomas -- Best, jungle - Thomas Ribbrockhttp://www.ribbrock.org/ You have to live on the edge of reality - to make your dreams come true! --- inum: 883510009027723 sip: jungleboo...@sip2sip.info xmpp: jungle-boo...@jit.si
Re: Openbsd broke my hard drive twice! Getting frustrated
-Original Message- From: owner-m...@openbsd.org [mailto:owner-m...@openbsd.org] On Behalf Of Gabriel Guzman Sent: Monday, December 29, 2014 9:49 AM To: misc@openbsd.org Subject: Re: Openbsd broke my hard drive twice! Getting frustrated I've been seeing a similar issue on a DELL XPS 13 Developer edition I got back in June -- ran fine with ubuntu as shipped with Dell, and then I wiped and installed OpenBSD and now can't even access the BIOS. I'm *sure* it's a BIOS issue as the BIOS is probably trying to do something silly with the hardisk. Haven't gotten around to flashing the BIOS to a newer version as I'm fairly sure I'll need to remove the harddisk before the system will even let me boot (and that involves taking apart most of the laptop). It's sad that BIOSes are so buggy these days, and a bit crazy that something you do to the disk would cause the BIOS to freak out. Oh well, whenever the Dell support people pick up the phone, I'll complain to them for all the good it will do. The Dell had no problem booting the install media from usb, was just when it came time to try and boot from HD that the BIOS freaked, and now won't allow me to access the BIOS settings or the choose which media to boot from menu. To the OP -- This is definitely not OpenBSD breaking your system, it's OpenBSD doing one of the things it does best... exposing bugs in *other* places (: and I feel your pain, it's quite frustrating when hardware we've paid for can't handle something that should be easy. gabe. I've got a Dell latitude E5440 that exhibits the same problem. But only with certain hard drives. I have some that work just fine and then some that will freeze the BIOS. I would recommend trying a different drive
Re: 500 httpd error with owncloud
File permissions should be ok, I changed the ownership of /var/www/owncloud and owncloud-data to www:www, no change whatsoever. It must be something with owncloud, because when I am not logged in, I can see the owncloud login screen just fine. Furthermore, a phpinfo() page works, too. But when I log in with a correct username and password, I get the 500 error. I already ran the server in the foreground, with increased verbosity. It only gives an unspecific error: default 192.168.178.18 - - [29/Dec/2014:16:58:15 +0100] GET /owncloud/index.php/apps/files/ HTTP/1.1 500 0 server default, client 5 (1 active), 192.168.178.18:54562 - 192.168.178.49, /owncloud/index.php/apps/files/ (500 Internal Server Error) Clemens On 29.12.14 16:42, mario wrote: Sqlite3 is is fine. As I said I use it. What about file permissions? Maybe run the httpd daemon in the foreground and increase its verbosity. Did you manage to run a simple perl or bash script through the server? Sent from Samsung Mobile Original message From: Clemens Goessnitzer e1126...@student.tuwien.ac.at Date: 12-29-2014 04:12 (GMT-05:00) To: misc@openbsd.org Subject: Re: 500 httpd error with owncloud $ ldd /usr/bin/sqlite3 /usr/bin/sqlite3: StartEnd Type Open Ref GrpRef Name 00b21e80 00b21ec11000 exe 10 0 /usr/bin/sqlite3 00b491c4e000 00b49212 rlib 01 0 /usr/lib/libsqlite3.so.28.0 00b498a0f000 00b498e42000 rlib 01 0 /usr/lib/libedit.so.5.1 00b430ec9000 00b431323000 rlib 01 0 /usr/lib/libcurses.so.14.0 00b472f65000 00b473377000 rlib 02 0 /usr/lib/libpthread.so.18.1 00b497b7e000 00b49806a000 rlib 01 0 /usr/lib/libc.so.78.0 00b44840 00b44840 rtld 01 0 /usr/libexec/ld.so I copied all libraries used by sqlite3 in the folder /var/www/usr/lib/: $ ls -lh /var/www/usr/lib/ total 17920 -r--r--r-- 1 root daemon 3.2M Dec 29 09:01 libc.so.78.0 -r--r--r-- 1 root daemon 1.4M Dec 29 09:01 libcurses.so.14.0 -r--r--r-- 1 root daemon 480K Dec 29 09:01 libedit.so.5.1 -r--r--r-- 1 root daemon 208K Dec 29 09:01 libpthread.so.18.1 -r--r--r-- 1 root daemon 3.4M Dec 29 09:01 libsqlite3.so.28.0 I think it has something to do with sqlite3 - this is just a guess. Trying to install wordpress form ports, it failed at the database setup (although wp uses mariadb/mysql). Has anyone else experienced such problems? Clemens
Re: Best way forward w.r.t. apache/nginx/httpd?
On Mon, Dec 29, 2014 at 14:30, T. Ribbrock wrote: b) Migrate to nginx This seems to be the least interesting option - not only do I have to migrate now, but once more in the future, as nginx is also on the way out (so, the same developer attention caveat applies as with apache) nginx hasn't disappeared entirely. It's still in ports. If you're running PHP, you're obviously not afraid of installing a few packages. nginx at least receives attention from its own team of developers. Their priorities are not always in alignment with OpenBSD (hence the new httpd), but it has a lot more of a future than apache1 does.
leaving linux - questions about capabilities
Greetings All, I've used OpenBSD in the past to build redundant routers and firewalls and it was fantastic, but it's been quite a few years since I've played with it. I've also never used it as my default workstation. Yet. I've always used Debian GNU/Linux on my workstations in the past, but with jessie/sid (and practically all other linux distros) the direction the linux userspace has taken is a serious turn for the worst IMO. I am simply philosophically at odds with systemd, and I would like to stop relying on linux altogether if possible. My problem is I have specific needs, and it's not clear if I can meet them running OpenBSD. I'm hoping I can, and someone can share their experiences with making a similar setup work. Firstly, I'm running an i7 960 with a PCI-e ATI Radeon 7850 in a three monitor configuration (2 direct DVI and 1 active HDMI-to-DVI dongle) using the OpenSource Radeon linux driver @1920x1200 on each monitor. I'm using enlightenment 17.6 as my window manager. I use and rely on blender http://www.blender.org a /lot/ with hardware accelerated OpenGL, and having three monitors is important for my graphics work. Is anyone running OpenBSD with three monitors? With blender, hw-accel OpenGL, and/or E1{7,8,9}? Your thoughts, knowledge, and possibly links to more info would be very greatly appreciated. Thank You. -- -C
Re: Best way forward w.r.t. apache/nginx/httpd?
emga...@gmx.net (T. Ribbrock), 2015.12.29 (Mon) 14:30 (CET): Hi all, I'm finally getting round to updating my home server (gets a fresh 5.6 install). Of course, there were a lot of changes over the past versions, one of them being the whole apache - nginx - httpd migration. My webserver has a CMS running which requires PHP and MySQL, plus a few more PHP-applications. Also, I have two or three virtual sites running and I'm currently considering having a look at something like Owncloud and/or Citadel. Given the current state of development in OpenBSD, I'm now wondering what the best way forward is for me: a) Install apache-httpd-openbsd from ports and keep my configuration basically as is Advantage: Less work to get everything running - I've done OpenBSD re-installs like that several times over the past years Disadvantage: I guess that the new httpd will get a lot more developer attention, so this does not seem the ideal option longterm, but I could always migrate to httpd later, e.g. when upgrading to 5.7 or (more likely) 5.8 b) Migrate to nginx This seems to be the least interesting option - not only do I have to migrate now, but once more in the future, as nginx is also on the way out (so, the same developer attention caveat applies as with apache) c) Migrate to httpd From what I've gathered so far from this list, this would basically require me to switch to -current, as the 5.6 version is too fresh and too many changes have happened since - or am I being pessimistic here? I've never run -current before, hence, I'm a bit hesitant... As I've understood it, there's no need to run -current to get a (fairly?) recent httpd(8): http://www.openbsd.org/errata56.html 009: RELIABILITY FIX: November 18, 2014 All architectures httpd was developed very rapidly in the weeks before 5.6 release, and it has a few flaws. It would be nice to get these flaws fully remediated before the next release, and that requires the community to want to use it. Therefore here is a jumbo patch that brings in the most important fixes. A source code patch exists which remedies this problem. http://ftp.openbsd.org/pub/OpenBSD/patches/5.6/common/009_httpd.patch.sig Do you know of http://stable.mtier.org/ , especially openup: http://www.mtier.org/index.php/solutions/apps/openup/ ? I tend to go for a) because I do not want to migrate twice - but maybe somebody else has some interesting points that I have not considered yet? I'd appreciate the input! For just your own business, I'd do a) and deal with httpd(8) later. For our all benefit, please run httpd(8) now, reyk@ will love your reports and you'd raise our chances for httpd(8) in 5.7. Bye, Marcus !DSPAM:54a157c8270671055614085!
Foundation's fundraising goal met, you can help push it further!
While idly checking the OpenBSD Foundation's web site today I noticed that the goal for the 2014 campaign (http://www.openbsdfoundation.org/campaign2014.html) has been met and even slightly exeeded (rigth now the total stands at 153,000 dollars). But as anybody following this mailing list knows, continued donations are vital to keeping the development of our favorite operating system going. If your company or organization uses OpenBSD, please have a word with whoever does money things and send them to the OpenBSD Foundation's Donations page http://www.openbsdfoundation.org/donations.html, credit card ready. I've heard rumors that donating and then taunting colleagues and superiors to at least match your donation might work too (and really, stunts like ebay auctions can be fun but tend to complicate things, see eg http://bsdly.blogspot.no/2014/10/the-book-of-pf-3rd-edition-is-here.html). Now how much higher can we push this year's total? - Peter -- Peter N. M. Hansteen, member of the first RFC 1149 implementation team http://bsdly.blogspot.com/ http://www.bsdly.net/ http://www.nuug.no/ Remember to set the evil bit on all malicious network traffic delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.
Re: Openbsd broke my hard drive twice! Getting frustrated
Got exactly the same issue with my Acer Aspire v5-573G several months ago. Drove me crazy like hell. Nice to know that I wasn't the only one facing this problem. Updating Acer BIOS didn't help, I had to remove HDD from SATA-connected slot altogether to be able to boot past BIOS check. Interesting observation, though - USB-booting worked without a hitch, both from a flash drive and from the same HDD connected externally through SATA-to-USB converter. I hope this helps with further investigation. On Mon, Dec 29, 2014 at 5:57 PM, Wade, Daniel dw...@meridium.com wrote: -Original Message- From: owner-m...@openbsd.org [mailto:owner-m...@openbsd.org] On Behalf Of Gabriel Guzman Sent: Monday, December 29, 2014 9:49 AM To: misc@openbsd.org Subject: Re: Openbsd broke my hard drive twice! Getting frustrated I've been seeing a similar issue on a DELL XPS 13 Developer edition I got back in June -- ran fine with ubuntu as shipped with Dell, and then I wiped and installed OpenBSD and now can't even access the BIOS. I'm *sure* it's a BIOS issue as the BIOS is probably trying to do something silly with the hardisk. Haven't gotten around to flashing the BIOS to a newer version as I'm fairly sure I'll need to remove the harddisk before the system will even let me boot (and that involves taking apart most of the laptop). It's sad that BIOSes are so buggy these days, and a bit crazy that something you do to the disk would cause the BIOS to freak out. Oh well, whenever the Dell support people pick up the phone, I'll complain to them for all the good it will do. The Dell had no problem booting the install media from usb, was just when it came time to try and boot from HD that the BIOS freaked, and now won't allow me to access the BIOS settings or the choose which media to boot from menu. To the OP -- This is definitely not OpenBSD breaking your system, it's OpenBSD doing one of the things it does best... exposing bugs in *other* places (: and I feel your pain, it's quite frustrating when hardware we've paid for can't handle something that should be easy. gabe. I've got a Dell latitude E5440 that exhibits the same problem. But only with certain hard drives. I have some that work just fine and then some that will freeze the BIOS. I would recommend trying a different drive
Re: 500 httpd error with owncloud
Sessions seem to be ok: # ls -lh /var/www/tmp/ total 36 drwxr-xr-x 2 www www 512B Dec 28 20:40 owncloud-some_number drwxr-xr-x 2 www www 512B Dec 29 08:59 owncloud-some_number drwxr-xr-x 2 www www 512B Dec 28 09:58 owncloud-some_number -rw--- 1 www www 403B Dec 29 16:14 sess_some_number -rw--- 1 www www 386B Dec 28 22:38 sess_some_number -rw--- 1 www www 340B Dec 29 10:33 sess_some_number -rw--- 1 www www 340B Dec 29 16:56 sess_some_number -rw--- 1 www www 403B Dec 29 16:55 sess_some_number -rw--- 1 www www 403B Dec 28 20:55 sess_some_number The first three directories are all empty, and some_number is an alphanumeric string. Taking a quick look in the session files did not reveal anything new to me - but I am not a developer at all :) Clemens On 12/29/14 17:41, Jan Vlach wrote: Just a wild guess off the list - where are the php session files stored? is that location accessible and writable in the chroot? Jan -- Be the change you want to see in the world. On 29. 12. 2014, at 17:01, Clemens Gößnitzer e1126...@student.tuwien.ac.at wrote: File permissions should be ok, I changed the ownership of /var/www/owncloud and owncloud-data to www:www, no change whatsoever. It must be something with owncloud, because when I am not logged in, I can see the owncloud login screen just fine. Furthermore, a phpinfo() page works, too. But when I log in with a correct username and password, I get the 500 error. I already ran the server in the foreground, with increased verbosity. It only gives an unspecific error: default 192.168.178.18 - - [29/Dec/2014:16:58:15 +0100] GET /owncloud/index.php/apps/files/ HTTP/1.1 500 0 server default, client 5 (1 active), 192.168.178.18:54562 - 192.168.178.49, /owncloud/index.php/apps/files/ (500 Internal Server Error) Clemens On 29.12.14 16:42, mario wrote: Sqlite3 is is fine. As I said I use it. What about file permissions? Maybe run the httpd daemon in the foreground and increase its verbosity. Did you manage to run a simple perl or bash script through the server? Sent from Samsung Mobile Original message From: Clemens Goessnitzer e1126...@student.tuwien.ac.at Date: 12-29-2014 04:12 (GMT-05:00) To: misc@openbsd.org Subject: Re: 500 httpd error with owncloud $ ldd /usr/bin/sqlite3 /usr/bin/sqlite3: StartEnd Type Open Ref GrpRef Name 00b21e80 00b21ec11000 exe 10 0 /usr/bin/sqlite3 00b491c4e000 00b49212 rlib 01 0 /usr/lib/libsqlite3.so.28.0 00b498a0f000 00b498e42000 rlib 01 0 /usr/lib/libedit.so.5.1 00b430ec9000 00b431323000 rlib 01 0 /usr/lib/libcurses.so.14.0 00b472f65000 00b473377000 rlib 02 0 /usr/lib/libpthread.so.18.1 00b497b7e000 00b49806a000 rlib 01 0 /usr/lib/libc.so.78.0 00b44840 00b44840 rtld 01 0 /usr/libexec/ld.so I copied all libraries used by sqlite3 in the folder /var/www/usr/lib/: $ ls -lh /var/www/usr/lib/ total 17920 -r--r--r-- 1 root daemon 3.2M Dec 29 09:01 libc.so.78.0 -r--r--r-- 1 root daemon 1.4M Dec 29 09:01 libcurses.so.14.0 -r--r--r-- 1 root daemon 480K Dec 29 09:01 libedit.so.5.1 -r--r--r-- 1 root daemon 208K Dec 29 09:01 libpthread.so.18.1 -r--r--r-- 1 root daemon 3.4M Dec 29 09:01 libsqlite3.so.28.0 I think it has something to do with sqlite3 - this is just a guess. Trying to install wordpress form ports, it failed at the database setup (although wp uses mariadb/mysql). Has anyone else experienced such problems? Clemens
Re: leaving linux - questions about capabilities
On Mon, Dec 29, 2014 at 11:17:55AM -0500, Christopher Barry wrote: Greetings All, I've used OpenBSD in the past to build redundant routers and firewalls and it was fantastic, but it's been quite a few years since I've played with it. I've also never used it as my default workstation. Yet. I've always used Debian GNU/Linux on my workstations in the past, but with jessie/sid (and practically all other linux distros) the direction the linux userspace has taken is a serious turn for the worst IMO. I am simply philosophically at odds with systemd, and I would like to stop relying on linux altogether if possible. My problem is I have specific needs, and it's not clear if I can meet them running OpenBSD. I'm hoping I can, and someone can share their experiences with making a similar setup work. Firstly, I'm running an i7 960 with a PCI-e ATI Radeon 7850 in a three monitor configuration (2 direct DVI and 1 active HDMI-to-DVI dongle) using the OpenSource Radeon linux driver @1920x1200 on each monitor. Hey, not 100% the same but similar setup on a workstation at work: Radeon HD4550 using radeondrm and two 1920x1080 monitors: DisplayPort-0 connected 1920x1080+1920+0 DVI-0 connected 1920x1080+0+0 Also have used multiple monitors on my i5-powered laptop, using its integrated intelHD video. I'm using enlightenment 17.6 as my window manager. I use and rely on I use openbox myself but enlightenment 0.17.5 is an available package. blender http://www.blender.org a /lot/ with hardware accelerated OpenGL, and having three monitors is important for my graphics work. blender is available in packages as well, though I have never used it. Is anyone running OpenBSD with three monitors? With blender, hw-accel OpenGL, and/or E1{7,8,9}? I'm sure three monitors would work just as well as two :) E17 does work, I have used it in the past. I play with OpenGL stuff quite regularly and it is my opinion that the recent drivers for intel and radeon video devices respectively perform roughly the same here as they do on freebsd or linux. No formal tests have been done by myself, strictly subjective experience. Your thoughts, knowledge, and possibly links to more info would be very greatly appreciated. Thank You. I would like to point out that I do follow current, both on my own workstations and my work workstation :) The FAQ on http://www.openbsd.org/ is always a good read. Cheers! --ryan
Re: 500 httpd error with owncloud
On Mon, Dec 29, 2014 at 11:51:21AM EST, Clemens Goessnitzer wrote: [...] The first three directories are all empty, and some_number is an alphanumeric string. Taking a quick look in the session files did not reveal anything new to me - but I am not a developer at all :) Hi Clemens, Since your initial email you have not included any config files, i.e. httpd.conf, etc. Would you, perhaps, care to share them with us? My shew stone is being serviced. Raf
Re: leaving linux - questions about capabilities
On Mon, 29 Dec 2014 09:29:15 -0800 Ryan Freeman r...@slipgate.org wrote: On Mon, Dec 29, 2014 at 11:17:55AM -0500, Christopher Barry wrote: Greetings All, I've used OpenBSD in the past to build redundant routers and firewalls and it was fantastic, but it's been quite a few years since I've played with it. I've also never used it as my default workstation. Yet. I've always used Debian GNU/Linux on my workstations in the past, but with jessie/sid (and practically all other linux distros) the direction the linux userspace has taken is a serious turn for the worst IMO. I am simply philosophically at odds with systemd, and I would like to stop relying on linux altogether if possible. My problem is I have specific needs, and it's not clear if I can meet them running OpenBSD. I'm hoping I can, and someone can share their experiences with making a similar setup work. Firstly, I'm running an i7 960 with a PCI-e ATI Radeon 7850 in a three monitor configuration (2 direct DVI and 1 active HDMI-to-DVI dongle) using the OpenSource Radeon linux driver @1920x1200 on each monitor. Hey, not 100% the same but similar setup on a workstation at work: Radeon HD4550 using radeondrm and two 1920x1080 monitors: DisplayPort-0 connected 1920x1080+1920+0 DVI-0 connected 1920x1080+0+0 Also have used multiple monitors on my i5-powered laptop, using its integrated intelHD video. I'm using enlightenment 17.6 as my window manager. I use and rely on I use openbox myself but enlightenment 0.17.5 is an available package. blender http://www.blender.org a /lot/ with hardware accelerated OpenGL, and having three monitors is important for my graphics work. blender is available in packages as well, though I have never used it. Is anyone running OpenBSD with three monitors? With blender, hw-accel OpenGL, and/or E1{7,8,9}? I'm sure three monitors would work just as well as two :) E17 does work, I have used it in the past. I play with OpenGL stuff quite regularly and it is my opinion that the recent drivers for intel and radeon video devices respectively perform roughly the same here as they do on freebsd or linux. No formal tests have been done by myself, strictly subjective experience. Your thoughts, knowledge, and possibly links to more info would be very greatly appreciated. Thank You. I would like to point out that I do follow current, both on my own workstations and my work workstation :) The FAQ on http://www.openbsd.org/ is always a good read. Cheers! --ryan Hey Ryan, Thanks for the thoughtful response. The move looks promising then. I'll definitely read the FAQ - thanks for the reminder. RE: OpenGL: It's great that it works, but is it taking advantage of the hw, or do you know if it is sw only? Some posts I've read seem less positive about that. Anyone else have any experiences to share? Thanks again, -- -C
Re: leaving linux - questions about capabilities
On Mon, Dec 29, 2014 at 12:45:14PM -0500, Christopher Barry wrote: On Mon, 29 Dec 2014 09:29:15 -0800 Ryan Freeman r...@slipgate.org wrote: On Mon, Dec 29, 2014 at 11:17:55AM -0500, Christopher Barry wrote: Greetings All, I've used OpenBSD in the past to build redundant routers and firewalls and it was fantastic, but it's been quite a few years since I've played with it. I've also never used it as my default workstation. Yet. I've always used Debian GNU/Linux on my workstations in the past, but with jessie/sid (and practically all other linux distros) the direction the linux userspace has taken is a serious turn for the worst IMO. I am simply philosophically at odds with systemd, and I would like to stop relying on linux altogether if possible. My problem is I have specific needs, and it's not clear if I can meet them running OpenBSD. I'm hoping I can, and someone can share their experiences with making a similar setup work. Firstly, I'm running an i7 960 with a PCI-e ATI Radeon 7850 in a three monitor configuration (2 direct DVI and 1 active HDMI-to-DVI dongle) using the OpenSource Radeon linux driver @1920x1200 on each monitor. Hey, not 100% the same but similar setup on a workstation at work: Radeon HD4550 using radeondrm and two 1920x1080 monitors: DisplayPort-0 connected 1920x1080+1920+0 DVI-0 connected 1920x1080+0+0 Also have used multiple monitors on my i5-powered laptop, using its integrated intelHD video. I'm using enlightenment 17.6 as my window manager. I use and rely on I use openbox myself but enlightenment 0.17.5 is an available package. blender http://www.blender.org a /lot/ with hardware accelerated OpenGL, and having three monitors is important for my graphics work. blender is available in packages as well, though I have never used it. Is anyone running OpenBSD with three monitors? With blender, hw-accel OpenGL, and/or E1{7,8,9}? I'm sure three monitors would work just as well as two :) E17 does work, I have used it in the past. I play with OpenGL stuff quite regularly and it is my opinion that the recent drivers for intel and radeon video devices respectively perform roughly the same here as they do on freebsd or linux. No formal tests have been done by myself, strictly subjective experience. Your thoughts, knowledge, and possibly links to more info would be very greatly appreciated. Thank You. I would like to point out that I do follow current, both on my own workstations and my work workstation :) The FAQ on http://www.openbsd.org/ is always a good read. Cheers! --ryan Hey Ryan, Thanks for the thoughtful response. The move looks promising then. I'll definitely read the FAQ - thanks for the reminder. RE: OpenGL: It's great that it works, but is it taking advantage of the hw, or do you know if it is sw only? Some posts I've read seem less positive about that. It is important to note that the GCN/radeonsi Radeons are very different to the earlier parts. For the 7850/Pitcairn parts there is kernel modesetting support but no 2D or 3D acceleration because all acceleration depends on glamor-egl and LLVM. If you're after acceleration for now it is = Haswell for Intel (excluding Bay Trail) or = Northern Islands for Radeon.
Re: 500 httpd error with owncloud
Hey, Since your initial email you have not included any config files, i.e. httpd.conf, etc. Would you, perhaps, care to share them with us? My shew stone is being serviced. Of course. Here they are: # cat /etc/httpd.conf server default { listen on wpi0 port 80 directory { no index, index index.php } location *.php { fastcgi socket /run/php-fpm.sock } } types { include /usr/share/misc/mime.types } /etc/php-5.5.ini: everything default except the values mentioned in the pkg-readme of owncloud: allow_url_fopen = On memory_limit = 512M upload_max_filesize = 1024M # to accept large files upload post_max_size = 1030M# sync with above value all other php module config files unchanged, and active according to phpinfo(). # cat /var/www/owncloud/config/config.php ?php $CONFIG = array ( 'instanceid' = 'MY_ID', 'passwordsalt' = 'MY_PW-SALT', 'secret' = 'MY_SECRECT', 'trusted_domains' = array ( 0 = '192.168.178.49', ), 'datadirectory' = '/owncloud-data', 'overwrite.cli.url' = 'http://192.168.178.49/owncloud', 'dbtype' = 'sqlite3', 'version' = '7.0.4.2', 'dbname' = 'owncloud_db', 'dbhost' = '127.0.0.1', 'dbtableprefix' = 'oc_', 'dbuser' = 'oc_clemens', 'dbpassword' = 'MY_DB-PASSWORD', 'installed' = true, ); change in /etc/my.conf as described in the mariadb pkg-readme (I did not manage to use MariaDB with owncloud or wordpress yet): chrooted daemons and MariaDB socket === For external program running under a chroot(8) to be able to access the MariaDB server without using a network connection, the socket must be placed inside the chroot. e.g. httpd(8) or nginx(8): connecting to MariaDB from PHP - Create a directory for the MariaDB socket: # install -d -m 0711 -o _mysql -g _mysql /var/www/var/run/mysql Adjust /etc/my.cnf to put and connect to the MariaDB socket within the chroot: [client] socket = /var/www/var/run/mysql/mysql.sock [mysqld] socket = /var/www/var/run/mysql/mysql.sock If I missed a config file, let me know! Clemens
Re: leaving linux - questions about capabilities
On 12/29/14 17:45, Christopher Barry wrote: On Mon, 29 Dec 2014 09:29:15 -0800 Ryan Freeman r...@slipgate.org wrote: On Mon, Dec 29, 2014 at 11:17:55AM -0500, Christopher Barry wrote: Greetings All, I've used OpenBSD in the past to build redundant routers and firewalls and it was fantastic, but it's been quite a few years since I've played with it. I've also never used it as my default workstation. Yet. I've always used Debian GNU/Linux on my workstations in the past, but with jessie/sid (and practically all other linux distros) the direction the linux userspace has taken is a serious turn for the worst IMO. I am simply philosophically at odds with systemd, and I would like to stop relying on linux altogether if possible. My problem is I have specific needs, and it's not clear if I can meet them running OpenBSD. I'm hoping I can, and someone can share their experiences with making a similar setup work. Firstly, I'm running an i7 960 with a PCI-e ATI Radeon 7850 in a three monitor configuration (2 direct DVI and 1 active HDMI-to-DVI dongle) using the OpenSource Radeon linux driver @1920x1200 on each monitor. Hey, not 100% the same but similar setup on a workstation at work: Radeon HD4550 using radeondrm and two 1920x1080 monitors: DisplayPort-0 connected 1920x1080+1920+0 DVI-0 connected 1920x1080+0+0 Also have used multiple monitors on my i5-powered laptop, using its integrated intelHD video. I'm using enlightenment 17.6 as my window manager. I use and rely on I use openbox myself but enlightenment 0.17.5 is an available package. blender http://www.blender.org a /lot/ with hardware accelerated OpenGL, and having three monitors is important for my graphics work. blender is available in packages as well, though I have never used it. Is anyone running OpenBSD with three monitors? With blender, hw-accel OpenGL, and/or E1{7,8,9}? I'm sure three monitors would work just as well as two :) E17 does work, I have used it in the past. I play with OpenGL stuff quite regularly and it is my opinion that the recent drivers for intel and radeon video devices respectively perform roughly the same here as they do on freebsd or linux. No formal tests have been done by myself, strictly subjective experience. Your thoughts, knowledge, and possibly links to more info would be very greatly appreciated. Thank You. I would like to point out that I do follow current, both on my own workstations and my work workstation :) The FAQ on http://www.openbsd.org/ is always a good read. Cheers! --ryan Hey Ryan, Thanks for the thoughtful response. The move looks promising then. I'll definitely read the FAQ - thanks for the reminder. RE: OpenGL: It's great that it works, but is it taking advantage of the hw, or do you know if it is sw only? Some posts I've read seem less positive about that. Anyone else have any experiences to share? Thanks again, -- -C I currently have three monitors connected to my laptop but if I try to enable X on the third one I'm getting the following error: port:fred ~ xrandr --output VGA1 --auto xrandr: cannot find crtc for output VGA1 But blender 2.72 is running fine (I wish I new how to use it properly). Output of xrandr and dmesg below if interested. hth Fred PS twitter pic of two monitors: https://twitter.com/fcbsd/status/549669313268170752 port:fred ~ xrandr Screen 0: minimum 320 x 200, current 3286 x 1080, maximum 32767 x 32767 LVDS1 connected 1366x768+1920+0 (normal left inverted right x axis y axis) 0mm x 0mm 1366x768 60.17*+ 1024x768 60.00 800x600 60.3256.25 640x480 59.94 VGA1 connected (normal left inverted right x axis y axis) 1920x1080 60.00 + 1680x1050 59.95 1600x900 59.98 1280x1024 75.0260.02 1440x900 59.89 1280x800 59.81 1152x864 75.00 1280x720 59.97 1024x768 75.0870.0760.00 832x624 74.55 800x600 72.1975.0060.3256.25 640x480 72.8166.6760.00 720x400 70.08 HDMI1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 477mm x 268mm 1920x1080 60.00*+ 50.00 1920x1080i60.00 1680x1050 59.88 1400x1050 59.95 1600x900 59.98 1280x1024 60.02 1440x900 59.90 1280x800 59.91 1152x864 59.97 1280x720 50.00 1024x768 60.00 800x600 60.32 720x576 50.00 720x480 59.94 640x480 60.0059.94 DP1 disconnected (normal left inverted right x axis y axis) HDMI2 disconnected (normal left inverted right x axis y axis) HDMI3 disconnected (normal left inverted right x axis y axis) DP2 disconnected (normal left inverted right x axis y axis) DP3 disconnected (normal left inverted right x axis y axis) VIRTUAL1 disconnected (normal left inverted right x axis y axis) dmesg: OpenBSD 5.6-current (GENERIC.MP) #731: Tue Dec 23 12:12:38 MST 2014
Re: Best way forward w.r.t. apache/nginx/httpd?
I'm not experiencing any problems with httpd and php, but I don't have a need for any of the extras you can get with the other two. It actually seems to be performing better than nginx from what I can tell. On 12/29/14 10:07, Ted Unangst wrote: On Mon, Dec 29, 2014 at 14:30, T. Ribbrock wrote: b) Migrate to nginx This seems to be the least interesting option - not only do I have to migrate now, but once more in the future, as nginx is also on the way out (so, the same developer attention caveat applies as with apache) nginx hasn't disappeared entirely. It's still in ports. If you're running PHP, you're obviously not afraid of installing a few packages. nginx at least receives attention from its own team of developers. Their priorities are not always in alignment with OpenBSD (hence the new httpd), but it has a lot more of a future than apache1 does.
Re: Best way forward w.r.t. apache/nginx/httpd?
On 2014-12-29, T. Ribbrock emga...@gmx.net wrote: Given the current state of development in OpenBSD, I'm now wondering what the best way forward is for me: a) Install apache-httpd-openbsd from ports and keep my configuration basically as is Advantage: Less work to get everything running - I've done OpenBSD re-installs like that several times over the past years Disadvantage: I guess that the new httpd will get a lot more developer attention, so this does not seem the ideal option longterm, but I could always migrate to httpd later, e.g. when upgrading to 5.7 or (more likely) 5.8 apache-httpd-openbsd is a dead-end, it's not actively developed, ssl support is poor, third-party documentation relating to use of webapps with Apache has long since moved to Apache 2. It's mainly there to provide a quick migration path for existing OpenBSD users and to ease the pain in ports. b) Migrate to nginx This seems to be the least interesting option - not only do I have to migrate now, but once more in the future, as nginx is also on the way out (so, the same developer attention caveat applies as with apache) This might be a reasonable choice, especially if the CMS you're looking at already documents how to use it with nginx. c) Migrate to httpd From what I've gathered so far from this list, this would basically require me to switch to -current, as the 5.6 version is too fresh and too many changes have happened since - or am I being pessimistic here? I've never run -current before, hence, I'm a bit hesitant... Personally I don't think httpd is quite ready for use with a typical PHP-based CMS yet (including -current). Two big issues for this type of use: clean urls functionality in most CMS needs rewrite support which httpd doesn't have. httpd's fastcgi support passes every url matching a location block to the handler meaning there's no mitigation for the issue described in http://wiki.nginx.org/Pitfalls#Passing_Uncontrolled_Requests_to_PHP (which also affects naive nginx configurations). I tend to go for a) because I do not want to migrate twice - but maybe somebody else has some interesting points that I have not considered yet? I'd appreciate the input! Another option is to migrate to apache 2, this tends to be quite well supported by webapp authors, though it's not very widely used in OpenBSD land. Or other servers like lighttpd are available. What would I choose? Depends on the particular webapp...
Re: leaving linux - questions about capabilities
On Mon, Dec 29, 2014 at 12:45:14PM -0500, Christopher Barry wrote: On Mon, 29 Dec 2014 09:29:15 -0800 Ryan Freeman r...@slipgate.org wrote: On Mon, Dec 29, 2014 at 11:17:55AM -0500, Christopher Barry wrote: Greetings All, I've used OpenBSD in the past to build redundant routers and firewalls and it was fantastic, but it's been quite a few years since I've played with it. I've also never used it as my default workstation. Yet. I've always used Debian GNU/Linux on my workstations in the past, but with jessie/sid (and practically all other linux distros) the direction the linux userspace has taken is a serious turn for the worst IMO. I am simply philosophically at odds with systemd, and I would like to stop relying on linux altogether if possible. My problem is I have specific needs, and it's not clear if I can meet them running OpenBSD. I'm hoping I can, and someone can share their experiences with making a similar setup work. Firstly, I'm running an i7 960 with a PCI-e ATI Radeon 7850 in a three monitor configuration (2 direct DVI and 1 active HDMI-to-DVI dongle) using the OpenSource Radeon linux driver @1920x1200 on each monitor. Hey, not 100% the same but similar setup on a workstation at work: Radeon HD4550 using radeondrm and two 1920x1080 monitors: DisplayPort-0 connected 1920x1080+1920+0 DVI-0 connected 1920x1080+0+0 Also have used multiple monitors on my i5-powered laptop, using its integrated intelHD video. I'm using enlightenment 17.6 as my window manager. I use and rely on I use openbox myself but enlightenment 0.17.5 is an available package. blender http://www.blender.org a /lot/ with hardware accelerated OpenGL, and having three monitors is important for my graphics work. blender is available in packages as well, though I have never used it. Is anyone running OpenBSD with three monitors? With blender, hw-accel OpenGL, and/or E1{7,8,9}? I'm sure three monitors would work just as well as two :) E17 does work, I have used it in the past. I play with OpenGL stuff quite regularly and it is my opinion that the recent drivers for intel and radeon video devices respectively perform roughly the same here as they do on freebsd or linux. No formal tests have been done by myself, strictly subjective experience. Your thoughts, knowledge, and possibly links to more info would be very greatly appreciated. Thank You. I would like to point out that I do follow current, both on my own workstations and my work workstation :) The FAQ on http://www.openbsd.org/ is always a good read. Cheers! --ryan Hey Ryan, Thanks for the thoughtful response. The move looks promising then. I'll definitely read the FAQ - thanks for the reminder. RE: OpenGL: It's great that it works, but is it taking advantage of the hw, or do you know if it is sw only? Some posts I've read seem less positive about that. Sorry I was not clear, it works with hardware for me :) no software renderer here! That being said, you mention a rather lofty radeon card, Jonathan Gray replied with some valuable info there, unfortunately if your card falls ABOVE the category he outlines, it will be rather unaccellerated for most useful things at this time. If you have an older radeon card you upgraded from and are willing to use it in the mean time, that could be a stepping stone for you. Cheers! --ryan Anyone else have any experiences to share? Thanks again, -- -C
Re: A christmassy related issue with traceroute
On 2014-12-26, Michael lesniewskis...@gmail.com wrote: Apologies, I must've missed something that was mentioned in the man pages, in OpenBSD it seems that addresses are printed for each attempt rather than (the other OS' tested, Win, Debian, Android) that seem to take the first returned name for example It just seemed odd as both the man pages on the other os' and OpenBSD state that three probes (by default) are sent at each ttl setting and a line is printed showing the ttl, address of the gateway and round trip time. It is just the first time I have seen this as other os that I have had experience of show things differently (as below). At least one of the ISPs showing in your traceroute is using multipath routing, some of the packets you are sending take a different path to others. traceroute is simply showing you which routers returned those packets. If other traceroute programs don't show this, then either they are doing something different that causes the same path to be taken for all packets (perhaps they are using icmp instead of udp) or perhaps they are just hiding some of the information.
Re: A christmassy related issue with traceroute
On 2014-12-26, Michael lesniewskis...@gmail.com wrote: Apologies, I must've missed something that was mentioned in the man pages, in OpenBSD it seems that addresses are printed for each attempt rather than (the other OS' tested, Win, Debian, Android) that seem to take the first returned name for example It just seemed odd as both the man pages on the other os' and OpenBSD state that three probes (by default) are sent at each ttl setting and a line is printed showing the ttl, address of the gateway and round trip time. It is just the first time I have seen this as other os that I have had experience of show things differently (as below). At least one of the ISPs showing in your traceroute is using multipath routing, some of the packets you are sending take a different path to others. traceroute is simply showing you which routers returned those packets. If other traceroute programs don't show this, then either they are doing something different that causes the same path to be taken for all packets (perhaps they are using icmp instead of udp) or perhaps they are just hiding some of the information. Or I'll say it my way; They are dumbing down how the internet works, for well, you decide who they are doing that for. In general every packet takes own way, and presuming otherwise is a trap.
Re: Openbsd broke my hard drive twice! Getting frustrated
Linux supports the UEFI boot loader. OpenBSD does not. Before installing OpenBSD you need to enter its setup and enable legacy support. You don't need to do that with Linux. https://en.wikipedia.org/wiki/Unified_Extensible_Firmware_Interface On Mon, Dec 29, 2014, at 09:49 AM, Gabriel Guzman wrote: I've been seeing a similar issue on a DELL XPS 13 Developer edition I got back in June -- ran fine with ubuntu as shipped with Dell, and then I wiped and installed OpenBSD and now can't even access the BIOS. I'm *sure* it's a BIOS issue as the BIOS is probably trying to do something silly with the hardisk. Haven't gotten around to flashing the BIOS to a newer version as I'm fairly sure I'll need to remove the harddisk before the system will even let me boot (and that involves taking apart most of the laptop). It's sad that BIOSes are so buggy these days, and a bit crazy that something you do to the disk would cause the BIOS to freak out. Oh well, whenever the Dell support people pick up the phone, I'll complain to them for all the good it will do. The Dell had no problem booting the install media from usb, was just when it came time to try and boot from HD that the BIOS freaked, and now won't allow me to access the BIOS settings or the choose which media to boot from menu. To the OP -- This is definitely not OpenBSD breaking your system, it's OpenBSD doing one of the things it does best... exposing bugs in *other* places (: and I feel your pain, it's quite frustrating when hardware we've paid for can't handle something that should be easy. gabe.
Re: nginx how to run first site as open , and second
On 2014-12-29 at 08:59 CET Tuyosi Takesima wrote: Hi ,all . how to compile nginx who has ability of basic auth using ports ? according to http://wiki.nginx.org/Modules , if auth_basic is not wanted, compile nginx --without-http_auth_basic_module . --- i need basic auth because of family privacy photos , i run nginx on arch linux out of need . nginx.conf is worker_processes 1; events { worker_connections 1024; } http { include mime.types; default_type application/octet-stream; sendfileon; keepalive_timeout 65; # local server { listen 80; server_name localhost; root /mnt-nginx/d3; index index.html index.htm; auth_basic Restricted; auth_basic_user_file /etc/nginx/13/.htpasswd; # 13 insted of require } #-open-mydns server { listen 80; server_name a.mydns.jp; root /mnt-nginx/d1; index index.html index.htm; } #-basic auth---ddns server { listen 80; server_name s.sun.ddns.vc; root /mnt-nginx/htdocs/Fam; index index.html index.htm; auth_basic Restricted; auth_basic_user_file /etc/nginx/1/.htpasswd; # 1 insted of require } } --- tuyosi Hiya, basic_auth is available by default in nginx on OpenBSD. You do not need to compile it with any special flags/settings. Thus you can set your PACKAGE_PATH to a mirror near you and simply do # pkg_add nginx or if you really want to compile it (why?) you can build it from ports $ cd /usr/ports/www/nginx $ make $ sudo make install See http://www.openbsd.org/faq/faq15.html for the documentation of the package and ports system. Be aware that nginx on OpenBSD runs in a proper chroot under /var/www, thus you need to create the directories /var/www/etc/nginx/1 and /var/www/etc/nginx/13 and put your .htpasswd files there if you want to use your configuration as quoted above. Otherwise you will get errors like *1 open() /etc/nginx/conf/13/.htpasswd failed (2: No such file or directory) in /var/www/logs/error.log The same goes for the document roots. You will need the directories /var/www/mnt-nginx/d1 /var/www/mnt-nginx/d3 /var/www/mnt-nginx/htdocs/Fam for your unaltered configuration to work. Note that basic_auth over unencrypted http might be a weak authentication mechanism for your purpose. Also note that the nginx-package does not bring you the htpasswd program to generate your .htaccess files. htpasswd is in the OpenBSD base system since OpenBSD 5.6 HTH rru
Re: leaving linux - questions about capabilities
On Mon, Dec 29, 2014 at 08:57:15PM +, Fred wrote: I currently have three monitors connected to my laptop but if I try to enable X on the third one I'm getting the following error: port:fred ~ xrandr --output VGA1 --auto xrandr: cannot find crtc for output VGA1 ... vga1 at pci0 dev 2 function 0 Intel HD Graphics 3000 rev 0x09 Sandy bridge only has two output pipes, it isn't possible to use three outputs. Radeon hardware tends to support more outputs http://xorg.freedesktop.org/wiki/RadeonFeature/#index7h2 Ivy bridge supports three outputs with two of them sharing a clock assuming the sytem has two displayport outputs (and none do?). Haswell is a bit less restrictive still. Quoting https://01.org/linuxgraphics/documentation/3-pipes 3-pipes is a feature that allows users to have 3 Monitors plugged in. It is present at 3rd Generation Intel Core processors with Intel HD Graphics (codenamed IvyBridge) and 4th Generation Intel Core processors with Intel HD Graphics (codenamed Haswell). For other platforms only Dual outputs are supported. IvyBridge limitations In order to get 3 screen outputs at Ivybridge you shall use 2 Display Ports + any display with some limitations on modes supported. Haswell limitations Haswell 3-pipes is less restrictive than Ivybridge. You can have 3 screns with * 2 Display Ports + any display * 1 Display Port and 2 HDMI or DVI * 1 VGA and 2 HDMI or DVI and no restrictions on mode combination.
Re: nginx how to run first site as open , and second
thanks for good advise . surely no need to compile to obtain basic auth . my test nginx.conf is next . cat /etc/nginx /nginx.conf worker_processes 1; worker_rlimit_nofile 1024; events { worker_connections 800; } http { include mime.types; default_type application/octet-stream; index index.html index.htm; keepalive_timeout 65; server_tokens off; server { listen 80; listen [::]:80 server_name s.sun.ddns.vc; root /var/www/htdocs; error_page 500 502 503 504 /50x.html; auth_basic Restricted; auth_basic_user_file /var/www/1/.htpasswd; location = /50x.html { root /var/www/htdocs; } } } when intenal server error occur .i overcom by ' chown -R www /var/www ' . is this right ? -- tuyosi
Re: nginx how to run first site as open , and second
Hi, On 2014-12-30 on 05:30 CET Tuyosi Takesima wrote : thanks for good advise . surely no need to compile to obtain basic auth . my test nginx.conf is next . cat /etc/nginx /nginx.conf worker_processes 1; worker_rlimit_nofile 1024; events { worker_connections 800; } http { include mime.types; default_type application/octet-stream; index index.html index.htm; keepalive_timeout 65; server_tokens off; server { listen 80; listen [::]:80 You are missing a ; here--^ server_name s.sun.ddns.vc; root /var/www/htdocs; error_page 500 502 503 504 /50x.html; auth_basic Restricted; auth_basic_user_file /var/www/1/.htpasswd; location = /50x.html { root /var/www/htdocs; } } } when intenal server error occur .i overcom by ' chown -R www /var/www ' . is this right ? No. You just need to check the entries in /var/www/logs/error.log where you will probably find something like *1 open() /1/.htpasswd failed (13: Permission denied), and so you should check the ownership of /var/www/1/.htpasswd . This file must be readable by user www. It should be something like $ ls -l /var/www/1/.htpasswd -r 1 www daemon 67 Dec 30 05:50 .htpasswd If you created .htpasswd as root or another user the ownership will probably be wrong. No need to change the ownership of the whole tree under /var/www . -- tuyosi Cheers, rru
Re: leaving linux - questions about capabilities
On Mon, Dec 29, 2014 at 10:45:48PM EST, Jonathan Gray wrote: Ivy bridge supports three outputs with two of them sharing a clock assuming the sytem has two displayport outputs (and none do?). All SFF and USFF Dell Optiplex desktop PCs in the 70x0 and 90x0 series[0] have 1 x VGA and 2 x DisplayPort video outputs. I very much doubt they are the only ones. [0] namely 7010, 7020, 9010 and 9020 models Regards, Raf
Re: 500 httpd error with owncloud
On 2014-12-29, Clemens Gößnitzer e1126...@student.tuwien.ac.at wrote: Hey, Since your initial email you have not included any config files, i.e. httpd.conf, etc. Would you, perhaps, care to share them with us? My shew stone is being serviced. Of course. Here they are: # cat /etc/httpd.conf server default { listen on wpi0 port 80 directory { no index, index index.php } location *.php { fastcgi socket /run/php-fpm.sock } } types { include /usr/share/misc/mime.types } /etc/php-5.5.ini: everything default except the values mentioned in the pkg-readme of owncloud: allow_url_fopen = On memory_limit = 512M upload_max_filesize = 1024M # to accept large files upload post_max_size = 1030M# sync with above value all other php module config files unchanged, and active according to phpinfo(). # cat /var/www/owncloud/config/config.php ?php $CONFIG = array ( 'instanceid' = 'MY_ID', 'passwordsalt' = 'MY_PW-SALT', 'secret' = 'MY_SECRECT', 'trusted_domains' = array ( 0 = '192.168.178.49', ), 'datadirectory' = '/owncloud-data', 'overwrite.cli.url' = 'http://192.168.178.49/owncloud', 'dbtype' = 'sqlite3', 'version' = '7.0.4.2', 'dbname' = 'owncloud_db', 'dbhost' = '127.0.0.1', 'dbtableprefix' = 'oc_', 'dbuser' = 'oc_clemens', 'dbpassword' = 'MY_DB-PASSWORD', 'installed' = true, ); Was the sqlite database created? 'installed = true' means that it assumes that the database is functional and it will not be initialized. Also you will not need the hostname, user, db prefix, etc. with sqlite. Also make sure that you don't need any url rewrites. I'm using owncloud-6.0.4 and the documentation recommends url rewrites which are not mandatory for owncloud to work but perhaps this changed in the new version. Perhaps you should try with nginx and the recommended configuration and see if it works and then go back to httpd. Best regards, Jona