| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11
Comments:
<PHPdoc> lacroix, it was ok running with sh -c , it is set to root <Al-Ashtar> Bunora: yum searches for a package in a repository. never mind yum, find a rpm package for firefox and install it as root <PHPdoc> lacroix, */5 * * * * root /root/adam/job >> /root/adam/cron.log <lacroix> PHPdoc: Did 'cron' send you mail when the cronjob ran? <PHPdoc> no, cause i set to /root/adam/cron.log <PHPdoc> and it did write the echo to it, so i know it ran <PHPdoc> also the files are created well, its just that their size is too small <Al-Ashtar> is it always 20b ? <Al-Ashtar> maybe it's only backing up changes <Al-Ashtar> :/ <lacroix> PHPdoc: then, probably.. different home or different envvars <lacroix> PHPdoc, also, take a look at the files. Is there an error message from 'tar' or 'gzip'? <lacroix> PHPdoc: redirect stderr of the mysql/mysqldump invokation to a file and check that for error messages <Al-Ashtar> Bunora: http://dag.wieers.com/packages/firefox/ <Al-Ashtar> http://dag.wieers.com/packages/firefox/firefox-0.10.1-0.1.1.fc1.test.i386.rpm <Al-Ashtar> get this one <PHPdoc> always 20b <Bunora> Al-Ashtar: thank you <Al-Ashtar> Bunora: np <PHPdoc> i found out that everything is going good, everything is running, except the fact that the dump is 0b <PHPdoc> than the output is 20b, cause of gzip <PHPdoc> how to echo a commands error? <lacroix> PHPdoc: Why don't you do what was suggested <PHPdoc> because i dont know how? <PHPdoc> how to redirect the stderr <lacroix> PHPdoc: mysql ... 2>/root/adam/mysql.err <PHPdoc> ok <PHPdoc> lets se <PHPdoc> ahh.. its crazy everytime to wait the interval <PHPdoc> YEY - /root/adam/job: line 7: mysqldump: command not found <PHPdoc> we found the problem, now i need to fix it somehow :P <lacroix> PHPdoc: temporarily replace the first "*/5" with "*", and it runs every minute... <lacroix> PHPdoc: so use the full path to mysqldump there <PHPdoc> done.. waiting <chills> Al-Ashtar: <Al-Ashtar> yes <chills> back online from linux <Al-Ashtar> cool <chills> how do i install the serial modem ? <Al-Ashtar> chills: plug in your serial modem and paste the last 15 lines of dmesg to pastebin.ca <chills> k <chills> i tried to install it on ttys01 it dials but wontconnect <chills> Al-Ashtar: http://pastebin.ca/91180 <Al-Ashtar> you have to create a dialing script <chills> whats a dialing script ? <Al-Ashtar> the same script you used for your current modem <chills> Al-Ashtar: yea i did all that but it wont connect <Al-Ashtar> are you connecting using KDial ? <chills> how do i tell which device the serial modem is ? <chills> system config network <Al-Ashtar> ok <Al-Ashtar> dmesg doesn't show anything <chills> now what should i do ? <Al-Ashtar> you plugged it in, right ? <chills> yea. it even dials <chills> but doesnt connect <chills> Us robotics 5668b <Al-Ashtar> if it dials then it's using the correct device name <slicers__> wvdialconf <Al-Ashtar> slicers__ <=- would help you <Al-Ashtar> I have to go eat <Al-Ashtar> heheh <Al-Ashtar> bbl <fire_in> k sure <PHPdoc> i ****ed it up, whats wrong with this line - /usr/local/bin/mysqldump -u user -pp***word --all-databases > /root/adam/dumps/$FILENAME | gzip -9 <lacroix> it makes no sense <PHPdoc> i know <lacroix> you're first redirecting output to a file <lacroix> so the | has little to compress here, except error messages not redirected <PHPdoc> so what to do? <whythehell> But why would the error messages go through stdout to the | ? <PHPdoc> dont know <PHPdoc> shouldnt <whythehell> PHPdoc: Use the > after the gzipping. <lacroix> don't redirect the mysqldump to a file like this, first pipe it to gzip, and then redirect to a file <lacroix> nap time <lacroix> at 2 pm! <slicers__> /usr/local/bin/mysqldump -u user -pp***word --all-databases > /root/adam/dumps/$FILENAME | gzip -9 /root/adam/dumps/$FILENAME <whythehell> You could call it a siesta, even. <whythehell> slicers__: ick ick ick ick ick <whythehell> If you want to do it that way, then && not | . <fire_in> Al-Ashtar: back yet ? <slicers__> hmmm coffee time :) <PHPdoc> err :/ <PHPdoc> i need mysqldump to output into file, than gzip it <Doddman> omgz im back lawlz <PHPdoc> im confused <Doddman> kubuntu yo <PHPdoc> how to check how much disk space is used on my harddisk? <chills> grrr some one help me out with my serial modem :( <jtg> du <slicers__> /usr/local/bin/mysqldump -u user -pp***word --all-databases > /root/adam/dumps/$FILENAME & gzip -9 /root/adam/dumps/$FILENAME <slicers__> hehe <whythehell> slicers__: No. <whythehell> That won't work either. <slicers__> it works for me :/ <slicers__> i tested <whythehell> Have you tried decompressing your archive to see if it contains all the information? <whythehell> With && it's fine, but & will make gzip start before the sqldump has finished. <whythehell> There's no guarantee that gzip won't get ahead of sqldump, and therefore compress only part of the file. <slicers__> hmm its blank file :S <PHPdoc> whats the diffrence between > and >> <megageek> > clears file before you add content and >> adds file content without erasing the file <PHPdoc> good <whythehell> slicers__: Yep. <SirSmokalot> hey could anyone please help me get a gmail acount <fire_in> damn it . the modem dials but doesnt connect <PHPdoc> how to echo the errors of the script into the output crontab does? <megageek> ?? <jblack> awesome! I got invited to join a cult! <whythehell> Is it a good cult? <jblack> never mind. Its just a scam pretending to be a cult. <megageek> what kind of cult <megageek> bugger <whythehell> Eh? <whythehell> Isn't that like saying it's spam pretending to be a pyramid scheme email? <jblack> well, its called the "Nouveau Tech Society". :) <jblack> But as you read deeper into it, its a money making thing <jblack> Awesome! It is a cult! <jblack> Its like a scientology sorta one. <megageek> isn't scientology not just a money making thing? :p <jblack> "Learn how to control anyone, man or woman, anywhere". "Learn how to easily beat any oppone3nt in your life...in any situation"... <jblack> etc etc. <jblack> and in the next paragraph, YOU'LL BE MAKING MORE IN ONE WEEK THAN MOST PEOPLE MAKE IN A FULL YEAR. <chills> what could be the reason my modem is dialing fine but not connecting :s <jblack> The reason they got my attention is that its sent first cl***. <jblack> They must have lost their bulk mail license <chills> i got the modem :S like you guys toldme now help :P damn it <chills> :( <megageek> it isn't connecting with what? <chills> it dials but doesnt connect <megageek> what does it have to connect to? is the recieving server answering properly? <SirSmokalot> can someone please help send me a gmail invite? <megageek> what address <SirSmokalot> sebastianm19@hotmail.com <megageek> done <SirSmokalot> thanks a lot man :) <megageek> np <SirSmokalot> hell yeah it works :)..no more hotmail for me <jblack> Ahhh. I get it... <jblack> This is a Keven Trudeau scam. <jblack> It must be some of that spam that randyg said he signed me up to <PHPdoc> how to incerement a variable in bash scripting? <PHPdoc> var++ ? <jblack> I gave up. I put in the ac. <the_ruthless> Oh, I remember my question! Was gonna ask this some weeks ago, but forgot... ;P <the_ruthless> How is the performance of dual-monitor setups on Linux compared to same hardware running Windows XP? <sta|nd> both are good :D
Return to
#linux or Go to some related
logs:
turn warnings off php #allnitecafe #vb #php saaya bhi saath jab + mp3 #php falour mama tabouch pics irclogs.ws
|
|