I am trying to write an rc.d script to start and stop a (Python) script. Starting the command seems to be working, but stopping it is not yet the way I want.
My goal is to ensure the script receives a SIGTERM signal when it should shut down; that seems not to be the case; I think only the...
Recently updated to 2020Q3. I seem to be having issues with Python ports as I upgrade.
# portmaster -D -G -g --no-confirm comms/py-pyserial
(Snip)
===> Creating unique files: Move MAN files needing SUFFIX
===> Creating unique files: Move files needing SUFFIX
Move: bin/miniterm.py -->...
I'm upgrading Perl as advised in UPDATING using the following:
portmaster -bdgyf `pkg shlib -qR libperl.so.5.28`
which re-builds net-snmp
which re-builds mysql
which re-builds cmake
which requires python
which requires py37-sphinx
I have python2.7 installed already (and therefore sphinx)...
Greetings,
Hopefully I am posting in the right place, if not please let me know!
The goal is to run a python framework (odoo) as a service via daemon inside a jail. The topology is as follows:
[Internet] --> [Host] -- (pf)--> [Jail with HAProxy] --> [Jail with Odoo]
For reference, I am using...
Hello! I would like some advice on how to port a command-line program that is written in Python.
I have a program that runs on the command-line, and is written entirely in Python. It can be built against Python 2.7 or 3.4+ with no problems. It is distributed via PyPi, so I have started...
Hello everyone,
I am trying to port python-vlc to FreeBSD (in order to port castero, a nice TUI podcast client). Here is my Makefile.
# $FreeBSD$
PORTNAME= vlc
PORTVERSION= 3.0.6108
CATEGORIES= python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}...
Hi Forum
I am trying to install matplotlib in a Python 2.7.15 virtualenv (created using virtualenvwrapper) on FreeBSD 11-RELEASE system.
It seems that I am running in a somewhat known problem with the installation of numpy (cf. the edit in post #3 of "Matplotlib python3 anyone?" [1]).
After a...
Hello all,
I'm looking to deploy a Django application onto a FreeBSD 11.1 server, I've read a number of articles about using www/py36-gunicorn to provide the communications between www/nginx and Django, and brief trials appear successful.
I'm now looking to make a service that I can service...
Hi,
I'd like to create an rc.d script that uses daemon(8) to manage a python(3) script with dependencies from virtualenv (daemonization, logging and be automatically restarted on exit).
I am not sure what's the right way to approach this.
My initial version used the script as command...
Hey guys
I'm new @ BSD and this forum - so sorry if my question is duplicated or somehow not in line with rules of this web (as far as I have investigated none of those apply)
I was asked to write a program (python preff) which will return IP and MAC of all peripherals connected to server...
Hello to all
I have an error with running samba-tool after installation. My os is FreeBSD 10.1.
I use all method to installing the samba ( installing by pkg, making port and download and compile the source code) but in the all of them some errors was accrued. Could somebody help me to resolve...
Hi, I'm trying to use syslog handler at one of my python scripts. Above there is a script that should print hello world to syslog, but it doesn't. The same code on Linux works. What I'm missing?
# mylog.py
from platform import system
import logging
from logging.handlers import SysLogHandler...
Hi all, i'm brand new on FreeBSD, i want to run a python script for pfsense firewall running on FreeBSD (FreeBSD 10.3-RELEASE-p9)
this is the script
https://github.com/edgauthier/pfsense-backup
I already installed beautifulsoup4 (py27-beautifulsoup-4.4.1)
So, when i make this as root
...
I'm building out a hosting environment for my customers. I typically use Linux but FreeBSD offers some features of interest to my customers. I've used FreeBSD before (version 9), but my experience is limited.
The hosting architecture I'd like to setup is (focusing on two servers):
Server 1...
Hello everyone.
I'm new to FreeBSD and I'm developing a Download Manager written in python.
we ported this software on some Linux Distros and Mac OS.
Now, I'm working on making it usable in FreeBSD, The FreeBSD handles all the requirements except PyQt5 which is I'm wondering why it can not be...
Hello,
I've been trying to install Virtual Box on my system.
When I try to install it from ports tree I got this error:
===> virtualbox-ose-5.1.10 depends on executable: yasm - found
===> virtualbox-ose-5.1.10 depends on executable: xsltproc - found
===> virtualbox-ose-5.1.10 depends...
Has anyone managed to get pycdio running under FreeBSD?
My foolish attempt to just install it didn't go too well
tingo@kg-core1$ sudo pip install pycdio
Collecting pycdio
Downloading pycdio-0.20.tar.gz (197kB)
100% |################################| 204kB 2.3MB/s
Installing collected...
Hello folks,
I'm trying to run security/py-certbot on a FreeBSD 10.3 stable jail. When I try to launch it I get the following messages:
root@nope:~ # certbot
Traceback (most recent call last):
File "/usr/local/bin/certbot", line 11, in <module>
load_entry_point('certbot==0.9.3'...
From ftp server code, we are limiting the connections to1024 (s.listen (1024) call), but when I do the sockstress tool test it overflowing the listen backlog limit to 12000+ connection. So my system reaching the kern.maxfile limit.
Overflow scenario is Vulnerable to the system with sockstress...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.