[00:43] yann2: i would ask on the kvm mailing list [00:47] 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] Zeu5, are both phpinfo returning the same result for imagemagick? what about aptitude search imagemagick? [01:05] lenios, i have never used aptitude search. how do i do that? [01:07] lenios, okie i see that imagemagick has a p in the server but an i in devt machine [01:07] what does p and i stand for? [01:09] lenios? [01:09] p is package not installer, i is installed [01:09] not installed* [01:10] oh i see [01:10] i tried sudo apt-get install php5-imagemagick but it keeps saying tat its the latest version what shd i do? [01:11] this is the php_info of my server if it helps http://thecopyninja.com/info.php [01:12] oops .. never mind i just realised i did something wrong... sorry [01:12] let me try something first... [01:12] apt-get install imagemagick [01:24] lenios, okie imagemagick is installed but i am still having errors with phpthumb [01:24] i get the i === mconigliaro_ is now known as mconigliaro === Daviey_ is now known as Daviey [01:45] hi lenios, i mistook php5-imagemagick for imagemagick, so now i have both in server, i still cannot get it work. please advise === pgraner` is now known as pgraner [03:08] lenios: i did what you said earlier and rkhunter still gives me errors on those ones. does that mean I should not be worried? === KB1JWQ_ is now known as KB1JWQ [05:15] anyone here used pandora fms? [05:37] !anybody [05:37] A large amount of the first questions asked in this channel start with "Does anyone/anybody..." Why not ask your next question (the real one) and find out? [05:47] :) [05:47] 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] hey does anyone know howto stream something over ssh to vlc [06:37] lenios are you asleep? [07:11] rigved: im here :) [07:11] n_i_x: ok. did you make any special hard disk setup during install? [07:12] rigved: no.. told it to use all space it was one of the standard choices [07:12] the tasksel tasks I installed were Ubuntu Basic Server and LAMP that's all [07:13] 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] rigved: yea I tried that.. it never displays the grub menu [07:14] I'll try again.. do I need to hold shift or repeatedly press it? [07:14] n_i_x: hold shift [07:14] n_i_x: it has to be done immediately [07:15] n_i_x: only like in a span of 2-3 seconds [07:15] nothing [07:16] 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] this case has 4 hot-swap hard drive bays.. lemme try removing those disks and rebooting.. ya never know [07:17] n_i_x: ok [07:17] i removed those disks from the bios boot selection [07:17] so it's not booting off them [07:18] that didn't help.. it's doing the same thing [07:18] so the ubuntu server cd can't be used to repair grub can it? [07:19] or will I need an ubuntu desktop live cd or somethign [07:20] n_i_x: one moment. researching [07:21] n_i_x: when you get the blinking cursor, press Crtl+Alt+F2 [07:21] that does nothing [07:21] n_i_x: if that doesn't work, try F3, F4, F5 [07:21] tried them all :) [07:22] n_i_x: ok. i think you need the LiveCd to fix grub [07:22] n_i_x: but wait. let me check if something is possible [07:23] k [07:23] 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] n_i_x: similar problem to yours [07:25] rigved: ahh.. so it doesn't support the built in video card? [07:25] n_i_x: maybe [07:26] n_i_x: re-install using the nomedeset option [07:26] rigved: thats what I was going to try now :) [07:26] n_i_x: but wait. let me make sure that there is nothing that you can do [07:26] sure [07:26] n_i_x: that is your last option [07:27] n_i_x: there is a grub repair disk - http://beginlinux.com/server_training/server-managment-topics/1069-supergrub [07:27] n_i_x: not sure if ti works, never tried it or heard of it [07:29] 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] ok i'll try that [07:31] 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] n_i_x: ok. whatever works for you === niekie_ is now known as niekie [07:34] 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] n_i_x: ok. but make sure you do as i said about the nomodeset option. all the best! === squishy is now known as SquishyNotHere [08:06] 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] grub should be installed to disk start you are using to boot up your computer [08:11] that's why it's in most of the cases /dev/sda [08:13] 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] how many disks you have? [08:14] 5 + the usb disk I boot the installer from [08:15] I have to pull the disks before installing ubuntu so grub installs itself properly [08:15] yea [08:15] after pulling the disks the installer sees the disk as sda [08:16] so I'm pretty sure the install will work properly now [08:16] as grub will get installed where it should === SquishyNotHere is now known as squishy === squishy is now known as SquishyNotHere === SquishyNotHere is now known as squishy === squishy is now known as SquishyNotHere [08:44] rigved: pulling the drives and reinstalling worked.. it was a grub issue! [09:06] n_i_x: good to hear. did you also try the nomodeset option? or did it work without that? [09:07] 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] n_i_x: ok. but the good thing is that it's working now! [09:08] n_i_x: now you cannot the other disks and it will work fine [09:09] 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] rigved: one step ahead of you.. already on to mdadm config :0 [09:09] n_i_x: :) [09:10] 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] 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] n_i_x: and you can always lock the usb ports so that they cannot be used without the admin password [09:23] rigved: it's a home NAS :) [09:24] rigved: it's replacing my huge dell server [09:24] 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] n_i_x: cool :) [09:26] 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] n_i_x: didn't you get it verified from someone? [09:28] n_i_x: like your PC guy? [09:29] 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] I did next to no research tho.. the price was so cheap [09:30] amazon prime didn't help either [09:31] but WHS doesn't do raid [09:31] it has this weird data duplication service that duplicates data on another physical disk [09:32] 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] at that point, the server stops performing it's streaming task and focuses on data duplocation [09:32] I was getting really crappy IO performance out of it [09:33] it wasn't able to saturate the gig ethernet [09:47] 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] n_i_x: wow. that's really something [09:49] PeterNL: if it's a custom image, well..... [09:49] Is this a know problem in any other ubuntu server installer? [09:49] rigved: yea.. it also uses an atom processor which isn't known for it's blazingly fast performance :) [09:49] PeterNL: it's unable to download the required packages. [09:50] is nl.archive.ubuntu.com down or something? [09:50] PeterNL: which version is this? [09:50] 10.04.1 [09:50] just use a normal install image [09:51] RoyK: not gonna happen. This is for http://peter-server.homelinux.net/osmbuntu/ [09:51] brb... [09:53] night everyone.. thanks for the help! [09:56] back. Should I try with another mirror? [09:57] PeterNL: yes. try that [09:57] ok [09:58] PeterNL: what exactly is that? [09:59] 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] why not just write a metapackage? [10:02] Because this is way cooler :) Users can setup their username, password and bbox before they run the installer [10:02] And the image is only 12mb [10:02] I didn't find an image on that page, though [10:02] http://peter-server.homelinux.net/osmbuntu/?create [10:04] 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] bbox is bounding box. In degrees. [10:04] And the user/pass is whatever you like it to be [10:05] 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] But I g2g, i'll see what happens to your vm later [10:08] PeterNL: lemme try... === SquishyNotHere is now known as squishy [10:53] PeterNL: installed without problems here [10:58] sure? What mirror did you choose? [10:59] I'm trying with de now. nl is the one that failed. [11:00] PeterNL: try pinging the nl server separately [11:01] PeterNL: it may be down [11:01] * PeterNL tries [11:01] Not down. But maybe it *was* down... [11:01] Any logs of that? [11:02] PeterNL: ok. not sure. google it if you find any. mostly only admins can check logs. [11:02] Well, there are :) http://ubuntuarchive.bit.nl/ The graph doesn't show any downtime... [11:02] PeterNL: official ubuntu server stats are available online (whether they are down or not) [11:03] PeterNL: I don't think the server was down [11:03] But I can ask it for you [11:03] The server does support IPv6, maybe that's broken in your network? [11:04] Jeeves_: afaics it was up for the last 24h. [11:04] And I'm still using IPv4 [11:05] PeterNL: Yes, but maybe your network thinks it has IPv6 somewhere [11:05] Apple Airports are know to break stuff [11:05] 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] And there is no Apple hardware around here :) [11:05] PeterNL: Just letting you know :) [11:05] Linksys router with DD-WRT ftw :) [11:06] There haven't been any issues with nl.archive [11:18] de fails for mee too. http://peter-server.homelinux.net/di3.png [11:23] well, works for me (tm) [11:24] Well, not for me (tm)... [11:25] * RoyK blames the designer [11:25] Who is that? [11:25] * PeterNL looks in a mirror [11:25] Ah, that's him! [11:28] RoyK: what VM software do you use? [12:05] PeterNL: vbox4 [12:06] same as I have. Makes it extra weird :) [12:06] PeterNL: can try with kvm as well if you want to [12:06] Nah, it works for you in vbox4, and it doesn't for me. [12:07] What NIC have you set in your VM? [12:07] intel pro/1000 MT (nat( [12:07] s/.$/)/ [12:08] I have it set as bridge. Will try nat. [12:08] "desktop" adapter [12:21] 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] any tips would be sincerely appreciated [12:51] how do I specifically turn _on_ the old-fashioned grub menu? [12:52] I don't get it why everything needs to be so bloody obscured these days === RoyK^ is now known as RoyK [13:20] Can anyone help with http://paste.ubuntu.com/547210/ ? [13:21] bogeyd_: how did these files end ↑ on your machine? [13:22] pmatulis probably broken files from an iscsi server that crashed [13:22] 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] bogeyd_: so what is your goal at this point? [13:24] to just remove that directory 18685 and move about my life [13:25] no interest in recovering it [13:26] 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] 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] pmatulis i was thinking of booting to single user mode and running fsck [13:27] bogeyd_: yes, good idea. but can you not move some files off of it(if the volume is full? [13:28] pmatulis volume is no longer full, i just hand deleted everything else and was left with this directory. [13:28] bogeyd_: ok [13:28] bogeyd_: so fsck is a good choice [13:29] pmatulis ty [13:29] pmatulis will single user mode mount the iscsi target? [13:31] bogeyd_: why single user mode? just log in to the volume. this provides you with an unmounted block device [13:31] pmatulis unfortunately i dont understand how to log into the volume [13:32] bogeyd_: ok then do whatever you normally do and then unmount it [13:33] pmatulis umount -f gives me /var/cameras is device busy [13:34] bogeyd_: pastebin output to 'mount' command? [13:39] pmatulis http://paste.ubuntu.com/547216/ [13:39] bogeyd_: i said the 'mount' command [13:40] oh [13:40] pmatulis http://paste.ubuntu.com/547217/ [13:42] pmatulis it was the zoneminder janitor, i have the volume unmountednow [13:43] pmatulis and the fsck command gives me /dev/sdb1: clean, 48/39321600 files, 1290131/157286382 blocks [13:45] pmatulis after remounting the volume and trying to the files I am confronted with the original problem [13:46] bogeyd_: strange. i wonder if it's iscsi related then [13:47] bogeyd_: if the volume is emptied besides these files why not just format it? [13:47] pmatulis provide the command and I shall reformat [13:47] I need ext3 file system [13:48] pmatulis i assume "mkfs.ext3 /dev/sdb1" [13:48] bogeyd_: unmount first [13:48] k [13:48] bogeyd_: either umount or remount -o ro [13:49] k, looks like reformat is working nicely [13:49] 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] RoyK ty for your input [13:51] i never seen the rm command just stop working with no errors and sit at 99% cpu [13:52] royk and pmatulis reformatting the file system worked [14:15] New bug: #694114 in autofs5 (main) "umountfs init job crashes with SIGSEGV when autofs is in use" [Undecided,New] https://launchpad.net/bugs/694114 [14:37] 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] google is failing me [14:39] yann2: what shell? [14:39] any shell, it's the method that I want, not the end result :) [14:41] hoping it is not massively complicated :( [14:41] http://www.google.com/search?client=ubuntu&channel=ks&q=compile%20bash%20statically [15:00] finally found, for people with interest, just add --with-ldflags=-static to the ./configure line :) [15:00] hello all, someone who host hlds under ubuntu server 10.10 32-bit here? === squishy is now known as SquishyNotHere [16:36] is anyone familiar with multistrap? I need to build bootable system (dd) images without actually deploying. [18:42] New bug: #694160 in postfix (main) "package postfix 2.7.0-1 failed to install/upgrade: subproces installed post-installation script gaf een foutwaarde 75 terug" [Undecided,New] https://launchpad.net/bugs/694160 [18:45] 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] 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] cn1209: I'd suggest installing libapache2-mod-perl2 [22:23] 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] tsrk: I'm getting this: You don't have permission to access /index.cgi on this server. [22:24] cn1209: does the script have world-executable permissions? [22:24] tsrk: I have the user www-data full access [22:25] cn1209: ok, check your apache error log (/var/log/apache2/error.log) and see what it says [22:25] tsrk: [22:26] 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] cn1209: do you have it configured to use a different error log? [22:28] tsrk: No. I have it set to ErrorLog /var/log/apache2/error.log [22:28] cn1209: ok, is the "no such file or directory" referring to index.cgi or that other error log? [22:30] tsrk: I think it's looking for a file error_log. I'll check. Sec [22:40] tsrk: okay. Looks like the direct /httpd/logs and the file error_log is none existent. Just made it. [22:40] tsrk: okay. Now I get Premature end of script headers [22:41] cn1209: http://htmlfixit.com/cgi-tutes/tutorial_Common_Web_dev_error_messages_and_what_they_mean.php#premature [22:41] tsrk: okay. I'm using #!/usr/local/bin/perl I'll check if that's correct for my config [22:41] tsrk: Thanks [23:22] tsrk: It was the shebang [23:35] tsrk: How can I can the install or copy it to /usr/bin/perl to /usr/bin/lib/perl [23:35] tsrk: The previous developer has hundreds of scripts using usr/bin/lib [23:36] cn1209: create a symlink with "ln -s /usr/bin/perl /usr/bin/lib/perl" [23:37] tsrk: Awesome. You are awesome! [23:37] Thanks! [23:37] cn1209: nah, i've just been using linux too long =P [23:38] tsrk: LOL. That's good. I work with Windows Server mostly. Programming. Yeah... I Know. [23:40] cn1209: ah I see. I know nothing about windows server (not that I hate windows but I can't justify the cost) [23:40] tsrk: That's true. That's why I personally use Ubuntu for personal use. Cost. Running under VMWARE Esxi. AGAIN Cost. :) [23:42] cn1209: i like esxi except for the lack of software raid, which is why i use kvm on ubuntu instead [23:44] tsrk: Yup. That is true