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

RoyK^anyone that knows how to make landscape make temperature monitoring work?00:30
RoyK^afaik it uses acpi00:31
RoyK^lmsensors reports temp ok, but not acpi00:31
Nick386hi02:09
=== AntORG_ is now known as AntORG
shennygI 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
shennygthis is w/ 9.1002:45
uvirtbot`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/55002203:51
Chandler243 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:35
JanCChandler243: 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:48
Chandler243JanC: thank you, does that mean a new install should be preformed?04:50
JanCa new install might give the same results04:52
JanCI'd suggest not installing on external media04:52
JanC;)04:52
Chandler243Ok, thank you!04:53
JanCor maybe fix grub04:53
JanCbut that requires some knowledge about how it works04:53
Chandler243I 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 much04:54
MTeck-ricerhow do I create a volume in lvm that takes up 100% of the remaining space?04:55
RoAkSoAxhggdh, ping04:56
MTeck-ricerI tried lvcreate -l%FREE -nhome sys04:56
Rafael_how can a make copies of windwos client folder into ubuntu server05:03
JamesHarrisonHi, 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
JamesHarrisonIt was throwing ReiserFS issues up, I've since gone in and fsck'd to fix those05:07
JamesHarrison(through recovery console on a 9.10 iso; the box itself is 9.04)05:08
JamesHarrisonJust 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 fine05:08
ScottKAll the cables fully plugged in?05:14
JanCwhat "configuration"?05:17
JamesHarrisonScottK: 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 CD05:22
JamesHarrisonJanC: Not a clue, that's all the message says.05:22
ScottKFirst thing I would do if a computer failed after moving it is make sure all the cables are well seated.05:23
JamesHarrisonScottK: 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 fault05:24
ScottKJamesHarrison: You're probably right, but I always check it anyway.05:24
JamesHarrisonScottK: Yeah, I know the sentiment ;)05:24
JanCJamesHarrison: I hope the reiserfs fix didn't move any grub files?05:26
JamesHarrisonJanC: Don't believe it did, no, was just the root volume, grub's all on /boot, yes?05:27
JanCwell, depends if /boot is its own partition  ☺05:28
JamesHarrisonhm, 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 partitioning05:29
JanCdefault partitioning has /boot on the / partition05:29
JanCwell, except with the RAID maybe05:29
JamesHarrisonWell, 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
JamesHarrisonGrub seems to work okay, or at least the bootloader portion05:31
JamesHarrisonthat 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:32
JamesHarrisonOkay, poked around inside and the cables are all sound and secure05:35
JamesHarrisonnothing untoward in there, toasty as heck but that's what you get from a P4 in a pizzabox...05:35
=== shennyg_ is now known as shennyg
uvirtbot`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/55005006:16
ChmEarluninstalled postfix, but the init script is still there. However, the top line is !#/bin sh -e. Does this turn off the script?06:48
ChmEarl  #!/binsh -e06:48
ChmEarl  #!/bin/sh -e06:48
ScottKChmEarl: If you want the init script removed, purge, don't remove.06:49
ChmEarlyes, thats it!06:49
ChmEarldpkg -P <name>06:51
ScottKapt-get purge <name> works too06:51
eekeekzoneedit / 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:52
ScottKWhat domain?06:55
eekeekScottK: what the actual domain is doesn't make a difference does it?07:01
ScottKIf I'm going to look up it's DNS records and see if they are right it does.07:01
handheldCarPostfix 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
ChmEarlgoing 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
ScottKGenerally I don't ask for useless information.07:02
ScottKhandheldCar: I don't think php-mailer is an MTA.  I'm pretty sure it needs one.07:02
eekeekScottK: www.nfotown.com07:02
ScottKYou can set up Postfix to relay mail through your service provider.07:03
ScottKeekeek: They both resolve to the same IP address, so it appears your DNS is correct.07:04
handheldCarScottK: The PHPMailer module adds SMTP support by sending mail through a GMail account.07:05
ScottKAh.07:05
ScottKOK.07:05
eekeekScottk: k07:05
handheldCarsetting up Postfix to relay mail through my service provider sounds better since Postfix is already configured.07:06
* handheldCar found something about a mail.cf file.07:10
handheldCarmight be a typo - main.cf07:12
ScottKIf you aren't familiar with Postfix, sudo dpkg-reconfigure postfix and then select internet with relay host as an option might be easier.07:13
handheldCarok07:18
* handheldCar thinks that was harder, probably broke it.07:26
ddecator_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:36
sherrddecator_: 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:39
ddecator_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, haha07:40
sherryes, 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:46
ddecator_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 =)07:47
handheldCarI 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.08:00
RoyK^Anyone that knows how to make landscape make temperature monitoring work? afaik it uses acpi. lmsensors reports temp ok, but not acpi09:08
dnivracan 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:26
Callum__dnivra: http://packages.ubuntu.com/09:30
dnivraCallum__, 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:30
Callum__dnivra: could you download it using the package manager? If so, it is there09:31
dnivraCallum__, I'm using karmic but the server's running jaunty. plus the server doesn't have internet connection either.09:31
ChmEarlwhen runlevels are need for udev service?09:32
ChmEarlwhat runlevels are needed for udev service?09:33
Callum__ChmEarl: udev should be running on all runlevels09:33
ChmEarlI have 2-5 , is that ok?09:33
Callum__ChmEarl: Ubuntu only uses runlevels 0, 1, 2 and 609:33
ChmEarlall is 0-609:33
ChmEarlk09:34
ChmEarlthis is karmic server with no x1109:34
ChmEarlI need udev for Xen09:34
Callum__ChmEarl: udev should be installed by default and starting in runlevels 1 and 209:35
RoyK^I don't think I've ever seen ubuntu without udev09:43
Callum__RoyK^: maybe older versions might have... old versions of Debian didn't require udev to be installed IIRC09:48
RoyK^yeah, but even debian uses udev now09:53
RoyK^and the ubuntu 8.04 we use on our servers, definetely use udev09:53
RoyK^just apt-get install xen :P09:54
uvirtbot`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/55013811:01
RoyK^any idea how to tell cron to run a job every fortnight? I can't find that in the manual...12:13
leniosRoyK, "* 12 10-16/4 * * root backup.sh" is an example that runs every 4 days12:20
leniosmy paste may be wrong actually, but it's the /412:21
lenios* 23 * * */4 root backup.sh12:23
uvirtbot`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/55020112:52
resnoi am thinking about setting a asterick server for my house. i see many guides, is this somehting i shsould contiune with?12:55
RoyK^lenios: thanks - works like a dream except on opensolaris where this job was to be run :P13:29
SripaHi all14:07
SripaI got a prob with setting up UEC on my home network14:07
SripaWhere when i ssh my running karmic instance, I get the error : connect to host 192.168.10.104 port 22: Connection refused14:08
SripaAny idea where am I making a mistake ?14:08
SripaI am a student and an absolute newbie..so please bear with me if my questions sound silly at times..14:08
SripaAnyone to help ?14:08
SripaI get the error : connect to host 192.168.10.104 port 22: Connection refused14:10
SripaAnyone can help, please  ?14:12
alex_joniSripa: sounds like you don't have an ssh server installed14:17
alex_jonisudo apt-get install openssh-server14:17
alex_joniif that's not the exact name, you can find it using apt-cache search ssh | grep server14:17
Sripaoh ok, lemme check14:18
SripaI can logon to my NC using ssh14:24
SripaNow tht should prove that my ssh is working right14:24
SripaI guess my ssh is working fine14:27
Sripawat else might be the problem ?14:28
RoyK^anyone that knows how I can make acpi temperature monitoring work?14:28
=== Airells is now known as airells
sherrRoyK^: 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:19
incorrecti wish i could think of a way to create multiple virtual ethernet cards so i can assign multiple dhcp clients with different mac addresses15:28
RoyK^sherr: acpi works well, but I can't get temperature output from it, so landscape can't monitor that15:31
RoyK^incorrect: did you try assigning different mac addresses to eth0:1 and so on?15:32
incorrectyes15:33
incorrectit only pics up the mac for the base15:34
uvirtbot`New bug: #550278 in php5 (main) "php5-dev is missing a dependency on libpcre3-dev" [Undecided,New] https://launchpad.net/bugs/55027815:57
mrlemaoWhat is the best way to convert an ext3 root volume into a XFS?16:29
sherrmrlemao: As far as I know, you will have to copy data off, mkfs.xfs, copy data back. Why do you want to?16:36
mrlemaoI 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:38
mrlemaosherr: consistent-snapshot == ec2-consistent-snapshot (http://alestic.com/2009/09/ec2-consistent-snapshot)16:39
sherrmrlemao: Ah, xfs_freeze ... anyway, no conversion really. A wipe, create and restore.16:42
mrlemaosherr: 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:44
sherrmrlemao: 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:47
sherrMy 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:48
mrlemaosherr: 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 etc16:53
handheldCarThis 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.16:54
gbear14275ran 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:  h17:53
=== 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
arrrghhhdoes 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:47
sherrarrrghhh: what error do you see?18:57
arrrghhhwell that's the odd thing, i don't see any error.  even in the rtorrentInit log.18:58
arrrghhhhrm... i just tried using the sh script18:58
arrrghhhinstead of the bash script18:58
arrrghhhand it seems to be workin now... i don't get it.  same output, but rtorrent actually runs this time.18:58
handheldCarLet's put it on a wiki18:59
sherrSome scripts use /bin/sh and expect "bash" - not necessarily true. Causes problems.19:00
=== lionel_ is now known as lionel
RoyK^sherr: heh - that's stupid :)19:05
SripaHi all19:07
SripaIs there anyway I can access my virtual instance running on my nc from command line19:07
SripaI mean, will I be able to mount it and access its inner data19:07
Sripa?19:07
SripaIm using UEC19:07
arrrghhhsherr, 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:08
sherrSripa: yes, run an SSH server and connect that way. You should also have conmsole access (or VNC perhaps).19:09
Sripasherr: I am unable to connect to the instance using ssh, it says connection refused19:10
SripaThat 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
MTeck-ricerhow do I grow an ext4 fs to fill the remaining space?19:11
handheldCarisn't that unfortunately impossible?19:14
SripaWhat does this indicate ? http://img690.imageshack.us/img690/5971/dsc04624o.jpg19:16
SripaWhat might be the problem  ? sry im a newbie19:16
=== _ruben_ is now known as _ruben
handheldCarDid you change your configuration files?19:17
SripaI created a key using ssh-keygen19:18
SripaShoudn't I do it ?19:18
handheldCarhmm, I never do that. I just ssh in.19:18
Sripaok19:18
SripaI created a keypair using euca-add-keypair mykey > mykey.priv19:19
SripaAnd the run the instance using mykey19:19
RoyK^handheldCar: the host keys should be generated automatically. ssh-keygen makes user keys by default19:19
SripaAnd ssh -vi mykey.priv ubuntu@IP19:19
SripaRoyK: But when I saw the contents of both the keys, they were the same19:20
RoyK^just make the key and it'll be stored under $HOME/.ssh and used automatically19:20
SripaNow does that make a difference ?19:20
SripaI have an id_dsa key in ~.ssh directory19:21
SripaAnd it is different from mykey.priv that I have generated19:21
Sripassh -vi mykey.priv ubuntu@IP gives http://img690.imageshack.us/img690/5971/dsc04624o.jpg19:23
Sripawhat should I be doing? any ideas ?19:23
=== jkakar_ is now known as jkakar
handheldCarSripa: Don't generate user keys?19:31
SripahandleCar: I didnt get your point19:33
handheldCarI'm not familiar w/ the server side of ssh. What's the necessity of generating them?19:33
SripaThey authenticate the client to the host19:34
Sripacorrect me if I am wrong19:34
handheldCarPersonally, 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:37
uvirtbotNew bug: #550409 in libvirt (main) "Slow disk IO for all guests with all disc modes and types." [Undecided,New] https://launchpad.net/bugs/55040919:42
=== ikonia_ is now known as ikonia
sherrSripa: are you using a guide? Can you post a link?20:08
RoyK^handheldCar: it's a bad idea to just use keys imho20:12
RoyK^using fail2ban or something to stop probes is better20:12
sherrRoyK^: It's a debatable point. But maybe UEC requires keys? Some applications do.20:16
guntbertRoyK^: why do say that using "just keys" is a bad idea?20:17
RoyK^requiring all users to use keys is a bad idea if you have 500 of them on various platforms20:17
guntbertRoyK^: agreed20:18
dinger1986does anyone here use any server monitoring systems?20:32
sherrdinger1986: I have a very old and crusty MRTG at work, and played with munin at home.20:36
sherr+ cacti20:36
dinger1986sherr: do you know if it will monitor servers which are external?20:37
nimrod10is there a way to increase a linux partition without rebooting the system ? the partition has ext3 on top.20:38
sherrYou 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:38
sherrnimrod10: Yes, most filesystems require you to unmount them before resizing. I believe XFS does a resize online mounted though. Depends what partition.20:39
dinger1986ah dont wanna just do a ping test, want to be able to see which services are running or not20:40
ChmEarlanyone running Xen4/pv_ops kernel on karmic 9.10? getting failed hotplug scripts when starting a domU20:41
sherrdinger1986: I think many/most are extensible - write your own plugin/scripts to do a test20:41
dinger1986ok fair enough20:42
sherrI wrote the "ping" test - nagios does this as well I think.20:42
sherrChmEarl: I have started playing with Xen this week - but on Debian Lenny. It looks like it is supported better (more easily).20:43
sherrI 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:43
ChmEarlsherr,  did you use all defaults in xend-config.sxp? did you have a br0 before using Xen?20:44
sherrYEs, 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
sherrMy pain was installing guests (Squeeze via d-i, Centos5)20:45
nimrod10sherr, so without rebooting if I unmount the partition, resize the part, resize the filesystem  and mount back that should do it ?20:46
sherrSome (possibly) useful guide material, including Ubuntu here : http://bderzhavets.wordpress.com/20:47
sherrChmEarl: ^^ Xen20:47
sherrnimrod10: yes20:47
nimrod10thanks sherr I'll give it a go20:48
sherrnimrod10: no guarantees here though - know what you are doing but have backups!20:48
nimrod10yes I'll back things up before20:48
sherrSee (for ext2/3 maybe 4) : man resize2fs20:48
ChmEarlsherr, I susbscribe to xen-users mailing list where Boris is guru20:49
ChmEarlsherr, the ##xen people are telling me to avoid karmic and try fedora 12.. ugh20:49
sherrChmEarl: Go Debian Lenny. Seems stable and working + next release has support as well.20:50
sherrMy knowledge is slight so far though. So far so good though ...20:52
sherrThe thing is - there are too many machines without h/w virt - and want to put them to use. Xen is ideal.20:52
sherrChmEarl: what kernel are you using as a domU? Did you build it yourself?20:55
=== shennyg_ is now known as shennyg
uvirtbotNew 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/55045820:56
codilechasseurAnyone have any opinions on apache and which version would be best for a dev server?21:06
codilechasseurprefork or threaded21:06
RoyK^sherr: there's a -virtual for domU21:07
codilechasseuror whateber else21:07
RoyK^depends on what you need, really21:07
RoyK^prefork is stable and works with php and the flock21:07
RoyK^threaded is also stable, but mostly for high-traffic servers21:07
RoyK^and bad php support21:08
RoyK^that's php's fault, but still21:08
codilechasseurok, so prefork i think  then21:08
codilechasseuri just need to get it tuned i guess21:08
RoyK^prefork works well21:08
RoyK^for a dev server?21:08
codilechasseurit's always seemed a little slower than21:08
RoyK^probably no tuning needed21:08
RoyK^prefork is slower on high traffic21:09
codilechasseurit'll be maybe 10 people developing drupal sites21:09
RoyK^you won't notice that on a dev server21:09
RoyK^just use prefork21:09
codilechasseurapache2-mpm-prefork?21:09
codilechasseuris that the package21:09
RoyK^yeah21:09
codilechasseursweet. i'm actually just trying to get a script together that'll install everything we need for dev21:10
RoyK^most of the stuff is ready in the packages21:11
codilechasseurdo i need to specify mysql-server-5.1 or does just mysql-server suffice?21:11
RoyK^it'll suffce21:11
RoyK^suffice21:11
RoyK^depending on version, you might get an older mysql than 5.1, so if you need just that, specify it21:12
codilechasseurdon't think it matters, as long as it's 5 which i'm pretty sure it is21:13
codilechasseurlibmysqlclient15-dev?21:13
RoyK^that's the mysql5 client21:13
codilechasseurwhat about mysql-client?21:13
handheldCarI got mysql 5.0 and 5.121:13
RoyK^codilechasseur: it'll follow21:13
RoyK^codilechasseur: and you won't need it much if it's just a server, just the libs21:14
codilechasseurwhich one won't i need?21:14
codilechasseurthe -dev package?21:14
RoyK^-dev is only needed if you want to compile something that links to it21:15
RoyK^the client installs automatically with the server21:15
codilechasseurok, so all i really need for a server is mysql-server21:15
codilechasseurand i get the corresponding client for free21:15
RoyK^afaik yes21:15
codilechasseurnice, thanks RoyK^21:16
handheldCarif not just apt-get install mysql-server mysql-client21:16
ChmEarlxen: hotplug script errors starting a domU on karmic 9.10 http://paste.ubuntu.com/404454/21:55
=== MTeck-ricer is now known as MTecknology
osmosishow can I open a terminal to connect to   /dev/pts/7  ?22:32
JamesHarrisonIf I need to resize a reiserfs filesystem inside a LVM from 500gb down to 150gb, reiserfs_resize should be all I need, right?23:31
JamesHarrison"reiserfs_resize -s 150G /dev/mapper/daedalus"23:32

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