Re: [gentoo-user] monitoring system resource usage
Can anyone recommend a method for monitoring system resource usage in a way that would allow me to correlate a rise in my web server's response time with the usage of a particular system resource if such a correlation exists? I don't need it to be 100% accurate, just accurate enough to be able to make the correlation with a reasonable degree of certainty. http://munin-monitoring.org/ Looks very cool indeed! I am reading more about it now. Do you find it easy to set up and maintain? In my opinion it's very easy to setup. Basically you just merge it, enable your plugins (via symlink), add munin-node to the runlevel and make sure the munin cron job is enabled. Then just browse to http://localhost/munin There's also a entry on the gentoo wiki: http://wiki.gentoo.org/wiki/Munin Do you have CGI graphs working? I can generate CGI HTML and I can CGI zoom on graphs but I can't get munin to generate CGI graphs instead of generating them statically. I'm not sure Gentoo's /etc/apache2/vhosts.d/munin.include is right since it doesn't reference /munin-cgi/munin-cgi-html/ at all. I haven't tried munin, but in case it helps, you'd want to set user or group to be readable/executable by apache to dynamically be running the cgi scripts when you visit the web page. The thing is, there are 3 CGI components. There is HTML generation, graph zooming, and graph generation. The first two work for me so CGI must be working. I think there is a problem with the Gentoo's munin.include for apache since it doesn't reference /munin-cgi/munin-cgi-graph/. I've filed a bug: https://bugs.gentoo.org/show_bug.cgi?id=473698 Actually, I think I just fixed it and I've updated the bug. It's a Gentoo issue. - Grant
Re: [gentoo-user] pycrypto-2.6-r2 fails to build
On 06/19/2013 02:59:15 AM, Tamer Higazi wrote: Hi people! I am trying to build pycrypto, by it fails to merge. Always I get ACCESS VIOLATION. I didn't make the merge as user (with sudo), I am doing it as root from a shell. Not even a shell opened in gnome. Just in a plain terminal session. If anybody of you could tell me where the error might be, I would kindly thank you. Tamer The complete build error is here: http://pastebin.com/raw.php?i=wJsrm2ZH That's strange, since I've just re-emerged the same version of PyCrypto here. One difference might be the version of sys-apps/sandbox On my unstable Portage system I'm using sandbox-2.6-rc1 while you have version 2.5. and info: sys-apps/sandbox: 2.5 Perhaps you should file a bug report about this sandbox violation Sorry, Helmut.
Re: [gentoo-user] pycrypto-2.6-r2 fails to build
2013/6/19 Tamer Higazi th9...@googlemail.com: Hi people! I am trying to build pycrypto, by it fails to merge. Always I get ACCESS VIOLATION. I didn't make the merge as user (with sudo), I am doing it as root from a shell. Which version of setuptools do you have installed? You can try to rebuild it. If this does not work this is probably a bug as the compile process tries to access the python site-packages outside of the sandbox. -- Regards Daniel Pielmeier
Re: [gentoo-user] pycrypto-2.6-r2 fails to build
tamer@office / $ emerge -pv setuptools These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R] dev-python/setuptools-0.6.30-r1 PYTHON_TARGETS=python2_7 -python2_5 -python2_6 -python3_1 -python3_2 624 kB Am 19.06.2013 11:56, schrieb Daniel Pielmeier: 2013/6/19 Tamer Higazi th9...@googlemail.com: Hi people! I am trying to build pycrypto, by it fails to merge. Always I get ACCESS VIOLATION. I didn't make the merge as user (with sudo), I am doing it as root from a shell. Which version of setuptools do you have installed? You can try to rebuild it. If this does not work this is probably a bug as the compile process tries to access the python site-packages outside of the sandbox.
Re: [gentoo-user] pycrypto-2.6-r2 fails to build
Same result with the version of sandbox you make use of it! Tamer Am 19.06.2013 10:13, schrieb Helmut Jarausch: That's strange, since I've just re-emerged the same version of PyCrypto here. One difference might be the version of sys-apps/sandbox On my unstable Portage system I'm using sandbox-2.6-rc1 while you have version 2.5. and info: sys-apps/sandbox: 2.5 Perhaps you should file a bug report about this sandbox violation Sorry, Helmut.
Re: [gentoo-user] pycrypto-2.6-r2 fails to build
On 06/19/2013 12:15:55 PM, Tamer Higazi wrote: tamer@office / $ emerge -pv setuptools These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R] dev-python/setuptools-0.6.30-r1 PYTHON_TARGETS=python2_7 -python2_5 -python2_6 -python3_1 -python3_2 624 kB I've been using version 0.7.3
Re: [gentoo-user] pycrypto-2.6-r2 fails to build
On 06/19/2013 02:59:15 AM, Tamer Higazi wrote: Hi people! I am trying to build pycrypto, by it fails to merge. Always I get ACCESS VIOLATION. I didn't make the merge as user (with sudo), I am doing it as root from a shell. Not even a shell opened in gnome. Just in a plain terminal session. If anybody of you could tell me where the error might be, I would kindly thank you. Tamer The complete build error is here: http://pastebin.com/raw.php?i=wJsrm2ZH In there, there is the message Permission denied: '/usr/lib64/python2.7/site-packages/test-easy-install-666.write-test' I don't have this file here. Could you please check if you have this file, check it permissions and delete it in case you have it. Helmut
Re: [gentoo-user] pycrypto-2.6-r2 fails to build
2013/6/19 Helmut Jarausch jarau...@igpm.rwth-aachen.de: On 06/19/2013 02:59:15 AM, Tamer Higazi wrote: Hi people! I am trying to build pycrypto, by it fails to merge. Always I get ACCESS VIOLATION. I didn't make the merge as user (with sudo), I am doing it as root from a shell. Not even a shell opened in gnome. Just in a plain terminal session. If anybody of you could tell me where the error might be, I would kindly thank you. Tamer The complete build error is here: http://pastebin.com/raw.php?i=wJsrm2ZH In there, there is the message Permission denied: '/usr/lib64/python2.7/site-packages/test-easy-install-666.write-test' I don't have this file here. Could you please check if you have this file, check it permissions and delete it in case you have it. Helmut I don't think the file exists, also why should he delete it? It is setuptools/pycrypto which tries to write files outside the sandbox which is not allowed. Tamer you can try if pycrypto installs fine with setuptools 0.7.3. If yes you should open a bug about the pycrypto-2.6-r2 sandbox issue with setuptools 0.6.30-r1 -- Regards Daniel
Re: [gentoo-user] pycrypto-2.6-r2 fails to build
On 06/19/2013 12:57:14 PM, Daniel Pielmeier wrote: 2013/6/19 Helmut Jarausch jarau...@igpm.rwth-aachen.de: The complete build error is here: http://pastebin.com/raw.php?i=wJsrm2ZH In there, there is the message Permission denied: '/usr/lib64/python2.7/site-packages/test-easy-install-666.write-test' I don't have this file here. Could you please check if you have this file, check it permissions and delete it in case you have it. Helmut I don't think the file exists, also why should he delete it? It is setuptools/pycrypto which tries to write files outside the sandbox which is not allowed. Because it could be that something first checks the existence of that file and only if it exists, tries to remove or use it. Helmut
Re: [gentoo-user] pycrypto-2.6-r2 fails to build
2013/6/19 Helmut Jarausch jarau...@igpm.rwth-aachen.de: On 06/19/2013 12:57:14 PM, Daniel Pielmeier wrote: 2013/6/19 Helmut Jarausch jarau...@igpm.rwth-aachen.de: The complete build error is here: http://pastebin.com/raw.php?i=wJsrm2ZH In there, there is the message Permission denied: '/usr/lib64/python2.7/site-packages/test-easy-install-666.write-test' I don't have this file here. Could you please check if you have this file, check it permissions and delete it in case you have it. Helmut I don't think the file exists, also why should he delete it? It is setuptools/pycrypto which tries to write files outside the sandbox which is not allowed. Because it could be that something first checks the existence of that file and only if it exists, tries to remove or use it. Helmut No ebuild should mess with the live system!!! The problem is probably with the doc use flag. Tamer you can also try to install pycrypto without this use flag. If it works you should open a bug about pycypto failing to build with the doc use flag. -- Daniel Pielmeier
Re: [gentoo-user] pycrypto-2.6-r2 fails to build (SOLVED)
Daniel! You were absolutely right, it was the doc USE Flag that caused the problem. Thank you Am 19.06.2013 13:05, schrieb Daniel Pielmeier: No ebuild should mess with the live system!!! The problem is probably with the doc use flag. Tamer you can also try to install pycrypto without this use flag. If it works you should open a bug about pycypto failing to build with the doc use flag.
Re: [gentoo-user] pycrypto-2.6-r2 fails to build (SOLVED)
And I will file this evening a bug of course.. Am 19.06.2013 14:23, schrieb Tamer Higazi: Daniel! You were absolutely right, it was the doc USE Flag that caused the problem. Thank you Am 19.06.2013 13:05, schrieb Daniel Pielmeier: No ebuild should mess with the live system!!! The problem is probably with the doc use flag. Tamer you can also try to install pycrypto without this use flag. If it works you should open a bug about pycypto failing to build with the doc use flag.
[gentoo-user] emerge --depclean -p list all packages
When I run: emerge --depclean -p The system lists all packages on my system (no it doesn't want to remove them); they are just scrolling by eg: xfce-extra/xfce4-screenshooter-1.8.1 pulled in by: @selected requires xfce-extra/xfce4-screenshooter xfce-extra/xfce4-sensors-plugin-1.2.5 pulled in by: @selected requires xfce-extra/xfce4-sensors-plugin xfce-extra/xfce4-taskmanager-1.0.0 pulled in by: @selected requires xfce-extra/xfce4-taskmanager xfce-extra/xfce4-verve-plugin-1.0.0 pulled in by: @selected requires xfce-extra/xfce4-verve-plugin No packages selected for removal by depclean Packages installed: 1081 Packages in world:244 Packages in system: 42 Required packages:1081 Number to remove: 0 I think it has something to do with verbose set somewhere, I don't remember. -- Joseph
Re: [gentoo-user] emerge --depclean -p list all packages
On Jun 20, 2013 12:31 AM, Joseph syscon...@gmail.com wrote: When I run: emerge --depclean -p The system lists all packages on my system (no it doesn't want to remove them); they are just scrolling by eg: xfce-extra/xfce4-screenshooter-1.8.1 pulled in by: @selected requires xfce-extra/xfce4-screenshooter xfce-extra/xfce4-sensors-plugin-1.2.5 pulled in by: @selected requires xfce-extra/xfce4-sensors-plugin xfce-extra/xfce4-taskmanager-1.0.0 pulled in by: @selected requires xfce-extra/xfce4-taskmanager xfce-extra/xfce4-verve-plugin-1.0.0 pulled in by: @selected requires xfce-extra/xfce4-verve-plugin No packages selected for removal by depclean Packages installed: 1081 Packages in world:244 Packages in system: 42 Required packages:1081 Number to remove: 0 I think it has something to do with verbose set somewhere, I don't remember. -- Joseph Have you set verbose in EMERGE_DEFAULT_OPTS or similar? I don't use it and I don't remember it correctly. Mit freundlichen Grüßen / Best Regards Randolph Maaßen
Re: [gentoo-user] Any way of tracing kernel freezes?
On Fri, Jun 14, 2013 at 10:56:51PM -0700, Thomas Mueller wrote: Excerpt from Frank Steinmetzger: Temperature? - check for dust puppies clogging the heatsinks, cooling etc. It's a netbook with a 6.5 Watt CPU. I'm going through the big emerge again right now (3.5 hours in), and it never goes above 66°. Besides, the freezes also happened when I didn't do anything heavy. Just surfing (though Firefox can also be heave for an Atom ^^). Anyhoo, I'm running 3.8.13 again now. I didn't have my config anymore, so I oldconfig'ed it from 3.9. Let's see whether it's more stable. If yes, hm... I can't really report this to the kernel devs: My netbook freezes since 3.9, that's all I know. Here, have my configs. :-I Is your temperature of 66° F or C? The proper degrees of course ;-) i.e. Celsius. System temperature or surrounding room temperature? CPU Temp. It’s the only sensor I’ve got. I have an old computer whose fan has quit as happened once before. The fan is fine. CPUs generate considerable heat […] When I do use that old computer, I open the case and prop a hair dryer to run at low, ambient-temperature air pointed at the CPU. Please re-read the first paragraph you quoted from me in your reply. On an on-topic sidenote: I had a freeze the other day with the 3.8 kernel. So it could likely be a hardware issue. After I accidentially cut the WiFi cable where it goes through the hinge, I installed another netbook's antenna and connected it to the metal foil in the back of the lid. That can't possibly be the culprit, can it? WiFi is working fine, as far as I can tell. -- Gruß | Greetings | Qapla’ Please do not share anything from, with or about me with any Facebook service. I hate being bi-polar. It’s fantastic! signature.asc Description: Digital signature