/srv/irclogs.ubuntu.com/2010/12/24/#ubuntu-server.txt

pmatulisyann2: i would ask on the kvm mailing list00:43
Zeu5hi 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.00:47
leniosZeu5, are both phpinfo returning the same result for imagemagick? what about aptitude search imagemagick?01:04
Zeu5lenios, i have never used aptitude search. how do i do that?01:05
Zeu5lenios, okie i see that imagemagick has a p in the  server but an i in devt machine01:07
Zeu5what does p and i stand for?01:07
Zeu5lenios?01:09
leniosp is package not installer, i is installed01:09
leniosnot installed*01:09
Zeu5oh i see01:10
Zeu5i tried sudo apt-get install php5-imagemagick but it keeps saying tat its the latest version what shd i do?01:10
Zeu5this is the php_info of my server if it helps http://thecopyninja.com/info.php01:11
Zeu5oops .. never mind i just realised i did something wrong... sorry01:12
Zeu5let me try something first...01:12
leniosapt-get install imagemagick01:12
Zeu5lenios, okie imagemagick is installed but i am still having errors with phpthumb01:24
Zeu5i get the i01:24
=== mconigliaro_ is now known as mconigliaro
=== Daviey_ is now known as Daviey
Zeu5hi lenios, i mistook php5-imagemagick for imagemagick, so now i have both in server, i still cannot get it work. please advise01:45
=== pgraner` is now known as pgraner
Smauglenios: i did what you said earlier and rkhunter still gives me errors on those ones.  does that mean I should not be worried?03:08
=== KB1JWQ_ is now known as KB1JWQ
Error404NotFoundanyone here used pandora fms?05:15
twb!anybody05:37
ubottuA 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:37
Error404NotFound:)05:47
Error404NotFoundtwb, 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.05:47
Doonzhey does anyone know howto stream something over ssh to vlc06:29
Smauglenios are you asleep?06:37
n_i_xrigved: im here :)07:11
rigvedn_i_x: ok. did you make any special hard disk setup during install?07:11
n_i_xrigved: no.. told it to use all space it was one of the standard choices07:12
n_i_xthe tasksel tasks I installed were Ubuntu Basic Server and LAMP that's all07:12
rigvedn_i_x: ok. when you boot, just after you see the motherboard's splash screen, press "Shift". that will bring up the grub menu07:13
n_i_xrigved: yea I tried that.. it never displays the grub menu07:14
n_i_xI'll try again.. do I need to hold shift or repeatedly press it?07:14
rigvedn_i_x: hold shift07:14
rigvedn_i_x: it has to be done immediately07:14
rigvedn_i_x: only like in a span of 2-3 seconds07:15
n_i_xnothing07:15
rigvedn_i_x: try again. this time repeatedly press  the "Shift" key. if this doesn't work, then there is some problem with grub07:16
n_i_xthis case has 4 hot-swap hard drive bays.. lemme try removing those disks and rebooting.. ya never know07:16
rigvedn_i_x: ok07:17
n_i_xi removed those disks from the bios boot selection07:17
n_i_xso it's not booting off them07:17
n_i_xthat didn't help.. it's doing the same thing07:18
n_i_xso the ubuntu server cd can't be used to repair grub can it?07:18
n_i_xor will I need an ubuntu desktop live cd or somethign07:19
rigvedn_i_x: one moment. researching07:20
rigvedn_i_x: when you get the blinking cursor, press Crtl+Alt+F207:21
n_i_xthat does nothing07:21
rigvedn_i_x: if that doesn't work, try F3, F4, F507:21
n_i_xtried them all :)07:21
rigvedn_i_x: ok. i think you need the LiveCd to fix grub07:22
rigvedn_i_x: but wait. let me check if something is possible07:22
n_i_xk07:23
rigvedn_i_x: http://www.linuxquestions.org/questions/linux-server-73/after-installation-of-ubuntu-10-4-server-edition-screen-shuts-off-809546/07:23
rigvedn_i_x: similar problem to yours07:23
n_i_xrigved: ahh.. so it doesn't support the built in video card?07:25
rigvedn_i_x: maybe07:25
rigvedn_i_x: re-install using the nomedeset option07:26
n_i_xrigved: thats what I was going to try now :)07:26
rigvedn_i_x: but wait. let me make sure that there is nothing that you can do07:26
n_i_xsure07:26
rigvedn_i_x: that is your last option07:26
rigvedn_i_x: there is a grub repair disk - http://beginlinux.com/server_training/server-managment-topics/1069-supergrub07:27
rigvedn_i_x: not sure if ti works, never tried it or heard of it07:27
rigvedn_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 option07:29
n_i_xok i'll try that07:29
rigvedn_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 Server07:31
rigvedn_i_x: ok. whatever works for you07:31
=== niekie_ is now known as niekie
n_i_xreinstall 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:34
rigvedn_i_x: ok. but make sure you do as i said about the nomodeset option. all the best!07:44
=== squishy is now known as SquishyNotHere
n_i_xrigved: 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/sdd08:06
gobbegrub should be installed to disk start you are using to boot up your computer08:11
gobbethat's why it's in most of the cases /dev/sda08:11
n_i_xsure.. 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/sdd08:13
gobbehow many disks you have?08:13
n_i_x5 + the usb disk I boot the installer from08:14
n_i_xI have to pull the disks before installing ubuntu so grub installs itself properly08:15
gobbeyea08:15
n_i_xafter pulling the disks the installer sees the disk as sda08:15
n_i_xso I'm pretty sure the install will work properly now08:16
n_i_xas grub will get installed where it should08:16
=== SquishyNotHere is now known as squishy
=== squishy is now known as SquishyNotHere
=== SquishyNotHere is now known as squishy
=== squishy is now known as SquishyNotHere
n_i_xrigved: pulling the drives and reinstalling worked.. it was a grub issue!08:44
rigvedn_i_x: good to hear. did you also try the nomodeset option? or did it work without that?09:06
n_i_xrigved: 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 nothing09:07
rigvedn_i_x: ok. but the good thing is that it's working now!09:08
rigvedn_i_x: now you cannot the other disks and it will work fine09:08
n_i_xrigved: 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 related09:09
n_i_xrigved: one step ahead of you.. already on to mdadm config :009:09
rigvedn_i_x: :)09:09
n_i_xI 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 anywhere09:10
rigvedn_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:19
rigvedn_i_x: and you can always lock the usb ports so that they cannot be used without the admin password09:20
n_i_xrigved: it's a home NAS :)09:23
n_i_xrigved: it's replacing my huge dell server09:24
n_i_xwith 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 time09:24
rigvedn_i_x: cool :)09:25
n_i_xrigved: 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 mistake09:26
rigvedn_i_x: didn't you get it verified from someone?09:28
rigvedn_i_x: like your PC guy?09:28
n_i_xpc 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 nice09:29
n_i_xI did next to no research tho.. the price was so cheap09:30
n_i_xamazon prime didn't help either09:30
n_i_xbut WHS doesn't do raid09:31
n_i_xit has this weird data duplication service that duplicates data on another physical disk09:31
n_i_xbut 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 media09:32
n_i_xat that point, the server stops performing it's streaming task and focuses on data duplocation09:32
n_i_xI was getting really crappy IO performance out of it09:32
n_i_xit wasn't able to saturate the gig ethernet09:33
PeterNLHi, 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.png09:47
rigvedn_i_x: wow. that's really something09:48
RoyKPeterNL: if it's a custom image, well.....09:49
PeterNLIs this a know problem in any other ubuntu server installer?09:49
n_i_xrigved: yea.. it also uses an atom processor which isn't known for it's blazingly fast performance :)09:49
rigvedPeterNL: it's unable to download the required packages.09:49
PeterNLis nl.archive.ubuntu.com down or something?09:50
rigvedPeterNL: which version is this?09:50
PeterNL10.04.109:50
RoyKjust use a normal install image09:50
PeterNLRoyK: not gonna happen. This is for http://peter-server.homelinux.net/osmbuntu/09:51
PeterNLbrb...09:51
n_i_xnight everyone.. thanks for the help!09:53
PeterNLback. Should I try with another mirror?09:56
rigvedPeterNL: yes. try that09:57
PeterNLok09:57
RoyKPeterNL: what exactly is that?09:58
PeterNLOSMbuntu? 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...09:59
RoyKwhy not just write a metapackage?10:00
PeterNLBecause this is way cooler :) Users can setup their username, password and bbox before they run the installer10:02
PeterNLAnd the image is only 12mb10:02
RoyKI didn't find an image on that page, though10:02
PeterNLhttp://peter-server.homelinux.net/osmbuntu/?create10:02
RoyKwhat'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
PeterNLbbox is bounding box. In degrees.10:04
PeterNLAnd the user/pass is whatever you like it to be10:04
PeterNLBut be warned, booting this this will kill all datra on your first harddrive :) Please run this on a VM (to make screenshots)10:05
PeterNLBut I g2g, i'll see what happens to your vm later10:06
RoyKPeterNL: lemme try...10:08
=== SquishyNotHere is now known as squishy
RoyKPeterNL: installed without problems here10:53
PeterNLsure? What mirror did you choose?10:58
PeterNLI'm trying with de now. nl is the one that failed.10:59
rigvedPeterNL: try pinging the nl server separately11:00
rigvedPeterNL: it may be down11:01
* PeterNL tries11:01
PeterNLNot down. But maybe it *was* down...11:01
PeterNLAny logs of that?11:01
rigvedPeterNL: ok. not sure. google it if you find any. mostly only admins can check logs.11:02
PeterNLWell, there are :) http://ubuntuarchive.bit.nl/ The graph doesn't show any downtime...11:02
rigvedPeterNL: official ubuntu server stats are available online (whether they are down or not)11:02
Jeeves_PeterNL: I don't think the server was down11:03
Jeeves_But I can ask it for you11:03
Jeeves_The server does support IPv6, maybe that's broken in your network?11:03
PeterNLJeeves_: afaics it was up for the last 24h.11:04
PeterNLAnd I'm still using IPv411:04
Jeeves_PeterNL: Yes, but maybe your network thinks it has IPv6 somewhere11:05
Jeeves_Apple Airports are know to break stuff11:05
PeterNLThe image gets an IP addres from dhcp, and I only have an DHCPv4 server here. Everything here gets an IP from the same DHCP server11:05
PeterNLAnd there is no Apple hardware around here :)11:05
Jeeves_PeterNL: Just letting you know :)11:05
PeterNLLinksys router with DD-WRT ftw :)11:05
Jeeves_There haven't been any issues with nl.archive11:06
PeterNLde fails for mee too. http://peter-server.homelinux.net/di3.png11:18
RoyKwell, works for me (tm)11:23
PeterNLWell, not for me (tm)...11:24
* RoyK blames the designer11:25
PeterNLWho is that?11:25
* PeterNL looks in a mirror11:25
PeterNLAh, that's him!11:25
PeterNLRoyK: what VM software do you use?11:28
RoyKPeterNL: vbox412:05
PeterNLsame as I have. Makes it extra weird :)12:06
RoyKPeterNL: can try with kvm as well if you want to12:06
PeterNLNah, it works for you in vbox4, and it doesn't for me.12:06
PeterNLWhat NIC have you set in your VM?12:07
RoyKintel pro/1000 MT (nat(12:07
RoyKs/.$/)/12:07
PeterNLI have it set as bridge. Will try nat.12:08
RoyK"desktop" adapter12:08
MACscri 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/202808112:21
MACscrany tips would be sincerely appreciated12:21
RoyKhow do I specifically turn _on_ the old-fashioned grub menu?12:51
RoyKI don't get it why everything needs to be so bloody obscured these days12:52
=== RoyK^ is now known as RoyK
bogeyd_Can anyone help with http://paste.ubuntu.com/547210/ ?13:20
pmatulisbogeyd_: how did these files end ↑ on your machine?13:21
bogeyd_pmatulis probably broken files from an iscsi server that crashed13: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:22
pmatulisbogeyd_: so what is your goal at this point?13:24
bogeyd_to just remove that directory 18685 and move about my life13:24
bogeyd_no interest in recovering it13:25
MACscrok, 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
MACscri 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.0413:26
bogeyd_pmatulis i was thinking of booting to single user mode and running fsck13:27
pmatulisbogeyd_: yes, good idea.  but can you not move some files off of it(if the volume is full?13:27
bogeyd_pmatulis volume is no longer full, i just hand  deleted everything else and was left with this directory.13:28
pmatulisbogeyd_: ok13:28
pmatulisbogeyd_: so fsck is a good choice13:28
bogeyd_pmatulis ty13:29
bogeyd_pmatulis will single user mode mount the iscsi target?13:29
pmatulisbogeyd_: why single user mode?  just log in to the volume.  this provides you with an unmounted block device13:31
bogeyd_pmatulis unfortunately i dont understand how to log into the volume13:31
pmatulisbogeyd_: ok then do whatever you normally do and then unmount it13:32
bogeyd_pmatulis umount -f   gives me /var/cameras is device busy13:33
pmatulisbogeyd_: pastebin output to 'mount' command?13:34
bogeyd_pmatulis http://paste.ubuntu.com/547216/13:39
pmatulisbogeyd_: i said the 'mount' command13:39
bogeyd_oh13:40
bogeyd_pmatulis http://paste.ubuntu.com/547217/13:40
bogeyd_pmatulis it was the zoneminder janitor, i have the volume unmountednow13:42
bogeyd_pmatulis and the fsck command gives me /dev/sdb1: clean, 48/39321600 files, 1290131/157286382 blocks13:43
bogeyd_pmatulis after remounting the volume and trying to the files I am confronted with the original problem13:45
pmatulisbogeyd_: strange.  i wonder if it's iscsi related then13:46
pmatulisbogeyd_: if the volume is emptied besides these files why not just format it?13:47
bogeyd_pmatulis provide the command and I shall reformat13:47
bogeyd_I need ext3 file system13:47
bogeyd_pmatulis i assume "mkfs.ext3 /dev/sdb1"13:48
pmatulisbogeyd_: unmount first13:48
bogeyd_k13:48
RoyKbogeyd_: either umount or remount -o ro13:48
bogeyd_k, looks like reformat is working nicely13: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 now13:49
bogeyd_RoyK ty for your input13:50
bogeyd_i never seen the rm command just stop working with no errors and sit at 99% cpu13:51
bogeyd_royk and pmatulis reformatting the file system worked13:52
uvirtbotNew bug: #694114 in autofs5 (main) "umountfs init job crashes with SIGSEGV when autofs is in use" [Undecided,New] https://launchpad.net/bugs/69411414:15
yann2hello! 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:37
yann2google is failing me14:38
cloakableyann2: what shell?14:39
yann2any shell, it's the method that I want, not the end result :)14:39
yann2hoping it is not massively complicated :(14:41
cloakablehttp://www.google.com/search?client=ubuntu&channel=ks&q=compile%20bash%20statically14:41
yann2finally found, for people with interest, just add  --with-ldflags=-static to the ./configure line :)15:00
ne7workhello all, someone who host hlds under ubuntu server 10.10 32-bit here?15:00
=== squishy is now known as SquishyNotHere
opengeardis anyone familiar with multistrap?  I need to build bootable system (dd) images without actually deploying.16:36
uvirtbotNew 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/69416018:42
n_i_x|ZzZzZzwhy 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 alerts18:45
cn1209What 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:19
tsrkcn1209: I'd suggest installing libapache2-mod-perl222:22
cn1209tsrk: 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 pl22:23
cn1209tsrk: I'm getting this: You don't have permission to access /index.cgi on this server.22:23
tsrkcn1209: does the script have world-executable permissions?22:24
cn1209tsrk: I have the user www-data full access22:24
tsrkcn1209: ok, check your apache error log (/var/log/apache2/error.log) and see what it says22:25
cn1209tsrk:22:25
cn1209tsrk: Weird. Running tail and I see no such file or directory. Before that I see cannot open 'tec/httpd/logs/error_log22:26
tsrkcn1209: do you have it configured to use a different error log?22:27
cn1209tsrk: No. I have it set to ErrorLog /var/log/apache2/error.log22:28
tsrkcn1209: ok, is the "no such file or directory" referring to index.cgi or that other error log?22:28
cn1209tsrk: I think it's looking for a file error_log. I'll check. Sec22:30
cn1209tsrk: okay. Looks like the direct /httpd/logs and the file error_log is none existent. Just made it.22:40
cn1209tsrk: okay. Now I get Premature end of script headers22:40
tsrkcn1209: http://htmlfixit.com/cgi-tutes/tutorial_Common_Web_dev_error_messages_and_what_they_mean.php#premature22:41
cn1209tsrk: okay. I'm using #!/usr/local/bin/perl I'll check if that's correct for my config22:41
cn1209tsrk: Thanks22:41
cn1209tsrk: It was the shebang23:22
cn1209tsrk: How can I can the install or copy it to /usr/bin/perl to /usr/bin/lib/perl23:35
cn1209tsrk: The previous developer has hundreds of scripts using usr/bin/lib23:35
tsrkcn1209: create a symlink with "ln -s /usr/bin/perl /usr/bin/lib/perl"23:36
cn1209tsrk: Awesome. You are awesome!23:37
cn1209Thanks!23:37
tsrkcn1209: nah, i've just been using linux too long =P23:37
cn1209tsrk: LOL. That's good. I work with Windows Server mostly. Programming. Yeah... I Know.23:38
tsrkcn1209: ah I see. I know nothing about windows server (not that I hate windows but I can't justify the cost)23:40
cn1209tsrk: That's true. That's why I personally use Ubuntu for personal use. Cost. Running under VMWARE Esxi. AGAIN Cost. :)23:40
tsrkcn1209: i like esxi except for the lack of software raid, which is why i use kvm on ubuntu instead23:42
cn1209tsrk: Yup. That is true23:44

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