« first day (1132 days earlier)      last day (4120 days later) » 

00:11
@terdon Are you there?
 
1 hour later…
01:31
Anyone home? I've got some more glibc issues
01:53
I'm running CentOS on a VPS (6.4). I'm trying to install Chrome or Chromium. I've looked at all the various articles on how to do this, including this one. Problem is, I get the error GLIBC 2.14 required. None of the other users seem to get that issue.
slm
slm
@CCInc - make sure you have glibc installed, that line is telling you it needs that library.
I have glibc v 2.12
I'm thinking perhaps for some reason it didn't upgrade to 2.14 when I upgraded the OS
slm
slm
02:12
What's the OS? CentOS 6?
That's the highest I see for CentOS 6.4
glibc.i686                                                                             2.12-1.107.el6_4.5                                                                            updates
glibc.x86_64                                                                           2.12-1.107.el6_4.5
I think you're SOL
sigh.. that's what I thought
but how come the other people reported success on 6.4?
slm
slm
02:47
@CCInc - what versions of Chrome are they using?
@CCInc - try this:
http://www.tecmint.com/install-google-chrome-on-redhat-centos-fedora-linux/
I've tried installing 28 and 30, I believe
gah SE ping sound is odd
slm
slm
i have my laptop muted, never noticed it
Yes, that's what I've been doing, following that website
it gives me that error
slm
slm
Yeah that thread is wrong now, it worked last year, you need to cheat and try this method: chrome.richardlloyd.org.uk
i'm running chrome 27 still on Fedora 14 b/c of this
@CCInc - see my prev. comment
that's where I tried to install chrome from as well
I shall try again, and post the output if you like?
slm
slm
02:58
don't bother if you already did
you can't run newer tools w/ the older glibc, what are you trying to use centos for might i ask, it's generally for servers
it has long life time cycles of 7-10 years
this is the downside to that
A friend let me use his CentOS server.. and I run a chatbot that runs in Chrome, so that'd be a great use for the server
slm
slm
you could download glibc, compile it in a sep. location, say /usr/local, and then invoke chrome like this: LD_LIBRARY_PATH=/path/to/glibc chrome
uh
would that actually work?
I can have two versions of glibc?
slm
slm
2
A: GLIBCXX 3.4.15 on Centos 6

slmI would consider this a hack but have used it on more occasions than I care to admit to get around compatibility issues with GLIBC, such as the one you're encountering. The hack involves making a link in /usr/lib which includes the name of the library that a particular tool wants. The link then ...

I wrote that up
it isn't for the faint of heart
Oh dear
okay
so first I find glibc source for 2.14.. where's that at?
Would this work?
slm
slm
03:05
yes you can, the 2nd ones aren't installed as packages, they're custom installed binaries
if you have to ask then don't do this
I don't have time to walk you through this, you'll have to read up if you're seriously want to do it
it's not easy
That's an ancient version you linked to
2.1.2
Whoops... this might not go well
slm
slm
03:31
@CCInc - in your honor I've asked the ultimate Q
0
Q: Is there a easy method for installing binary builds of glibc?

slmTime and time again I see questions such as these: GLIBCXX 3.4.15 on Centos 6 CentOS 4.8 and glibc 2.5 And these are the types of solutions we're typically pushing: how to run new software without updating GLIBC? Installing two glibc alongside in debian/ubuntu GLIBCXX 3.4.15 on Centos 6 I...

Me and all the noobs thank you :D
slm
slm
@CCInc - vote it up, it helps draw attention
there we go
 
1 hour later…
slm
slm
05:07
@terdon @derobert - oh oh oh, looky this: bugs.debian.org/cgi-bin/bugreport.cgi?bug=129334
recognize the fractal on that page?
 
3 hours later…
08:06
Good morning, btw..
slm
slm
good night
@slm well... yep, may be :-)
 
2 hours later…
10:18
Hi guys, I have a strange issue here. As you may see from my Qs on the site, I have had issues with GCC on SCO. This morning, I started my SCO machine, and typed $ gcc to see if it was working, and it showed: bash: /usr/local/bin/gcc: Permission denied - So I tried the same using root, and then got this issue: bash: gcc: command not found. How can a normal user see the gcc path but not the root user?
Oh hang on, my $PATH is different on both of them :/
I just tried # export $PATH:/usr/local/bin and that didn't work saying: not a valid identifier
@slm, do you know of any suggestions?
10:51
@slm, nevermind, I found this: stackoverflow.com/questions/14637979/…
hey. new to gnuplot (running debian)
should i set the terminal type to wxt?
when i try `set terminal wxt`it cannot find it: `Terminal type set to 'unknown'
^
unknown or ambiguous terminal type; type just 'set terminal' for a list
`
 
1 hour later…
12:17
@slm nice, @derobert: BUSTED!
 
1 hour later…
13:39
Every now and then I get some upvote for this pts explanation, and every time it makes me remember that this question was closed with no good reason. I'm in pain :-)
@StéphaneGimenez you make a good point, I just nominated it for reopening.
slm
slm
@MichaelMrozek - can we get this Q reopened? unix.stackexchange.com/questions/21280/…. It's marked as a dup but it isn't.
@StéphaneGimenez - thanks for bringing this to our attention, it's clearly not a dup.
you should've said something sooner!
@slm nice find on stracing the watch output. I sent a bug report to the debian devs about it.
slm
slm
@terdon - yeah that behavior seemed odd to me. I wasn't sure where to file the bug, I found deroberts thread, so I guess there makes sense.
13:54
Clearly a bug, but my guess is that the program was originally written to do what it says on the box: watch
so it expects a human to monitor the output and the -g switch was added later and badly
@slm yeah, I sent a mail to the same address
slm
slm
yeah that seems like some implementation detail that made sense, it needs to be either fixed or more clearly documented in the man page
the -g switch is a good idea, but it doesn't mix with the other behavior 8-)
yeah I've always used it to run commands like ifconfig
poor mans network monitoring
Exactly, I was trying to answer an SU question where a user wanted to be notified if a new package was installed so I thought he could just watch the output of dpkg -l or equivalent for his distro which lists installed packages.
@slm speaking of SU questions, any idea on this?
0
Q: lsuser substitute in Linux?

Amit SinghIs there a way I can get information on the password for a particular user like what is the minimum length and minalpha and etc.? In AIX we have a command called lsuser: lsuser -a minlen username That command will return the minimum length of a user's password. Is there an equivalent command...

14:10
Guys, have somebody experience with ssh-tunneling?
Some
@setevoy Not much, but some. Try me and we can call in the big guns if I can't help :)
@terdon Can you please take a look at: unix.stackexchange.com/questions/101158/…
Why are you opening the tunnel from host2?
You should open the tunnel on your local machine.
So, host2 has access to host1 and you have access to host2 right?
@setevoy you need to run this from your local machine:
ssh -fN user@host2 -L 8081:host1:8111
eee...
slm
slm
@terdon I answered this Q on SU, thanks. There is no such tool, thankfully, in Linux.
14:19
host2 haven't direct access to host1 - only via tunnel
@slm cool, thanks
but... moment...
@setevoy please explain the setup then
which host has access to which and which host do you have access to?
By the way, I'll post an answer and am happy to help out in the chat but your question is off topic here since you are running putty from a windows machine.
Hang on, you're not using putty on Linux are you!?
host1:8111 connected to host2:8081; so from host2 I can run wget localhost:8081 - and got login page from host1; now - I need to run tunnel from local machine (yes, Windows - I don't like it, but must use) to host2 to acces to host1:8111 :-)
slm
slm
@setevoy - also chat is good to ask Q's that don't fit well within the site, and to do one off things, but it isn't meant to do all tech supporting, or asking things that clearly could be Q's. Ask this in the regular site.
14:23
@slm he has
slm
slm
where?
0
Q: SSH tunneling via few hosts

setevoypeople. That question is'n only about Unix/Linux - but contain something... So - given: host1 with TeamCity server running on 8111 port; host2 which will be "ssh-proxy" between client and host1. From host1 opened tunnel: $ ssh -f -N -R 8081:localhost:8111 user@host2 From host2 I can get acc...

It's just off topic since he's using Windows (the poor guy :) )
yep :-(
@setevoy so host2 can access host1 and you can access host2 right?
well, yes... but host2 can access to host1 only vian tunnel
via*
(please - don't ask why!) :D
14:26
heh, OK, I won't
but I still don't get it.
slm
slm
You're attempting to connect from windows (Putty) -> host2 -> host1, right?
yep...
as far as I can tell from your question host2 has access to host1
otherwise your first tunnel would not work
via tunnel, yes
slm
slm
i seem to remember something that you can't do this
14:27
tunnel from host1 to host2 working - I can got files rfom TeamCity on host1
slm
slm
or you need to enable something in ssh server that would allow it
yeah the connection to the tunnel (host2 -> host1) from anything other than localhost is what i think isn't allowed
localhost of host2
well... may be... it's sounds reasonable...
sorrowfully if so...
anyway - thanks :-)
slm
slm
This is the A to the Q.
3
A: ssh to private-ip

slmWhat you're looking for is called a reverse tunnel. ssh provides it through the -R switch: -R [bind_address:]port:host:hostport Specifies that the given port on the remote (server) host is to be forwarded to the given host and port on the local side. This works by allocat...

this feature on host2's sshd:
GatewayPorts clientspecified
host2's tunnel is only accepting connections to port 22 from IP localhost
so your attempts from windows to host2's tunnel are kind of flying by and missing the entry to the tunnel.
@setevoy - i've marked your Q as a duplicate of the one I provided the link to above.
grep: /etc/ssh/sshd_config: Permission denied // aggggr! well... OK, thanks again - now I have an "excuse", because on host2 I haven't root at all...
slm
slm
have to be root to allow this
this feature is here for security reasons, you don't want random users setting up tunnels on boxes, it would allow anyone the power to route traffic through your system with a simple ssh account
the localhost is allowed since the usage pattern there makes sense, you're a user on a system and want to proxy localhost traffic to some remote system
14:37
unfortunatelly - I haven't and I think - will not have root on host2 :-(
slm
slm
so you can send the data through the tunnel so long as it also is initiated on the system that has the opening to the tunnel.
i always think of these tunnels as train tunnels, the imagery helps me keep the concepts clear
OK, so your dying but not dead.
slm
slm
does host2 have netcat (nc) installed?
no :-(((
I thougnht about it too
slm
slm
now you're dead
14:38
thought*
@slm :D
slm
slm
I use this trick to do what you're doing:
ProxyCommand ssh [email protected] nc intranet.com %p
What about getting an X server running on the windows machine, then ssh -Y, then run a browser on host2?
slm
slm
then just ssh from windows client, to internet.com which starts an ssh connection out the back to intranet.com
@terdon I have Xming on Win-machine...
slm
slm
14:40
windows + X has been painful
you can try
i've done it and used it, but it sucks
@slm yeah there's a surprise. It's not like X + Linux is not painful :)
slm
slm
exceed (commercial) is the best X server on Win. i've used
@setevoy that might be a workaround. It will be slow but might be suffiecient if you just want to test.
slm
slm
you can also use vnc
@slm yeah, my next thought.
slm
slm
14:41
vncviewer can tunnel over ssh too
note it's -via switch
@terdon exactly
alright i'm off to work
of the options you have, i'd do the ssh proxycommand i mentioned + vncviewer and a -via
By the way, if you do try forwarding your X connection, these settings greatly increase the speed:
ssh -YC4c arcfour,blowfish-cbc
slm
slm
I use this to connect to intranet server VNC desktops thorough a proxy, it works OK
i'll have to try that, better perf?
never played with ssh switches wrt ciphers to use
that all to complicated... I can for example do it... but idea is give access to guy from host3 :-) so what I do now on my Win - he must repeat on his Win than... And he is not sys. admin or like so :-)
slm
slm
makes sense
the proxycommand can be done through putty's config
so that part is straightforward
@slm I found that somewhere or other and it make a HUGE difference in speed when exporting X
slm
slm
14:45
@setevoy - i think the vnc client for win, ultravnc supports the via method
i'll try it today when i get to the office
The “-c” option allows selection of cipher for a connection. The default AES cipher is extremely slow: you can get much better performance out of the arcfour and blowfish ciphers. I’ve noticed arcfour to perform the best, but there have been legitimate complaints in the cryptography community about whether or not it is “secure.” If your paramount concern is security, go with blowfish, as it can be just as fast.
no-no... thanks but it is not solution... maximum - some Putty configuration, but nothing with any X-server\client\vnc...
slm
slm
this should be a Q here, and you can answer it!
ok
@setevoy sounds like you're screwed then...
@slm good idea, I'll post it when I get the chance.
@terdon why? :-)
14:47
Because if @slm is right (and he usually is) about putty not allowing the tunnel you need and you can't use X forwarding, it sounds like vnc is your only choice.
yep... but we can't use vnc :-)
which is why you're screwed :)
only putty, only hardcore...
slm
slm
@setevoy - there isn't any other method that I can conceive, and I used to need to tunnel out of a fortune 500 company as part of my job.
I used Putty every day and worked in the .com part of the business
Perhaps a different windows ssh client?
If the problem is putty.
14:49
we even can't use tunnels... it's "hack" :-(
slm
slm
we managed data centers that would only allow ingress traffic form certain IPs so I've had to go through all kinds of tunnelling, these are the methods that I've found over the years, I think your screwed.
I wish you luck though, sometimes it's best to step away and let the ideas mingle in your mind for a bit, sometimes new paths expose themselves when you're not even looking 8-)
We have a lot of restrictions... And tunnels are also "outlaw"...
slm
slm
We'd also have bastion hosts which were special systems that you could ssh into and gain access to other parts of network, your business or whatever might need to consider this route if you're unable to gain access through the methods I've laid out here with terdon
right b/c of reasons i said earlier
i wouldn't allow them either if i was running a business, but they are a necssary thing if you want to isolate network segments for admins, and so you have to allow them but with clear and direct restrictions of use.
I'll contact our network security - let them have a headache how to make it all...
slm
slm
ok i have to run
exactly, if you're the dev or devops guy, this isn't your problem, in terms of having to solve it, push it back onto the other guys
the networking guys have the same problem and may have methods to work within this env.
they would have to
same for any admins performing backups
ok bye
14:54
bye :)
Good day genius', I have a weird issue I have just got with c++. I am getting this: cpp: vfork: Resource temporarily unavailable when I try compiling a program - it is in SCO, but I am not sure if it is only a SCO thing or maybe it is to do with all Linux Systems.
Sorry, no idea. It sounds better suited for Stack Overflow though.
Thanks @terdon will ask there :)
15:09
Hi! I made it! :)
ha*
lol
how?
tunnel... without root and sshd configures without xming/vnc :)
so putty does let you do it?
just changed address in Putty - there must bee 3000Local > 127.0.0.1:8081 (host2)
and from host1 8111 > host2:8081
Cool. Could you post what you did as an answer?
15:11
Yes, sure, will add
15:40
> Users with less than 10 reputation can't answer their own question for 8 hours after asking. >.<
Hi all
I'm using one package which convert the text and generate the wav file.
For this package i need to give some cost for this. I need to do this in freely Any way to achieve this?
@TGMCians what are you talking about? What cost?
You are using some kind of text to speech synthesizer?
This is not the free so I want such that pass the text in the argument of the command and it generate the wav file of that text.
OK.
So, what are you asking? How much that costs in money?
No, I don't want to using that because of the cost.
I want to know any alternative way to achieve this?
15:48
OK, you should be able to do this with say
slm
slm
@TGMCians - check out festival too
Hmm, no, it only converts text to speech, no easy option for saving the wav.
say I mean.
slm
slm
espeak too
@slm Is it possible to save that sound in wav file?
slm
slm
   -w <wave file name>
          Write output to this WAV file, rather than speaking it directly
15:51
Here's a cool trick:
mplayer -really-quiet "http://translate.google.com/translate_tts?tl=en&q=hello world"
slm
slm
ask this on the main site, also you can answer it
take that answer and write it up
please
we use espeak to make our computers say stuff
Okay
slm
slm
alias speak_m2='espeak -v en-us+3 -s 120 -k 20 "Pray. For. Moe. Jo."'
@slm hah, did you look for my oldest Debian bug report?
slm
slm
there are different voice packs
no i found it while researching for terdon's watch Q
that came up by accident
15:53
-w <wave file name>
Write output to this WAV file, rather than speaking it directly
@TGMCians yup
@slm Can you write sample command to achieve this here?
slm
slm
the alias i posted does it
@TGMCians espeak hello -w foo.wav
@slm I think he meant using the -w flag
slm
slm
that isn't obvious?
15:55
Yes
slm
slm
now I'm sad
awwww
slm
slm
i thought i gave about as much as you could
espeak is inbuilt command or i need to install the external package of this
slm
slm
install
15:55
Okay
@slm Really it's helpful for me..
Thanks for your support
@terdon You too..thank you very much
slm
slm
espeak -v en-us+3 -s 120 -k 20 "Pray. For. Hermes." -w ba.wav
your welcome
don't forget to write it up
@TGMCians on debian/Ubuntu etc you have the package called "espeak"
slm
slm
you answer it so you'll get the points
@terdon Okay
slm
slm
yum install espeak on redhat distros
15:57
Can you give any link of repo file which i can copy directly for yum server?
slm
slm
yup hang on
Okay
@TGMCians please don't ask us to do google searches for you.
slm
slm
it's in the default fedora repo
you using centos?
it's in centos' base repo
@terdon I'm not asking to do google search..If you have any link you can send me.:)
I'm using the RHEL 6
slm
slm
15:59
in default repos
slm
slm
$ repoquery -i espeak | grep Repo
Repository  : base
that's centos 6, you can install the rpms directly on rhel
@terdon It's specific to espeak..I want to copy the repo file for the yum server so that I don't need to get the rpm or bother about the dependency.
So that I can install all other package from the yum server instead of find the rpm and their dependency.
slm
slm
16:04
Doesn't appear to depend on anything else:

$ repoquery --alldeps espeak
espeak-0:1.40.02-4.el6_3.i686
espeak-0:1.40.02-4.el6_3.x86_64
Okay
slm
slm
depends on these libraries:

$ repoquery --requires espeak
/sbin/ldconfig
libc.so.6(GLIBC_2.4)
libpthread.so.0
libpthread.so.0(GLIBC_2.0)
libpthread.so.0(GLIBC_2.1)
libpthread.so.0(GLIBC_2.2)
libpulse.so.0
libpulse.so.0(PULSE_0)
libstdc++.so.6
rtld(GNU_HASH)
/sbin/ldconfig
libc.so.6(GLIBC_2.4)(64bit)
libpthread.so.0()(64bit)
libpthread.so.0(GLIBC_2.2.5)(64bit)
libpulse.so.0()(64bit)
libpulse.so.0(PULSE_0)(64bit)
libstdc++.so.6()(64bit)
rtld(GNU_HASH)
Thanks for share too much info..
slm
slm
ha
please write it up, it will be a nice addition to site, and good practice for you, I'll help if you start the Q&A
all the pieces are here, so it's just an assembly
My question was that Right now I want to install the espeack pacakge. It might i need to install tomorrow the vlc player and day after tomorrow vsftpd.
So If i put the yum repo file to the server then i can easily install any software..
slm
slm
16:07
yes
So Do you have that repo file like example.repo
slm
slm
with yum repos you have to consider what you'll ultimately use from the whole thing, you don't want to mix them if you can help it
yes
you mean you need it?
slm
slm
If you're really on RHEL i would be careful in doing this
Okay.
slm
slm
16:08
does your rhel repos not carry these packages already?
No..
There is no repo file there
slm
slm
read that page, it explains about using centos repos w/ rhel
you'll lose the ability to get rhel updates
do you pay for a subscription to redhat for updates?
slm
slm
then you shouldn't have any problems switching over
you might want to completely convert the install to centos then
This the thing which i need but this for the centos.
slm
slm
16:12
correct, centos is rhel, but the community built version
redhat doesn't support centos directly
so updates etc come from the community that maintains centos
but the packages that centos uses are the rhel ones
Okay
slm
slm
redhat has to release the rhel packages as part of complying with the open source licenses, so they give them in a source form, and the community takes them and rebuilds them and offers them as centos
make sense?
so it get's confusing, but you can use the packages from centos in rhel and vice versa
in your case you can add a .repo file that includes centos' base repos in your rhel box, and do a yum install/update accordingly
Okay. It's helpful for me
slm
slm
ok I have to run, just @slm me if you have question in here and I'll address them later
Okay thanks
16:23
@StéphaneGimenez are you still around?
Well yes, but I have to leave right now…
@StéphaneGimenez never mind, I just had a quick french question and bugged the first frenchman I saw on chat. Not urgent.
16:58
Guys I have a question about volatile (in linux/compiler-gcc.h)
/* Optimization barrier */
/* The "volatile" is due to gcc bugs */
#define barrier() __asm__ __volatile__("": : :"memory")
what does this code do?
 
3 hours later…
20:04
@StéphaneGimenez I agree. Though I think I remember another duplicate

 Chez Cosette

Discussion pour french.stackexchange.com. Bienvenue à tous ! Y...
I found two questions with more complete answers, but more recent, and not exact dupes:
6
Q: How does a Linux terminal work?

mikeIf you fire up a terminal and call an executable (assuming one thats line oriented for simplicity) you get a reply to the command from the executable. How does this get printed to you (the user) does the terminal do something like pexpect? (poll waiting for output ) or what? How does it get noti...

@Gilles yes, thanks I already asked and got an answer there. It's just that Stephane was here before so I thought I'd ask him if he was still around.
2
Q: what is stored in /dev/pts files and Can we open those?

user2720323I am curious to know that what is stored in /dev/pts/ files . Can we open those files ? According to my knowledge /dev/pts files are created for ssh or telnet session .

 
4 hours later…
23:48
@goldilocks, @jasonwryan, @Anthon, @Bernhard, @slm Let's not migrate crap. This question was migrated to Stack Overflow and closed about 5 minutes later:
-3
Q: i need the first step to solve it

angelIn this assignment you are asked to write an indexing method along with linked lists to store Millions of integers. The integers are read from a text file. Each of the linked list can be up to 32 nodes in length. This means that if we have 2,000,000 integers. Then we will need a hash table (array...

Horrible questions should just be closed directly, preferably with a message explaining to the OP why they're crap but definitely closed.
Super User tends to receive a lot of crap from Stack Overflow and it gets really annoying so let's not :).

« first day (1132 days earlier)      last day (4120 days later) »