/srv/irclogs.ubuntu.com/2010/05/31/#ubuntu-server.txt

Italian_Plumberhaving an interesting problem with my DVD drive -- it can show the directory listing but can't read any of the data itself.00:23
Italian_Plumberhttp://pastebin.com/3g1TRrV700:25
ruben23hi guys i have 50 PC unit want to used UNE to install, how to install them on a fastest way and all pc dont have disc drive..any suggestion...?00:29
=== tyler_d8 is now known as tyler_d
tyler_dI am trying to install 10.04 64 bit and upon detecting the hard-drives it comes up with "Configure iSCSI volumes" I have tried 4 different hard drives, and I don't have an iscsi device, nor even a scsi drive, they are all sata drives....?00:39
julianciSCSI is related to SAN. Is it only giving you iSCSI as an option?00:41
tyler_djulianc: yes, only the iSCSI option, or roll back, which just kills the system00:41
tyler_dit would appear that their is an option that is simply not there, ie. just whitespace that you can select - no menu option associated with it.00:42
juliancTried using an alternate install disc or network install?00:43
tyler_dI have also tried to install install using a different usb device, thinking that this may be a corrupt installation genre - with the same result00:43
tyler_dwould love to try a network install, however never done it00:43
juliancDid you get any messages about needing to load additional drivers for disk controllers?00:44
tyler_dno disk controllers involved, straight off the board, an xfx nvidia00:45
tyler_d680i00:45
tyler_densured that the fakeraid was turned "off"00:45
tyler_dand have even flashed the bios for good measure00:45
tyler_dI have just changed to a different sata - changed the usb port that was being used, and restarted, and somehow now it has picked it up00:52
tyler_dhowever thats just silly00:52
juliancYou were installing from a flash drive?00:56
tyler_dyes, I still am00:57
Zeldadoes samba share files over the WAN or LAN only?01:41
juliancSamba can share files over any network (even over the Internet).01:49
juliancAutomatic detection of computers in a workgroup/domain is limited by subnet.01:50
juliancIdeally, one would keep Samba shares behind a firewall. Even if not using workgroups/domain as a major part of local network infrastructure, it's possible to just point to the Samba share by hostname/IP.01:52
Zeldajulianc- thanks. I think what I want to do, is create an openssh or SFTP server then02:04
bogeyd6-Zelda, samba can share on both, and to setup ssh server just go to terminal and type "apt-get install openssh"02:14
bogeyd6-Zelda, sorry its just "ssh" not openssh02:14
Zeldabogey6: thanks!02:15
=== bogeyd6- is now known as bogeyd6
bogeyd6hmm02:31
=== bogeyd6 is now known as Guest85094
=== Guest85094 is now known as bogeyd6-
ZeldaOk, so I'll create a share on my LAN so I can stream stuff to my xbox360. And for the later, should I install openssh? This has sftp correct? This would be for the people that are on different subnets and over the WAN.02:44
Zeldaheres what I want to do to make it short. I want to have a server where my family can access it from their computers. They are not on my LAN. however I want to be able to share files and have them backup their machines on my server. Whats the best procedure to do this? (meaning the easiest)02:45
ZeldaOr people are using PS3mediaserver.. is that easy to setup for my xbox360?02:46
Zeldatrying to create a server, and run sw raid 1 and then backup to a drobo eventually.02:48
Zeldaor question, is raid 1 good to run if say your primary hdd gets corrupted, it could corrupt the secondary couldnt it?02:49
juliancCan the Xbox 360 use SFTP natively, or at all?02:51
ZeldaNo. You can create like a "share" network drive on the xbox, but no sftp02:57
jmazaredohi, why do many prefer command line on servers wothout gui? ive been using ubuntu server with gui and find it easier with gui02:58
Zeldawhat gui you using?02:58
juliancA GUI can consume precious resources that the server could otherwise be putting to good use.02:58
bogeyd6-people use servers jmazaredo for resource intensive multiuser applications and adding a GUI where none is called for takes away from those scarce resources02:59
Zeldaindeed.02:59
jmazaredoyes but administering will be lot easier right?02:59
jmazaredoand with resources nowaday just a little it will consume03:00
jmazaredoservers ranging from 8 to 16gb ram a gnome or any gui will just use some03:00
juliancIt could be easier, sure. One thing I sometimes do is install a few GUI-based tools, and run them over SSH with X11 forwarding turned on. That way, I have access to GUI tools without needing to have a desktop environment always running.03:01
uvirtbotNew bug: #587717 in mysql-dfsg-5.1 (main) "package libmysqlclient16 (not installed) failed to install/upgrade: intentando sobreescribir «/usr/lib/libmysqlclient.so.16.0.0», que está también en el paquete mysql-cluster-client-5.1 0:7.0.9-1ubuntu7" [Undecided,New] https://launchpad.net/bugs/58771703:01
bogeyd6-jmazaredo, administration ends up being more complicated the more servers you have running03:01
jmazaredoyes thats why i use gui03:01
Zeldaanyone get my question, as to what im trying to do?03:01
bogeyd6-log into my 850 servers one by one and see why multissh is ftw03:02
tyler_djulianc: however like I am finding right now, utils like disk-util don't work well on remote connect, and quite often kill the server on X-forward03:02
jmazaredo850 servers damn!03:02
bogeyd6-Zelda, no, im not clear on what you are trying to do03:02
jmazaredoif im using cli i will be doomed03:02
juliancZelda: since the Xbox is Windows-based, it might be a good idea to go with Samba, since it's lowest common denominator for all the systems involved.03:03
juliancMuch easier to set up Samba as a file server if you don't have to have authentication.03:04
Zeldabogeyd6: Im trying to build a server. I want to have my family backup to it and beable to share files and such. These family are not on my LAN, but over WAN. I want to know what I need to do to have them be able to backup/share files on my server. /03:04
bogeyd6-is this WAN internet based?03:04
Zeldajulianc: yes. Thats what I was thinking using Samba for my intranet03:05
Zeldabogeyd6: yes03:05
Zeldaobviously I want the most secure way of doing that.03:05
ZeldaSo on the intranet, use samba to share a network drive to other computers, including the xbox360. for Media. (i.e movies, music, photos)03:06
bogeyd6-I can think of no easy way03:06
Zeldahowever for the family that is on the WAN (internet) whats the easiest way to create a server?03:07
bogeyd6-The most secure method is obviously samba and vpn. The easiest is just samba with security = user. The fastest is probably to think of something else03:07
Zeldacreate an openssh and have them create accounts?03:07
Zeldayeah I dont want to really use ftp since its terribly slow.03:08
bogeyd6-having your whole family ssh is probably not in the realm of realistic03:08
Zeldayeah. true...03:08
Zeldaso what is possible? VPN?03:08
Zeldaso ftp would be the easiest then for people outside my lan right?03:09
Zeldai'm really wanting to go with the samba +vpn. if its the most secure.03:10
ZeldaMy router will support up to 5 VPN tunnels I think so I could have up to 5 people at once.03:11
bogeyd6-Samba is def the way to go03:11
bogeyd6-even with out VPN03:11
bogeyd6-!samba03:11
ubottuSamba is the way to cooperate with Windows environments. Links with more info: https://wiki.ubuntu.com/MountWindowsSharesPermanently and https://help.ubuntu.com/10.04/serverguide/C/windows-networking.html - Samba can be administered via the web with SWAT.03:11
bogeyd6-:)03:11
bogeyd6-!vpn03:11
ubottuFor more information on vpn please refer to https://wiki.ubuntu.com/VPN03:11
ZeldaI thought samba wasnt secure over WAN.03:11
bogeyd6-:PP03:11
bogeyd6-samba is secure if you set the security level to user03:12
bogeyd6-then each person just maps a network drive with their username and password. easy as pie03:12
ZeldaOk, i'll do some reading. thanks for pointing me in the right directino.03:12
juliancThat will require setting up the Samba server as its own domain controller, IIRC.03:12
bogeyd6-julianc, negative ghostrider03:13
Zeldathe pattern is full. ...03:13
bogeyd6-samba will just use its local user/pass file03:13
bogeyd6-zelda setting up samba only takes about 4 minutes or so03:13
Zeldathanks. I will read on it. I may mess with it in a vm first before I acutally implement it out right.03:14
bogeyd6-the guide makes it look overly complicated but in reality you only install it, set security = user, then setup your shares for each person.03:14
Zeldaoh thats real easy03:14
bogeyd6-i can post a share if you would like to see how one is setup03:14
Zeldasure, that would be cool03:15
Zeldayou think an old p4 2gb ram is enough for that?03:15
uvirtbotNew bug: #587722 in mysql-dfsg-5.1 (main) "package mysql-server-core-5.1 (not installed) failed to install/upgrade: intentando sobreescribir «/usr/bin/my_print_defaults», que está también en el paquete mysql-cluster-server-5.1 0:7.0.9-1ubuntu7" [Undecided,New] https://launchpad.net/bugs/58772203:15
uvirtbotNew bug: #587724 in mysql-dfsg-5.1 (main) "package mysql-client-core-5.1 (not installed) failed to install/upgrade: intentando sobreescribir «/usr/bin/mysql», que está también en el paquete mysql-cluster-client-5.1 0:7.0.9-1ubuntu7" [Undecided,New] https://launchpad.net/bugs/58772403:15
ZeldaI was thinking about getting something more energy efficient though03:16
juliancShould be more than enough, as long as it isn't churning 24/7.03:16
bogeyd6-Zelda, http://pastebin.ubuntu.com/442029/03:16
bogeyd6-think it will be just fine unless you plan on watching dvd quality movies over that net link03:17
Zeldajulianc: what if i am planning on running it 24/7 but not accessing it constantly.03:17
Zeldabogeyd6: yeah I may eventually do that.03:17
bogeyd6-Zelda, obviously you dont want public = yes03:17
ZeldaIm thinking of getting new hardware.. intel or amd.. I have some specs for though03:17
bogeyd6-glad i could help, gl03:17
Zeldabogeyd6:indeed03:18
ZeldaI was planning on getting newer hardware, I have an i3-530 system spec'd out or an amd phenom II x2 specd. sound like that would work fine?03:19
bogeyd6-what kind of hdds?03:19
bogeyd6-storage subsystem is where its going to count the most03:19
bogeyd6-im using windows 7 for work in a vmware image rite now. i gotta say wow, makes me want to leave ubuntu03:21
twbbogeyd6-: I'm not stopping you.03:25
Zeldastandard sata 3gb 500gb03:26
Zeldasorry had to get the cake iced. :P03:26
bogeyd6-twb, ty trent03:26
bogeyd6-Zelda, prob not fast enough03:26
Zeldasas?03:27
bogeyd6-i would drop the specs on that m/b proc and upgrade to scsi or sas drives, 15k rpms should do it03:27
Zeldaor get the 6gb03:27
bogeyd6-cdw outlet prob has some rocking sas drives for around 100 each, score about 8 of them and put into a storageworks card or w/e03:27
Zeldathen I might as well get like an hp ml series server.03:28
bogeyd6-depends on your fluidity03:28
Zeldawere talking about $1k03:29
Zeldayou dont think 3gb sata or 6gb sata would be fast enouhg?03:29
twbZelda: what is this host for?03:29
Zeldasamba server03:30
Zeldaand backup server.03:30
twbWe have a lot of hosts like that, serving small businesses (say, twenty people).03:31
twbWe just use normal SATA in an md RAID1 or RAID5.03:31
Zeldayeah thats what I was thinking.03:31
Zeldasas or scsi yet superior.. gets expensive on a budget03:32
Zeldamaking a md raid 5 with like 1t or so.. maybe more.03:32
Zeldaor raid 1 for 1Tb03:32
ZeldaTB rather *03:33
twbWell, we'd normally buy disks with the best dollars-per-byte count03:33
twbWhich is around 750 or 1TB at the moment03:33
twbNo matter what size you buy, the users will fill it up03:33
Zeldawell then i guess its 2 1TB for a TB of storage03:33
Zeldaand then just add to it03:33
twbWith RAID5, you lose one drive to parity, so of 3×1TB you get 2TB effective.03:34
Zeldayeah I know how raid works.03:34
twbOK :-)03:34
Zelda:)03:34
ZeldaI worked at HP for 3 years, building servers.. heh03:34
twbMy sympathy03:35
Zeldanow I work at Cisco!03:35
twbHa!03:35
twbMy biggest bitch about cisco is their entry-level units run vxworks or something instead of IOS or linux03:36
Zeldabogeyd6: Thanks for the point in the right direction.03:36
Zeldajulianc: you too03:36
juliancYou're welcome.03:36
Zeldahahah ! yeah I know what you mean..03:37
twbTo get a shell on this one here I have to ssh in (which gives me a crippled menu interface) then hit ^Z to suspend it and get a shell03:37
Zeldawtf is with the VXworks garbage anyhow?03:37
twbZelda: the advantage over linux is that it can run in 8MB instead of 16MB03:37
twbAFAICT03:37
Zeldaso you think that getting 3 1TB SATA would be quick enough for say roughly 10 people?03:38
Zeldaover the internet03:38
twbWell, over the internet, the bottleneck will probably be the internet03:38
twbCf. disk speed, bus speed, and (say) ADSL2+ speed.03:39
Zeldayeah, I wish I got utopia... they dont offer it in my area..03:39
Zelda:(03:39
bogeyd6-we got docsis 3.0 at my house, 55mbs03:40
Zeldabut thats fast enough for people to use for a backup though03:40
Zeldalucky you man.. I only have 20mbps03:40
twbbogeyd6-: you can't get more than 22mbps (theoretical maximum) in my country03:40
juliancI'm slumming on 5. DOCSIS 3.0 is in the works.03:40
bogeyd6-thats a shame03:41
bogeyd6-it bounces from 46-55 but you gonna see 5.6MB/s downloads03:41
ZeldaComcast will support 3.0. I dont have the bandwidth. Im not going to pay them 100+ a month for just me.. heh03:41
twbOutside the major cities it's dialup (56kbps) uplink combined with satellite03:41
bogeyd6-twb, ick03:41
Zeldaha, where do you live? Canada?03:42
Zeldathat really sucks though.03:43
twb.au03:43
Zeldaah... yeah that makes sense.03:43
Zeldalol, give some kangaroo's some adrenaline shots.. heheh03:44
Zeldawell thanks twb for the advice as well.03:45
=== twister is now known as twister1
=== twister1 is now known as register
=== register is now known as Guest94168
=== Guest94168 is now known as twister23
twbThis is apparmour, right?05:28
twb[1077521.388157] audit(1275130499.951:7): type=1502 operation="file_lock" requested_mask="k::" denied_mask="k::" name="/var/run/utmp" pid=5406 profile="/sbin/syslog-ng" namespace="default"05:28
corpseim having an issue with pure-ftpd. I have all of my drives mounted to /home/ftpusers/username. They are all there with i do ls.  i have my ftp user root as /home/userftp/username. when i access the ftp with a remote computer i show zero files in the directory. i can create a folder from remote and then see that on my other systems. but then i cant see that new folder on the server07:20
twbcorpse: http://mywiki.wooledge.org/FtpMustDie07:20
twbUse SFTP.07:20
kaushalhi07:49
kaushalI am running logrotate on ubuntu 8.04 hardy server. It causes high load on the server. I have set the nice priority to 19 Still no improvment07:56
kaushalPlease suggest07:56
kaushalThe size of the logfile is around 10Gb07:57
twbniceness won't reduce load08:06
twbrotate that logfile manually.  It's probably spending its CPU cycles gzipping it.08:07
twblogrotate won't cause significant load if you've been using it already08:07
kaushaltwb: yes08:13
kaushaltwb: any workaround ?08:13
twb17:07 <twb> rotate that logfile manually.  It's probably spending its CPU cycles gzipping it.08:13
kaushaltwb: i did that08:15
kaushalI usually call it from crontab08:15
kaushalIt happens at 1 am08:15
kaushaltwb: just want to understand you said to run it manually08:17
twbWrong.08:18
kaushalI mean i did not understand that08:18
twbI mean something like "mv foo.log foo.log.oldandstupid"08:18
twbI don't mean "run logrotate from the command line"08:18
kaushaltwb: its not possible08:18
twbThat way logrotate won't see your ridiculously large historical logs, and will happily deal with small logs from now on.08:18
kaushalEvery day the logfile size is around 10Gb08:19
twbMaybe you shouldn't log so much, then08:19
kaushaltwb: any other way to handle it08:20
twbI don't know.08:20
kaushalsorry if i am bugging a lot08:20
\shrsyncing the logs on one central logfile server which deals with logfiles much better...decreasing the logging in general...production environment shouldn't log everything...it should log errors and warnings (application logfiles) etc.pp. 10Gb is really a lot of cruft08:22
kaushal\sh: ok08:24
_tydeas_if i want a home dir to be created i must add to the  /etc/login.defs the line CREATE_DIR=1?08:24
_tydeas_if i want a home dir to be created when i useradd i must add to the  /etc/login.defs the line CREATE_DIR=1?08:25
_tydeas_I am facing a strange behavior. I have installed apache and php to my server but when trying to access a php file it does not rendered to the browser but i am prompt to download the file.why is that?08:42
\sh_tydeas_, check /etc/apache2/mods-enabled/ if php module is enabled...did you restart apache2?08:50
_tydeas_mod-enabled and restarted08:51
ewookhrm. Seems like I've broken postgrey when doing the upgrade from 8.04 to 10.04. anyone bumped into the same thing? (cant upgrade the package)09:19
_tydeas_how to determine version of my ubuntu server?09:21
kaushal_tydeas_: lsb_release -a09:22
_tydeas_For one more time,php files can be rendered in the browser but only for the once under /var/www. I want the php to render for each user i have this http://pastie.org/985296 in the config.09:29
ivoks_tydeas_: restart apache09:35
ivoks_tydeas_: and access your file with *w3m*, not firefox09:36
_tydeas_w3m?09:36
ivokscommand line browser09:36
_tydeas_i have restarted apache09:36
_tydeas_why?09:36
ivokscause firefox has a wicked cache09:37
ivoksw3m does't have it at all09:37
ivoksthat makes it the best tool for testing changes in web pages09:37
_tydeas_ok it renders properly09:38
ivoksa month ago there was someone with the same issue09:38
ivoksand he was using firefox all the time09:38
_tydeas_what do i do know09:38
_tydeas_?09:38
\shwhy not disabling the cache in firefox? ;)09:38
ivoks_tydeas_: nothing, it's working; isn't it?09:38
_tydeas_you mean the problem was client side?09:39
ivoksyes09:39
_tydeas_tried google chrome same result09:40
ivoksdoes it render with w3m?09:40
_tydeas_yes09:41
ivoksthen that's it09:41
_tydeas_and what the server users09:41
ivoksnow why someone of your browsers don't reload the page from server09:41
_tydeas_they don't use w3m09:41
ivoksbeats me09:41
ivokstry shift+f5 on firefox09:41
ivokserr... ctrl+shift+r09:41
_tydeas_where09:42
_tydeas_?09:42
ivoksfirefox09:42
_tydeas_when i try to access serverhost/~testing/index.php09:42
_tydeas_i get prompt to download the file09:42
ivoksthat's firefox's cache09:42
_tydeas_same on google chrome09:42
ivokscache again09:43
ivoksit's easy to double check09:43
ivokstail access.log on server and then use firefox on client09:43
ivoksyou'll notice that firefox doesn't access your server at all09:44
ivoksor, clear cache in firefox09:44
ivoksctrl+shift+del09:44
binBASHchrome doesn't cache09:44
twbIsn't it backed onto libsoup?09:45
twbI vaguely recall that caches09:45
binBASH_tydeas_: You can check with curl or wget09:45
ivoksof course it does :)09:45
binBASHthose really don't cache :p09:45
ivoksbinBASH: he checked with w3m09:45
ivoksbinBASH: and it rendered :)09:45
_tydeas_i appear with firefox in the access.log09:45
_tydeas_I will say it again09:45
_tydeas_if i try to access a php file under Document Root /var/www09:46
_tydeas_it will be rendered properly09:46
_tydeas_if i try to access a php under a users /home/user/public_html09:46
_tydeas_i get prompt to download the file09:46
twb_tydeas_: so PHP isn't enabled for users' home directories.09:46
_tydeas_i did enabled it09:46
ivokstwb: he enabled it, restarted apache09:46
ivokstwb: it's client side cache09:47
twbOK.09:47
_tydeas_ivoks: that's what i have done09:47
_tydeas_ http://pastie.org/985296 & http://pastie.org/98532509:47
twb_tydeas_: even with a retarded cacher, you should be able to move the test.php to test2.php and try again09:47
binBASHbtw. from your pastie <FilesMatch "\.ph(p3?|tml)$">09:47
binBASHhow old is that config? :p09:47
_tydeas_yes09:47
binBASH.php3 and .phtml ?09:47
_tydeas_i downloaded the ubuntu server and was in it09:48
_tydeas_didn't create it09:48
twb_tydeas_: what does "lsb_release -c" say?09:48
_tydeas_Codename:lucid09:48
ivoks_tydeas_: what does this outputs?09:49
_tydeas_what?09:49
ivokswget -qO- http://server/~testing/index.php09:49
ivoksphp or html?09:49
_tydeas_html09:50
binBASHtry with this <FilesMatch "\.ph(p3?|tml|p)$">09:50
ivoksend of story09:50
ivoksfor firefox and chrome, please go to #ubuntu09:50
ivoksor #google and #mozilla or whatever09:50
_tydeas_i have not installed php-cgi09:50
_tydeas_does this matter?09:51
ivoksas i said, for client side questions -> #ubuntu09:51
ivoksyour apache is parsing php and renders html09:51
_tydeas_ivoks: thanks ivoks09:52
_tydeas_thank you guys09:52
_tydeas_i cleared the cache in firefox and worked09:52
=== sourcode_ is now known as sourcode
uvirtbotNew bug: #587810 in samba (main) "pam_winbind reports misleading "Access denied"" [Undecided,New] https://launchpad.net/bugs/58781010:16
federico2hi there10:18
uvirtbotNew bug: #587828 in net-snmp (main) "Row creation in snmpTargetAddrTable fails in 64-bit version" [Undecided,New] https://launchpad.net/bugs/58782811:01
=== unreal_ is now known as unreal
=== twister23_ is now known as twister23
=== seanr_ is now known as seanr
=== unreal_ is now known as unreal
alex88hi, i'm on ubuntu and i've installed fastcgi trough package libapache2-mod-fcgid, how can set the number of php processes running? i've followed this tut http://ubuntuforums.org/showthread.php?t=103841611:57
\shAlblasco1702, http://www.fastcgi.com/mod_fastcgi/docs/mod_fastcgi.html#FastCgiServer <-12:01
\shAlblasco1702, sorry..wrong nick12:02
\shalex88, http://www.fastcgi.com/mod_fastcgi/docs/mod_fastcgi.html#FastCgiServer ;)12:02
\shalex88, there is a hint on "-processes n"12:02
MasterZuFuHello everyone :). I have ubuntu 10.04 as my server with linode.com. I'm trying to get my web server to work on it. I just ran this: apt-get install exim4. How do i test to verify if the mail server is actually online without having to send an email?12:03
alex88\sh: looking at.. thank you12:03
alex88MasterZuFu: sudo netstat -tapn12:03
alex88look at port 2512:03
MasterZuFutcp 0  0 127.0.0.1:25    0.0.0.0:*    LISTEN  and tcp6  0  0 ::1:25   :::*  LISTEN   means it's working then right?12:04
MasterZuFuhmmmmm.... alex88: I seem to see that the server is running. I have a mybb forum running on my server also via apache. i tried to send myself an email from it 10 minutes ago, it still hasn't gotten here yet12:07
alex88MasterZuFu: look at logs... /var/log/mail.info for me12:11
alex88\sh: that's for the cli, not apache module12:11
MasterZuFuit's empty12:12
alex88so nothing has tried to send mails12:13
MasterZuFuhmmmmm12:13
MasterZuFuok12:13
alex88probably php tried to send via sendmail command12:14
alex88try to use that as test12:14
blackthoranyone ever had problems with raid 1 ?12:14
MasterZuFui don't know what the sendmail command is12:14
twb!anybody >blackthor12:14
ubottublackthor, please see my private message12:14
blackthorthank you twb;)12:14
blackthorsorry for being unclear12:15
blackthori have a software raid-1 crash12:15
blackthorone of 2 drives died12:15
blackthori seem to have lost 2 days of data12:15
blackthor(booting from the remaining drive)12:15
twbThat doesn't make any sense.12:15
blackthorall kinds of updates and changes are reverted back12:15
twbRAID1 is a mirror, not a backup.12:15
blackthoryes12:15
blackthorit is very strange12:16
blackthorit's the second time i am experiencing this12:16
twbblackthor: what does /proc/mdstat have to say about it?12:16
blackthorwell,  the machine doesn't boot anymore with both drives hooked up12:16
blackthorall md? are active 2/112:16
blackthorif i dig e.g. into syslog  i notice that the black hole takes place from may 27th 6am till today 9am12:17
blackthorand i am 100% positive to have worked on that machine on  28th  (files are missing etc)12:17
blackthorit weren't big files, the only explanation i am starting to think about is that the   write behind cache or buffer   hasn't been committed to the raid12:18
twbIn what way doesn't it boot with both drives?12:18
blackthorbut the weird part is, i have no warning at all12:18
blackthorwhileas in mdadm.conf:  MAILADDR root12:19
MasterZuFuhmmmmmm......for some reason webmin isn't working. it says file not found O.o12:19
twbMasterZuFu: webmin isn't supported.12:19
MasterZuFuwhat is supported?12:20
blackthortwb: other disk isn't detected anymore in bios12:20
twbI suppose ebox is, but really we encourage people to learn the normal command-line tools.12:20
twbblackthor: urk12:20
twbblackthor: maybe your controller is borked?12:20
MasterZuFui don't have time to learn normal command-line tools when my website's down :)12:20
twbShrug.12:20
blackthorhmmmm12:21
twbblackthor: I haven't seen those symptoms before, so I'm just speculating.12:21
blackthorperhaps12:21
blackthorthe same raid did the same thing 2 months ago12:22
blackthori replaced one drive and rebuilt12:22
MasterZuFudoesn't make any sense why webmin isn't working >_> grrrrr12:22
blackthornow it's the other drive that crashed12:22
twbwebmin doesn't work because it's shit code12:22
MasterZuFuit worked before12:23
twbNo, it *appeared* to work.12:23
MasterZuFucode shouldn't matter, and that's personal prefference12:23
MasterZuFui'm just trying to get my website at optimal functionality. ever since i moved from a shared host where i didn't have any chance to mess with the server and then to a dedicated host where i have a chance to mess with it I am learning how to install all these needed things myself. I didn't realize cpanel wasn't free and everyone told me to get webmin. so, i have it, it's installed, but it's not working12:25
MasterZuFuthat's after we did some serious work on apache though12:25
uvirtbotNew bug: #587858 in openssh (main) "update-motd executed even in non-interactive sessions" [Undecided,New] https://launchpad.net/bugs/58785812:32
MasterZuFui'm getting this error: http://pastebin.com/ywX7NHPr12:36
pmatulisMasterZuFu: looks like port 10000 is already in use.  investigate that12:38
MasterZuFupmatulis, I already did. when i try to go to that port I get the error: "Error-File not found"12:38
MasterZuFuhmmmmmm i think i know what might be the problem12:39
twbwebmin doesn't go via apache12:42
twbBy default it listens to all interfaces directly, allowing brute-force attacks from the internet :-/12:42
twbUse ss or netstat to find out what process is currently bound to 1000012:43
MasterZuFuwhen i first installed apache i put all my files in /root like an idiot. a friend of mine helped me sort t out to the proper location of /var/www/, there was a folder in that directory called "webmin". I think that may be the case that it's still pointed to /root instead of /var/www/12:43
twbWell, /var/www is really hysterical raisins.  Somewhere in /srv/ would be the FHSly way to do it.12:43
pmatulisMasterZuFu: webmin doesn't use apache.  it has it's own perl-based webserver12:44
MasterZuFui know that12:44
MasterZuFuwhen i installed webmin there was a file in my main web files location, or directory i should say, named "webmin".12:44
MasterZuFui moved it12:45
MasterZuFunow i have to find whatever file is pointing to that directory, and change it to the new one12:45
MasterZuFui think that's the issue maybe12:45
MasterZuFuand /srv is empty12:45
twbMasterZuFu: /srv is REQUIRED to be empty until you put things in it12:45
MasterZuFuok12:45
twbIt's reserved for the system administrator12:45
MasterZuFuuh....i am the sysadmin12:46
twbWhich is why it's empty12:46
MasterZuFuok12:46
twbI mean that packages aren't allowed to place files in there without asking you12:46
MasterZuFuit might have asked me12:46
MasterZuFui dunno12:46
MasterZuFuwhat file tells webmin where to look for all the files for it's functionality?12:46
MasterZuFui can't seem to find anything12:46
MasterZuFui'm in /etc/webmin/conf right now, it has this line in there: path=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin12:47
twbYou should probably ask #webmin (or whatever) for help with webmin12:47
MasterZuFuno one's talking in #webmin12:48
twbThen be patient12:48
RoyK!webmin12:48
ubottuwebmin 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.12:48
pmatulisMasterZuFu: doesn't it log error messages?12:49
MasterZuFui'm looking at them now12:49
pmatulisMasterZuFu: that should have been your first step12:49
MasterZuFui'm still learning all this stuff12:49
MasterZuFu29852/apache212:51
MasterZuFutcp        0      0 0.0.0.0:10000           0.0.0.0:*               LISTEN12:51
MasterZuFuwtf?12:51
MasterZuFunvm12:52
RoyKMasterZuFu: fuser -n tcp 1000012:52
twbIMO webmin borks your system sufficiently that you might as well just reinstall12:52
MasterZuFu10000/tcp:           3143512:52
twb(At which point you will learn to keep /home and /srv on separate partitions from /)12:52
MasterZuFuyeah i'm just...lost. I've never really had to manage a server myself before. I always just used cpanel.12:54
twbYou could start by reading the Ubuntu Server Guide and the RUTE12:55
MasterZuFui wish i had the time to. I'm having to make time just to do this as it is. honestly webmin never really worked for me anyways, half the modules always said they weren't installed when they were. being that this is a new server and i'm having to set it up completely from scratch I'm having to learn the hard way on exactly what I actually need to have installed when running my website. i only just realized email didn't work and members couldn't12:56
twbIf you want to be a sysadmin, you will have to learn this12:57
MasterZuFui know that12:57
MasterZuFuit's just difficult because 'm having to juggle so many things at once12:57
twbIf you know a good linux shop nearby, you could rent one of their sysadmins to help you get up to speed, then gradually take over responsibility yourself12:58
MasterZuFuwell...I've got a friend of mine who is an exclillent ubuntu sysadmin, he's just hardly ever on :P12:58
MasterZuFuand i'm in japan :P and don't know the language lol, so i doubt i'll be finding any linux shops around here12:59
twbtokyo?13:00
MasterZuFuno, i'm in a smaller town, yokosuka13:01
twbHmph.  The .jp resident I know doesn't appear to be around, or I'd ask him to recommend one.13:01
=== lau is now known as Guest72879
MasterZuFuit's quite alright. i'll figure it out. i'll just turn off activations required emails until i get this all sorted out. it's just a huge security risk to do so but if i don't i don't get any more members.13:02
blackthorMasterZuFu: perhaps you should just buy a copy of  cPanel ;) it will save you a lot of headache, stress and time13:04
MasterZuFuhow much do they run?13:04
blackthoror plesk13:04
twbIs cpanel really suitable for a single-host VPS?13:05
wise_cryptMasterZuFu: !webmin13:05
blackthordonno, didn't know that was the point13:05
twbI thought it was more for "so, I have a HPC and I want to rent out time on it to my customers"13:05
blackthori've used ispconfig before13:05
wise_crypt!webmin13:05
ubottuwebmin 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.13:05
MasterZuFui know wise_crypt13:05
twbwise_crypt: it's "!datum >user"13:05
wise_cryptlol13:05
MasterZuFuok, well...i just sent a message to my friend. I guess I'll have to wait this out till he gets back online next time and can take a look at it.13:06
pmatulisMasterZuFu: besides installing webmin, what are you trying to achieve with your Ubuntu server?13:08
pmatulis(that we can help with)13:09
blackthorgetting xss security holes ;)13:09
MasterZuFuwell i was hoping webmin would help me fix my issue with the email13:09
=== Guest72879 is now known as lau
MasterZuFuplus i'm trying to install ssl and that's also giving me issues13:10
MasterZuFuwell hey folks, i really have to go. i have to get back to work. see you all later, thanks very much for the support :)13:12
uvirtbotNew bug: #587881 in php5 (main) "package libapache2-mod-php5 5.3.2-1ubuntu4.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 10" [Undecided,New] https://launchpad.net/bugs/58788113:31
sommermorning13:36
kaushalhi13:41
kaushalI have a customized init shell script on 8.04 server after reboot it does not come up13:41
kaushalAny clue ?13:41
sommerany errors in /var/log/boot.log ?13:44
Jeeves_kaushal: With init shell script you mean a script in /etc/init.d?13:47
kaushalJeeves_: yes13:49
Jeeves_Dit you run update-rc.d ?13:50
kaushalyes13:50
kaushalI did update-rc.d resque defaults13:51
kaushalresque is the name of the script13:51
Jeeves_Hmm, ok.13:51
Jeeves_And if you run /etc/init.d/resque start, everything is ok?13:52
kaushalyes13:52
Jeeves_Maybe you're using temporary directories that don't exist yet?13:52
kaushalI dont use temporary directories13:52
Jeeves_No pidfile?13:53
Jeeves_ Are you using full paths?13:53
Jeeves_Or are you depending on PATH?13:53
kaushalI am using Absolute path13:53
Jeeves_Hmm. That's odd than.13:54
Jeeves_Can you pastbin your script?13:54
kaushalsure13:58
=== jo-erlend_ is now known as jo-erlend
kaushalJeeves_: http://fpaste.org/61qB/14:14
kaushalJeeves_: did you have a chance to look at it ?14:20
=== kaushal is now known as krssup
EtienneGhggdh, how did the EBS testing went in the end?14:33
baccenfutterhey, I want my internal DNS to resolv my DynDNS to the internal IP of the www server, rather than passing the request upwards14:34
baccenfuttercould anyone gimme hint on waht I am looking for?14:34
EtienneGhggdh, got your comment in the bug, I see it is all good!14:38
Jeeves_krssup: Sorry, I was afk.14:38
Jeeves_Can you repaste?14:39
=== krssup is now known as kaushal
tarviddpkg-reconfigure php5-cli asks no questions14:39
kaushalJeeves_: sure14:39
tarvidhow can I get the default /etc/php14:39
kaushalhttp://fpaste.org/yHnu/14:39
Jeeves_kaushal: Maybe you should add 'set -e' and exit with explicit exit codes?14:40
Jeeves_0 on success and 1 on failure14:40
kaushalJeeves_: please let me know on that bash script ?14:42
kaushalI mean pastebin14:42
cybrocop_Hello All. Is there a known issue where Eucalyptus cannot use a bukkits directory that is mounted via SMB?14:43
Jeeves_http://fpaste.org/FZpx/14:44
kaushalJeeves_: so do i need to run it by hand ?14:45
kaushalor check it while booting ?14:45
Jeeves_kaushal: No, it should work while booting14:45
kaushaloh ok14:46
Jeeves_(if it depends on this script)14:46
kaushalwhat does set -e do ?14:46
Jeeves_No clue what the thing you're starting does :)14:46
kaushalJeeves_: is there a way to know why it did not come up ?14:47
Jeeves_kaushal: Add debugging to it14:47
Jeeves_echo some more14:47
tarvidany way to reconfigure php5 to distribution defaults?14:54
kaushalJeeves_: it did not worked14:55
Jeeves_tarvid: 'apt-get remove --purge' 'apt-get install' ?14:55
Jeeves_kaushal: Did you see any debugging while booting?14:55
kaushalJeeves_: can i redirect any error to a file ?14:56
tarvidwhy does dpkg-reconfigure php5 not ask questions?14:56
kaushalJeeves_: since my server is a remote server14:56
kaushaland I am not able to see the console14:56
Jeeves_kaushal: You can echo to a file from the script14:57
kaushalJeeves_: it worked14:57
Jeeves_tarvid: What should it ask?14:57
kaushalLet me pastebin it14:57
tarvidwhether to keep existing configuration or install distribution default14:57
kaushalJeeves_: http://fpaste.org/fFgY/14:58
Jeeves_kaushal: Ok, and you see stuff in /root/status?15:00
kaushalyes15:00
tarvidafter removing php5, install php5 does not recreate /etc/php515:00
kaushalI see 06:47:03 up 0 min,  0 users,  load average: 0.44, 0.10, 0.0315:00
Jeeves_tarvid: You should purge all php5 packages, remove /etc/php5 and reinstall them15:01
Jeeves_At least, that's how I doe it15:01
Jeeves_Obviously, there migt be more efficient methods15:01
tarviddpkg-reconfigure php5 should do that15:02
Jeeves_No, it shouldn't15:02
tarvidwhy not?15:03
Jeeves_Or else it would, and it doesn't, so it shouldn't15:03
tarvidThe following packages will be REMOVED:15:03
tarvid  freeradius-dialupadmin* libapache2-mod-php5* php5* php5-cli* php5-common*15:03
tarvid  php5-gd* php5-imap* php5-mcrypt* php5-mysql* php5-xcache* phpmyadmin*15:03
kaushalJeeves_: any further suggestion ?15:04
tarvidrather destructive15:04
hggdhEtienneG: I think you will have to restart your SC ;-)15:06
EtienneGhggdh, ah ... why so?  you found a mem leak?15:07
Jeeves_kaushal: Yes, the script you're calling doesn't work :)15:10
hggdhEtienneG: I do not know, no shell access. But after allocating about 513 volumes, all calls to euca-describe-volumes take forever, and then return errors15:11
EtienneGhggdh, I see ... is there anything I could check to help troubleshoot that?15:12
hggdhEtienneG: yes, the SC logs, plus a 'ls -l /var/lib/eucalyptus/volumes' -- thank you BTW15:14
hggdhzul, today is a holiday is the US...15:15
zulhggdh: right i forgot enjoy your day "off" :015:16
kaushalJeeves_: where do i seek help ?15:16
hggdhzul: sorry. But I will get to them euca bug tomorrow15:16
zulhggdh: no problem15:16
Jeeves_kaushal: The author of the script you're calling or the product you're using15:18
cybrocop_Hi.. can anyone help me with debugging a Eucalyptus issue?15:19
tarvidPHP Deprecated:  Comments starting with '#' are deprecated in /etc/php5/cli/conf.d/imap.ini on line 1 in Unknown on line 015:19
tarvidPHP Deprecated:  Comments starting with '#' are deprecated in /etc/php5/cli/conf.d/mcrypt.ini on line 1 in Unknown on line 015:19
tarvidHello World!15:19
tarvidand phpMyAdmin is now broken15:20
tarvidCannot load mysqli  extension. Please check your PHP configuration15:20
tarvidNo wonder people are switching back to php5.215:22
tarvidsimilar issues with python15:22
VadimCKsup lads, i have a ubuntu server acting as a gateway with shorewall, is there a way to redirect a certain url to a remote http proxy? the remote proxy has authentication on it? maybe setup a local transparent proxy and redirect port 80 to it and have a rule in local squid to redirect to remote proxy? anybody know squid well enough is this possible?15:30
bogeyd6-VadimCK, setup a static route15:37
VadimCKi can do the shorewall redirect to local proxy15:37
bogeyd6-VadimCK, setup static route, put the squid into transparent mode to put everything through that remote proxy15:37
bogeyd6-put up a virtual image of that squid and you wont need any extra hardware either.15:38
VadimCKthe remote squid needs to have auth15:38
bogeyd6-it will still ask for the authentication15:38
VadimCKis it possible to get the local squid to redirect to a remote squid?15:39
kaushalJeeves_: You around ?15:40
bogeyd6-VadimCK, both will be in transparent mode, so you just set your gateway accordingly15:41
VadimCKbut the remote has to have auth15:41
VadimCKits on the internet15:41
VadimCKit was my understanding that transparent meant no auth15:41
VadimCKam i mistaken?15:41
bogeyd6-VadimCK, i keep forgetting you need auth15:42
VadimCKill look through the squid documentation there must be a forwarding rule15:43
VadimCKfor load balancing etc..15:43
blackthori want to find out which raid controller is used in my machine,  of course, dmesg is truncated.   how can i see what hardware is in it ?15:48
blackthor(commandline)15:48
blackthorcat /proc/bus/pci/devices ?15:49
blackthorthat doesn't reveal much..15:50
VadimCKwhat type of interface is on the RAID controller blackthor ?15:50
blackthorprobably sata15:50
VadimCKboard side15:51
VadimCKpci15:51
VadimCKpci-e15:51
blackthorno idea, it's a machine in a datacenter15:51
VadimCKlspci will list your pic devices15:51
VadimCK*pci15:51
blackthoraha!15:51
blackthorok that was what i was looking for!15:52
blackthorthank you;)15:52
VadimCKno problem, glad to help15:52
blackthorand another question,  how can i convert timestamps such as  [22215797.203452]  to the actual date they happened ?15:54
VadimCKdate --date=@22215797.20345215:55
VadimCKshould do it15:55
blackthorand is there a way to switch that syslog timestamps it back to the "old" style setting?15:55
blackthor(i reckon this was done for multicore systems?)15:55
VadimCKits unix time so its standard for linux logs15:56
VadimCKto change it im not sure15:56
SuperLagback16:20
bogeyd6-wb SuperLag16:21
SuperLagsorry16:22
SuperLagthat was *not* intentional16:22
\shanyone who is using PXE + kernel NFSROOT booting...did you try out to set the DEVICE=eth0 in /etc/initramfs-tools/initramfs.conf  to DEVICE=all to have dhcp requests on all interfaces?16:26
=== bogeyd6 is now known as Guest19830
=== Guest19830 is now known as bogeyd6-
MTecknologyIs there any wrapper vm builder script for building rhel vm's?17:23
m_tadeuhi...I installed mysql-server and it's running. the problem is that the port doesn't show up in nmap/netstat, so I can't connect from a remote machine17:36
mathiazm_tadeu: look at the configuration file, /etc/mysql/my.cnf17:44
mathiazm_tadeu: mysql binds to the loopback interface by default (or socket)17:44
m_tadeumathiaz: it's using a socket located at /vat/run/mysqld/mysqld.sock, as usual...17:47
mathiazm_tadeu: you need to configure mysqld to listen on the network interface as it doesn't by default17:48
mathiazm_tadeu: this is done in my.cnf17:48
RoyKmathiaz: I thought recent versions of ubuntu used ip by default, but only bound to localhost17:50
m_tadeuRoyK: in deed my bind address is 127.0.0.117:50
m_tadeuI'm comparing with my.conf in my laptop and they look the same...17:51
RoyKm_tadeu: then IP should work from localhost, but not from elsewhere17:51
m_tadeuRoyK: so what should I set in the ip17:52
jeeves_Mosshow can I harden up SSH?  I've got some guy from .tw doing a dictionary attack for username17:52
KurtKrautJeeves_, using a non-default port fixes 80% of the invasion attemps.17:53
jeeves_MossKurtKraut, true, but that's kinda not the point with this one.  is there a way to ignore connection attemps from an IP after "x#" of failed logins?17:53
RoyKm_tadeu: just remove the line or set it to 0.0.0.0 to allow it to listen to all addresses17:54
RoyKjeeves_Moss: apt-get install fail2ban - configure it...17:54
m_tadeuRoyK: oki....thanx :)17:54
kaushalhi17:54
kaushalAny clue to my query ?17:54
jeeves_MossRoyK, thanks.  will that do what I need?17:55
KurtKrautJeeves_, yes. The package denyhosts does this job.17:55
RoyKjeeves_Moss: it blocks incoming requests from a given host/protocol if login attempts fail repeatedly17:55
jeeves_MossRoyK, PERFeCT!!  Thanks17:56
RoyKit just parses the logs and adds an iptable block for that host/port in case if repeated failure17:56
kaushalI have posted it to the ubuntu-server mailing list17:56
kaushalShall i repeat it here ?17:56
RoyKkaushal: pastebin your problem or link to the post17:56
kaushalsure17:57
jeeves_MossRoyK, great.  thanks.  I'm sitting here watching the log, and I see it's going through user names.  There is only ONE account that's allowed SSH login anyways17:58
kaushalRoyK, https://lists.ubuntu.com/archives/ubuntu-server/2010-May/004246.html17:58
RoyKjeeves_Moss: just try fail2ban - works for me :)17:58
blue-frogjeeves_Moss, fail2ba. no need to make your server work for nothing17:58
jeeves_Mossthis is TRUE17:59
jeeves_MossI had a SALA setup issue last week, and someone figured it out to mass mail and backscatter17:59
blue-frogjeeves_Moss, sed -i '/bantime/s/600/-1/' /etc/fail2ban/jail.conf  will put unlimited ban. dangerous if ssh is your onlay way to connect to the server18:00
blue-frogpersonally I don't care as I have a reconvery console in case ssh is not available18:01
jeeves_Mossblue-frog, I've got 2 diff ways into the box, and a third from the inside18:01
blue-frogthen unlimited ban is for you18:01
jeeves_Mossperfect!!!  it stopped that noise!18:02
blue-frogfail2ban will do more than ssh. check /etc/fail2ban/jail.conf to see what is protected18:02
jeeves_Mossthanks again guys!18:02
kaushalRoyK, Did you had a chance to read my post ?18:07
RoyKI did, but I don't really have an answer18:07
RoyKsorry18:08
kaushalRoyK, where do i seek help ?18:08
RoyKjust wait for a reply18:08
kaushalyou mean on the same post ?18:09
RoyKkaushal: have you liked this script to /etc/rc2.d?18:12
uvirtbotNew bug: #587976 in samba (main) "Panic or segfault in Samba" [Undecided,New] https://launchpad.net/bugs/58797618:16
kaushalRoyK, ?18:18
RoyKkaushal: ubuntu doesn't run anything under /etc/init.d unless it's symlinked to /etc/rc2.d18:18
RoyKtake a look at 'ls -l /etc/rc2.d'18:18
kaushalRoyK, http://fpaste.org/fYD0/18:20
RoyKperhaps try to move them to somewhere later18:20
RoyKS95, perhaps18:21
kaushalRoyK, how do i do it ?18:21
kaushalI mean S9518:21
RoyKcd /etc/rc2.d; mv S20resque S95resque18:22
RoyKetc18:22
kaushaloh ok18:22
kaushalwhat does 95 means ?18:22
RoyKit's just a number defining the order18:22
RoyKS01 is executed first18:23
RoyKetc18:23
kaushalplease give me a moment18:23
kaushaland will update you18:23
kaushalRoyK, shall i reboot and check now ?18:24
RoyKyes18:24
kaushalRoyK, no luck18:28
RoyKcheck the logs18:28
kaushal(Nothing has been logged yet.) in the boot18:29
kaushalunder /var/log/boot18:30
RoyK/var/log/messages?18:31
kaushalRoyK, nothing there too18:36
* RoyK somehow wants to put a ban on all .il users18:48
kaushalRoyK, Any further suggestions ?18:51
RoyKnot really18:59
RoyKif the script works from the command line, it should work on boot18:59
kaushalyeah18:59
kaushalits weird18:59
EtienneGzul, are you the one working on the iSCSI target daemon, as discussed in the seed review a tlast UDS?19:32
zulEtienneG: werent you suppose to send me an email to remind me?19:32
EtienneGzul, would an IRC poke be enough?  ;)19:33
EtienneGzul, j/k19:33
zulEtienneG: yeah I can look at it this week19:33
EtienneGzul, from what I see, tgt needs 1. an MIR, and 2. an upstart job19:33
zulEtienneG: which one was it again?19:33
EtienneGzul, do you want me to tile a bug on the upstart job?19:33
zulEtienneG: please19:34
EtienneGzul, it was either tgt or iscsitarget19:34
zulEtienneG: gotcha19:34
EtienneGzul, we settled upon tgt19:34
zulEtienneG: sounds familar ;)19:34
EtienneGzul, I will file a bug on the upstart job.  Should/can I file a bug for MIR?19:34
zulEtienneG: please and assign it to me19:34
EtienneGzul, ok!19:35
EtienneGzul, thanks dude!19:35
zulEtienneG: mp19:35
EtienneGsomeone already filed a bug for the upstart job part19:40
EtienneGzul, looking at the Gobby notes from the seed review session, there is no mention of tgt or iSCSI in general19:43
zulEtienneG: yeah I think it was a pseudo hall way conversation19:44
EtienneGzul, I cannot remember: was that discussed in another session?19:44
EtienneGzul, hurm, ok then.  Should we bring this up in the server meeting?19:44
zulEtienneG: sounds like a good idea19:44
EtienneGalternatively, if the MIR can wait a few weeks, I can take care of it in early June19:45
EtienneGerr, *July, even19:45
kaushalhttps://lists.ubuntu.com/archives/ubuntu-server/2010-May/004246.html19:46
kaushalPlease suggest ?19:46
zulEtienneG: ok just let me know again and Ill do the upstart job19:48
EtienneGzul, I have assigned the already existing upstart job bug to you, so it will stay on your radar19:49
zulEtienneG: thanks19:50
MTecknologyHow do I use libvirt to create a VM using an ISO?20:11
MTecknology!kvm20:12
ubottukvm is the preferred virtualization approach in Ubuntu. For more information see https://help.ubuntu.com/community/KVM20:12
JanCMTecknology: plain libvirt or virt-manager (with the latter it's very easy, if you have a GUI)20:16
MTecknologyJanC: I was trying with virt-manager and it was kicking my butt - I just started looking at virt-install20:19
MTecknologyji think gui and I just don't get along..20:28
ChmEarlMTecknology, it's easier to use kvm --help: kvm -hdc myiso.iso -boot d -net user -net nic,model=rtl8139 -m 512 etc20:29
ChmEarland pass -hda /path-to/file.img20:30
MTecknologyChmEarl: thanks - I never caught onto kvm being a command20:31
ChmEarlMTecknology, its far more intuitive as a cmd. Might want to pass it -vnc too, then use vncviewer :0 &20:32
MTecknologythanks :)20:33
ChmEarlMTecknology, once you use virt-manager it will log your VM builds as commands. So hack its logs and see how it builds commands20:34
ChmEarlMTecknology,  find /var/log/qemu -name 'myVM'20:35
MTecknologynifty20:36
MTecknologyChmEarl: I'm not seeing where to saet the network card to the bridged interface - it's usually --bridge=br0 or something similar - how do I do it with kvm?20:47
ChmEarllike -net tap20:48
ChmEarlI have to look it up20:48
MTecknology-net tap,ifname=br0 ?20:49
MTecknologyro maybe s/ifname/fd/ ?20:50
ChmEarlMTecknology, if your bridge is defined (#brctl show) its all automagic with -net tap20:53
ChmEarlno ifname token is needed20:54
MTecknologyyay20:54
MTecknologyChmEarl: how far off am I with this? http://dpaste.com/201551/20:54
ChmEarlMTecknology, add a port to -vnc, like -vnc :020:59
ChmEarlyou want to pixie boot the first time you use kvm?21:00
ChmEarlwith a port to vnc the -net will parse OK21:01
ChmEarladd -boot d21:03
ChmEarlwait unless the pxe bios implies otherwise21:03
ChmEarlMTecknology, the pxe bios is usually found in /usr/share/kvm : not sure about karmic/lucid21:06
ChmEarlMTecknology, you may need a script for qemu-ifup.. lots of examples for using br021:10
n8whow do i run /proc/sys/vm/drop_caches as a nonroot?21:12
ChmEarlMTecknology, see if your OS has /etc/qemu-ifup... ubuntu should have it21:12
=== shde is now known as \shade\
=== chrismsnz_ is now known as chrismsnz
scarwould having a gigabit switch between two machines, containing at least a few virtual machines mirrored with DRBD, increase performance or not so much?22:07
MTecknologyChmEarl: sorry - had to run22:09
edanhey, i'm trying to install the samba package using a simple "apt-get install samba", it unpacks OK but then it says "start: Job failed to start", any ideas?22:17
edani've also tried downloading the deb package from samba's website and installing manually with dpkg but i get the same error ^_^22:17
azteechif I recall, samba usually is started by a daemon .. have to go to System > Preferences > Start Applications to have the service start when the computer starts22:20
MTecknologyvmbuilder <hypervisor> <distro> [OPTIONS]...    <distro>      Distribution. Valid options: ubuntu22:20
MTecknologymany choices :P22:20
edanthanks for the reply :) unfortunately it doesn't get that far in the installation, on the previous line it says "smbd start /running, process 2431", not sure what smbd even is22:23
azteechsmbd is the samba daemon ...22:23
azteech!smbd22:24
edanah ok, i was expecting to find a manual startup in /etc/init.d/samba but there is nothing there22:25
edanand it doesn't appear under Startup Applications either btw22:25
azteechdon't have samba running on my desktop ... so, can't verify one way or the other ... but, if you run top, you should see smbd running as process 2431 ... or another process id ..22:27
azteechthe man pages for smbd should have all the info you need ...22:27
edanah, just checked the smbd man, and it's just one part of the samba suite22:31
edanso it's probably not completely the whole install as smbd is running22:32
edanthanks a lot :)22:32
MTecknologyWith vm-builder, --bridge=br0 works exactly as expected - with virt-install --bridge=br0 doesn't make networking work in centos22:41
MTecknologythis is really really starting to irk me...22:41
MTecknologyFor this I get Device model: Hypervisor default - in every other machine made my vm-builder virt-manager shows it as being Device model: virtio ...22:43
MTecknologyI have it coming up as a virtio device now .. but now no networking is possible... grr22:52
deslectorhi, I want to have dhcp+dns and have one update the other automagically... what is the recommended way to do that on ubuntu server? On the server guide I only see a reference to Bind and DHCPD, but I think it may be overkill...23:58
deslectorshould I just use dnsmasq? any ideas?23:59
juliancdnsmasq is the easiest way to have them mesh.23:59
juliancIf you only need the basics of both, you should be fine.23:59

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