aBs0lut30 | hey guys, was just looking at the HA stacks available, didnt realize that there had gotten to be so many... any thoughts on which one is best? am using heartbeat on a cluster now and am just not that impressed with it... | 00:52 |
---|---|---|
adam_g | aBs0lut30: You have choices as to what you can run for the lower-level messaging layers, but at the top you'll probably want pacemaker | 00:55 |
aBs0lut30 | adam_g: was just doing some more reading on the subject... looks like the main contenders for the messaging layer are still heartbeat(didnt realize that it was just that part, as I am using it for the while thing on my old, and very unreliable cluster) and OpenAIS, OpenAIS seems to be the better way to go?? | 00:57 |
adam_g | aBs0lut30: you're running which version/style of heartbeat? v1 / haresources or v2 / CRM? | 00:58 |
aBs0lut30 | great question... let me check | 00:58 |
adam_g | aBs0lut30: in other words, do you configure the clustered services via /etc/ha.d/haresources or via the CIB ? | 00:59 |
aBs0lut30 | looks to be 2.1.3 | 01:00 |
aBs0lut30 | ahh, haresources | 01:01 |
adam_g | yeah, old school | 01:01 |
Jasonn | What is a load average? | 01:01 |
aBs0lut30 | not supprised... its running openfiler as the distro... | 01:01 |
aBs0lut30 | jasonn: as far as CPU load? or IO load? as its running as a iscsi target... am getting off it for SCST.... | 01:02 |
Jasonn | aBs0lut30: CPU | 01:03 |
aBs0lut30 | either way, load isnt that high most of the time on either front... | 01:03 |
adam_g | aBs0lut30: basically heartbeat was gutted. pacemaker is used now to manage the actual clustere resources, and can use either corosync or heartbeat for cluster communication. | 01:03 |
aBs0lut30 | CPU stays fairly low, avg less than 10% | 01:03 |
Jasonn | What is a high load average? | 01:03 |
Jasonn | and why are there 3 of them? | 01:04 |
aBs0lut30 | adam_g: in your opnion, which is best as far as functionality and community support?? | 01:04 |
aBs0lut30 | highest I have ever seen the CPU load is about 70% but only for a couple of minutes... really hard to get it that high | 01:04 |
Jasonn | Mine shows it as numbers | 01:05 |
Jasonn | like | 01:05 |
Jasonn | 0.25 | 01:05 |
Jasonn | 0.90 | 01:05 |
Jasonn | 1.25 | 01:05 |
Jasonn | like in htop | 01:05 |
JanC | Jasonn: https://secure.wikimedia.org/wikipedia/en/wiki/Load_%28computing%29 | 01:05 |
adam_g | aBs0lut30: both are currently supported and maintained. corosync is actively developed, heartbeat only recieves bug fixes and will eventually go away in favor of corosync. if you're doing a basic 2 node HA cluster, heartbeat would work fine. if you're doing larger, more complex installations you'd probably want corosync. | 01:05 |
aBs0lut30 | jasonn: what you looking at for that?? I am just looking at top for my numbers | 01:06 |
Jasonn | JanC: Thanks :d | 01:06 |
Jasonn | aBs0lut30: htop | 01:06 |
aBs0lut30 | jasonn: yeah, such an old/broken setup I dont even have that... | 01:06 |
Jasonn | lol | 01:07 |
Jasonn | How do I improve the performance of the processor? | 01:07 |
Jasonn | I want to run a virtual box | 01:07 |
aBs0lut30 | adam_g: cool, thanks for the info... prob go with corosync as at this point it is a nice basic 2node setup, but who knows what tomorrow will bring | 01:07 |
Jasonn | and I have a dual core 2.8GhZ (per core) | 01:07 |
Jasonn | and its going REALLY slow | 01:07 |
JanC | http://serverfault.com/questions/67759/how-to-understand-the-memory-usage-and-load-average-in-linux-server might be useful too | 01:08 |
aBs0lut30 | jasonn: does the CPU have VM extensions, and are they on in bios? | 01:08 |
Jasonn | aBs0lut30: no, and now | 01:08 |
Jasonn | no* | 01:08 |
Jasonn | well, if it does, I didnt set them | 01:08 |
aBs0lut30 | ahhhh.... that sucks... | 01:08 |
aBs0lut30 | intel or AMD? | 01:08 |
Jasonn | Intel | 01:08 |
aBs0lut30 | Xeon? | 01:08 |
Jasonn | Hmm | 01:08 |
Jasonn | lemme see | 01:08 |
adam_g | aBs0lut30: np. you'll probably spend more time learning about pacemaker than the actual messaing system. but good luck.. | 01:09 |
Jasonn | Pentium D | 01:09 |
adam_g | aBs0lut30: www.clusterlabs.org is a great resource, btw | 01:09 |
aBs0lut30 | ahhh, prob not then... | 01:09 |
aBs0lut30 | adam_g: cool, thanks, will check it out :) now if I can just get DRBD to behave I will be in good shape | 01:09 |
JanC | some Pentium D have hardware virtualisation | 01:09 |
Jasonn | How do I check if mine does? | 01:10 |
aBs0lut30 | true... if memory serves not many... | 01:10 |
aBs0lut30 | jasonn: see if you can track down the model number and you can look it up either on wikipedia or intel's site(if you want to spend hours digging :) | 01:10 |
Jasonn | xD | 01:11 |
aBs0lut30 | all I can say is I am amazed at the performance difference between a REALLY strong box with no VMx and a ok box with :) | 01:11 |
Jasonn | Is there somewhere I can check to see if it has it? | 01:11 |
JanC | grep -l vmx /proc/cpuinfo | 01:12 |
aBs0lut30 | there is, let me see if I can remember it.... or theres that | 01:12 |
Jasonn | JanC: Didnt give me anything | 01:12 |
Jasonn | just went to the next line | 01:12 |
aBs0lut30 | jasonn: shoot me the model and I can look it up real quick... try cat /proc/cpuinfo and see what it dumps | 01:12 |
JanC | then it has no hardware virtualization (or the BIOS disabled it) | 01:12 |
JanC | aBs0lut30: for intel the PU flag is "vmx" ;) | 01:13 |
aBs0lut30 | yeah, but like you said, only if its turned on :) | 01:13 |
Jasonn | aBs0lut30: http://pastebin.ubuntu.com/604281/ | 01:13 |
JanC | CPU flag | 01:13 |
Jasonn | How do I check if BIOS disabled it? and roughly how much is a better processor | 01:14 |
Jasonn | JanC: How do I check if the processor is 2.80GhZ on the whole processor or per core? | 01:15 |
aBs0lut30 | humm... actually dont see any of the pentium D's with vm... | 01:17 |
Jasonn | D: | 01:17 |
Jasonn | How much would a better processor with that be? | 01:18 |
aBs0lut30 | yeah I hear ya... | 01:18 |
aBs0lut30 | depends on the mobo you have and if it supports anything better | 01:18 |
Jasonn | IBM shitboard | 01:18 |
Jasonn | err | 01:18 |
aBs0lut30 | also, what are you using for VM? Xen, VMWare... | 01:18 |
* Jasonn censors that | 01:18 | |
aBs0lut30 | lol | 01:18 |
Jasonn | VB OSE | 01:19 |
Jasonn | I have the IBM thinkcenter | 01:19 |
Jasonn | I found it at some guys house | 01:19 |
Jasonn | he was moving out | 01:19 |
Jasonn | and I was like can I have this | 01:19 |
Jasonn | and he was like I dont care | 01:19 |
Jasonn | so I took it | 01:19 |
Jasonn | Added some more ram and it runs horribly | 01:20 |
Jasonn | D: | 01:20 |
aBs0lut30 | ahhhhh... well I can tell you, to get better performance out of it, take it out, tie it up behind your car and floor it ;) | 01:20 |
Jasonn | lol | 01:20 |
aBs0lut30 | never used VB actually... one thing you can try is running vmware server... might be a bit better... | 01:20 |
aBs0lut30 | how much ram you got? | 01:20 |
shauno | I'm almost jealous. here I thought you couldn't give away a pentium D .. and someone managed it :) | 01:20 |
Jasonn | 2.5GB | 01:20 |
aBs0lut30 | ROFL | 01:20 |
aBs0lut30 | well not to bad... | 01:21 |
Jasonn | Dont worry, my laptop has 8GB | 01:21 |
Jasonn | xD | 01:21 |
JanC | ah, I found the command to check for HVM-support :P | 01:21 |
Jasonn | quad core | 01:21 |
JanC | 'kvm-ok' | 01:21 |
aBs0lut30 | well, if the mobo would take it, a core2 would probably be about the best you could do, maybe a low end xeon... | 01:21 |
aBs0lut30 | if the mobo would hold a xeon, could probably get a used one from eaby for 70 bux or so... | 01:22 |
Jasonn | Hmm | 01:22 |
aBs0lut30 | maybe less than that... | 01:22 |
Jasonn | shauno: Wait, are you saying that the pentium D is bad? | 01:22 |
Jasonn | I just took it cuz I was like oh, free computer, | 01:22 |
JanC | so if anybody needs to check HVM-support for their CPU, just run "kvm-ok"... ;) | 01:23 |
Jasonn | aBs0lut30: And at a store? | 01:23 |
aBs0lut30 | also, might want to see if you could find an amd chip that runs VM that could go in it... | 01:23 |
shauno | Jasonn: I'd probably have done the same. but I've a celleron D here that's useful for keeping the door open. I couldn't comment on the non-cellery models (but already did ..) | 01:23 |
aBs0lut30 | janc: VERY cool! learn something new every day | 01:23 |
Jasonn | JanC: INFO: Your CPU does not support KVM extensions | 01:23 |
JanC | the Pentium D was a rather cheap CPU for desktop computers, several years ago... | 01:24 |
aBs0lut30 | well, like I said, might get a *LITTLE* better performance out of vmware server... maybe | 01:24 |
Jasonn | Is it worth getting the processor? | 01:24 |
aBs0lut30 | only one VERY small step above the crapERON | 01:24 |
Jasonn | I am getting a new comp in september | 01:24 |
aBs0lut30 | well, if you could find one cheap that has vmx that will run in that box... I would say so... | 01:25 |
JanC | I think almost all new CPUs have HVM-support now | 01:25 |
JanC | except for Atom style ones ;) | 01:25 |
aBs0lut30 | yeah, but its an older thinkcenter, no telling what it will run | 01:25 |
Jasonn | Hmm | 01:25 |
Jasonn | I can get the model if you like | 01:26 |
aBs0lut30 | HAH, can you believe they want to put vmx on those too??? how useless is that | 01:26 |
aBs0lut30 | send it on | 01:26 |
aBs0lut30 | I can take a look | 01:26 |
Jasonn | 8215-GCU | 01:26 |
Jasonn | MT-M | 01:26 |
JanC | aBs0lut30: if I understand correctly, WinXP compatibility mode in Windows 7 needs vmx ;) | 01:26 |
aBs0lut30 | yeah, think so | 01:27 |
JanC | (and some people with a Sony VAIO laptop which disabled that in the BIOS weren't too happy about that ;) ) | 01:27 |
aBs0lut30 | LOL, I bet | 01:27 |
JanC | as in disabled without opt ion to enable | 01:27 |
aBs0lut30 | jasonn: looks like it will run a P4 let me see if I can find out which one | 01:31 |
Jasonn | aBs0lut30: Thanks :D | 01:33 |
JanC | yeah, Pentium D and Pentium 4 were used on the same motherboards | 01:33 |
JanC | and there certainly are a small number of Pentium 4s that have vmx | 01:34 |
aBs0lut30 | jasonn: P4 661 support VMx and will run in that box | 01:35 |
Jasonn | :D | 01:36 |
Jasonn | Anything better? | 01:36 |
aBs0lut30 | jasonn: http://cgi.ebay.com/Pentium4-P4-661-3-6GMHz-LGA775-2M-800MHz-Free-shipping-/140506422575?pt=CPUs&hash=item20b6d5dd2f#ht_1917wt_905 | 01:36 |
aBs0lut30 | nope, thats the top end it will run | 01:36 |
aBs0lut30 | but not bad, its a 3.6ghz with 2MB | 01:36 |
Jasonn | dual core? | 01:37 |
Jasonn | And will I have to do a fresh install or change anything to upgrade it? | 01:37 |
aBs0lut30 | nope... single core, but HT... | 01:38 |
Jasonn | And is that just as good? | 01:38 |
Jasonn | Oh yeah | 01:38 |
aBs0lut30 | jasonn: if everything is stock, wouldnt think so... | 01:38 |
Jasonn | is my processor 2.80GhZ/core | 01:38 |
aBs0lut30 | well dual core is better, but only by MAYBE 15%... | 01:38 |
Jasonn | is my processor 2.80GhZ/core?? | 01:38 |
aBs0lut30 | rule of thumb is HT is 1.5x rated CPU speed, dual core is like 1.7x | 01:39 |
aBs0lut30 | umm, let me see | 01:39 |
Jasonn | Thanks :s | 01:39 |
Jasonn | :D | 01:39 |
Jasonn | Ill but it right now if it is not per core | 01:39 |
Jasonn | otherwise, Ill still buy it | 01:39 |
Jasonn | xD | 01:39 |
Jasonn | Its free shipping to Canada | 01:40 |
Jasonn | :d | 01:40 |
Jasonn | :D * | 01:40 |
aBs0lut30 | ohh, I see what you mean... dont really think about it like that... the cpu itself runs at 2.8, and each core runs at 2.8, BUT its still time sliced, and on the same chip using the same bus, so your not gonna get 5.6... | 01:41 |
aBs0lut30 | gonna get maybe 3.5 | 01:42 |
Jasonn | Ohhh | 01:42 |
aBs0lut30 | probably be about a wash... but you get VM :) | 01:42 |
Jasonn | ok | 01:42 |
Jasonn | :D | 01:42 |
Jasonn | Hmm | 01:42 |
Jasonn | lemme go see if I can talk my mom out of $58 | 01:42 |
aBs0lut30 | haha, good luck :) | 01:42 |
aBs0lut30 | now, if I can get the guys to wake up over in #DRBD :( | 01:43 |
Jasonn | lol | 01:43 |
aBs0lut30 | just make sure to update the bios, and go in and find the VM option and turn it on... | 01:43 |
uvirtbot | New bug: #778837 in samba (main) "package samba-common 2:3.5.8~dfsg-1ubuntu2 failed to install/upgrade: cannot access archive: No such file or directory" [Undecided,New] https://launchpad.net/bugs/778837 | 02:11 |
=== TuxIce is now known as AdamDV-iPad | ||
uvirtbot | New bug: #778842 in postfix (main) "package postfix 2.8.2-1ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 75" [Undecided,New] https://launchpad.net/bugs/778842 | 03:16 |
=== jmoss42 is now known as phate408 | ||
kellnola | anyone with experience crafting SLA's here? | 04:04 |
bmw123 | hi all | 04:06 |
bmw123 | question: when I log onto ubuntu server, I get the following msg, "26 packages can be updated. 14 updates are security updates." but I had already did a aptget upgrade and update and nothing is left to update??? any idea?? | 04:06 |
kellnola | not sure how the motd gets updated ... | 04:06 |
kellnola | as in I mean not sure if apt-get updates /etc/motd, which is that message | 04:07 |
bmw123 | ahhh... | 04:07 |
kellnola | it might be cron'd | 04:07 |
bmw123 | normally it seems to work, just this time around, it still has that message there | 04:07 |
bmw123 | somone told me i need to do a distro update | 04:08 |
bmw123 | is that important | 04:08 |
bmw123 | ? | 04:08 |
kellnola | bmw123, bad advice | 04:08 |
kellnola | do dist upgrade when you can | 04:08 |
bmw123 | thats what i thought | 04:08 |
bmw123 | doing a distro upgrade is a major thing right? | 04:08 |
kellnola | is it LTS or no? | 04:08 |
bmw123 | 10.04.02 LTS | 04:09 |
kellnola | on a server, uh, YES. on a home desktop, probably not | 04:09 |
bmw123 | what will a distro upgrade do to it? | 04:09 |
kellnola | that is supported for a few more years | 04:09 |
bmw123 | ahh k | 04:09 |
kellnola | you can't dist-upgrade LTS since there isn't a new LTS to upgrade to until next April | 04:09 |
bmw123 | ahhh.... | 04:10 |
kellnola | 12.04 will be the next LTS | 04:10 |
bmw123 | in unsupported webmin, it says there are 3 outstanding updates | 04:11 |
bmw123 | linux-headers-server Linux kernel headers on Server Equipment. New version 2.6.32.31.37, linux-image-server Linux kernel image on Server Equipment. New version 2.6.32.31.37, linux-server Complete Linux kernel on Server Equipment. New version 2.6.32.31.37 | 04:11 |
bmw123 | but not sure if i want to upgrade them yet,.... looks majot to me, i'm new at linux | 04:11 |
bmw123 | major* | 04:11 |
kellnola | and apt-get upgrade outputs nothing, that is, nothing to upgrade? | 04:11 |
bmw123 | it outputs this exactly | 04:12 |
bmw123 | Reading package lists... Done, Building dependency tree, Reading state information... Done | 04:12 |
bmw123 | The following packages have been kept back: linux-headers-server linux-image-server linux-server, 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded. | 04:12 |
bmw123 | but not the 26 and 14 it stated at login time | 04:13 |
kellnola | well there is some reason why it is holding those kernel packages | 04:13 |
bmw123 | are they important to upgrade.. | 04:13 |
kellnola | if you have some firmware kernel stuff or proprietary drivers or whatever that would do it, if they haven't been updated yet | 04:14 |
bmw123 | its a vmware session..could that have any bearing | 04:14 |
kellnola | suyre, vmware has kernel modules. forcing a kernel upgrade if the vmware drivers aren't available for it would definitely hold the kernel | 04:15 |
kellnola | uggh. .. forcing a kernel upgrade could break your VM's | 04:16 |
kellnola | did you install them from a repository or ppa or by hand? | 04:16 |
bmw123 | repository i think | 04:17 |
bmw123 | i will hold off on it.. | 04:17 |
bmw123 | just annoying that it says stuff hase to be upgraded... | 04:17 |
kellnola | if that's true, the ppa devs are just lagging, that's all | 04:17 |
bmw123 | fair enough, thanks | 04:18 |
bmw123 | not too concerned | 04:18 |
kellnola | well, kernel updates should be taken seriously but production systems tend to have more pressing matters, like, stability | 04:19 |
bmw123 | fair enough | 04:19 |
bmw123 | makes sense | 04:19 |
bmw123 | oh i just found this | 04:20 |
bmw123 | http://velomatrix.net/2011/05/02/ubuntu-does-not-reset-motd-after-updating/ | 04:20 |
kellnola | I use Virtual Box, prob not as good as ESX, but they're better about their driver rebuilds than VMware | 04:20 |
bmw123 | i think this is the issue i'm having | 04:20 |
bmw123 | how do u like virtual box? | 04:20 |
bmw123 | esx is a fortune! my company pays for it but expensive | 04:20 |
kellnola | it's a little funky, but so is vmware ... it's about as fast | 04:20 |
kellnola | and it's FREE | 04:21 |
bmw123 | is it baremetal hypervisor | 04:21 |
bmw123 | ? | 04:21 |
kellnola | not sure what you mean | 04:21 |
kellnola | it certainly does not have the features of ESX | 04:21 |
bmw123 | do u run it after ubuntu boots | 04:22 |
bmw123 | or does it have its own OS? | 04:22 |
kellnola | we use VBox for things like, when a client has an app that requires they run as admin, we quarrantine it in a VM terminal server | 04:22 |
jmarsden | bmw123: virtualbox runs inside a host OS such as Ubuntu or even Windows. | 04:22 |
bmw123 | ahhh | 04:23 |
bmw123 | i'm using it for production servers at the office... VSphere and ESXi on the servers | 04:23 |
kellnola | since the windows world is rife with this behaviour, we do it a lot | 04:23 |
bmw123 | makes sense | 04:23 |
kellnola | it works out since it puts the pressure on the idiot windows dev and not us | 04:24 |
kellnola | hey, commercial UNIX devs do the same shit | 04:25 |
bmw123 | hahahaha | 04:29 |
bmw123 | it so retared my boiss that is, we pay like $2500 per ESXi licese per server and the server only cost $2000...what a rip off, i wish i owned EMC | 04:30 |
kellnola | it's crazy | 04:31 |
kellnola | how much basic infrastructure software can cost. The last place I worked use ESX heavily - about 50-60 of them, for almost nothing | 04:32 |
bmw123 | ya | 04:32 |
kellnola | I mean the VM;s had very light duties | 04:32 |
bmw123 | ya a waste | 04:33 |
bmw123 | oh well | 04:33 |
kellnola | but they had so much money they didn't know what to do with it | 04:33 |
bmw123 | atleast backup is easy with vm's...just image files | 04:33 |
kellnola | yeah | 04:33 |
uvirtbot | New bug: #778903 in backuppc (main) "package backuppc (not installed) failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/778903 | 08:46 |
=== Geek is now known as Guest72067 | ||
Rommel | Hi, I've got an Ubuntu box linked up to a VLAN trunk port on a Cisco 2950 switch, I've got it all working if I have a subnet per VLAN configuration. But is anyone aware if I would be able to have one subnet for multiple VLANs? | 09:27 |
Rommel | I guess the core of my question is: is it possible to have an interface with a single IP, which communicates on all VLANs which come through on the VLAN trunk, instead of a separate virtual interface for each VLAN tag? | 09:28 |
Rommel | Hi, I'm wondering if anyone has been able to setup an interface on their Linux server connected to a VLAN trunk port which communicates on all VLAN IDs? At the moment I'm having to configure one subnet per VLAN, but I'd really like to have one subnet for multiple VLANs. | 09:50 |
Rommel | So right now I have eth1.3 and eth1.4 defined, each with an IP in their own 172.16.3.0/24 or 172.16.4.0/24 subnet. But I want to have just the single subnet 172.16.0.0/16, with a single eth1 interface with an IP of 172.16.1.1, which servers in all VLANs can use as their gateway. | 09:53 |
Rommel | Seems like this is not the common way of doing things, but I'd much prefer it. | 09:54 |
Moobyfr_ | Rommel: nonsense | 10:07 |
Moobyfr_ | how can the kernel know which gw to use ? | 10:07 |
Moobyfr_ | (and the mac associated ) | 10:08 |
Rommel | Yeah, I suppose my thinking was that the server would just pass the traffic back out the interface, and the switch would then have to do something like, based on the original MAC address, figure out which VLAN the traffic needs to go to. | 10:16 |
Rommel | But it won't work. | 10:16 |
Pupeno | This command seems to work fine when I run it by hand but generates a "/bin/sh: Syntax error: redirection unexpected" when I run it in cron, any ideas why: RAILS_ENV=production nice --adjustment=19 rake dnsk9:send_all_reports > /dev/null 2> >(grep -v default_executable) | 10:50 |
blahdeblah | Pupeno: You are trying to redirect standard output twice in one command - you can't do that | 11:39 |
blahdeblah | Pupeno: Are you trying to grep through standard error for "default_executable"? If so, i think you want this instead: RAILS_ENV=production nice --adjustment=19 rake dnsk9:send_all_reports 2>&1 >/dev/null | grep -v default_executable | 11:40 |
blahdeblah | You have to redirect standard error to standard output first, then redirect the original standard out to null. | 11:40 |
blahdeblah | Then you need a pipe rather than >(grep ...) | 11:40 |
blahdeblah | Hope that helps | 11:40 |
amero | when blocking inbound access to a port, should i use do it at input or forward chain in iptables? | 11:42 |
amero | -use | 11:42 |
Rommel | INPUT chain for traffic inbound to the server itself. FORWARD for both inbound and outbound traffic to/from a device behind the server itself (the one running IPTables) | 11:52 |
incorrect | is there a server version for ubuntu one file system? | 12:11 |
miceiken | I seem to have some issues with getting mysql-server-5.1 set up at my fresh 11.04 install | 13:50 |
miceiken | I installed it with apt-get and now it's been stuck on "Setting up mysql-server-5.1 (5.1.54-1ubuntu4) ..." for 5 minutes. | 13:50 |
kellnola | ya'll, I have a bizarre networking issue. I'm stumped. A server I just installed, which is simply a VM host, cannot initiate any outbound traffic. The VM's running on top of it work fine (!?) I can ssh into it, etc., but I cannot even ping any other host on the subnet. There is no firewall, no apparmor, nothing like that. The network settings are correct. I'm a little stumped here ... | 13:51 |
kellnola | everything was fine before I changed its ip and installed it | 13:51 |
kellnola | any network activity errors out (from viewing strace output) with EAGAIN | 13:52 |
aBs0lut30 | kell: you checked an ifconfig to see if the host still has its IP? | 13:52 |
kellnola | it does | 13:52 |
kellnola | I can ssh into it, ping it, etc. | 13:53 |
aBs0lut30 | so can connect in, but not back out? | 13:53 |
kellnola | but once I'm logged in, I can't do anything | 13:53 |
kellnola | aBs0lut30, yes | 13:53 |
aBs0lut30 | WOW... thats a good one alright, bonded nics by any chance? | 13:53 |
kellnola | nope, very simple setup | 13:53 |
kellnola | the VM's work fine, wtf | 13:53 |
aBs0lut30 | what VM you using? | 13:54 |
kellnola | one interface | 13:54 |
kellnola | virtualbox | 13:54 |
aBs0lut30 | humm... tried pinging something on the local lan? | 13:54 |
kellnola | yeah, no go. can't ping anything or otherwise initiate any sort of network connection | 13:55 |
aBs0lut30 | humm... let me think about that one for a second... | 13:55 |
aBs0lut30 | doubt it will make a difference, but you bounced the interface by any chance? | 13:56 |
aBs0lut30 | might be worth a try... | 13:56 |
kellnola | unfortunately I can't unless I'm sitting in front of it .. it's in production at a clients site. I'd like to just reboot it, but the VM's won't startup correctly unless I log in and start them manually. (my bad) | 13:58 |
aBs0lut30 | ahhhh | 13:58 |
kellnola | I'm horrified to do anything with it as a result | 13:58 |
aBs0lut30 | umm, ok, when you ping something local, whats the return? dest net unreachable, host not found, etc | 13:59 |
kellnola | well, if I strace a ping, I get an EAGAIN error from the kernel | 13:59 |
kellnola | which tells me the kernel is blocking, but not why | 14:01 |
aBs0lut30 | OHHHH, wow... anything more from dmesg on the network side? | 14:01 |
kellnola | nope, nothing. dmesg indicates all is well with the interface | 14:01 |
kellnola | and the VM's running on top of it work fine! (?!?!?!) | 14:02 |
kellnola | I first was pursuing "lack of resources" but I backed out of my limits.conf and sysctl.conf and still no go. | 14:03 |
aBs0lut30 | ok, try pinging the loopback | 14:04 |
kellnola | yeah that's fine | 14:05 |
kellnola | but I cannot ping the VM's running on this very machine | 14:05 |
aBs0lut30 | k, and pinging its local ip(the real Nic's ip) well, not sure how VB works(never used it) but that wouldnt supprise me that much... | 14:06 |
kellnola | oh, yeah I can ping the interface's 10.x ip | 14:06 |
kellnola | ip is working locally, then ... | 14:06 |
aBs0lut30 | just for fun, add a second ip to your nic and see if it makes a diff | 14:07 |
kellnola | I wonder if this has something to do with zentyal | 14:08 |
aBs0lut30 | ohhh, had never heard of that, and now you made me sad :( the linux equiv of SBS... *sniffel,sniffel* | 14:09 |
kellnola | it's an ease of use interface for servers which we deploy so our clients can easily add users and whatnot | 14:09 |
aBs0lut30 | so a service? | 14:09 |
kellnola | yeah, but it kind of takes over the whole system, and puts all the config files in postgres | 14:09 |
kellnola | I dont usually have any probs with it | 14:10 |
aBs0lut30 | ahh, well its a possibility... dpending on how deeply it digs in... | 14:10 |
kellnola | oh it digs in deeply | 14:10 |
kellnola | so I'm suspecting a bug there | 14:10 |
aBs0lut30 | very possible... | 14:11 |
kellnola | but it's logs are pretty thorough in my experience and there's nothing there either | 14:11 |
kellnola | at this point I just want to confirm I am not an incompetent idiot :) | 14:12 |
aBs0lut30 | nah... and even if it is something you did, dont feel bad, even the best of us flubs up from time to time, hell I blew away a whole raid array the other day, 2TB of data... *poof* gone | 14:13 |
kellnola | 'cuz I am new to the ubuntu way of doing things, on server at least. apparmor really threw me for a loop at first | 14:13 |
aBs0lut30 | which version are you running? | 14:13 |
aBs0lut30 | 11.04? | 14:13 |
kellnola | aBs0lut30, I've done that as well :/ | 14:13 |
kellnola | 10.04LTS | 14:13 |
aBs0lut30 | k... was playing with 11.04 the other day and am NOT impressed... | 14:14 |
kellnola | I'm not even considering it at this point. I need my computers to WORK | 14:14 |
aBs0lut30 | well... like i said, might be worth throwing a second ip on the nic and see if you can get traffic out | 14:14 |
kellnola | yeah I could try that. would not be disruptive | 14:14 |
kellnola | but I can't try anything possibly disruptive with the box in production | 14:15 |
aBs0lut30 | yup, and if that works, it could be that your "tick" of a front end has still got some out of date config data in there somewhere... | 14:15 |
aBs0lut30 | completely understand... but yeah, should be pretty safe just adding another nic... | 14:16 |
aBs0lut30 | and just in case, the box by any chance have a remote mgmt card? | 14:16 |
kellnola | I wish | 14:16 |
aBs0lut30 | ehhh... sux | 14:16 |
kellnola | only Dell's have those ... or is there something else? | 14:17 |
kellnola | I looked into that but could not find anything | 14:17 |
aBs0lut30 | well, now days most servers and some higher end desktops have it as an option... I know HP has something(never used it) even intel has a generic one for their mobo's (not very good,but still gets you a console when you need it.. :) | 14:18 |
kellnola | yeah those things are lifesavers for remote work | 14:18 |
kellnola | in my last job every server had one (all Dells) but we really didn't need to use them | 14:18 |
aBs0lut30 | no kidding! and the intel ones are REALLY cheap, like 60bux | 14:18 |
kellnola | is it a card I can put into any server? | 14:19 |
kellnola | Dell has some special rigamarole going on | 14:19 |
aBs0lut30 | I made a point to have them in every production box, I am a one man shop so never know when I am going to need to rescue something from anywhere... yeah, and to get anything useful you have to have that | 14:19 |
aBs0lut30 | but no, has to be a supported intel mobo | 14:20 |
kellnola | yeah I don't think our little lenovo's support that | 14:20 |
aBs0lut30 | that said, one of the VNC software companies makes the next best thing... its an IPKVM adapter, just hook it to a kvm, or directly to the console and BOOM remote control :) | 14:21 |
kellnola | I need to look into that shit more | 14:21 |
kellnola | I am used to a server room type environment this crap is new to m | 14:22 |
kellnola | w | 14:22 |
kellnola | me | 14:22 |
aBs0lut30 | I hear ya, I actually just went the other way, out of the clients office back into the server room | 14:22 |
kellnola | where I used to work everything was incredibly restricted and stable | 14:22 |
kellnola | and now I have all these wild wild west clients | 14:23 |
kellnola | admin's dream, but it was kind of boring | 14:23 |
aBs0lut30 | ugh, remember those days | 14:23 |
kellnola | well, the clincher was this: in such a stable environment, you would think the admins would devote their time to bettering the system. instead, the managers filled up our time with chores and idiotic tasks, and forced us to use software that was impossible to automate | 14:25 |
kellnola | but it was nice adminning 250 RHEL desktops | 14:25 |
aBs0lut30 | ahhhh yes, the big corp enviroment... very cool... | 14:25 |
kellnola | aren't too many places that do that | 14:26 |
kellnola | in the US anyway | 14:26 |
aBs0lut30 | no kidding... | 14:26 |
aBs0lut30 | whish I could get away with that... | 14:26 |
kellnola | to tell the truth i LIKE desktop work, just not windows desktop work :) | 14:26 |
aBs0lut30 | hahaha | 14:27 |
kellnola | unix desktop stuff is very interesting | 14:27 |
kellnola | we want ot push ubuntu desktops to some of our more "broke" clients | 14:29 |
kellnola | with some of them I'm like wtf do you need windows for? | 14:30 |
aBs0lut30 | hah, yeah... generally the answer to that is NOTHING unfortunately for me, we use a web based for our core LOB and its IE only... | 14:30 |
kellnola | so, how can we push linux here? I really don't see a need ... worst comes to worst, crossover Office will them run MS Office on their desktops | 14:32 |
aBs0lut30 | and based on how shitty the new versions of office are, probably run better than the real thing | 14:32 |
kellnola | we are moving to an SLA based structure and we are considering a discount for linux desktops, since they would take almost none of our time | 14:33 |
aBs0lut30 | thats actually a really cool way to push it... | 14:33 |
kellnola | we have a lot of non-profit clients that could benefit if they would just use it | 14:34 |
kellnola | oh god the shit with profiles and windows is just ridiculous | 14:34 |
aBs0lut30 | no kidding... with all the community projects and distros out there, I am really supprised someone has not sat down and come as close as possible to making a windoze replacement distro, mock up the UI as close as you can, and preload with wine for the stuff they have to run... would go over well I imagine | 14:35 |
kellnola | the whole thing is so unnecessarily tedious and painful | 14:35 |
kellnola | I haven't dealt with MS in 10 years and now that I am again I see they haven't progressed at all, aside from changing the location of the profile with every release ... /home has been the same since 1970 | 14:37 |
aBs0lut30 | ROFL | 14:37 |
aBs0lut30 | yup | 14:37 |
aBs0lut30 | ohhh and the new user account control stuff is just SO MUCH FUN! | 14:38 |
kellnola | we had to pass on a juicy client recently because none of us are acquainted with the "advanced" MS stuff (Exchange fail over and whatnot) this shit is so easy in UNIX | 14:40 |
kellnola | god why do people want to even use outlook | 14:41 |
aBs0lut30 | hey, dont be knocking outlook now ;) love me some outlook, and I have to say, until they come up with a version of postfix that can do push email to my phone I am hanging on to my exchange ;) | 14:42 |
kellnola | aBs0lut30, actually, zimbra can do that just fine. It's a linux based exchange replacement | 14:43 |
kellnola | it works with outlook | 14:43 |
aBs0lut30 | hate to say it, but I have used zimbra in the past, and would rather be subjected to the worst tortures that china/japan could come up with before I went back to that... | 14:44 |
kellnola | LOL we are OK with it | 14:44 |
kellnola | maybe at some point google will come up to speed. I think they will | 14:45 |
aBs0lut30 | I will say its been a while, back before whoever took it over (saw the other day but cant remember) and it was just aweful! dont think a week went by where I was not doing something stupid to it either because our users would send a message to 500 people at once or the store would just too big... | 14:45 |
aBs0lut30 | now that would be good! | 14:46 |
kellnola | because I think google has the interface down, they just need some more features worked in | 14:46 |
kellnola | outlooks interface is way too complicated | 14:47 |
kellnola | for average users | 14:47 |
aBs0lut30 | yeah... one thing I would love to see, and they are the ones to do it, is a push away from the stupid x86/pc arch... its soooooo stupid that we have multi ghz cpu's that are timesliced... | 14:47 |
aBs0lut30 | you got a good point there... | 14:47 |
kellnola | evolution is a much better client, it's just in search of a good backend | 14:48 |
kellnola | yeah, SUN was the shit. I miss solaris | 14:48 |
aBs0lut30 | this is going to sound REALLY sad, but I have been working with linux since around 2000, and have actually never setup that, or any other email client on a linux box... | 14:48 |
aBs0lut30 | ohhh yeah, love some sunSparc :) | 14:49 |
kellnola | it's like outlook , but much simpler. not so many menus and garbage | 14:49 |
miceiken | Is there any way to remove ALL packages, including config files? I just want openssh-server left | 14:49 |
kellnola | MS started using this collapsing menu crap with what, Office 2003? what does that really mean? your menus are too complicated | 14:50 |
aBs0lut30 | haha, yup... really hate that feature too... you seen outlook/office 2010?? | 14:51 |
kellnola | oh god | 14:51 |
aBs0lut30 | haha, I take that as a yes | 14:51 |
kellnola | when I first saw that, I was like, where the FUCK is everything? | 14:51 |
aBs0lut30 | I know, I actually had one of my girls start to cry a little cause she couldnt figure out how to do anything... | 14:53 |
aBs0lut30 | they really need to get their shit together or get the hell out of the way... | 14:54 |
aBs0lut30 | and intel too for that matter | 14:54 |
kellnola | yeah but ubuntu is doing that crap too now. they get away with it because their user base is mostly home desktops. If they had organizations using it on desktop they would be more wary of drastically changing the user interface | 14:57 |
aBs0lut30 | tell me about it... | 14:57 |
kellnola | unity looks like a disaster to me so far. everyone seems to hate it | 14:57 |
* kellnola hasn't used untiy yet | 14:58 | |
aBs0lut30 | yeah, havent even seen that yet... | 14:58 |
kellnola | I think their devs are mostly young and a little reckless | 14:58 |
kellnola | the fact that unity requires a 3D card is totally insane | 15:00 |
aBs0lut30 | you have got to be kidding me!!! well at least the rumors about MS developing a linux system makes sense ;) HAH | 15:00 |
kellnola | it is really meant for touch screens. I can see the use there. But for a workstation? hell no. | 15:02 |
aBs0lut30 | yeah, thats just stupid | 15:03 |
kellnola | yeah. a geologist doing seismic interpretation has no use of dragging his/her finger around the screen | 15:04 |
kellnola | and that sort of thing is the traditional use of unix desktops | 15:05 |
aBs0lut30 | but but!!!! tablets are the wave of the future! havent you heard, we all need touchscreens!!!! RIGHT NOW! | 15:06 |
kellnola | lawyers love them :) | 15:06 |
aBs0lut30 | ohh I bet they do, now for doctors and nurses I can see where it could be VERY useful... | 15:06 |
kellnola | we are trying to come up with a radius solution for ipads with our linux servers | 15:06 |
kellnola | and the ipad wireless crap | 15:07 |
aBs0lut30 | ehh, well have fun with that... | 15:07 |
kellnola | oh my I WILL :) | 15:08 |
aBs0lut30 | well, I get to recompile my kernel AGAIN! happy happy joy joy | 15:10 |
kellnola | such nostalgia. I haven't done a kernel by hand in many years | 15:10 |
uvirtbot | New bug: #779058 in mysql-5.1 (main) "package mysql-server-5.1 (not installed) failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/779058 | 15:11 |
aBs0lut30 | well I really get pissed every time I have to, but I am trying to get SCST and DRBD working on a box, and the damn out of the box kernel is throwing all sorts of DRBD errors so am having to do it the hard way :( | 15:13 |
aBs0lut30 | anyway, time for a smoke, biab | 15:13 |
aBs0lut30 | good lord, building a kernel takes WAY to long these days... | 15:25 |
aBs0lut30 | too many built in drivers! | 15:25 |
cloakable | Strip out the unneeded ones then :P | 15:26 |
aBs0lut30 | I would, but I dont think i would live long enough to go through that whole list ;) | 15:27 |
AdamDV | I'm looking to recieve/send mail for one user, whats the easiest way to do it? I was going to have the user be a system account (he has a shell anyway) and have the server run a dovecot+postfix instance. | 15:42 |
=== squishy is now known as SquishyNotHere | ||
zertyu | hi | 16:12 |
zertyu | i got very basic question | 16:12 |
zertyu | i got a group called devs and one user called James | 16:12 |
zertyu | how to place user James to group devs ? | 16:13 |
miceiken | Is anyone else having problems with installing mysql-server? | 16:24 |
zertyu | yes | 16:25 |
zertyu | oracle too | 16:25 |
uvirtbot | New bug: #779090 in samba (main) "package samba 2:3.5.8~dfsg-1ubuntu2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 128" [Undecided,New] https://launchpad.net/bugs/779090 | 16:27 |
miceiken | zertyu: did you solve it some how? | 16:39 |
zertyu | solve what ? | 16:40 |
miceiken | zertyu: mysql install problems | 16:42 |
aBs0lut30 | FINALLY!!!!!! scst and drbd playing nice together | 16:58 |
andygraybeal | drbd is clustering? | 17:00 |
aBs0lut30 | well, block replication(generally used in a cluster...) | 17:00 |
andygraybeal | aah okay, that's what i'm thinking i guess.. i didn't know that | 17:00 |
andygraybeal | it all sounds so scary to me | 17:01 |
andygraybeal | :) | 17:01 |
aBs0lut30 | lol, well until your REALLY used to it and experienced with it, it is... 2x more so when your playing with real live production data | 17:01 |
aBs0lut30 | without a current backup... | 17:01 |
andygraybeal | :) | 17:02 |
aBs0lut30 | but its really cool, and VERY useful | 17:02 |
aBs0lut30 | nothing like to live up to date copies of your data | 17:02 |
andygraybeal | are you using it to cluster? | 17:02 |
aBs0lut30 | i am... its running a SMB share for user data and iSCSI targets for vmware backend storage | 17:03 |
aBs0lut30 | actually in the process of rebuilding it now to get off of the old Openfiler and IETD builds... | 17:03 |
andygraybeal | ah you used openfiler (i don't know what IETD is) | 17:04 |
aBs0lut30 | well I am using openfiler for the next day or so, until I get the new cluster up and pull everything off of it... IETD is the iSCSI target | 17:04 |
andygraybeal | interesting | 17:05 |
aBs0lut30 | yup, its a pain to setup, but once its up and running, worth its weight in gold | 17:05 |
andygraybeal | maybe one day, i'll get there :) | 17:07 |
andygraybeal | there is a lot of talk about clustering with the LTSP (linux terminal server project) and i would like to get to that point | 17:07 |
aBs0lut30 | humm... never messed with that any... | 17:08 |
andygraybeal | it's a cheap way to run clients w/o a lot of overhead or $$ | 17:08 |
andygraybeal | i guess terminal servers go hand-in-hand with clusters | 17:09 |
aBs0lut30 | whats the client interface? VM, VNC, RDP??? | 17:09 |
andygraybeal | it's x forwarding i believe | 17:09 |
andygraybeal | the guys in #ltsp know way more than i do | 17:09 |
andygraybeal | it's all automatic | 17:10 |
andygraybeal | i don't even have to think about it | 17:10 |
aBs0lut30 | ahhh... | 17:10 |
andygraybeal | pxe boots like a 10MB image.. then x forwarding takes over | 17:10 |
aBs0lut30 | wow, not bad... | 17:11 |
andygraybeal | it might nt be x forwarding, but something like this | 17:11 |
andygraybeal | yea, the guys that really know their stuff,.. they do what you did with drbd | 17:11 |
aBs0lut30 | wonder how good the screen refresh is... could make a cool backend for like some in-wall home automation and control stuff... | 17:11 |
andygraybeal | that's the only reason i remotely knew what it was (not exactly obviously) | 17:11 |
andygraybeal | yea, yuo can run things as fat clients and thin clients.. so like if you had video.. you'd prolly want the video to run on a fat client; if you were just web browsing or something basic like word processing.. thin client is fine. | 17:12 |
andygraybeal | i don't really know the details. | 17:12 |
aBs0lut30 | very cool, I will have to check that out, cause I was just thinking about trying to come up with something like that to push automation/media house wide :) | 17:13 |
andygraybeal | i'm on all thin clients right now and it takes to many resources from the server. i bought all my clients reallycheap at an auction and they have atleast 1gb memory in 'em. so i'm switching them over to fat clients asap | 17:13 |
aBs0lut30 | cool | 17:14 |
andygraybeal | yea, the guysin #ltsp are awesome to .. so damn patient | 17:14 |
andygraybeal | good for people like me that have no clue | 17:14 |
aBs0lut30 | well thats good, not something you tend to find on irc... | 17:17 |
andygraybeal | irc keeps getting better :) i've been on it for abuot 15+ years now | 17:18 |
Jasonn | Is it worth it to pay $6/mo more and get 16GB ram instead of 12 ?? | 18:17 |
ScottK | Depends on what you're doing. | 18:17 |
ScottK | If the extra RAM will help in your use case, it sounds cheap. | 18:18 |
Jasonn | Hmm | 18:19 |
Jasonn | Its for a server | 18:19 |
Jasonn | not for my desktop | 18:19 |
Jasonn | ScottK: Will it improve the quality of the performance if I dont use that much? | 18:20 |
ScottK | No. If you aren't using all the ram, then more just sits there and doesn't help. | 18:21 |
ScottK | So you need to know your use case. | 18:21 |
andygraybeal | i bet yuo end up using it :) | 18:43 |
aBs0lut30 | for 6 bux, HELL yes its worth it... no such thing as too much ram | 18:43 |
andygraybeal | :) | 18:43 |
webistic | I need help with ftp from server to server using the terminal | 18:45 |
aBs0lut30 | such as... | 18:47 |
andygraybeal | webistic, if you can help it, scp is a better choice | 18:49 |
andygraybeal | but if yuo can't ftp works,but is insecure | 18:49 |
cloakable | Or sftp | 18:53 |
aBs0lut30 | and a partridge in a pear tree..... | 18:54 |
andygraybeal | omg shuttup | 18:54 |
aBs0lut30 | >:) | 18:54 |
andygraybeal | i hate that song | 18:54 |
webistic | cant really help it, sorry :) though i'm all about ssh when ever I can | 19:03 |
webistic | so what to i type to make the magic happen? something like.. cp my_site/ ftp://login:pass:server2.com/sites/ ? | 19:05 |
aBs0lut30 | got ftp on server1? | 19:06 |
webistic | yes | 19:09 |
aBs0lut30 | might want to try a FXP client... lets you run server to server ftp's from a client... probably be a bit easier... IMHO | 19:10 |
webistic | I got another tip about ncftp, same thing though, right? | 19:12 |
aBs0lut30 | not sure... | 19:12 |
webistic | thanks :) | 19:13 |
webistic | could not find FXP client in repo | 19:13 |
aBs0lut30 | well, there are several that support it... cant remember the name though... I know for windows its WinFXP... but think the linux ones are named funny... | 19:14 |
cloakable | webistic: apt-cache search fxp | 19:16 |
cloakable | :P | 19:16 |
Jeffsi | hey guys, i am unable to boot to cd while the hard drive is connected so i cant get anything installed, any ideas why this may be happening? | 19:39 |
uvirtbot | New bug: #779157 in samba (main) "package samba 2:3.5.8~dfsg-1ubuntu2.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/779157 | 19:42 |
andygraybeal | Jeffsi, is it IDE (PATA) or SATA ? -- if it's ide, did you have a look at the jumpers... master / slave / single? | 19:43 |
andygraybeal | also make sure they are enabled in the bios | 19:43 |
cloakable | cable select | 19:43 |
miceiken | Is anyone else having problems with installing mysql-server? | 19:44 |
andygraybeal | also what cloakable said... i forgot that one... | 19:45 |
julian_c | Which version of mysql-server? | 19:45 |
Jeffsi | andygraybeal: they are ide and in the bios i only see 1 at a time never both, i also looked at the jumpers but i may have set them wrong | 19:46 |
cloakable | cable select is rarely a good idea >.> | 19:46 |
andygraybeal | Jeffsi, take a closer look at the jumpers, hopefully the drive and the cdrom have some type of documentation | 19:46 |
Jeffsi | they are on 2 diferent ide cables and both set as master | 19:47 |
miceiken | julian_c: mysql-server-5.1 with apt-get | 19:47 |
andygraybeal | set them to single if you can; also make sure both ide's are enabled in your bios. | 19:47 |
andygraybeal | or put them on the same ide .. set as master and slave... try all the configurations yuo can :) | 19:48 |
andygraybeal | are you sure they both work? | 19:48 |
Jeffsi | yup, they both work great on other computers and if only 1 is connected | 19:48 |
andygraybeal | is it clear how to set them as master and slave.. and then put them on the same ide ? | 19:49 |
andygraybeal | not that this is the best solution, but it is one way to do it | 19:49 |
andygraybeal | and if you haven't tried it yet, it's worth a shot | 19:49 |
andygraybeal | maybe one of the ide's on your board is shot? or the cable? | 19:50 |
julian_c | miceiken: I can't say that I've had difficulty installing mysql-server. Which release of Ubuntu, and what specific problems are you having? | 19:50 |
miceiken | julian_c: 11.04, and it's just stuck at "Setting up mysql-server-5.1 (5.1.54-1ubuntu4) ...", I don't know what the underlying cause is. I thought that if I removed all traces of it completly and reinstalled it would work, but I don't know. | 19:51 |
Jeffsi | ill try to put them both on 1 ide but i am keeping them on the same ide cables and slots and alone they work great but together its a no go | 19:52 |
julian_c | Did you purge the package (and, if possible/feasible, its dependencies), or simply remove? | 19:52 |
Jeffsi | andygraybeal: should i set the cd drive as master or HDD? | 19:53 |
andygraybeal | hdd | 19:53 |
miceiken | julian_c: remove, but sometimes it says it's not install | 19:53 |
miceiken | ed | 19:53 |
miceiken | Is this what you want me to do? "sudo apt-get --purge remove mysql-server" | 19:54 |
julian_c | 'apt-get purge <packages>' | 19:55 |
julian_c | Hopefully, that will effectively clean up your previous installation of the package (including configuration files). | 19:55 |
miceiken | gonna try to install it now | 19:56 |
miceiken | nope, stuck again | 19:56 |
miceiken | is there anything I can do to diagnose it? | 19:56 |
Jeffsi | andygraybeal: do you think its really worth trying because the ide cable is too small and im using a cd drive in another computer and want to avoid taking it out if possible | 19:56 |
miceiken | An error occurred while setting the password for the MySQL administrative user. This may have happened because the account already has a password, or because of a communication problem with the MySQL server. | 19:57 |
miceiken | thats while installing | 19:57 |
miceiken | press enter, and it's in a deadlock | 19:57 |
andygraybeal | haha Jeffsi, don't be lazy and ask questions in irc at the same time :P in all honesty.. i don't care. | 19:57 |
miceiken | julian_c: http://pastebin.com/0r4CTPu8 | 19:57 |
andygraybeal | Jeffsi, get your screw driver out, and fix the computer :) | 19:58 |
Jeffsi | lol alright, ill pull it out then | 19:58 |
miceiken | I think it's waiting for 9779 - start mysql to finish | 19:58 |
andygraybeal | how can you eff with the jumpers while the damn thing is still in the case.. you must have a nice case | 19:58 |
julian_c | Looks like it... | 19:59 |
julian_c | Somehow, apt-get is running twice. | 19:59 |
miceiken | julian_c: because i'm not root and I did sudo? | 20:00 |
miceiken | want me to kill one of them? | 20:00 |
Jeffsi | the case sucks, lol its not easy, i almost went to grab a small mirror its so hard to see and get back there | 20:00 |
andygraybeal | pull it outta there, you'll thank me :) | 20:01 |
julian_c | Recommendation -- kill all of the running processes related to starting and installing mysql; then, purge the mysql-server package. | 20:01 |
Jeffsi | omg soo much dust in here | 20:01 |
Jeffsi | alright so hdd=master and cd= slave, correct? | 20:03 |
miceiken | miceiken@celeste:~$ sudo apt-get purge mysql-* | 20:04 |
miceiken | E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. | 20:04 |
miceiken | julian_c: if i try to do that it just tries to set up mysql-server again | 20:04 |
andygraybeal | Jeffsi, yea | 20:05 |
julian_c | Had mysql been installed before you started getting errors? | 20:05 |
miceiken | julian_c: yes installed but not working | 20:05 |
miceiken | it was first installed through the boot cd as lamp-server | 20:05 |
andygraybeal | binaryhat, is your hat on or off? i can't tell ;P | 20:06 |
Jeffsi | lol | 20:07 |
Jeffsi | omg, andygraybeal, i think its working! | 20:07 |
andygraybeal | awesome; i hope. | 20:08 |
julian_c | miceiken: What about trying to remove </var/lib/mysql> (or moving it elsewhere temporarily, and then running 'dpkg --configure -a'? | 20:13 |
miceiken | I managed to fix it now julian_c, I killed the process "start mysql" and it said it jsut failed to install it then I ran purge | 20:14 |
julian_c | Ah. Good. | 20:14 |
miceiken | now I just apt-get install again? | 20:14 |
julian_c | Yes. | 20:15 |
Jeffsi | andygraybeal: if i wanted to do backups/a print server, would you recomend dsl or ubuntu server, its a really old box btw | 20:16 |
andygraybeal | damn small linux? .. umm i don't know; i say use ubuntu it's easy and apt-get works :) | 20:17 |
miceiken | julian_c: now I still get that error: An error occurred while setting the password for the MySQL administrative user. This may have happened because the account already has a password, or because of a communication problem with the MySQL server. | 20:18 |
miceiken | http://pastebin.com/cGHFbLEx -- there I was prompted that it could not set password, after that it's just stuck | 20:19 |
Jeffsi | andygraybeal: i dont really know the commands though and thats my drawback | 20:21 |
julian_c | Any chance that /tmp isn't set +t (permissions)? | 20:21 |
miceiken | how do I check | 20:21 |
miceiken | would I be able to install apache etc then? because I am | 20:22 |
andygraybeal | Jeffsi, well, ubuntu has great documentation, and a lot of people use it. i'm bias :) it's really up to you -- i'm not very smart, and finding answers on google is easy -- i read the server guide over and over.. and obviously this an other channels are very helpful | 20:22 |
andygraybeal | running apache and cups is a great way to run a print server; what do you have in mind for backup software? | 20:23 |
julian_c | miceiken: Run 'ls -ld /tmp' and look at the permissions. Should be 1777 (drwxrwxrwt). | 20:24 |
miceiken | miceiken@celeste:~$ ls -ld /tmp | 20:25 |
miceiken | drwxrwxrwt 5 root root 4096 2011-05-07 21:24 /tmp | 20:25 |
julian_c | OK... so that's not the problem... | 20:26 |
andygraybeal | Jeffsi, i don't know - i run bsd for firewall and ubuntu for everything else :) i do like solaris (openindiana) too | 20:26 |
julian_c | Seems like something was left over after purging mysql-server. | 20:26 |
miceiken | dpkg: warning: while removing mysql-common, directory '/etc/mysql' not empty so not removed. | 20:27 |
Jeffsi | andygraybeal: have you used dsl at all? | 20:28 |
andygraybeal | i haven't | 20:29 |
Jeffsi | hmm, well its telling me fattel error, cant open disk drive | 20:29 |
julian_c | miceiken: As long as you don't need any of the configuration, it should be safe to remove </etc/mysql> and its contents. Also, </var/lib/mysql> is gone after purging, right? | 20:30 |
miceiken | let me check | 20:30 |
miceiken | miceiken@celeste:~$ sudo ls /var/lib/mysql/ | 20:30 |
miceiken | debian-5.1.flag ibdata1 ib_logfile0 ib_logfile1 mysql mysql_upgrade_info | 20:30 |
miceiken | had to sudo because I got permission denied | 20:31 |
miceiken | btw, can I list users somehow | 20:31 |
andygraybeal | Jeffsi, don't know what to tell yuo, try another media? | 20:31 |
miceiken | sudo users :P | 20:31 |
andygraybeal | Jeffsi, burn another cd.. just to do it? | 20:31 |
Jeffsi | i dont think that will help because i already have it loaded up as a live cd | 20:32 |
julian_c | All members of the 'admin' group can use sudo to get root privileges. | 20:32 |
miceiken | well julian_c, now what? | 20:33 |
miceiken | it's not empty as you can see | 20:33 |
julian_c | I'd move </var/lib/mysql> out of the way, and then try installing mysql-server again. The installation script will create the necessary directory, and populate the database. | 20:34 |
miceiken | can I just delete it? | 20:35 |
julian_c | Sure. | 20:35 |
miceiken | wtf | 20:37 |
miceiken | still not | 20:37 |
miceiken | julian_c: now it works :D | 20:38 |
julian_c | And it's all running properly? | 20:39 |
miceiken | seems like it | 20:39 |
julian_c | Installing Apache should be much easier... | 20:42 |
miceiken | julian_c: yeah it's all good now | 20:42 |
andygraybeal | jeffsi; verify that the iso you used to burn is correct... then verify the actual cd? | 20:49 |
Jeffsi | andygraybeal: alright, 1 moment | 20:49 |
AdamDV | I just setup a mail server stack w/ postfix and dovecot via the dovecot-postfix package in the ubuntu repos. Trying to connect to my account w/ my iPhone, I'm getting an error about the server not supporting SSL. Logs show nothing abnormal. Any ideas? | 20:51 |
cloakable | AdamDV: set up SSL :P | 20:53 |
AdamDV | doesn't the package already set it up? | 20:53 |
cloakable | Nope | 20:54 |
AdamDV | -__- | 20:54 |
AdamDV | how do i go about setting it up | 20:54 |
cloakable | AdamDV: http://www.linuxmail.info/postfix-dovecot-ssl/ | 20:55 |
cloakable | About 1 seconds worth of goggling :P | 20:55 |
AdamDV | can I use dovecots certs for postfix? | 20:56 |
AdamDV | (aka the pem files that would be generated by a `openssl req -new -x509 -days 365 -nodes -out /etc/ssl/certs/dovecot.pem -keyout /etc/ssl/private/dovecot.pemĀ `) | 20:56 |
cloakable | Think so | 20:57 |
AdamDV | Thank you :) | 20:58 |
Jeffsi | andygraybeal: it seems fine | 20:58 |
AdamDV | cloakable: still not working D: | 21:03 |
axisys | can I have a PV a mirror of two disks ? if not can I have VG a mirror of two PVs then ? | 21:05 |
axisys | if none of them possible I guess I will create a software raid1 of the two disks and use LVM on top | 21:06 |
Jasonn | What are things I could do with a Ubuntu server? | 21:10 |
Jasonn | Like what programs can I install | 21:10 |
Jasonn | something that is REALLY cool | 21:11 |
axisys | Jasonn: LAMP | 21:12 |
Jasonn | what does that do, axisys | 21:12 |
axisys | Jasonn: http://lmgtfy.com/?q=ubuntu+server+lamp | 21:13 |
Pici | !lamp | 21:13 |
ubottu | LAMP is an acronym for Linux-Apache-MySQL-PHP. However, the term is often used for setups using alternative but different software, such as Perl or Python instead of PHP, and Postgres instead of MySQL. For help with setting up LAMP on Ubuntu, see https://help.ubuntu.com/community/ApacheMySQLPHP - See also the Server CD installation process (different in Edgy+) | 21:13 |
Jasonn | Hmm | 21:15 |
Jasonn | How much would I be looking at for a dedi server? | 21:15 |
axisys | Jasonn: please explain "How much" | 21:15 |
Jasonn | How much money would I be looking to pay for... | 21:16 |
axisys | Jasonn: hmm.. pay to whom? | 21:16 |
Jasonn | nvm. | 21:16 |
=== lifeless_ is now known as lifeless | ||
axisys | Jasonn: it is all opensource and free | 21:16 |
axisys | Jasonn: welcome to ubuntu :-) | 21:16 |
Jasonn | No, I mean to rent a dedi server | 21:16 |
axisys | Jasonn: don't know.. if you want to rent.. you could start with amazon cloud .. | 21:17 |
Jasonn | What is "The Cloud? | 21:17 |
axisys | Jasonn: they may have lamp pkg .. i do not know | 21:18 |
Jasonn | Ok | 21:18 |
Jasonn | thanks :) | 21:18 |
axisys | !cloud > Jasonn | 21:18 |
ubottu | Jasonn, please see my private message | 21:18 |
jmarsden | Jasonn: For a dedicated real physical server, you would pay anywhere from about $100/month to... well, several times that :) | 21:21 |
Jasonn | Oh | 21:21 |
Jasonn | :S | 21:21 |
jmarsden | But if you are new, try a virtual private server which can be much cheaper, for example at http://www.linode.com | 21:21 |
Jasonn | I have a VPS, and linode is definitely not one of the best hosts ;) | 21:22 |
miceiken | Everytime I upload something into public_html folder, I need to chmod it for it not to get forbidden, how do I prevent that? | 21:23 |
jmarsden | miceiken: How are you uploading? Are the permissions on the files 644 before the upload? | 21:23 |
miceiken | jmarsden: from ftp | 21:23 |
miceiken | idk what they are | 21:23 |
miceiken | :P | 21:23 |
miceiken | I just want everything to be visibl | 21:24 |
miceiken | e | 21:24 |
jmarsden | So, one way to prevent this is to set the permissions before you upload things :) | 21:24 |
miceiken | I tried chmod -R or+x public_htm | 21:24 |
miceiken | l | 21:24 |
axisys | miceiken: chmod -R o+rx public_html | 21:27 |
jmarsden | axisys: Making all files executable? Why would you want .html files to be executable? | 21:27 |
axisys | jmarsden: just fixing his typo.. lol | 21:28 |
axisys | jmarsden: you don't want that | 21:28 |
miceiken | axisys: thats what I did | 21:28 |
jmarsden | I think chmod -R a+r ~/public_html # is more likely to be useful here | 21:28 |
miceiken | but whenever I upload something new | 21:28 |
axisys | miceiken: ^ | 21:29 |
jmarsden | miceiken: So chmod a+r somethingnew # and then upload it... | 21:29 |
miceiken | jmarsden: still the same issue | 21:33 |
miceiken | http://miceiken.net/~miceiken/ircTest.png - I just uploaded that | 21:33 |
miceiken | didnt work | 21:33 |
jmarsden | miceiken: Can you use scp -p somethingnew you@yourserver.example.com:public_html/ # instead of using FTP? | 21:34 |
jmarsden | scp -p retains permissions, FTP... doesn't always do so. | 21:34 |
miceiken | jmarsden: idk, but I had it working before, on my old setup | 21:34 |
jmarsden | Then look at the old setup and see what is different there. or look at your notes from when you set it up :) | 21:35 |
miceiken | I have neither | 21:35 |
jmarsden | Lesson to learn: make notes on what you do to your servers, so you can refer to them later as needed :) | 21:35 |
axisys | miceiken: your ftp server is proftp? | 21:36 |
miceiken | vsftp | 21:36 |
miceiken | I used proftp before | 21:36 |
miceiken | maybe thats why | 21:36 |
axisys | miceiken: in proftp you need this | 21:37 |
axisys | Umask 022 022 | 21:37 |
axisys | looks for something similar in your ftp server setting | 21:37 |
axisys | s/looks/look/ | 21:38 |
Jasonn | How do I install CPAN modules? | 21:48 |
Jasonn | Can I do that from the repos?? | 21:48 |
RoyK | perl -e shell -MCPAN | 21:49 |
RoyK | or -m | 21:49 |
Jasonn | http://search.cpan.org/~adamk/DBD-SQLite/ | 21:50 |
Jasonn | I am trying to install that one | 21:50 |
Jasonn | I just run that one command and they are all installed?? | 21:50 |
Jasonn | RoyK: ! | 21:51 |
Jasonn | ^^ *** | 21:51 |
uvirtbot | Jasonn: Error: "^" is not a valid command. | 21:51 |
axisys | Jasonn: so you think you have DBD::SQLite missing ? | 21:53 |
Jasonn | yeash | 21:54 |
Jasonn | And a few more | 21:54 |
axisys | Jasonn: what makes you think that? | 21:54 |
Jasonn | I am installing a program and it tells me that they are missing | 21:54 |
axisys | Jasonn: gotcha.. apt-cache search dbd | grep sqlite is one way to install besides what RoyK suggested | 21:55 |
Jasonn | And that installs all of the CPAN modules? | 21:55 |
axisys | apt-cache search dbd | grep sqlite should match a lib pkg | 21:55 |
Defghanistan | Hello, I am trying to write a script that will do a mysqpdump that pipes to gzip. After the mysql dump has been gzipped I would like it to be scp'd over to a remote server. I have this much but dont know how to add in the scp part. Any help? mysqldump ---user admin --password=password mydatabase | gzip > /usr/local/mydatabase.gz | 21:55 |
axisys | Jasonn: like this libdbd-sqlite | 21:56 |
axisys | or even cpan DBD::SQLite another way | 21:56 |
Jasonn | axisys: I just type: cpan DBD... into the terminal? | 21:56 |
axisys | Jasonn: yes | 21:56 |
Jasonn | Ok :D | 21:56 |
axisys | Defghanistan: scp file remotehost: | 21:57 |
axisys | !scp > Defghanistan | 21:58 |
ubottu | Defghanistan, please see my private message | 21:58 |
axisys | Jasonn: sudo cpan DBD::SQLite, if you running as non-root | 21:59 |
Jasonn | Warning (usually harmless): 'YAML' not installed, will not store persistent state | 21:59 |
Jasonn | axisys: ^ | 22:00 |
axisys | Jasonn: you could try apt-get install libdbd-sqlite .. might be easier | 22:00 |
axisys | Jasonn: that is ok as well. | 22:00 |
Jasonn | Thing is, I also need like 4 more modules | 22:00 |
axisys | Jasonn: sudo cpan YAML | 22:00 |
Jasonn | Ok :D | 22:00 |
axisys | both cpan and apt-get should install the dependent pkgs as well .. | 22:01 |
axisys | Jasonn: you could ask #cpan for more help | 22:01 |
Jasonn | Ok | 22:01 |
Jasonn | Ok | 22:01 |
Jasonn | alos, what is cpan ?? | 22:01 |
axisys | Jasonn: http://lmgtfy.com/?q=cpan | 22:02 |
axisys | Jasonn: you suck at google :-) | 22:02 |
Jasonn | xD | 22:02 |
Jasonn | !google | axisys | 22:02 |
ubottu | axisys: While Google is useful for helpers, many newer users don't have the google-fu yet. Please don't tell people to "google it" when they ask a question. | 22:02 |
Jasonn | ;) | 22:02 |
=== unreal_ is now known as unreal | ||
axisys | Jasonn: you are getting free help here.. we all are busy .. this help is voluntary .. lets not abuse that ;-) | 22:03 |
Jasonn | xD | 22:04 |
Jasonn | !ot | axisys | 22:04 |
ubottu | axisys: #ubuntu is the Ubuntu support channel, for all Ubuntu-related support questions. Please use #ubuntu-offtopic for other topics (though our !guidelines apply there too). Thanks! | 22:04 |
Jasonn | axisys: What are the advantages of a dedi box, and how fast do you think I could use up 12GB of ramm? | 22:04 |
axisys | Jasonn: now that is for #ubuntu-offtopic ;-) .. | 22:05 |
Jasonn | xd | 22:06 |
Jasonn | But really, what are the advantages of a dedi box? | 22:06 |
soren | As opposed to what? | 22:06 |
Jasonn | VPS | 22:06 |
soren | Performance. | 22:07 |
soren | Access to virtualisation. | 22:07 |
Jasonn | Hmm | 22:07 |
soren | That pretty much sums it up. | 22:07 |
andygraybeal | i pay $50/mo for a KVM box | 22:15 |
andygraybeal | i make an image locally, upload it and boot it | 22:15 |
andygraybeal | then i can expand the resources as i need | 22:16 |
Jasonn | How do I make an sqlite database file | 22:23 |
Jasonn | ? | 22:23 |
jmarsden | Jasonn: man sqlite # and read the example there | 22:28 |
Defghanistan | Another question regarding mysql scripting: if I do a mysqldump that pipes to mysql on a remote server, can I use --all-databases and will it then create and populate those databases on the remote server? | 22:35 |
soren | andygraybeal: You can get real hardware for less than that. | 22:38 |
DAVdaBRAV | How can I shutdown Ubuntu safely without logging in? | 22:43 |
DAVdaBRAV | Perferably with the power button on the front of the case? | 22:44 |
soren | DAVdaBRAV: Make sure acpid is installed. That should do the trick. | 22:50 |
DAVdaBRAV | ah. Is there any trick to using it? or just apt-get and it should work from startup? | 22:50 |
soren | DAVdaBRAV: Just install it. | 22:54 |
soren | DAVdaBRAV: Should "Just Work[tm]" | 22:54 |
Macer | does bonding multiply speed? | 23:13 |
Macer | or is it just for network redundancy? | 23:13 |
qman__ | Macer, not of itself | 23:13 |
qman__ | it theoretically can sustain twice as much throughput | 23:13 |
qman__ | but chances are you have both plugged into the same switch | 23:13 |
qman__ | so said switch needs to be a good one to handle four saturated links (both bonded to both separate endpoints) | 23:14 |
Macer | wouldnt that only be a problem if the switch was handling a certain layer? | 23:15 |
Macer | i figured other than that all it does is provide the physical link | 23:15 |
qman__ | that's not how a switch works | 23:15 |
qman__ | think of a switch like a computer with a whole bunch of network cards | 23:15 |
Macer | ah i see. | 23:16 |
qman__ | a hub is simple physical connection | 23:16 |
Macer | so it has to process all the pkts going through it? | 23:16 |
qman__ | and a hub is one huge shared link | 23:16 |
qman__ | yes | 23:16 |
qman__ | and direct them to the correct ports | 23:16 |
qman__ | so consumer grade switches are not going to see any real gain with bonding | 23:16 |
qman__ | but midgrade to high end stuff will | 23:17 |
Macer | hm. well. i am guessing my run of the mill 24 port netgear gbit switch will not work? | 23:17 |
qman__ | $200-ish? probably a little, but not a full dual gigabit link | 23:17 |
qman__ | if you're using all 24, you won't see a big improvement | 23:18 |
Macer | well.. it was $200ish back when it was new | 23:18 |
qman__ | if you're only using ~8 or less ports, you will probably see a decent improvement | 23:18 |
Macer | in like 2006 :) | 23:18 |
Macer | i see | 23:18 |
Macer | thanks. i will look into it. i was just curious | 23:18 |
qman__ | you can always try it and run some tests | 23:19 |
qman__ | who knows, maybe they did make it fast enough to handle that | 23:19 |
qman__ | but cheap stuff generally isn't | 23:19 |
qman__ | but yeah, bonding is intended to double/triple/etc bandwidth | 23:20 |
qman__ | there's just more factors you have to consider | 23:20 |
Macer | http://www.newegg.com/Product/Product.aspx?Item=N82E16833122058 | 23:21 |
Macer | that is my switch right there | 23:21 |
qman__ | looks like it is up to the task | 23:22 |
qman__ | key part: Switching bandwidth: 48 gigabit per sec | 23:22 |
Macer | 48gbit | 23:22 |
qman__ | if it can actually do that, it's good | 23:22 |
Macer | yeah. that is quite a bit of speed considering it has 24 1gbit ports | 23:23 |
Macer | that doesnt seem to add up | 23:23 |
Macer | :) | 23:23 |
qman__ | I have one that's very similar, haven't tried bonding with it though | 23:23 |
qman__ | well, that's in ideal conditions | 23:23 |
Macer | you would think its throughput would be 24gbit | 23:23 |
qman__ | especially when you mix port rates, it tends to slow things down a lot | 23:23 |
Macer | considering that is the physical limitation | 23:24 |
qman__ | so you need to have more processing power than just the port combined totals | 23:24 |
Macer | ah i see | 23:24 |
qman__ | one that did have 24gbit would be underpowered for bonding | 23:24 |
qman__ | if you used all ports, at least | 23:24 |
Macer | well..i will slap a couple nics int some stuff and see what it can do | 23:24 |
Macer | see if i can max out the sata bus heh | 23:25 |
Macer | thanks for the info | 23:25 |
qman__ | yeah | 23:25 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!