Re: LAMP/LEMP equivalent bundle?

2019-09-24 Thread Implausibility
> On Sep 21, 2019, at 2:05 AM, Martijn van Duren 
>  wrote:
> 
> On 9/20/19 8:57 PM, Implausibility wrote:
>> Hi.
>> 
>> I'm trying to move a few system off of Linux, and onto OpenBSD...  I'm
>> trying to get it "right" the first time.
>> 
> That fully depends on the application you want to run and what that
> application requires. Note that there's a difference between what
> an application requires and what they document on how to set things
> up.
> 
> If you are going to write it yourself just use what you're
> comfortable with. Just keep sane coding practises in mind.
> 

I'm currently running WordPress & Mediawiki...  But those servers are outdated 
(PHP5.6.x) so I'm looking for a  bundle/meta-package that has the latest 
versions of the stack, mostly configured to interoperate.  I'm agnostic when it 
comes to the web server or database itself.  I've been looking through 
OpenPorts.se, and I see there are some meta packages, but none for a web 
environment.




LAMP/LEMP equivalent bundle?

2019-09-20 Thread Implausibility
Hi.

I'm trying to move a few system off of Linux, and onto OpenBSD...  I'm
trying to get it "right" the first time.

I'm wondering if there's a 'bundle' or 'stack' of a web server
environment for OpenBSD...  Something like...

OpenBSD +
(Apache | NGINX |OpenHHTPD)
(MySQL/MariaDB/??)
(Perl/PHP/Python)

Thanks.  :)


Re: building 5.8 stable with ports, lynx is wrong

2016-03-08 Thread Implausibility
There is still a problem with lynx in OpenBSD 5.8, and it sounds related to 
this issue, as it's complaining that the appropriate version number can't be 
found. 

I downloaded ports.tar.gz today (dated August 10th, 2015), and building firefox 
fails because lynx can't be built -- there's a 404 error while it's trying to 
download the specified version number.

I'm rather new to OpenBSD, so how do I get a fresher copy of either...
 - the ports archive
 - the makefile for lynx in /usr/ports
 - lynx so that the build system will recognize it as having been installed

...?

Thanks.


> On Feb 1, 2016, at 7:15 PM, sven falempin  wrote:
> 
> On Mon, Feb 1, 2016 at 5:19 PM, Stuart Henderson  wrote:
> 
>> On 2016/02/01 16:21, sven falempin wrote:
>>> On Mon, Feb 1, 2016 at 3:22 PM, Stuart Henderson 
>> wrote:
>>> 
 On 2016/02/01 14:36, sven falempin wrote:
> Also ftp disagree on the minor
> base is 4, and france is 8
 
 I can't make sense of your email.
 
>> 
>> Oh, you are talking about the distfile mirroring. This is only done
>> periodically.
>> 
>>> base is 4:
>> 
>> This would have been clearer if you had said 'ftp.openbsd.org' instead
>> of 'base', and especially if you had mentioned 'distfiles'. Most people
>> here will think 'base' is talking about 'the base OS'.
>> 
>>> http://ftp.fr.openbsd.org/pub/OpenBSD/distfiles/lynx2.8.9dev.8.tar.bz2
>>> france is 8:
>>> http://ftp.openbsd.org/pub/OpenBSD/distfiles/lynx2.8.9dev.4.tar.bz2
>>> Makefile is 6:
>>> lynx2.8.9dev.6.tar.bz2
>> 
>> The port Makefile and the packages in snapshots are for lynx2.8.9dev.8.
>> 
>> ftp.openbsd.org should catch up in distfiles/ sometime, but it's not
>> very important, this is only used as a backup if the main server
>> listed in the port's Makefile as MASTER_SITES is down, or if the
>> file has been removed from there.
>> 
>> 
> it is not important, but the .8 is not building , patch does not apply ,
> while .4 is building.
> 
> and master site is down :-( since friday
> 
> the patch put the home page to openbsd instead of lynx,
> 
> even more important :D
> 
> -- 
> -
> () ascii ribbon campaign - against html e-mail
> /\
> 



Trouble with Courier-authlib - won't connect to MySQL/MariaDB

2016-01-02 Thread Implausibility
Hi.

I'm rather new to OpenBSD, but I've hit a wall while doing a 'dry-run' to work 
out the bugs (and get familiar with OpenBSD) and build a new mail server on 
OpenBSD with Postfix, MySQL/MariaDB, and Courier-authlib.

I've been following this tutorial, and while dated, I've found it closely 
matches the features I want in a mail server:  
http://www.kernel-panic.it/openbsd/mail/

This is OpenBSD 5.8 on i386 in a VMware partition.

In short, I can't seem to authenticate through Courier-authlib.  The messages I 
get consistently are:

Jan  2 19:31:18 mail pop3d-ssl: LOGIN FAILED, user=open...@hottub.ca, 
ip=[:::10.0.1.162]
Jan  2 19:31:18 mail pop3d-ssl: authentication error: Input/output error
Jan  2 19:31:18 mail authdaemond: stopping authdaemond children
Jan  2 19:31:18 mail authdaemond: restarting authdaemond children
Jan  2 19:31:18 mail authdaemond: modules="authmysql", daemons=10
Jan  2 19:31:18 mail authdaemond: Uninstalling authmysql
Jan  2 19:31:18 mail authdaemond: Installing libauthmysql
Jan  2 19:31:18 mail authdaemond: Installation complete: authmysql

I've reviewed the posts to the ports mailing list for the last two years, and 
the changes don't seem to be related (ie, not a unicode issue, not an SSLv3 
issue).

My best guess is that authdaemond can't connect to MySQL/MariaDB, despite the 
fact that I've triple-checked the configuration files, tested the connectivity 
from the command line, etc.  I found one article that documented similar 
output, but I'm not advanced enough to recompile the entire build tree (it ran 
for an hour, errored out, and didn't want to head down that bottomless hole).

Here's the article on that:  
https://serverfault.com/questions/638245/courier-imap-pop3d-auth-over-mysql

Hopefully recompilation isn't the only way forward.

My second guess relates to the fact that I'm storing the passwords as MD5 
hashes in the database table, but that it's expecting something else.


So, I'm going to try and add as much detail as I can think of:

Here are the running processes:

# Courier
root  8986  0.0  0.1   252   716 ??  I  3:56PM0:00.00 
/usr/local/sbin/courierlogger -pid=/var/run/courier/pop3d.pid -start 
-name=pop3d /usr/local/libexec/couriertcpd -address=0 -maxprocs=40 -maxperip=4 
-nodnslookup -noidentlookup 110 /usr/local/sbin/pop3login /usr/local/bin/pop3d 
Maildir
root 27307  0.0  0.1   348  1140 ??  I  3:56PM0:00.01 
/usr/local/libexec/couriertcpd -address=0 -maxprocs=40 -maxperip=4 -nodnslookup 
-noidentlookup 110 /usr/local/sbin/pop3login /usr/local/bin/pop3d Maildir
root 23006  0.0  0.3   428  2784 ??  I  6:06PM0:00.54 
/usr/local/libexec/courier-authlib/authdaemond
root 31281  0.0  0.1   384   868 ??  I  6:06PM0:00.01 
/usr/local/sbin/courierlogger -pid=/var/run/courier-auth/pid -start 
/usr/local/libexec/courier-authlib/authdaemond
root 14519  0.0  0.1   388   860 ??  I  6:06PM0:00.01 
/usr/local/sbin/courierlogger -pid=/var/run/courier/pop3d-ssl.pid -start 
-name=pop3d-ssl /usr/local/libexec/couriertcpd -address=0 -maxprocs=40 
-maxperip=4 -nodnslookup -noidentlookup 995 /usr/local/bin/couriertls -server 
-tcpd /usr/local/sbin/pop3login /usr/local/bin/pop3d Maildir
root 18844  0.0  0.1   336  1160 ??  I  6:06PM0:00.03 
/usr/local/libexec/couriertcpd -address=0 -maxprocs=40 -maxperip=4 -nodnslookup 
-noidentlookup 995 /usr/local/bin/couriertls -server -tcpd 
/usr/local/sbin/pop3login /usr/local/bin/pop3d Maildir
root 10725  0.0  0.0   428   324 ??  I  7:37PM0:00.01 
/usr/local/libexec/courier-authlib/authdaemond
root 27621  0.0  0.0   428   324 ??  I  7:37PM0:00.01 
/usr/local/libexec/courier-authlib/authdaemond
root  5037  0.0  0.0   428   324 ??  I  7:37PM0:00.01 
/usr/local/libexec/courier-authlib/authdaemond
root  1429  0.0  0.0   428   324 ??  I  7:37PM0:00.01 
/usr/local/libexec/courier-authlib/authdaemond
root 21358  0.0  0.0   428   324 ??  I  7:37PM0:00.01 
/usr/local/libexec/courier-authlib/authdaemond
root 25048  0.0  0.0   428   324 ??  I  7:37PM0:00.01 
/usr/local/libexec/courier-authlib/authdaemond
root 26293  0.0  0.0   428   324 ??  I  7:37PM0:00.01 
/usr/local/libexec/courier-authlib/authdaemond
root 24357  0.0  0.0   428   324 ??  I  7:37PM0:00.01 
/usr/local/libexec/courier-authlib/authdaemond
root  3976  0.0  0.0   428   324 ??  I  7:37PM0:00.00 
/usr/local/libexec/courier-authlib/authdaemond
root 32228  0.0  0.0   428   324 ??  I  7:37PM0:00.00 
/usr/local/libexec/courier-authlib/authdaemond

#MySQL/MariaDB
root  2410  0.0  0.1   688   728 00- I  3:44PM0:00.04 /bin/sh 
/usr/local/bin/mysqld_safe
_mysql   24080  0.0  4.6 326968 48612 00- I  3:44PM0:03.94 
/usr/local/libexec/mysqld --basedir=/usr/local --datadir=/var/mysql 
--plugin-dir=/usr/local/lib/mysql/plugin --user=_mysql 
--log-error=/var/mysql/mail.hottub.ca.err