Questions tagged [freebsd]

This tag should be used for question pertaining specifically to the FreeBSD operating system. In keeping with the intent of Stack Overflow, this is limited to programming, not such things as use, installation, configuration, or maintenance.

Such questions generally belong on Super User if related to personal/workstation use, or on Server Fault if related to use as a server.

See Also

2006 questions
0
votes
2 answers

Disable core dump for SIGHUP signal

I'm trying to disable core dumps being generated for individual signals in my application. ulimit -c 0 wont work in my case, since it needs to be executed before application start and will completely disable core dumps for all signals. Is it…
RA.
  • 969
  • 13
  • 36
0
votes
1 answer

Freebsd jail command execution error with no reason

I try to execute command: # service jail start myjail I debug the /etc/rc.d/jail and dump that really command is: /usr/sbin/jail -l -U root -i -f /var/run/jail.myjail.conf -c myjail The output is: usage: jail [-dhilqv] [-J jid_file] [-u username]…
user394010
  • 374
  • 1
  • 17
0
votes
1 answer

Error undefined reference to symbol 'FCGX_InitRequest' on compiler c++ FreeBSD

I'm trying to compile a C++ code, but a error happen: undefined reference to symbol 'FCGX_InitRequest' I'm using freebsd, and I already installed the lfcgi library. The code what i using to do this: g++49 echo-cpp.cpp -lfcgi++ -o…
0
votes
1 answer

Failure in running Python script using a cron

I am using the FreeBSD variant as seen below: [2.2.4-RELEASE][root@ROUTER.local]/home/Script_to_monitor_power: uname -a FreeBSD ROUTER.local 10.1-RELEASE-p15 FreeBSD 10.1-RELEASE-p15 #0 c5ab052(releng/10.1)-dirty: Sat Jul 25 20:20:58 CDT 2015 …
fsociety
  • 977
  • 3
  • 12
  • 23
0
votes
1 answer

How to connect to external oracle database from BSD

One of my work mates has set up a freenas server for storage (version9.1) I have created a jail under this running FreeBSD 10.3-STABLE. I want to create a web server in this jail and need to be able to connect to an external oracle (11g) database.…
Nigel
  • 135
  • 7
0
votes
1 answer

get devices list with c++

I'm on FreeBSD11. I want to get all devices that connect to my system and save their information with c++. for this reason I run camcontrol devlist command. The output is: at scbus0 target 0 lun 0…
F.M
  • 463
  • 2
  • 7
  • 20
0
votes
0 answers

pthreads linux / freebsd difference?

I have an application originially developed in linux. Now I want to compile the application on a freebsd box, but I am getting some pthreads compilation errors: Building file: ../feedProcessor.cpp Invoking: GCC C++ Compiler g++7…
Daniel P.
  • 89
  • 6
0
votes
0 answers

How to modify/patch and rebuild e2fsprogs? Build is failing on adding a single printf

I'm trying to patch and rebuild e2fsprog. Re-build is failing as test cases started failing post patching. I have just added a printf comment so not sure why this will lead to test case failure. Steps I'm following. a) make packages --> get source…
Satpal Parmar
  • 361
  • 3
  • 12
0
votes
2 answers

Kernel object won't unload

Loading a kernel module is not an issue. kldload ./stepper.ko However, when I try to unload it I get this: kldunload -f stepper.ko kldunload: can't unload file: Operation not supported Doesn't work the -i or -n options, either. I'm running…
aaronvan
  • 316
  • 1
  • 3
  • 9
0
votes
1 answer

Poco library issues "Address family not supported" under FreeBSD

We are exploring poco (pocoproject.org) library's HTTP server example. On windows it runs well but on FreeBSD issues "Address family not supported". On FreeBSD we used dynamic linking of installed via pkg poco-1.7.8 Source of this sample:…
Victor
  • 181
  • 2
  • 12
0
votes
0 answers

DataStax PHP Driver for Cassandra on FreeBSD 10.x

Has anyone been successful with installing the php extension for Cassandra on FreeBSD? I have the the c/c++ driver installed from ports... but the php extension keeps failing. I followed the instuctions here: …
0
votes
1 answer

Apache and Sqlite3 issue

I'm using ports only on this server. After restarting apache I got "segment fault (core dumped)" message. But apache is started at least... httpd-error.log shows…
holms
  • 9,112
  • 14
  • 65
  • 95
0
votes
1 answer

Automated fsck (with init 1/init 5) on a FreeBSD machine?

I'm looking to automated fsck on my FreeBSD server. I have an idea how to do this, but because it's running pretty powerful commands, I'd like some more eyes on it before I set it to run. Step 1. Cron job. My cron will look something like this: 0 17…
Eric Miller
  • 429
  • 4
  • 11
0
votes
1 answer

SaltStack - FreeBSD Ports - ports.update

Why is this state.sls not working? install_ports: - ports.update: - extract: True When running salt '*' state.highstate I get a return of: SaltMaster: Data failed to compile: ---------- ID install_ports in SLS FreeBSD.11_0.ports is…
Leander
  • 11
  • 6
0
votes
1 answer

php-fpm service not starting completly

on my server (FreeBSD 11) the php-fpm service is not srating cleanly anymore. # service php-fpm status php_fpm is not running. but if i search for running instances i see its working (in fact the web application also uses it and is working: # top |…
Mr.Gosh
  • 181
  • 2
  • 9
1 2 3
99
100