EDITED 8/18/2010
I have C code for Linux that, among other things, caches the difference between the rtc and system time. I want to port this code to FreeBSD/Mac. Linux has the utility hwclock which reads /dev/rtc and anyway getting the cmos clock time directly from this interface can be done in a few lines of code.
I've been lookin...
I'm packaging up some javascript using epm(1) on freebsd, and some of the doc files have ! characters, which causes packaging to fail:
pkg_create -z -p / -s /tmp/release-xXkrY9/checkout -c pkg/advanis_9166_saas_advanisweb+www.comment -d pkg/advanis_9166_saas_advanisweb+www.descr -f pkg/advanis_9166_saas_advanisweb+www.plist advanis_9166...
When I try to connect through SSH from inside the JAIL I get this error:
# ssh [email protected]
...
debug1: read_passphrase: can not open / dev / tty: No such file or directory
Host key verification failed.
Outside JAIL everythng is working properly. Any ideas?
Steps to reproduce:
# jls
JID IP Address Hostname ...
I have an ANSI C program that dynamically loads a .so file using dlopen() passing RTLD_LAZY. I receive
Undefined symbol "_nss_cache_cycle_prevention_function"
warnings whenever the .so file is accessed in FreeBSD 7.2. nss_cache_cycle_prevention_function() is not one of my program's functions and I imagine must be coming from FreeBSD....
I need my torrent client 'Transmission' to say to a torrent-tracker that it is another torrent client (uTorrent).
How can I do it? May be there is a simple way...
If no, the question is - where can I edit sources of the transmission port on FreeBSD and then install it?
...
Hi All,
I am getting this error on running gdb on a freebsd box.
"suspend_thread_callback generic error"
and
"suspend error: debugger service failed"
Everything looks fine till I break into the breakpoint. when I do "n" or "c" or anything after I break, I get this error.
Any help would be appreciated.
...
HI i am using freeBSD as my operating system.I have apache version 2.2.16 installed on it.I want to make this dtrace enabled.How can i do this.Thanks in advance
...
As part of my job I need to be kept aware of the availability of a server within my client's corporate network. Just to make my life hard, their entire network is hidden behind a pair of gateway machines (for this, we can just pretend there is only one machine) running FreeBSD 7.1-PRERELEASE (no, I have no idea why they are running an o...
Hey Guys,
We are running APC as an opcode level cache , and have been getting kernel panic's (Shared memory segment related). I thought that anything running in the user space (PHP , APC , Apache) could not cause a kernel panic. I have managed to replicate this issue on different hardware and environments. My questions are
1, Why woul...
I'm using FreeBSD 7.2. I upgraded to Python 2.6. However when I run any python app, it is still using /usr/local/lib/pytho25 as the library path. How do I change it? I cannot modify the python app. Basically I need to change the default lib path to python26.
...
How can I modify the thread priorities within, umm... the Timesharing class?
In case I want to implement my own scheduler, how would I have to do that? (like assigning priorites on my own terms)
How do I play around with the time slice values (or time quantums, as they are referred to by a lot of people)
Edited I figured that the time q...
I have a list of a bunch of file descriptors that I have created kevents for, and I'm trying to figure out if there's any way to get the number of them that are ready for read or write access.
Is there any way to get a list of "ready" file descriptors, like what epoll_wait provides?
...
I run my own script to dump databases into files on a nightly basis.
I wanted to count time (in seconds) it takes to dump each database, so I was trying to write some functions to help me achieve it, but I'm running into problems.
I am no expert in scripting in bash, so if I'm doing it plain wrong, just say so and ideally suggest altern...
Are there any good (entry-level) tutorials on adding system calls to FreeBSD via kernel loadable modules? Specifically, the required form of the methods, getting information from processes, etc.
...
Ok, I had a usb flash drive which had data and was using FAT32 file table, till yesterday!!
I had been using it only in Windows. Now when I plugin the usb flash drive, Windows XP reports the file system as RAW and trying to access the drive asks to format the drive. I desperately need to get some data out from there (the backup is a few...
Hi, I run a FreeBSD NFS server and recently I've been having odd issues throughout the cluster (the Apache servers are hanging in "lockf" state when loading files from the NFS share, etc).
I'm fairly new to this, so my question is how can I tell if a server's IO is getting overloaded?
Here is my current iostat:
[root@host ~]# iostat...
I am porting from Linux to FreeBSD and have run into ::mknod() failing with errno:
[EINVAL] Creating anything else than a block or character spe-
cial file (or a whiteout) is not supported.
But I also see it states earlier on the man page:
The mknod() system call requires super-user privileges.
So what...
I asked this on superuser as well, but with no answers (even no views). If it's wrong to mention it here, please let me know or just move it. Thanks.
We are using a shared server (six people with root access for each user), which is reinstalled and -configured soon. I agreed to install GlassFish for everyone to use. However, I am develo...
I tried to upgrade PHP from 5.2.12 to 5.2.14 (FreeBSD 7) (by make install), but after installation 'php -v' in command line shows '5.2.14' and phpinfo() shows '5.2.12'. How can it be?
Now I'm trying to install PHP patched with PHP-FPM, but get an error that says 'make deinstall' before.
How can I properly install PHP now? And what happ...
I'm having a hard time installing from the tarball and am wondering if anyone else has had any luck with it, and if so what did you do?
...