/srv/irclogs.ubuntu.com/2008/01/22/#ubuntu-server.txt

sommerScottK: sylpheed-claws-gtk2 still good to go :-)00:35
ScottKsomerville32: Great.01:12
=== jjesse_ is now known as jjesse
thomas_newbie__can someone help me I can't get My apache2 server to work on localhost02:06
=== jjesse_ is now known as jjesse
thomas_newbie__whenever i do mysite.com/~username It takes me to a page but localhost doesn't work02:21
kgoetzanyone here buy sun gear? should i go for a Sun Fire or Sun SPARC Enterprise? both are T1000 units, both seem to be the same exept for the cpu, and i'm not srue of the difference :/03:02
thomas_newbie__I removed and purged apache2 and yet I can still use sudo apache2ctl restart to start the server. The normal init script doesnt work03:18
ScottKsommer and leonel: clamav backport for dapper is uploaded.  Now I need to get an archive admin to accept it.03:23
sommerScottK: sweet... working on installing Edgy03:24
ScottKGreat.  I'll make a bug for that then.03:24
ScottKsommer: Bug #18499403:33
ubotuLaunchpad bug 184994 in edgy-backports "Please backport clamav-0.92.dfsg-2 from Hardy to Edgy" [Undecided,New] https://launchpad.net/bugs/18499403:33
leonelScottK:  sweet !03:35
leonelScottK: do you need more testing ?03:36
ScottKleonel: With Dapper we are done.  We need testing with Edgy/Feisty/Gutsy03:36
leonelScottK: ok I go with gutsy feisty tomorrow morning03:37
ScottKleonel: Great03:37
leoneland edgy if time allow me to03:37
ScottKsommer is going to start on Edgy, so having you work on the later ones will be good.03:37
leonel perfect03:38
sommersounds like a plan to me03:39
leonelScottK: the packages to be tested are the PPA ?03:51
ScottKleonel: Yes03:52
leonelok03:52
leonelScottK:  see you tomorrow04:08
leonelapt-get remove leonel04:08
thomas_newbie__when I do : 'sudo apache2ctl restart' I get the following ERROR: [warn] NameVirtualHost *:0 has no VirtualHosts httpd not running, trying to start04:51
thomas_newbie__how do YOu indicate to apache what is the default config file?05:26
thomas_newbie__ i installed php5 but I can't get PHP files to execute in browser with my APACHe server06:09
krautmoin08:23
=== nijaba_ is now known as nijaba
pschulz01Anyone here going to Linux.Conf.Au?10:58
sorenmok0: You're running your kvm's on hardy, right?11:10
mok0no, gutsy11:10
sorenOh!11:10
sorenThat explains :)11:10
mok0soren: aha11:10
mok0You are referring to my bug report?11:11
sorenI was just wondering about a few of the things you put in the wiki page that don't apply anymore in hardy.11:11
sorenmok0: which bug report?11:11
mok0bug 18451411:12
ubotuLaunchpad bug 184514 in kvm "kvm hangs when installing dapper guest" [Undecided,New] https://launchpad.net/bugs/18451411:12
mok0soren, please send me fixes to the howto, or edit it yourself. Perhaps it would be good to have a section on Hardy?11:14
mok0soren, I wanted the howto to be very plain and simple with instructions for just the current distribution, but soon people will need to do the same under hardy.11:19
sorenmok0: Well, some of it, yes :)11:21
sorenSorry, had a coke all over the floor sort of incident I needed to take care of :)11:21
mok0soren: Is it very different?11:22
mok0(under hardy)11:22
sorenmok0: Well, for one thing, the modules get loaded automatically.11:22
sorenmok0: The other stuff is pretty much the same.11:23
mok0soren: Ah, so I can just put in a comment to that effect11:23
sorenRight.11:24
mok0soren, we have not been able to create a virtual machine that uses SMP11:24
sorenAbout the bug report, it's cool that it's reported, but don't expect a lot to be done about it :(11:24
sorenmok0: kvm in gutsy is soooo old.11:24
mok0soren: I know. It develops really fast11:25
mok0soren: we tried backporting from hardy11:25
mok0soren: it doesn't solve the -smp problem11:25
sorenmok0: Even with the matching kernel modules?11:26
mok0soren: It is my collaborator Jesper who has been playing with it. I will try it myself later this week and report it. I don't have a lot of detail11:26
sorenmok0: Ok, cool.11:27
mok0soren: I only know that the virtual machine does not use more than 1 cpu no matter what you tell it11:27
mok0soren: ... and as far as I know it crashes unless you use -no-kvm11:28
soren"it"?11:28
mok0soren: the virtual machine :-)11:28
sorenkvm altogether or just when you try to use more than one cpu?11:28
mok0soren: If you attempt to start kvm with the smp switch, the virtual machine crashes11:29
mok0soren: you can start it with both smp switch and no-kvm, then it starts, but only uses 1 cpu11:30
mok0soren: ... but as I said, I will triage this myself in a couple of days time, when I am getting a new quadcore desktop :->11:32
mok0atm I am working from my Powerbook with ssh connections to the server and it makes life a bit more difficult...11:33
mok0soren: I should repeat my dapper experiment with 6.06.2 :-)11:38
sorenYou could, but I doubt it would help very much.11:40
mok0soren: can you make a SRU of kvm 59 for gutsy, or put it in backports? If there are lots of bugs in version 29, it does make sense11:43
zulmorning11:53
mok0morning, zul11:57
mok0soren, last bit of news is that we got the -smp option to work under gutsy, with version 59 from hardy.12:02
mok0soren: I think this is a good enough reason to make a SRU12:02
sorenmok0: That's not quite how SRU's work. At best, a backport could be done.12:08
mok0soren: OK, I've misunderstood something.12:08
mok0soren: I thought you could update a package if it has serious regressions12:09
sorenmok0: I can fix serious regressions and bugs and such.12:09
sorenmok0: I cannot, however, just upload a new version.12:09
mok0soren: even if that is the fix?12:09
sorenmok0: So I need to find the smallest patch that fixes the particular issue and apply that.12:10
sorenmok0: Even if it that fixes it, yes.12:10
sorenmok0: It's not impossible that there are regressions from the gutsy version to the hardy one.12:10
mok0soren: so I guess backport is the only option. It compiles out of the box12:10
sorenmok0: And we consider people's working setups more precious than pretty much anything else.12:11
mok0soren: true12:11
mok0I always forget that :-)12:11
sorenmok0: Personally, I doubt it's actually a problem in this particular case, but I think the policy is sound.12:11
mok0soren: yes, it is. Otherwise, you may as well use Fedora12:12
soren*G*12:13
mok0hehe12:13
mok0soren, do you have info on whether qcow2 or raw are the most efficient virtual media ?12:15
sorenI don't have any benchmarks, I'm afraid.12:17
sorenI think it depends on the host's filesystem, too.12:18
mok0soren: sure12:18
mok0soren: but we use ext3 only12:19
sorenmok0: Ok.12:21
sorenmok0: Well, there are a number of different things that affect it: Whether you're using sparse files or not, how the host's filesystem fills in sparse files if you're using that, how the I/O scheduler inside the guest deals with various things..12:22
mok0soren: ok, of course it's complicated.12:23
sorenoff the top of my head, I'd guess raw images to be more efficient.12:23
mok0soren: I've read that somewhere. I just don't know if it's still true12:24
mok0qcow2 files are much smaller12:24
mok0... and you can store them easily on a DVD :-P12:25
sorenmok0: They are indeed.12:25
sorenmok0: raw images compress really well, though :)12:25
mok0soren: I guess they are mostly filled with zero bytes12:26
sorenWell, if you're using qcow images, it's kvm's job to know where the block that the client thinks is at sector foo is stored in the image and send that to the client. In case of raw images, this is a no brainer, and it's up the the host's kernel to find the right place on the disk to find the block.12:27
mok0soren: I see. So there's some overhead associated with the qcow2 format12:27
sorenif you're not using sparse files, it's likely that your raw image will not be fragmented, which helps the client's I/O scheduler make the right guesses.12:28
mok0soren: Good point12:28
sorenThe I/O scheduler in the client might very well try to batch up read requests so that it will read them in the order it thinks they're stored on the disk, but it might be the completely backwards on the actual physical disk, so you get the worst performance imaginable.12:29
sorenYeah, thinking about this some more, I'd say that until we get virtio block devices (should happen real soon), non-sparse raw images should be the best way to go if you're worried about disk I/O.12:30
mok0soren: It sound very reasonable12:31
mok0s/sound/sounds12:31
juliuxhi TeTeT12:44
=== \sh_away is now known as \sh
TeTeTjuliux: Hi Julius,wie geht's?12:47
mok0soren, writing in qcow2 is 60% of the writing speed in raw. Reading is app. the same14:09
thomas_newbie__I installed PHP and enabled it to work with Apache but whenever I go to open an php page it asks me to download it. I resarted Apache and reloaded browser cache by exiting, still no luck.16:14
mok0thomas_newbie__: you must restart apache16:27
thomas_newbie__mok0: i mentioned i did restart it16:28
mok0thomas_newbie__: and you enabled it in /etc/apache2/...16:28
thomas_newbie__mok0: uea a2enmod php516:30
thomas_newbie__*yea16:30
mok0thomas_newbie__: is the link there in /etc/apache2/mods-enabled?16:30
thomas_newbie__mok0: yes, php5.conf and php5.load16:31
mok0thomas_newbie__: hmmm weird16:31
mok0thomas_newbie__: paste this into a file in public_html:16:32
mok0<?php phpinfo(); ?>16:32
mok0thomas_newbie__: file must have .php extention16:32
mok0thomas_newbie__: yikes I have to run, hope it was _some_ help...16:33
thomas_newbie__mok0: yea so16:34
thomas_newbie__mok0: it worked16:34
mok0thomas_newbie__: cool16:35
thomas_newbie__but that doesn't fix it right16:35
thomas_newbie__mok0: so if I put a php file int hat folder it will work? i need to put files into /var/www16:35
mok0thomas_newbie__16:35
mok0thomas_newbie__: you have to put it somewhere that apache is allowed to read. Normally it can be in ~/public_html but perhaps also in /var/www16:36
thomas_newbie__i have a php file in /var/www16:37
mok0It MUST have extension .php16:38
mok0copy phpinfo.php to /var/www16:38
mok0it will not work if you open the file through the browser16:39
mok0you have to open the proper http://blah url16:39
mok0Gotta go, I have someone waiting for me...16:41
thomas_newbie__mok0: ty16:42
leonelScottK:   tested on GUTSY   clamtk clamav-getfiles python-clamav  php5-clamavlib   all worked16:55
coffeedudedendrobates: ping16:58
rotinihello all.  A dot file (like .dotfile) in cron.hourly or whatever won't be run, correct?16:58
* coffeedude heads for more coffee....16:58
qhartmanrotini: I don't believe it will be, not sure though. I've never had any reason to put a dotfile in there16:59
qhartmanthe samba package in Gutsy does not seem to contain mount.cifs . Which package provides it? I haven't been able to find it17:00
rotiniqhartman: yeah, me either.  I'm preparing a machine to take over if (when) a server fails, so...17:00
rotiniI commented out the file's contents anyway, should be ok17:01
qhartmanI'd just create a one-liner script in a dotfile that does something dumb, like toucha file somewhere, and see if it gets fired.17:01
rotinigood idea17:05
thomas_newbie__Should I delete the Apache2-default directory from /var/www ?17:06
ScottKleonel: Great.  Dapper backport is in progress.17:14
jetolehey guys, can someone suggest a addon card that is linux compatible that will not only allow kvm but will also allow virtual media and bios access etc17:32
jetole?17:32
jetoleI have one that just came with Dell servers and it is frankly broken, won't work with Linux or Windows appearently17:32
jetoleI forgot to mention, ip based for remote admin17:33
nxvl_workzul: ping18:03
zulnxvl_work: yep?18:03
nxvl_workzul: is there any reason why you change the name of the changelog entry on Bug #18256718:04
nxvl_work?18:04
ubotuLaunchpad bug 182567 in samba "smb.conf example: Configuration Directive Inconsistencies" [Wishlist,Fix released] https://launchpad.net/bugs/18256718:04
zulnxvl_work: because Ive added more things to it.18:04
nxvl_workzul: in that case you should make something like Bug #13083618:05
ubotuLaunchpad bug 130836 in apache2 "Specify OpenDocument icon(s) in Apache2 configuration" [Wishlist,Fix released] https://launchpad.net/bugs/13083618:05
nxvl_workso it's clearer18:05
nxvl_workit's the best way to do that kind of thing18:05
nxvl_workthings18:05
nxvl_workso it's clear who to point when we need to ask for some changes18:06
leonelScottK:  tested  php5-clamavlib python-clamav clamtk clamav-getfiles  on FEISTY18:29
leonelScottK:  gurlchecker   pulls   libclamav2   in gutsy and feisty18:29
ScottKleonel: Great.18:29
ScottKleonel: On dapper, clamav is published and we're doing all the depends now.18:29
leonelGood !18:29
=== nijaba_ is now known as nijaba
leonelScottK:  klamav on  feisty is  ok  too18:42
ScottKGreat.18:42
leonelScottK:  avscan on  feisty   OK18:49
ScottKSo far everything that's compiled has worked.18:52
leonelthe remaining packages  requires  more  time to setup and test ..18:55
leoneland  I need to do other   things today  as soon I clear my  todo list  I'll resume testing18:55
ScottKleonel: Great work.  I appreciate all your testing18:56
leonelno .. thank you for  those packages ..18:56
=== Kasheye is now known as AlexJTanner
thomas_newbie__I'm just starting off learning how to run my Apache server. I want to do something with it and I was thinking of using phpBB as a forum where people can make accounts and stuff. Do I have a big chance of screwing up and having a lot of security problems?19:57
pteaguei'd suggest using apache2 & something other than phpbb ... phpbb seems to have a bunch of security issues that keep cropping up19:58
thomas_newbie__pteague: anything else in mind other than phpbb? I just installed phpBB2. Should I store my php files in /var/www where i store my html forms and such20:04
pteaguei've not needed to set up forum software in a while so not sure... maybe google for it...  i just know that phpbb, being 1 of the most popular is unfortunately not coded very well...  i think phpnuke has some issues as well20:05
pteagueas to where to store it, i tend to store stuff in /home/username/workspace/sites/com.example.www & use apache vhosts to point to where it's at20:06
WaVeRSorry for the ping20:13
=== \sh is now known as \sh_away
thomas_newbie__For my phpBB2 Server do I want to link /var/www/phpb to /usr/share/phpbb2/site ??22:00
ScottKlamont: Would you be up for uploading some source backports for me (just need to re-sign and upload)?22:21
ScottKOn the off chance you show up while I'm afk...22:24
ScottKhttp://www.kitterman.com/clamav/sylpheed-claws-gtk2_2.6.0-1.1ubuntu1.1~dapper1.dsc22:24
ScottKhttp://www.kitterman.com/clamav/sylpheed-claws_1.0.5-5.1ubuntu0.1~dapper1.dsc22:25
ScottKhttp://www.kitterman.com/clamav/php-clamavlib_0.12a-4~dapper1.dsc22:25
CygnusX1Hello.  I have compiled snort with inline on US7.10; I am trying to modify the /etc/init.d/snort startup script from the offical deb to start this service, without luck.22:39
lamontScottK: later tonight, sure.22:40
lamontthey work, yes?22:41
ScottKlamont: Yes22:51
ScottKlamont: All test run here first: https://launchpad.net/~ubuntu-clamav/+archive with test results here: https://wiki.ubuntu.com/MOTU/Clamav?action=show22:51
ScottKThe clamav piece has already been started, so I want to get all the rdepends uploads ASAP.22:52
ScottKlamont: Thanks.22:52
=== talaren is now known as pteague
pierrethhello23:40
pierrethI am unable to make my php work23:40
fooWhat do the logs say?23:40
pierrethmy php files are like txt files for apache223:40
pierrethI don't think I have errors23:40
pierrethlook at my config: http://pastebin.com/d245a5cb123:41
pierrethdo I need something more?23:41
pierrethno recent errors in the log23:42
foopierreth: recent apache + no errors. So your PHP isn't being parced?23:43
pierrethfoo: I think so23:44
pierreththe php module is loaded23:44
pierrethbut it does not parce23:45
pierrethfoo: it seems to be a config problem23:45
pierrethfoo: http://pastebin.com/d245a5cb123:45
foohmmm23:46
pierrethfoo: do I need something more?23:46
foopierreth: hm, grep /etc/apache2/ for PHP and see if something is commented23:47
pierrethfoo: no lines countains PHP23:48
pierrethin apache2.conf23:48
foogrep -iR php /etc/apache2/23:49
pierrethhttp://pastebin.com/d42cdf1c823:50
leonela2enmod php523:53
leonelpierreth: you need to enable php523:54
pierrethleonel: how can I do that?23:54
leonela2enmod php523:54
leonelas I see on the las  pastebin  there's no enabled php5   is just  available23:55
sorenNot true.23:55
soren#23:55
soren/etc/apache2/conf.d/php5.conf:LoadModule php5_module /usr/lib/apache2/modules/libphp5.so23:55
sorenDid you restart apache2 since installing libapache2-mod-php5 ?23:55
sorenfoo: ^23:56
leonelsoren:  you are right  I was looking for the  mods-enabled/php5.load  and .conf23:56
pierrethwhere I should add a2enmod php523:57
foosoren: err, sorry, kind of tied up right now23:57
sorenNo worries. It's not my webserver that's not working :)23:57
leonelpierreth:   sudo a2enmod php523:57
sorenfoo: Ah, sorry, I thought you were the one with the problem :)23:58
pierrethleonel: OK23:58
sorenpierreth: Did you restart apache2 since installing libapache2-mod-php5 ?23:58
pierrethsoren: yes I did, it does nothing23:58
sorenpierreth: What are you using for testing?23:59
pierrethit says that the php5 module was already loaded23:59
sorenpierreth: And what exactly is happening?23:59
foosoren: oh, no problem, /me points to pierreth23:59
pierrethsoren: firefox23:59
soren"my php files are like txt files for apache2" isn't a very exact error description.23:59
pierrethsoren: firefox asks if I want to download the file23:59
sorenpierreth: Stop using firefox and use something else.23:59

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