#dev | Logs for 2021-02-14

« return
[00:00:06] * Bytram just bounced the servers -- hits and comments on Story List page were not updating
[00:01:36] * Bytram does not see any improvement... will give it a few more minutes, but I suspect it may mean restarting slashd (?)
[00:02:18] * Bytram tries to remember how he did that the last time.
[00:02:29] <Bytram> afk for a few minutes
[00:25:54] <Bytram> yep, counts are still not updating (story hits and comment counts)
[00:53:23] * Bytram checks the log on fluorine: /srv/soylentnews.log/
[00:53:48] * Bytram sees no activity there
[00:58:38] <Bytram> martyb@fluorine:~$ /etc/init.d/slash restart
[00:59:45] <Bytram> martyb@fluorine:~$ su: must be run from a terminal
[01:01:24] * Bytram sudo's as slash and tries again
[01:01:46] <Bytram> same as before:
[01:01:57] <Bytram> Sleeping 10 seconds in a probably futile attempt to be clean: ok.
[01:01:58] <Bytram> Starting slashd slash: ok PID = 1879
[01:01:58] <Bytram> slash@fluorine:~$ su: must be run from a terminal
[01:02:16] <Bytram> hmmm, maybe the *error message* is bad?
[01:04:07] * Bytram waits a few more minutes for the daemon to fire off
[01:06:11] <Bytram> nothing yet... let's give it a few more minutes
[01:19:54] <Bytram> TheMightyBuzzard: Are you around? Pls see ^^^
[03:38:50] <Bytram> TheMightyBuzzard: One more try... you here?
[04:32:04] <Bytram> TheMightyBuzzard: NVM -- don't know why, but I repeated my earlier steps and now things are working?!!
[05:04:09] <TheMightyBuzzard> Bytram, that's a system init script. they always have to be run as root. sudo as martyb cause slash has no sudo perms.
[11:54:36] <Bytram> live & learn! Tx!
[14:49:14] <TheMightyBuzzard> fer future reference, anything in /etc/init.d/ is a system init script and has to be run as root
[14:53:12] <Bytram> Which, contrary to my prior thinking, does NOT mean that I should sudo as slash. Correct? IOW, I should just do: sudo $whatever
[14:56:42] <TheMightyBuzzard> roger. if in doubt, sudo -i will get you a straight up root shell
[14:58:17] <TheMightyBuzzard> but /etc/init.d/ is where all linux system daemon control scripts live. if you need to start or stop something that we're not doing way special custom, that's where the start/stop/restart script lives.
[15:10:55] <Bytram> nod nod. got it, THANKS!
[19:00:21] -!- Fnord666 [Fnord666!~Fnord666@Soylent/Staff/Editor/Fnord666] has joined #dev