[00:30] anyone that knows how to make landscape make temperature monitoring work? [00:31] afaik it uses acpi [00:31] lmsensors reports temp ok, but not acpi [02:09] hi === AntORG_ is now known as AntORG [02:45] I am trying to only install mysql on an ec2 instance (not a webserver) and I run this: "aptitude install -y mysql-server" then try to run "mysql -p" and it says I don't have it installed. [02:45] this is w/ 9.10 [03:51] New bug: #550022 in samba (main) "package samba-common-bin 2:3.4.0-3ubuntu5.6 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2" [Undecided,New] https://launchpad.net/bugs/550022 [04:35] I am trying to install ubuntu server 9.10 to an unformatted external harddrive using a live cd, I keep having issues getting past the first reboot after install. Can anyone help? [04:48] Chandler243: I suppose disks are enumerated differently or something like that, and because of that grub not finding what it needs (looking on the wrong disk) [04:50] JanC: thank you, does that mean a new install should be preformed? [04:52] a new install might give the same results [04:52] I'd suggest not installing on external media [04:52] ;) [04:53] Ok, thank you! [04:53] or maybe fix grub [04:53] but that requires some knowledge about how it works [04:54] I was almost thinking about trying lilo, I know how to fix grub from past experience, But if it didnt install all the components, that wouldnt help much [04:55] how do I create a volume in lvm that takes up 100% of the remaining space? [04:56] hggdh, ping [04:56] I tried lvcreate -l%FREE -nhome sys [05:03] how can a make copies of windwos client folder into ubuntu server [05:07] Hi, my ubuntu server machine appears to have autoeuthanized by way of a very odd bug of some sort, I'm fairly sure. Clean shutdown, 500GB RAID1, moved it between two houses and booted it, box now throws a kernel panic on boot with "Error parsing configuration: No such file or directory" and "Kernel panic - not syncing: Attempted to kill init!" [05:07] It was throwing ReiserFS issues up, I've since gone in and fsck'd to fix those [05:08] (through recovery console on a 9.10 iso; the box itself is 9.04) [05:08] Just looking for ways to get the thing back on it's feet again given that there doesn't seem to be a hardware fault and the disk seems fine [05:14] All the cables fully plugged in? [05:17] what "configuration"? [05:22] ScottK: Yeah, I've not cracked it open to look but the RAID config on the BIOS reports all is well, and I can see data on the drive just fine from the recovery CD [05:22] JanC: Not a clue, that's all the message says. [05:23] First thing I would do if a computer failed after moving it is make sure all the cables are well seated. [05:24] ScottK: The cables are seated fine because I can see data going across them just fine :) I'll have a quick poke but given they're all locking connectors I think it's extremely unlikely there's a fault [05:24] JamesHarrison: You're probably right, but I always check it anyway. [05:24] ScottK: Yeah, I know the sentiment ;) [05:26] JamesHarrison: I hope the reiserfs fix didn't move any grub files? [05:27] JanC: Don't believe it did, no, was just the root volume, grub's all on /boot, yes? [05:28] well, depends if /boot is its own partition ☺ [05:29] hm, should be. aside from the esoteric and probably misguided filesystem choice (this is just a development box I have under my desk, nothing vital) it's a standard setup, default partitioning [05:29] default partitioning has /boot on the / partition [05:29] well, except with the RAID maybe [05:31] Well, RAID1, so really just one logical drive, but I'm not an expert at linux fs/partitioning stuff so I don't know if it handles it differently :) [05:31] Grub seems to work okay, or at least the bootloader portion [05:32] that said, doing 'ls /boot' in recovery console through the 9.10 iso wasn't showing any files, which it should have if it was on / [05:35] Okay, poked around inside and the cables are all sound and secure [05:35] nothing untoward in there, toasty as heck but that's what you get from a P4 in a pizzabox... === shennyg_ is now known as shennyg [06:16] New bug: #550050 in samba (main) "package winbind 2:3.4.0-3ubuntu5.6 failed to install/upgrade: le sous-processus script post-installation installé a retourné une erreur de sortie d'état 127" [Undecided,New] https://launchpad.net/bugs/550050 [06:48] uninstalled postfix, but the init script is still there. However, the top line is !#/bin sh -e. Does this turn off the script? [06:48] #!/binsh -e [06:48] #!/bin/sh -e [06:49] ChmEarl: If you want the init script removed, purge, don't remove. [06:49] yes, thats it! [06:51] dpkg -P [06:51] apt-get purge works too [06:52] zoneedit / DynamicDNS router settings working with the exception of - www.domain.com takes me to correct index.html file, but http://domain.com takes me to the router login page. Any idea what I'm missing? [06:55] What domain? [07:01] ScottK: what the actual domain is doesn't make a difference does it? [07:01] If I'm going to look up it's DNS records and see if they are right it does. [07:02] Postfix is set up on my machine, but I don't think it can send mail through my service provider; so I installed Drupal's PHPMailer; but I don't think that can get through Postfix. Can anyone help? I might have to turn off Postfix. I had PHPMailer working on another machine before. [07:02] going to build the Xen pv_ops kernel, there are 176 lines in config for snd. If I running a server box with no X11, can I delete all those lines? [07:02] Generally I don't ask for useless information. [07:02] handheldCar: I don't think php-mailer is an MTA. I'm pretty sure it needs one. [07:02] ScottK: www.nfotown.com [07:03] You can set up Postfix to relay mail through your service provider. [07:04] eekeek: They both resolve to the same IP address, so it appears your DNS is correct. [07:05] ScottK: The PHPMailer module adds SMTP support by sending mail through a GMail account. [07:05] Ah. [07:05] OK. [07:05] Scottk: k [07:06] setting up Postfix to relay mail through my service provider sounds better since Postfix is already configured. [07:10] * handheldCar found something about a mail.cf file. [07:12] might be a typo - main.cf [07:13] If you aren't familiar with Postfix, sudo dpkg-reconfigure postfix and then select internet with relay host as an option might be easier. [07:18] ok [07:26] * handheldCar thinks that was harder, probably broke it. [07:36] hey all, noob question. i setup a server at home so i can use irssi and screen, used "ssh user@ip" to connect before, but now that i'm at school (and thus on a different network) i'm wondering how i can connect to the server? [07:39] ddecator_: if your server has a public IP address, no problem. If nehind a firewall/router, you will need to forward the SSH port to it. [07:40] sherr: so i just have to forward the port to the modem it's wirelessly connected to? that's not hard, but i'm nowhere near home, haha [07:46] yes, that sounds right. make sure you a) use SSH keys or b) choose very strong passwords. You will get cracking attempts. Might be worth moving SSH to a different port. [07:47] i'm using ssh keys, but i'll also create a new password when i set it up and change the port. thanks for the help =) [08:00] I actually made a little progress I think because the mail that's supposed to show up in an inbox is showing up in Webmin. I've been trying to get it out but no success. [09:08] Anyone that knows how to make landscape make temperature monitoring work? afaik it uses acpi. lmsensors reports temp ok, but not acpi [09:26] can someone tell me where I can the package libapache2-mod-wsgi for jaunty? I want to install it on a server that doesn't have internet connection now. where can I find the deb package for this? [09:30] dnivra: http://packages.ubuntu.com/ [09:30] Callum__, I've searched there but couldn't find it there. am searching again. if you do know where it is there, please do tell me. [09:31] dnivra: could you download it using the package manager? If so, it is there [09:31] Callum__, I'm using karmic but the server's running jaunty. plus the server doesn't have internet connection either. [09:32] when runlevels are need for udev service? [09:33] what runlevels are needed for udev service? [09:33] ChmEarl: udev should be running on all runlevels [09:33] I have 2-5 , is that ok? [09:33] ChmEarl: Ubuntu only uses runlevels 0, 1, 2 and 6 [09:33] all is 0-6 [09:34] k [09:34] this is karmic server with no x11 [09:34] I need udev for Xen [09:35] ChmEarl: udev should be installed by default and starting in runlevels 1 and 2 [09:43] I don't think I've ever seen ubuntu without udev [09:48] RoyK^: maybe older versions might have... old versions of Debian didn't require udev to be installed IIRC [09:53] yeah, but even debian uses udev now [09:53] and the ubuntu 8.04 we use on our servers, definetely use udev [09:54] just apt-get install xen :P [11:01] New bug: #550138 in php5 (main) "package php5-ldap 5.3.2-1ubuntu2 failed to install/upgrade: trying to overwrite '/usr/lib/php5/20090626+lfs/ldap.so', which is also in package libapache2-mod-php5 0:5.3.1-5ubuntu2" [Undecided,New] https://launchpad.net/bugs/550138 [12:13] any idea how to tell cron to run a job every fortnight? I can't find that in the manual... [12:20] RoyK, "* 12 10-16/4 * * root backup.sh" is an example that runs every 4 days [12:21] my paste may be wrong actually, but it's the /4 [12:23] * 23 * * */4 root backup.sh [12:52] New bug: #550201 in samba (main) "package samba 2:3.4.0-3ubuntu5.6 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/550201 [12:55] i am thinking about setting a asterick server for my house. i see many guides, is this somehting i shsould contiune with? [13:29] lenios: thanks - works like a dream except on opensolaris where this job was to be run :P [14:07] Hi all [14:07] I got a prob with setting up UEC on my home network [14:08] Where when i ssh my running karmic instance, I get the error : connect to host 192.168.10.104 port 22: Connection refused [14:08] Any idea where am I making a mistake ? [14:08] I am a student and an absolute newbie..so please bear with me if my questions sound silly at times.. [14:08] Anyone to help ? [14:10] I get the error : connect to host 192.168.10.104 port 22: Connection refused [14:12] Anyone can help, please ? [14:17] Sripa: sounds like you don't have an ssh server installed [14:17] sudo apt-get install openssh-server [14:17] if that's not the exact name, you can find it using apt-cache search ssh | grep server [14:18] oh ok, lemme check [14:24] I can logon to my NC using ssh [14:24] Now tht should prove that my ssh is working right [14:27] I guess my ssh is working fine [14:28] wat else might be the problem ? [14:28] anyone that knows how I can make acpi temperature monitoring work? === Airells is now known as airells [15:19] RoyK^: ACPI can be a real pain to get working (my home PC doesn't work with it enabled at all). Maybe Lucid will work better (newer kernel). Or it might be nothing to do with kernel ... maybe BIOS? Who knows ... [15:28] i wish i could think of a way to create multiple virtual ethernet cards so i can assign multiple dhcp clients with different mac addresses [15:31] sherr: acpi works well, but I can't get temperature output from it, so landscape can't monitor that [15:32] incorrect: did you try assigning different mac addresses to eth0:1 and so on? [15:33] yes [15:34] it only pics up the mac for the base [15:57] New bug: #550278 in php5 (main) "php5-dev is missing a dependency on libpcre3-dev" [Undecided,New] https://launchpad.net/bugs/550278 [16:29] What is the best way to convert an ext3 root volume into a XFS? [16:36] mrlemao: As far as I know, you will have to copy data off, mkfs.xfs, copy data back. Why do you want to? [16:38] I need consistent snapshots in a Ubuntu Karmic EC2 instance with mysql and my starting point is the EBS image ami-7d43ae14 provided by alestic. The problem is that this image is ext3 and the consistent-snapshot assumes XFS. [16:39] sherr: consistent-snapshot == ec2-consistent-snapshot (http://alestic.com/2009/09/ec2-consistent-snapshot) [16:42] mrlemao: Ah, xfs_freeze ... anyway, no conversion really. A wipe, create and restore. [16:44] sherr: Are you saying that due to xfs_freeze used in the snapshotting script a conversion wont do and I need to create the XFS from scratch? [16:47] mrlemao: I don't know how to convert ext3 to XFS. They are completely different filesystems. I don't think you can "convert" one to another. [16:48] My comment on "xfs_freeze" was just interest in this mechanism - probably the whole reason they are using XFS in the first place. XFS has some useful features. [16:53] sherr: I see. Yes, that is the case. freezing the fs garantees that multiple files will remain consistent when backing up the volume. The script has additional provisions for locking the db and flushing to disk etc [16:54] This makes sense to me, too. I would also try to backup my config files in /etc, mkfs and then put my configurations back in their places. This is in addition to SQL tables and whatnot. [17:53] ran into an error (probably my fault) but thought I would see if anyone has seen it before. Upgraded my server and may have installed grub to the wrong disk (although thought I picked the right one). Ran into a grub rescue> prompt and have been following a rescue walkthrough. on the insmod /grub/linux.mod step though I run into the following error, " error message: 'grub_puts_' not found" Following steps here: h === lionel___ is now known as 5EXAAKZ44 === Disconneu is now known as Disconnect === tsimpson is now known as Guest89542 === zz_monteith is now known as monteith === Guest89542 is now known as tsimpson [18:47] does anyone use rtorrent on their ubuntu server? i'm having trouble with the startup script. if i run rtorrent manually, it's fine... but the init.d script, not so much. I just downloaded a fresh one from their website, put my username in and it's still failing... [18:57] arrrghhh: what error do you see? [18:58] well that's the odd thing, i don't see any error. even in the rtorrentInit log. [18:58] hrm... i just tried using the sh script [18:58] instead of the bash script [18:58] and it seems to be workin now... i don't get it. same output, but rtorrent actually runs this time. [18:59] Let's put it on a wiki [19:00] Some scripts use /bin/sh and expect "bash" - not necessarily true. Causes problems. === lionel_ is now known as lionel [19:05] sherr: heh - that's stupid :) [19:07] Hi all [19:07] Is there anyway I can access my virtual instance running on my nc from command line [19:07] I mean, will I be able to mount it and access its inner data [19:07] ? [19:07] Im using UEC [19:08] sherr, thanks. not sure what it was, the tops of the script were correct for which was bash and which was sh... meh. like their site said, the sh script is more compatible. not sure what i'm missing in "features" compared to the bash script, but oh well. [19:09] Sripa: yes, run an SSH server and connect that way. You should also have conmsole access (or VNC perhaps). [19:10] sherr: I am unable to connect to the instance using ssh, it says connection refused [19:11] That is why I am asking if I can access the virtual instance running on nc, frm nc..is there any such possibility to do it ? [19:11] how do I grow an ext4 fs to fill the remaining space? [19:14] isn't that unfortunately impossible? [19:16] What does this indicate ? http://img690.imageshack.us/img690/5971/dsc04624o.jpg [19:16] What might be the problem ? sry im a newbie === _ruben_ is now known as _ruben [19:17] Did you change your configuration files? [19:18] I created a key using ssh-keygen [19:18] Shoudn't I do it ? [19:18] hmm, I never do that. I just ssh in. [19:18] ok [19:19] I created a keypair using euca-add-keypair mykey > mykey.priv [19:19] And the run the instance using mykey [19:19] handheldCar: the host keys should be generated automatically. ssh-keygen makes user keys by default [19:19] And ssh -vi mykey.priv ubuntu@IP [19:20] RoyK: But when I saw the contents of both the keys, they were the same [19:20] just make the key and it'll be stored under $HOME/.ssh and used automatically [19:20] Now does that make a difference ? [19:21] I have an id_dsa key in ~.ssh directory [19:21] And it is different from mykey.priv that I have generated [19:23] ssh -vi mykey.priv ubuntu@IP gives http://img690.imageshack.us/img690/5971/dsc04624o.jpg [19:23] what should I be doing? any ideas ? === jkakar_ is now known as jkakar [19:31] Sripa: Don't generate user keys? [19:33] handleCar: I didnt get your point [19:33] I'm not familiar w/ the server side of ssh. What's the necessity of generating them? [19:34] They authenticate the client to the host [19:34] correct me if I am wrong [19:37] Personally, I don't do this on my server. I log in from my desktop or a remote desktop at school. I don't limit myself to one or two computers that I authenticate with keys, but that's not necessarily a safe idea. I'm still new too. [19:42] New bug: #550409 in libvirt (main) "Slow disk IO for all guests with all disc modes and types." [Undecided,New] https://launchpad.net/bugs/550409 === ikonia_ is now known as ikonia [20:08] Sripa: are you using a guide? Can you post a link? [20:12] handheldCar: it's a bad idea to just use keys imho [20:12] using fail2ban or something to stop probes is better [20:16] RoyK^: It's a debatable point. But maybe UEC requires keys? Some applications do. [20:17] RoyK^: why do say that using "just keys" is a bad idea? [20:17] requiring all users to use keys is a bad idea if you have 500 of them on various platforms [20:18] RoyK^: agreed [20:32] does anyone here use any server monitoring systems? [20:36] dinger1986: I have a very old and crusty MRTG at work, and played with munin at home. [20:36] + cacti [20:37] sherr: do you know if it will monitor servers which are external? [20:38] is there a way to increase a linux partition without rebooting the system ? the partition has ext3 on top. [20:38] You mean servers that are not running the monitoring software? I have used MRTG to do a "ping" test to an external server - but that's all. [20:39] nimrod10: Yes, most filesystems require you to unmount them before resizing. I believe XFS does a resize online mounted though. Depends what partition. [20:40] ah dont wanna just do a ping test, want to be able to see which services are running or not [20:41] anyone running Xen4/pv_ops kernel on karmic 9.10? getting failed hotplug scripts when starting a domU [20:41] dinger1986: I think many/most are extensible - write your own plugin/scripts to do a test [20:42] ok fair enough [20:42] I wrote the "ping" test - nagios does this as well I think. [20:43] ChmEarl: I have started playing with Xen this week - but on Debian Lenny. It looks like it is supported better (more easily). [20:43] I am quite impressed with it so far. It seems quick. A bit of a pain to figure out how to do some things though ... still learning :-) [20:44] sherr, did you use all defaults in xend-config.sxp? did you have a br0 before using Xen? [20:45] YEs, I have not touched that file. The networking was all default and "magic" (created "eth0" as a bridge now). All just apt-get install ... [20:45] My pain was installing guests (Squeeze via d-i, Centos5) [20:46] sherr, so without rebooting if I unmount the partition, resize the part, resize the filesystem and mount back that should do it ? [20:47] Some (possibly) useful guide material, including Ubuntu here : http://bderzhavets.wordpress.com/ [20:47] ChmEarl: ^^ Xen [20:47] nimrod10: yes [20:48] thanks sherr I'll give it a go [20:48] nimrod10: no guarantees here though - know what you are doing but have backups! [20:48] yes I'll back things up before [20:48] See (for ext2/3 maybe 4) : man resize2fs [20:49] sherr, I susbscribe to xen-users mailing list where Boris is guru [20:49] sherr, the ##xen people are telling me to avoid karmic and try fedora 12.. ugh [20:50] ChmEarl: Go Debian Lenny. Seems stable and working + next release has support as well. [20:52] My knowledge is slight so far though. So far so good though ... [20:52] The thing is - there are too many machines without h/w virt - and want to put them to use. Xen is ideal. [20:55] ChmEarl: what kernel are you using as a domU? Did you build it yourself? === shennyg_ is now known as shennyg [20:56] New bug: #550458 in samba (main) "package samba-common 2:3.4.0-3ubuntu5.6 failed to install/upgrade: subprocess installed post-installation script returned error exit status 135" [Undecided,New] https://launchpad.net/bugs/550458 [21:06] Anyone have any opinions on apache and which version would be best for a dev server? [21:06] prefork or threaded [21:07] sherr: there's a -virtual for domU [21:07] or whateber else [21:07] depends on what you need, really [21:07] prefork is stable and works with php and the flock [21:07] threaded is also stable, but mostly for high-traffic servers [21:08] and bad php support [21:08] that's php's fault, but still [21:08] ok, so prefork i think then [21:08] i just need to get it tuned i guess [21:08] prefork works well [21:08] for a dev server? [21:08] it's always seemed a little slower than [21:08] probably no tuning needed [21:09] prefork is slower on high traffic [21:09] it'll be maybe 10 people developing drupal sites [21:09] you won't notice that on a dev server [21:09] just use prefork [21:09] apache2-mpm-prefork? [21:09] is that the package [21:09] yeah [21:10] sweet. i'm actually just trying to get a script together that'll install everything we need for dev [21:11] most of the stuff is ready in the packages [21:11] do i need to specify mysql-server-5.1 or does just mysql-server suffice? [21:11] it'll suffce [21:11] suffice [21:12] depending on version, you might get an older mysql than 5.1, so if you need just that, specify it [21:13] don't think it matters, as long as it's 5 which i'm pretty sure it is [21:13] libmysqlclient15-dev? [21:13] that's the mysql5 client [21:13] what about mysql-client? [21:13] I got mysql 5.0 and 5.1 [21:13] codilechasseur: it'll follow [21:14] codilechasseur: and you won't need it much if it's just a server, just the libs [21:14] which one won't i need? [21:14] the -dev package? [21:15] -dev is only needed if you want to compile something that links to it [21:15] the client installs automatically with the server [21:15] ok, so all i really need for a server is mysql-server [21:15] and i get the corresponding client for free [21:15] afaik yes [21:16] nice, thanks RoyK^ [21:16] if not just apt-get install mysql-server mysql-client [21:55] xen: hotplug script errors starting a domU on karmic 9.10 http://paste.ubuntu.com/404454/ === MTeck-ricer is now known as MTecknology [22:32] how can I open a terminal to connect to /dev/pts/7 ? [23:31] If I need to resize a reiserfs filesystem inside a LVM from 500gb down to 150gb, reiserfs_resize should be all I need, right? [23:32] "reiserfs_resize -s 150G /dev/mapper/daedalus"