[00:43] <pmatulis> yann2: i would ask on the kvm mailing list
[00:47] <Zeu5> hi there i need help. for some reason, my phpthumb is working on my ubuntu machine but not on the ubuntu server. i have installed both imagemagick in both machines but everything is fine. after much googling there may be a problem with the imagemagick library though i can find it in php_info. please advise.
[01:04] <lenios> Zeu5, are both phpinfo returning the same result for imagemagick? what about aptitude search imagemagick?
[01:05] <Zeu5> lenios, i have never used aptitude search. how do i do that?
[01:07] <Zeu5> lenios, okie i see that imagemagick has a p in the  server but an i in devt machine
[01:07] <Zeu5> what does p and i stand for?
[01:09] <Zeu5> lenios?
[01:09] <lenios> p is package not installer, i is installed
[01:09] <lenios> not installed*
[01:10] <Zeu5> oh i see
[01:10] <Zeu5> i tried sudo apt-get install php5-imagemagick but it keeps saying tat its the latest version what shd i do?
[01:11] <Zeu5> this is the php_info of my server if it helps http://thecopyninja.com/info.php
[01:12] <Zeu5> oops .. never mind i just realised i did something wrong... sorry
[01:12] <Zeu5> let me try something first...
[01:12] <lenios> apt-get install imagemagick
[01:24] <Zeu5> lenios, okie imagemagick is installed but i am still having errors with phpthumb
[01:24] <Zeu5> i get the i
[01:45] <Zeu5> hi lenios, i mistook php5-imagemagick for imagemagick, so now i have both in server, i still cannot get it work. please advise
[03:08] <Smaug> lenios: i did what you said earlier and rkhunter still gives me errors on those ones.  does that mean I should not be worried?
[05:15] <Error404NotFound> anyone here used pandora fms?
[05:37] <twb> !anybody
[05:47] <Error404NotFound> :)
[05:47] <Error404NotFound> twb, what do you think would be best qualified for http://pastebin.com/GU1kpaGG ? i have found nagios and pandoraFMS both suitable though later seems more complex to setup, so far.
[06:29] <Doonz> hey does anyone know howto stream something over ssh to vlc
[06:37] <Smaug> lenios are you asleep?
[07:11] <n_i_x> rigved: im here :)
[07:11] <rigved> n_i_x: ok. did you make any special hard disk setup during install?
[07:12] <n_i_x> rigved: no.. told it to use all space it was one of the standard choices
[07:12] <n_i_x> the tasksel tasks I installed were Ubuntu Basic Server and LAMP that's all
[07:13] <rigved> n_i_x: ok. when you boot, just after you see the motherboard's splash screen, press "Shift". that will bring up the grub menu
[07:14] <n_i_x> rigved: yea I tried that.. it never displays the grub menu
[07:14] <n_i_x> I'll try again.. do I need to hold shift or repeatedly press it?
[07:14] <rigved> n_i_x: hold shift
[07:14] <rigved> n_i_x: it has to be done immediately
[07:15] <rigved> n_i_x: only like in a span of 2-3 seconds
[07:15] <n_i_x> nothing
[07:16] <rigved> n_i_x: try again. this time repeatedly press  the "Shift" key. if this doesn't work, then there is some problem with grub
[07:16] <n_i_x> this case has 4 hot-swap hard drive bays.. lemme try removing those disks and rebooting.. ya never know
[07:17] <rigved> n_i_x: ok
[07:17] <n_i_x> i removed those disks from the bios boot selection
[07:17] <n_i_x> so it's not booting off them
[07:18] <n_i_x> that didn't help.. it's doing the same thing
[07:18] <n_i_x> so the ubuntu server cd can't be used to repair grub can it?
[07:19] <n_i_x> or will I need an ubuntu desktop live cd or somethign
[07:20] <rigved> n_i_x: one moment. researching
[07:21] <rigved> n_i_x: when you get the blinking cursor, press Crtl+Alt+F2
[07:21] <n_i_x> that does nothing
[07:21] <rigved> n_i_x: if that doesn't work, try F3, F4, F5
[07:21] <n_i_x> tried them all :)
[07:22] <rigved> n_i_x: ok. i think you need the LiveCd to fix grub
[07:22] <rigved> n_i_x: but wait. let me check if something is possible
[07:23] <n_i_x> k
[07:23] <rigved> n_i_x: http://www.linuxquestions.org/questions/linux-server-73/after-installation-of-ubuntu-10-4-server-edition-screen-shuts-off-809546/
[07:23] <rigved> n_i_x: similar problem to yours
[07:25] <n_i_x> rigved: ahh.. so it doesn't support the built in video card?
[07:25] <rigved> n_i_x: maybe
[07:26] <rigved> n_i_x: re-install using the nomedeset option
[07:26] <n_i_x> rigved: thats what I was going to try now :)
[07:26] <rigved> n_i_x: but wait. let me make sure that there is nothing that you can do
[07:26] <n_i_x> sure
[07:26] <rigved> n_i_x: that is your last option
[07:27] <rigved> n_i_x: there is a grub repair disk - http://beginlinux.com/server_training/server-managment-topics/1069-supergrub
[07:27] <rigved> n_i_x: not sure if ti works, never tried it or heard of it
[07:29] <rigved> n_i_x: you can try the grub repair disk but i think that it will not work because your video card is not supported (most probably). so best option is to install in the nomodeset option
[07:29] <n_i_x> ok i'll try that
[07:31] <rigved> n_i_x: if using the second option, then when you insert the ubuntu server disk, after the language Selection and before selecting Install ubuntu server, press F6 and select nomodeset. then select Install Ubuntu Server
[07:31] <rigved> n_i_x: ok. whatever works for you
[07:34] <n_i_x> reinstall would be easier actually.. I don't have a cdrom in this box and only have 1 flash drive which already has 10.04 server on it.. reformatting it for rescatux might be more of a pain :)
[07:44] <rigved> n_i_x: ok. but make sure you do as i said about the nomodeset option. all the best!
[08:06] <n_i_x> rigved: I think I found the problem... grub gets installed to /dev/sda in the ubuntu installer.. the boot drive is /dev/sdd.. side note.. not sure why the disk connected to sata1 gets detected as /dev/sdd
[08:11] <gobbe> grub should be installed to disk start you are using to boot up your computer
[08:11] <gobbe> that's why it's in most of the cases /dev/sda
[08:13] <n_i_x> sure.. I get that.. but.. I don't get why the first disk in the system which is connected to sata1 (there is no sata0) is detected in ubuntu as /dev/sdd
[08:13] <gobbe> how many disks you have?
[08:14] <n_i_x> 5 + the usb disk I boot the installer from
[08:15] <n_i_x> I have to pull the disks before installing ubuntu so grub installs itself properly
[08:15] <gobbe> yea
[08:15] <n_i_x> after pulling the disks the installer sees the disk as sda
[08:16] <n_i_x> so I'm pretty sure the install will work properly now
[08:16] <n_i_x> as grub will get installed where it should
[08:44] <n_i_x> rigved: pulling the drives and reinstalling worked.. it was a grub issue!
[09:06] <rigved> n_i_x: good to hear. did you also try the nomodeset option? or did it work without that?
[09:07] <n_i_x> rigved: it didn't need it.. I actually couldn't find the spot to add that in the installer... I hit f6 after every screen and nothing
[09:08] <rigved> n_i_x: ok. but the good thing is that it's working now!
[09:08] <rigved> n_i_x: now you cannot the other disks and it will work fine
[09:09] <n_i_x> rigved: indeed... had I had a cd-rom drive I would have tried to reinstall grub.. I was confused by the blinking cursor tho... thought there was a chance it was kernel related
[09:09] <n_i_x> rigved: one step ahead of you.. already on to mdadm config :0
[09:09] <rigved> n_i_x: :)
[09:10] <n_i_x> I have to get a new cdrom drive.. I didn't realize this mobo had no pata ports... and I don't have a slim sata cd-rom anywhere
[09:19] <rigved> n_i_x: but if you are going to be running any critical applications on this server, then better not to have a CD-ROM. that way you can be sure that your system cannot be physically compromised (security plus point)
[09:20] <rigved> n_i_x: and you can always lock the usb ports so that they cannot be used without the admin password
[09:23] <n_i_x> rigved: it's a home NAS :)
[09:24] <n_i_x> rigved: it's replacing my huge dell server
[09:24] <n_i_x> with a nice mini-itx 4-bay hot swap case.. getting a nice power boost from the core i3 vs the old p4 and saving some electricity at the same time
[09:25] <rigved> n_i_x: cool :)
[09:26] <n_i_x> rigved: yea.. the old server is running jaunty... i was on irc at 3am last week and let someone convince me to buy a WHS NAS.. huge mistake
[09:28] <rigved> n_i_x: didn't you get it verified from someone?
[09:28] <rigved> n_i_x: like your PC guy?
[09:29] <n_i_x> pc guy? I am the pc guy.. so I ended up buyng the thing because 1) it was only $300 and 2) I figured having TVersity again on the network would be nice
[09:30] <n_i_x> I did next to no research tho.. the price was so cheap
[09:30] <n_i_x> amazon prime didn't help either
[09:31] <n_i_x> but WHS doesn't do raid
[09:31] <n_i_x> it has this weird data duplication service that duplicates data on another physical disk
[09:32] <n_i_x> but the service doesn't run at scheduled intervals.. it's pretty random and sometimes runs when the server needs to perform other tasks.. like streaming media
[09:32] <n_i_x> at that point, the server stops performing it's streaming task and focuses on data duplocation
[09:32] <n_i_x> I was getting really crappy IO performance out of it
[09:33] <n_i_x> it wasn't able to saturate the gig ethernet
[09:47] <PeterNL> Hi, I'm trying to install ubuntu server in a VM from a custom netinstall image, but it fails: http://peter-server.homelinux.net/di1.png and http://peter-server.homelinux.net/di2.png
[09:48] <rigved> n_i_x: wow. that's really something
[09:49] <RoyK> PeterNL: if it's a custom image, well.....
[09:49] <PeterNL> Is this a know problem in any other ubuntu server installer?
[09:49] <n_i_x> rigved: yea.. it also uses an atom processor which isn't known for it's blazingly fast performance :)
[09:49] <rigved> PeterNL: it's unable to download the required packages.
[09:50] <PeterNL> is nl.archive.ubuntu.com down or something?
[09:50] <rigved> PeterNL: which version is this?
[09:50] <PeterNL> 10.04.1
[09:50] <RoyK> just use a normal install image
[09:51] <PeterNL> RoyK: not gonna happen. This is for http://peter-server.homelinux.net/osmbuntu/
[09:51] <PeterNL> brb...
[09:53] <n_i_x> night everyone.. thanks for the help!
[09:56] <PeterNL> back. Should I try with another mirror?
[09:57] <rigved> PeterNL: yes. try that
[09:57] <PeterNL> ok
[09:58] <RoyK> PeterNL: what exactly is that?
[09:59] <PeterNL> OSMbuntu? It's an ubutnu server netinstaller with an script to download/compile/install software you'd usually find on a OSM tileserver, and import osm data, end more...
[10:00] <RoyK> why not just write a metapackage?
[10:02] <PeterNL> Because this is way cooler :) Users can setup their username, password and bbox before they run the installer
[10:02] <PeterNL> And the image is only 12mb
[10:02] <RoyK> I didn't find an image on that page, though
[10:02] <PeterNL> http://peter-server.homelinux.net/osmbuntu/?create
[10:04] <RoyK> what's the username+pass needed? and why is bbox filled with 'left*13.8|top*44.9|right*13.9|bottom*44.8' ?
[10:04] <PeterNL> bbox is bounding box. In degrees.
[10:04] <PeterNL> And the user/pass is whatever you like it to be
[10:05] <PeterNL> But be warned, booting this this will kill all datra on your first harddrive :) Please run this on a VM (to make screenshots)
[10:06] <PeterNL> But I g2g, i'll see what happens to your vm later
[10:08] <RoyK> PeterNL: lemme try...
[10:53] <RoyK> PeterNL: installed without problems here
[10:58] <PeterNL> sure? What mirror did you choose?
[10:59] <PeterNL> I'm trying with de now. nl is the one that failed.
[11:00] <rigved> PeterNL: try pinging the nl server separately
[11:01] <rigved> PeterNL: it may be down
[11:01]  * PeterNL tries
[11:01] <PeterNL> Not down. But maybe it *was* down...
[11:01] <PeterNL> Any logs of that?
[11:02] <rigved> PeterNL: ok. not sure. google it if you find any. mostly only admins can check logs.
[11:02] <PeterNL> Well, there are :) http://ubuntuarchive.bit.nl/ The graph doesn't show any downtime...
[11:02] <rigved> PeterNL: official ubuntu server stats are available online (whether they are down or not)
[11:03] <Jeeves_> PeterNL: I don't think the server was down
[11:03] <Jeeves_> But I can ask it for you
[11:03] <Jeeves_> The server does support IPv6, maybe that's broken in your network?
[11:04] <PeterNL> Jeeves_: afaics it was up for the last 24h.
[11:04] <PeterNL> And I'm still using IPv4
[11:05] <Jeeves_> PeterNL: Yes, but maybe your network thinks it has IPv6 somewhere
[11:05] <Jeeves_> Apple Airports are know to break stuff
[11:05] <PeterNL> The image gets an IP addres from dhcp, and I only have an DHCPv4 server here. Everything here gets an IP from the same DHCP server
[11:05] <PeterNL> And there is no Apple hardware around here :)
[11:05] <Jeeves_> PeterNL: Just letting you know :)
[11:05] <PeterNL> Linksys router with DD-WRT ftw :)
[11:06] <Jeeves_> There haven't been any issues with nl.archive
[11:18] <PeterNL> de fails for mee too. http://peter-server.homelinux.net/di3.png
[11:23] <RoyK> well, works for me (tm)
[11:24] <PeterNL> Well, not for me (tm)...
[11:25]  * RoyK blames the designer
[11:25] <PeterNL> Who is that?
[11:25]  * PeterNL looks in a mirror
[11:25] <PeterNL> Ah, that's him!
[11:28] <PeterNL> RoyK: what VM software do you use?
[12:05] <RoyK> PeterNL: vbox4
[12:06] <PeterNL> same as I have. Makes it extra weird :)
[12:06] <RoyK> PeterNL: can try with kvm as well if you want to
[12:06] <PeterNL> Nah, it works for you in vbox4, and it doesn't for me.
[12:07] <PeterNL> What NIC have you set in your VM?
[12:07] <RoyK> intel pro/1000 MT (nat(
[12:07] <RoyK> s/.$/)/
[12:08] <PeterNL> I have it set as bridge. Will try nat.
[12:08] <RoyK> "desktop" adapter
[12:21] <MACscr> i just upgraded my server from hardy to lucid and now it wont boot. Its a xen pvm, so i am at least able to get console access, but here are the errors: http://pastebin.ca/2028081
[12:21] <MACscr> any tips would be sincerely appreciated
[12:51] <RoyK> how do I specifically turn _on_ the old-fashioned grub menu?
[12:52] <RoyK> I don't get it why everything needs to be so bloody obscured these days
[13:20] <bogeyd_> Can anyone help with http://paste.ubuntu.com/547210/ ?
[13:21] <pmatulis> bogeyd_: how did these files end ↑ on your machine?
[13:22] <bogeyd_> pmatulis probably broken files from an iscsi server that crashed
[13:22] <bogeyd_> rm locks up and doesnt exit when you try to del so the zoneminder janitor never deletes the files and the iscsi runs out of space (650gb)
[13:24] <pmatulis> bogeyd_: so what is your goal at this point?
[13:24] <bogeyd_> to just remove that directory 18685 and move about my life
[13:25] <bogeyd_> no interest in recovering it
[13:26] <MACscr> ok, i have a xen guest running ubuntu 10.04, how can i find out what partitioning setup its using when i mount its image locally in the dom0?
[13:26] <MACscr> i cant get it to boot, so just trying to figure out what the hell is going on. Worked fine before i upgraded it from 8.04
[13:27] <bogeyd_> pmatulis i was thinking of booting to single user mode and running fsck
[13:27] <pmatulis> bogeyd_: yes, good idea.  but can you not move some files off of it(if the volume is full?
[13:28] <bogeyd_> pmatulis volume is no longer full, i just hand  deleted everything else and was left with this directory.
[13:28] <pmatulis> bogeyd_: ok
[13:28] <pmatulis> bogeyd_: so fsck is a good choice
[13:29] <bogeyd_> pmatulis ty
[13:29] <bogeyd_> pmatulis will single user mode mount the iscsi target?
[13:31] <pmatulis> bogeyd_: why single user mode?  just log in to the volume.  this provides you with an unmounted block device
[13:31] <bogeyd_> pmatulis unfortunately i dont understand how to log into the volume
[13:32] <pmatulis> bogeyd_: ok then do whatever you normally do and then unmount it
[13:33] <bogeyd_> pmatulis umount -f   gives me /var/cameras is device busy
[13:34] <pmatulis> bogeyd_: pastebin output to 'mount' command?
[13:39] <bogeyd_> pmatulis http://paste.ubuntu.com/547216/
[13:39] <pmatulis> bogeyd_: i said the 'mount' command
[13:40] <bogeyd_> oh
[13:40] <bogeyd_> pmatulis http://paste.ubuntu.com/547217/
[13:42] <bogeyd_> pmatulis it was the zoneminder janitor, i have the volume unmountednow
[13:43] <bogeyd_> pmatulis and the fsck command gives me /dev/sdb1: clean, 48/39321600 files, 1290131/157286382 blocks
[13:45] <bogeyd_> pmatulis after remounting the volume and trying to the files I am confronted with the original problem
[13:46] <pmatulis> bogeyd_: strange.  i wonder if it's iscsi related then
[13:47] <pmatulis> bogeyd_: if the volume is emptied besides these files why not just format it?
[13:47] <bogeyd_> pmatulis provide the command and I shall reformat
[13:47] <bogeyd_> I need ext3 file system
[13:48] <bogeyd_> pmatulis i assume "mkfs.ext3 /dev/sdb1"
[13:48] <pmatulis> bogeyd_: unmount first
[13:48] <bogeyd_> k
[13:48] <RoyK> bogeyd_: either umount or remount -o ro
[13:49] <bogeyd_> k, looks like reformat is working nicely
[13:49] <bogeyd_> pmatulis no doubt iscsi related, it is assumed at this point that is how it got corrupted. one tends to think that 8.04 LTS prob had 99.9999% of bugs worked out by now
[13:50] <bogeyd_> RoyK ty for your input
[13:51] <bogeyd_> i never seen the rm command just stop working with no errors and sit at 99% cpu
[13:52] <bogeyd_> royk and pmatulis reformatting the file system worked
[14:37] <yann2> hello! Not sure if this is the right place to ask - I am looking at a way to compile a source package statically (a shell, to be precise). any hint?
[14:38] <yann2> google is failing me
[14:39] <cloakable> yann2: what shell?
[14:39] <yann2> any shell, it's the method that I want, not the end result :)
[14:41] <yann2> hoping it is not massively complicated :(
[14:41] <cloakable> http://www.google.com/search?client=ubuntu&channel=ks&q=compile%20bash%20statically
[15:00] <yann2> finally found, for people with interest, just add  --with-ldflags=-static to the ./configure line :)
[15:00] <ne7work> hello all, someone who host hlds under ubuntu server 10.10 32-bit here?
[16:36] <opengeard> is anyone familiar with multistrap?  I need to build bootable system (dd) images without actually deploying.
[18:45] <n_i_x|ZzZzZz> why does mdadm install postfix? I mean, I know it needs sendmail or whatever, but why is it installing postfix to get that? If I remove postfix, will mdadm break or will it just not be able to email alerts
[22:19] <cn1209> What is the correct channel to ask how to setup apache2 on ubuntu server. I just need help on the perl side. I see the source of the script and that's it.
[22:22] <tsrk> cn1209: I'd suggest installing libapache2-mod-perl2
[22:23] <cn1209> tsrk: I ran atp-get install libapache2-mod-perl2. Now in my Directory block of my site I added the options ExecCGI and Handler cgi-script and cgi pl
[22:23] <cn1209> tsrk: I'm getting this: You don't have permission to access /index.cgi on this server.
[22:24] <tsrk> cn1209: does the script have world-executable permissions?
[22:24] <cn1209> tsrk: I have the user www-data full access
[22:25] <tsrk> cn1209: ok, check your apache error log (/var/log/apache2/error.log) and see what it says
[22:25] <cn1209> tsrk:
[22:26] <cn1209> tsrk: Weird. Running tail and I see no such file or directory. Before that I see cannot open 'tec/httpd/logs/error_log
[22:27] <tsrk> cn1209: do you have it configured to use a different error log?
[22:28] <cn1209> tsrk: No. I have it set to ErrorLog /var/log/apache2/error.log
[22:28] <tsrk> cn1209: ok, is the "no such file or directory" referring to index.cgi or that other error log?
[22:30] <cn1209> tsrk: I think it's looking for a file error_log. I'll check. Sec
[22:40] <cn1209> tsrk: okay. Looks like the direct /httpd/logs and the file error_log is none existent. Just made it.
[22:40] <cn1209> tsrk: okay. Now I get Premature end of script headers
[22:41] <tsrk> cn1209: http://htmlfixit.com/cgi-tutes/tutorial_Common_Web_dev_error_messages_and_what_they_mean.php#premature
[22:41] <cn1209> tsrk: okay. I'm using #!/usr/local/bin/perl I'll check if that's correct for my config
[22:41] <cn1209> tsrk: Thanks
[23:22] <cn1209> tsrk: It was the shebang
[23:35] <cn1209> tsrk: How can I can the install or copy it to /usr/bin/perl to /usr/bin/lib/perl
[23:35] <cn1209> tsrk: The previous developer has hundreds of scripts using usr/bin/lib
[23:36] <tsrk> cn1209: create a symlink with "ln -s /usr/bin/perl /usr/bin/lib/perl"
[23:37] <cn1209> tsrk: Awesome. You are awesome!
[23:37] <cn1209> Thanks!
[23:37] <tsrk> cn1209: nah, i've just been using linux too long =P
[23:38] <cn1209> tsrk: LOL. That's good. I work with Windows Server mostly. Programming. Yeah... I Know.
[23:40] <tsrk> cn1209: ah I see. I know nothing about windows server (not that I hate windows but I can't justify the cost)
[23:40] <cn1209> tsrk: That's true. That's why I personally use Ubuntu for personal use. Cost. Running under VMWARE Esxi. AGAIN Cost. :)
[23:42] <tsrk> cn1209: i like esxi except for the lack of software raid, which is why i use kvm on ubuntu instead
[23:44] <cn1209> tsrk: Yup. That is true