Re: [gentoo-user] Failure to compile gcc-3.3.6-r1
Łeandro Sales wrote: Hi folks, someone to help me on this issue: * Messages for package sys-devel/gcc-3.3.6-r1: * * ERROR: sys-devel/gcc-3.3.6-r1 failed. * Call stack: * ebuild.sh, line 1701: Called dyn_compile * ebuild.sh, line 1039: Called qa_call 'src_compile' * ebuild.sh, line 44: Called src_compile * ebuild.sh, line 1383: Called toolchain_src_compile * toolchain.eclass, line 26: Called gcc_src_compile * toolchain.eclass, line 1548: Called gcc_do_make * toolchain.eclass, line 1422: Called die * The specific snippet of code: * emake \ * LDFLAGS=${LDFLAGS} \ * STAGE1_CFLAGS=${STAGE1_CFLAGS} \ * LIBPATH=${LIBPATH} \ * BOOT_CFLAGS=${BOOT_CFLAGS} \ * ${GCC_MAKE_TARGET} \ * || die emake failed with ${GCC_MAKE_TARGET} * The die message: * emake failed with bootstrap-lean Thanks, Leandro. http://bugs.gentoo.org/show_bug.cgi?id=191273 -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Bugzilla-2.22.3 not sending any mails...
On Mon, 2007-11-26 at 12:54 -0600, Dan Farrell wrote: On Sun, 25 Nov 2007 16:07:54 +0100 Jules Colding [EMAIL PROTECTED] wrote: Hi, I've emerged bugzilla-2.22.3(*) on a hardened box(**). The problem is that while bugzilla can send password reminder mails it doesn't send any other mails. Changing a bug or adding a new one does not result in a mail to the default assignee. Any ideas? Thanks, jules does the box accept/send email? If so, does it work? If not, does bugzilla somehow know about the relay your ISP provides? Actually the problem was in my end. I added some helper test at the start of 'newchangedmail'. This made the MTA not see the 'To:' SMTP header. Moving that text further down the notification mail fixed the problem. Mea Culpa - but thanks anyway, jules -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Binhost integrity questions
Dan Farrell wrote: md5sum - compute and check MD5 message digest [EMAIL PROTECTED] ~ $ dd if=/dev/urandom of=/tmp/md5src count=512 512+0 records in 512+0 records out 262144 bytes (262 kB) copied, 0.041335 s, 6.3 MB/s [EMAIL PROTECTED] ~ $ md5sum /tmp/md5src 966019983a079e2bf03566d1f0eca061 /tmp/md5src if you want to verify your own download, you could download the file here: http://spore.ath.cx/~dan/md5src and check to see if you get the same checksum. Thank you for your answer. I am afraid you go a little to fast for me. What does $ dd if=/dev/urandom of=/tmp/md5src count=512 exactly do? Regards, Aniruddha -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Binhost integrity questions
2007/11/27, Aniruddha [EMAIL PROTECTED]: Dan Farrell wrote: md5sum - compute and check MD5 message digest [EMAIL PROTECTED] ~ $ dd if=/dev/urandom of=/tmp/md5src count=512 512+0 records in 512+0 records out 262144 bytes (262 kB) copied, 0.041335 s, 6.3 MB/s [EMAIL PROTECTED] ~ $ md5sum /tmp/md5src 966019983a079e2bf03566d1f0eca061 /tmp/md5src if you want to verify your own download, you could download the file here: http://spore.ath.cx/~dan/md5src and check to see if you get the same checksum. Thank you for your answer. I am afraid you go a little to fast for me. What does $ dd if=/dev/urandom of=/tmp/md5src count=512 exactly do? It generates a file out of random bits returned from /dev/urandom, I think /dev/random is also possible. See here [1] and [2] for more information. I thinks it was just meant as a sample file to compare the md5 checksums. [1] http://en.wikipedia.org/wiki/Urandom [2] http://www.linuxmanpages.com/man1/dd.1.php -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Binhost integrity questions
Hi, On Tue, 27 Nov 2007 10:46:02 +0100 Aniruddha [EMAIL PROTECTED] wrote: Thank you for your answer. I am afraid you go a little to fast for me. What does $ dd if=/dev/urandom of=/tmp/md5src count=512 exactly do? Put 512 blocks of pseudo-random stuff in /tmp/md5src. I think Dan just did just misinterpret your question for something much more basic. In fact, you're specifically asking for portage's binhost configuration, i.e. binary package generation and distribution. I don't think that portage is currently very good at that, especially regarding the configurability of the binary package fetching. If I were you, I'd rather use sshfs or similar in order to give access to the main binary repository and then use emerge -K instead of emerge -g. That way you're somewhat on the safe side. Another option would be to setup the binhost for HTTPS and make the clients aware of the correct cert's public representation. -hwh -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] apache problem (can't find libpq.so.4)
Have you tried revdep-rebuild? On 11/27/07, Rafael Barrera Oro [EMAIL PROTECTED] wrote: Hello, i have the following problem when trying to start apache *Apache2 has detected a syntax error in your configuration files: /usr/sbin/apache2: error while loading shared libraries: libpq.so.4: cannot open shared object file: No such file or directory i searched for libpq.so.4 and found out that i only had libpq.so.5, so i tried a symlink (which i inmediately undoed after seeing that it led to a new error which frightened me) i have postgresql 8.2.4 installed libpq.so.4 should be there? or apache should use libpq.so.5? as usual, a lot of true hart felt sincere thanks in advance Rafael -- *Ricardo Saffi Marques* Laboratório de Administração e Segurança de Sistemas (LAS/IC) Universidade Estadual de Campinas (UNICAMP) *Cell:* +55 (19) 8128-0435 *Skype:* ricardo_saffi_marques *Website:* *http://www.rsaffi.com*
[gentoo-user] apache problem (can't find libpq.so.4)
Hello, i have the following problem when trying to start apache *Apache2 has detected a syntax error in your configuration files: /usr/sbin/apache2: error while loading shared libraries: libpq.so.4: cannot open shared object file: No such file or directory i searched for libpq.so.4 and found out that i only had libpq.so.5, so i tried a symlink (which i inmediately undoed after seeing that it led to a new error which frightened me) i have postgresql 8.2.4 installed libpq.so.4 should be there? or apache should use libpq.so.5? as usual, a lot of true hart felt sincere thanks in advance Rafael
Re: [gentoo-user] apache problem (can't find libpq.so.4)
As a matter of fact i have not, will give it a try inmediately! thanks for the tip 2007/11/27, Ricardo Saffi Marques [EMAIL PROTECTED]: Have you tried revdep-rebuild? On 11/27/07, Rafael Barrera Oro [EMAIL PROTECTED] wrote: Hello, i have the following problem when trying to start apache *Apache2 has detected a syntax error in your configuration files: /usr/sbin/apache2: error while loading shared libraries: libpq.so.4: cannot open shared object file: No such file or directory i searched for libpq.so.4 and found out that i only had libpq.so.5, so i tried a symlink (which i inmediately undoed after seeing that it led to a new error which frightened me) i have postgresql 8.2.4 installed libpq.so.4 should be there? or apache should use libpq.so.5? as usual, a lot of true hart felt sincere thanks in advance Rafael -- *Ricardo Saffi Marques* Laboratório de Administração e Segurança de Sistemas (LAS/IC) Universidade Estadual de Campinas (UNICAMP) *Cell:* +55 (19) 8128-0435 *Skype:* ricardo_saffi_marques *Website:* *http://www.rsaffi.com*
[gentoo-user] ssh connections time out
Hi All, I have noticed this problem when I try to connect to two different machines in two different continents. One is on cable (US) the other on ISDN ADSL (Greece). In the evening and sometimes weekends ssh connections from my laptop to these two PCs are either taking ages or time out. This is ssh connections to sshd which is listening to random ports in the 200+ or 12000+ ranges. If I eventually manage to connect the latency is ridiculous - up to 5 seconds! Sometimes I enter a passwd, if I can get that far and then wait for hours with no response. Eventually, I have to close the terminal. Tracerouting does not get through although some clever tcptraceroute strings may on occasions (intermittently) get through. Both servers run on domestic networks. BTW, ssh-ing to servers in datacenters with their big fiber-optic pipes, although relatively slow in peak times, always gets through. The strange thing is that there is no problem talking to these boxen while they run Google-Talk, it's only the ssh connection that seems to suffer. Have you come across such a problem before? How can I troubleshoot it? In this day and age of broadband connections it seems strange to get worse performance than on a dialup network . . . I mean I have run VNC connections over a 56k dial up with more responsiveness than this! -- Regards, Mick signature.asc Description: This is a digitally signed message part.
[gentoo-user] WIn2003 interfering Samba ?
Hello, I have an Samba server as a PDC running in a local network. Everything works fine. Now we installed a Windows 2003 Small Business Server with MS SQL in the network, because one application needs the MS SQL Server.. Honestly I have no great knowledge of MS Server and Networks, so I left it pretty much untouched. Now two clients are not able anymore to access the shares on the samba server which an strange error message (in German in fact) meaning something like cannot retrieve informations from domain controller. I never saw that before and now i am concerned that the windows server is interfering somehow with the Samba PDC. Any ideas ? Hints ? Thanks Stonki -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] ssh connections time out
Hi All, I have noticed this problem when I try to connect to two different machines in two different continents. One is on cable (US) the other on ISDN ADSL (Greece). In the evening and sometimes weekends ssh connections from my laptop to these two PCs are either taking ages or time out. This is ssh connections to sshd which is listening to random ports in the 200+ or 12000+ ranges. If I eventually manage to connect the latency is ridiculous - up to 5 seconds! Sometimes I enter a passwd, if I can get that far and then wait for hours with no response. Eventually, I have to close the terminal. Tracerouting does not get through although some clever tcptraceroute strings may on occasions (intermittently) get through. Both servers run on domestic networks. BTW, ssh-ing to servers in datacenters with their big fiber-optic pipes, although relatively slow in peak times, always gets through. The strange thing is that there is no problem talking to these boxen while they run Google-Talk, it's only the ssh connection that seems to suffer. Have you come across such a problem before? How can I troubleshoot it? In this day and age of broadband connections it seems strange to get worse performance than on a dialup network . . . I mean I have run VNC connections over a 56k dial up with more responsiveness than this! -- Regards, Mick Hi Mick, I have noticed these problems myself as well sometimes when connecting to a server connected to ADSL in the UK (I am currently in NL myself) Fortunately for me, I have full access to the ADSL-router from that server when I can connect and I found it usually coincides with connection problems between the router and the ISP. Can you (or someone else) check if there are any problems with this? Another cause could be that the ISP (you did mention these are domestic networks) is throttling/blocking certain ports/services/connection types. I have heard of ISPs in NL and Belgium (not sure if it's true) that tend to change these policies depending on the time of day. This could also be done by your ISP. Are the SSH-ports of the servers in DataCenters on 22 (default) or in the higher 200+ and 12000+ range? Kind regards, Joost Roeleveld -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] ssh connections time out
Christopher Copeland wrote: On 27 Nov 2007, at 10:19, Mick wrote: Hi All, I have noticed this problem when I try to connect to two different machines in two different continents. One is on cable (US) the other on ISDN ADSL (Greece). In the evening and sometimes weekends ssh connections from my laptop to these two PCs are either taking ages or time out. This is ssh connections to sshd which is listening to random ports in the 200+ or 12000+ ranges. If I eventually manage to connect the latency is ridiculous - up to 5 seconds! Sometimes I enter a passwd, if I can get that far and then wait for hours with no response. Eventually, I have to close the terminal. Tracerouting does not get through although some clever tcptraceroute strings may on occasions (intermittently) get through. Both servers run on domestic networks. BTW, ssh-ing to servers in datacenters with their big fiber-optic pipes, although relatively slow in peak times, always gets through. The strange thing is that there is no problem talking to these boxen while they run Google-Talk, it's only the ssh connection that seems to suffer. Have you come across such a problem before? How can I troubleshoot it? In this day and age of broadband connections it seems strange to get worse performance than on a dialup network . . . I mean I have run VNC connections over a 56k dial up with more responsiveness than this! -- Regards, Mick I've run across the same kind of issues on certain ISPs when using non-standard ports for sshd. Given other connections (Gtalk) are working, the first thing I would try in your position is to see if there is a difference when using 22 versus your random port. With certain ISPs in the UK I've found SSH connections to be unusable on anything but the default port. Of course it has everything to do with the smart traffic shaping at the ISP and there was nothing I could do about it. -- Christopher I also ran into something like this on a local network. I corrected this by adding the remote systems to my hosts file and putting the entry in the host file on the remote system. I'm not sure what affect this had but it worked like a charm after that. I guess it lets each other know who the other is or something. Hope that helps. Dale :-) :-) :-) :-) -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] ssh connections time out
On 27 Nov 2007, at 10:19, Mick wrote: Hi All, I have noticed this problem when I try to connect to two different machines in two different continents. One is on cable (US) the other on ISDN ADSL (Greece). In the evening and sometimes weekends ssh connections from my laptop to these two PCs are either taking ages or time out. This is ssh connections to sshd which is listening to random ports in the 200+ or 12000+ ranges. If I eventually manage to connect the latency is ridiculous - up to 5 seconds! Sometimes I enter a passwd, if I can get that far and then wait for hours with no response. Eventually, I have to close the terminal. Tracerouting does not get through although some clever tcptraceroute strings may on occasions (intermittently) get through. Both servers run on domestic networks. BTW, ssh-ing to servers in datacenters with their big fiber-optic pipes, although relatively slow in peak times, always gets through. The strange thing is that there is no problem talking to these boxen while they run Google-Talk, it's only the ssh connection that seems to suffer. Have you come across such a problem before? How can I troubleshoot it? In this day and age of broadband connections it seems strange to get worse performance than on a dialup network . . . I mean I have run VNC connections over a 56k dial up with more responsiveness than this! -- Regards, Mick I've run across the same kind of issues on certain ISPs when using non- standard ports for sshd. Given other connections (Gtalk) are working, the first thing I would try in your position is to see if there is a difference when using 22 versus your random port. With certain ISPs in the UK I've found SSH connections to be unusable on anything but the default port. Of course it has everything to do with the smart traffic shaping at the ISP and there was nothing I could do about it. -- Christopher -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Re: mount cdrom: No buffer space available
On Mon, 26 Nov 2007 07:53:40 +0100, Dirk Heinrichs wrote: There is no need to do so. However, a fuse based filesystem for mounting audio CDs exists, see http://castet.matthieu.free.fr/cddfs/. Oh, thank you all for your input -- I've been a bit obsessed with rails and let this go to the back burner a bit. However, I did notice that when I click on CDROM from nautilus there's a message about HAL; again, though, it cannot be a hardware issue as these particular discs and drives work in another distro on the same machine. If the discs and drives work on the same machine with a different distro, then I agree, the hardware should work. Also, as the /dev/ entries exist and it doesn't complain about that, the drives are probably detected correctly. I believe it to be a driver issue (HAL is a hardware driver? Hardware Abstraction Layer? But isn't it more BIOS than OS?). I'll double check things with some data discs on the other distro in the next few days and do some more googling (and wikipedia-ing). Can you also check with datadiscs on the Gentoo installation? I agree with the others that audio-discs are generally not mountable. The FUSE-driver for Audio-discs might be installed on your other distro (Redhat?), but is not installed by default with Gentoo. If this sheds any light: arrakis ~ # arrakis ~ # dmesg | grep 'cd' ehci_hcd :00:03.3: EHCI Host Controller Snipped dmesg-output When I do the above command, it only shows me the cd/dvd writer, not the cdrom drive. Can you post the full output of dmesg after you booted the system? I think it's more on shutdown that I notice lotsa weird messages about the cdrom drive(s) since futzing with /etc/fstab. Can you also give us the contents of your /etc/fstab file? Kind regards, Joost Roeleveld -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] ssh connections time out
Christopher Copeland wrote: On 27 Nov 2007, at 10:19, Mick wrote: Hi All, I have noticed this problem when I try to connect to two different machines in two different continents. One is on cable (US) the other on ISDN ADSL (Greece). In the evening and sometimes weekends ssh connections from my laptop to these two PCs are either taking ages or time out. This is ssh connections to sshd which is listening to random ports in the 200+ or 12000+ ranges. If I eventually manage to connect the latency is ridiculous - up to 5 seconds! Sometimes I enter a passwd, if I can get that far and then wait for hours with no response. Eventually, I have to close the terminal. snip I've run across the same kind of issues on certain ISPs when using non-standard ports for sshd. Given other connections (Gtalk) are working, the first thing I would try in your position is to see if there is a difference when using 22 versus your random port. With certain ISPs in the UK I've found SSH connections to be unusable on anything but the default port. Of course it has everything to do with the smart traffic shaping at the ISP and there was nothing I could do about it. -- Christopher I also ran into something like this on a local network. I corrected this by adding the remote systems to my hosts file and putting the entry in the host file on the remote system. I'm not sure what affect this had but it worked like a charm after that. I guess it lets each other know who the other is or something. Hope that helps. Dale Hi Dale, Your comment might actually indicate a problem with the DNS-server involved. Configuring the server(s) in the hosts file would be one solution. Mick, do you use IP-addresses or hostnames when you try to connect? If you are using hostnames, can you test with IP-addresses instead? Kind regards, Joost Roeleveld -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Binhost integrity questions
On Tue, 27 Nov 2007 10:46:02 +0100 Aniruddha [EMAIL PROTECTED] wrote: Dan Farrell wrote: md5sum - compute and check MD5 message digest [EMAIL PROTECTED] ~ $ dd if=/dev/urandom of=/tmp/md5src count=512 512+0 records in 512+0 records out 262144 bytes (262 kB) copied, 0.041335 s, 6.3 MB/s [EMAIL PROTECTED] ~ $ md5sum /tmp/md5src 966019983a079e2bf03566d1f0eca061 /tmp/md5src if you want to verify your own download, you could download the file here: http://spore.ath.cx/~dan/md5src and check to see if you get the same checksum. Thank you for your answer. I am afraid you go a little to fast for me. What does $ dd if=/dev/urandom of=/tmp/md5src count=512 exactly do? Regards, Aniruddha I assume these others cleared it up? The basic idea is that the 'md5sum' program will compute the sum, and so you can use that to verify the authenticity of the binary downloads. The rest of email was, as they said, an example of doing so on a small randomly-generated file. What does $ dd if=/dev/urandom of=/tmp/md5src count=512 exactly do? It reads 512 blocks from the input file (if=/dev/urandom) and writes it to the output file (of=/tmp/md5src). -- [EMAIL PROTECTED] mailing list
[gentoo-user] python bug on gentoo with webbrowser module
I do not manage to solve this problem : import webbrowser webbrowser.open('http://www.python.org') always open the following url in my firefox instead of www.python.org : file:///home/steph/%22http://www.python.org%22 Best Regards Steph -- [EMAIL PROTECTED] mailing list
[gentoo-user] amd64 fresh install woes (configure: error: cannot run C compiled programs.???)
Hi all, Little history: like many on this ML I decided that the time has come to switch over to the 64bit computing and went with fresh LiveDVD install of gentoo. Cruel reality: After doing stage3 install and making syncing portage I'm failing updates on gcc and sandbox - both complaining: configure: error: cannot run C compiled programs. for sandbox there was a suggestion of turning off sandbox in FEATURES. I did that. In fact my FEATURES is absolutely empty at this point and it's still a no-go. Now before I go and post this in bugs.gentoo.org I'd like to know if maybe it's an 64-bit FAQ and I'm doing something wrong. Any pointers/suggestions/directions are appreciated. -- Dmitry Makovey Web Systems Administrator Athabasca University (780) 675-6245 signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] ssh connections time out
Dale wrote: snipped I also ran into something like this on a local network. I corrected this by adding the remote systems to my hosts file and putting the entry in the host file on the remote system. I'm not sure what affect this had but it worked like a charm after that. I guess it lets each other know who the other is or something. Hope that helps. Dale :-) :-) :-) :-) I've had this problem as well. I've added UseDNS no to the sshd_config file and that had the same result. I usually only had high latency establishing the connection though. Once the connection was established and I was logged in, everything was fast again. I've also had connection issues while transferring files through ssh, and I got around that (somewhat) by added -l to the scp command. This tries to throttle the connection speed, and I can usually keep a connection going with that. I say that is somewhat fixed the issue because I also need to use ssh to port forward to an internal database and run scripts there, but there's no way that I know to do the same throttling with a port forwarding ssh command. Chris -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] ssh connections time out
Thank you all for your replies, On Tuesday 27 November 2007, Chris Frederick wrote: Dale wrote: I also ran into something like this on a local network. I corrected this by adding the remote systems to my hosts file and putting the entry in the host file on the remote system. [ship...] I've had this problem as well. I've added UseDNS no to the sshd_config file and that had the same result. I usually only had high latency establishing the connection though. Once the connection was established and I was logged in, everything was fast again. The problem is not with the DNS servers. I use IP addresses to access these machines and when I have tried FQDNs it makes no odds. I've also had connection issues while transferring files through ssh, and I got around that (somewhat) by added -l to the scp command. This tries to throttle the connection speed, and I can usually keep a connection going with that. I say that is somewhat fixed the issue because I also need to use ssh to port forward to an internal database and run scripts there, but there's no way that I know to do the same throttling with a port forwarding ssh command. The -l option is to apply a protocol specific type of QoS and limit the bandwidth consumed by scp so that other critical services on the server don't run dry. My problem is that I do not seem to have enough bandwidth to start with. The ports of the servers are random numbers in the 200+ and 12000+ range and I have checked that no other applications are using/listening on these ports. I've not tried port 22 yet, but I'll give it a go tonight. I tend to use higher random ports just to achieve some basic 'security by obscurity' from script kiddies and botnets. The issue with port 22 is that the world-and-his-wife will try to hack in and cause DoS to the little bandwidth that seems to be available. :p Ha! I'll deal with this at the firewall. The datacenter servers are listening on port 22. This difference in performance between the production and the domestic servers also made me think that there may well be some traffic shaping by the ISPs at their routers, but don't know if I can test this for definite somehow. I don't think that setting up QoS at the domestic servers is going to make any difference. These machines are not stressed at all and off peak I can access them fine. It is at peak times that things really go pear shape, hence it should be a network congestion/traffic shaping issue. I don't know if people started going mad at the pre-Christmas online shopping and things have been particularly bad since last Saturday, or if it is just some ISP network maintenance that made my connections impossible. More about my trials and tribulations on port 22 tomorrow . . . -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] amd64 fresh install woes (configure: error: cannot run C compiled programs.???)
071127 Dmitry S. Makovey wrote: I decided that the time has come to switch over to 64bit computing and went with fresh LiveDVD install of gentoo. After doing stage3 install and making syncing portage I'm failing updates on gcc and sandbox - both complaining: 'configure: error: cannot run C compiled programs' I recently installed 64-bit Gentoo on a newly-built machine had something very similar happen with Gcc Sandbox. Try recompiling your kernel with support for 'Executable file formats/emulations - [x] IA32'. You may also later need for some other pkgs 'app-emulation/emul-linux-x86-xlibs' some of its brothers. -- ,, SUPPORT ___//___, Philip Webb : [EMAIL PROTECTED] ELECTRIC /] [] [] [] [] []| Centre for Urban Community Studies TRANSIT`-O--O---' University of Toronto -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] ssh connections time out
Mick wrote: Thank you all for your replies, On Tuesday 27 November 2007, Chris Frederick wrote: Dale wrote: I also ran into something like this on a local network. I corrected this by adding the remote systems to my hosts file and putting the entry in the host file on the remote system. [ship...] I've had this problem as well. I've added UseDNS no to the sshd_config file and that had the same result. I usually only had high latency establishing the connection though. Once the connection was established and I was logged in, everything was fast again. The problem is not with the DNS servers. I use IP addresses to access these machines and when I have tried FQDNs it makes no odds. I've also had connection issues while transferring files through ssh, and I got around that (somewhat) by added -l to the scp command. This tries to throttle the connection speed, and I can usually keep a connection going with that. I say that is somewhat fixed the issue because I also need to use ssh to port forward to an internal database and run scripts there, but there's no way that I know to do the same throttling with a port forwarding ssh command. The -l option is to apply a protocol specific type of QoS and limit the bandwidth consumed by scp so that other critical services on the server don't run dry. My problem is that I do not seem to have enough bandwidth to start with. The ports of the servers are random numbers in the 200+ and 12000+ range and I have checked that no other applications are using/listening on these ports. I've not tried port 22 yet, but I'll give it a go tonight. I tend to use higher random ports just to achieve some basic 'security by obscurity' from script kiddies and botnets. The issue with port 22 is that the world-and-his-wife will try to hack in and cause DoS to the little bandwidth that seems to be available. :p Ha! I'll deal with this at the firewall. The datacenter servers are listening on port 22. This difference in performance between the production and the domestic servers also made me think that there may well be some traffic shaping by the ISPs at their routers, but don't know if I can test this for definite somehow. I don't think that setting up QoS at the domestic servers is going to make any difference. These machines are not stressed at all and off peak I can access them fine. It is at peak times that things really go pear shape, hence it should be a network congestion/traffic shaping issue. I don't know if people started going mad at the pre-Christmas online shopping and things have been particularly bad since last Saturday, or if it is just some ISP network maintenance that made my connections impossible. More about my trials and tribulations on port 22 tomorrow . . . Just to add to this, I was using the IP address too and it was very slow. This was also on a local network. After adding the lines to my host files, it was fast no matter whether I used the name or the IP address. I still don't understand why this matters tho. Just a thought. Dale :-) :-) :-)
Re: [gentoo-user] Re: mount cdrom: No buffer space available
On Tuesday 27 November 2007, Joost Roeleveld wrote: On Mon, 26 Nov 2007 07:53:40 +0100, Dirk Heinrichs wrote: There is no need to do so. However, a fuse based filesystem for mounting audio CDs exists, see http://castet.matthieu.free.fr/cddfs/. Oh, thank you all for your input -- I've been a bit obsessed with rails and let this go to the back burner a bit. However, I did notice that when I click on CDROM from nautilus there's a message about HAL; again, though, it cannot be a hardware issue as these particular discs and drives work in another distro on the same machine. If the discs and drives work on the same machine with a different distro, then I agree, the hardware should work. Also, as the /dev/ entries exist and it doesn't complain about that, the drives are probably detected correctly. I believe it to be a driver issue (HAL is a hardware driver? Hardware Abstraction Layer? But isn't it more BIOS than OS?). I'll double check things with some data discs on the other distro in the next few days and do some more googling (and wikipedia-ing). Can you also check with datadiscs on the Gentoo installation? I agree with the others that audio-discs are generally not mountable. The FUSE-driver for Audio-discs might be installed on your other distro (Redhat?), but is not installed by default with Gentoo. If this sheds any light: arrakis ~ # arrakis ~ # dmesg | grep 'cd' ehci_hcd :00:03.3: EHCI Host Controller Snipped dmesg-output When I do the above command, it only shows me the cd/dvd writer, not the cdrom drive. Can you post the full output of dmesg after you booted the system? I think it's more on shutdown that I notice lotsa weird messages about the cdrom drive(s) since futzing with /etc/fstab. Can you also give us the contents of your /etc/fstab file? Haven't followed up all of this thread, but it may well be a clash between hald/dbus trying to control your media devices and your fstab. Entries in the latter are only applicable if you want to be mounting such devices manually. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] ssh connections time out
On Tue, 27 Nov 2007 13:26:18 -0600 Dale [EMAIL PROTECTED] wrote: Just to add to this, I was using the IP address too and it was very slow. This was also on a local network. After adding the lines to my host files, it was fast no matter whether I used the name or the IP address. I still don't understand why this matters tho. Just a thought. Dale I am guessing your /etc/nsswitch.conf says: hosts: files dns in this case, the /etc/hosts file will be consulted before the dns. If you provide an IP address, it will probably want to do a reverse lookup to the name (for .ssh/known-hosts for one); if provided a domain name, it will have to look it up. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] ssh connections time out
Dan Farrell wrote: On Tue, 27 Nov 2007 13:26:18 -0600 Dale [EMAIL PROTECTED] wrote: Just to add to this, I was using the IP address too and it was very slow. This was also on a local network. After adding the lines to my host files, it was fast no matter whether I used the name or the IP address. I still don't understand why this matters tho. Just a thought. Dale I am guessing your /etc/nsswitch.conf says: hosts:files dns in this case, the /etc/hosts file will be consulted before the dns. If you provide an IP address, it will probably want to do a reverse lookup to the name (for .ssh/known-hosts for one); if provided a domain name, it will have to look it up. You are correct. It has that exact line in the nsswitch.conf file. Someone tried to explain the lookup thing but it just went over my head. I know when I go to google for example that it goes to a DNS server to get the IP to know where to go to. I just never could figure why it did that when it has the number already. I just know that adding that to the host file worked like a charm. I'm still curious as to why the OP is having this problem. I suspect, like me all the time, it will be something pretty simple. We always find the complicated stuff. LOL Dale :-) :-) :-)
[gentoo-user] can not compile the gimp
Hi Everyone, I can not seem to compile The Gimp. I have even tried all the older and stable versions. Any help, or ideas would be greatly appreciated. make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/media-gfx/gimp-2.4.2/work/gimp-2.4.2' make: *** [all] Error 2 * * ERROR: media-gfx/gimp-2.4.2 failed. * Call stack: * ebuild.sh, line 1762: Called dyn_compile * ebuild.sh, line 891: Called qa_call 'src_compile' * ebuild.sh, line 35: Called src_compile * environment, line 2548: Called die * The specific snippet of code: * emake || diefunc $FUNCNAME $LINENO $? emake failed * The die message: * emake failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/log/portage/media-gfx:gimp-2.4.2:20071127- 215248.log'. * * Messages for package media-gfx/gimp-2.4.2: * * ERROR: media-gfx/gimp-2.4.2 failed. * Call stack: * ebuild.sh, line 1762: Called dyn_compile * ebuild.sh, line 891: Called qa_call 'src_compile' * ebuild.sh, line 35: Called src_compile * environment, line 2548: Called die * The specific snippet of code: * emake || diefunc $FUNCNAME $LINENO $? emake failed * The die message: * emake failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/log/portage/media-gfx:gimp-2.4.2:20071127- 215248.log'. * Thanks, Robert -- [EMAIL PROTECTED] mailing list
[gentoo-user] Converting HTML to PDF or PS
I need to convert web pages to PDF files under program control, perhaps from cron, perhaps a backgrounded batch job. An X window enviornment could probably be set up, but I'd prefer not going thru that hassle. Point and click manual intervention just won't do. These web pages use Javascript; some render so-so without javascript, some don't render at all well. What I would like is some firefox (or Konqueror or ...) command line option to render the page and save it as any other format -- jpg, pdf, ps, doesn't matter. Cups-pdf sounds like it might help, if I could use command line options to tell firefox to print the page. I see that firefox 3 will have a print to PDF option, and that might be good enough, but it's not available now, and there'd need to be some way of starting firefox and telling it to print under program control. Firefox has some command line options to help, such as height and width. And none of them (that I can find) do anything useful like print to pdf and exit. I am open to any suggestions which can be automated. If a perl program could run firefox as a child under X and feed it X input, or a perl CPAN module which understands javascript, or even if there are commercial programs which do this, I am all ears. -- ... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._. Felix Finch: scarecrow repairman rocket surgeon / [EMAIL PROTECTED] GPG = E987 4493 C860 246C 3B1E 6477 7838 76E9 182E 8151 ITAR license #4933 I've found a solution to Fermat's Last Theorem but I see I've run out of room o -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] can not compile the gimp
On Tue, 27 Nov 2007 16:59:59 -0500, Robert Spahr wrote: I can not seem to compile The Gimp. I have even tried all the older and stable versions. You haven't given the actual error message, but it is probably this bug: http://bugs.gentoo.org/show_bug.cgi?id=200229 -- Neil Bothwick Hello.. Incontinence Hotline.. Can you hold? signature.asc Description: PGP signature
[gentoo-user] can not compile the gimp, a known bug
I just found this known bug: http://bugs.gentoo.org/show_bug.cgi?id=200229 -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] can not compile the gimp - more complete error message
On Tue, 27 Nov 2007 17:04:04 -0500 Robert Spahr [EMAIL PROTECTED] wrote: A more complete error message: -MP -MF .deps/CML_explorer.Tpo -c -o CML_explorer.o CML_explorer.c; \ then mv -f .deps/CML_explorer.Tpo .deps/CML_explorer.Po; else rm -f .deps /CML_explorer.Tpo; exit 1; fi make[3]: *** No rule to make target `gimp-2.4.2.tar.bz2', needed by `all-am'. Stop. make[3]: *** Waiting for unfinished jobs make[3]: Leaving directory `/var/tmp/portage/media-gfx/gimp-2.4.2/work/gimp-2.4.2/plug -ins/common' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/media-gfx/gimp-2.4.2/work/gimp-2.4.2/plug -ins' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/media-gfx/gimp-2.4.2/work/gimp-2.4.2' make: *** [all] Error 2 * * ERROR: media-gfx/gimp-2.4.2 failed. * Call stack: * ebuild.sh, line 1762: Called dyn_compile * ebuild.sh, line 891: Called qa_call 'src_compile' * ebuild.sh, line 35: Called src_compile * environment, line 2548: Called die * The specific snippet of code: * emake || diefunc $FUNCNAME $LINENO $? emake failed * The die message: * emake failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/log/portage/media-gfx:gimp-2.4.2:20071127- 215248.log'. * * Messages for package media-gfx/gimp-2.4.2: * * ERROR: media-gfx/gimp-2.4.2 failed. * Call stack: * ebuild.sh, line 1762: Called dyn_compile * ebuild.sh, line 891: Called qa_call 'src_compile' * ebuild.sh, line 35: Called src_compile * environment, line 2548: Called die * The specific snippet of code: * emake || diefunc $FUNCNAME $LINENO $? emake failed * The die message: * emake failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/log/portage/media-gfx:gimp-2.4.2:20071127- 215248.log'. I have the same error. Look at http://bugs.gentoo.org/show_bug.cgi?id=200229 signature.asc Description: PGP signature
Re: [gentoo-user] can not compile the gimp
Thanks Neil. I applied the patch that is attached to the bug report, and have just successfully compile the gimp. Thanks for your fast help! Neil Bothwick wrote: On Tue, 27 Nov 2007 16:59:59 -0500, Robert Spahr wrote: I can not seem to compile The Gimp. I have even tried all the older and stable versions. You haven't given the actual error message, but it is probably this bug: http://bugs.gentoo.org/show_bug.cgi?id=200229 -- Robert Spahr http://www.robertspahr.com If we understand the mechanism and motives of the group mind, is it not possible to control and regiment the masses according to our will without their knowing about it? -- Edward L. Bernays -- [EMAIL PROTECTED] mailing list
[gentoo-user] can not compile the gimp - more complete error message
Anyone have any thoughts regarding the cause? thanks Robert A more complete error message: -MP -MF .deps/CML_explorer.Tpo -c -o CML_explorer.o CML_explorer.c; \ then mv -f .deps/CML_explorer.Tpo .deps/CML_explorer.Po; else rm -f .deps /CML_explorer.Tpo; exit 1; fi make[3]: *** No rule to make target `gimp-2.4.2.tar.bz2', needed by `all-am'. Stop. make[3]: *** Waiting for unfinished jobs make[3]: Leaving directory `/var/tmp/portage/media-gfx/gimp-2.4.2/work/gimp-2.4.2/plug -ins/common' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/media-gfx/gimp-2.4.2/work/gimp-2.4.2/plug -ins' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/media-gfx/gimp-2.4.2/work/gimp-2.4.2' make: *** [all] Error 2 * * ERROR: media-gfx/gimp-2.4.2 failed. * Call stack: * ebuild.sh, line 1762: Called dyn_compile * ebuild.sh, line 891: Called qa_call 'src_compile' * ebuild.sh, line 35: Called src_compile * environment, line 2548: Called die * The specific snippet of code: * emake || diefunc $FUNCNAME $LINENO $? emake failed * The die message: * emake failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/log/portage/media-gfx:gimp-2.4.2:20071127- 215248.log'. * * Messages for package media-gfx/gimp-2.4.2: * * ERROR: media-gfx/gimp-2.4.2 failed. * Call stack: * ebuild.sh, line 1762: Called dyn_compile * ebuild.sh, line 891: Called qa_call 'src_compile' * ebuild.sh, line 35: Called src_compile * environment, line 2548: Called die * The specific snippet of code: * emake || diefunc $FUNCNAME $LINENO $? emake failed * The die message: * emake failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/log/portage/media-gfx:gimp-2.4.2:20071127- 215248.log'. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Converting HTML to PDF or PS
On Tue, Nov 27, 2007 at 02:14:50PM -0800, [EMAIL PROTECTED] wrote: Can you expand on that? What are DCOP commands and how would I sent them to Konqueror? Is this easy enough with, say, Perl? Never mind, google is my friend. This looks like it might do th etrick. I have to find some way of using DCOP to print to PDF, and I have to worry about setting up a KDE environment, but it looks doable. -- ... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._. Felix Finch: scarecrow repairman rocket surgeon / [EMAIL PROTECTED] GPG = E987 4493 C860 246C 3B1E 6477 7838 76E9 182E 8151 ITAR license #4933 I've found a solution to Fermat's Last Theorem but I see I've run out of room o -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Converting HTML to PDF or PS
On Tue, Nov 27, 2007 at 10:07:10PM +, Neil Bothwick wrote: On Tue, 27 Nov 2007 13:53:10 -0800, [EMAIL PROTECTED] wrote: These web pages use Javascript; some render so-so without javascript, some don't render at all well. What I would like is some firefox (or Konqueror or ...) command line option to render the page and save it as any other format -- jpg, pdf, ps, doesn't matter. You could probably do this with a shell script that loads Konqueror with the given URL and send it DCOP command(s) to print. Can you expand on that? What are DCOP commands and how would I sent them to Konqueror? Is this easy enough with, say, Perl? -- ... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._. Felix Finch: scarecrow repairman rocket surgeon / [EMAIL PROTECTED] GPG = E987 4493 C860 246C 3B1E 6477 7838 76E9 182E 8151 ITAR license #4933 I've found a solution to Fermat's Last Theorem but I see I've run out of room o -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Audacious Madness???
On Nov 25, 2007 5:54 PM, Jerry McBride [EMAIL PROTECTED] wrote: Anyone here noticed how badly Audacious 1.4.2 is? I get random crashes and a host of other problems... something never experienced with XMMS. After your post I tried the lastest ~x86 of Audacious; no crashes after 2 days. You've recompiled Audacious after updating any underlying dependencies? Maybe the media you are playing is at the core of the problem? I traded a few emails over Audacious and it seems as though it sports a new (improved) thread model. Once I humbly suggested the new model has some warts... the email trade stopped. How do you report problems to the authors, if they won't listen? Show them exactly how you are reproducing the problems and how they can reproduce the same. I was unable to reproduce the problems based on what you have described above. If the authors can't reproduce, then there is no way they'll be able to fix anything. I'm currently using XMMS-1.2.11. It works perfectly... even streams from gnump3d without errors. Anyone know why this goes on? -- From the Desk of: Jerome D. McBride -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] ssh connections time out
On Nov 27, 2007 4:19 PM, Dale [EMAIL PROTECTED] wrote: Dan Farrell wrote: On Tue, 27 Nov 2007 13:26:18 -0600 Dale [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Just to add to this, I was using the IP address too and it was very slow. This was also on a local network. After adding the lines to my host files, it was fast no matter whether I used the name or the IP address. I still don't understand why this matters tho. Just a thought. Dale I am guessing your /etc/nsswitch.conf says: hosts:files dns in this case, the /etc/hosts file will be consulted before the dns. If you provide an IP address, it will probably want to do a reverse lookup to the name (for .ssh/known-hosts for one); if provided a domain name, it will have to look it up. You are correct. It has that exact line in the nsswitch.conf file. Someone tried to explain the lookup thing but it just went over my head. I know when I go to google for example that it goes to a DNS server to get the IP to know where to go to. I just never could figure why it did that when it has the number already. I just know that adding that to the host file worked like a charm. I'm still curious as to why the OP is having this problem. I suspect, like me all the time, it will be something pretty simple. We always find the complicated stuff. LOL Dale :-) :-) :-) The lookup thing is very similar to the same kind of DNS query used when visiting a website. -- - Mark Shields
Re: [gentoo-user] ssh connections time out
Mark Shields wrote: On Nov 27, 2007 4:19 PM, Dale [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Dan Farrell wrote: On Tue, 27 Nov 2007 13:26:18 -0600 Dale [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: You are correct. It has that exact line in the nsswitch.conf file. Someone tried to explain the lookup thing but it just went over my head. I know when I go to google for example that it goes to a DNS server to get the IP to know where to go to. I just never could figure why it did that when it has the number already. I just know that adding that to the host file worked like a charm. I'm still curious as to why the OP is having this problem. I suspect, like me all the time, it will be something pretty simple. We always find the complicated stuff. LOL Dale :-) :-) :-) The lookup thing is very similar to the same kind of DNS query used when visiting a website. -- - Mark Shields Yea, I got that part but why does it do that when you are using the IP number to go to it? That was what was confusing me. Up until that time, I didn't even name the systems since all I used them for was to run folding. After I named them and put the entries in the hosts file, it worked fine even when ssh'ing in with the IP number. Before that, it took forever to login. I would think that it would just go straight to it without a look-up at that point. Then again, I'm not networking guru either. Dale :-) :-)
[gentoo-user] ddcxinfo-knoppix on amd64
Anyone have any clue on how to force use of r32 registers instead of default (r64) registers? I need this to get ddcxinfo-knoppix working on amd64. The code block in particular is in ddcxinfo-knoppix-0.6/lrmi.c: asm volatile (std; ins* : =D (edi) : d (edx), 0, (edi)); It's too much work for me to port all of the asm to 64-bit so how do I force the register sizes to be 32-bit? -- Andrey Vul int i;main(){for(;i[]i;++i){--i;}];read('-'-'-',i+++hell\ o, world!\n,'/'/'/'));}read(j,i,p){write(j/p+p,i---j,i/i);} hail ioccc -- [EMAIL PROTECTED] mailing list
[gentoo-user] Removing a nuissance message regarding FreeFontPath on exitting X
Hi there, My gentoo system is now in the lovely state that I can start asking more asthetic, perfectionist questions. Every time I quit X (after starting with startx, regardless of window manager) I get the message: FreeFontPath: FPE /usr/X11R6/lib/X11/fonts/misc/ refcount is 2, should be 1; fixing. Evidently it doesn't do a very good job of fixing, as the message appears every time. I tried mkfontcache etc to no avail, and was wondering if anyone else experiences this, what it means, and how to stop it complaining? Thanks for any advice / clues. Nick -- GPG Key : www.njw.me.uk/nick.gpg.asc GPG Key ID: 04E4653F GPG Fingerprint: 9732 D7C7 A441 D79E FDF0 94F6 1F48 5674 04E4 653F pgpkG8MzniwfM.pgp Description: PGP signature
Re: [gentoo-user] ssh connections time out
Dale wrote: didn't even name the systems since all I used them for was to run folding. After I named them and put the entries in the hosts file, it worked fine even when ssh'ing in with the IP number. Before that, it took forever to login. google: reverse lookup dns wikipedia click on the first link that's what the REMOTE machine will do after you connect to it, but before you get a prompt. This can (normally) be configured on an application basis to not do it. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] ssh connections time out
Billy Holmes wrote: Dale wrote: didn't even name the systems since all I used them for was to run folding. After I named them and put the entries in the hosts file, it worked fine even when ssh'ing in with the IP number. Before that, it took forever to login. google: reverse lookup dns wikipedia click on the first link that's what the REMOTE machine will do after you connect to it, but before you get a prompt. This can (normally) be configured on an application basis to not do it. OK. I read most of it, what I could get a grip on anyway. Basically it looks to see if that IP address has a name too. Sort of silly but, whatever works I guess. At least now I sort of get what it means. Thanks for the info. Dale :-) :-) :-)
[gentoo-user] graphviz-2.12 fails to compile
last few lines of build log: [libtool] x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../lib/gvc -I../../lib/common -I../../lib/graph -I../../lib/cdt -I../../lib/pathplan -I/usr/lib64/perl5/5.8.8/x86_64-linux/CORE -I/usr/include/python2.5 -O2 -pipe -march=athlon64 -msse3 -mtune=athlon64 -finline-functions -MT gv_perl.lo -MD -MP -MF .deps/gv_perl.Tpo -c gv_perl.cpp -fPIC -DPIC -o .libs/gv_perl.o [libtool] x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../lib/gvc -I../../lib/common -I../../lib/graph -I../../lib/cdt -I../../lib/pathplan -I/usr/lib64/perl5/5.8.8/x86_64-linux/CORE -I/usr/include/python2.5 -O2 -pipe -march=athlon64 -msse3 -mtune=athlon64 -finline-functions -MT gv_python.lo -MD -MP -MF .deps/gv_python.Tpo -c gv_python.cpp -fPIC -DPIC -o .libs/gv_python.o gv_perl.cpp:1761: error: invalid use of 'static' in linkage specification make[3]: *** [gv_perl.lo] Error 1 [make stack] known bug or is something wtf? -- Andrey Vul int i;main(){for(;i[]i;++i){--i;}];read('-'-'-',i+++hell\ o, world!\n,'/'/'/'));}read(j,i,p){write(j/p+p,i---j,i/i);} hail ioccc -- [EMAIL PROTECTED] mailing list