/srv/irclogs.ubuntu.com/2010/11/28/#ubuntu-server.txt

=== dragoon1231 is now known as dragoon123
=== cs278| is now known as cs278
=== cs278 is now known as cs278^kinslayer
=== matti is now known as quux
pmatulisdragoon123: consider connecting directly to another machine and perform some tests transfers.  this would isolate the LAN itself as part of the problem01:03
dragoon123pmatulis: I am currently transfering a file FROM the ubuntu server machine to my laptop atm over LAN using http01:04
dragoon123and its topping out @ 1.1MB/s atm :(01:04
dragoon123so it has fallen from 1.8MB/s to 1.1MB/s know hrmm01:05
pmatulisdragoon123: by "direct connection" i mean connecting 2 machines via a cable; no switch or any other networking h/w01:06
dragoon123pmatulis: okay one moment01:06
=== Cromulent_ is now known as Cromulent
dragoon123lol01:08
hackeronubuntu is making it so hard to file bugs... - I want to report that network-manager is not killing dhclient when switching to a static IP address - how do I do it? :S01:10
stgraberhttp://launchpad.net/ubuntu/+source/network-manager/+filebug ?01:12
hackeron thanks :)01:12
hackeronthis should be mentioned on https://help.ubuntu.com/community/ReportingBugs01:13
Hiiroohi anyone awake? :D01:17
hackeron*yawn* what? who?01:17
Hiiroogood at this virt stuff?01:17
hackeronvirt stuff?01:18
Hiiroousing a guide: https://help.ubuntu.com/9.10/serverguide/C/libvirt.html01:18
Hiiroobut cant fiure it out01:18
Hiirooyou kno how it works?01:18
Hiirooor it works on one computer but not on my ubuntu server install01:21
hackeronHiiroo: hmm, what does it do? - a virtual KVM? - why not just use ssh for terminal and vnc for X?01:22
Hiirooyee it is the startup script / setup for a kvm01:23
Hiirooand you are supposed to be able to vnc into the machine01:23
hackeronI thought the whole point of a network KVM is to recover when the machine froze or stuck during boot or something - seems this wouldn't let you do that01:24
dragoon123pmatulis: I can't get a direct connection setup from win7 to linux lols01:25
pmatulishackeron, Hiiroo: you guys are talking about different kinds of "KVM"01:25
hackeronpmatulis: no, libvirt: https://help.ubuntu.com/9.10/serverguide/C/libvirt.html01:25
dragoon123This would be 10x eaiser if it were linux & linux01:25
hackeronI'm not quite getting the point of it, hmmm01:25
Hiirooits like vmware01:26
Hiirooits not a kvm-switch :D01:26
hackeronit does hardware emulation?01:27
hackeronor is it like Xen?01:27
hackeronif so, why not use Xen, lol01:27
Hiirooubuntus site recommend it and that it is so easy01:27
pmatulisdragoon123: you'll need to decide whether you want to test *any* kind of network transfer or just a specific protocol.  then maybe i can help01:27
hackeronHiiroo: ah, cool - where does it recommend it? - I never heard of libvirt :)01:28
dragoon123pmatulis: I am just having problems getting an ip assigned for ubuntu01:28
pmatulisHiiroo: just ask a specific question and you might get some help01:28
Hiiroohttp://www.ubuntu.com/server/features/virtualisation01:28
dragoon123I have never setup a direct connection01:28
hackeronHiiroo: thanks, I'll play around with it - only used xen so far01:28
Hiiroook, the problem is that the command virt-install hangs before creating the virtual disk on ubuntu server, but in normal ubuntu it works01:29
HiirooI dont know why it hangs01:29
hackeronanything in dmsg or /var/log/messages - also any log files for virt? -- maybe try virt-install --verbose if that's an option01:30
HiirooI'll check01:31
=== undifined_ is now known as UndiFineD
Hiiroothe thing is that this happens on several computers and I cant be the only one using that guide who has this problem but it looks like it01:32
pmatulisdragoon123: strange.  from memory: 'sudo ip addr add xxx.xxx.xxx.xxx/xx broadcast + dev ethX'01:33
hackeronHiiroo: I never used libvirt, going to check it out now on my ubuntu-server - will report if I'm having the same problem :)01:33
pmatulisdragoon123: there you are assigning a static address to device ethX (ex: eth0)01:33
Hiirooncie :D01:33
Hiiroonice01:33
pmatulisHiiroo: i don't use virt-install.  usually vmbuilder or virt-manager01:35
Hiiroook it does the same? I will look at it, thx01:35
pmatulisHiiroo: i suggest virt-manager to start01:35
Hiiroook thanks01:36
dragoon123mur01:37
pmatulismur?01:37
dragoon123I have static setup already, It's just windows 7 wont initialize the connection01:37
Hiiroopmatulis, Ok I found a debug flag and got this: ERROR n connection driver available for emu:///system01:38
Hiiroois this since there is no x installed on ubuntu server01:39
pmatulisHiiroo: no01:39
hackeronHiiroo: heh, well, looks like I'm stuck before you: # apt-cache search python-virtinst01:40
hackeronroot@demo:~#01:40
Hiiroohackeron, ah had same problem, it doesnt excist01:40
Hiirooit is another name01:40
Hiiroojust do apt-cache search virt-install01:40
hackeronyeh, someone needs to update the docs01:40
Hiirooand you find it01:40
hackeronwhat happened to being able to hit edit and fix documntation? :(01:41
pmatulishackeron: you are referring to the official documentation.  it's not publicly editable01:42
hackeronso what happens when it's outdated?01:42
dragoon123pmatulis: Appearently, I need a cross over cable to do this?01:42
hackeronor rather it shouldn't be as I'm looking for documentation for the release I'm using, so probably a package update broke it or something01:43
pmatulishackeron: what release are you using?01:43
hackeronpmatulis: 10/10 and looking at https://help.ubuntu.com/10.10/serverguide/C/libvirt.html01:44
pmatulishackeron: so open a bug against 'ubuntu-docs'01:44
hackeronpmatulis: like this? < http://launchpad.net/ubuntu/+source/ubuntu-docs/+filebug01:45
pmatulishackeron: yes01:46
pmatulisdragoon123: only for very old network cards01:47
hackeronpmatulis: filed, thanks :)01:49
pmatulishackeron: bug number?01:50
hackeron#68226101:50
pmatulishackeron: bug #68226101:51
uvirtbot`Launchpad bug 682261 in ubuntu-docs "10.10/serverguide/C/libvirt.html - package python-virtinst should be virtinst " [Undecided,New] https://launchpad.net/bugs/68226101:51
pmatulishackeron: good01:51
dragoon123geez01:52
dragoon12310 years later, i had to download some dhcp software for windows 7 to fwrd ip to linux01:52
dragoon123I am getting 9MB/s know01:53
dragoon1239-12MB/s not very stable ;s01:53
dragoon123pmautlis: Do you know what causes RX errors & packets?01:54
pmatulisdragoon123: could be a number of things01:57
dragoon123pmautlis: The count error & frame count goes up by around 6-12  every three seconds, total know is 2354601:58
hackerondragoon123: bad switch? bad network cable? faulty network controller? overloaded load balancer?01:58
hackeronalso bad driver?01:59
dragoon123hackeron: probaly bad drive, its a direct connection and I've switched between two cables01:59
dragoon123hackeron: and on windows its a stable speed01:59
hackeroncable too long? too much interference along the way (try using shielded cat5/stp)?01:59
hackerondragoon123: direct meaning crossover?02:00
hackeronare you using an actual crossover cable?02:00
Hiiroopmatulis, have you ever used virt-* or vmbuilder on a non-x system?02:00
dragoon123hackeron: I have no idea its just a regular ethernet cable pmatulis asked me to try a direct connection to see if it would resolve my limited network connection speed on host02:00
hackerondragoon123: you can't use a direct connection unless you use a crossover cable...02:01
pmatulishackeron: wrong02:01
pmatulishackeron: all modern interfaces are auto-sensing02:01
Hiiroopmatulis, I mean, is it easier to build the virtual machines on a x-system and then move them to the non-x system? I dont get how to install otherwise02:01
patdk-lapyou can't use autosensing on a direct connection02:02
patdk-lapcause the autosensing method is made for computer -> switch, computer -> computer has matching timings and confuse the hell out of autosense02:02
hackeronpmatulis: what patdk-lap said02:02
dragoon123Well I currently have a file transfer going (connected) so...02:02
pmatulispatdk-lap: i do it all the time02:02
patdk-lapnormally you have to manually set the speed for it to work02:02
dragoon123How is it working then?02:02
patdk-lappmatulis, sometimes it works, but it's more luck, than science02:02
hackerondragoon123: I thought you said it isn't :P02:02
pmatulispatdk-lap: it always works unless i have a very old interface02:03
dragoon123no, i said i was recieving error and frames02:03
patdk-lapmaybe newer ones have adjusted the detection method to take that into account02:03
dragoon123and a limited connection speed02:03
hackerondragoon123: yeh, try a crossover cable, they'll probably go away :P02:03
patdk-lapdragoon123, are you sure both sides have the same speed and duplex set?02:03
patdk-lapor autodetect the same02:03
patdk-lapthat is the issue I normally see, one side goes full duplex 100mbit, and other goes 10mbit half02:04
dragoon123hackeron: When i have it connected through my router its the same but with limited connection speed02:04
dragoon123patdk-lap: Its directly connected to my laptop atm, with 100MB/s full duplex02:04
dragoon123patdk-lap: the file transfer speed is very unstable though 6MB/s - 12MB/s02:05
patdk-lapon both sides?02:05
dragoon123yea02:05
patdk-laphow are you testing transfer speeds?02:05
patdk-lapfrom a laptop harddrive?02:05
dragoon123no02:05
dragoon123I have a file on the host(ubuntu-server) pc being uploaded to my laptop (windows7) over apache2 (http)02:05
hackeronlol02:06
patdk-lapso you have harddrives on both ends, plus the network connection, plus apache, plus firefox? all in the mix there :)02:06
patdk-lapnice test :)02:06
dragoon123no firefox02:06
patdk-lapie8 :)02:06
dragoon123no02:06
dragoon123download manager02:06
hackeronhahaha :)02:06
hackeronnice :)02:06
dragoon123=p02:07
patdk-lapwell, if your getting interface errors02:07
patdk-lapyou have a bad nic, or bad cable02:07
patdk-laponly possibilities02:07
pmatulisHiiroo: you use virt-manager to create the virtual machines02:07
dragoon123When I reboot the host to windows 8 (its a dual boot machine) the file transfer is stable though02:07
dragoon123windows 7*02:07
hackeronpatdk-lap: or bad driver?02:07
patdk-laphackeron, possible, but not normally likely02:08
hackeronyep02:08
patdk-lapwhat nic is it?02:08
dragoon123the driver is e100, with port MII TP02:08
patdk-lapI know the e1000e where having some issues alittle while ago02:08
dragoon123its some intel NIC i'd have to reboot to win 7 to get the exact name02:08
dragoon123(100MB/s) max02:08
patdk-lapnever heard of lspci, pci id, ...02:08
patdk-lapI doubt it's 100MB/s02:09
patdk-lape100 caps at 100mbit02:09
dragoon123er ya that02:09
dragoon123sorry02:09
dragoon123100Mbps02:09
patdk-lapwhat ubuntu version?02:10
dragoon123patdk-lap: they do not return the driver name only the drive fmaily name02:10
dragoon123Ubuntu-Server 10.1002:10
patdk-lapdragoon123, lspci returns more info than you know what to do with :)02:11
patdk-lapit gives you the card id, the pci id (all info about that card is in that id), the driver used for that device02:11
patdk-lapall specs of the card02:11
dragoon123patdk-lap: I could only get it to return Intel corporation M10/ICH 7 Family LAN controller..02:12
dragoon123which is useless02:12
patdk-laplspci -v02:12
dragoon123same thing02:13
dragoon123just includes Hewllet packard know02:13
dragoon123Hewlett(*02:13
patdk-lap00:19.0 Ethernet controller: Intel Corporation 82566MM Gigabit Network Connection (rev 03)02:13
patdk-lapKernel driver in use: e1000e02:13
patdk-lapKernel modules: e1000e02:13
patdk-lapfor my laptop02:13
dragoon123sec ill pastebin it02:13
dragoon123http://pastebin.com/0sjCYYEG02:16
patdk-lape100 driver02:16
dragoon123?02:17
patdk-lapare you sure your not getting errors or corruption when using windows on it?02:17
dragoon123hmm02:18
patdk-lapI have noticed that linux and windows handles packet retries completely different02:18
dragoon123Well I figured since I had a stable connection on windows no02:18
dragoon123but should I find a program which can .... show errors i guess?02:18
pmatulisdragoon123: do you have any other non-windows system to test with?02:22
patdk-lapya, could always load the ubuntu desktop live cd, and give it a try02:23
dragoon123hmm02:23
dragoon123no cd-drive on host02:24
=== Guest81825 is now known as nigelb
dragoon123Well, anyways I'll load up a bootable usb after since I pretty much know its a router problem02:27
dragoon123maybe the rx error&frame is just a problem with the ubuntu-server drivers02:28
dragoon123Thanks for your help all :)02:28
JanCpatdk-lap: e1000e is still having issues BTW, not only "a little while ago"02:33
pmatulistoo bad dragon123 didn't specify the pci id of his card02:39
patdk-lapjanc, ah heh, I hadn't heard anything about it since 10.10 was released :)02:59
JanCpatdk-lap: my 82566DM-2 doesn't want to go higher than 100 Mbit/s, and judging from other bugs on LP some peopel only get 10 or 0 Mbit/s...03:01
* JanC wonders why Intel can't write proper drivers for their own hardware...03:01
patdk-laphmm, mine works fine, on 10.04 though, so I haven't used the newer intel driver for the e1000e03:03
patdk-lapmy 10.10 (actually on 11.04 now) only has a e1000 card03:04
JanCI have that bug on 10.04 & 10.10 (didn't try with older versions yet)03:29
JanCoh, and with the 2.6.37 kernel too03:30
uvirtbot`New bug: #530051 in autofs5 (main) "Autofs and semiautomatic credentials" [Wishlist,Confirmed] https://launchpad.net/bugs/53005103:37
=== Izinucs_ is now known as Scunizi
_Techie_for some reason my wget isnt breaking command on ^C04:02
Guest79434ada orang indonesia dsini?04:09
=== Guest79434 is now known as alam
=== alam is now known as perdana
=== nigelbabu is now known as nigelb
=== _ruben_ is now known as _ruben
=== unreal_ is now known as unreal
twbWhat's this "virtio" stuff, and how do I use it?10:05
twb(re. kvm)10:06
twbHere we go http://www.linux-kvm.org/page/Virtio10:10
=== Mr_mist is now known as mrmist
StarheroHello can someone please help me, i need to force a fsck on my main ub drive10:29
Starheroand i am not sure how to do it during boot10:29
StarheroOh god don't tell me there are 258 idlers in here...10:30
mrmistnah there's less than that, you're talking10:31
Starherohaha10:31
StarheroMight you know how i could force the server to check all drives (primarly sda...all partitions?)10:32
mrmistI'm afraid that knowledge escapes me10:32
air^Starhero: tried googling it? for example http://www.cyberciti.biz/faq/linux-force-fsck-on-the-next-reboot-or-boot-sequence/10:37
StarheroI did but that was nto found10:38
StarheroI was getting all kinds of thigns so...i figured jsut ask someone10:39
StarheroI knew that there was like 500000 irc channels for linux period so...I learned a lot through irc about linux but never needed to do this...Thank you for the information10:39
=== KB1JWQ_ is now known as KB1JWQ
=== mquin_ is now known as mquin
=== unreal_ is now known as unreal
ph0t0nixHi all.12:47
ph0t0nixI'm having trouble getting my KVM VMs to start after upgrading the real server from 10.04 to 10.10.12:47
ph0t0nixIt seems that apparmor is in the way:12:47
ph0t0nixerror: Failed to start domain krimson12:48
ph0t0nixerror: internal error Process exited while reading console log output: libvir: Security Labeling error : internal error error calling aa_change_profile()12:48
ph0t0nix 12:48
ph0t0nixso I disabled libvirtd's profile by making a symlink in /etc/apparmor.d/disable, but now I have permission errors for the LVM LV that contains the file system for the VM.12:49
ph0t0nixDoes anybody have an idea how to fix this (chmod-ing the /dev entries for the LV to a+rw seems to work...)12:51
ikoniaph0t0nix: that's an intersting issue12:53
ph0t0nix:-)12:53
ikoniaph0t0nix: are the lvm errors on the lvm devices or the actual lvm file systems12:53
ph0t0nixon the devices:12:54
ph0t0nixbrw-rw---- 1 root disk 251, 11 2010-11-28 13:12 /dev/dm-1112:54
ph0t0nixbrw-rw-rw- 1 root disk 251, 12 2010-11-28 13:51 /dev/dm-1212:54
ph0t0nix 12:54
ph0t0nixdm-12 is used by a VM that is running now12:54
ph0t0nixstarting a VM with an LV that doesn't have 666 permissions gives:12:55
ikoniaph0t0nix: should those devices not be in a volume group12:55
ph0t0nix# virsh start gaffel12:55
ph0t0nixerror: Failed to start domain gaffel12:55
ph0t0nixerror: internal error process exited while connecting to monitor: char device redirected to /dev/pts/312:55
ph0t0nixqemu: could not open disk image /dev/raidvg01/gaffel-vm3: Permission denied12:55
ph0t0nix 12:56
ph0t0nix# ls -l /dev/raidvg01/gaffel-vm312:56
ph0t0nixlrwxrwxrwx 1 root root 8 2010-11-28 13:12 /dev/raidvg01/gaffel-vm3 -> ../dm-1512:56
ph0t0nix 12:56
ikoniaph0t0nix: I wonder if it's as simple as udev rules12:56
ph0t0nix# ls -l /dev/dm-1512:56
ph0t0nixbrw-rw---- 1 root root 251, 15 2010-11-28 13:12 /dev/dm-1512:56
ph0t0nix 12:56
ph0t0nixNotice that virsh has changed the group from disk to root...12:56
ph0t0nixnice idea about udev. haven't looked into that yet12:57
ph0t0nixhmm, libvirtd runs as root, but the one VM that's running (with the 666 LV) runs with uid 116, which is libvirt-qemu.13:03
ph0t0nixthat explains the permission error. I'll try to add the libvirt-qemu user to the disk group13:05
ikoniaodd that the upgrade would change this13:06
ph0t0nixikonia: true. And adding the user to the disk group doesn't change a thing.. Still Permission denied13:08
=== quux is now known as matti
=== JanC_ is now known as JanC
=== unreal_ is now known as unreal
=== popey_ is now known as popey
awantihi, I want to setup a domain in my office. so any one can guide me how to configure domain for my small office. In my office 40 pc are there (running windows xp) NOW i have to setup a server for that. I chooses Ubuntu Desktop edition. But most people are saying go Ubuntu server edition on #ubuntu chat room.14:29
=== unreal_ is now known as unreal
meatflagamanti: what services do you want the server to provide? Samba, DNS, HTTP?15:12
=== ihCiFriS_ is now known as SirFiChi
=== NG_ is now known as ng_
=== klaas- is now known as klaas
MrStarbuck83hi everybody16:22
MrStarbuck83Can anyone recommend a lightweight ident server?16:22
MrStarbuck83test16:35
billybigriggerwhere does nfs log to?16:36
MrStarbuck83anybody got this bug too? https://bugs.launchpad.net/ubuntu/+source/python-apt/+bug/66451416:43
uvirtbot`Launchpad bug 664514 in python-apt "Unattended upgrade fails with segmentation fault in Ubuntu Server 10.10" [Undecided,Confirmed]16:43
MrStarbuck83Wow16:43
bla_blawhat would be a good easy to use nube email and calendaring server to use/install ?17:15
RoyKbla_bla: there are several out there, but I landed on zimbra17:25
RoyKbla_bla: it doesn't come with ubuntu, and it is best run on a dedicated machine or VM17:26
RoyKbla_bla: a bit on the heavy side, but it works well and all normal administration is done with a web gui17:26
RoyKbla_bla: so if you have memory enough to run zimbra as a VM, go ahead17:27
=== ng_ is now known as NG_
=== Datz_ is now known as datz
bla_blaRoyK: my server has 768 mb i think18:20
RoyKbla_bla: then forget about zimbra - it will need 1GB alone18:22
bla_blaRoyK: all i want really is a good email program and calendearing service18:24
RoyKhttp://en.wikipedia.org/wiki/List_of_project_management_software18:24
=== mrmist is now known as evilmist
=== evilmist is now known as mmrist
=== mmrist is now known as mrmist
teardrop-how to set wireles password in ubuntu server ?21:52
teardrop-how to set wireles password in ubuntu server ?22:25
=== SirFiChi is now known as ihCiFriS
=== yann__ is now known as Yann2
uvirtbot`New bug: #682500 in openssh (main) "Agent admitted failure to sign using the key." [Undecided,New] https://launchpad.net/bugs/68250023:11
uvirtbot`New bug: #682501 in php5 (main) "php5 5.3.3-1 causing segfaults -> 5.3.3-4 backport for maverick?" [Undecided,Incomplete] https://launchpad.net/bugs/68250123:16
=== kirkland` is now known as kirkland

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