[gentoo-user] Cryptic error from some cron job
Hi All, I have rebuilt a PC which has started sending me this error whenever it runs logrotate: Password: 501 Not authorised --- Reply not authenticated error: stat of /var/log/cups/access_log failed: No such file or directory error: stat of /var/log/cups/error_log failed: No such file or directory error: stat of /var/log/cups/page_log failed: No such file or directory Would you know what might be causing the above 501 error? PS. I use ssmtp to send mail of the logs with the same settings from different PCs and I have not noticed this error before on this or any other machine. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Terminals not closing after exit anymore
On Sun, 24 Nov 2013 15:14:33 +0100 Marc Stürmer m...@marc-stuermer.de wrote: When working under X11 in a terminal and I type exit in the shell, the terminal does not close itself anymore. Hi Marc, Did you find out what was causing this issue? I've been experiencing it as well in my Gnome 2 system (gnome-terminal). I haven't put much effort into figuring out what is happening, but I'm curious now that I know it has affected someone else as well.
[gentoo-user] Re: {OT} video monitoring
Grant emailgrant at gmail.com writes: I've been using motion along with USB cameras for a while. I need to expand my monitoring capacity and I'm wondering if I should consider changing software or hardware. motion seems fairly dead but is stable. I'm reading conflicting info about the current status of zoneminder. Is anyone using IP cams? Hello Grant, I've not kept up with the last few years, but here is what I did before that. IP (h.264 over tcp/ip/udp) is a random matrix if which vendors cameras work with which vendors dvr. A dvr is a decoder box with a hard drive. You then connect your web browser to the DVR where the managerie of IP cams store the video. IT SUCKS for open source. Some vendors will give you binaries or have pre-compiled binaries (an API they call it) to load onto your Linux system (red hat or such), but those are often clunky and annoying, at best. The industry is still beholden to Microsoft and the MPLA.. ZONEMINDER is a difficult read. It would not have been that difficult to add support for H.264 (Mpeg-HVC) but most of the folks that developed that deep knowledge headed for BIG PAYCHECKS and the proprietary buggy. If you find some open source minded developers, willing to fork zoneminder, let me know and I'll contribute as I can I'm sorry the news is not better; in fact there could be another project out there that I'm not aware of, as I've been in other spaces for the last few years. The best contact I can give you is Andrey Filippov. He is a hardware designer that buids (use to?) an open source hardware camera that does amazing things. He will know software developers still active in the space and folks that may have an open source H.264 solution. http://.elphel.com Google has an open source video solution (can't recall the name, VP8?) that is suppose to be better than H.264 and open source, so search it out! http://gigaom.com/2013/10/30/google-sticks-with-vp8-opposes-ciscos-push-for-h-264/ http://www.webmproject.org/license/bitstream/ Regardless of which way you go, learn about MPLA, cause the SUE the shit out of grade school kids for touching video. Do post back what you learn? hth, James
Re: [gentoo-user] Terminals not closing after exit anymore
Am 25.11.2013 15:15, schrieb Randy Barlow: Did you find out what was causing this issue? I've been experiencing it as well in my Gnome 2 system (gnome-terminal). I haven't put much effort into figuring out what is happening, but I'm curious now that I know it has affected someone else as well. Not yet, e.g. Xfce Terminal 0.6.X works as I want it, version 0.4.8 does not. Mate Terminal also does not. Still diggin'!
Re: [gentoo-user] {OT} video monitoring
On 11/23/2013 07:03 PM, Grant wrote: I've been using motion along with USB cameras for a while. I need to expand my monitoring capacity and I'm wondering if I should consider changing software or hardware. motion seems fairly dead but is stable. I'm reading conflicting info about the current status of zoneminder. Is anyone using IP cams? - Grant +1 for motion, it works very well (is being developed afaik), gives you live view as well as frame capture. the bug bear for scaling up is you do need a usb controller (not just a usb port) per camera if you want anywhere near sensible resolution with usb webcams. however i find i can normally get away with two cameras hooked up to my routers so that i know who last touched them. this is not a motion issue, it is a hardware bandwidth issue. you might like to roll your own ip cam by taking a raspberry pi+gentoo+usb webcam(+powered usb hub) - still v.cheap. alternatively consider a dedicated mpeg2 (hmm showing my age i think) capture card which has multiple inputs. you can find a list of compatible devices at the motion website http://www.lavrsen.dk/foswiki/bin/view/Motion/WorkingDevices it is the hardware that is the issue -- not the software. if you are looking to have like a security wall with 30 odd cameras all showing the a different view of your secure area, all you need is a web front end that connects an html table with each piece of the table a live view of each camera. you could therefore easily have 100+ seperate computers each with two cameras, and the only piece of kit that would struggle would be the end computer that would try to stream 200 camera images scaled down to fit ! one more thing is that there is an android app (i'm sure there are many but i can say this one works) called ip webcam which lets you bookmark all your motion live cams, meaning that you could then check security status from anywhere using your phone. not sure if you can do that with the other programs, maybe someone else can chip in if they know. hth
Re: [gentoo-user] Terminals not closing after exit anymore
On 2013-11-25 17:15, Marc Stürmer wrote: Am 25.11.2013 15:15, schrieb Randy Barlow: Did you find out what was causing this issue? I've been experiencing it as well in my Gnome 2 system (gnome-terminal). I haven't put much effort into figuring out what is happening, but I'm curious now that I know it has affected someone else as well. Not yet, e.g. Xfce Terminal 0.6.X works as I want it, version 0.4.8 does not. Mate Terminal also does not. Still diggin'! Don't have Mate, but I can otherwise confirm this behavior: xfce terminal works, gnome-terminal does weird things. One more thing that happens to me is that apparently gnome-terminal does not notify console apps of new window size. For me this happens to Alpine. (The only reason why I didn't simply switch to xfce terminal is that there I cannot switch off the scrollbar with parameters.) I found about the time when this started happening, x11-libs/vte was updated on my system. I tried downgrading it but that didn't change anything. Peter.
Re: [gentoo-user] {OT} video monitoring
On Mon, 25 Nov 2013 19:51:02 +, thegeezer wrote: the bug bear for scaling up is you do need a usb controller (not just a usb port) per camera if you want anywhere near sensible resolution with usb webcams. This depends greatly on the specific cameras. Microsoft webcams, while giving good quality, are notorious for using whatever USB bandwidth is available, so two on one controller just doesn't work. Others are more forgiving. -- Neil Bothwick When puns are outlawed only outlaws will have puns. signature.asc Description: PGP signature
[gentoo-user] to nest commands
Hello, My Bash skills are not that advanced, so I am wondering if it is possible to nest one command inside in another command, not in a script,but on the command line,for instance to copy a file to a different destination while changing permissons at the same time, all in one line. -- edwardu...@live.com edwardu...@live.com
Re: [gentoo-user] to nest commands
On 26/11/2013 08:59, edwardu...@live.com wrote: Hello, My Bash skills are not that advanced, so I am wondering if it is possible to nest one command inside in another command, not in a script,but on the command line,for instance to copy a file to a different destination while changing permissons at the same time, all in one line. You don't do it that way. I understand what you want to do, but your description makes no sense. How you do it is by running two commands on one line, one after the other. To copy a file myfile.txt to /tmp and also change it's permissions, use the ; separator: cp myfile.txt /tmp ; chmod 644 /tmp/myfile.txt That runs the first command (cp) and then blindly runs the second one. Sometimes you want to run the second command only if the first one succeeds (there's not much point in chmod'ing a file that didn't copy properly. does this: cp myfile.txt /tmp chmod 644 /tmp/myfile.txt is boolean logic and a very common programming trick. I won't bore you with details - it gets complex and we'd have to deal with brash crazies like why true and false is the wrong way round the the rest of the world, but just know it this way: the second command (chmod) will only run if the first (cp) succeeded. If it failed, the chmod will not be be tried. Note that is definitely not the same thing as just one - that is something completely different. Bash is full of such stuff, it's all done deliberately to mess with your head :-) -- Alan McKinnon alan.mckin...@gmail.com
Re: [gentoo-user] to nest commands
On Tue, 26 Nov 2013 01:16:45 +0200 Alan McKinnon alan.mckin...@gmail.com wrote: You don't do it that way. I understand what you want to do, but your description makes no sense. How you do it is by running two commands on one line, one after the other. To copy a file myfile.txt to /tmp and also change it's permissions, use the ; separator: cp myfile.txt /tmp ; chmod 644 /tmp/myfile.txt That runs the first command (cp) and then blindly runs the second one. Sometimes you want to run the second command only if the first one succeeds (there's not much point in chmod'ing a file that didn't copy properly. does this: cp myfile.txt /tmp chmod 644 /tmp/myfile.txt is boolean logic and a very common programming trick. I won't bore you with details - it gets complex and we'd have to deal with brash crazies like why true and false is the wrong way round the the rest of the world, but just know it this way: the second command (chmod) will only run if the first (cp) succeeded. If it failed, the chmod will not be be tried. Note that is definitely not the same thing as just one - that is something completely different. Bash is full of such stuff, it's all done deliberately to mess with your head :-) Thanks for the prompt reply and free lesson, I appreciate it:-) Yes...this is exactly what I was looking for. -- edwardu...@live.com edwardu...@live.com