CGI script to see collectd stats

2017-05-10 Thread Ajitabh Pandey
find something suitable which works under chroot. I am able to run a hello world cgi script in chroot. If any of you guys have some information/config/tool etc to share for collectd graphs, it would be of great help. Thanks & Regards. -- Ajitabh Pandey http://ajitabhpandey.info/

smtpd aliases file issue

2017-05-10 Thread Ajitabh Pandey
onfirmed the same. If my understanding about how this should work incorrect? If not then what am I doing wrong? Thanks and Regards. -- Ajitabh Pandey http://ajitabhpandey.info/

Re: smtpd aliases file issue

2017-05-10 Thread Ajitabh Pandey
newaliases $ doas rcctl restart smtpd Regards. -- ~ajitabhpandey On Wed, May 10, 2017 at 4:58 PM, Edgar Pettijohn wrote: > Did you restart smtpd? > > Sent from BlueMail <http://www.bluemail.me/r?b=9531> > On May 10, 2017, at 6:03 AM, Ajitabh Pandey > wrote: >> >>

Re: smtpd aliases file issue

2017-05-10 Thread Ajitabh Pandey
table aliases file:/etc/mail/aliases listen on lo0 accept for local alias deliver to mbox accept from local for any relay Regards. -- ~ajitabhpandey On Wed, May 10, 2017 at 5:25 PM, Gilles Chehade wrote: > On Wed, May 10, 2017 at 04:32:55PM +0530, Ajitabh Pandey wrote: > >

Re: What does it mean this error when I try install a package?

2017-05-11 Thread Ajitabh Pandey
en select the version you want. > > 2. pkg_add python-2.7.13p0 > > 3. pkg_add -z python-2.7 (fuzzy matching, see pkg_add(1)) > > ^ or use 'python%2.7' > > j. > > -- Ajitabh Pandey http://ajitabhpandey.info/ | http://unixclinic.net/ | http://buddingthoughts.info ICQ - 150615062 Registered Linux User - 240748

Re: smtpd aliases file issue

2017-05-11 Thread Ajitabh Pandey
tpctl update table aliases > > Gilles > > > > On 11 May 2017, at 08:17, Ajitabh Pandey > wrote: > > > > Hi Gilles, > > > > I did not change anything from the default. But I realise all may not be > > using default file like me and may not know what

Re: What does it mean this error when I try install a package?

2017-05-15 Thread Ajitabh Pandey
3p0.tgz, > but hopefully you have enough to install and start coding. Love python. > > > On May 11, 2017, at 4:46 AM, Ajitabh Pandey > wrote: > > > > Hi, > > > > I got a similar message when I try to install python, but upong > > investigating I realis

Re: What does it mean this error when I try install a package?

2017-05-15 Thread Ajitabh Pandey
Stuart, On Thu, May 11, 2017 at 9:36 PM, Stuart Henderson wrote: > On 2017-05-11, Ajitabh Pandey wrote: > > I got a similar message when I try to install python, but upong > > investigating I realise that python was already installed - perhaps as a > > pre-requisite for

Re: DMCA Free OpenBSD VPS Hosting, multiple payment methods

2017-10-15 Thread Ajitabh Pandey
Try Hetzner CX series of servers in Germany. They are not actually friendly, but have ISO mount so that you can install. Other one is https://www.1984.is in Iceland. I am planning to try one from them in near future. Regards. — Ajitabh Pandey http://ajitabhpandey.info On Mon, 16 Oct 2017 at 6:50

Flask app as UWSGI returning 500 when accessed through OpenBSD HTTPD

2017-10-18 Thread Ajitabh Pandey
__ == "__main__": app.run(host='127.0.0.1') I am running UWSGI as - -- $ uwsgi --http : --wsgi-file myproject.py --master --callable app $ curl http://127.0.0.1:/ returns the contents, but when I access the page as http://192.168

Re: Flask app as UWSGI returning 500 when accessed through OpenBSD HTTPD

2017-10-18 Thread Ajitabh Pandey
Thanks for the quick response. I tried that, still getting 500 the same problem - $ doas uwsgi --socket /var/www/run/hello.sock --wsgi-file myproject.py --master --callable app In /etc/httpd.conf - location "/hello/*" { fastcgi socket "/run/hello.sock" } Regards

Re: Flask app as UWSGI returning 500 when accessed through OpenBSD HTTPD

2017-10-18 Thread Ajitabh Pandey
On Wed, 18 Oct 2017 at 4:45 PM, Gregory Edigarov wrote: > > > > I get 500 > > > hi, what's in your error.log? Nothing is in the error log. The access log indicates one line with 500 in it.

Re: Flask app as UWSGI returning 500 when accessed through OpenBSD HTTPD

2017-10-18 Thread Ajitabh Pandey
On Wed, Oct 18, 2017 at 1:43 PM, Jiri B wrote: > On Wed, Oct 18, 2017 at 01:40:06PM +0530, Ajitabh Pandey wrote: > > Can httpd access the socket? What are permissions? > > j. > Here are the perms - srwxr-xr-x 1 root daemon 0 Oct 18 13:35 hello.sock -- A

Re: Flask app as UWSGI returning 500 when accessed through OpenBSD HTTPD

2017-10-18 Thread Ajitabh Pandey
On Wed, Oct 18, 2017 at 7:14 PM, Jiri B wrote: > On Wed, Oct 18, 2017 at 06:55:32PM +0530, Ajitabh Pandey wrote: > > On Wed, Oct 18, 2017 at 1:43 PM, Jiri B wrote: > > > > > On Wed, Oct 18, 2017 at 01:40:06PM +0530, Ajitabh Pandey wrote: > > > > >

Re: Flask app as UWSGI returning 500 when accessed through OpenBSD HTTPD

2017-10-18 Thread Ajitabh Pandey
On Wed, Oct 18, 2017 at 7:25 PM, Ajitabh Pandey wrote: > > On Wed, Oct 18, 2017 at 7:14 PM, Jiri B wrote: > >> On Wed, Oct 18, 2017 at 06:55:32PM +0530, Ajitabh Pandey wrote: >> > On Wed, Oct 18, 2017 at 1:43 PM, Jiri B wrote: >> > >> > > On W

Re: relayd as websocket proxy?

2018-05-05 Thread Ajitabh Pandey
> > Second: websocket connections don't :-( > > As far I can see websocket upgrade messages (decoded in wireshark as > "HTTP/1.1 101 Switching Protocols" packets) from the internal server are > replaced by relayd with packets with the RST-flag set directed to the WAN > client and the connection is closed. > > > My head-scratching question: > is this possible at all with relayd? > > Or do I have to switch to nginx? > > > Regards > Andre Ruppert > > > > -- Ajitabh Pandey http://ajitabhpandey.info/ | http://unixclinic.net/ | http://buddingthoughts.info ICQ - 150615062 Registered Linux User - 240748

Re: ypbind hangs - how to debug?

2008-12-23 Thread Ajitabh Pandey
o which the client is to be bound as follows: mkdir /etc/yp echo "your-nis-server-fqdn" > /etc/yp/abl_bo I also had a CentOS NIS master server in my setup which was not picked up by the broadcast. The man page pointed me to this route. HTH Regards. -- Ajitabh Pandey http://www.aj

Re: Top/uptime seems high

2007-08-13 Thread Ajitabh Pandey
play/5/index.htm http://www.teamquest.com/resources/gunther/display/7/index.htm http://www.teamquest.com/resources/gunther/display/8/index.htm Regards. Ajitabh Pandey

Shutdown and Powerdown when the power button is pressed

2008-08-24 Thread Ajitabh Pandey
running Ubuntu sometime back and If I remember correct this used to happen. Any pointers, please? Regards. -- Ajitabh Pandey http://www.ajitabhpandey.info/ | http://www.unixclinic.net/ ICQ - 150615062 Registered Linux User - 240748

Re: BSD laptop

2006-11-16 Thread Ajitabh Pandey
SD through the pen drive by doing my routine tasks whenever I have time. Just want to make sure the switch from Ubuntu to OpenBSD is smooth. Regards. -- Ajitabh Pandey http://www.ajitabhpandey.info http://www.unixclinic.net ICQ - 150615062 Registered Linux User - 240748