/srv/irclogs.ubuntu.com/2010/04/24/#ubuntu-server.txt

Jeeves_Mosskonqrunner,  kk, as I said, I think it's something stupid00:00
konqrunnerJeeves_Moss: Check your main configuration (/etc/apache2/sites-available/default). Is the default server configured as a vhost as well?00:02
Jeeves_Mosskonqrunner, one sec.00:02
Jeeves_Mosskonqrunner, this is an example of the v-host Dear Madam or Sir:00:02
Jeeves_MossI would like to introduce myself as a candidate for the systems administrator position that is currently available within your organization.00:02
Jeeves_MossOver the last twelve years I have been involved in many sales and information technology functions, in both retail and customer support environments.  Recently I have been doing contract work for local clients in a Systems and Network administrator role.00:02
Jeeves_MossAccomplishments:00:02
Jeeves_MossAs the owner of Scotty Knows I.T., I managed many projects under contract ranging from small one person businesses up to multi-million dollar organizations.00:02
Jeeves_MossI have had to negotiate all levels of organizations, at sites of up to 1000 employees. i.e.: Vice Presidents, Site Services Managers (Environment, Maintenance, IT, HR, Accounting, Purchasing, Engineering).00:02
Jeeves_MossMy experience at all levels and sizes of organizations has given me a better understanding of time/mission critical installations and I.T.00:02
Jeeves_Mossmaintenance has become in a business’s infrastructure, and has given me the skills to best navigate and plan such work.00:02
Jeeves_MossImplementation of:00:02
Jeeves_Mosso    Enterprise Resource Planning System as a system manager for00:02
Jeeves_MossNorthbound publications;00:02
Jeeves_Mosso    Designed training programs as Training Manager for RadioShack00:02
Jeeves_MossGuelph (as the assistant manager);00:02
Jeeves_Mosso    Human Resources Manager (including scheduling & payroll) for Scotty00:02
konqrunnerWhoa, I guess that was the wrong copy, wasn't it ;-)00:03
Jeeves_Mosskonqrunner,  lol, yep00:03
Jeeves_Mosskonqrunner, ok, here we go.00:04
Jeeves_Mosskonqrunner, 000-default = http://pastebin.com/sNxHntXE, first v-host = http://pastebin.com/zzEriT4m00:05
konqrunnerJeeves_Moss: I think I see something00:06
Jeeves_Mosskonqrunner, yea!!!  LOL00:06
konqrunnerThere seems to be one slash too many in your document root of the vhost00:07
Jeeves_Mosslol00:07
Jeeves_Mossok, one sec00:07
konqrunnerTry ocumentRoot /mnt/raid/www_root/moseley.ca/public_html00:07
Jeeves_MossI want to see if this works00:08
Jeeves_Mossnope, dosn't work00:08
Jeeves_Mossbrb, I have to quickly deal with an equine00:09
konqrunnerJeeves_Moss: I re-wrote part of your vhost config: http://pastebin.com/SbYJWUBT00:14
cloakableAnybody testing 10.04 at the moment? :)00:15
Jeeves_Mosskonqrunner, ok, I'm back00:15
Jeeves_Mosscloakable, 10.04, not yet00:15
cloakableaha00:16
konqrunnerJeeves_Moss: I re-wrote part of your vhost config: http://pastebin.com/SbYJWUBT00:16
Jeeves_Mosskonqrunner, I think that did it, one sec00:17
Jeeves_Mosskonqrunner, well, it looks like the first site works, but the rest of them don't work00:21
konqrunnerHmm, I at a loss here... All config files look exactly the, all vhosts were enable (a2ensite) and all permission grant apache access to the respective directories?00:24
Jeeves_Mosskonqrunner,  lol, so am I.  it should just be, make the v-host configs, restart the server, and away we go00:25
konqrunnerJeeves_Moss: Did you change the default site's config as well? I'm pretty sure there was something about _not_ placing a trailing slash on DocRoots...00:34
Jeeves_Mosshummm, not that I remember00:34
konqrunnerWhat- the slash or the change of the default config..? :-)00:35
Jeeves_Mosskonqrunner,  this is pissin' me off!  LOL00:35
Jeeves_Mosskonqrunner, the ONLY configs in the sites-enabled are the 2 v-hosts (same as the ones you sent me, diff server/doc roots),00:37
konqrunnerJeeves_Moss: Well, if the first site works, then disengage the other vhosts (a2dissite), delete the configs in /etc/apache2/sites-available...00:37
Jeeves_Mossok, one sec00:37
konqrunnerthen copy the working vhost's config and alter it to the appropriate names etc00:38
konqrunnerthen a2ensite, apache2 restart and try again...00:38
Jeeves_Mosswe're getting this when I restart apache.  "[Fri Apr 23 19:38:37 2010] [error] (EAI 2)Name or service not known: Could not resolve host name *: -- ignoring!"00:38
konqrunnerHah! Then check your dns config!00:39
konqrunnerIf you're trying to set the sites up locally, you'll probably have to enter their name in /etc/hosts00:40
jorge_hi everyone, im having problems connecting to a PPTP VPN server, it works in windows, but it doesnt on ubuntu 9.10, I check syslog says: modem hangup..any clues?00:40
Jeeves_Mosskonqrunner, this box dosn't have DNS installed on it (and neither did my last config before the HDD died), and I had it working00:40
konqrunnerjorge_: that's a network manager problem (it was for 9.04) - check Launchpad for the bug report00:41
Jeeves_Mosskonqrunner, ideas?00:43
konqrunnerJeeves_Moss: Hang on, I found a similar error in a German ubuntu forum - I'll have to translate it first00:46
konqrunnerJeeves_Moss: Okay, no. 1: Are you testing locally or on a fully-qualified internet host?00:48
=== erichammond1 is now known as erichammond
konqrunnerJeeves_Moss: And no. 2: Are the domains possibly registered to an IP address other than the machine's that you're currently working on?00:51
Jeeves_Mosskonqrunner, this box is behind a NAT (with port forwarding), and the domains are pointing to my static IP00:52
konqrunnerOkay, looks like the directive 'NameVirtualHost' is the culprit.00:55
Jeeves_Mosskonqrunner, ???00:55
konqrunnerSeems that apache gets hickkups when several config files have this directive. the guy here in germany solve the problem by commenting the directive00:56
Jeeves_Mosskonqrunner, sorry, how do I fix it?00:58
konqrunnerJeeves_Moss: I don't have NameVirtualHost defined in my configs and all vhosts work like a charm00:58
Jeeves_Mosskonqrunner, one sec.00:59
konqrunnerSo, comment or delete NameViortualHost from your configs and give it a shot00:59
Jeeves_Mosskonqrunner, ok, I'm going to try taking it out01:00
konqrunnerAlternatively, place 'NameVirtualHost 127.0.0.1:80' in your 000-default and omit it from the vhost configs01:00
Jeeves_Mosskonqrunner, some thing.  "[error] (EAI 2)Name or service not known: Could not resolve host name *: -- ignoring!"01:00
konqrunnerJeeves_Moss: Could you paste your /etc/hosts, please?01:09
arrrghhhhey all, i'm trying to use MPD on a fresh ubuntu-server install... it's segfaulting when i try to play anything, but mplayer can play the songs just fine.  it *looks* codec related, does MPD need some special codecs above and beyond what mplayer would need?01:10
konqrunnerJeeves_Moss: Yep, I googled and found tons of references to dns lookup going haywire. So, we've gotta look at your hosts...01:13
Jeeves_Mosskonqrunner,  lol, ok, where to start?01:17
arrrghhhpastebin your hosts file?01:18
Jeeves_Mosskonqrunner, I know that my sites are pointing to my static IP (the setup through zoneedit.com worked before)01:18
Jeeves_Mosskonqrunner, http://pastebin.com/fuudWH7j01:19
arrrghhhmaybe i'm not following.  those look fine.01:21
konqrunnerexept for the fact, that the vhosts are not listed...01:22
arrrghhhoh i don't have any vhosts in mine01:22
arrrghhhjust one site01:23
Jeeves_Mosslol, sorry, was that related to me?01:23
konqrunnerShould be something like '127.0.0.1 localhost moseley.ca', so that your machine knows that it must route your browser's request to your local machine, I guess01:23
Jeeves_Mosswell, will that fix the external requests as well?  (and I never remember setting it up in the hosts file on the old config)01:24
arrrghhhthat has nothing to do with external requests01:24
arrrghhhit'd only effect your local machine01:25
konqrunneryep, exactly01:25
Jeeves_MossI'm lost01:25
arrrghhhwho is your host?  is that where you're having trouble?01:25
arrrghhhi missed the problem, i kinda jumped in sorry...01:25
Jeeves_Mossarrrghhh, you're refering to me?01:26
arrrghhhyes01:26
Jeeves_Mossarrrghhh, ok, sorry.  the box is in my basement.  I'm on a ADSL line (wiht a static IP).  I orignally had a server set up here (the HDD's spindle died), so I lost everything.  And now, I'm trying to get it set up again.  So far, the ONLY thing I can get setup is my FTP.  :-(  I need to get 9 domains setup on this box (via v-host).01:27
arrrghhhthru apache...?  or on the box itself?01:27
konqrunnerJeeves_Moss: I just saw this: Your vhosts are outside your server's root, right?01:27
Jeeves_Mossarrrghhh, it's on the box (ie. e-mail (still not looking forward to seeing that up), FTP, HTTP, etc)01:28
Jeeves_Mosskonqrunner, each domain has it's own user01:28
Jeeves_Mosskonqrunner, the only thing they share is the same group (www-data)01:29
konqrunnerSorry, I meant 'root directory'01:29
Jeeves_Mosskonqrunner, sorry, I'm not sure what you're asking.  All of the v-host's roots are off of "/mnt/raid/www_root/"01:29
konqrunneryes, but your server's root directory is on /var/www01:30
Jeeves_Mosskonqrunner, it should me01:30
konqrunner???01:30
arrrghhhit doesn't have to be /var/www tho01:31
Jeeves_Mosskonqrunner, there should be no other HTTP requests on this box.  ANY HTTP resuest has to be one of the v-hosts01:31
Jeeves_Mossand all of the vhosts roots are in "/mnt/raid/www_root/"01:32
arrrghhhi'm assuming you're using bind9?01:32
Jeeves_Mossarrrghhh, my ISP won't allow me to run a DNS server, so I have the DNS hosted @ ZoneEdit.com01:32
Jeeves_Mossarrrghhh, and we know all of the vhosts point to the proper static IP01:33
arrrghhhi guess i'm confused as to how you point that... i've only used vhosts with apache.01:34
Jeeves_Mossarrrghhh, ok. DNS is handled by ZoneEdit.com  (try pinging www.moseley.ca, it'll resolve to my static IP).  what I'm having the issue with is that I can't get the Apache server to point requests for moseley.ca to /mnt/raid/www_root/public_html/ and requests for www.tessawhite.ca to point to /mnt/raid/www_root/tessawhite.ca/public_html/01:36
arrrghhhJeeves_Moss, i know how to split up apache servers into virtual hosts, you sounded like you wanted the whole server split into virtual hosts... i have no clue how that works.01:37
arrrghhhother than, well virtual machines... but that's completely different.01:38
Jeeves_Mossarrrghhh, all of the websites and other vhosted sites are ALL on the same server01:38
arrrghhhyou made it sound like you wanted more than just apache vhosts01:39
Jeeves_Mossarrrghhh, nope, I just need apache v-hosts.  that's all I want.01:39
arrrghhhoh01:39
arrrghhhwell01:39
Jeeves_Mossarrrghhh, I'm dealing with the other vhost stuff (ie. FTP, e-mail, etc) on my own.01:40
arrrghhhhttp://ubuntu-tutorials.com/2008/01/09/setting-up-name-based-virtual-hosting/01:40
Jeeves_Mossarrrghhh, one sec, I have something like that set up already01:41
Jeeves_Mossarrrghhh, brb, I have to move this PC.  2 mins01:41
kirklandsmoser: you're dead on correct about kvm-ok01:46
kirklandhggdh: cool, let me know how that goes01:46
Jeeves_Mossarrrghhh, ok, sorry, I had to move locations01:48
arrrghhhok...01:49
konqrunnerJeeves_Moss: Please check the permissions for /mnt/raid/www_root. apache2 needs r-x access to theses directories. Additionally, make sure that it says '<VirtualHost 216.75.169.29:80>' in each of the config files - instead of VirtualHost *:8001:49
Jeeves_Mossarrrghhh, ok, so, what's the plan here?  let me get a copy of one of my vhost configs01:49
arrrghhhdid you read the tut?  that's the plan.01:49
arrrghhhit walks you thru it, much better than i ever could.01:50
Jeeves_Mossok, one sec01:50
Jeeves_Mosswill that take care of being behind a NAT (port forwarding on), etc?01:50
Jeeves_MossURL again?01:50
arrrghhhi'd do that in the router01:50
arrrghhhhttp://ubuntu-tutorials.com/2008/01/09/setting-up-name-based-virtual-hosting/01:50
Jeeves_Mossarrrghhh, I did the port forward allready on the router, etc01:51
arrrghhhthen don't worry about it on the server01:51
arrrghhhjust match up ports01:51
arrrghhhto the vhosts config01:51
Jeeves_Mossarrrghhh, I have port forwarding on the router to the server's internal address.  and this is a paste of one of the vhost configs.  http://paste.ubuntu.com/421383/01:55
arrrghhhso are you having issues?  did that tut not get you thru it/01:56
Jeeves_Mossarrrghhh, try hitting moseley.ca and tessawhite.ca01:57
arrrghhhthey both say the same thing, but yea01:57
Jeeves_Mossarrrghhh, that's the problem.  each vhost doccument root has something TOTALLY differen't in them!01:58
arrrghhhwell you're doing something wrong :D  i'm no expert on this, that tut should take you thru the apache config.01:58
Jeeves_Mossarrrghhh, thanks.01:58
konqrunner(02:49:31)Jeeves_Moss: Please check the permissions for /mnt/raid/www_root. apache2 needs r-x access to theses directories. Additionally, make sure that it says '<VirtualHost 216.75.169.29:80>' in each of the config files - instead of VirtualHost *:8001:58
arrrghhhi mean if something is buggered on the provider side, in your router... there's too many variables.01:58
Jeeves_Mossarrrghhh,  when I try to restart apache, I get "[error] (EAI 2)Name or service not known: Could not resolve host name *: -- ignoring!"01:59
arrrghhhyou can't put in *01:59
Jeeves_Mossarrrghhh, into WHAT though?  that's the queston02:00
arrrghhhthe IP?02:01
Jeeves_Mossin what config file though?02:01
arrrghhhi'm not trying to be a d!ck, but did you read the tut?02:01
Jeeves_Mosslol, not yet.  reading it now02:03
Jeeves_Mossarrrghhh, and no, you're not being a dick02:03
Jeeves_Mossarrrghhh, ok, followed the "howto", and we're still getting "[error] (EAI 2)Name or service not known: Could not resolve host name *: -- ignoring!"02:07
arrrghhhdid you put an IP in for the *?02:09
arrrghhhit looks like IP:Port02:09
Jeeves_Mossyep.  I made a global.02:10
Jeeves_Mosshttp://paste.ubuntu.com/421388/02:10
Jeeves_Mossarrrghhh,  FIGURED IT OUT!!!!  add "NameVirtualHost *" to the apache2.conf file!!!!!02:16
hggdhkirkland: topo4 has some config problems02:19
arrrghhhlol that's in the tut too.  but i'm glad you figured it out...02:23
Jeeves_Mossarrrghhh, in some sick ways, it's better than sex@02:25
arrrghhhwhat, going thru tutortials step-by-step?02:25
arrrghhhnvm, you couldn't have done that.02:26
=== swift_ is now known as swift
uvirtbotNew bug: #569292 in opie (main) "opiepasswd does not always generate valid seeds" [Undecided,New] https://launchpad.net/bugs/56929205:31
=== swift_ is now known as swift
auhello everybody :) I have my usb modem plugged in the usb port of my home server, about to get it running with wvdial however I've ran into the problem of what the device is in /dev/something. How can I find out?05:49
auI can see it in lsusb, Bus 001 Device 005: ID 19d2:200005:49
=== swift_ is now known as swift
axisysis there any tool that take csv files and generate google chart ?06:14
KurtKrautaxisys, what is a 'Google Chart' precisely?06:58
axisysKurtKraut: i meant google chart api06:59
axisyshttp://code.google.com/apis/charttools/index.html06:59
apctrhi all plz tell me how to start internet without gui in server edition. I use manual proxy settings to start internet.07:01
KurtKrautapctr, you may upload the CSV to Google Spreadsheet and then use Google Chat: http://code.google.com/intl/pt-BR/apis/visualization/documentation/spreadsheets.html07:03
KurtKrautooops07:05
KurtKrautaxisys,  you may upload the CSV to Google Spreadsheet and then use Google Chat: http://code.google.com/intl/pt-BR/apis/visualization/documentation/spreadsheets.html07:05
scarhi all :)07:11
scarthinking about installing ubuntu server with several virtual machines too... looking forward to working with you07:12
ShadeSworking with you?07:36
uvirtbotNew bug: #569313 in bacula (main) "package bacula-director upgrade failed because it couldn't connect to mysql-server" [Undecided,New] https://launchpad.net/bugs/56931307:41
scarShadeS, indeed. "you all"08:16
=== swift__ is now known as swift
peterlhHi all, we'r running jaunty servers now, and i want to upgrade to the new LTS version thats comming up. Do you advise to make a release upgrade to karmic first, and then to LTS? or to release upgrade directly to lucid when its released?09:41
red2kicpeterlh: You can't upgrade directly to lucid from jaunty.10:00
peterlhred2kic: oh okay, then its a easy choice... Thoughts one could do it directly with do-release-upgrade -p lucid10:02
peterlhi'll just do it in two steps, i know that works too10:02
red2kicpeterlh: Hardy (LTS) --> Lucid (LTS).  Yes.10:02
red2kicpeterlh: You're always advised to make a backup first before making any changes.10:03
peterlhokay, once iam in a LTS release, i can continue staying it LTS, thats great.10:03
peterlhred2kic: yes indeed, one of the nice features of virtualization :-)10:03
peterlhso easy to test stuff like upgrades10:03
red2kicI think I'm going to make a final backup and roll over to lucid. I can't wait a week. :(10:04
peterlhhehe :)10:05
peterlhgot a lucid running too, but only for test until its release.. i dont dare upgrade the production machines just yet10:06
peterlhbut lucid has some nice updates, indeed10:07
morrowynmroning10:53
loolHmm plymouth is included in the UEC images, is that intended?11:58
persialool: Can't safely boot without plymouth anymore, so I'm sure the answer is "yes".  UEC images are kinda special, because they should never have meaningful boot-time messages, but that's a different matter, and likely needs special-casing.12:00
=== torben_ is now known as xr600
xr600Any of you guys familiar with diferent types of mailservers for Ubuntu ?!12:02
lil_cainI've used postfix a little, and exim4 a lot.12:02
loolpersia: Do you know how to disable switching to graphics mode entirely?  tried nomodeset, modeset=0, text, nosplash and still no luck12:02
loolI'm using kvm -curses, and after the early kernel output, I get "640 x 480 mode" full screen and kvm -curses is useless..12:03
persiaI don't.  I know there's a text theme for plymouth that happens.  I think you have to make the framebuffer not load.12:03
* persia checks backscroll for a reference12:03
loolpersia: Yes, that's what I'm trying to do12:04
xr600-Hm, well I'm looking for a mail server solution that registers the read history of messages... Meaning who reads the messages and when. Possibly wit ha web-interface (If not, I will make an interface myself...)12:04
lil_cainxr600: You're not looking for a mailserver in that case. You're looking for a client.12:05
lil_cainI don't think I've ever heard of such a thing though. I suspect dovecot or squirrel mail could do it if you turned their logging up loads though. (dovecot being an imap server, and squirrelmail a webmail system)12:06
xr600lil_cain: well, I would prefer a web-based client solution... But a stand alone client is also an option...12:06
xr600I do know the squirrelmail12:06
persialool: I *think* it might be related to "<Keybuk>  echo FRAMEBUFFER=y >> /etc/initramfs-tools/conf.d/splash"12:06
persia<Keybuk> update-initramfs -u12:06
persiaErr, no I'm reading that backwards.  Try FRAMEBUFFER=n or similar.12:07
persiaFRAMEBUFFER=y is supposed to *disable* the text mode12:07
xr600I once made something similar on Windows with hMailserver... It ran MySQL, and I simply made an additional history table + a trigger as I recall...12:07
loolpersia: I'm not using an initrd12:09
loolUEC just has a kernel + ext fs12:09
loolext3 actually!!12:09
persiaOh, right, and there were some special upstart jobs to try to make that work.  Now I'm unsure, but I think mountall needs plymouth to communicate at all.12:11
loolpersia: In itself, plymouth would be ok in text mode12:12
persiaBut it may be that plymouth is not configured correct.  You probably want to ask smoser who spent a fair amount of time digging at this.12:12
loolbut it's switching to VGA graphics mode12:12
persiaRight, which is the issue.12:12
loolsmoser: ^12:12
looleven with vga=ask and selecting 0 (80x25 text mode), it switches over12:15
loolgrmpf12:15
jayveedoes anyone else run ipsec on linux-image-virtual?12:15
jayveeI'm trying to do is, and I get "no netkey IPSec stack detected" when attempting to start strongswan12:16
jayveewhich basically means it can't load the ipsec modules12:16
jayveeI've got several other ubuntu machines it works on12:16
jayveejust this one is the virtual kernel12:16
jayveeI'm running the virtual kernel because I thought it might use less resources or something. Is that true?12:16
persialool: What happens when you do vga=none? and boot to virtual serial console?12:18
loolpersia: booting with vga=none now12:20
loolsame thing12:20
loolto reproduce: kvm -kernel lucid-server-uec-amd64-vmlinuz-virtual -hda lucid-server-uec-amd64.img -curses -append "root=/dev/sda vga=none"12:20
persiaFile a bug then.  It *really* shouldn't load any graphical interface when there isn't even a video adaptor available.12:20
loolpersia: there's an emulated video adapter12:22
looloh you mean to kvm12:22
loolI thought you were mentionning the kernel cmdline12:22
lool-vga none + -curses gives me no output12:22
persiaNo, vga=none should turn of emulation of the video adaptor in kvm.  My use case of interest is NAS devices, but that's irrelevant to the nature of the bug :)12:23
jayvee-nographic is what I use12:23
persiaUEC also has no meaningful video adaptor (and it's probably a waste of processor to bother initialising it in many cases)12:23
morrowynwhat is recommended for imap/pop dovecot or courier?12:25
jayveeI prefer dovecot12:25
jayveeit's really simple12:25
uvirtbotNew bug: #503467 in vm-builder (universe) "vmbuilder default account not well-documented" [Wishlist,Confirmed] https://launchpad.net/bugs/50346712:26
ubuntudoes anyone know if it would be possible to istall uuntu server on my aptop then install the various ubuntu desktops as virtual machines?12:27
ubuntui saw something in the 9.10 setup about vm for 64bit machines12:28
morrowynso basically it's a matter of how easy it's to set it up, but when it comes to performance/security it doesn't matter12:28
morrowynubuntu, sure you can, look at xen, vmware, virtualbox12:29
jayveeubuntu: you don't need the "server edition" to be able to use virtual machines12:29
ubuntumorrowyn, i thought these were sperate os12:29
jayveenope12:29
jayveethey are the same operating system12:29
jayveethey just come with different packages by default12:29
jayveeso it's the same operating system, just in different "flavours"12:30
jayveeyou can turn one into the other by installing and removing the various packages :)12:30
morrowyndifferent default installed packages12:30
morrowynserver has more server related ones (mail, dns, web, etc.) , desktop has ( x11, media stuff etc.)12:30
ubuntujayvee, i know that part but i meant vmware i thought was an os by itself and a proprietary one12:31
morrowynyou just install the vmware on your machine, that one will act as a host for your guest vm12:31
ubuntui figured if the server was the base then the vm could acess the server ervices like mail etc12:31
morrowynyou could do that, but you might want ot grab the desktop ed. and install the postfix/dovecot/courier/etc.etc. on it instead of creating overhead on your vm's12:33
ubuntui was envisioning a srver base then i could just bring up the other ubuntus with a command but i didnt want to ue vmware because it costs does ubuntu server allow something like this12:33
jayveeyes, I'd use virtualbox personally12:34
persiaubuntu: You could set it up that way: but which flavour you happen to install on a machine doesn't in any way restrict you to which packages you can install; you can even switch flavours from an installed system, if you like.12:34
jayveeby the way, I wouldn't install the server edition, because the server edition only comes with a command line interface by default12:34
* persia uses kvm and/or qemu12:34
jayveewhich means that you wouldn't be able to see the VMs you are running12:34
morrowynyou can install sudo apt-get install gnome-desktop  ???12:34
morrowynon the server12:35
persiajayvee: Why not?  Use libvirt-bin, and export them over VNC to some (other) client :)12:35
jayveehe has said it is a laptop12:35
morrowynif its a powerful laptop12:35
jayveeyes, I know you can and do run headless VMs in practice, but I don't really think this is what he wants to do12:35
ubuntui know but i like to compartmentalize my systems for different tasks instead of having everything on one system12:35
persiamorrowyn: No, but that's only because there's no "gnome-desktop" package.  You can run `apt-get install ubuntu-desktop` and end up with a full desktop environment on next reboot.12:35
ubuntuand i dont want to have several boxes12:36
persia(actually, you don't need to reboot, but you may have to fiddle some services by hand if you don't)12:36
persiajayvee: I'm not talking about headless VMs: using VNC as X output works just fine :)12:37
ubuntui know the cloud computing option has installabl vms but can i bring the vm up on the same box as the server is installed?12:37
persiaubuntu: Install a minimal base, and a virtualisation host (libvirt-bin, etc.).  Create a bunch of virtual machines there, and run your stuff in the virtual machines.  Should work just fine.  I believe "Virtualisation Host" is one of the available options on install of the server flavour.12:37
persiaYep.  Works trivially easily.12:38
ubuntupersia, that sounds about like what i want to do12:38
morrowynubuntu, why not look at http://onlamp.com/pub/a/bsd/2003/09/04/jails.html  or chroot everything on your one box12:39
ubuntu10gig vms should be enough to have every flavor on my laptop then12:39
loolwow running the ec2 kernel in kvm -curses gives spectacular results12:39
persia4G each should be sufficient (although 10 allows for installing more additional software)12:39
persialool: How does it differ from running e.g. -server?12:40
morrowynand dump everything into a database, so you can easily export to other boxes12:40
morrowynif need be12:40
ubuntuim going to google for virtualization host install mode and see if thats what i need after firefox frees up im uploading a video to vimeo12:41
ubuntuit locked up my entire firefox for some reason12:41
morrowynbecause you will hurt your system on the ram12:41
persiamorrowyn: Why?12:41
ubuntuso until i can get goog again i will continue to ask questions so once i setup a vm host they will be able to be pulled up on the box the host is on right?12:43
morrowynwell,  running server + vmware + (guest os + mailserver) +  (guest os + desktop) vs.   server + mailserver + desktop on laptop with capped system resources on cpu/ram12:43
ubuntuand will i be able to install the systems on the vm using the isos or do i have to get some vm iages or will i have to make them somehow?12:44
morrowynjust tell your vm's to boot from iso12:45
persiamorrowyn: Ah, right.  because kernel+some libraries are loaded twice.12:45
persiaBut I'd not use vmware for the vms anyway :)12:46
ubuntui know it will bog myt ram i can just buy some more, im envisioning a big security avantage because i can have my personal data encrypted on a vm with no network  ifs on and then brows in another vm that is like a live cd so12:46
morrowynyou can encrypt you entire harddrive , use imap or pop3 over ssl, gpg your email, but all this has nothing to do with using vm's and separate stuff12:47
ubuntuwell if someone exploits a vm they cant touch the rest of the sytstem12:48
morrowynwell if you jail/chroot your stuff, they also have a hardtime12:48
morrowynto jailbreak out, especially if you hdd is encrypted12:49
morrowynto me, the weakest link in your entire security will always be the human mindset using the system12:49
ubuntubesides i like the different desktops because i can setup one vm for ubuntu studio which needs special settings and kernal but then another for pesonal data and yet another for security auditingg12:50
morrowynthey can be social engineered or just become lazy or annoyed by security settings and eventually will sabotage everything to get their stuff done12:50
ubuntuexactly if i get lazy on a vm wont matter because the other vm isnt even connected12:51
morrowyn:)12:52
persiamorrowyn: HD encryption completely fails to provide any protection against chroot jailbreaking: the binaries in the chroot *already* have access to the unencrypted filesystem.12:52
persiaubuntu: Running ubuntu studio in a VM is very likely to have unacceptable performance.  This is expected behaviour.12:52
jayveeagreed12:53
persiaBut ask in #ubuntustudio if you want deeper explanantion on that,12:53
morrowynwow, i didnt know that, ubuntu studio12:54
morrowynhopefully that ditched cinelerra12:54
morrowynthat/they12:54
morrowynif it still exist12:54
ubuntuthey use kino now12:55
ubuntuits very basic12:55
morrowynhmmm, you want to run heavy duty ram usage program inside a vm ?12:55
ubuntuim going to hope over there and ask some questions12:55
morrowynhmmm, kino, wow, thats really basic12:55
jayveeubuntu: maybe you should change your nickname from “ubuntu” :)12:55
ubuntuim about to wipe this system as soon as my video gets to vimeo12:56
morrowynpity shake is discontnued by apple12:56
morrowynand gimp, well, it's gimped in comparison to photoshop12:58
ubuntuthanks for the talk guys13:03
morrowynwelcome13:04
loolpersia: It gives garbled output on the host, using random colors and chars, it's a piece of modern art13:04
persiaOh, cool!13:04
morrowyncool13:04
* persia suspects that's a bug though13:05
morrowynkind of like a snowcrash on old crt screen13:05
ubuntucrap intel dont support virtualization13:36
ubuntui guess because its not true 6413:36
ubuntulooks like all amd cpu support vt13:36
persiaIt's significantly more complex than that.13:36
ubuntui have a core2duo13:36
persiaPlus, there's two flippable bits on the chips that support virtualisation, and the BIOS may do one or another things with them.  One turns on and off virtualisation support, the other locks/unlocks the first.  So the common implementations are 1) BIOS locks VM on, 2) BIOS locks VM off, 3) BIOS allows the user to set VM on/off and locks the result, 4) BIOS doesn't lock.13:38
jaypurdoes anyone know how can i monitor my cpu and motherboard temperature at ubuntu-server???13:39
jaypuris it the same way as the ubuntu desktop?13:39
ubuntupersia, but the cpu doesnt have it according to intel website the thing is if it were just a bios issue im sure coreboot would fix that13:40
persiajaypur: It's precisely the same13:41
ubuntujaypur, im sure there is a package that will monitor it but i dont know the name13:41
persiaIf the CPU doesn't have it, you're out of luck.13:41
persiaBut don't think it's a per-CPU vendor thing13:42
* persia has CPUs from AMD that don't do VMX13:42
ubuntui think the package you need depends on your hardware13:42
* persia also has chips from Intel that report no VMX in the specs that support VMX perfectly fine13:43
lil_cainpersia: There is an AMD lookalike to VMX13:43
ubuntuim thinking this is because amd pioneered 64bit x86 cpus thier site says:  Powering ultrathin notebooks to blade servers, all AMD processors shipped are designed to use AMD-V™ features.13:43
ubuntui guess it is all opterons13:44
ubuntui need to start searching for an operon laptop with 139413:44
lil_cainI'd be surprised to see an Opteron laptop.13:45
lil_cainBut, some of the phenoms have the virtualisation bit, at least13:45
persialil_cain: Not for the Athlon XP 64 X2 4600+ :p13:45
jaypurpersia, i installed lm-sensors and gkrellm... to run at my laptop by ssh... but it's not getting the temperature...13:46
persiaThe point being that the presence or absence of virtualisation support is per-chip, not per-vendor.13:46
persiajaypur: It may be that your hardware doesn't report it in a way that your software understands.  I have one server where /proc/acpi/thermal_zone has no entries, as an example.13:47
ubuntui wonder if corporations install backdoor virtualization in the hardware maybe thats why toshiba is called sattelite13:47
jaypurpersia, i have ubuntu-desktop at the server machine, and now i'll test it...13:48
persiaThat's not how that company selected that name.13:48
ubuntuwell i guess i cant do vm unless the cpu supports it right?13:50
persiaNot without significant performance penalty.13:52
persiavirtualbox and qemu are two tools you can use without processor support, but you'll never get quite the performance you would get with processor support.13:52
ubuntui imagine instead of the vms acessing the cpu directly they would go through the base kernall is that why13:53
persiaNo.13:53
persiaWell, kinda.13:53
jaypurpersia, yup... just tested... it does not give support to my server hardware...13:53
jaypuri installed lm-sensors and gkrellm13:53
persiajaypur: There may be special utilities for your hardware, but you'll have to search for them.13:54
persiaSo, if the processor doesn't support virtualisation, one needs to support virtualisation in software, which means running code to manage separation of host/guest memory, processes, etc., which adds overhead.13:55
jaypurpersia, my cpu is a p4 2.0 and the motherboard is an asus p4s533...13:55
persiaSome of this code is kernel, but lots of it is userspace.  When the processor supports virtualisation, much of the userspace stuff can be passed to the kernel virtualisation module, which can pass it to the hardware.13:55
persiajaypur: I don't know offhand what you need, sorry.13:56
jaypurpersia, i wanna know what should i do to detect my hardware....13:56
ubuntui think it has to do with acpi jaypur13:56
jaypurubuntu, tell me more plz...13:56
ubunturead the desriptions of the packages t explains it13:56
persiaIt doesn't necessarily have to do with ACPI: not all hardware exposes that information to ACPI: for some stuff you have to poll i2c directly, etc.13:57
ubuntuthere are several packages for it13:57
persia(one could hack the DSDT, but that depends on whether the BIOS can track i2c, etc.)13:57
ubuntupersia, so either way the virtualization acesses the cpu thrugh 1 kernal13:58
ubuntujaypur, all i know is that when i was installing the monitoring packages there is one for older sstems and one for newer and that was  explaied in the package descriptions might want to make sure all that stuff is turned on in bios also if it has the option13:59
jaypurubuntu, so i'll go to bios to see it.....14:00
persiaubuntu: Kinda: the kernel abstracts the HW from userspace, and the virtualisation is running in userspace.  That said, the virtual machine never uses the host kernel *except* by interaction with the virtualisation layer.14:00
jayveejust so you can get a second opinion14:00
jayveeI don't perceive any difference between SW and HW virtualisation14:00
persiaThis is *very* different from things like LXC, where multiple userspace stacks may be interacting with the same kernel.14:01
ubuntugkrell is for desktop jaypur14:01
persiajayvee: I notice a speed difference for otherwise comparable hardware.14:01
jaypurubuntu, i'm using it at my laptop by ssh to see the server14:01
jaypur:D14:01
jayveepersia: are you referring to VT-x/AMD-v vs. software VM acceleration?14:02
jayveeor are you thinking more along the lines of no-kqemu/kvm vs. kqemu/kvm?14:03
jayveeI was thinking along the lines of the former. I haven't found AMD-v to add any performance personally.14:03
ubuntupersia, i see so it only slightly uses the kernal as a door but no work is done by it14:03
jayveeBut I very much agree that KVM/kqemu is orders of magnitude faster than raw qemu.14:03
ubuntuthe work all goes to the virtualization kernal14:03
persiajayvee: Or any of the other silicon-support solutions, yes. :)14:04
* persia found kvm faster than kqemu when kqemu still worked14:04
jayveeyeah kvm is faster than kqemu14:04
jayveebut sometimes, for things like DOS, qemu is still faster occasionally14:04
jayveewhereas KVM grinds to a halt14:05
jayveeprobably bugs more than anything14:05
ubuntujaypur, well gkrell isnt designed to acess ssh14:05
jaypurubuntu, i usually run nautilus by ssh too...14:06
persiaubuntu: Computation is done by the kernel running in the VM.  Hardware access by the kernel in the VM is trapped by the virtualisation layer.  The virtualisation layer then accesses host hardware through the host kernel.  How much host hardware is available depends on the configuration of the virtualisation layer (I set mine to only allow access to memory, storage, and cpu cycles, usually)14:06
jaypurubuntu, what do you use for temperature monitoring...14:06
jaypuri connect ssh with -X14:06
jayveeI use lm-sensors for temperature14:07
jayveeI find lm-sensors can see some temperatures that don't appear in /proc/acpi/thermal_zone14:07
jaypurjayvee, how do you see the temperature... what command...14:07
jayveebut maybe that's my imagination14:07
jayveejaypur: apt-get install lm-sensors14:08
jayveethen just type "sensors" to run it14:08
jayveek8temp-pci-00c314:09
jayveeAdapter: PCI adapter14:09
jayveeCore0 Temp:  +36.0°C14:09
jayveeCore0 Temp:  +28.0°C14:09
jayveeCore1 Temp:  +29.0°C14:09
ubuntuso kvm can work without hardware support , but if so what is the difference in the way it operates14:09
jayveeCore1 Temp:  +35.0°C14:09
jayveekvm runs slower14:09
jayveeif you take my advice, use virtualbox14:09
jayveevirtualbox is the fastest VM software for GUI applications, and runs fast even without hardware support14:10
persiaubuntu: If kvm runs without hardware support, it falls back to qemu (or at least it did last time I ran it on a machine with no VMX support).14:10
jaypurjayvee, i'll try that, just a sec...14:10
ubuntujaypur, i lick my finger and tap it and if i hear a sizzle its too hot14:10
jayveeI was able to meet all my virtualisation needs with virtualbox on my Eee PC14:10
jaypurubuntu, hahaha14:10
jayveefor college14:10
jayveeit ran plenty fast for a few Ubuntu servers and Windows Server 2003 instance14:10
jayveeon a 1.6GHz Atom14:10
persiajayvee: lm-sensors works for *some* sensors (it's especially good at ISA and i2c stuff), but it's not always complete.  For instance the Panasonic "Let's Note" series prior to 5th generation required an additional special bit of software.14:11
jayveeall I know is that it works for me. :)14:12
ubuntujayvee, but im wondering why it runs slower how would it operate any differentle would it process through the kernal instead of offering direct acess of the hardware to the vms kernal?14:13
jayveeI believe kvm goes into "raw qemu" mode if the kvm module is not loaded14:13
jayveeand the kvm module only loads if you have the hardware support for VT14:13
ubuntujaypur, if you installed lm-sensors already on the server it should work i dont think its going to send it through ssh to a remote x14:15
ubuntufor gkrell14:15
jaypurubuntu, it's all working... but it's not getting the temperature....14:16
jaypuri'll check now lm sensors i was at the bios...14:16
ubuntujayvee, so you are saying rawqemu is slow but virtualbox is almost as fast as kvm with vts on cpu?14:19
jaypurjayvee, now it's monitoring... i think it was something on bios... dunno...14:19
jaypurbut thanks for the help guys!!!14:19
persiaubuntu: *ANY* X application can be run as a remote client: it runs on some host, and then exports the interface to the X server on some other host.  The data collected is the data fom the host on which the program is running.14:19
ubuntujaypur, well did you change anything in the bios? if not it prob just needed to be started and the reboot started it14:19
jayveeubuntu: yes, that's what I'm saying14:21
jayveein my experience anyway14:21
jaypuri just enabled q fan function and set the fan to run faster lol.....14:21
jayveevirtualbox is not so great for running headless servers14:21
ubuntupersia, how can the gkrell ap be running on the host if the x is on the client14:21
jaypurmaybe it was about rebooting...14:21
jayveebut for running desktop apps, there is no comparison14:21
jayveevirtualbox even supports 3d acceleration14:21
jayveeI used to play Quake Live on virtualbox before they brought out a Linux version.14:22
persiaubuntu: X is designed to be network transparent.  It's a client-server model.  The X server runs somewhere with a monitor, keyboard, mouse, etc.  The X client runs anywhere it likes, and tells the X server what to draw.14:22
persiaSo if you run an X client on a server, and tell it to talk to the X server on your desktop, it just works.14:23
persiaThis enables interesting stuff, like thin clients14:23
ubuntupersia, for some reason that sounds backwards to me the server is on the desktop but the sever has the client?14:24
jaypurlol, can i change the text color at ubuntu server?14:24
jaypurlike black screen with green letters....14:25
jaypurppl would think i'm running matrix at my bedroom lol14:25
ubuntujaypur, well if you are running eveything remotely just change your terminal settings14:25
ubuntujaypur, theres a good matrix scrensaver too but for some reason i couldnt find a prepackaged matrix gnome theme14:26
jaypurubuntu, no.. not at laptop but at the main server.... but its monitor is always off so... it does not make so much difference....14:26
persiaubuntu: Yes, the way the client-server model is used in X often confuses folk who believe "server" and "client" describe hardware, rather than services.14:27
jaypuryeaaah gkrellm is running14:27
jaypurlol temperature4 = -47C lol14:27
ubuntupersia, well when running a vnc server the serve serves the services not acesses them14:28
ubuntuyou are saying the xclient acesses the system and sends the info to the remote server14:28
persiaNo.14:28
persiaI only said the X client talked to the X server.  local/remote is irrelevant.14:29
persiaSo if you run an X server backed by VNC, and then view that somewhere else, you get another layer of indirection,.14:29
ubuntuuhow thats confusing me14:30
persiaA fanciful use case is someone reading their mail: they sit at host A, connecting to a VNC server on host B.  The VNC server on host B is running an X server.  A mail reader on host C is connected to the VNC-backed X server on host B.  The mailreader then checks an IMAP server, running on host D.14:30
ubuntuif it were me i would just acess the server through sshd vnc instead of running x on the remote machine14:31
ubuntuif you set all of your things up like that then its like u are chained to the server14:34
ubuntuit doesnt seem to provide any extra advantages14:35
ubuntuexept maybe releaving the server of about 100megs of ram14:35
ubuntuand provides the big disadvantage of rendering the laptop nearly useless without the server14:36
jaypurit's all working14:36
jaypurthanks guys14:36
ubuntuglad to hear it14:36
ubuntudont forget to exesize14:37
jaypur:D14:37
ubuntuwhen u work on servers a lot u need to exersize get a nintendo wii and exaggerate all of the motions14:37
ubuntuand get one of those as seen on tv pullup bats that just connect to the doorframe without any drilling14:38
ubuntu*bars14:38
ubuntumy vimeo video finally processed http://www.vimeo.com/11185731 im starting a tech show add me if u want to14:39
jaypurubuntu, lol nintendo wii lol14:40
ubuntuand if gkrell stops remember just lick your finger and tap14:40
jaypur:D14:41
jaypuri set my fan to run at 15/15 speed... the max speed... now my pc is cool...14:41
ubuntunow  i could see thinclient bieng cost effective if the server was so strong and served all of the services to mids or 100 dollar netbooks but still if you are going to run stuff on the laptop that doesnt work without the server that would only be effetive i your laptop was the beast and your server was the weakling14:42
ubuntuotherwise there is no poit except to complicate things14:42
ubuntui guess for it at a corporation job security14:44
ubuntuand need to sign on friends to help with the extra complications14:44
persiaNo.14:44
persiaA couple common applications:14:44
persia1) putting all one's monitors on one computer for massive screen real-estate, and then running lots of CPU-hungry applications on separate dedicated servers whilst using a single desktop.14:45
persia2) Having a complex or confusing configuration of an application that's hard to sync between machines, and always wanting to run the same app with the same configuration on one's laptop, one's desktop, and (perhaps) one's phone.14:47
ubuntu1 was what i said i would do 2 is a scenario where it would be handy to run xserver on a client but then agai 2 can still be accomplished acessing xserver on server from client14:49
ubuntu]14:49
ubuntuthe only change is where the resources are bieng used14:50
persiaRunning VNC breaks window management, plus ends up with odd mouse grabs.14:50
persiaBut sure, that works too.14:50
* persia does both14:50
ubuntuhow does vnc break window managment14:51
persiaYou end up with some windows limited to only one area of the screen.  You end up with different meanings of "minimise" for different applications.  You have to keep track of which host is running each application, etc.14:53
ubuntui guess the advantage would be graphic rendering apps like games but then why not just run the game from the sytem u are on14:53
ubuntujust mount a drive and run the pp from there then14:55
ubuntuapp14:55
ubuntusay thunderbird14:56
ubuntuon a ssh in and run it it will pull up in the x and save all data to the server14:57
persiaMounting a drive doesn't use remote CPU/RAM/etc.14:57
persiaAnyway, I'm not going to argue use cases with you anymore.  That's how X is designed.  Using it is optional.14:58
ubuntuneither does running the xserver on the client14:58
ubuntuwell thanks for arguing but it has very little advantage besides a little bit of allocating resources14:59
ubuntuand rendes the client nearly useless in the event a connection is lost15:00
ubuntuim going to go study virtualbox i guess15:00
* persia fails to say nothing, but settles for no content15:00
ubuntuyeah thats like codependance syndrome15:01
ubuntuextra complications to just allocate resources a bit15:03
ubuntuim going to go take a blast of coffe and then do some pullups and get beefed up15:07
k2spls. give a tip how to convert Amazon EBS from ext3 to xfs15:28
kirklandhggdh: can you get with mathiaz on those config issues on Monday?16:12
=== jeipur is now known as jaypur
uvirtbotNew bug: #569452 in mysql-dfsg-5.1 (main) "package mysql-server-5.1 5.1.41-3ubuntu11 failed to install/upgrade: subproses skrip pre-installation baru menghasilkan kesalahan status 'exit': 1" [Undecided,New] https://launchpad.net/bugs/56945216:42
bov3nI need to configure my ubuntu server for mail so that I can use the mail() functionality in php without any troubles16:42
bov3nshould I go for postfix?16:42
ScottKPostfix is what is generally supported and recommended in Ubuntu server for an MTA.16:42
guntbertwhere could I take a look at the 10.04 version of the server guide?16:42
ScottKsommer: ^^^16:43
bov3nScottK: Ok, good. I've installed it and configured the basics. But it has to use smtp do you know how I can edit which smtp server it should use?16:44
ScottKbov3n: You want it to relay via another mail server?16:44
bov3nyes16:45
ScottKsudo dpkg-reconfigure postfix and pick the option that is something like internet with satellite relay16:46
ScottKIt'll ask you the name of the server it should relay through16:46
bov3nI'm supposed to develop some script for a company in order to send some mails automatically and they couldn't configure their ubuntu server and I'm quite new to it too, but at least I'm comfortable with the commandline :)16:46
bov3nand they told me that it has to go against a certain smtp server16:46
bov3nScottK: ok, I'll try that out16:47
bov3nthanks16:49
poningrubov3n, did you get it?16:54
bov3nnot sure yet :)16:55
bov3nIt's configured according to my wishes, I'm coding now to attempt to send a test mail :)16:55
bov3nponingru, ScottK: it works!17:04
bov3nthanks a bunch for the help17:04
ScottKYou're welcome.17:05
DravekxI have my users setup so they can host websites from their home directories. So, I installed joomla in mine, but when joomla creates a file on the ubuntu server, ubuntu changes the permissions so I can't access the file. then I hafta login via SSH, change the permissions via root, and go back again. Anyone know how to fix this?17:12
Dravekxearth to ubuntu-server.... come in, ubuntu-server. anyone?17:19
ScottK!weekend | Dravekx17:19
ubottuDravekx: It's a weekend. Often on weekends the paid developers and a lot of the community may not be around to answer your question. Please be patient, wait longer than you normally would or try again during the working week.17:19
DravekxLOL17:20
Dravekx"the bot responses" are so nice.17:20
IrunongamesDoes anyone know a program to manage a ubuntu server from win 7?17:23
DravekxIrunongames, putty and winSCP (it's what I use with Win7)17:23
Irunongameswill putty alow me to view the server envirement?17:25
guntbertIrunongames: "server environment"?? what do you mean?17:26
IrunongamesSo I can see what is on the monitor server side17:27
guntbertIrunongames: why would you want that?17:28
IrunongamesNo good reason really, I just like it better that way :/17:28
DravekxIt's like trying to force ubuntu to be an unsecure windows. :(17:30
guntbertIrunongames: I believe it will be possible - but as it makes no sense for me I never thought about it -- I'd expect some work to be done and a heavy load .... but I might err17:31
Dravekxcan someone tell me how to fix apache to where, when a web app does something on my ubuntu server, the user:group is set to user:www-data instead of www-data:www-data?17:35
Dravekxor maybe its server related?17:35
Dravekxidk.17:35
* Irunongames screams "Litespeed"17:35
guntbertIrunongames: ??17:39
IrunongamesIt's a "wanna be apache" software :P17:41
morrowynlrunongames: webmin ?17:42
guntbert!webmin | morrowyn, Irunongames17:42
ubottumorrowyn, Irunongames: webmin is no longer supported in Debian and Ubuntu. It is not compatible with the way that Ubuntu packages handle configuration files, and is likely to cause unexpected issues with your system. See !ebox instead.17:42
morrowyn:)17:42
IrunongamesOh ok, thanks17:42
morrowynDravekx, www-data:www-date means user:group17:44
morrowyndate/data17:45
Eric^-hey18:14
Eric^-I downloaded the server and it's a ISO file. But how do f- do i get it on a disc so i can install it on my other comp?18:14
RoyKhuh?18:15
Eric^-yeah, i got a mac computer18:15
RoyKiso files are for burning on small discs18:15
Eric^-aw, k lol.18:15
RoyKopen disk utility, burn it18:15
Eric^-i've tried18:15
Eric^-dosen't work wtf18:15
RoyKworks for me (tm)18:16
RoyKEric^-: after burning it, you need to move the CD to the other computer and boot it18:16
Eric^-oh shit i think i know what now.18:18
Eric^-I got a dvd-r disc lol.18:18
Eric^-How can i make it on USB then ? x.x18:19
RoyKthat's a bit complicated, but from ubuntu desktop, it's automated18:22
RoyKinstall a VM with VirtualBox or something on your mac and you'll have it done quite easily18:22
IrunongamesQuestion: should I "Manage System With Landscape" OR "auto security Update"18:23
IrunongamesWhat type of server do I need for a IRC bot?18:25
RoyKIrunongames: manage system with landscape if you use it, which you probably don't since you ask. auto security update is nice18:25
guntbertIrunongames: if I understood that correctly the landscape option costs real money18:25
RoyKIrunongames: anything - even DOS will do18:25
RoyKguntbert: yeah, nominally $150 a year per box, but it's worth it in large setups18:26
Irunongamesblah does anyone here run a IRC bot from ubuntu?18:26
* RoyK has a few18:26
guntbertRoyK: thx18:26
RoyKIrunongames: seriously, you can run an irc bot on any OS18:27
IrunongamesBlah, ok18:27
RoyKubuntu might be a good choice if you like it18:27
* Irunongames is scared of using to much space even with a 1.5 TB drive XD18:27
* RoyK takes a little time off to ROTFL18:27
RoyKIrunongames: I'm working with embedded systems these days, large, embedded systems with ARM 400MHz CPUs and 64MB memory and 128MB flash disks18:28
RoyKhuge systems18:28
Irunongameso.o18:28
RoyKand you can run a few thousand IRC bots on each of them18:28
* Irunongames goes to build a few thousand18:29
wise_crypt!ebox18:33
ubottuebox is a web-based GUI interface for administering a server. It is designed to work with Ubuntu/Debian style configuration management. See https://help.ubuntu.com/community/eBox18:33
hggdhkirkland: I will. I looked for him yesterday, but I guess it was already too late in the evening18:43
ShadowTaleHi all. I'm at the "postfix configuration" section of installing ubuntu, what should I do "no configuration, internet site, internet with smarthost, satellite system, local only"?18:48
ShadowTaleI've never installed a server before18:48
ShadowTalehello?18:49
guntbertShadowTale: do you need email on that machine?18:49
ShadowTalenot particularly, I'm only going to use it to post on my IRC channel whenever someone edits on my wiki18:50
ShadowTalethanks for your time and effort by the way guntbert :)18:51
kirklandhggdh: ack18:51
ShadowTaleI'm a bit of a noob when it comes ot this kinda thing.18:51
kirklandhggdh: can you please create a junk branch of test results from your various runs and commit/push your results there?18:51
kirklandhggdh: make a dir structure like lucid/rc/*18:52
kirklandhggdh: maybe lucid/rc/topo1/*18:52
kirklandhggdh: you can gzip/bzip em18:52
guntbertShadowTale: in that case I suggest you choose "no config"  -- misconfigured mail servers are *bad*18:52
kirklandhggdh: we really need to keep an archive of these18:52
guntbertShadowTale: and on ubuntu a not configured service will not be started18:53
ShadowTalecool. thanks much for the info, mind if i keep popping in and out of chat asking noob questions? lol18:54
ScottKkirkland: screenbin is accepted.18:54
guntbertShadowTale: there is no such thing as "noob" questions - and be welcome any time :)18:57
scaryes, we all had to start somewhere ;)18:58
ShadowTalethanks ^__^. it's still installing, 84%18:58
=== rcsheets` is now known as rcsheets
Eric^-guys19:05
Eric^-If i got a computer from 04, will the new ubuntu server edition work on it?19:06
Eric^-(32 bit i guess right)?19:06
guntbertEric^-: I don't see a reason why not19:09
Eric^-we..19:09
Eric^-well, i kinda had the 64 bit version downloaded but diden't seem to work..19:09
scarEric^-, which cpu does the computer have?19:10
ShadowTalehmmm, anyone else have a problem with installing the newest ubuntu? my "finishing the installation" is stuck at 25%19:10
ShadowTaleis it supposed to take this long? it's been like 20 minutes.19:10
Eric^-scar: i don't know really lmao. But it's a dell and it's old.19:10
guntbertShadowTale: did you md5sum check the image?19:10
guntbert!md5sum | ShadowTale19:11
ubottuShadowTale: To verify your Ubuntu ISO image (or other files for which an MD5 checksum is provided), see http://help.ubuntu.com/community/HowToMD5SUM or http://www.linuxquestions.org/linux/answers/LQ_ISO/Checking_the_md5sum_in_Windows19:11
ShadowTalemd5sum? i dunno what that is. I did do a simulated burn before burning it19:11
ShadowTaleoh19:11
ShadowTaleok i'll read it19:11
scarEric^-, what is the model of the dell?19:12
Eric^-i've got no idea about that neither. Gonna see if i find anything on the shell19:12
scarEric^-, that should be on the box itself. also you can look up the service tag on support.dell.com and find the documentation19:13
Eric^-could it be preceision 360?19:16
Eric^-uhm, pentium 4 800 mhz19:16
Eric^-yeah, i need the 32 bit version, dam it takes 22 min to download19:20
skritehey all, i am having a rough time with replication on mysql  our server crashed, rebooted, and recovered, but the slave replication is no longer updating.19:26
fbc-mxis a type 83 partition an ext3 or ext4?19:41
qman__it's a "Linux" type19:41
qman__which could be any number of filesystems, including ext[2-4]19:42
RoyKxfs, jfs, jffs2, even FAT12 if you like19:44
RoyKit's just a number19:44
MTecknologyicky... server ran out of space19:46
MTecknologyCan I use libvirt to add a drive to a vm?19:47
ShadowTaleok it looks like my ubuntu server is up and running. thanks again everybody for the help :)19:49
MTecknologyShadowTale: what are you going to use it for?19:50
ShadowTalemy friend is hooking me up with a bot that'll message me in IRC chat whenever someone edits on my wiki19:51
ShadowTalethat way I can see what people are doing and possibably stop any vandalism rather quickly.19:51
fbc-mxqman__, How can I tell which one it is? I have to add it to fstab.19:51
ShadowTalesound cool MTecknology?19:54
MTecknologyShadowTale: sounds like something your wiki should be able to do by itself19:54
ShadowTaleIdk, it's a wikia.com wiki19:54
fbc-mxI have to add a drive to fstab. FDISK tells me its a type 83. So how do I tell if I need to specify it as a EXT3 or EXT4 in fstab?19:55
ShadowTaleI can give you alink if your interested in finding out19:55
MTecknologynever used it - i know moinmoin will let you sbscribe to everything19:55
ShadowTale"moinmoin"???...19:56
* ShadowTale googles it19:56
RoyKfbc-mx: you need to specify the filesystem type in fstab - man fstab19:56
fbc-mxRoyK, I formatted that drive like a year ago.. I don't recall if I formatted it EXT3 or 4. How can I tell?19:57
ShadowTaleso do you have to host moinmoin off of your own server or is it hosted by a website?19:57
RoyKif you're unsure about the fs type, try to mount /dev/whatever /somewhere and type 'mount' alone to see what it says19:57
MTecknologyor fdisk -l19:58
MTecknologydoesn't that show it?19:58
MTecknologynope, nevermind19:58
fbc-mxRoyK,  damn your good... I did that and typed MOUNT and shows it as an EXT419:58
fbc-mxRoyK, thanks19:58
RoyK:)19:59
RoyKyou learn a few tricks after working with linux for 15+ years :)20:00
MTecknologyRoyK: I have ~5 so far :)20:06
fbc-mxRoyK, I have ~2 years20:06
MTecknologybarely knew computers back then20:06
* RoyK feels like an old man20:07
MTecknologyRoyK: how old are you?20:08
* MTecknology is 2220:08
* fbc-mx 4020:09
RoyKMTecknology: 3620:10
* fbc-mx got into ubuntu linux 5 years ago and started playing around with linux guts and servers 2 years ago. Evangelizing ubuntu in Guadalajara, Mexico for 3 years now.20:11
RoyK:)20:11
RoyKlinux is nice, but for firewalls, pfsense rocks20:12
MTecknologyI started in my senior year in high school, i'm in my senior year in college now20:12
MTecknologyRoyK: I'd likely never use anything other than *BSD for a router system20:13
RoyKlinux works well too, though20:13
MTecknologyit does, I just prefer the 'set it, forget it, don't muck with it' approach to something sitting there20:14
RoyKyeah20:14
RoyKpfsense is nice in that20:14
andreserlkirkland: ping20:14
fbc-mxRoyK, yeah that's what I use for a firewall as well because I got a dual-wan setup20:24
RoyKnice20:25
fbc-mxRoyK, I got a PFSENSE machine as a router and an UBUNTU SERVER for EBOX and network services.20:26
RoyKI'll be setting up an old 500MHz VIA thing for a firewall once I get the CF-card-to-ATA adapter, and I guess it'll be running linux20:27
RoyKI know iptables by heart and it's nice to have a full distro on the box20:27
fbc-mxRoyK, I used to swear by IPCOP but it doesn't do dual-wan. But since I've been using pfsense, I've grown kinda fond of it as well.20:27
scari have two, identical physical servers. on one i was thinking of installing ubuntu server to use as sort of a hypervisor for several virtual servers. now i want to reduce downtime by mirroring this setup onto the other physical server.  how can i do something like that?20:28
RoyKfbc-mx: yeah, but I only have this crappy DSL link, so not a problem :)20:28
RoyKscar: DRBD + heartbeat is a good thing20:28
RoyKscar: it takes some reading and stuff to get into it, but essensially it's RAID-1 over IP20:29
scarRoyK, ok.. i thought drbd might be involved. but i was confused because it is classified under clustering, and i thought that was combining multiple servers into one virtual server or something...20:30
RoyKnot really20:30
RoyKDRBD for mirroring is just having one standing by20:30
RoyKmirroring the partitions20:30
RoyKand then having Heartbeat kicking in if the main box fails20:30
MTecknologyHow can I see what devices are available?20:31
MTecknology/dev/sd*20:31
scarRoyK, all right cool. thanks... i'll read more about those20:31
RoyKMTecknology: there'll be a notice in the system log, dmesg20:31
MTecknologyRoyK: It's added during boot, will it still be in there?20:32
RoyKMTecknology: and all processes trying to do something on that or those devices will hang in D state20:32
RoyKMTecknology: what sort of device?20:32
MTecknologyRoyK: I'm trying to add a drive to a vm20:33
RoyKdoes linux see the drive?20:33
RoyKas in cat /proc/partitions20:33
MTecknologyRoyK: that'd be the exact answer to my question :D20:35
MTecknologythanks20:36
MTecknologymkfs seems to have just freaked out20:38
fbc-mxRoyK, My only gripe with pfsense is that you cannot manually specify the adapter name in squid. I would like to configure squid to cache my load balancing pool, but it's currently not able to.20:40
RoyKfbc-mx: for reverse caching, have you tried varnish?20:41
RoyKit's far better20:42
RoyKoriginally developed for fbsd, but ported to other platforms later20:42
RoyKworks best on fbsd last I checked20:42
RoyKsome issues with sendfile() on linux making it impossible to do zero-copy20:42
scaris there a webdav server available? am i to use python-webdav?20:44
fbc-mxRoyK, nope, let me read up on it.20:49
MTecknologymkfs.ext4 /dev/sdb1 | 100G | virtual disk | takes a while....20:51
fbc-mxRoyK, I'm in the process of adding two indentical sata drive in a raid 1 configuration. WOuld you recommend software raid or the raid controller on the motherboard. I understand the the software raid has processing overhead. Any thoughts?20:53
fbc-mx* the the= that the20:53
MTecknologyfbc-mx: depends... #1 - does your hardware support a true raid setup?20:54
MTecknologyusually that's not the case - in which case I shoot for software because it gives you more control20:54
MTecknologyif it's true raid, you get better performance letting the disk handle it20:55
scarit looks like it is just some extensions i add to apache...20:55
fbc-mxMTecknology, I don't think so, I just have a bios option for my sata controller that says IDE or RAID.20:55
fbc-mxMTecknology, I was gonna activate the RAID on the motherboard controller thinking that it was hardware based raid. Am I wrong?20:56
MTecknologyfbc-mx: that would be hardware raid but probably isn't the case in reality - true hardware raid is usually a pretty penny20:58
MTecknologyfbc-mx: if that's the case then my personal choice would be to use software to manage it20:58
fbc-mxMTecknology, ok, you've convinced me to go with software raid.20:58
MTecknologyfbc-mx: well....20:59
MTecknologyfbc-mx: do you want control or performance20:59
MTecknologyeither way you get mirrored drives20:59
fbc-mxMTecknology, Hmm... I guess control would be my guess20:59
MTecknologythen software20:59
Irunongameshow do I install vmware tools on ubuntu server?21:00
fbc-mxMTecknology, now that has been decided, the only guide I can fine give you the instuctions to do it at the install phase. Is there one for a server that is already setup?21:00
MTecknologyIrunongames: what cersion?21:00
MTecknologyfbc-mx: mdadmin iirc21:01
MTecknologymdadm*21:01
uvirtbotNew bug: #569533 in dovecot (main) "dovecot doesn't support configuration setting ssl_disable" [Undecided,New] https://launchpad.net/bugs/56953321:01
fbc-mxMTecknology, K, let me go give it a whirl.21:01
IrunongamesI am running 6.521:01
MTecknology6.5?21:02
MTecknologyyou mean vmware server 6.5?21:02
MTecknologyWhat version of Ubuntu21:02
MTecknologyiirc vmware only supports the last LTS21:02
Irunongames9.1021:02
Irunongamesand 6.5 workstation21:03
MTecknologyYou're not likely to make it work right21:03
MTecknologycheck out #vmware21:03
Irunongamesthanks21:04
RoyKfbc-mx: software raid has little overhead, but it's a bitch for linux boot21:04
RoyKgrub isn't too happy about that21:04
RoyKfor data volumes, I'd use software raid21:04
RoyKit's faster and cheaper21:04
MTecknologyalso saves on you if the controller dies in that you don't need to get an exact replacement21:05
RoyKif you need to boot off a raid, I'd recommend 3ware or areca21:06
RoyKreasonably priced and works well21:06
MTecknologyI hate it when an rsync failure can't resume :'(21:13
MTecknologyIf I was local it would take <10min to copy21:14
MTecknologythe rsync failed because of lost space; i had to run off - it was <10MB from being transferred - now I get to start all over remotely and it's estimated to take >6hr21:14
fbc-mxMTecknology, I type sudo apt-get install mdadm and it wants to install postfix. Any idea why?21:15
MTecknologyfbc-mx: not sure, maybe for notification of issues21:15
MTecknologyIt's been a long time since i used raid - i tend to shy toward lvm now21:16
skritehey all, i am having trouble starting a slave in mysql after the master had a problem that caused a reboot. The error log on the slave is empty21:19
ShadowTalehi all. whats it mean when I type "    hg clone http://core.gozerbot.org/hg/dev/0.9" and i get the response, "the program 'hg' is currently not installed.  you can install it by typing: sudo apt-get install mercurial"?21:21
ShadowTalethen when i tpye "sudo apt-get install mercurial" it responds "Package mercurial is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: package mercurial has no installation candidate21:23
ShadowTale>.< i've never used ubuntu server before so I dunno what to do.21:23
JanCShadowTale: try "sudo apt-get update" first, then the "sudo apt-get install mercurial" again ?21:26
ShadowTaleok i got a whole ton of "Err http21:27
ShadowTaleerr. 1 sec lemme type this21:27
guntbert!pastebin | ShadowTale21:27
ubottuShadowTale: For posting multi-line texts into the channel, please use http://paste.ubuntu.com | To post !screenshots use http://tinyurl.com/imagebin | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.21:27
JanCdo you have a working internet connection on that machine?21:27
ShadowTaleIt's hard lined into the router. plus before I installed ubuntu the wireless internet was working on windows vista21:28
ShadowTaleis there a command like "ipconfig" were i can see if i'm connected to the internet?21:28
JanCyou only have wireless on the machine?21:28
ShadowTaleI have wireless and I'm hooked into the internet with a ethernet cable21:29
guntbertShadowTale: type ip ad   -- should give you a list of interfaces and addresses21:29
JanCor just try "ping www.ubuntu.com"  ;)21:30
JanChm...21:30
ShadowTalehi, my firefox crashed21:31
ShadowTaleI didn't get a chance to read a response. i had said i'm hooked up to the internet via Ethernet cable21:31
guntbertJanC: no - there remain too many possibilities when that ping fails21:31
guntbertShadowTale: type ip ad   -- should give you a list of interfaces and addresses21:31
ShadowTaleok it looks like 00:00:00:... and so on21:32
ShadowTale"lo: <loopback,up,lower_up> mtu blah blah blah21:33
ShadowTaleeth0: <brodcast,multicast> mtu 1500 gdisc noop state down glen 100021:33
ShadowTaleso I think your right i'm not connected to the internet21:33
guntbertShadowTale: here that part is wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 ----    link/ether 00:19:d2:0a:d2:a1 brd ff:ff:ff:ff:ff:ff ---    inet 192.168.0.11/24 brd 192.168.0.255 scope global wlan021:34
fbc-mxMTecknology, I created two identical primary particions on my identical sata drives then ran "mdadm --create /dev/md0 --level=1 --raid-devices=2 /dev/sdc1 /dev/sdd1" but when I do a fdisk -l is says no particions found. What am I doing wrong?21:35
ShadowTalei don't have that part displaying21:35
guntbertShadowTale: for wlan in my case21:35
ShadowTalei have lo: eth0: and virbr0:21:35
MTecknologyfbc-mx: fdisk -l /dev/md0 ?21:36
guntbertShadowTale: and my (not connected) eth0 looks like: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN qlen 100021:36
guntbert    link/ether 00:15:58:80:10:d1 brd ff:ff:ff:ff:ff:ff21:36
fbc-mxMTecknology, Disk /dev/md0 doesn't contain a valid partition table21:36
MTecknologyfbc-mx: do without -l; probably just need to create it21:37
fbc-mxMTecknology, do I need to remove the two identical primary particions that I previously created?21:37
ShadowTaleargh gotta wait for my little brother to get home. he apartently put some thing on our router that won't allow computers to hook up unless they're gateway or whatever is typed into our router manually.21:38
MTecknologyooh.. wait.... can you use partitions for a raid device?21:38
ShadowTale-_- gotta wait half an hour21:38
fbc-mxMTecknology,  dunno...21:38
MTecknologyfbc-mx: I think you might need to use the whole drive - I'm not sure..21:39
fbc-mxok, then I will delete the existing partitions on the drives before creating one through /dev/md021:39
micwhi21:52
micwi tried to setup a simple apache virtual host config. on other distros that worked fine: NameVirtualHost *:80 ... <VirtualHost *:80> ...21:52
micwi always get an error: VirtualHost *:80 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results21:52
micwany help what could be wrong?21:53
RoyKsee what NameVirtualHost is set to and use the excat name in VirtualHost21:54
RoyKVirtualHost 80:* and <VirtualHost *:80>21:55
RoyKet cetera21:55
micwthe problem was the 000-defaults within sites-enabled21:56
micwthere was virtualHost *21:57
micwwhen coming from a different distro (like gentoo in my case) ubuntu feels very wired...21:58
RoyKiirc the default site includes NameVirtualHost21:58
RoyKso either remove that and place it somewhere else or obay the roles set there :)21:58
micwyes. but the ports.conf says listen :80 and  (with ssl) listen :44321:59
micwso namevirtualhost should point to these ports21:59
RoyKsure, but NameVirtualHost names a string21:59
RoyKanyway - apache config is something that can be troublesome at times22:00
micwi removed the default22:00
micwon gentoo i never had problems iwth that22:00
RoyKyeah, there are some issues with the "default" config in debian/ubuntu22:01
fbc-mxMTecknology, OK, I did a mkfs.ext4 /dev/md0 and ended  up with a /dev/mp0p1 so in FSTAB i put "/dev/md0p1       /mnt/250gbr      ext4    defaults     0        2"22:01
fbc-mxMTecknology, when I tried to mount I get an unknown FS error22:01
RoyKput /dev/md0 in fstab22:02
RoyKthat's where you put the filesystem22:02
fbc-mxRoyK, awesome , that worked22:02
RoyK>(22:03
RoyK:)22:03
MTecknologymd0p1 is running into unix land :P22:03
micwi ran into problems with defaults for the bash profile as well when i tried to set up a PS1 for my user's shels22:04
* RoyK pats his Solaris 8 box22:04
micwthe scripts in ubuntu are very wired22:04
MTecknologyi like opensolaris, but it's a little too heavy for my tastes22:04
micwe.g. any of these scripts changed $PS122:04
RoyKMTecknology: 'cept zfs which rocks22:05
micwso in /etc/profile.d i could change it but at least 2 other scripts changed it otherwise22:05
MTecknologyzfs is full featured - but also heavy22:05
RoyKit is22:05
RoyKfor a 30TB workload, like we have, we're low on memory with 12GB22:06
RoyKwith dedup, double that a few times22:06
MTecknologymy best server has 8GB22:06
RoyKsupermicro has this cute little 1U box with 4 12-core opterons and 512GB RAM22:07
MTecknologymy probuction servers have 360MB22:07
RoyKwe can probably replace most of our servers with that alone and some storage place22:07
* JanC doesn't want to ask the price of that thing with 512 GiB RAM installed...22:09
RoyK:D22:09
RoyKabou EUR 30k22:09
RoyKbut - with 48 cores and 512GB?22:10
RoyKnot a whole lot22:10
JanCif you use all of it22:10
RoyKI guess we'll start off at half of that22:10
RoyKit'll reduce power consumption a wee bit22:11
JanCI guess it's useful for a huge database server or something22:11
RoyKcompared to 80+ dedicated servers22:11
JanCor to run *lots* of web traffic mostly from memory22:11
RoyKvarnish is made for that22:12
RoyKbut no, virtualisation22:12
RoyKlots of VMs instead of lots of dedicated servers22:12
JanCOTOH, it's more of a SPoF22:12
RoyKspof?22:12
RoyKyeah22:12
RoyKit is22:12
RoyKbut xen has failover22:13
JanCyou'll need at least 2  ;-)22:13
RoyKyeah22:13
RoyKbut only two 12-core CPUs and just 128 or 256 gigs of memory will help a lot too22:13
JanC"boss, please hand me some 60k please, I need it tomorrow"  :-P22:13
failoverxen has what ?22:13
RoyKshe has requested a failsafe environment :P22:14
RoyKfailover: with shared storage, xen supports failover iirc22:14
JanCto some degree I suppose22:15
RoyKour systems can handle a reboot - they're not needed that much22:16
MTecknologyI'll be developing a high availability system soon enough - I'm thinking 128GB RAM & 2TB HD on two different server - then Xen to keep virt servers on that22:16
fbc-mxMTecknology, RoyK , when I disconnect my /dev/sdb my /dev/sdc will become sdb and sdd will become sdc. How do I reassemble the raid?22:16
JanCfbc-mx: using mdadm?22:16
fbc-mxJanC, ok.. guess I'll figure it out..22:17
JanCit should do taht automaticly, using a UUID ?22:17
RoyKfbc-mx: md normally labels the drives22:17
RoyKmeaning no manual stuff needed22:18
fbc-mxRoyK, That is just too good to be true...I'll try it out though.22:18
RoyKjust reboot and let linux try to sort it out22:19
MTecknologyI love the ability Linux has to 'just sort itself out' as opposed to a certain other system22:20
* RoyK loves ZFS22:21
MTecknologyzfs just kills my view of the osi22:22
RoyKosi_22:22
RoyK?22:22
MTecknologyIMO the FS should be right down abouts level 1; ZFS  goues much higher22:23
MTecknologys/level/layer/22:23
MTecknologyhttp://en.wikipedia.org/wiki/OSI_model22:23
RoyKwell, sure22:23
RoyKbut I disagree22:23
RoyKhaving a filesystem cover everthing from media to dataset is quite awesome22:23
RoyKif you want deduplication, why not dedup all you have?22:24
JanChow is dedup implemented in ZFS ?22:24
RoyKblock level22:24
JanCI hope they are not stupid enough to use only hashes?  ;)22:24
RoyKmd5 iirc, but you can use md5+verify if you're paranoid22:25
RoyKerm, sha1, not md522:25
JanCusing only a hash means you will have data loss sooner or later22:26
RoyKyeah22:26
RoyKI spoke to someone from nexsan, they only uses hashes, but they use md5 _and_ sha122:26
RoyKthe chances of a double hit is rather low22:27
JanCwhich makes the chance somewhat smaller, but it might still happen tomorrow22:27
JanCand the day after tomorrow again22:27
RoyKor in a thousand years22:27
RoyKthe verify flag in osol is safe, though22:27
MTecknologyI have a massive update scheduled for the 1st22:29
MTecknologya lot of systems going 9.04 to 10.04 - the php-5.3.x change is going to suck22:29
RoyKwhy so early? 10.04 isn't even out22:30
MTecknologyit will be22:30
RoyKwait a month or two and upgrade when it stabilisess22:30
MTecknologythe issue will be the php issues - a lot of code needs to be patched22:31
MTecknologyI've already tested everything else22:31
MTecknologyThen I'm going to try to keep the system up until the next LTS22:32
=== jldugger is now known as pwnguin
failoverquestion, wich system UEC use to create virtual machines?22:37
failover* to run virtual machines ?22:37
scari am setting up some brand new servers... data and settings will be transferred to them, though (web sites, mailing lists, ...).  i was hoping to start with 10.04 but, would it be better to start with 9.10 and then upgrade later? why?22:47
MTecknologyscar: personally... I'd do 10.04 - overcome any issues with it up front and avoid the whole upgrade process22:50
MTecknologyscar: and... 10.04 is an LTS that's being released very soon22:50
MTecknology5 days22:50
scari do have until about mid-june to deploy everything22:50
MTecknologyIf I were doing it, I'd use 10.04.22:51
MTecknologyIf you want to be able to copy/paste your old systems - 9.10 (if that's what the old systems are)22:52
scarhehe i don't know... they are virtual servers on bluehost.com they run some type of GNU/Linux22:53
MTecknologyI don't know much about GNU, but if it's Linux you should be able to easily drag/drop configs - different system means you may need to use a different location - but for most Linux systems things fall pretty much in the expected places22:54
MTecknologyYou should figure out what they're using now22:54
MTecknologyif it's ubuntu, lsb_release -a22:57
ShadowTaleis there any for sure way to see if my ubuntu server is getting internet? I have it hooked up to the ethernet cable, I was told "ip al" earlier on this channel. but i really don't know what to look for to see if it is connected22:57
MTecknologyShadowTale: ping google.com22:58
scarMTecknology, it doesn't have lsb_release22:58
ShadowTaleit says "ping: unknown host google.com"22:59
MTecknologyscar: ls /etc/*version22:59
MTecknologyscar: what file shows up?22:59
MTecknologyShadowTale: no internet23:00
MTecknologyShadowTale: try dhclient eth023:00
scarMTecknology, nothing23:00
MTecknologyscar: odd, that means it's likely not redhat, debian, or slackware23:00
MTecknologyscar: cat /etc/issue ?23:00
ShadowTale"cannot create /var/lib/dhcp3/dhclient.leases: permission denied23:01
scarMTecknology, no such file or directory23:01
MTecknologyShadowTale: sudo23:01
ShadowTalek i'm there23:01
* RoyK takes out his soldering iron http://xkcd.com/730/23:02
MTecknologyscar: ok... what do you see in ls -l /home/ ?23:02
ShadowTalehttp://xkcd.com/347/ is my favorite xkcd23:03
ShadowTaleummm23:03
ShadowTalei do not see -1/home/23:03
ShadowTalemy install did crash at the final half "setting up passwords" and whatever lol23:03
MTecknologyShadowTale: hu?23:04
ShadowTalenvm23:04
MTecknologyShadowTale: permission denied  17:01 < MTecknology> ShadowTale: sudo23:04
MTecknologyShadowTale: coupled with previous suggestion?23:04
ShadowTale-1/home: no such file or directory23:04
scarMTecknology, it has a link to home4, and in that is our username23:04
ShadowTaleyeah i tried sudo23:04
ShadowTalenothing in sudo says "home"23:05
MTecknologyShadowTale: pastebin what you do when you see sudo -s23:05
MTecknologydo<->see23:05
MTecknologyscar: .....23:06
MTecknologyscar: Do you at least have cat /proc/version ?23:06
scarLinux version 2.6.28-10.21.intel.E1000E.BHsmp (kernel@bluehost.com) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-46)) #1 SMP Tue Mar 23 13:17:07 MDT 201023:08
MTecknologyhm.. you should have /etc/redhat_version23:08
MTecknologyanyway - now we know what OS you have :P23:09
ShadowTalehttp://pastebin.com/raw.php?i=XwDBjMTr23:10
scarMTecknology, some red hat variant?23:11
MTecknologyscar: ya23:12
MTecknologyShadowTale: man sudo23:12
ShadowTalecat proc version brings up "Linux version 2.6.310140server (buildd/2crested) (gcc version 4.4.1 (ubuntu 4.4.1-4ubuntu8) ) #48-Ubuntu SMP /fru ict 16 15:07::34 UTC 2009"23:13
ShadowTaleok "man sudo" brings upo a ton of text23:13
MTecknologyscar: You may as well start with 10.04 - you're going to have the same hurdles wherever you start23:14
scaracknowledged23:15
MTecknologyscar: the biggest issue will be that 1) redhat keeps software pretty far out of date and 2) the configs will be different23:15
MTecknologyoverall - it's all linux - you can make it all work - and you should be able to do so in the time limit you have23:16
scari think so too23:16
MTecknologyShadowTale: how much of it did you read?23:17
ShadowTalei read the opening discription and a few of the commands that struck my eye23:17
MTecknologyShadowTale: and do you have your answer yet?23:17
scarRoyK, erm... what does that do?23:18
ShadowTalenot really. I have no idea why/if i'm not getting internet.23:18
MTecknologyShadowTale: http://gd.tuwien.ac.at/linuxcommand.org/learning_the_shell.php23:18
ShadowTaleI used to have to program c# in the command line >.<23:18
ShadowTaleso i sorta get the basic idea.23:19
ShadowTalebut not how to do it with linux23:19
ShadowTaleso thanks for that link i'll try reading it23:19
MTecknologyIt should get you to a clue of how to run the command I gave you - time to learn ;)23:19
ShadowTaleargh this sucks. i just want a working server right now lol23:20
MTecknologyShadowTale: you don't want to know how to use it?23:20
ShadowTaleI see why people hire teches23:20
MTecknologythat link covers the absolute basics23:20
IrunongamesI need to download mercurial onto my server but sudo apt-get mercurial does not work23:20
Irunongamessays it can not find the package23:20
MTecknologyIrunongames: "sudo apt-get mercurial" ?23:21
IrunongamesI need to do it to run "hg clone <link>"23:21
MTecknologyIrunongames: "sudo apt-get mercurial" ?23:21
Irunongamessudo apt-get install23:21
MTecknologydoes aptitude search mercurial show it?23:22
Irunongamesidk how to do that23:22
IrunongamesI am new to server23:22
MTecknologyI just told you how23:22
MTecknology!info mercurial23:23
ubottumercurial (source: mercurial): scalable distributed version control system. In component universe, is optional. Version 1.3.1-1 (karmic), package size 52 kB, installed size 332 kB23:23
ShadowTalehey MTecknology, how do i log in as my _root user?23:23
MTecknologyShadowTale: man sudo23:23
ShadowTalethanks23:23
fbc-mxRoyK, It was too good to be true.. I disconnect /dev/sdb and reboot and /dev/md0 has nothing in it.23:25
ShadowTalehow do i get out of all this text in "man sudo" i can't seem to get out of this read me file thing23:25
MTecknologyq23:26
ShadowTalethanks23:26
MTecknologyShadowTale: you figure out how to run dhclient yet?23:29
ShadowTaleuh.........23:30
ShadowTale"permission denied"23:30
fbc-mxMTecknology, I disconnect /dev/sdb and reboot and /dev/md0 has nothing in it. When I try to recreate the raid it tells me that sdb has an ext2fs file system on it..23:31
ShadowTalewhen i type dhclient23:31
jpdsShadowTale: Try: sudo dhclient23:32
ShadowTaleoh cool a bunch of stuff popped up23:32
MTecknologyjpds: I was trying to guide him into figuring that out - i failed23:32
MTecknologyfbc-mx: I wish I knew how to help you further.. I have very limited experience with mdadm23:33
ShadowTaleultimately though it says "chown: failed to get attributes of '/etc/resolv.conf' : No such file or directory23:33
ShadowTale"*reloading /etc/samba/smb.comf cmbd only"23:33
fbc-mxMTecknology,  k thanks. I'll try to figure it out..23:33
ShadowTaleMTecknology:  this is awesome that you take out of your time to help people out like this.23:34
MTecknologyJanC: You around to try to help fbc-mx?23:34
MTecknologyShadowTale: many ubuntu users do it23:34
ShadowTaleholy crap it's doing something23:34
ShadowTaleI think i might be connected23:34
MTecknologyShadowTale: now ping23:35
ShadowTale"sudo apt-get install" it's downlioading stuff i think23:35
MTecknologyor that23:35
ShadowTalew00t! i'm getting pings!23:35
ShadowTale37.6 ms23:35
ShadowTale35ms23:35
ShadowTale40ms23:35
MTecknologystop23:35
ShadowTalesorry to spam that lol23:35
ShadowTalehow do i stop the pinging?23:35
* MTecknology is getting VERY tired of the spam on TV23:36
ShadowTaleq?23:36
jpdsShadowTale: Ctrl-C23:36
MTecknologyweather warnings make me want to stop having cable23:36
ShadowTalesweet it's downloading mercurial now23:37
ShadowTaleTHANKS!!! i'll be on later.23:40
fbc-mxMTecknology, I think I figured it out... it changed the name of the block device only. It's no longer /dev/md0 now its /dev/md_d023:41
MTecknologyfbc-mx: interesting.. glad you figured it out :)23:42
MTecknologyfbc-mx: oh - as RoyK mentioned earlier - cat /proc/partitions23:43
MTecknologymight have helped - I didn't think of it, sorry23:43
fbc-mxMT nope what ever I figured out didn't really work23:49
fbc-mxMTecknology,  nope what ever I figured out didn't really work23:49
MTecknologyfbc-mx: what if you recreate the device as /md_d0 ?23:51
MTecknologyfbc-mx: I'm guessing though...23:52
fbc-mxMTecknology, I'm gonna try the mdadm --reassemble command and see if that helps23:52
MTecknologygood luck23:52
fbc-mxMTecknology,  No matter what I try I get mdadm: Cannot open /dev/sdc: Device or resource busy23:55
fbc-mxMTecknology,  nothing is really using  it,, it's not really assigned to anything.23:55
JanCit's not mounted?23:55
JanCand it's not being fsck'ed or something?23:55
fbc-mxJanC, nope23:56
MTecknologythere we go - a smart person to help :)23:56
MTecknologyI'm gonna take a nap now23:57
fbc-mxJanC, then I tried sudo mdadm --assemble /dev/md0 /dev/sdb /dev/sdc and it tells me it has no SUPERBLOCK23:57
fbc-mx/dev/sdc has no superblock23:57
JanCis this an old RAID array, or something you just created ?23:57
fbc-mxJanC, /dev/sdc has no superblock23:57
fbc-mxJanC, I just created it and removed /dev/sdb23:58
fbc-mxJanC, sdb23:58
JanCeh23:58
fbc-mxJanC, sdc is now sdb and sdd is now sdc23:58
JanCyou created it as sdc + sdd ?23:59
MTecknologyya, then he removed sdb23:59
JanCyou sure you got the disk names right?  ☺23:59
fbc-mxJanC, like this sudo mdadm --create /dev/md0 --level=1 --raid-devices=2 /dev/sdb /dev/sdc23:59
JanCeh23:59

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