-
CyberCr33p
kenrap and I just notice that this last microcode update doesn't cover Ryzen 9
-
CueXXIII
hi - the certificate on sandbox.freebsdfoundation.org expired ages ago (08/02/2020), any idea whom to poke to fix that?
-
CueXXIII
interestingly duckduckgo found showed that host even before the main freebsdfoundation.org siteā¦
-
adilix
hi all
-
thorre
hi
-
ChenXpisti
/join #freebsd-ops
-
markmcb
what's the earliest point you can upgrade to 14 using freebsd-update? the betas?
-
meena
I think it's the RCs, but I'm not sure
-
_xor
How's traffic shaping via ipfw?
-
» _xor is exploring ipfw again
-
yuripv
markmcb: man page says: In general, binary updates are available for ALPHA, BETA, RC, and RELEASE
-
markmcb
yuripv: thanks. i guess PRERELEASE is something separate? that's what confused me before. i dont think i had seen that one and it says it's not supported.
-
markmcb
side note, i'm sure there's no changing it, but as a newcomer "release, stable, and current" are terribly confusing, and release sounds like the least desireable of the three just based on what the words literally mean. stable and current should get a "dev" prefix or something.
-
kenrap
How do I record a kernel panic as a log file?
-
kenrap
Nevermind. I needed to set dumpdev back to "AUTO" for crashdumps.
-
sixpiece
hello my vps is sort of unresponsive in some ways
-
sixpiece
-
VimDiesel
Title: dpaste/Bygy (Plain Text)
-
sixpiece
I just wait literally and nothing seems to happen
-
andmars
ahoi, installing freebsd 13.2 what is the difference betwenn "GPT (BIOS)" and plain "GPT"?
-
sixpiece
how do I get the pkg manager to work?
-
V_PauAmma_V
If sixpiece comes back, may be worth pointing them to
docs.freebsd.org/en/books/handbook/ports/#pkgng-intro and ask them to be more specific on what they're trying to achieve.
-
VimDiesel
Title: Chapter 4. Installing Applications: Packages and Ports | FreeBSD Documentation Portal
-
SpaceBass
Going nuts trying to get a web app with a /cgi-bin working with fcgiwrapper ... when I try and run fcgiwrapper in the foreground and then call the cgi-bin scripts nothing shows in the console
-
SpaceBass
What's the best way to debug?
-
parv
This is related to FreeBSD?
-
SpaceBass
Well... it's the platform I'm on. I take your point, but generally I find it very hard to find/get support for things running on FreeBSD in non-freebsd forums
-
checkpoint
SpaceBass: try use printf (or equivalent) to output debug info to /tmp/your_temp_file.log
-
SpaceBass
Right now it's like my nginx isn't even passing things to fcgiwrapper
-
mason
SpaceBass: ktrace the running process and see if it's firing off some kind of error when it ought to be invoking fcgiwrapper
-
checkpoint
I would check nginx logs files first, it could be some misconfiguration
-
SpaceBass
Access shows the right url with a success... error (set to debug) shows nothing related to fcgi
-
mason
Same thing, only less complete. Easier I guess.
-
mason
SpaceBass: kk, back to ktrace then
-
SpaceBass
Would I ktrace nginx?
-
mason
man ktrace, but essentially ktrace -p <the-pid>
-
SpaceBass
Pid of what though?
-
» checkpoint thinks that ktracing nginx could be a bit complicated :)
-
mason
Not if you just search out invocations and/or errors.
-
mason
Tracing doesn't mean second-guessing every action from launch.
-
checkpoint
stranegly I cannot connect ktrace to a pid, it quits instantly:
-
checkpoint
rz@butterfly:~ % sudo ktrace -p 78720 -tc
-
checkpoint
rz@butterfly:~ % echo $?
-
checkpoint
0
-
RhodiumToad
ktrace just starts the trace
-
SpaceBass
Yeah I didn't get output either
-
RhodiumToad
there should now be a file ktrace.out in the directory you ran ktrace in, which is appended to by the process
-
RhodiumToad
it's a binary file, use kdump to interpret it
-
checkpoint
RhodiumToad: yeah, got it, thanks.
-
SpaceBass
Ah yeah that helps ... was trying to cat the blob :)
-
RhodiumToad
note that the trace will continue until all affected processes end or you explicitly stop it
-
SpaceBass
Well if I'm reading it right, I think I'm at least confirming that I'm not passing anything to fcgiwrap
-
mason
SpaceBass: Yeah, search for execs, and maybe see if they fail, for instance.
-
mason
You should be able to find out if it's at least trying to invoke your cgi handler.
-
mason
And if it is, what happens.
-
SpaceBass
No invocations... I guess that's a start
-
SpaceBass
Implies my nginx.conf is borked
-
SpaceBass
I hope
-
mason
SpaceBass: You might also verify that it's reading all the config bits you expect. Don't know if they're broken up or not.
-
rwp
SpaceBass, Do you have cgi-bin + nginx working yet? I have a working setup that I could share if not.
-
-
SpaceBass
rwp, I copied a working setup from a nearly identical server... only difference is working server is 13.2 and my problem is 14.0
-
mason
checkpoint: Why not strace, out of curiosity?
-
rwp
Hmm... I don't have 14.0 online here yet. Perhaps I should try that in a vm and see if I have the problem too.
-
checkpoint
mason: is there strace in FreeBSD ?
-
rwp
checkpoint, No strace. See truss.
-
checkpoint
mason: I had to run it on FreeBSD (my laptop), so I used Linuxulator
-
checkpoint
rwp: exactly, truss uses ptrace, and so I did. :)
-
mason
checkpoint: Ah, that makes more sense now.
-
mason
I assumed you were debugging it on GNu/Linux.
-
mason
s/u/U/
-
mason
for the next to the last u anyway
-
checkpoint
mason: the very point was to make that overbloated proprietary piece of linux software run on my latop (FreeBSD)
-
SpaceBass
I think its my nginx.conf ... not sure why I keep trying to force myself to use it and not apache
-
checkpoint
SpaceBass: is it too late to switch ?
-
SpaceBass
Im stubborn :)
-
» checkpoint has never used nginx, frankly
-
SpaceBass
And I can only change so many variables in this set up before I'll get totally lost :)
-
SpaceBass
Think I got it! Added some debug lines to nginx logging and found the problem
-
» checkpoint never doubts printf() based debugging
-
checkpoint
SpaceBass: let me guess: some dependancy (module) is not met ?
-
SpaceBass
No, just dumb error on my end... the root declaration for my cgi-bin included the full path, not just the root
-
rwp
SpaceBass, Given the choice between Nginx and Apache I will choose Nginx every time.
-
markmcb
Spacebass: I agree with rwp, unless you have a specific need, configuring nginx is far lighter and more intuitive
-
SpaceBass
It feels simpler and more lightweight, I just need more time with it
-
SpaceBass
And now I need to figure out how to set my locale system-wide
-
checkpoint
SpaceBass: see defaults in /etc/login.conf
-
SpaceBass
Its correct there... this port is so quirky... I had this problem last time I set it up but that was 3 years ago and of course I didn't document it
-
SpaceBass
And the mainteiner isn't exactly easy to work with
-
checkpoint
what port is that exactly ?
-
SpaceBass
security/p5-openxpki
-
SpaceBass
There's some trick to getting it to display proper English in the WebUI vs I18N_OPENXPKI_LOGIN (for instance)
-
checkpoint
there's this code:
-
checkpoint
#default i18n language
-
checkpoint
my $language = "en_GB";
-
checkpoint
in ./work/openxpki-openxpki-9bd1fea/tools/automated_wf_visual/wf_graphs.pl
-
checkpoint
try changing $language to "en_US.UTF-8"
-
checkpoint
also it accepts "langs" parameger
-
checkpoint
check into the code, it may give you some clue
-
SpaceBass
I dont think its hard coded... there's a whole bit of documentation for setting in linux.. but the FreeBSD port is kinda mum on how to do it
-
checkpoint
Run a simple CGI that prints locale(1) to check that locale is used for your CGI scripts. Is is anything different from what locale(1) shows ?
-
SpaceBass
Wondering if I need to update the backend mysql db to use utf8
-
Beladona
which file has scrub cron in /etc/periodic/daily/ ? I want to remove as scrubbing the hdd 4tb takes half a day everyday
-
RhodiumToad
it doesn't do the scrub every day, only if it's been more than some threshold of days since the last completed one
-
RhodiumToad
daily_scrub_zfs_enable="NO" added to /etc/periodic.conf will disable it
-
RhodiumToad
also, it seems to be "NO" by default? did you turn it on yourself?