/srv/irclogs.ubuntu.com/2010/01/17/#ubuntu-server.txt

ruben23jmarsden:sorry got delayed..i have chnaged it..ill cehck now00:04
jmarsdenruben23: Try smbclient //xxx.xx.xx.xxx/recordings2 -U AGENT00:08
ruben23ok00:08
jmarsdenSomething is odd.  Are you sure the xxx.xx.xx.xxx is correct everywhere?00:08
ruben23jmarsden: very brilliant00:09
ruben23you got it right00:09
ruben23the xxx.xxx.xxx.xx00:09
ruben23i got a worng value00:09
ruben23no i entered it, no reply means its done right..?00:09
jmarsdenYes.  Type mount to check there is a mounted filesystem now00:09
ruben23its mounted already..? how do i check..?00:09
ruben23ok00:10
jmarsdenruben23: Then do ls /media/share to see the files00:10
ruben23http://pastebin.com/m4e1d5e4500:10
jmarsdenruben23: Ok, line 17 says all is well.  Can you see the files now under /media/share ?00:11
ruben23 jmarsden: what i want to do actually is copy files form my ubuntu server to windows00:11
ruben23yes00:11
jmarsdenOK, so you are all set.00:11
ruben23not yet00:11
jmarsdenruben23: But if that is all you want to do, I'd just have installed Putty on Windows and used pscp to copy the files -- way simpler than messing with SAMBA :)00:12
jmarsdenWhy not yet??00:12
ruben23i need to automate it..00:12
ruben23like it will copy automatically00:12
jmarsdenAutomate what?  The copying?  Set up a cron job.00:12
ruben23actually its not copy its move00:12
ruben23is copy and move the same command00:13
ruben23i would like to used rsync00:13
jmarsdenruben23: You need to read a really basic Linux tutorial if you think copy and move are the same command :)00:13
ruben23:-Dok sorry about that00:13
jmarsdenrsync will sync files, it won't move them, as far as I know.00:14
ruben23jmarsden:so ill make mv command on my cronjob..00:14
jmarsdenruben23: Well, apaprently there is a --remove-source-files option to rsync, so you can probably use that if you prefer00:15
ruben23cox every day recording are accumalted on one of my directory..i need to migrate it to the windows to clear up space on it00:15
jmarsdenruben23: If the files are new each day. rsync won't really save you much time, so use mv and keep it simple.00:15
ruben23ok00:16
ruben23its like file are added dauly on that directory so size are increasing tremendously00:17
ruben23can i make the command a cript..?00:17
jmarsdenruben23: You can; something like    mv /path/to/newrecordings /media/share/     # is all it will take, though.00:18
jmarsdenruben23: You can; something like    mv /path/to/newrecordings/* /media/share/     # is all it will take, though.00:18
ruben23jmarsden:very nice, the crojob schedule would be..hmm00:19
jmarsdenWhatever you need it to be.  Evern hour, if you want :)00:21
jmarsden*Every00:21
ruben23jmarsden:ill be setting it on dail cron jobs..?00:22
ruben23should i use crontab-e..?00:23
jmarsdenruben23: You can add a line to your crontab, or you can create a script in /etc/cron.daily/  instead.00:23
jmarsdenruben23: You can do it any number of ways.  Yes, crontab -e should work.00:24
ruben23jmarsden:got so many jobs on my crontab -e...--->http://pastebin.com/m23f86bac00:25
jmarsdenruben23: You really should put a MAILTO=ruben23@example.com   line at the top so you get email from these jobs if they do unexepected things...00:27
ruben23 jmarsden: i plan to run it like every after after 9 hours of working the command will run00:27
ruben23how do i execute it00:27
ruben23i just put that command  MAILTO=ruben23@example.com00:28
jmarsdenIf that is your email address, yes :)  And this assumes you have email working on the server, of course.00:29
spowersi'm confused about what kernel image to use if I'm running in a xen domU00:30
spowerson 8.04 i was using linux-image-2.6.24-24-xen00:31
spowersbut linux-image-xen does not exist in lucid (which i'm trying to test in our environment)00:31
spowershowever, linux-image-virtual and linux-image-ec2 exist00:31
ruben23 jmarsden:---> ill have like this  30 9 * * *  mv /path/to/newrecordings/* /media/share/00:33
ruben23 jmarsden:tahnks anyway for you help00:42
jmarsdenruben23: You're welcome.00:43
ruben23jmarsden: one more thing i forgot. how do i add it on my fstab to be mounted automatically every reboot..?00:48
jmarsdenruben23: Just add all the stuff you used in the mount command as a line in /etc/fstab. man fstab for details on what goes where.00:50
osmosismy server went down. i dont see any explanation. the only thing i could find was high swap access for the 1 hour preceding the crash.01:12
osmosisany ideas for how i could investigate this?01:14
osmosisman...irc has been dead lately01:18
osmosisanywhere else I can recover crash information besides /var/log ?01:50
osmosisi just had a server crash, appears to have been kernel related. i dont see anything in the logs. AHCI interrupts started climbing and then the box froze. Any crash dump info I can locate ?01:59
osmosisusing  2.6.24-26-server #1 SMP  on hardy LTS 32bit01:59
ZelestI'm trying to create a raid5 using mdadm, and after I run then --create command, --detail show me 2 of the disks as "active sync" and the third one as "spare rebuilding" .. is that normal for initiating a raid5 or is something goofy going on here? :o02:08
osmosisZelest, if the third drive is a member of the raid, it shouldnt say spare.02:21
ZelestAs I though, as it's rebuilding something..02:21
ZelestNone of them has been a part of a raid before, so I don't get what it is that's being rebuilt02:22
sabgentonhey all02:25
sabgentonerm i damionized hostpad and don't know how to stop it?02:26
sabgentonhostapd -B02:26
sabgentonruns it in background02:26
osmosisZelest, it has to build the raid the first time it is initialized.02:30
Zelestosmosis: I did a --assume-clean and it was quite instant.. no idea if that's a good or bad thing though :o02:31
ph8oh dear sabgenton02:35
ph8ps faux | grep hostap02:35
ph8find its process id02:35
ph8and kill it02:35
sabgentonkil02:35
ph8assuming you want a one off stop02:35
sabgentonok02:35
ph8i don't know what hostpad is02:35
ph8but to start/stop it in the background perhaps check /etc/init.d02:35
sabgentonyeah I'm jsut runing it straight02:35
ph8there's usually a command like /etc/init.d/hostpad start02:36
ph8that you can execute02:36
ph8and ofc stop02:36
sabgentonoh02:36
sabgentoninit.d02:36
sabgentonI know i could just kill -2 it02:36
ph8well i'd try kill <pid>02:36
sabgentonbut I wondered if there was a  proper way02:36
ph8then if that fails kill -9 <pid>02:36
ph8i'm not even sure what signal 2 is02:36
sabgentonits the same as ctrl c02:36
sabgentonand that works if I don't daemonise it02:37
jmarsdenkill -l   # lists all the signal names/numbers for reference02:37
sabgentonI know what it is02:37
ph8good reference02:37
sabgentonctrl c is int or kill -202:37
sabgentontrue02:37
jmarsdensabgenton: You are saying "hostpad" ... do you mean "hostapd" ?02:38
sabgentonyeah02:39
sabgentonok it is in init.d02:39
sabgentonteh02:39
jmarsdenOK, so you can do  sudo /etc/init.d/hostapd stop02:40
jmarsdenOr sudo /sbin/service hostapd stop02:40
sabgentonI started it with hostapd -B02:40
sabgentonB means damionize02:40
sabgentonso I thought there might be a way to reverse it02:40
jmarsdenThat's what /etc/init.d/hostapd start does...02:40
sabgentonlike hostapd -UB02:41
sabgentonhehe02:41
jmarsden"Reverse it?"02:41
jmarsdenJust stop it and then start it however you want it.  But running hostapd as a daemon is the *normal* way ro tun it anyway.  Why do you want it to run in the foreground?02:41
sabgentonfirst of  all I didn't know about init.d for hostapd (i was just following tutorials02:41
sabgenton)02:41
jmarsdensabgenton: Learn NOT to do that!  Use man pages not random tutorials you don't fully understand.  ALways.02:42
sabgentonsecond I asumed if there was a way to start  it as a damion just buy /usr/sbin/hostapd I was wondering if there was allso a way to stop it that way?02:42
jmarsdenWhy would there be?  man hostapd describes what you can do with that command.  Read it.  Do not assume things :)02:43
sabgentonjmarsden: I agree in principal02:43
sabgentonman hostpad ssays -B02:43
jmarsdensabgenton: So now you need to *act* on your beliefs.02:43
jmarsdensabgenton: When you truly believe something, it affects the way you behave.02:44
sabgentonthat was not what I meant02:44
jmarsdensabgenton: Right but it has no -UB or whatever... which you "thought it might" have...02:44
sabgentonany way I read the man pages and it didn't have init.d02:45
sabgentonthat was a fictional example02:45
jmarsdensabgenton: You installed a package.  So find out what you installed, dpkg -L hostapd   lists all files installed.02:45
sabgentonman says:   " -B     Run daemon in the background."02:45
sabgentonbut i doesn't say how to stop02:45
sabgentonph8: when a man page says this is the standerd way to stop done with kill ?02:46
jmarsdenRight, and that is what the scripts do for you.  The big clue was that when you installed it you saw a line something like " * Starting advanced IEEE 802.11 management                    [ OK ]"02:46
jmarsdensabgenton: When a daemon is packaged, the standard is to include a script in /etc/init.d/ which knows how to start and stop it.02:47
sabgentonjmarsden: yeah well I'd find that by googling02:47
sabgentonnot reading a man page02:47
jmarsdenThat would be wasting time, man pages are definitive and Google isn't.02:47
sabgentonlol02:47
sabgentonholy man02:47
sabgentonsorry but its not all making peferfect sence like that02:48
sabgentonI agree I need to read more mans though02:48
jmarsdenThe articles you Googled all "make perfect sense"?  Wow!02:48
sabgenton(which I did)02:48
sabgentonno02:48
osmosisi just had a server crash, appears to have been kernel related. i dont see anything in the logs. AHCI interrupts started climbing and then the box froze. Any crash dump info I can locate ?02:49
sabgentonnothings perfect thats my point02:49
jmarsdenosmosis: Probably not.  On some setups you can use the sysreq key and then anotehr key to manually initiate dumps when systems appear frozen... but if you didn't do that before rebooting, there will be no dump.02:50
sabgentonjmarsden: whenn a demon is packaged is it standerd for the distro to put it in /etc/init.d or would building it from standerd source do so to?02:50
osmosisjmarsden, it sure feels horrible to have a crash and have nothing to investigate it on02:51
jmarsdensabgenton: That is a Debian/Ubuntu standard for daemon management scripts, so the scripts are usually done as part of the packaging process.  SOme upstream sources will include a sysv init script,02:51
jmarsdenosmosis: AHCI... how do you know AHCI interrupts climbed?  WHat monitoring did you have enabled?02:51
osmosisjmarsden, all i have is some munin graphs showing AHCI interrupts growing for about 45 minutes prior to the crash.02:51
sabgentonjmarsden: I'm just trying to  understand why man hostapd says you can hostapd -B without giveing  a means to stop it If they intended  for init.d to be the way to go why do they not mention it rather than hostapd -B02:52
jmarsdensabgenton: The man page documents the program hostapd.  It has a -B option so that is documented there.02:53
jmarsdenHow you start and stop process is general is not something you would put in a man page for that one program.02:53
sabgentonfair enough man02:54
sabgentonfunny you told me about the man page and not some ubuntu server guide on the offical website02:54
jmarsdenIf you want info on init scripts in general in Debian/Ubuntu, see http://www.debian.org/doc/debian-policy/ch-opersys.html#s-sysvinit02:54
sabgentonI was just curous about -B02:54
sabgentonand if it had a counterpard02:55
sabgentonand if it had a counterpart02:55
jmarsdenThen you found the info (about -B) in the man page.  And reading all of that man page, you would know (not have to guess) that it has no "kill hostapd" counterpart, because man pages are definiteiv, and so if there was one, it would (should!) have been documented in that same man page.02:55
sabgentonjmarsden: I find it pays to learn about the executables aswell as just the distros way of getting them up02:56
sabgentonfor when the distro stuffs up02:56
jmarsdenHow many bugs have you filed so far about the "distro stuffing up"?  Can you give me some bug numbers I can look up?02:56
jmarsdenMaybe I can even fix some of them, if they are packaging bugs.02:57
sabgentonok or I can master the distro fast enough02:58
sabgentonI'm happy to be an idiot02:58
sabgentonlike right now I can't get sudo service networking start02:58
sabgentonto work02:58
jmarsdenI'm just confused... if "it pays" then there would be bugs you have already filed, right...02:59
jmarsdenTry sudo /sbin/service networking start02:59
jmarsdenUnless you know /sbin is in your $PATH already.02:59
sabgentonwell it doesn't come up with command not found03:00
osmosisany way to figure out what processes are accessing the disks ?03:01
jmarsdenosmosis: lsof is the usual tool for that03:01
ScottKiotop is another one03:01
sabgentonjmarsden: well i use ifup on each nic and then it seems to pick what I put it /etc/interfaces03:01
sabgentonjmarsden: all Im saying is I don't know ubuntu as well as I should (or ubuntu stuffed up) and knowing the ifconfig  commands etc at least going me going in the mean time03:02
sabgentonthough I would love to get it working properly03:03
jmarsdensabgenton: So what exactly are you typing to try and restart networking, and what happens when you do?03:03
sabgenton$ /etc/init.d/networking start03:04
sabgentonRather than invoking init scripts through /etc/init.d, use the service(8)03:04
sabgentonutility, e.g. service networking start03:04
sabgentonSince the script you are attempting to invoke has been converted to an03:04
sabgentonUpstart job, you may also use the start(8) utility, e.g. start networking03:04
sabgentonstart: Rejected send message, 1 matched rules; type="method_call", sender=":1.11" (uid=1000 pid=3091 comm="start) interface="com.ubuntu.Upstart0_6.Job" member="Start" error name="(unset)" requested_reply=0 destination="com.ubuntu.Upstart" (uid=0 pid=1 comm="/sbin/init"))03:04
sabgentonoops03:04
sabgentonsudo service networking start networking stop/waiting03:05
jmarsdensabgenton: If networking has already been started, you probably want to *restart* it, not *start* it.03:05
sabgentonjmarsden: I have auto on my NICs03:05
jmarsdenSo try   sudo /sbin/service networking restart   # and see if that does what you want/need/expect03:06
sabgentonI'm going to cry if that was it03:06
sabgentonsudo /usr/sbin/service networking restart03:08
sabgentonrestart: Unknown instance:03:08
jmarsdensabgenton: Either the manual stuff you did earlier confused things, or there's a bug in your /etc/network/interfaces of some sort, I think.03:09
jmarsdenCan you pastebin your /etc/network/interfaces somewhere so we can see it?03:09
jmarsdensabgenton: Oh, wait... I said   sudo /sbin/service ... and you said    sudo /usr/sbin/service  -- why?03:10
sabgentonok03:10
sabgentonstrange i only just installed karmic03:11
sabgentonoh but i did an upgrade03:11
jmarsdenAh... I was wrong, that's why... it should be /usr/sbin/service ....03:11
sabgentonok03:11
sabgentondo u want me to pastebin it?03:11
jmarsdenAnyway... pastebin /etc/network/interfaces somewhere so I can see it.  Yes, please.03:11
sabgentonoh fudge03:12
sabgentonum i didn't auto the interfaces03:12
sabgentonbut still I should be able to start it03:12
sabgenton?03:12
sabgenton..03:12
sabgentonpasting03:13
sabgentonhttp://pastebin.ca/175424703:13
jmarsdensabgenton: OK, that looks very boring and normal, so add auto eth0 and then lets try sudo /usr/sbin/service networking stop  # check all interfaces are down, then sudo /usr/sbin/service networking start   # and see what happens.03:15
jmarsdensabgenton: You are at the physical console of this server, right?  So stopping networking won't prevent you from use the machine? :)03:16
sabgentonyes well I didn't want to do anything un man ly :P03:16
sabgentonit won't prevent me but I am remote03:16
sabgentonbe cause I'm not conected via those interfaces03:16
sabgentonmeah maybe thats way03:17
jmarsdenOK.  You have remote console access somehow, then.  That's fine.03:17
sabgenton:)03:17
sabgentonis it better practice to put auto above the iface or just all auto statements at the top?03:19
jmarsdenNo strong preference.  Your file is short anyway... I'd put them at the top.03:20
sabgentonoh i put them by the iface03:20
ziesemer_I used to be able to add an additional IPv6 address to eth0 by specifying a "iface eth0:1 inet static" stanza in /etc/network/interfaces.  Seems to have broken from Jaunty to Karmic?  Still works for IPv4, but not IPv6.  Results in "SIOCSIFFLAGS: Cannot assign requested address" error...03:20
jmarsdensabgenton: Either way is fine.03:20
jmarsdenziesemer_: I'm not sufficiently IPv6-expert to help with that; you might want to search Launchpad and file a bug if yu don't find one is there already about that.03:21
sabgentonjoshua@ubuntu:~$ sudo /usr/sbin/service networking restart03:21
sabgentonrestart: Unknown instance:03:21
sabgentonziesemer_: don't u  need inet6 not inet03:23
ziesemer_jmarsden_: Thanks.  sabgenton:  Correct, I had.03:23
ziesemer_(Wrong copy/paste.)03:23
sabgentoni can't remmber if it's excatley that03:24
sabgentonthink so03:24
sabgentonman!03:24
sabgenton:)03:24
sabgentonjmarsden: so far no quick fix03:24
ziesemer_The "interfaces" file was working under Jaunty and copied over, so I'll have to investigate the bug possibility...03:24
sabgentonjmarsden: anyway I hate to be religous about it or  or something but If I did'nt know ifup or ifconfig  I wouln't have my network up right now03:26
sabgentonbut I wan't to learn ubuntu more03:26
jmarsdensabgenton: I'm not sure about that; if you had asked for help earlier before trying manual approaches, I suspect your issue would no longer exist :)03:27
sabgentonwell i did03:27
sabgentoni did what u saw in pastebin and nothing happened03:27
sabgentonso  then I resorted to the latter03:27
sabgentonI agree with um disto loyalty03:28
sabgentonor why would i use ubuntu03:28
sabgentonbut it's not perfict03:28
sabgentonthats all03:28
sabgentonno ones perfict03:28
sabgentonjmarsden: I'll tell you whats wrong when I figure it03:29
sabgenton:)03:30
jmarsdenYou might want to try commenting out the wlan lines in the interfaces file and retrying, if that works you know the "Unknown instance:" relates to that interface.03:30
sabgentonoo03:31
sabgentonok03:31
jmarsdenThat will help you determine which interface has the issue... I'm less familiar with wireless lan config stuff, it's relatively rare on servers...03:31
sabgentonnot even lo works03:37
sabgentonor do i need to state what lo  is03:38
sabgenton127.0.0.103:38
sabgentonlocalhost03:38
jmarsdenNo, just auto lo   and then    iface lo inet loopback     is enough.03:38
jmarsdenWorks for me, anyway :)03:39
sabgentonhm well i commented all but lo03:39
sabgentonstill no go03:39
jmarsdenI don't know where the "Unknown instance:" message is coming from... knowing what script or program outputs that would help...03:39
=== dendro-afk is now known as dendrobates
jmarsdensabgenton: It's very un-server-like, but you could try rebooting the machine, just in case *that* helps??  I need to go eat dinner, probably will be back later on...03:40
sabgentonthats cool man03:44
sabgentonI'm off anyway03:45
sabgentontalk another time03:45
sabgenton:D03:45
usrvjmarsden, skaag: So I completely started from scratch on the raid. I had some wierd errors going on too. So I stopped the array, uninstalled/reinstalled mdadm, deleted and remade the partitions on the drives, zero-superblocked them just to be safe, made the array again, copied03:57
usrv...copied ARRAY /dev/md0 level=raid5 num-devices=4 metadata=00.90 UUID=89dad939:59e44f74:766ed327:47779459 over to mdadm.conf and rebooted03:58
usrvand we're solid03:58
jmarsdenusrv: OK, glad you finally have it working :)04:00
usrvagain, thanks for the help. I've learned a lot04:01
jmarsdenYou're welcome04:02
Edliktrying to setup ubuntu server, need help setting up ip address. I am new to all of this04:11
jmarsdenEdlik: What specifically do you need help with?  You are in the installer at the screen with manual network settings, right?04:17
Edlikjmarsden: correct, i am following a tutorial here http://www.howtoforge.com/perfect-server-ubuntu-9.10-ispconfig-3-p3 but I am stuck with what numbers i sould put in for the addresses. I have another ubuntu desktop into the same router if I could use those numbers? I am trying to do a fixed ip instead of dhcp04:20
jmarsdensuch tutorials usually lead to grief, because people follow them blindly...04:20
jmarsdenWhat numbers does your other Ubuntu machine use?04:21
=== dendrobates is now known as dendro-afk
Edlikjmarsden: give me a minute to post a screenshot04:21
ScottKYou'd want the first three the same.  The last one different.04:21
jmarsdenEdlik: Don't spend time on a screenshot.  What is the IP address of the Ubuntu desktop.  Then change the last of the 4 numbers and you should be OK.04:22
Edlikwhat would I change it to?04:23
jmarsdenAdd 1 to it, if you like.  Any number between 2 and 253 that is not currently used by abother PC on your network.04:24
Edlikawesome, what about netmask, network, broadcast, and gateway?04:25
jmarsdenThose will all be the same as the other Ubuntu desktop PC uses.04:25
Edlikwow, that is too easy:-D, thank you very much!04:26
jmarsdenYou're welcome.   BTW that howto is for an ISP setup... are you sure you know enough to be an ISP?04:28
EdlikCurrently no, but I will learn. Only to host my own sites.04:30
jmarsdenOK... that setup is quite non-Ubuntu-standard (Courier, ispconfig, mydns, etc), so getting help in IRC for some of your setup may be harder than might otherwise be the case.04:31
Edlikdo you have another suggestion? I am all about learning04:32
jmarsdenwell, do you really need to do the whole multi-domain email right away?  Why not start with a single domain and learn the command line tools.  For example, You can get email for one domain working quickly using the dovecot-postfix package, near zero configuration.04:34
jmarsdenYou can look at ebox if you are desperate for a web based UI, but you'll learn more if you admin your machine primarily from the command line.04:34
jmarsdenThere is no "pretty web based UI, easy to install, Ubuntu-standard" multiple domain email and web hosting configuration that I know of.  But how much will you learn by following someone elses steps, cutting and pasting config file iutems you do nto understand, and then using a web interface?04:36
jmarsdenEdlik: Have you read the whole of the Ubuntu Server Guide?  That's a good place to start learning about Ubuntu Server :)04:36
EdlikI agree toatly, it is like walking blind. I have not read the server guide, but I will now that you mention it.04:37
jmarsdenIt is linked to from the /topic of this channel, I think.  https://help.ubuntu.com/9.10/serverguide/C/index.html04:38
Edlikfound a pdf, downloading now. Thanks for the pointer, I didnt know it existed although I have searched for material. The ubuntu community is awesome! Thanks again for your advice jmarsden :-D04:41
=== dendro-afk is now known as dendrobates
jmarsdenYou're welcome.  General advice: Trust official Ubuhntu docs and the man pages; they are generally far more reliable sources of info than blogs/forums/other things Google finds...04:42
MTecknologySo, what's the name of that tool for manaing rstartup processes?04:49
jmarsdenMTecknology: sysv-rc-conf04:50
MTecknologyjmarsden: There's a similar tool that doesn't have the massive grid; any ideas what that is?04:52
MTecknologychkconfig....04:52
MTecknologyjmarsden: thanks04:53
jmarsdenrcconf ?  Ah, chkconfig is the Redhat-inspired one...04:53
MTecknologyjmarsden: yup, that one04:54
=== dendrobates is now known as dendro-afk
=== dendro-afk is now known as dendrobates
=== dendrobates is now known as dendro-afk
r00tintheb0xugh, captcha06:27
jmarsdenr00tintheb0x: captcha?  Here in #ubuntu-server ?  Surely not :)06:29
freaky[t]in #sbnc on quakenet there is ;D06:31
freaky[t]u gotta visit a website and it asks u if ure going to request a free bouncer. if you click yes a bot bans and kicks you out of the channel ;D06:32
freaky[t]if you click no the bot voices u ;D06:32
freaky[t]and channel is üm ;D06:35
freaky[t]*+m06:35
* r00tintheb0x sighs.06:45
r00tintheb0xI just gave my customer the direct URL to WinSCP.06:45
r00tintheb0xHe said he couldn't put his root credentials in there because "its a webpage from the internet"06:46
freaky[t]r00tintheb0x lol ;D06:54
freaky[t]i get a new server on friday ;D http://www.hetzner.de/de/hosting/produkte_rootserver/eq6/06:54
freaky[t]:D06:54
freaky[t]private server07:01
freaky[t]:D07:01
r00tintheb0xCool!07:42
r00tintheb0xCongrats freaky[t]07:42
freaky[t]thx ;p07:43
r00tintheb0xWho are you going through?07:43
freaky[t]what do you mean?07:43
r00tintheb0xnevermind, i found it. hetzner.de07:43
freaky[t]yea ;D07:44
r00tintheb0xWhat monitary damonitation is €?07:44
r00tintheb0xLeer07:44
r00tintheb0x?07:44
jmarsdenEuro07:44
r00tintheb0xAh, 69 euro a month?07:45
r00tintheb0x99.0633 U.S. dollars a month.07:45
r00tintheb0xfreaky[t], lets talk in #ubuntu-offtopic07:45
j416How is the proper way to schedule recurring tasks on Ubuntu Server 9.10 ?08:26
j416cron?08:26
jmarsdenj416: Basically, yes.  Either add a crontab entry or add a script to /etc/cron.{daily,hourly,weekly,monthly}/08:27
j416jmarsden: neat! thank you08:27
j416I would guess /etc/cron.* would be the preferable way08:28
jmarsdenWell, if you need something run every third Friday, or at exactly 41 minutes past the hour, use a crontab entry... but if the crontab.* dirs work for you, it's often easier to use one of them.08:29
j416ok! :)08:29
j416I have a backup script that is to run at a set time every day, I would guess I need to use crontab there then?08:30
j416basically "daily", but I want it to always run at night time (when there is least activity on the server)08:31
jmarsdenYes, unless that time is whatever is in /etc/crontab for the run-hourly script (17 minutes past midnight, I think).08:31
j416ok!08:31
j416thank you.08:31
j416:)08:31
jmarsdenYou're welcome.08:31
qman__well, there is also cron.d, where you can specify exact times like a crontab08:48
usrvis ext4 less stable than ext3?08:52
j416qman__: ok! thank you08:55
j416qman__: (sorry for the late reply, I didn't notice your answer because you didn't mention my name :)08:56
usrvalso, i'm setting up a guest in vmware server. Ideally, I would like to give the physical disk to the guest operating system but vmware server 2 doesn't support that (without a workaround) and the guest i'm making will have 1.5TB of disk space allocated to it. Would a vmdk that big cause me problems?08:57
usrvthat ? might also be suitable for another room perhaps...08:58
usrvI'm open for room suggestions too by the way. :)09:01
j416usrv: check virtualbox, if I'm not mistaken you can give it a physical disk09:06
usrvj416. I think you're right. I'll look into it.09:09
j416usrv: I'm using vbox for my server (setting it up right now)09:09
j416just trying to figure out a good backup solution...09:09
j416(not the entire machine, but certain files)09:10
ZelestI have 3 sata disks in a raid5 (using mdadm) and a lvm on top of that.. i created a logical volume and mounted it as /mnt to do some performance tests.. and the results are somewhat confusing..10:07
Zelesthttp://pastebin.com/m43a1d8b510:07
Zelestif I write a 500MB file that doesn't exists, I get 330MB/s .. if I write to the same file, if it exists, I only get 50MB/s ..10:07
Zelestsame goes if I try to write a 5GB file instead of 500MB, then I only get 50MB/s as well.10:08
ZelestI'm very new to raids in general and I'm not quite sure what to expect really.. anyone with more knowledge that care to help out?10:08
=== henvic is now known as henriquev
sabgentonupdate-rc.d foo remove10:33
sabgentonwill this allso remove /etc/init.d/foo10:33
sabgenton?10:33
vargadanishello everyone... I have a simple LAMP installed on ubuntu and for some reason after reboot apache won't start because it segfaults... the error message I get is this: an 17 14:25:21 ubuntupower kernel: [ 3041.660393] apache2[2934]: segfault at 4 ip b751e0c1 sp bf86eba0 error 4 in libphp5.so[b7200000+4eb000]13:32
vargadanisany tips what might cause it?13:33
Zelestno clue here, but my guess would be that something is dodgy with libphp513:34
Zelestrecently upgraded it?13:34
gtrfdewsaqhttp://www.pandamailer.de/?bettel=pimbolli13:34
vargadanisZelest, I just installed a complete LAMP13:40
vargadanisZelest, distro packages and I have run update, upgrade and evern dist-upgrade13:40
Zelestah, no idea though.. :/ i'm fairly new to ubuntu myself so13:47
vargadanisahh ok :)13:48
vargadanisI HAVE FOUND IT!!! maybe some folks should post the problem.. it's a bug in the zend-framework package!13:49
vargadanisin the /etc/php5/conf.d/zend-framework file there is an entry, include_path that points to /usr/share/php/libzend-framework directory13:49
vargadanisif you comment it out and then you modify the php.ini file to include that dir into the include path it works13:50
vargadanisfirst time i was able to solve a problem all by myself :) muhaha ...13:51
Zelest:D13:53
=== mrchrisadams_ is now known as mrchrisadams
Hawkeyhi ppl.. need to ask.. we cannot run ubuntu server with two raids... says something like this when booting Fatal protection error in(at ... some tips about it?17:08
Hawkeysome tips? anything?17:14
Hawkeyseems everyone is sleeping :-P17:31
=== dendro-afk is now known as dendrobates
RoyK 17:45
tarskianyone here set up NAT successfully in ubuntu ?18:14
PowderkingHi all! I installed Ubuntu server to a system with a AMD Geode processor. The german Ubuntu wiki says that a lot of problems occur because of a wrong kernel. It tells to install "linux-386" instead of "linux-generic". But I have no problems so far (installation complete, system running). I wonder if it is a good idea to change the kernel?20:16
ZimCSHello.  I'd like to install a minimalist gui on ubuntu server 9.10.  I don't need firefox built in or all the apps that come with gnome.  I only need the x windows to run boxee20:17
mm_202Hey guys, I have a colo'ed server and want to get some stats/reports about it.  Is MRTG a good choice, or is there something better?20:29
RoyKmm_202: mrtg is quite old. Munin or perhaps RRDTool are better choices20:36
RoyKI still use mrtg for some stuff, though20:36
sorenmm_202: I recommend munin.20:40
mm_202hmm, okay, let me check out munin.20:41
mm_202Thanks RoyK and soren.20:42
PowderkingI did an apt-get upgrade. After restarting I get the message "mountall: fsck /boot [283] terminated with status 4" and has unexpected inconsistency. Could this be because of the generic kernel?20:48
RoyKhardly20:49
RoyKops20:49
PowderkingUps, wrong terminal :-[ Can somebody help me with my generic vs. 386 kernel for AMD Geode?20:52
RoyKPowderking: no big deal20:54
RoyKPowderking: but the fsck problems are (hopefully) solved with booting into single user mode and running fsck on /boot20:54
RoyKperhaps mounting /boot read-only first if it's mounted rw20:55
PowderkingRoyK: No big deal means that it makes no difference for me?20:56
RoyKthe amd geode kernel will add tuning parameters for that cpu20:56
RoyKso it may help a little, performance-wise, but hardly more than 1%, probably less.20:57
RoyKit will not help you with the fsck problem20:57
PowderkingRoyK: Mounting /boot read-only to do fsck only? I googled but couldn't find the correct syntax. Is fsck /boot correct or fsck /dev/sda1?20:58
RoyKif it's mounted rw, it's quite dangerous to run fsck on it20:58
RoyKmount -o remount,ro /dev/sda1 will remount it read-only20:58
RoyKthen run fsck -f /dev/sda120:59
PowderkingRoyK: The amd geode kernel is the same as installing linux-386 package?20:59
RoyKsee above20:59
PowderkingSorry I a newby especially with kernel. On the amd page (http://www.amd.com/us/products/embedded/develop-and-design/Pages/development-boards-lx.aspx) is written that it is x86. But in the above mentioned Ubuntu wiki page is written of the 386 kernel. That's why I'm confused. So I will change to 386 just to be sure :-) Thanks for your help!21:04
tarskii can install ruby1.9 and rubygems1.9.1 on ubuntu client but ubuntu server cant find the package22:07

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!