/srv/irclogs.ubuntu.com/2009/11/06/#ubuntu-server.txt

ninnypantsalso these are the last couple entries from my mail.log file Nov  5 23:59:29 Directories postfix/smtpd[24093]: warning: problem talking to service rewrite: Success00:02
ninnypantsNov  5 23:59:29 Directories postfix/master[6788]: warning: process /usr/lib/postfix/trivial-rewrite pid 24122 exit status 100:02
ninnypantsNov  5 23:59:29 Directories postfix/master[6788]: warning: /usr/lib/postfix/trivial-rewrite: bad command startup -- throttling00:02
ninnypantssorry thought I'd copied the link http://pastebin.org/5127300:03
jmedinaand what about postfix check?00:07
ninnypantsit gives me this postfix: fatal: /etc/postfix/main.cf, line 49: missing '=' after attribute name: "dovecot unix - n n - - pipe flags=DRhu user=vmail argv=/usr/lib/dovecot/deliver -f ${sender} -d ${recipient}"00:09
ninnypantsunless I format it like this: dovecot=unix - n n - - pipe flags=DRhu user=vmail argv=/usr/lib/dovecot/deliver -f ${sender} -d ${recipient}00:10
ninnypantswhich is incorrect00:10
JJmani need to reinstall a program (mysql)  whats the best way to remove & reinstall should i do a reinstall or remove or purge or autoremove?00:12
ReepicheepJJman: are you interested in starting over.. configs and all?00:14
JJmanReepicheep: yea thats fine cause i have to reinstall phpmyadmin afterwards.00:16
ReepicheepJJman: then you may as well just go ahead and purge it .. then if you want to get rid of the data make sure /var/lib/mysql and /var/lib/mysql-cluster are both removed or moved out of the way00:18
JJmanwill the data be overwritten if there are changes in the install to user?  only user added/changed is root i changed its name00:19
ReepicheepJJman: are you refering to the data in the database?00:20
JJmanyar.00:20
jmedinaninnypants: what ubuntu version?00:20
JJmansince i renamed the 'root' user00:20
ninnypants8.400:21
ReepicheepJJman: If you want to preserve that you better back that up first00:21
jmedinaI recommend migrato jaunty or karmic and install postfix-dovecot00:21
jmedinait is preconfigured :)00:21
ReepicheepJJman: root as in mysql root user, correct?00:21
JJmanyep00:21
JJmani can recreate it its no biggie.  just the 1 user00:22
ninnypantsjmedina: can't not my server00:22
Reepicheepwell when you install mysql-server it will create a root user for that mysql install00:22
JJmanI purged both client & server but i still can run mysql from cmd.  although it won't connect. as there's a socket error00:23
ReepicheepJJman: I'm curriuos why you renamed the mysql 'root' user?00:23
JJmanso it obviously didn't purge00:23
JJmanerrr because everyoen know's 'root'  so its obviously more secure to rename it00:23
JJmanrule #1 rename your root00:24
JJman;-)00:24
Reepicheepoh.. I see.. I useually just make it so only localhost can login as root.. and also set a root password00:24
JJmanok now mysql is gone.  i had 2 versions of the client installed00:25
Gorlistdoes mytop come standard with mysql?00:25
ReepicheepJJman: you may also see mysql-common installed00:25
JJmanthis is the problem i'm having i want mysql 5.1 installed but when i go to install phpmyadmin it uninstall's 5.1 and installs 5.000:26
JJmanits extremely annoying00:26
JJmanhow can i search what mysql* related packages are installed00:26
jmedinadpkg -l00:27
ReepicheepJJman: you may want to install phpmyadmin from source instead of the package then00:28
Reepicheepit's pretty straight forward to setup00:28
JJmanok .   whats this dpkg -l showing me.  thats not stuff thats only installed, right.  cause its showing the packages i just purged00:29
ReepicheepJJman: do an "aptitude show <package-name>" on one of the questionable packages, see if it claims to be installed there00:30
ReepicheepJJman: what does the like in "dpkg -l" start with?00:33
JJmani think the problem i'm having with phpmyadmin has to do with the version conflict in php5-mysql  that appears to be using an older version00:33
JJmannot sure what u mean00:34
Reepicheepwhen you do a "dpkg -l" and it displays say the package "mysql-server" does the line stat with "ii" or something different00:35
Reepicheepif it start with a "u" it is not installed00:37
ReepicheepJJman: "aptitude show mysql-server | grep State" may be handy also00:38
JJmanyea i see ii00:40
JJmanfor most things except for mysql 5.1  has rc in front00:40
JJman5.0 says ii00:40
ReepicheepJJman: "ii" => Desired: installed ; Status: Installed00:42
JJman& rc00:43
geoffmccmaybe its a dumb question or maybe its just so the user can have more customization over ubuntu but i recently started using ubuntu server to host my own webpage. one thing i noticed is that there is no or seems to be no firewall by default, why is this?00:43
JJmanthere's apparmor00:43
JJmannot sure thats the same00:44
jmedinaa Firewall wont protect you agains http attacks00:44
jmedinaat least not a IP firewall00:44
ReepicheepJJman: "rc" => Desired: Remove ; Status: Config-files00:44
geoffmcci just figured a firewall would normally be desired00:44
JJmanmod_security is supposed to help i think in that regard00:45
ReepicheepJJman: this might help http://paste.ubuntu.com/311068/00:45
JJmanthx00:49
JJmanattempting to install phpmyadmin now from source.  (skeptical that this will help as i think the problem lies in php5-mysql library00:50
ReepicheepJJman: when I say install phpmyadmin from source I meen get your mysql server setup, get your web server setup with PHP then go to sourceforge and download phpmyadmin from there00:52
JJmani've done that00:52
JJmanweb server already installed & setup with php500:52
JJmani reinstalled mysql 5.100:53
JJmannow i'm trying to install latest version of phpmyadmin00:53
Reepicheepok.. sorry so it's the php5 that is causing the problem with mysql 5.1 then?00:53
JJmanWell i 'think' it is.  this is one of the errors i was getting in phpmyadmin:00:53
JJmanYour PHP MySQL library version 5.0.75 differs from your MySQL server version 5.1.31. This may cause unpredictable behavior.00:53
JJmanas it seems that the php mysql library is part of the php install perhaps00:54
kirklandmathiaz: still around?00:54
mathiazkirkland: yes00:55
kirklandmathiaz: you don't have VT on your laptop, do you ?00:55
mathiazkirkland: nope - I do *not* have VT on any of my laptop00:55
kirklandmathiaz: well that's something you should fix sometime :-)00:55
kirklandmathiaz: oh well00:55
Reepicheepjjman what does it return for the version when you do a "dpkg -l mysql-server"00:57
mathiazkirkland: well - if Dell had chosen an Intel graphic instead of pouslbo driver for the mini 10, I would have VT extension on my dell mini00:57
JJmanReepicheep: pn  mysql-server         <none>               (no description available)00:57
JJmanthats odd since i just installed 5.100:58
JJmanmysql --version00:58
JJmanmysql  Ver 14.14 Distrib 5.1.31, for debian-linux-gnu (i486) using  EditLine wrapper00:58
Reepicheepyeah.. that's interesting, does the "mysqld" command exist?00:58
Reepicheepif so run "mysqld --version"00:58
JJmanmysqld --version00:58
JJmanmysqld  Ver 5.1.31-1ubuntu2 for debian-linux-gnu on i486 ((Ubuntu))00:58
ReepicheepJJman: what command did you use to install it?00:59
JJmansudo apt-get install mysql-client-5.1 mysql-server-5.101:00
JJmani'm able to loginto db (it kept renamed root even)01:00
Reepicheepah.. ic.. try "dpkg -l mysql-server-5.1"01:01
JJmanii  mysql-server-5.1     5.1.31-1ubuntu2      MySQL database server binaries01:01
Reepicheepwell if you didn't remove the data directory for the db .. it probably just kept the existing users and databases01:01
JJmanwhich is fine01:02
Reepicheepthe users are all stored in the "mysql" database01:02
JJmanthis is wher ei think the problem will lie when i get phpmyadmin reinstalled:01:03
JJmanii  php5-mysql           5.2.6.dfsg.1-3ubuntu MySQL module for php501:03
JJmanyea i know in the users table01:03
ReepicheepJJman: I'm not sure what else to do short or repackaging php5-mysql linked against the mysql 5.1 libraries instead of the 5.0 libraries01:09
JJmanwe'll see.  if this doesn't work then i'm scrapping 5.1 and going back to 5.0 where it will work with no problems01:10
Reepicheepand .. everything may work fine the way that it is01:10
JJmantrue01:11
Reepicheepeven with that warning.. I wouldn't know though .. that would be a question for the phpmyadmin people or even maybe the mysql people01:11
JJmanyea if anyone in those channels were of any help  8-p01:11
JJmanI've been trying to ask for more than a day01:11
Reepicheepwell that's no fun.. I don't know if I have been any help either though..01:13
JJmanMore than most  ;-)  appreciate it01:13
Reepicheepnp.. but the issue now is that you have reminded me how late it is.. I gotta get going01:13
JJmank01:13
JJmanpeez01:13
=== dendrobates is now known as dendro-afk
JJmani'm installing new version of phpmyadmin should i set www-data.www-data as the owner for all the files as root now owns and they aren't accessible?01:29
=== dendro-afk is now known as dendrobates
decoy_#ubuntu01:46
uvirtbotNew bug: #476063 in php5 (main) "package libapache2-mod-php5 5.2.10.dfsg.1-2ubuntu6.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/47606302:01
jefferaiI'm having an issue where I can't get into any services from the outside02:10
jefferaiafter a reboot02:10
jefferaiI had this problem before, and figured it out02:11
jefferaibut that was a few months ago, when I first installed it02:11
jefferaiand can't remember what :-|02:11
jefferaiufw isn't installed, iptables isn't installed...02:11
jefferaibut it's behaving like there's a firewall02:11
uvirtbotNew bug: #476069 in krb5 (main) "segfault" [Undecided,New] https://launchpad.net/bugs/47606902:16
Atulahi all03:12
AtulaI install ubuntu server03:13
Atulabut i copy a file with charaset  utf-803:14
Atulait's no dipslay ubuntu server03:14
Atulacan i help you03:15
JanCI think utf-8 should work03:21
JanCmaybe you need to change the default encoding03:22
JanCdo you have an example of this problem on-line?03:22
Atulayes03:22
Atulaexample03:22
KurtKrautAtula, if you are having a hard time to communicate in english, I belive the guys on #ubuntu-vn speak your language.03:25
Atulai make file with name : mkdir xã03:25
Atulait's no display03:26
JanCseems to work fine here?03:32
Atulai using winscp03:33
JanCah, maybe something get's lost in the translation from Windows to linux....03:33
Atulacopy file from my computer to server ubuntu 9.10 however it's display : "x?"03:33
JanCsee http://gparted-forum.surf4.info/x%C3%A3/test.txt for a test03:34
JanCso the xã works there03:34
JanChttp://gparted-forum.surf4.info/xã/test.txt03:34
Atulai see03:34
JanC(should do the same)03:34
Atulaok i wiil check locale03:35
JanCI think something goes wrong between windows & linux03:35
JanCwindows doesn't use utf-803:35
Atulawindow: Cp125803:36
JanCmost filesystems don't "know" what filesystem is used, and filenames are encoded in whatever encoding a program assumes is okay  :-/03:37
Atulaok thanks Janc03:37
JanCso you need to find a program or program option that can convert between cp1258 & utf-803:38
Atulaok i see03:38
Atulai can using unikey to convert03:38
JanCmaybe winscp can do it on-the-fly if told to, otherwise try other tools  ;)03:39
Atulaok03:40
JanCAtula: using Ubuntu on your desktop might avoid this sort of issues too  ;)03:41
crohakonnotepad++03:41
crohakonAtula, yes, ditch windows.03:42
Atulai using notepad++03:43
Atulavery good editor03:44
twbEmacs and Vim both run on Windows.03:44
crohakonIf I still used windows I would use notepad++ for all my coding03:44
twbFWIW I think current versions of Windows use UTF-16 as the native encoding.03:44
crohakonNow I do most of my coding over SSH on my web server so I just use nano or vi.. mostly nano because it is simple and quick.03:45
JanCtwb: actually, they officially use UCS-2 with extensions that essentially mean they use UTF-16, or something like that  ;)03:52
twbIIRC UTF-16 addressed UCS-2's inability to reference codepoints outside the first plane, or perhaps vice-versa.03:55
twbAnyways, it doesn't matter.03:55
twbAll we really need to do is convince .jp to drop JIS03:56
=== erichammond1 is now known as erichammond
JanCtwb: AFAIK Unicode is a JIS standard too  ;)04:03
JanCone issue is that glyphs have some differences between Japanese, Chinese, Korean, etc., but are still classified in one "plane" in unicode04:05
JanCat least, that's what I understood04:05
tonyyarussoHi, would someone be able to explain the differences between NFS, OpenAFS, and sshfs to me?04:09
JJmancan someone help me figure out why i can't get mysql reinstalled.  after several attempts to remove & reinstall.  now all i get is Aborting downgrade from (at least) 5.1 to 5.0.04:10
JJmandpkg: error processing /var/cache/apt/archives/mysql-server-5.0_5.1.30really5.0.75-0ubuntu10.2_i386.deb (--unpack):04:10
JJmanBut i DONT" have 5.1 installed anymore  i have removed all versions and i try to install clean and it just errors out with this04:11
guoxiaolongoh no04:21
twbJJman: downgrading isn't supported.04:36
JJmani uninstalled 5.1  since i couldnt' get it working properly  but now i can't even install 5.0 as it errors out04:37
JJmanso i'm NOT trying to downgrade.04:37
twbDid you use "aptitude purge"?04:38
JJmanapt-get purge yep04:38
twbWhen it offered to delete your databases, did you tell it to do so?04:38
JJmanproblem was when i was installing phpmyadmin it decided it didn't want to use 5.1  so it UNINSTALLEd and installed 5.0  and fucked things up04:38
JJmannope.  is that the problem.  i kept the DB04:39
twbThat would be my guess, but I tend to avoid mysql because it's so horrible.04:39
JJmanlol.  why do u say that04:39
twbYou can also try #mysql.04:39
JJmanthey are well not helpful there most of the time.  no one replies04:40
JJmani'll try remove the DB and see if that helps04:40
twbYou waited a few hours for a reply?04:40
JJmanyes.04:40
JJmani've waited days for a reply04:41
twbDid you ask a Smart Question? (http://www.catb.org/~esr/faqs/smart-questions.html)04:41
JJman#phpmyadminn #mysql are pretty useless channels in my experience04:41
JJmantahts a relative term04:42
twbYeah -- #ubuntu* is amazingly useless.04:42
twbI only lurk here so that I can pump a few clued people like ScottK for information04:42
JJman#ubuntu is not so.  but i've gotten a lot of good elp here in ubuntu-server actually04:43
JJmanhelp04:43
JJmani think #ubuntu just has too  many users to be helpful04:43
twbToo many idiots, you mean.  A low SNR.04:44
JJmanthat too04:44
JJmanalthough i often fall into that category as i've not been using linux for years like some of these folks04:45
JJmanwhattya know that worked.  i got 5.0 installed again.  Thx.04:47
JJmanhad to reinstall 5.1 to then purge it again  ;-)04:47
=== nxvl_ is now known as nxvl
mneptokMariaDB > MySQL  ;)05:33
twbAs for me, I would recommend sqlite (if you want simplicity) or postgres (if you want, you know, an actual database).05:34
mneptoktwb: MySQL and derivatives are "actual databases"05:35
twbDoes MySQL still use a non-atomic database format on Unix by default?05:35
mneptoktwb: it's nice you like Postgres, but try to avoid troll-ish FUD.05:35
mneptoktwb: depends on your storage engine.05:36
twbI meant MyISAM vs. InnoDB05:36
twb(IIRC; obviously I don't deal with MySQL much.)05:36
mneptokMyISAM is atomic.05:37
mneptokhttp://dev.mysql.com/doc/refman/5.1/en/storage-engines.html05:38
twbHm.  Maybe I was misremembering; Wikipedia indicates that MyISAM has an (optional?) "full ACID" mode, and merely lacks transactions.05:39
mneptoki'd go with the official documentation over Wikipedia entries.05:41
twbI believe Wikipedia more than primary sources for everything else.  I don't know why MySQL would be an exception.05:44
* ScottK is not a huge RDBMS expert, but when he works on projects with people who are, they seem to lean pretty heavily to postgresql over mysql.06:38
pwnguinScottK: its just a better place to start06:40
pwnguini have no idea why mysql is so damn popular06:40
ScottKIf popularity was related to quality, Windows would be about perfect.06:40
pwnguinhowever, i think "certified" experts are going to mainly lean oracle06:41
twbScottK: that's pretty much the case for me, too.06:55
=== crohakon is now known as crohakon|zZz
\shpwnguin, postgresql is more oracle like then mysql ;) so postgresql is a good solution...(but lacks really some nice stuff like cluster handling and easy master slave synchronization)07:16
twbI think mysql is popular because it's easier to get going than postgres and more powerful than sqlite.07:18
twbSo people think they are getting an easy-to-use robust RDBMS rather than a hard-to-use toy07:18
\shtwb, well, looking at some real world projects like booking.com it's a robust RDBMS...forget the lack of sequences...we had to make a decision in the past too...mysql or postgresql...both had pros and cons...and one of the cons for the mysql decision was the cluster package07:20
\shs/cons/pros/07:22
\shneed coffee fast07:22
MenZawe all do, shang07:23
maxagaz_hi07:37
maxagaz_i have installed a new disk to have more space on a server07:38
maxagaz_how to prepare it07:38
maxagaz_i meant, partition, format, mount07:38
maxagaz_is there a procedure somewhere ?07:38
kaushalhi07:38
kaushalis there a way to get 8.04.2 version ?07:39
jmarsdenmaxagaz_: https://help.ubuntu.com/community/InstallingANewHardDrive07:39
kaushalhttp://releases.ubuntu.com/hardy/ gives me 8.04.307:39
\shmaxagaz, partitioning: parted <device> ; formatting: mkfs.<your favorite fs> <your new partitions> ; vi /etc/fstab -> add your new partitions to mountpoints07:41
maxagazjmarsden, thanks!07:41
jmarsdenmaxagaz: No problem.  BTW, all I did was Google for ubuntu add hard drive ... you could have done that too :)07:42
tsrkWith vmbuilder, how do I specify the domain of a new VM?07:43
jmarsdentsrk: --domain DOMAIN   ... man vmbuilder has this info.07:44
tsrkjmarsden: that looks like it sets the networking domain... i'm trying to set the "name" of the VM, which I thought is also called the domain. I'm probably wrong about something here07:46
jmarsdentsrk: name as in hostname?07:46
maxagazhow to be sur of what /dev/sdx my system is booted on ?07:47
tsrkjmarsden: the name that libvirt uses07:47
tsrkmaxagaz: mount07:47
pwnguin\sh: i dont disagree, just saying certified DBA employees seem to have a second job as "oracle salesman"07:49
jmarsdentsrk: Try --hostname HOSTNAME and also see https://help.ubuntu.com/community/KVM/CreateGuests in case that helps07:50
maxagazwhat is the code for ext4 partition, i can't find it in the list provided by cfdisk ?07:51
\shpwnguin, certified oracle DBAs ;)07:52
kaushalchecking in again for my query ?07:53
jmarsdenkaushal: I doubt many mirrors will carry 8.04.2 ISO images any more.  As soon as you do an apt-get upgrade you'll have 8.04.3 and later anyway, so I'm not sure it is all that useful to download 8.04.2 nowadays...07:55
jmarsdenmaxagaz: I think you can use the same partition type code for ext4 as you use for ext307:55
mario__Hi, how can i get SMART information from an hard disk in 8.04.3?08:23
mario__from console08:23
kaushalhi10:03
kaushalis there a way to know which package contains /etc/inetd.conf ?10:03
kaushalon Ubuntu10:03
jpdskaushal: dpkg -S /etc/inetd.conf10:05
jpds!apt-file | kaushal10:05
ubottukaushal: apt-file is a program that can tell you which package(s) contain(s) a given filename. To install it and generate the database it needs, run "sudo apt-get install apt-file && sudo apt-file update"10:05
=== alex88[sleep] is now known as alex88
maxagazhow to make sure a firewall allows incoming connections on port  5900 from localhost ?11:03
kblinwhy would anyone filter on localhost anyway?11:06
maxagazkblin, nmap localhost -p5900 => close11:13
maxagazclosed11:13
maxagazhow to open it ?11:13
kblinmaxagaz: start a server on it?11:14
maxagaz5900/tcp closed vnc11:16
maxagazhow to start it ?11:16
* soren lunches11:23
maxagazhow to determine my X DISPLAY ?11:26
\shmaxagaz, echo $DISPLAY11:40
alex88mmhh...how can i configure my domain register to delegate dns to my vps? i've tried with NS myip but it's not working11:59
Brumlealex88: the NS record uses DNSnames, not ip addresses.  The NS records on the registrar must be the same as in your SOA record12:05
alex88mmmhhh..for example, in whois i have ns1.netsons.org ns2.netsons.org as nameserver, ad i can't change it.. in my dns panel i can add A AAAA CNAME MX TXT NS record..what should i do?12:06
sorenalex88: It needs to change in the tld's nameserver.12:08
alex88so i have to change the ns1 and ns2 nameserver? can't delegate to my dns server with some kind of records?12:09
sorenalex88: Think about it.. How do I know to begin with to go and look at the current DNS?12:09
alex88you mean how you can query it? or the current settings?12:10
sorenNo.12:10
alex88oh sry...my english is not so good..xD12:11
sorenThink about it. You can't put an explanation on how to find something on the thing itself.12:11
sorenIf you want tell someone how to find your house, it doesn't help to put the map ON your house.12:11
sorenSame thing here.12:11
alex88oh ok got it..12:11
sorenOk.12:12
sorenSo *something else* holds the information about which DNS to talk to for your domain.12:12
alex88mmhhh..i'll open a ticket to my domain registar12:13
sorenIf you want to talk to ubuntu.com, you (or a nameserver on your behalf) first asks the root name servers: "who knows somthing about .com.?". The response lists a number of name server that know about .com. You then ask those "who knows about ubuntu.com.?". You get back a list of nameservers. You can then ask talk to those about ubuntu.com.12:14
sorenSee?12:14
sorenChanging the NS information on those final nameservers is not enough. You need to move one step back up the chain.12:15
soren(This is not strictly how it works, but it's accurate enough to explain why you're having problems)12:15
alex88oh ok, got it..12:15
alex88but, in this case, querying www.ubuntu.com ask at ubuntu.com the ip of www right?12:16
alex88i was thinking that changing some info in the ubuntu.com can delegate the www query to another nameserver..12:19
=== zoopster1 is now known as zoopster
Creapdist-upgrade do not update my server to 9.1012:28
Creaphow do I upgrade?12:28
andolCreap: I would say do-release-upgrade is the command you are looking for.12:32
uvirtbotNew bug: #475641 in lm-sensors (main) "pwmconfig does not work after upgrade to 9.10 on TYAN server" [Undecided,New] https://launchpad.net/bugs/47564112:33
Creapit tells me not to upgrade via ssh, but I don't have a graphics card, I hope there's usually no big problems with the upgrade?12:34
pmatulisCreap: what about a serial connection?12:35
pmatulisCreap: i have seen a jaunty-karmic upgrade fail spectacularly.  do you have backups?12:35
CreapI don't have a monitor either ;D only laptop + server12:35
Creapyeah the kubuntu upgrade failed on my work computer12:36
CreapI guess I'll just not upgrade12:36
pmatulisCreap: if there is no compelling reason to, you shouldn't upgrade a server, more so if it an important server, and even more so if you have no backups12:37
Creapit's not an production server or anything like that12:38
Creaplooking at the changelog now12:38
CreapI guess the only interesting part for me is ext412:39
Creapwhich I don't really need 9.10 for anyway so..12:39
incorrectoff topic, but can anyone suggest a good US ubuntu 9.10 vm provider?13:06
Piciincorrect: Look into linode.13:07
=== adrian_ is now known as blackxored
incorrectthanks Pici13:23
uvirtbotNew bug: #476491 in dhcp3 (main) "[karmic regression] Hostname not set by dhclient when no hostname defined in /etc/hosts" [Undecided,New] https://launchpad.net/bugs/47649114:11
cescoHi. Anybody with experience on DAT tapes?14:49
ghankstefwhat is the best way to stay on top of security updates?  I heard there was an openssl flaw just discovered - but dont know if ubuntu server has a patch yet14:49
gioelehello, is there an (official) PPA with VDE-enabled KVM packages?14:50
sorengioele: I doubt it.14:51
gioelesoren: :(14:51
sorengioele: Most of the time, you don't actually need vde.14:52
stgrabergioele: if you install vde2, you can then use "vdekvm" which will make the vde network working inside kvm14:52
gioelestgraber: vdekvm is deprecated upstread (vde) not the debian|ubuntu packages are not working anymore14:53
gioeleI mean they start but the networking fails to set up14:53
gioelestgraber: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=53432114:54
uvirtbotDebian bug 534321 in vde2 "vde2: ioctl error on vde network" [Important,Open]14:54
stgraberreally ? I did all the iso testing for LTSP with two VMs using vde2 for virtual switching14:54
stgraber(in Karmic)14:54
sorenstgraber: Why did you need VDE for that?14:54
gioelestgraber: using the kvm in karmic?14:54
stgraberyep14:54
sorenA bridge already acts as a virtual switch.14:54
gioelesoren: a bridge requires quite a bit of configuration14:55
stgrabersoren: sure but when you PXE boot, the delay between the time the interface joins the switch and the time it actually works is too long14:55
stgrabersoren: and so it fails 50% of the time14:55
stgraberalso, you need to be root to add a bridge14:55
gioelestgraber: did you use vde_switch with --tap?14:56
sorenstgraber: You can adjust that delay..14:59
sorengioele: You're kidding, right?14:59
sorengioele: You think it's easier to setup vde than a bridge?14:59
gioelesoren: I'd say so: http://www.debianadmin.com/create-a-lan-for-virtual-servers-with-kvm-and-vde.html15:00
sorenWith libvirt, the bridge is even already there.15:01
sorenThe default for new VM's is to hook into the bridge. It can't possibly be any easier.15:01
gioelesoren: libvirt != a bridge. I was referring to a manual configuration15:03
gioelestgraber: I just tested again: the two instances refuse to connect each other, each vdekvm says http://pastie.org/68648515:04
stgrabergioele: i tried with vde_switch -sock /tmp/vde IIRC15:05
sorengioele: Err.. No, I know that libvirt is not a bridge. It's a library (and a daemon). It sets up a bridge, though.15:09
stgraberhmm, can't seem to make it to work again ... I used it last week (first time I used it) and it worked, not sure what changed in between15:15
=== t3cki3 is now known as dumbo
smoserkirkland, chat sometime today ?15:19
kirklandsmoser: sure, irc, or phone?15:25
sorenkirkland: Do you know if any laptop battery for any T-series will fit the one I bought from you?15:25
smoseri was thinking phone15:25
kirklandsoren: any t6* series, yes15:25
sorenkirkland: Cool. Thanks.15:26
kirklandsoren: ie, not a t41p's battery15:26
kirklandsoren: want the docking station for $20?15:26
kirklandsmoser: give me 15 minutes15:28
smoserkirkland, i'll give you $20 for it.15:29
smoserin fact, please, i want to give you $20 for it.15:30
sorenkirkland: Sure.15:30
sorenkirkland: In fact, that would be awesome.15:30
sorenkirkland: I'm bringing a suit case anyway, so I've got plenty of room for once.15:31
uvirtbotNew bug: #476578 in samba (main) "After upgrade to karmic samba ignored /etc/samba/smbpasswd" [Undecided,New] https://launchpad.net/bugs/47657815:36
kirklandsmoser: soren: heh, well, you're going to have to duke it out :-)15:42
kirklandor start a bidding war :-)15:42
smoser$20.0215:42
sorenkirkland: Can't I pull rank or seniority or something? :)15:43
kirkland:-)15:43
sorenArm wrestle?15:43
kirklandsoren: that works better in the military15:43
sorenI'd probably lose that one, but it'd be fun.15:43
kirklandyou should have a hack off15:43
sorenrealtimebattle15:43
soren!15:43
* soren takes a quick break15:51
=== StrangeCharm_ is now known as StrangeCharm
gioeleI'd like to recompile kvm and repackage qemu-kvm. Are there instructions on how to do that? Do you use bzr-builddeb?16:30
gioelekirkland: I see you have a qemu-kvm-packaging branch in +junk, do you use that to package qemu-kvm?16:31
bogeyd6gioele im probably only one alive, and i only ever used vmware16:37
kirklandgioele: i don't use that yet16:42
kirklandgigasoft: apt-get source qemu-kvm16:42
kirklandgioele:  apt-get source qemu-kvm16:42
kirklandgioele: cd *16:42
kirklandgioele: debuild16:42
kirklandwell, sudo apt-get build-dep qemu-kvm16:42
gioele kirkland: ok, thank you. I hoped I could try this new bzr-builddeb toy ;)16:43
kirklandgioele: bzr branch lp:byobu16:43
kirklandgioele: cd byobu16:43
kirklandgioele: bzr bd16:43
gioelekirkland: great I'll try that soon (paid job first ;))16:44
gigasoft<kirkland> why?16:47
kirklandgigasoft: tab completion fail16:47
gigasoftkirkland: what for?16:47
kirklandgigasoft: i was trying to tab complete gioele16:47
gigasoftwhy should i do that?16:48
kirklandgigasoft: i mistakenly called your name16:48
gigasoftok16:48
flagg0204are their ubuntu debs available for eucalyptus 1.6.1?17:12
=== dendrobates is now known as dendro-afk
kane_flagg0204: yes, from eucalyptus.com: http://repo.eucalyptus.com/ubuntu/pool/universe/e/eucalyptus/17:20
flagg0204kane_ ah cool thanks17:22
kane_flagg0204: instructions here: http://open.eucalyptus.com/wiki/EucalyptusInstallationUbuntuJaunty_v1.617:22
kane_flagg0204: no problem17:22
dmacnuttanyone with ltsp experience?17:23
dmacnuttwas able to install without issue, and can get the thin client to boot, but X fails to start, It stalls with the a busy mouse cursor17:24
flagg0204kane_ am i correct in assuming that these instructions will work with karmic as well?17:25
flagg0204kane_ or is that jaunty only17:25
kane_flagg0204: i'm afraid this was just my google skills at work :) it'd stand to reason they'd work though17:25
flagg0204kane_ ok.   well guess it worth a shot17:26
lukehasnonameGood morning, gents17:40
lukehasnonameHas anyone in this distinguished channel used FireHOL?17:40
lukehasnonameI don't need help with it; I want to know if anyone else thinks it's exponentially cooler than ufw (though props to ufw on their improvements in Karmic)17:44
* ScottK just has his own iptables scripts.17:44
* jdstrand uses ufw17:44
ScottKRight, you would. ;-)17:45
jdstrand:)17:45
lukehasnonameheh17:46
lukehasnonameGiven the number of mature frontends to iptables, I assert that all but the most complex of configurations (possibly /especially/ the most complex) need not use iptables directly.17:47
ScottKlukehasnoname: My assertion is that I've had iptables scripts that work for me for years, so any switch away from using iptables directly would cause me more work, not less.17:48
lukehasnonameTrue. It is all about what you know.17:49
doug_I'm running ubuntu-9.10 server and just installed mysql-server.  However, there are no files in either /etc/mysql or /var/lib/mysql.  How do I get the configuration and initial database files added?17:58
=== dendro-afk is now known as dendrobates
=== dendrobates is now known as dendro-afk
lukehasnonamedoug_: Have you attempted logging in?18:11
flagg0204lukehasnoname - agreed with iptables,  having to manage a 300-400 lines iptables script is a nightmare.  i'd also argue that if your rules are that comples, by a appliance based FW18:12
doug_lukehasnoname:  I can't log into the mysql server....it won't start because of the missing config (and other) files.18:13
lukehasnonamePossible. OR check out FireHOL. I have no personal gain in its gain in popularity, but seriously, it's pretty amazing. Not perfect, but it's very handy. the home page (google it) has a very nice example setup.18:13
lukehasnonamedoug_: OK, I kind of expected that. Hmmm, that's weird. This isn't the most popular method of fixing it, but if it's this broken... I'd say uninstall/reinstall the package and see what happens. Make sure it's calling in the right dependencies as well; 'mysql-server' is a metapackage18:14
doug_lukehasnoname:  I've already done that several times....still doesn't install the files for /etc/mysql or /var/lib/mysql, and possibly others.18:18
lukehasnonameI don't know what to tell you doug_18:27
lukehasnonameis it installing all dependencies correctly?18:28
lukehasnonameNo messed up write permissions on those folders?18:28
doug_luke:  I appreciate the help.  It's just wierd and frustrating that installing the packages leaves it in a state without the config files and unstartable.  :-)18:29
jkakarI'm just reviewing the UEC setup instructions and wondering, is it possible to setup an all-in-one cluster controller and node on the same machine?18:29
jkakarI just want to play with UEC, but I only have a single machine.18:30
doug_I gotta run for now.  Thanks for the help and I'll be back later.18:34
lukehasnonamedoug_: later. jkakar: I don't know. I would think so, however, I would think it'd be beneficial to have at least two computers to play with for UEC18:34
jkakarlukehasnoname: Yeah, it probably would.18:35
jkakarI'm just wondering if things like network discovery of nodes will work if the node is on the same machine as the controller.18:35
=== dendro-afk is now known as dendrobates
m8Hi, I can install vnc4server witouth xorg?19:02
_rubenm8: so you want to vnc into text-only machine?19:05
_rubenssh seems way more suited for that19:05
m8__ruben: yes19:05
m8but a want a virtual desktop for some apps...19:06
m8*i want19:06
_rubenerr, what would a vnc session to a text-only machine offer more than a ssh terminal window?19:06
m8i want to run a Xfce virtual desktop accessibile whit vnc.... if there are alternatives... tell me!19:06
m8__ruben.... offer to run some apps.. i need19:07
m8:o19:07
_rubenso you want to run xfce on a machine without X, im not sure i understand what you're trying achieve19:07
m8xfce on virtual desktop19:07
_rubendefine "virtual desktop"19:08
m8an istance of X19:09
m8in a headless pc19:09
m8:o19:09
_rubenX on a headless pc? .. that doesnt make sense at all .. tho perhaps this is what you want: machine A (a desktop) has X running, machine B (a server) is text only, you want to run graphical apps on B, but use the screen of A .. ?19:10
m8....19:13
m8i want to run a Virtual Desktop(an instance of vnc4server)19:13
kane_m8: that's actually an x/y problem :) the solution to your real problem is running the vnc4server... what's the underlying problem? ie, what will you use the vnc4server for exactly?19:14
_rubenexactly what im trying to find out, but am failing so to do so19:15
* _ruben moves on19:15
m8kane_ :)19:15
m8for run X apps on a headless pc :D19:16
kane_m8: so you dont want to attach a monitor to the device. That still means you need X to run the graphical environment though.19:17
m8ok19:17
m8and I need xorg, right?19:17
kane_m8: i think the vnc4server package already depends on the libraries you need.19:18
m8ok :)19:18
m8and i need to install a desktop manager19:18
m8like Xfce419:19
m8it's right ?19:19
kane_m8: the ubuntu forums actually have a thread about this here: http://ubuntuforums.org/showthread.php?t=69089519:19
zulttx: what would the Vcs-Bzr: line in the debian/control be now that apache2 is apart of the distributed development thing19:19
m8wow19:19
m8:D19:19
kane_m8: yeah, you'll want a windowmanager -- you're basically setting up a 'normal' machine, except you're using your other pc as the screen19:20
ttxzul: what does it currently say ?19:20
zulthere isnt one there is the svn one for debian19:20
m8ok :)19:20
ttxzul: I don't think you need to update it for DistributedDevelopment19:21
zulI was just going to add Vcs-Bzr: https://code.launchpad.net/ubuntu/+source/apache219:21
zulmeh I can always fix it later19:21
ttxzul: it superfluous since in the end they will all be19:22
zultrue19:22
ttxzul: but that's not incorrect ;)19:22
zulttx: thanks19:22
jcastrokirkland, can you ask anthony to subscribe to "community-lucid-launchpad-upstream-improvements" and mark himself as essential, thus forcing it to be scheduled on a day he'll be there?19:43
jcastrokirkland, I've got a solution to the patch thing I want to pitch to the lp team19:44
jcastrohaving real upstreams there nodding profusedly would be sweet19:44
kirklandjcastro: pasted your request to aliguori in #ubuntu-virt19:44
jcastrokirkland, if there's any blueprint he feels he needs to be at making himself as essential will force the system to schedule it on those days19:45
kirklandjcastro: cool19:45
uvirtbotNew bug: #476831 in samba (main) "package samba-common 2:3.4.0-3ubuntu5 failed to install/upgrade: subprocesso instalado o programa post-installation retornou erro do status de sa?da 1" [Undecided,New] https://launchpad.net/bugs/47683119:46
=== dendrobates is now known as dendro-afk
=== dendro-afk is now known as dendrobates
=== dendrobates is now known as dendro-afk
wwphello i have got troubles installing xen on x86_64 karmic (alternative / server kernel) - the problem is that i cannot boot using the xen kernel and grub (grub-pc) does not offer any options on boot20:07
wwpand i'm new to grub2 - missing the menu.lst -.-20:08
jcastrokirkland, let's hallway discuss your kvm testing thing at UDS20:13
jcastroI've wanted something like that for a long time20:13
jcastroexcept I envisioned it right in the GUI for virt-manager20:14
jcastroNew->Ubuntu->Blah 7.1020:14
jcastroor whatever20:14
wwpno ideas so far?20:15
pmatulisanyone here use sbuild?20:18
zzz20092? what the hell is going on with amavisd setup, the config is scattered over hells half acre!!20:19
ScottKzzz20092: Standard for the package we get from Debian.20:41
ScottKzzz20092: It's actually a lot saner than it first appears.20:41
ScottKMake your changes in (IIRC) 50-user and it over-rides anything in the earlier config files.  That way your changes never get over-ridden on upgrade.20:42
android6011during the install hwo can I completely format all the disks including existing grub to mbr installs. Also, how can I pick which disk to install grub to20:49
zzz20092ScottK: I tried putting my stuff in the 50-user, didn't do what i wanted it kept quarantining stuff rather than just discarding junk.20:54
zzz20092ScottK: I have a similar problem with the postfix setup, I have 4 log files (mail.err, mail.info, mail.log, mail.warn) all contain the same info, but I cannot find out where to turn the them off.21:00
ScottKzzz20092: Then it's an issue with what you are putting in the file, not which file you are putting them in.21:00
ScottKzzz20092: For postfix, .err and .warn have subsets of .log21:00
ScottKSo they aren't the same.21:01
zzz20092ScottK: the subsets contain the same info as the log, why bother just takes up space and confuses the issue.21:02
ScottKWell if you are looking for just serious stuff, looking in .error or .warn is useful.21:03
ScottK.error should be empty all the time anyway21:03
android6011for data partitions what is a good filesystem.21:04
android6011they will be doing a lot of network transfers21:04
android6011and not losing data is very important even though I am doing backups21:05
zzz20092ScottK: As a retired engineer I strongly believe in the KISS principal, and what I am seeing does not follow it.21:06
ScottKzzz20092: Personally I think .info and .log is overkill, but I sometimes find a separate .warn/.error useful for troubleshooting.21:07
ScottKNormally I only look at/grep .log21:07
ScottKandroid6011: ext3 then.21:08
zzz20092ScottK: ditto21:08
android6011ScottK: why do you say ext321:08
ScottKBecause it's the most reliable/supported in the kernel today.21:08
ScottKResierFS is essentially unmaintained and has been for years.  Ext4 still has open data loss bugs.21:09
ScottKExt2 isn't journaled.21:09
ScottKAnything newer is just crack if you care about your data21:09
android6011so no xfs or jfs?21:13
zzz20092android6011: ext3 is probably the best for general use, but you haven't told use much about your data21:14
android6011zzz20092: like what21:14
android6011there are a lot of large video files etc I edit21:14
ScottKandroid6011: I don't know enough about them to have confidence.21:15
zzz20092androd6011: i'd stick to ext3, xfs/jfs might be an option if you were storing lots of small files as they have sub-block allocation.21:17
android6011zzz20092: I do have a lot of small files too. I do web design on the side so I have tons of web projects stored at any given time21:19
zzz20092android6011: how much Linux experience do you have?21:22
android6011zzz20092: quite a bit21:22
zzz20092android6011: then you could try setting up 1 partition with ext3 and another with xfs, mount the as video and web_dev and use appropriately, on the other hand you could just use ext3 for everything and save yourself some trouble.21:26
=== roaksoax__ is now known as RoAk
uvirtbotNew bug: #476935 in squid (main) "Massively parallel builds make for very unhappy buildds" [Undecided,New] https://launchpad.net/bugs/47693521:31
android6011ok21:31
android6011also, how can I spin down a hard drive after being idle for say 1 hour. And is smart enabled by default, if so where is the info logged? if not how do i enable it21:32
genii!info smartmontools21:37
ubottusmartmontools (source: smartmontools): control and monitor storage systems using S.M.A.R.T.. In component main, is optional. Version 5.38-3ubuntu2 (karmic), package size 323 kB, installed size 804 kB21:37
zzz20092android6011: if memory serves smart is usually set in bios setup, you could also take a look smartmontools21:38
jmedinazzz20092: you can enable SMART using command line toos21:40
=== joseph_ is now known as crohakon
zzz20092jmedina: Ok, I just took a quick look at smartmontools and gsmat.... not particularly useful I<HO21:58
zzz20092I<HO -> IMHO21:58
lamontkirkland: thoughts on bug 445456? - heard a rumor you might have thoughts on it.22:08
uvirtbotLaunchpad bug 445456 in linux "kvm hangs booting windows XP Pro SP2 or later, since at least 2.6.28-15" [High,Triaged] https://launchpad.net/bugs/44545622:08
helfire__i have a 8.04.3 LTS server, about every 2 weeks the load from apache goes through the roof and i have to do a forced restart. Any ideas why this happens?22:38
smackdad1y.22:39
dfdfsdl22:39
jmedinahelfire__: hard to guess without evidence, you need to look at your apache logs en syslog for related messages22:41
jmedinaprobably a bad code application or a attack22:41
helfire__jmedina: the weird thing is i dont see anything out of line in the logs, and it seams to be every 2 weeks to the day22:54
helfire__but i'm going to browse through them again since it happened again today22:54
helfire__my load always hovers around .20 even though nothing is running (atleast not shown in top or htop)22:55
kane_helfire__: can you see wehre the load is coming from at least? cpu, disk, network?22:56
helfire__kane_: not really. maybe i'm not looking with the right tool22:58
helfire__in syslog i'm seeing alot of spam mail getting rejected from www-data@myserver.com, kind of odd22:58
jmedina:)22:59
kane_*from* the apache user?23:00
helfire__ya23:00
jmedinathey are spmming trhgouth a web form or something?23:00
kane_.. is your apache sending mail to you?23:00
helfire__no, well i dont have it configured to23:00
helfire__atleast not a box that's real23:00
helfire__lots of postfix warnings: warning: SASL authentication failure: cannot connect to saslauthd server: Permission denied23:00
kane_seems worthwhile to chase that down23:02
helfire__hmmm, i may have my postfix configured badly...23:02
kane_btw, htop should be good enough to show you what processees are causing the load and why23:03
helfire__right before my forced reboot i have cron doing some mrtg stuff, and freshclam downloading new definitions23:04
helfire__i am just shutting down my mail server as i dont use em :)23:05
helfire__so i have cought about 100 apache2 proc's running before this happened, was too slow to get them with a kilall23:07
kane_that's a lot of processes -- is that by design?23:07
helfire__no23:07
helfire__not sure how that many got spawned23:08
kane_that's probably a good sign of resource exhaustion -- check the state of those... possibly they're zombies23:11
helfire__[Fri Nov 06 03:00:28 2009] [error] server reached MaxClients setting, consider raising the MaxClients setting23:11
helfire__that was near the lock up23:12
helfire__looks like a bot trying to attack and find something23:12
helfire__lots of weird requests and bad headers23:12
kane_firewall hoooooo!23:12
helfire__haha23:13
helfire__lots of ip's too23:13
helfire__:/23:13
helfire__might have to change sshd to run on a different port too... noticing alot there23:14
helfire__grep "an unknown filter was not added: PHP" apache2/error.log -c23:17
helfire__4891623:17
helfire__hmm should take care of that :)23:17
helfire__this sever has "just worked" since 06, needs some TLC23:17
zzz20092ttt23:30
smackdaddyhow can i assign individual hostnames to each of my network cards23:33
lamontsmackdaddy: in what sense?23:37
lamontas in, within what app?23:37
smackdaddywell.. say a user connects via ssh to domain1.com it will show user@domain1.com...23:38
smackdaddyon the console23:38
smackdaddyand different fr each ip...23:38
helfire__can i start up a backup sshd server incase changing ports on my default one messes up23:44

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