/srv/irclogs.ubuntu.com/2011/01/29/#ubuntu-server.txt

tallis_does anybody have any experience o linux software raid?00:00
shaggy2ok so I am needing to change how long it takes for bind9 to reliase that there is a new domain/subdomain. I am running ubuntu 10.10 I created a subdomain last night and the new subdomain didn't work for about 9 - 12 hours. how do I shorten that time?00:03
tallis_does anybody have any experience o linux software raid?00:03
tallis_does anybody have any experience o linux software raid?00:07
Nafallotallis_: quite a few most likely. what is it you really want to ask?00:07
Nafalloalso, repeating a question isn't likely to get you anywhere any faster really.00:08
tallis_i'm trying to build a raid10 array00:08
tallis_i created 2 md0 partitions with madam00:09
tallis_the ubuntu installer see's them00:09
tallis_but it doesn't detect 1 NON raid partiotion with shall become the "/boot"00:10
tallis_any idea?00:10
tallis_Nafallo, ?00:12
shaggy2ok so I am needing to change how long it takes for bind9 to reliase that there is a new domain/subdomain. I am running ubuntu 10.10 I created a subdomain last night and the new subdomain didn't work for about 9 - 12 hours. how do I shorten that time?00:53
MTecknologyIs it possible to run your own dropbox server?00:56
MTecknologyI thought it was, but I'm having trouble finding any info on it00:56
jmarsdenMTecknology: Maybe you mean http://fak3r.com/2009/09/14/howto-build-your-own-open-source-dropbox-clone/ ?02:53
=== tumbleweed_ is now known as niles
jmarsdenshaggy2: Most likely you need to set a shorter TTL in your zonefiles?  A line $TTL 900 at the top of each zonefile will mean they are cached by other DNS servers for only 900 seconds (15 minutes) before the authorized server is checked for any updates.02:56
MTecknologyjmarsden: oh- thanks :)02:57
jmarsdenMTecknology: You're welcome.02:57
MTecknologyjmarsden: I wrote a tiny script to kind of do it; it's been running about 2hr now :P02:57
nilesanyone know any good dns servers?02:59
jmarsdenniles: 8.8.8.8 and 8.8.4.4 are the Google public ones, they work well...03:00
nilesok, thanks, but I meant more like bind903:05
MTecknologyI love google dns servers03:08
MTecknologybefore that I was stuck with my isp's or opendns which was almost as bad03:08
binaryhati need assistance w/ Bridge to LAN on my VM03:14
binaryhatmy VM cant connect to the net03:15
xidi let my ec2 go past due, then i paid it up about 45 mins ago, now it says "It looks like you don't have an EC2 account."03:19
xidand that I have to sign up, but every time I go to the sign up page it says I already have access03:20
xidcatch2203:20
SJrWhat's the easist way to get a multi boot USB stick?03:22
MTecknologyhttp://dpaste.com/364659/ <- this is my hosts.deny file; that 'should' keep anything from reaching nginx from those IP's, right?04:09
jmarsdenSJr: pendrivelinux.com has a bucnh of relevant articles, try http://www.pendrivelinux.com/boot-multiple-iso-from-usb-via-grub2-using-linux/04:13
fongweeHi everyone I need some help with virtualisation on Ubuntu server04:13
jmarsdenfongwee: Go ahead and ask your actual, specific, question, and see if anyone here can help.04:14
fongweeHow do I virtualise a Ubuntu desktop on my server to run as a HTPC04:14
fongweeI am stuck at the virt-install04:14
fongweeSorry I am a newbie in Linux04:15
fongweeI had entered sudo virt-install --prompt04:16
jmarsdenIs it possible to just install Ubuntu Desktop on the real hardware, and avoid the virtualization?  That will be easier for a newcomer. Virtualizing an HTPC sounds... interesting, you'll be dealing with virtualized sound cards and so forth... do you *really* want to do that?04:17
fongweeI am trying to setup a NAS and HTPC on the same computer. Is it possible to just use the Ubuntu desktop04:18
jmarsdenSure.  Ubuntu desktop can run services to share files and stream audio and video...04:18
fongweeOk. The NAS is able to run RAID?04:18
jmarsdenUbuntu server is an OS for "real server" use, often headless in a server closet.  Sure, Ubuntu desktop can use hardware and software RAID.04:19
fongweeOk. That sounds like what I need for a starting noob.04:19
fongweeHow do I configure it to run as a NAS?04:20
jmarsdenJust install the samba packages and set up shares, if you want "Windows-like" file shares.  For video and audio streaming there are plenty of options but I don't know mcuh about any of them :)04:21
jmarsdenfongwee: https://help.ubuntu.com/community/Samba/SambaServerGuide  might be worth reading.04:22
fongweeok thank you jmarsden. I will check it out04:23
jmarsdenYou're welcome.04:23
no--nameHi. I am running ubuntu-server 10.10 with fluxbox and when I plug my usb hard-drive in it doesn't come up in /media like it does on ubuntu-desktop... what gives?04:47
Thirtysixwayno--name I think it's nautilus that auto mounts it, and that's not installed on server edition04:50
no--nameahh04:50
ThirtysixwayCheck out https://help.ubuntu.com/community/Mount/USB04:50
no--namewell I just went mount /dev/sdb1 /mnt and it worked.04:50
Thirtysixwayah okay04:52
sijohi06:21
sijohi08:28
uvirtbotNew bug: #709655 in samba (main) "package samba 2:3.5.6~dfsg-4ubuntu2 failed to install/upgrade: подпроцесс установлен сценарий post-installation возвратил код ошибки 1" [Undecided,New] https://launchpad.net/bugs/70965508:41
anzenkethI have /var mounted on a seperate partition is there a way that I can change that while the system is booted?08:57
anzenkethI am using LVM09:00
anzenkethcd /amahi09:10
=== windkids is now known as shobo0
=== shobo0 is now known as windkids
=== oCean_ is now known as oCean
novitololoHi. If /var/www have write permissions just for the root, how can I write files from Eclipse to that folder?10:10
\shnovitololo: /var/www should have www-data:www-data and you can put your user in the www-data group10:12
novitololo\sh: What do you mean by www-data:www-data ?10:13
\shnovitololo: the permissions of /var/www should be www-data:www-data (user www-data, group www-data)10:16
novitololo\sh, thanks.10:17
magezheys, i have problem of not being able to connect to my server, i think its firewall problems10:32
magezthats after i setup the complicatedfirewall ufw and rebooted10:36
magezbefore the reboot i was able to connect to the sites and stuff10:36
magezi can see the sites on localhost10:36
magezcleared all the fw rules with webmin but nothing10:37
tallis_I have a software raid in ubuntu at after an update it doesn't boot any more ... i get to the Busybox screen10:43
tallis_anybody?10:43
=== windkids is now known as windGone
Mateo_Hi everyone !11:05
Mateo_i don't understand something, i've added a virtualhost, a user using pure-ftpd, like i did a lot of times, but this time, i can't connect using ftp11:11
Mateo_login is ok but it looks like password isn't11:11
Mateo_i've checked it 3 times ...11:11
Mateo_ok i try to change the password again and now it give me a Unable to fetch info about user [.....]11:20
Mateo_ok found the problem ...11:27
Mateo_thanks anyway !11:27
uvirtbotNew bug: #709723 in cobbler (universe) "The location of isc-dhcpd is incorrect in sync_post_restart_services.py" [Undecided,New] https://launchpad.net/bugs/70972312:16
=== oubiwann_ is now known as oubiwann
Avi__ I am installing ubuntu server after activating raid during setup. I have to configure iSCSI volumes. After I select Log into iSCSI targets, I need to enter the "iSCSI target portal address". After entering the ip, I get the following error: "No iSCSI targets discovered".12:36
Avi__Please help.12:36
gobbeAvi__: and you are sure that your iscsi-target is showing disks to your host?12:38
Avi__after the partitioner loads, I get the following message: This is an overview of your currently configured partitions and mount points. Select a partition to modify its settings (file system, mount point, etc.), a free space to create partitions, or a device to initialize its partition table. Below this text I get the following options: Configure iSCSI volumes, Undo changes to partitions and Finish partitioning and write change12:43
gobbeso you have server/storage providing iscsi-volumes?12:43
Avi__yes12:44
Avi__thats what the installer says12:44
gobbeeh? installer?12:44
Avi__the text based ubuntu server installer.12:44
orogorhi here12:44
gobbeAvi__: but...you have external storaage providing iscsi?12:44
orogori am having trouble setting up the server as router/dns/dhcp server wifi access point, anyone may help ?12:45
gobbeorogor: well, it would help that you tell what kind of trouble you have12:46
orogorcurrent issue is that /etc/network/interface setting is overidded by something that i dont know and wifi interface is uspposed to give out dhcp  lease and has a fixed adress but somehow end up getting the dhcp adress it s supposed to give out12:46
Avi__gobbe: i am not sure12:46
Avi__please help.12:46
gobbeAvi__: eh, you are not sure? do you know what iscsi is?12:47
gobbeAvi__: iscsi is way to attach external storage to your server, but you need to have either external storage or server providing this disk12:47
Avi__it is based on storage on the network?12:48
gobbeyes12:49
Avi__ok12:49
gobbeit's way to use storage over ip-network12:49
gobbeand to be able to use it, of course you need to have storage-system or server that can give disk12:49
Avi__there are 2 hard disks on the server machine12:50
gobbeso what you are actually trying to do?12:50
Avi__i want to install ubuntu server12:50
orogorthese  disks will be presented not as file share , but as lun/raw partitions12:50
gobbeAvi__: well then you just install it normally, you don't use iscsi12:51
Avi__so how do i bypass it12:51
orogorand you ll need to mount  them on the "client" server partition them and stuff12:51
Avi__?12:51
gobbeAvi__: you don't select iscsi12:51
gobbeAvi__: restart if you cannot get back after you selected iscsi12:52
orogorgobbe,  any idea for the dhcp issue i have ?12:52
Avi__i have no other option12:53
gobbeAvi__: what did you select before that12:53
gobbeorogor: hmmh, so are you trying to get ip with dhcp or act as dhcp-server?12:53
Avi__after the partitioner loads, i have 3 options12:53
orogoract as dhcp server12:53
gobbeAvi__: what are options?12:54
Avi__first is "Configure iSCSI volumes"12:54
gobbeorogor: https://help.ubuntu.com/10.04/serverguide/C/dhcp.html12:54
Avi__second: "Undo changes to partitions"12:54
Avi__and third "Finish partitioning and write changes to disk"12:55
orogori set wlan0 as 192.168.2.100 in /etc/network/interface and dhcp server for range 200-250 , but wlan0  ip is now 192.168.2.20112:55
Avi__the last two options don't work12:55
gobbeAvi__: you selected automatic partitioning before that12:55
gobbeorogor: upload interface-file to pastebin.ubuntu.com12:55
Avi__no the partitioner loaded automatically without letting me select "manual partitioning"12:56
orogorhttp://pastebin.ubuntu.com/559873/12:56
gobbeAvi__: are your disks empty?12:56
orogorhttp://pastebin.ubuntu.com/559875/12:57
gobbeorogor: you are using server and not desktop?12:57
Avi__no12:57
gobbeAvi__: which version you are trying to install?12:57
orogorhttp://pastebin.ubuntu.com/559876/12:57
Avi__ubuntu 10.04 server12:58
gobbeorogor: it shows that your wlan0 has no ip,  but wlan0:avahi has12:58
orogorgobbe, i use it as both :)  only kernel is different12:58
gobbeorogor: yep, and desktop has network manager12:58
orogori uninstalled network manager, i dont know why avahi want to give that if an ip12:58
gobbeorogor: which could cause nice things12:58
gobbe:)12:58
gobbeorogor: say sudo ifdown wlan012:59
gobbeorogor: and then sudo ifup wlan+12:59
gobbeorogor: and then sudo ifup wlan012:59
orogorlooks better12:59
orogorbut then i dont know how to fix this definitivelly13:00
gobbeso this is actually desktop and not server installation?13:00
orogoravahi is suposed to broadcat capabilites of the computer not set up if13:00
orogorreally only kernel is different from server and desktop and depending on the days i boot either kernel13:01
orogorthat workstation has a shitload of services running13:01
Avi__please help.13:02
gobbewell, like i told, network manager also13:02
orogorAVAHI_DAEMON_DETECT_LOCAL=113:02
orogorAVAHI_DAEMON_START=013:02
gobbeorogor: and scheduler13:03
orogornetwork manager is uninstalled, i dont like it13:03
gobbeso it gets ip on boot?13:03
orogorhuh from interfaces file13:04
orogori am not sure i get your question13:04
gobbewell, it did have ip on your paste13:04
orogorwhat wlan0 ?  yes and thats  the issue13:06
orogornow i restarted it it has correct ip13:06
gobbewith ifdown/ifup?13:06
orogoryup13:06
gobbeif you now restart your computer it still gets wrong ip?13:06
orogoryes thats  sure i already tried restarting it after restarting interface13:07
gobbecheck from syslog that what service triggers the dhcp for it13:08
orogorit s avahi autopid13:14
cossovichhello folks. I'm looking for an elegant way to install PHP 5.2 on Maverick. I'm almost ready to start compiling from source... can anyone talk me out of that?13:19
orogorhummm13:21
gobbecossovich: why php 5.2?13:22
cossovichweb development box primarily used for Drupal (6)13:22
gobbecossovich: php5 package is 5.3.2, is it too new?13:22
orogorgobbe,  and even then i just started hostapd as soon as i did wlan0 (not wlan0:avahi) took 10.1.2.201 , and added a new route for the interface which broke the connection to the net13:22
cossovichyar... Drupal 6 isn't compatible with 5.313:23
gobbecossovich: ok :/13:23
gobbecossovich: then i would say that only way is to compile it from sources13:23
cossovichI've seen some other solutions like changing the sources list to Karmic for the PHP packages but it just seems messy to me.13:24
gobbecossovich: yes, and that can cause lots of troubles :D13:24
cossovichI think I'll go back to basics! Juts wanted to do a sanity check.13:24
cossovichgobbe: what kind of potential troubles? (just out of curiosity)13:25
gobbecossovich: well, packages are depending from other packages13:27
gobbecossovich: so you could end up in situation where your system is needing two versions of packages :)13:27
cossovichgobbe, I see... so if I go back to compiling PHP I just need to be aware of any updates myself and manually compile the software again when there's a new version?13:30
=== cferthorney is now known as cferthorney|afk
orogori just losed the connection for a few minutes13:36
gobbecossovich: i would try to upgrade drupal one that supports newer php13:36
gobbecossovich: but you could skip php-packages from updates13:36
orogorhummmm13:39
=== tumbleweed_ is now known as niles
\shorogor: what does drupal6 upstream says about php 5.3?13:41
orogorno idea i think you had an issue with completion13:42
\shorogor: right...13:42
=== NG_ is now known as ng_
=== niles is now known as billy_bob_joe_jr
=== ng_ is now known as NG_
orogorhi again14:25
orogori still have the same issue14:26
orogori dont manage to set a static adress for the interface14:26
gobbein boot?14:32
orogor..15:07
orogorgobbe, no , apparently thats linked to dhcp15:09
orogoror humm how to put it15:09
orogorit start static, then every so often it gets a dhcp adress15:09
orogorif i updown it it s  static , but then will get a dhcp again15:09
gobbeso some process is triggerin it with dhcp15:09
orogorgobbe, no , apparently thats linked to dhcp15:09
orogorit start static, then every so often it gets a dhcp adress15:09
orogorif i updown it it s  static , but then will get a dhcp again15:10
orogori configured dhclient.conf to try to get static, but it seems to have no effect15:10
gobbeeh?15:11
gobbeif you configure it as static it is static15:11
gobbeunless something triggers dhclient to it15:11
=== ogra is now known as Guest3328
orogorhttp://pastebin.com/9jDeWBk415:12
orogorthats  dhclient.conf  which sets static in addition to interface file15:12
orogorwith avahi autopid deactivated and network manager uninstalled15:12
=== Guest3328 is now known as ogra
orogorerrr both uninstalled15:13
=== ogra is now known as Guest28007
gobbedisable dhclient if you want to use static ip15:15
orogorthat d be too simple15:18
orogori need one interface with dhcp15:18
gobbeyou can configure it from interface-file15:18
gobbeothers with static15:18
gobbeand one with dhcp15:18
orogorthats  what i do15:18
gobbewell, if your wlan gets still ip from dhcp, even when it's configured as static, something is triggering dhclient to it15:19
orogorhttp://pastebin.com/0wAMWZBC15:19
gobbei believe that auto-lines should be above of others15:20
gobbeso auto eth115:20
gobbeand then iface eth1 ....15:20
orogorfixed15:22
orogorhummmm15:39
nimrod10a15:43
OriKHi, I've been taking a look to Ubuntu Cloud and I've noticed that it's unsuitable if your nodes might fail unexpectedly15:44
OriKdo you know something that could manage that?15:45
=== Kiall|AFK is now known as Kiall
WoutCan someone help me figure something out??? I think I'm going mad here...16:18
WoutI have a home server16:18
WoutI wan't it to auto suspend and wake on lan16:18
Woutno magic packet just activity16:18
WoutI'm going to use powernap for the suspend part16:19
WoutWhen I do ethtool -s eth0 wol u16:19
Woutfollowed by: ethtool eth0 it says"Wake-on: u"16:20
Woutthen i issue pm-suspend16:21
OriKI think that's not possible without magic packet, the network interfaces have activity continuosly so it wouldn't know which activity should make the server to wake on...16:21
WoutMy system suspends but doesn't wake from ping16:21
shirgallThe wakeonlan tool sends the magic packet16:21
shirgallI don't think ping is enough16:21
Woutthe system does wake from wakeonlan Magic Packet16:21
Wout"ethtool -s eth0 wol u" should set wol to wake on unicast...16:22
OriK... it wakes on unicast... with a magic packet16:22
OriKnot a regular ping16:23
WoutThis is not the problem.16:23
WoutAfter a suspend the "u" wol setting is reset to "g"16:23
OriKin fact you can't ping a suspended machine because it "doesn't have" IP16:24
Woutmy arp table still contains the system.16:24
WoutSearch ping and wol. This is widly used16:24
WoutEven so this used to work on my 10.4 install16:25
WoutNo hardware changes fresh maverick install and it doesn;t work16:25
WoutEven setting it to "p" (physical activity) doesn't work because its reset to "g" before suspend16:26
OriKmaybe there is a configuration file overwritting your command16:27
WoutI'm thinking something like this.16:27
shirgallMight be that something is resetting it in the rc scripts on suspend16:27
WoutI think it's got something to do with bug 44595016:28
uvirtbotLaunchpad bug 445950 in powernap "powernap init script should enable WoL on valid interface(s)" [Medium,Fix released] https://launchpad.net/bugs/44595016:28
Woutlol16:28
shirgallThat looks like a smoking gun. :)16:28
WoutI thought so. But where can I set the wol variables......16:29
Woutgeneral question16:29
shirgallBy default /etc/powernap/action is nothing but comments, but you could add some actions there16:31
Wout/etc/powernap/action has "pm-suspend"16:33
shirgallAnd there doesn't seem to be any ethtool in the default /etc/pm scripts either16:33
Wouthowever the behaviour I'm fasing is before powernap does anything16:33
shirgallI don't see anything obvious. :(16:35
Woutethspeed16:36
Wout/etc/pm/power.d/eth_speed16:36
Woutethtool -s eth0 autoneg on speed $116:36
shirgallAh, on my default that's empty16:38
Woutodd16:38
shirgallI just installed powernap a couple minutes ago16:39
shirgallMaybe I need to configure it before those scripts set up16:39
Woutbtw I used the powernap ppa16:40
Wout;-)16:40
Woutversion 2.216:40
shirgallAh, I did not16:40
shirgall1.10-0ubuntu116:42
Woutppa:powernap/ppa16:42
WoutAnyone know how to contact Dustin Kirkland?? ;-)16:48
compdocyou are not worthy16:49
Wout:-)16:50
Wout2010-03-04 - Dustin Kirkland <kirkland@ubuntu.com>16:53
Woutpowernap (1.9-0ubuntu1) lucid; urgency=low16:53
Wout  * debian/powernap.upstart: fix LP: #53195016:53
Wout    - fix ethtool regex16:53
Wout  - allow for admin customized ethtool script, when powernap's16:54
Wout      is incorrect or undesired16:54
shirgallThat does seem promising16:54
Woutthought so, now all I need to do is find that script.... I think16:55
Wouthttps://bugs.launchpad.net/ubuntu/+source/powernap/+bug/53195016:59
uvirtbotLaunchpad bug 531950 in powernap "Powernap upstart script assumes that there is only wake-on-lan "magic packet" mode." [Medium,Fix released]16:59
alonswartzkirkland: you around? I see you added "geolocation for aws server assignment" to the cloud-server-desktop-images blueprint and I might be able to help16:59
AdamDVPropoer hostname in 10.04 is like this right? /etc/hosts: 127.0.0.1 server.domain.com server /etc/hostname: server17:03
alonswartzkirkland: as reference - http://www.turnkeylinux.org/blog/geoip-amazon-regions and http://www.turnkeylinux.org/blog/auto-apt-archive17:03
Wouthave to go now17:05
Woutthanks for the help17:05
AdamDVAlso, is the netadmin account used for anything, or am I free to use it for an account?17:07
r3snoquestion for you guys.17:32
r3snoif you were looking for a server admin to hire, would you suggest using a tool like webmin to setup a home router or require doing it "manually"?17:33
r3snoi want to setup my server as my router, dhcp, etc. but i am sure id do it wrong, and i want the experince but want to do it "right"17:33
AdamDVWhere can I find the ssh.d log?17:34
r3snoAdamDV: /var/log17:34
AdamDVYea. Under what file name?17:34
AdamDVauth.log?17:34
r3snoi think its auth17:35
AdamDVI keep getting public key errors client side but auth.log shows no lines of anything. Hmph.17:35
AdamDVAh. Here we go. Authentication refused: bad ownership or modes for file /home/sysadmin/.ssh/authorized_keys17:35
AdamDVWhat should the permissions be? I've got them at 066717:36
r3snono clue17:38
AdamDV664. These messages should really be more descriptive >:(17:43
r3snohave you tried clearing the keys and making new ones?17:44
binaryhat i need assistance w/ Bridge to LAN on my VM, my VM cant connect to the net17:49
thesheff17binaryhat: are you using nat?17:56
binaryhatnot sure17:57
thesheff17what is your ip of your server? and what is the ip of the virtual machine? use ifconfig to see ip.17:57
binaryhatserver is 192.168.1.10117:58
r3snois it sad to use to tools to admin a server? or direct conf editing?17:59
binaryhatfor VM is it br0 or virbr0 thesheff17 ?17:59
thesheff17binaryhat: so on the server you should have bridged eth0 to br018:00
binaryhatthesheff17, eth0 and br0 have the same ip address, virbr0 has 192.168.122.118:01
thesheff17binaryhat: ah ok...so 192.168.122.1 is basically the virtual network for the backend...you can simply assign a static ip to your virtual machine in the same range as 192.168.1.x18:02
thesheff17binaryhat: it depends if you want to use NAT or not.18:03
binaryhatwhat do u suggest18:03
thesheff17I don't use nat...I assign everything in the same range so 192.168.1.x and static IP everywhere.18:04
binaryhatthesheff17, nat doesnt work, i get a 169 address18:10
thesheff17binaryhat: I would try to set a static on the virtual machine in the same range as the server and then try ping the server ip from the virtual machine.18:12
binaryhatnot in /etc/network/interfaces?18:13
=== jhaddad_ is now known as jhaddad
thesheff17binaryhat here is how my network config files look for both the server and the virtual machine http://pastebin.com/gHsqR5bV18:17
thesheff17yea you should be editing /etc/network/interfaces on both devices.18:21
thesheff17once both devices are configured correctly your virtual machines will have access to everything...dns, web sites, local network, etc18:24
binaryhatmy guest VM is win718:30
thesheff17binaryhat: oh haha...try setting everything up in the same range...ip, gateway, dns18:31
PhotoJimI'm running 10.04 LTS on a home server. pae kernels have been autoinstalled and I don't need them (the machine can onlly take 2 GB of RAM). when I go to remove them, aptitude says linux-server depends on linux-generic-pae.  am I missing something?  I've got the machine running on a non-pae kernel and obviously, all is well.18:57
Patrickdkubuntu server uses the pae kernel for 32bit19:00
Patrickdkif you uninstall it, you will uninstall the ubuntu server meta package cause it depends on it, but everything will still work fine19:00
Patrickdkit's upgrades that can get strange then19:01
PhotoJimso I should just ignore it?19:01
PhotoJimwhy is it forcing PAE? that seems unnecessary.19:01
PhotoJimit doesn't hurt anything on my server but the kernel is larger than it needs to be in consequence.19:01
Patrickdkwell, you installed server mode19:01
Patrickdkyou could just install the none-pae kernel also19:01
PhotoJimthe non-PAE kernels are installed, but tue PAE ones get priority in the grub kernel list.19:02
Patrickdkheh, odd19:02
PhotoJimI guess I could change it to boot off kernel 2 instead of kernel 0.  that would always be the non-PAE non-debug kernel.19:02
PhotoJimyes.19:02
Patrickdkguess you could edit /etc/grub.d/10_linux19:05
Patrickdkand add pae to the blacklisted kernels19:05
PhotoJimthat's an idea.19:08
=== jeeves__ is now known as jeeves_moss
jeeves_mosshow do I enable CONFIG_TASK_DELAY_ACCT in IOTOP?19:21
RoAkSoAxkirkland: ping?19:52
thesheff17does anyone know how to set a read only variable in mysql to not read only?20:05
r3snothesheff17: what do you mean?20:06
thesheff17I'm trying to set this: set global lower_case_table_names=1;20:06
thesheff17and I get  ERROR 1238 (HY000): Variable 'lower_case_table_names' is a read only variable20:07
r3snothesheff17: are you using logs? or something else?20:08
thesheff17r3sno: I'm trying to do this on the mysql command prompt...it basically just says table names are case insensitive20:09
r3snothesheff17: try this out http://info.solomonson.com/content/how-fix-errno-24-mysql20:10
SkaagI just finished installing Ubuntu Server 10.04 LTS on a system with a RAID1 configuration, it didn't boot. I loaded in rescue mode, and mounted the root drive, but I can't see any kernels in /boot/, any ideas why this might be?!20:13
thesheff17r3sno: yea I was originally trying to set this in the my.cnf..but the mysql server wouldn't start...so I commented out and tried it on the command line.20:13
SkaagI did not specify a different partition for /boot20:13
Skaagjust a plain system with / fs20:13
thesheff17r3sno: and it doesn't start when I have SET lower_case_table_names=1 in the /etc/my.cnf file :-/20:15
Skaagok weird, within rescue shell, an apt-get dist-upgrade seems to want to bring a kernel, so maybe this will resolve itself20:16
SkaagI just don't understand why an install will seem to finish properly, with no warnings or errors, and the system ends up not having a kernel...20:17
r3snoother then googling the answer, i dont know anything else thesheff1720:22
thesheff17r3sno: thanks for the help...yea this variable has given me huge headaches since I converted over from oracle...I really need to get the developers to fix the case sensitive tables in the code...they are just not willing to do it :-/ and I want to upgrade to the newest version mysql 5.5.8...mysql 5.0.x this variable can easily be set.20:25
bigmahatmahello. I've got a amd k325 processor (on a dell m101z) and I'm running 10.04. I'd like to downclock the CPU, how can I do it?20:31
bigmahatmahello?20:33
thesheff17r3sno: that variable is set fine on mysql 5.1.41 it must be in the new version that they changed it :-/20:35
r3snoheh, new versions are always nice20:35
thesheff17r3sno: do you know anywhere to know how many CPU mysql supports?20:36
r3snoi didnt know mysql didnt support as many cpus you could through at it20:36
Patrickdkdepends on how you use mysql :)20:37
r3snoPatrickdk: please expand :D20:37
binaryhatthesheff17, i still cant get bridge to work20:37
PatrickdkI think it's limited to one cpu per connection20:37
Patrickdkand that includes replication (replication is single cpu limited)20:38
thesheff17Patrickdk: ah ok...I just got a new server... 24 cores...and I'm not really sure if mysql 5.1.x will support that number of cores....I was reading somewhere about how 5.5.8 would support that...I'm trying to find that.20:38
thesheff17binaryhat: so you set the static ip on the windows box? can you ping your virtual machine server?20:39
Patrickdkna it supports it now20:39
Patrickdkit's the replication that doesn't support it20:39
Patrickdkdunno if that is what your talking about though20:39
binaryhathmm20:39
thesheff17Patrickdk: ah ok so mysql 5.1.x should support that many number of cores?20:40
Patrickdkyep20:40
Patrickdkwhen in doubt about high mysql loads, read mysqlperformanceblog.com :)20:41
Patrickdkthey do crazy load tests, on large systems like that20:41
thesheff17Patrickdk: cool thanks. I prefer using the mysql version in the repo anyway.20:41
Patrickdkheh?20:42
* Patrickdk wonders what he said that says I told you to use something different20:42
* Patrickdk hates people assuming what I say20:42
r3snoPatrickdk: how did you learn to be a server admin?20:43
thesheff17Patrickdk: oh you didn't...I was just reading about mysql 5.5 and how it has 370% performance boost over 5.1.x20:45
thesheff17Patrickdk: so I was trying to use that version.20:45
binaryhatthesheff17, yes i can ping it20:48
thesheff17binaryhat: can you ping your router...usually 192.168.1.120:49
binaryhathmm20:49
thesheff17binaryhat: once that works try ping www.google.com...if that doesn't work your DNS servers aren't set.20:49
binaryhati cant ping the router20:50
binaryhati set the dns info on the win7 vm20:51
binaryhatits my cable isp20:51
thesheff17binaryhat: it sounds like something is wrong with the br0 bridge.  How did you install win7 through virt-manager?20:52
=== ogra is now known as Guest22576
binaryhatsudo virt-install -n ultimate7 -r 2048 -f ultimate7.img -s 80 -c /mnt/raid/Universe/Galaxy/ISO/Windows_7_AIO.iso --accelerate --connect=qemu:///system --vnc --noautoconsole -v --network=bridge:br020:53
=== Guest22576 is now known as ogra_
binaryhatthat way20:53
thesheff17binaryhat: can you pastebin your ifconfig of the server?20:54
thesheff17binaryhat: that looks fine20:54
binaryhatthesheff17, http://fpaste.org/JFbt/20:55
binaryhatthesheff17, http://fpaste.org/Hg6a/20:56
thesheff17eth0 shouldn't have an IP since isn't that your bridge adapter?20:56
binaryhateth0 is the NIC server's20:57
thesheff17you have eth0 set to dhcp...check out that pastebin I did http://pastebin.com/gHsqR5bV20:57
thesheff17you def need this line: bridge_ports eth020:58
binaryhati need eth0 to be dhcp20:58
thesheff17br0 needs to be bridged off an adapter.20:58
binaryhatit connects 2 the router20:59
thesheff17this is like a virtual bridge....if you look at my pastebin I bridge eth0 to br0.  I'm not sure you can run dhcp & bridge br0 with the same adapter....if you really need dhcp for that server another physical network adapter should be used.21:00
binaryhat?21:00
binaryhathmm brb21:00
binaryhatso set eth0 as static?21:02
thesheff17in my pastebin I have iface eth0 inet manual21:02
anzenkethTrying to remember how do you set a default group and user for a directory?21:03
thesheff17I would just copy and paste my pastebin file and edit accordingly.21:03
thesheff17anzenketh: chown -R username:group /dir/21:03
anzenkethYes I know how to change the group21:04
anzenkethBut I want additional directories and files to fall under the parent group21:04
anzenkethas apposed to the created users21:04
thesheff17anzenketh: hmm...sorry don't know that21:05
anzenkethFigured it out it is chmod g+s directory will set the current permissions21:17
anzenkethand umask 002 will set to default group writable21:17
Skaagon a system with raid1, where do I install grub?21:23
SkaagI have /dev/mapper/m032-root on / type ext421:24
Skaaghow do I figure out where to install the grub boot loader?21:24
Skaagjust installing to /dev/sda and /dev/sdb was not enough21:24
hjmfSkaag: on both disks21:32
SkaagI just read in a guide my raid is fake21:34
Skaagand it is recommended to just use mdadm21:34
Skaagand make it a linux raid21:34
Skaagbut i'm thinking to skip the whole thing entirely21:34
Skaagdatabase machine... I want good performance21:35
Skaagbrb21:35
binaryhatthesheff17, if eth0 is manual what ip address does it get?21:38
thesheff17binaryhat: it doesn't get one...it gets bridged to br0 and br0 has the ip.21:42
binaryhatthen i cant ssh into the server21:42
thesheff17you can ssh into the br0 ip21:43
thesheff17br0 is for the server and not for the virtual machines21:44
binaryhatthesheff17, i can ssh, but the guest o/s cant get a net connection21:54
thesheff17binaryhat: not sure what that means?21:55
thesheff17can't get a net connection?21:56
binaryhatcant ping the gateway21:56
thesheff17can you even ping the gateway from the server?21:56
binaryhatyup21:57
binaryhatbut not from virt machine21:58
binaryhatvirt machine can ping server21:59
binaryhatthesheff17, http://pastebin.com/6iYjXnMV22:00
thesheff17binaryhat: yea that looks right...not sure why you can't ping the router.22:01
binaryhatshould win7 ip dns be dhcp or static?22:02
thesheff17I would make everything static22:03
thesheff17but I have never used win7 on a virtual machine.22:03
binaryhatbut it doesnt  get a net connection22:05
binaryhatif u look at ifconfig virbr0 ip its differrent from static22:06
thesheff17binaryhat: yea that is for the NAT stuff.22:06
thesheff17binaryhat: that I don't use22:07
binaryhatim stumped22:07
binaryhativ been fighting this for 3 days22:08
binaryhati can get it to work in non-bridge mode22:09
thesheff17binaryhat: not sure what you mean by non bridge mode?22:09
binaryhatwhe i first installed win7 i got a net connection22:10
thesheff17binaryhat: it sounds like that came off the NAT and did DHCP.22:11
binaryhatthen i realized it couldnt see the net shares22:12
thesheff17yea that is the problem...nat makes it stuck behind the server.22:12
binaryhatso...22:12
binaryhatim stuck22:14
thesheff17I would try to create a virtual machine with ubuntu and see if you see the same results.22:14
thesheff17I don't have any issues with ubuntu on the same network range accessing everything.22:14
thesheff17It may be something to do with win722:14
binaryhatmaybe22:14
binaryhatdamn M$22:14
thesheff17the other option is try to bridge services with iptables rules...but that is a whole slew of setup for really a pain to maintain .22:15
uvirtbotNew bug: #387189 in logrotate (main) "/dev/null corrupted (/dev/null.1)" [High,Confirmed] https://launchpad.net/bugs/38718922:16
AdamDV'package sun-java6-jre has no installation candidate'22:36
AdamDVlolwut?22:37
thesheff17AdamDV: sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"22:38
thesheff17AdamDV: apt-get update && apt-get install sun-java6-jre22:39
AdamDVThx22:39
piercedwaterI have a Dell PowerEdge 1850 and when I rebooted it won't go passed the "PRess Ctrl-E For BMC setup"23:40
piercedwaterany ideas23:40

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