freebsd Questions

4

Solved

I have a zip file on the server. It's 1.1gb made up of thousands of small files. I do not have shell or root access to the server and can only use ftp and create php files.. so far I have tried exe...
Execrative asked 1/6, 2013 at 22:27

7

Solved

What is the equivalent of Linux's /proc/cpuinfo on FreeBSD v8.1? My application reads /proc/cpuinfo and saves the information in the log file, what could I do to get similar information logged on F...
Maghutte asked 3/11, 2010 at 2:39

13

Solved

When I want to execute an update query on my table I got an error saying: 1036 - Table data is read only. How can I fix that? Table attributes in /var/db/mysql are set to 777. 'Repair Table'...
Kokanee asked 5/3, 2012 at 23:50

14

Solved

What's the best way to download a python package and its dependencies from pypi for offline installation on another machine? Is there any easy way to do this with pip or easy_install? I'm trying to...
Staggers asked 18/6, 2012 at 21:51

4

I basically want to run a script (which calls more scripts) in a new process group so that I can send signal to all the processes called by the script. In Linux, I found out setsid helps me in do...
Achates asked 10/6, 2015 at 13:53

5

Solved

This post is similar to this and this, however, without putty, the border could display properly. Therefore, I doubt this was caused by an old version of tmux. I am running FreeBSD 9.2-release and...
Giotto asked 29/4, 2014 at 14:56

3

Solved

I want to do something like this: cat abcd.txt | cut -f 2,1 and I want the order to be 2 and then 1 in the output. On the machine I am testing (FreeBSD 6), this is not happening (its printing i...
Dupin asked 24/6, 2009 at 8:51

4

Solved

Can someone explain why I get exit code 141 from the below? #!/usr/bin/bash set -o pipefail zfs list | grep tank echo a ${PIPESTATUS[@]} zfs list | grep -q tank echo b ${PIPESTATUS[@]} cat /e...
Arita asked 1/10, 2013 at 15:31

6

Solved

So I installed ruby, gems and rails - however whenever I type rails I get the rails: Command not found. error. I did a dump of my local gems, which I'll include below *** LOCAL GEMS *** actionma...
Brock asked 28/7, 2012 at 14:18

3

Solved

How do I create a soft link programmatically in C/C++? link() system call in freebsd will create a hard link.
Coltun asked 30/9, 2014 at 9:58

3

Solved

I believe that if we call close system call on a non-blocking socket it returns immediately, then how to handle the response? whether it is closed or not? in other words what is the behavior of the...
Precipitin asked 20/6, 2011 at 22:22

2

The way I normally start a long-running shell script is % (nohup ./script.sh </dev/null >script.log 2>&1 & ) The redirections close stdin, and reopen stdout and stderr; the nohu...
Viewpoint asked 30/4, 2020 at 18:43

2

Solved

I have been looking for a Docker image of FreeBSD but cannot find, can FreeBSD be run inside docker? If not, why not?
Pacifier asked 23/11, 2015 at 5:15

3

Solved

I'm stuck in a file. I used vi to edit this file, and I tried to quit, but I got a message like "Entering ex input mode". It doesn't work if I press Escape, it writes ^[ in my file. How can I prop...
Upraise asked 6/5, 2014 at 10:8

6

Solved

I'm writing error handling code for a server on FreeBSD. For extremely serious errors I want to avoid data corruption by immediately terminating. That's easy, exit(3). Before I exit, I output my re...
Quartas asked 3/7, 2011 at 5:5

5

Solved

Is there anyway we can change the date format in a particular log file being logged to by syslog? I don't want to change the way all logs are being logged, but just by log file. EDIT: I'm using sy...
Fart asked 5/12, 2013 at 14:8

4

Solved

I've got a binary "CeeloPartyServer" that needs to find libFoundation.so at runtime, on a FreeBSD machine. They're both in the same directory. I compile (on another platform, using a cros...
Radioman asked 12/6, 2011 at 19:28

2

Solved

For some tests, I've set up a plain new TrueNAS 12.3 FreeBSD Jail and started it, then installed python3, firefox, geckodriver and pip using the following commands: pkg install python3 firefox geck...
Merrill asked 23/1, 2022 at 11:50

2

I wrote this program that should just exit with exitcode 44: // prog.S #include <sys/syscall.h> .text .globl _start _start: subl $8, %esp pushl $44 pushl $0 movl $SYS_exit, %eax int $0...
Quinquereme asked 5/2, 2022 at 17:27

26

Solved

On Linux, the readlink utility accepts an option -f that follows additional links. This doesn't seem to work on Mac and possibly BSD based systems. What would the equivalent be? Here's some ...
Region asked 28/6, 2009 at 20:26

6

:echo has('clipboard') returns 1, but whenever I execute "+yy" or "*yy" nothing seems to be in those registers. If I use regular yy to copy another line of text, then try to paste from the register...
Soares asked 22/8, 2013 at 15:41

13

Solved

I know that lots of web hosting providers are offering FreeBSD, but how good is FreeBSD as a development platform? Specifically, is Java 1.6 available in it? Is there somthing specific that it of...
Bord asked 11/11, 2008 at 17:24

10

I am running PostgreSQL 9.3 on FreeBSD. FreeBSD uses pgsql as the default system user for PostgreSQL. My /usr/local/pgsql/data/pg_hba.conf looks like this: # TYPE DATABASE USER ADDRESS METHOD loca...
Jun asked 9/9, 2014 at 18:4

3

What I'm trying to do is to convert this installing script for webodm (https://gist.github.com/lkpanganiban/5226cc8dd59cb39cdc1946259c3fea6e) written in bash to be used in tcsh shell under a freena...
Voiceful asked 13/3, 2019 at 15:4

2

Solved

Recently I was playing with freebsd system calls I had no problem for i386 part since its well documented at here. But i can't find same document for x86_64. I saw people are using same way like on...
Petronille asked 30/3, 2021 at 20:44

© 2022 - 2024 — McMap. All rights reserved.