tallis_ | does anybody have any experience o linux software raid? | 00:00 |
---|---|---|
shaggy2 | ok 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 |
Nafallo | tallis_: quite a few most likely. what is it you really want to ask? | 00:07 |
Nafallo | also, repeating a question isn't likely to get you anywhere any faster really. | 00:08 |
tallis_ | i'm trying to build a raid10 array | 00:08 |
tallis_ | i created 2 md0 partitions with madam | 00:09 |
tallis_ | the ubuntu installer see's them | 00: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 |
shaggy2 | ok 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 |
MTecknology | Is it possible to run your own dropbox server? | 00:56 |
MTecknology | I thought it was, but I'm having trouble finding any info on it | 00:56 |
jmarsden | MTecknology: 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 | ||
jmarsden | shaggy2: 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 |
MTecknology | jmarsden: oh- thanks :) | 02:57 |
jmarsden | MTecknology: You're welcome. | 02:57 |
MTecknology | jmarsden: I wrote a tiny script to kind of do it; it's been running about 2hr now :P | 02:57 |
niles | anyone know any good dns servers? | 02:59 |
jmarsden | niles: 8.8.8.8 and 8.8.4.4 are the Google public ones, they work well... | 03:00 |
niles | ok, thanks, but I meant more like bind9 | 03:05 |
MTecknology | I love google dns servers | 03:08 |
MTecknology | before that I was stuck with my isp's or opendns which was almost as bad | 03:08 |
binaryhat | i need assistance w/ Bridge to LAN on my VM | 03:14 |
binaryhat | my VM cant connect to the net | 03:15 |
xid | i 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 |
xid | and that I have to sign up, but every time I go to the sign up page it says I already have access | 03:20 |
xid | catch22 | 03:20 |
SJr | What's the easist way to get a multi boot USB stick? | 03:22 |
MTecknology | http://dpaste.com/364659/ <- this is my hosts.deny file; that 'should' keep anything from reaching nginx from those IP's, right? | 04:09 |
jmarsden | SJr: pendrivelinux.com has a bucnh of relevant articles, try http://www.pendrivelinux.com/boot-multiple-iso-from-usb-via-grub2-using-linux/ | 04:13 |
fongwee | Hi everyone I need some help with virtualisation on Ubuntu server | 04:13 |
jmarsden | fongwee: Go ahead and ask your actual, specific, question, and see if anyone here can help. | 04:14 |
fongwee | How do I virtualise a Ubuntu desktop on my server to run as a HTPC | 04:14 |
fongwee | I am stuck at the virt-install | 04:14 |
fongwee | Sorry I am a newbie in Linux | 04:15 |
fongwee | I had entered sudo virt-install --prompt | 04:16 |
jmarsden | Is 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 |
fongwee | I am trying to setup a NAS and HTPC on the same computer. Is it possible to just use the Ubuntu desktop | 04:18 |
jmarsden | Sure. Ubuntu desktop can run services to share files and stream audio and video... | 04:18 |
fongwee | Ok. The NAS is able to run RAID? | 04:18 |
jmarsden | Ubuntu 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 |
fongwee | Ok. That sounds like what I need for a starting noob. | 04:19 |
fongwee | How do I configure it to run as a NAS? | 04:20 |
jmarsden | Just 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 |
jmarsden | fongwee: https://help.ubuntu.com/community/Samba/SambaServerGuide might be worth reading. | 04:22 |
fongwee | ok thank you jmarsden. I will check it out | 04:23 |
jmarsden | You're welcome. | 04:23 |
no--name | Hi. 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 |
Thirtysixway | no--name I think it's nautilus that auto mounts it, and that's not installed on server edition | 04:50 |
no--name | ahh | 04:50 |
Thirtysixway | Check out https://help.ubuntu.com/community/Mount/USB | 04:50 |
no--name | well I just went mount /dev/sdb1 /mnt and it worked. | 04:50 |
Thirtysixway | ah okay | 04:52 |
sijo | hi | 06:21 |
sijo | hi | 08:28 |
uvirtbot | New 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/709655 | 08:41 |
anzenketh | I have /var mounted on a seperate partition is there a way that I can change that while the system is booted? | 08:57 |
anzenketh | I am using LVM | 09:00 |
anzenketh | cd /amahi | 09:10 |
=== windkids is now known as shobo0 | ||
=== shobo0 is now known as windkids | ||
=== oCean_ is now known as oCean | ||
novitololo | Hi. If /var/www have write permissions just for the root, how can I write files from Eclipse to that folder? | 10:10 |
\sh | novitololo: /var/www should have www-data:www-data and you can put your user in the www-data group | 10:12 |
novitololo | \sh: What do you mean by www-data:www-data ? | 10:13 |
\sh | novitololo: the permissions of /var/www should be www-data:www-data (user www-data, group www-data) | 10:16 |
novitololo | \sh, thanks. | 10:17 |
magez | heys, i have problem of not being able to connect to my server, i think its firewall problems | 10:32 |
magez | thats after i setup the complicatedfirewall ufw and rebooted | 10:36 |
magez | before the reboot i was able to connect to the sites and stuff | 10:36 |
magez | i can see the sites on localhost | 10:36 |
magez | cleared all the fw rules with webmin but nothing | 10:37 |
tallis_ | I have a software raid in ubuntu at after an update it doesn't boot any more ... i get to the Busybox screen | 10: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 ftp | 11:11 |
Mateo_ | login is ok but it looks like password isn't | 11: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 |
uvirtbot | New bug: #709723 in cobbler (universe) "The location of isc-dhcpd is incorrect in sync_post_restart_services.py" [Undecided,New] https://launchpad.net/bugs/709723 | 12: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 |
gobbe | Avi__: 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 change | 12:43 |
gobbe | so you have server/storage providing iscsi-volumes? | 12:43 |
Avi__ | yes | 12:44 |
Avi__ | thats what the installer says | 12:44 |
gobbe | eh? installer? | 12:44 |
Avi__ | the text based ubuntu server installer. | 12:44 |
orogor | hi here | 12:44 |
gobbe | Avi__: but...you have external storaage providing iscsi? | 12:44 |
orogor | i am having trouble setting up the server as router/dns/dhcp server wifi access point, anyone may help ? | 12:45 |
gobbe | orogor: well, it would help that you tell what kind of trouble you have | 12:46 |
orogor | current 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 out | 12:46 |
Avi__ | gobbe: i am not sure | 12:46 |
Avi__ | please help. | 12:46 |
gobbe | Avi__: eh, you are not sure? do you know what iscsi is? | 12:47 |
gobbe | Avi__: iscsi is way to attach external storage to your server, but you need to have either external storage or server providing this disk | 12:47 |
Avi__ | it is based on storage on the network? | 12:48 |
gobbe | yes | 12:49 |
Avi__ | ok | 12:49 |
gobbe | it's way to use storage over ip-network | 12:49 |
gobbe | and to be able to use it, of course you need to have storage-system or server that can give disk | 12:49 |
Avi__ | there are 2 hard disks on the server machine | 12:50 |
gobbe | so what you are actually trying to do? | 12:50 |
Avi__ | i want to install ubuntu server | 12:50 |
orogor | these disks will be presented not as file share , but as lun/raw partitions | 12:50 |
gobbe | Avi__: well then you just install it normally, you don't use iscsi | 12:51 |
Avi__ | so how do i bypass it | 12:51 |
orogor | and you ll need to mount them on the "client" server partition them and stuff | 12:51 |
Avi__ | ? | 12:51 |
gobbe | Avi__: you don't select iscsi | 12:51 |
gobbe | Avi__: restart if you cannot get back after you selected iscsi | 12:52 |
orogor | gobbe, any idea for the dhcp issue i have ? | 12:52 |
Avi__ | i have no other option | 12:53 |
gobbe | Avi__: what did you select before that | 12:53 |
gobbe | orogor: 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 options | 12:53 |
orogor | act as dhcp server | 12:53 |
gobbe | Avi__: what are options? | 12:54 |
Avi__ | first is "Configure iSCSI volumes" | 12:54 |
gobbe | orogor: https://help.ubuntu.com/10.04/serverguide/C/dhcp.html | 12:54 |
Avi__ | second: "Undo changes to partitions" | 12:54 |
Avi__ | and third "Finish partitioning and write changes to disk" | 12:55 |
orogor | i 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.201 | 12:55 |
Avi__ | the last two options don't work | 12:55 |
gobbe | Avi__: you selected automatic partitioning before that | 12:55 |
gobbe | orogor: upload interface-file to pastebin.ubuntu.com | 12:55 |
Avi__ | no the partitioner loaded automatically without letting me select "manual partitioning" | 12:56 |
orogor | http://pastebin.ubuntu.com/559873/ | 12:56 |
gobbe | Avi__: are your disks empty? | 12:56 |
orogor | http://pastebin.ubuntu.com/559875/ | 12:57 |
gobbe | orogor: you are using server and not desktop? | 12:57 |
Avi__ | no | 12:57 |
gobbe | Avi__: which version you are trying to install? | 12:57 |
orogor | http://pastebin.ubuntu.com/559876/ | 12:57 |
Avi__ | ubuntu 10.04 server | 12:58 |
gobbe | orogor: it shows that your wlan0 has no ip, but wlan0:avahi has | 12:58 |
orogor | gobbe, i use it as both :) only kernel is different | 12:58 |
gobbe | orogor: yep, and desktop has network manager | 12:58 |
orogor | i uninstalled network manager, i dont know why avahi want to give that if an ip | 12:58 |
gobbe | orogor: which could cause nice things | 12:58 |
gobbe | :) | 12:58 |
gobbe | orogor: say sudo ifdown wlan0 | 12:59 |
gobbe | orogor: and then sudo ifup wlan+ | 12:59 |
gobbe | orogor: and then sudo ifup wlan0 | 12:59 |
orogor | looks better | 12:59 |
orogor | but then i dont know how to fix this definitivelly | 13:00 |
gobbe | so this is actually desktop and not server installation? | 13:00 |
orogor | avahi is suposed to broadcat capabilites of the computer not set up if | 13:00 |
orogor | really only kernel is different from server and desktop and depending on the days i boot either kernel | 13:01 |
orogor | that workstation has a shitload of services running | 13:01 |
Avi__ | please help. | 13:02 |
gobbe | well, like i told, network manager also | 13:02 |
orogor | AVAHI_DAEMON_DETECT_LOCAL=1 | 13:02 |
orogor | AVAHI_DAEMON_START=0 | 13:02 |
gobbe | orogor: and scheduler | 13:03 |
orogor | network manager is uninstalled, i dont like it | 13:03 |
gobbe | so it gets ip on boot? | 13:03 |
orogor | huh from interfaces file | 13:04 |
orogor | i am not sure i get your question | 13:04 |
gobbe | well, it did have ip on your paste | 13:04 |
orogor | what wlan0 ? yes and thats the issue | 13:06 |
orogor | now i restarted it it has correct ip | 13:06 |
gobbe | with ifdown/ifup? | 13:06 |
orogor | yup | 13:06 |
gobbe | if you now restart your computer it still gets wrong ip? | 13:06 |
orogor | yes thats sure i already tried restarting it after restarting interface | 13:07 |
gobbe | check from syslog that what service triggers the dhcp for it | 13:08 |
orogor | it s avahi autopid | 13:14 |
cossovich | hello 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 |
orogor | hummm | 13:21 |
gobbe | cossovich: why php 5.2? | 13:22 |
cossovich | web development box primarily used for Drupal (6) | 13:22 |
gobbe | cossovich: php5 package is 5.3.2, is it too new? | 13:22 |
orogor | gobbe, 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 net | 13:22 |
cossovich | yar... Drupal 6 isn't compatible with 5.3 | 13:23 |
gobbe | cossovich: ok :/ | 13:23 |
gobbe | cossovich: then i would say that only way is to compile it from sources | 13:23 |
cossovich | I'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 |
gobbe | cossovich: yes, and that can cause lots of troubles :D | 13:24 |
cossovich | I think I'll go back to basics! Juts wanted to do a sanity check. | 13:24 |
cossovich | gobbe: what kind of potential troubles? (just out of curiosity) | 13:25 |
gobbe | cossovich: well, packages are depending from other packages | 13:27 |
gobbe | cossovich: so you could end up in situation where your system is needing two versions of packages :) | 13:27 |
cossovich | gobbe, 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 | ||
orogor | i just losed the connection for a few minutes | 13:36 |
gobbe | cossovich: i would try to upgrade drupal one that supports newer php | 13:36 |
gobbe | cossovich: but you could skip php-packages from updates | 13:36 |
orogor | hummmm | 13:39 |
=== tumbleweed_ is now known as niles | ||
\sh | orogor: what does drupal6 upstream says about php 5.3? | 13:41 |
orogor | no idea i think you had an issue with completion | 13:42 |
\sh | orogor: right... | 13:42 |
=== NG_ is now known as ng_ | ||
=== niles is now known as billy_bob_joe_jr | ||
=== ng_ is now known as NG_ | ||
orogor | hi again | 14:25 |
orogor | i still have the same issue | 14:26 |
orogor | i dont manage to set a static adress for the interface | 14:26 |
gobbe | in boot? | 14:32 |
orogor | .. | 15:07 |
orogor | gobbe, no , apparently thats linked to dhcp | 15:09 |
orogor | or humm how to put it | 15:09 |
orogor | it start static, then every so often it gets a dhcp adress | 15:09 |
orogor | if i updown it it s static , but then will get a dhcp again | 15:09 |
gobbe | so some process is triggerin it with dhcp | 15:09 |
orogor | gobbe, no , apparently thats linked to dhcp | 15:09 |
orogor | it start static, then every so often it gets a dhcp adress | 15:09 |
orogor | if i updown it it s static , but then will get a dhcp again | 15:10 |
orogor | i configured dhclient.conf to try to get static, but it seems to have no effect | 15:10 |
gobbe | eh? | 15:11 |
gobbe | if you configure it as static it is static | 15:11 |
gobbe | unless something triggers dhclient to it | 15:11 |
=== ogra is now known as Guest3328 | ||
orogor | http://pastebin.com/9jDeWBk4 | 15:12 |
orogor | thats dhclient.conf which sets static in addition to interface file | 15:12 |
orogor | with avahi autopid deactivated and network manager uninstalled | 15:12 |
=== Guest3328 is now known as ogra | ||
orogor | errr both uninstalled | 15:13 |
=== ogra is now known as Guest28007 | ||
gobbe | disable dhclient if you want to use static ip | 15:15 |
orogor | that d be too simple | 15:18 |
orogor | i need one interface with dhcp | 15:18 |
gobbe | you can configure it from interface-file | 15:18 |
gobbe | others with static | 15:18 |
gobbe | and one with dhcp | 15:18 |
orogor | thats what i do | 15:18 |
gobbe | well, if your wlan gets still ip from dhcp, even when it's configured as static, something is triggering dhclient to it | 15:19 |
orogor | http://pastebin.com/0wAMWZBC | 15:19 |
gobbe | i believe that auto-lines should be above of others | 15:20 |
gobbe | so auto eth1 | 15:20 |
gobbe | and then iface eth1 .... | 15:20 |
orogor | fixed | 15:22 |
orogor | hummmm | 15:39 |
nimrod10 | a | 15:43 |
OriK | Hi, I've been taking a look to Ubuntu Cloud and I've noticed that it's unsuitable if your nodes might fail unexpectedly | 15:44 |
OriK | do you know something that could manage that? | 15:45 |
=== Kiall|AFK is now known as Kiall | ||
Wout | Can someone help me figure something out??? I think I'm going mad here... | 16:18 |
Wout | I have a home server | 16:18 |
Wout | I wan't it to auto suspend and wake on lan | 16:18 |
Wout | no magic packet just activity | 16:18 |
Wout | I'm going to use powernap for the suspend part | 16:19 |
Wout | When I do ethtool -s eth0 wol u | 16:19 |
Wout | followed by: ethtool eth0 it says"Wake-on: u" | 16:20 |
Wout | then i issue pm-suspend | 16:21 |
OriK | I 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 |
Wout | My system suspends but doesn't wake from ping | 16:21 |
shirgall | The wakeonlan tool sends the magic packet | 16:21 |
shirgall | I don't think ping is enough | 16:21 |
Wout | the system does wake from wakeonlan Magic Packet | 16:21 |
Wout | "ethtool -s eth0 wol u" should set wol to wake on unicast... | 16:22 |
OriK | ... it wakes on unicast... with a magic packet | 16:22 |
OriK | not a regular ping | 16:23 |
Wout | This is not the problem. | 16:23 |
Wout | After a suspend the "u" wol setting is reset to "g" | 16:23 |
OriK | in fact you can't ping a suspended machine because it "doesn't have" IP | 16:24 |
Wout | my arp table still contains the system. | 16:24 |
Wout | Search ping and wol. This is widly used | 16:24 |
Wout | Even so this used to work on my 10.4 install | 16:25 |
Wout | No hardware changes fresh maverick install and it doesn;t work | 16:25 |
Wout | Even setting it to "p" (physical activity) doesn't work because its reset to "g" before suspend | 16:26 |
OriK | maybe there is a configuration file overwritting your command | 16:27 |
Wout | I'm thinking something like this. | 16:27 |
shirgall | Might be that something is resetting it in the rc scripts on suspend | 16:27 |
Wout | I think it's got something to do with bug 445950 | 16:28 |
uvirtbot | Launchpad bug 445950 in powernap "powernap init script should enable WoL on valid interface(s)" [Medium,Fix released] https://launchpad.net/bugs/445950 | 16:28 |
Wout | lol | 16:28 |
shirgall | That looks like a smoking gun. :) | 16:28 |
Wout | I thought so. But where can I set the wol variables...... | 16:29 |
Wout | general question | 16:29 |
shirgall | By default /etc/powernap/action is nothing but comments, but you could add some actions there | 16:31 |
Wout | /etc/powernap/action has "pm-suspend" | 16:33 |
shirgall | And there doesn't seem to be any ethtool in the default /etc/pm scripts either | 16:33 |
Wout | however the behaviour I'm fasing is before powernap does anything | 16:33 |
shirgall | I don't see anything obvious. :( | 16:35 |
Wout | ethspeed | 16:36 |
Wout | /etc/pm/power.d/eth_speed | 16:36 |
Wout | ethtool -s eth0 autoneg on speed $1 | 16:36 |
shirgall | Ah, on my default that's empty | 16:38 |
Wout | odd | 16:38 |
shirgall | I just installed powernap a couple minutes ago | 16:39 |
shirgall | Maybe I need to configure it before those scripts set up | 16:39 |
Wout | btw I used the powernap ppa | 16:40 |
Wout | ;-) | 16:40 |
Wout | version 2.2 | 16:40 |
shirgall | Ah, I did not | 16:40 |
shirgall | 1.10-0ubuntu1 | 16:42 |
Wout | ppa:powernap/ppa | 16:42 |
Wout | Anyone know how to contact Dustin Kirkland?? ;-) | 16:48 |
compdoc | you are not worthy | 16:49 |
Wout | :-) | 16:50 |
Wout | 2010-03-04 - Dustin Kirkland <kirkland@ubuntu.com> | 16:53 |
Wout | powernap (1.9-0ubuntu1) lucid; urgency=low | 16:53 |
Wout | * debian/powernap.upstart: fix LP: #531950 | 16:53 |
Wout | - fix ethtool regex | 16:53 |
Wout | - allow for admin customized ethtool script, when powernap's | 16:54 |
Wout | is incorrect or undesired | 16:54 |
shirgall | That does seem promising | 16:54 |
Wout | thought so, now all I need to do is find that script.... I think | 16:55 |
Wout | https://bugs.launchpad.net/ubuntu/+source/powernap/+bug/531950 | 16:59 |
uvirtbot | Launchpad bug 531950 in powernap "Powernap upstart script assumes that there is only wake-on-lan "magic packet" mode." [Medium,Fix released] | 16:59 |
alonswartz | kirkland: you around? I see you added "geolocation for aws server assignment" to the cloud-server-desktop-images blueprint and I might be able to help | 16:59 |
AdamDV | Propoer hostname in 10.04 is like this right? /etc/hosts: 127.0.0.1 server.domain.com server /etc/hostname: server | 17:03 |
alonswartz | kirkland: as reference - http://www.turnkeylinux.org/blog/geoip-amazon-regions and http://www.turnkeylinux.org/blog/auto-apt-archive | 17:03 |
Wout | have to go now | 17:05 |
Wout | thanks for the help | 17:05 |
AdamDV | Also, is the netadmin account used for anything, or am I free to use it for an account? | 17:07 |
r3sno | question for you guys. | 17:32 |
r3sno | if 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 |
r3sno | i 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 |
AdamDV | Where can I find the ssh.d log? | 17:34 |
r3sno | AdamDV: /var/log | 17:34 |
AdamDV | Yea. Under what file name? | 17:34 |
AdamDV | auth.log? | 17:34 |
r3sno | i think its auth | 17:35 |
AdamDV | I keep getting public key errors client side but auth.log shows no lines of anything. Hmph. | 17:35 |
AdamDV | Ah. Here we go. Authentication refused: bad ownership or modes for file /home/sysadmin/.ssh/authorized_keys | 17:35 |
AdamDV | What should the permissions be? I've got them at 0667 | 17:36 |
r3sno | no clue | 17:38 |
AdamDV | 664. These messages should really be more descriptive >:( | 17:43 |
r3sno | have 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 net | 17:49 |
thesheff17 | binaryhat: are you using nat? | 17:56 |
binaryhat | not sure | 17:57 |
thesheff17 | what is your ip of your server? and what is the ip of the virtual machine? use ifconfig to see ip. | 17:57 |
binaryhat | server is 192.168.1.101 | 17:58 |
r3sno | is it sad to use to tools to admin a server? or direct conf editing? | 17:59 |
binaryhat | for VM is it br0 or virbr0 thesheff17 ? | 17:59 |
thesheff17 | binaryhat: so on the server you should have bridged eth0 to br0 | 18:00 |
binaryhat | thesheff17, eth0 and br0 have the same ip address, virbr0 has 192.168.122.1 | 18:01 |
thesheff17 | binaryhat: 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.x | 18:02 |
thesheff17 | binaryhat: it depends if you want to use NAT or not. | 18:03 |
binaryhat | what do u suggest | 18:03 |
thesheff17 | I don't use nat...I assign everything in the same range so 192.168.1.x and static IP everywhere. | 18:04 |
binaryhat | thesheff17, nat doesnt work, i get a 169 address | 18:10 |
thesheff17 | binaryhat: 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 |
binaryhat | not in /etc/network/interfaces? | 18:13 |
=== jhaddad_ is now known as jhaddad | ||
thesheff17 | binaryhat here is how my network config files look for both the server and the virtual machine http://pastebin.com/gHsqR5bV | 18:17 |
thesheff17 | yea you should be editing /etc/network/interfaces on both devices. | 18:21 |
thesheff17 | once both devices are configured correctly your virtual machines will have access to everything...dns, web sites, local network, etc | 18:24 |
binaryhat | my guest VM is win7 | 18:30 |
thesheff17 | binaryhat: oh haha...try setting everything up in the same range...ip, gateway, dns | 18:31 |
PhotoJim | I'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 |
Patrickdk | ubuntu server uses the pae kernel for 32bit | 19:00 |
Patrickdk | if you uninstall it, you will uninstall the ubuntu server meta package cause it depends on it, but everything will still work fine | 19:00 |
Patrickdk | it's upgrades that can get strange then | 19:01 |
PhotoJim | so I should just ignore it? | 19:01 |
PhotoJim | why is it forcing PAE? that seems unnecessary. | 19:01 |
PhotoJim | it doesn't hurt anything on my server but the kernel is larger than it needs to be in consequence. | 19:01 |
Patrickdk | well, you installed server mode | 19:01 |
Patrickdk | you could just install the none-pae kernel also | 19:01 |
PhotoJim | the non-PAE kernels are installed, but tue PAE ones get priority in the grub kernel list. | 19:02 |
Patrickdk | heh, odd | 19:02 |
PhotoJim | I 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 |
PhotoJim | yes. | 19:02 |
Patrickdk | guess you could edit /etc/grub.d/10_linux | 19:05 |
Patrickdk | and add pae to the blacklisted kernels | 19:05 |
PhotoJim | that's an idea. | 19:08 |
=== jeeves__ is now known as jeeves_moss | ||
jeeves_moss | how do I enable CONFIG_TASK_DELAY_ACCT in IOTOP? | 19:21 |
RoAkSoAx | kirkland: ping? | 19:52 |
thesheff17 | does anyone know how to set a read only variable in mysql to not read only? | 20:05 |
r3sno | thesheff17: what do you mean? | 20:06 |
thesheff17 | I'm trying to set this: set global lower_case_table_names=1; | 20:06 |
thesheff17 | and I get ERROR 1238 (HY000): Variable 'lower_case_table_names' is a read only variable | 20:07 |
r3sno | thesheff17: are you using logs? or something else? | 20:08 |
thesheff17 | r3sno: I'm trying to do this on the mysql command prompt...it basically just says table names are case insensitive | 20:09 |
r3sno | thesheff17: try this out http://info.solomonson.com/content/how-fix-errno-24-mysql | 20:10 |
Skaag | I 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 |
thesheff17 | r3sno: 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 |
Skaag | I did not specify a different partition for /boot | 20:13 |
Skaag | just a plain system with / fs | 20:13 |
thesheff17 | r3sno: and it doesn't start when I have SET lower_case_table_names=1 in the /etc/my.cnf file :-/ | 20:15 |
Skaag | ok weird, within rescue shell, an apt-get dist-upgrade seems to want to bring a kernel, so maybe this will resolve itself | 20:16 |
Skaag | I 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 |
r3sno | other then googling the answer, i dont know anything else thesheff17 | 20:22 |
thesheff17 | r3sno: 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 |
bigmahatma | hello. 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 |
bigmahatma | hello? | 20:33 |
thesheff17 | r3sno: that variable is set fine on mysql 5.1.41 it must be in the new version that they changed it :-/ | 20:35 |
r3sno | heh, new versions are always nice | 20:35 |
thesheff17 | r3sno: do you know anywhere to know how many CPU mysql supports? | 20:36 |
r3sno | i didnt know mysql didnt support as many cpus you could through at it | 20:36 |
Patrickdk | depends on how you use mysql :) | 20:37 |
r3sno | Patrickdk: please expand :D | 20:37 |
binaryhat | thesheff17, i still cant get bridge to work | 20:37 |
Patrickdk | I think it's limited to one cpu per connection | 20:37 |
Patrickdk | and that includes replication (replication is single cpu limited) | 20:38 |
thesheff17 | Patrickdk: 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 |
thesheff17 | binaryhat: so you set the static ip on the windows box? can you ping your virtual machine server? | 20:39 |
Patrickdk | na it supports it now | 20:39 |
Patrickdk | it's the replication that doesn't support it | 20:39 |
Patrickdk | dunno if that is what your talking about though | 20:39 |
binaryhat | hmm | 20:39 |
thesheff17 | Patrickdk: ah ok so mysql 5.1.x should support that many number of cores? | 20:40 |
Patrickdk | yep | 20:40 |
Patrickdk | when in doubt about high mysql loads, read mysqlperformanceblog.com :) | 20:41 |
Patrickdk | they do crazy load tests, on large systems like that | 20:41 |
thesheff17 | Patrickdk: cool thanks. I prefer using the mysql version in the repo anyway. | 20:41 |
Patrickdk | heh? | 20:42 |
* Patrickdk wonders what he said that says I told you to use something different | 20:42 | |
* Patrickdk hates people assuming what I say | 20:42 | |
r3sno | Patrickdk: how did you learn to be a server admin? | 20:43 |
thesheff17 | Patrickdk: oh you didn't...I was just reading about mysql 5.5 and how it has 370% performance boost over 5.1.x | 20:45 |
thesheff17 | Patrickdk: so I was trying to use that version. | 20:45 |
binaryhat | thesheff17, yes i can ping it | 20:48 |
thesheff17 | binaryhat: can you ping your router...usually 192.168.1.1 | 20:49 |
binaryhat | hmm | 20:49 |
thesheff17 | binaryhat: once that works try ping www.google.com...if that doesn't work your DNS servers aren't set. | 20:49 |
binaryhat | i cant ping the router | 20:50 |
binaryhat | i set the dns info on the win7 vm | 20:51 |
binaryhat | its my cable isp | 20:51 |
thesheff17 | binaryhat: 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 | ||
binaryhat | sudo 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:br0 | 20:53 |
=== Guest22576 is now known as ogra_ | ||
binaryhat | that way | 20:53 |
thesheff17 | binaryhat: can you pastebin your ifconfig of the server? | 20:54 |
thesheff17 | binaryhat: that looks fine | 20:54 |
binaryhat | thesheff17, http://fpaste.org/JFbt/ | 20:55 |
binaryhat | thesheff17, http://fpaste.org/Hg6a/ | 20:56 |
thesheff17 | eth0 shouldn't have an IP since isn't that your bridge adapter? | 20:56 |
binaryhat | eth0 is the NIC server's | 20:57 |
thesheff17 | you have eth0 set to dhcp...check out that pastebin I did http://pastebin.com/gHsqR5bV | 20:57 |
thesheff17 | you def need this line: bridge_ports eth0 | 20:58 |
binaryhat | i need eth0 to be dhcp | 20:58 |
thesheff17 | br0 needs to be bridged off an adapter. | 20:58 |
binaryhat | it connects 2 the router | 20:59 |
thesheff17 | this 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 |
binaryhat | hmm brb | 21:00 |
binaryhat | so set eth0 as static? | 21:02 |
thesheff17 | in my pastebin I have iface eth0 inet manual | 21:02 |
anzenketh | Trying to remember how do you set a default group and user for a directory? | 21:03 |
thesheff17 | I would just copy and paste my pastebin file and edit accordingly. | 21:03 |
thesheff17 | anzenketh: chown -R username:group /dir/ | 21:03 |
anzenketh | Yes I know how to change the group | 21:04 |
anzenketh | But I want additional directories and files to fall under the parent group | 21:04 |
anzenketh | as apposed to the created users | 21:04 |
thesheff17 | anzenketh: hmm...sorry don't know that | 21:05 |
anzenketh | Figured it out it is chmod g+s directory will set the current permissions | 21:17 |
anzenketh | and umask 002 will set to default group writable | 21:17 |
Skaag | on a system with raid1, where do I install grub? | 21:23 |
Skaag | I have /dev/mapper/m032-root on / type ext4 | 21:24 |
Skaag | how do I figure out where to install the grub boot loader? | 21:24 |
Skaag | just installing to /dev/sda and /dev/sdb was not enough | 21:24 |
hjmf | Skaag: on both disks | 21:32 |
Skaag | I just read in a guide my raid is fake | 21:34 |
Skaag | and it is recommended to just use mdadm | 21:34 |
Skaag | and make it a linux raid | 21:34 |
Skaag | but i'm thinking to skip the whole thing entirely | 21:34 |
Skaag | database machine... I want good performance | 21:35 |
Skaag | brb | 21:35 |
binaryhat | thesheff17, if eth0 is manual what ip address does it get? | 21:38 |
thesheff17 | binaryhat: it doesn't get one...it gets bridged to br0 and br0 has the ip. | 21:42 |
binaryhat | then i cant ssh into the server | 21:42 |
thesheff17 | you can ssh into the br0 ip | 21:43 |
thesheff17 | br0 is for the server and not for the virtual machines | 21:44 |
binaryhat | thesheff17, i can ssh, but the guest o/s cant get a net connection | 21:54 |
thesheff17 | binaryhat: not sure what that means? | 21:55 |
thesheff17 | can't get a net connection? | 21:56 |
binaryhat | cant ping the gateway | 21:56 |
thesheff17 | can you even ping the gateway from the server? | 21:56 |
binaryhat | yup | 21:57 |
binaryhat | but not from virt machine | 21:58 |
binaryhat | virt machine can ping server | 21:59 |
binaryhat | thesheff17, http://pastebin.com/6iYjXnMV | 22:00 |
thesheff17 | binaryhat: yea that looks right...not sure why you can't ping the router. | 22:01 |
binaryhat | should win7 ip dns be dhcp or static? | 22:02 |
thesheff17 | I would make everything static | 22:03 |
thesheff17 | but I have never used win7 on a virtual machine. | 22:03 |
binaryhat | but it doesnt get a net connection | 22:05 |
binaryhat | if u look at ifconfig virbr0 ip its differrent from static | 22:06 |
thesheff17 | binaryhat: yea that is for the NAT stuff. | 22:06 |
thesheff17 | binaryhat: that I don't use | 22:07 |
binaryhat | im stumped | 22:07 |
binaryhat | iv been fighting this for 3 days | 22:08 |
binaryhat | i can get it to work in non-bridge mode | 22:09 |
thesheff17 | binaryhat: not sure what you mean by non bridge mode? | 22:09 |
binaryhat | whe i first installed win7 i got a net connection | 22:10 |
thesheff17 | binaryhat: it sounds like that came off the NAT and did DHCP. | 22:11 |
binaryhat | then i realized it couldnt see the net shares | 22:12 |
thesheff17 | yea that is the problem...nat makes it stuck behind the server. | 22:12 |
binaryhat | so... | 22:12 |
binaryhat | im stuck | 22:14 |
thesheff17 | I would try to create a virtual machine with ubuntu and see if you see the same results. | 22:14 |
thesheff17 | I don't have any issues with ubuntu on the same network range accessing everything. | 22:14 |
thesheff17 | It may be something to do with win7 | 22:14 |
binaryhat | maybe | 22:14 |
binaryhat | damn M$ | 22:14 |
thesheff17 | the 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 |
uvirtbot | New bug: #387189 in logrotate (main) "/dev/null corrupted (/dev/null.1)" [High,Confirmed] https://launchpad.net/bugs/387189 | 22:16 |
AdamDV | 'package sun-java6-jre has no installation candidate' | 22:36 |
AdamDV | lolwut? | 22:37 |
thesheff17 | AdamDV: sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner" | 22:38 |
thesheff17 | AdamDV: apt-get update && apt-get install sun-java6-jre | 22:39 |
AdamDV | Thx | 22:39 |
piercedwater | I have a Dell PowerEdge 1850 and when I rebooted it won't go passed the "PRess Ctrl-E For BMC setup" | 23:40 |
piercedwater | any ideas | 23:40 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!