/srv/irclogs.ubuntu.com/2008/03/26/#ubuntu-server.txt

godfreyhkAnyone tried to install JeOS on a non-virtual server?01:59
sommernope... I haven't02:01
godfreyhkDo you think it'd work?02:02
sommeronly if you have the same hardware as the virtual machine, jeos only includes specific drivers... to keep the weight down02:04
godfreyhkI see, thanks.02:11
pleaseandthankyook installed xubuntu and and goubuntu  on top of edubuntu where are they now? and how do i load them?05:59
kgoetzpleaseandthankyo: please ask in #xubuntu.06:00
krautmoin08:14
juliuxho09:32
juliuxdoes somebody allready installed lotus notes on ubuntu? if yes is there a howto?09:32
andguentjuliux: I don't know anything more than google knows. I did a basic search and found a few hits that look great.... if it was 200409:36
juliuxhehe09:36
=== \sh_away is now known as \sh
Nafallomorning people.10:12
Nafalloif I need to deploy a vmware box. which Ubuntu should I choose? dapper has support for vmware as well until 2011?10:13
_rubenmy current plans for (among other types) vmware machines is gutsy, with 'planned' upgrades to hardy when it stabilizes and then try to go lts-only from there10:20
Kamping_KaiserNafallo, if you install the server yes10:24
Kamping_KaiserNafallo, if it can wait a month, go for hardy10:24
_rubenor get out ur wallet and go for vmware esx ;)10:30
\shNafallo: you don't really want to use vmware-server, right?10:34
\shesx instead is much better for commercial vmware environments...10:35
* _ruben cant wait to get his esx experiments started10:39
_rubentoo bad there's a few items on my todo list with higher prio :/10:39
Nafallo\sh: internal box for testing purposes. basically the intranet will be on their.11:27
Nafallothere11:27
\shNafallo: think about the flaws (wrong time syncs etc.) I have this problem here all the time...11:34
_rubenproblem with vmware server is that dapper is probably too old, and gutsy/hardy are too new to be present on the HCL .. doesnt mean it wont work though11:36
_rubenthen again, vmware's hcl updates rather slow, so dapper might even be supported ;)11:36
Nafallo\sh: I'll have a chat with you when I get back :-)11:38
=== \sh is now known as \sh_away
=== \sh_away is now known as \sh
=== \sh is now known as \sh_away
=== \sh_away is now known as \sh
sommermorning12:27
nijabahey sommer12:30
faulkes-morning nijaba12:57
nijabamorning faulkes-12:59
piedoggieI need to put together a few virtual servers and I was wondering how well 7.10 works versus the upcoming 8.04?13:01
dendrobatespiedoggie: as a guest?13:02
piedoggieguest and host13:03
dendrobatespiedoggie: using what virtualisation technology?13:03
piedoggievmware13:03
dendrobatespiedoggie: both work well13:04
piedoggiesorry, I would have explained better but I am running very short on sleep13:04
piedoggieokay.  I've been playing around with the 8.04 jeos and it's not doing well.  Something fails and it doesn't get a complete sources.list file.13:05
piedoggieI guess I'll just use 7.10 and upgrade in about 30 days (ugh)13:06
=== \sh is now known as \sh_away
nijabapiedoggie: what do you mean?  which version did you test?13:06
piedoggieI tested beta and two dailies13:07
nijabapiedoggie: I tested the jeos beta before release and I did not have a problem installing them on kvm or vmware server13:07
piedoggie the beta would just hang on the task selection portion of the install and at roughly the same point, I would get a red screen and then the list of possible tasks.  I could load grub but I couldn't select software.  When the system booted up, I looked at sources.list and it only reference the CD-ROM13:08
piedoggieshould say at roughly the same point with the dailies13:08
piedoggieif you want, I can run to a quick install now and give a more accurate report13:08
nijabaI am going to check again then...13:09
piedoggieokay, the daily image I downloaded was last night at 12:30 a.m..  Size is 101 MB13:09
piedoggiethis is window so I can't give you an MD5 Jack13:10
piedoggiesorry, using speech recognition.  I need to train a new model13:10
piedoggieMD5 check13:10
nijabapiedoggie: I'll start by rechecking the beta13:12
piedoggieokay.  I'm trying to duplicate the problem with the daily from last night.  It's installing the base system now13:13
piedoggieI'm also doing this on VM workstation 613:13
piedoggiethe daily I downloaded last night has gotten further than it has with any other version I've tried13:19
piedoggieit's sitting at 90%, asking me to please wait and the virtual ethernet activity light is on solid13:20
piedoggiewhat is the install doing at this point?13:22
nijabapiedoggie: it could be checking the repository for update13:24
piedoggiethis is probably something you can't fix now but, if a user didn't have some sort of activity indicator, they would think that the system had hung13:25
piedoggiethere's a good chance you will get people thinking it's failed when really it just hasn't completed the task13:25
piedoggieon the other hand, you could always just tell them that it's a bot playing second life13:25
piedoggiefinally finished doing whatever it was doing13:31
piedoggiethat's a long time with no feedback13:31
piedoggieone other thing I've noticed is that the login prompt happens before you get the messages about starting the law system log daemon kernel log daemon and then local boot scripts13:32
nijabapiedoggie: 15min for an install?  does not seem that long to me.13:32
nijabapiedoggie: this is a long time issue.  You can go add your comment to the bug.  I still hope it will be fixed before final release13:33
nijaba^ about the login prompt13:34
piedoggieI'm sorry.  I didn't pay close enough attention.  There's one phase where it's installing software I think and it sits there for something like five or more minutes without any user feedback13:34
piedoggieI'll run to the test today after I take a nap.  I really do give better error reports what I have a full nights sleep.  :-)13:34
nijabapiedoggie: np. and take care13:35
piedoggieone last question, what's the difference between vmware and kvm?  I'm becoming unhappy with vmware server and would like an alternative13:36
nijabapiedoggie: kvm is open source software, vmware is not.  kvm is a bit younger, so it does not have all the features vmware has13:39
nijabapiedoggie: but if you are running on windows, kvm will not help, it really is bound to linux, as it is part of the kernel13:40
piedoggiethe only reason I'm bound to Windows is because I'm disabled and must use speech recognition13:40
piedoggieI do all of my server works with Linux although I am tempted by Solaris just because of ZFS13:41
piedoggieI have so drunk the ZFS Kool-Aid.  :-)13:41
sorenI seem to missing something. What is it that is so marvelously fantastic about zfs?13:41
piedoggieZFS is a really remarkable filesystem.  It's the first filesystem I've been excited about in almost 15 years13:42
nijabapiedoggie: hey, you do not have to excuse yourself for having window, and in your case I would be very happy if I could tell you we had some speach recog on linux, but that it not the case, AFAIK13:42
piedoggie by erasing the boundaries between LVM, and raid, they have managed to create something that's actually better.13:43
sorenpiedoggie: What does it do that xfs+lvm doesn't do?13:43
piedoggieYou can dynamically add or remove disks on a running system.  It is able to detect more errors to the point where they have actually detected bad power supplies through the file system13:43
_rubenxfs+lvm+raid that'd be right?13:43
soren_ruben: Possibly. lvm does some form of raid, too.13:44
soren_ruben: I've never used it, though.13:44
piedoggieit automatically migrates to other storage areas if it detects errors13:44
piedoggiethe Sun zfs website has a pretty nice set of white papers on it13:44
_rubensoren: lvm only does striping afaik13:45
=== \sh_away is now known as \sh
_rubensoren: which is a feature lacking in the debian-installer, shamefully ;)13:45
soren_ruben: You mean using more than one pv for a vg?13:45
_rubensoren: yes, and actually striping the blocks over the pv's like raid013:46
piedoggienijaba: with regards to speech recognition, there is some hope in that the wine people have managed to make NaturallySpeaking (the only reasonable desktop speech recognition system) work.  It runs faster and more reliably than it does on Windows (surprise surprise)13:46
nijabapiedoggie: hey cool!13:46
soren_ruben: I don't really care much about that.13:47
piedoggiebut unfortunately, it doesn't speak to any Linux applications.  That is going to take some time and money and the nonprofit I belong to is working on a grant to get funding13:47
soren_ruben: a) on a reasonably busy server, the disk heads are all over the place anyway, so the disk layout of files doesn't matter much.13:48
_rubensoren: when having lots of small files it doesnt matter really .. but when storing large files, i'd say it'd be a performance improvement13:48
_rubensoren: hmm .. never looked at it that way13:48
soren_ruben: b) I like the fact that if a disk dies (and there's no redundancy), it's contained to a certain part of the filesystem rather than smashing the *Entire* thing because every other fs block is on the dead disk.13:49
fromporthmm just got bitten (again) by the hardy installer. i have > 2TB disks . setup the partions with debian-lenny boot image but during something really mingles with the partirion table and all partitions past the first 4 are wiped :-(13:49
piedoggiehttp://en.wikipedia.org/wiki/ZFS  is a reasonable description13:49
soren_ruben: I've never really cared about fs fragmentation on my servers. They're usually busy enough for it to not matter at all. Any place on the disk has as good a chance of being close to the disk heads at any given time as any other.13:50
_rubensoren: true, concerning b, but i'd use raid1 as pv's if its important data in any way ..13:50
soren_ruben: Sure.13:50
_rubensoren: i dont care that much about fragments either, tho increasing the number of spindles used i do prefer13:50
piedoggiethanks for the help.  I think it's time to crash and get some sleep.13:51
soren_ruben: Point a) describes why it's pointless, while point b) describes, why it's actually a bad idea.13:51
soren_ruben: Sure, but unless it's a server that's not doing anything but serving *huge* files one at a time, it won't do you much good.13:52
_rubensoren: true enough13:54
* _ruben always tries to get the most out of his hardware, but that doesnt always lead to the best results/setup/whatever :p13:54
_rubeni really do need to do some research on how to get the best performance for given diskload + hardware setup13:57
CrummyGummyHi all, is any one here using mysql clustering?15:03
faulkes-you mean ndbd and what not?15:10
CrummyGummyyup15:10
faulkes-I don't currently use it under ubuntu but I do use it15:10
CrummyGummyI'm having problems similar to this bug.15:11
CrummyGummyhttp://bugs.debian.org/cgi-bin/bugreport.cgi?bug=45954315:11
ubotuDebian bug 459543 in mysql-server-5.0 "mysql-server-5.0: ndb-cluster is broken" [Normal,Open]15:11
CrummyGummyAnd I was wondering if its valid for ubuntu.15:11
juliuxdoes somebody get´s  domino on an ubuntu server running?15:11
* CrummyGummy heads off to launchpad.15:17
=== lamont` is now known as lamont
faulkes-that debian bug sounds more like his cluster is borked and not actually a bug15:24
CrummyGummyThats good and bad. I then need to find out why I have a similar problem.15:30
CrummyGummyhttp://pastebin.org/2547815:34
CrummyGummyfaulkes-: Please have a look at that for me.15:35
faulkes-how many nodes exist in the cluster?15:35
CrummyGummy615:35
CrummyGummy2 data15:35
CrummyGummy2 mgm15:36
CrummyGummy2 sql15:36
faulkes-have you or did you start by initializing ndbd already?15:36
CrummyGummyyes15:37
faulkes-and if this is a previously installation, do you have backups of your data as per mysql-cluster backup method?15:37
CrummyGummyNope, this is my first time.15:37
CrummyGummyI'm pulling all the data from a multi-master replication setup.15:39
faulkes-sec15:40
faulkes-http://pastebin.org/2548315:47
faulkes-is what your error translates to15:48
faulkes-start looking for information surrounding that15:48
CrummyGummyhmmm, I've seen that error when filling the db. It shouldn't happen whne setting up a file. Quick question wrt the ndbd --initial. Does it exit by itself or do I have to stop it?15:50
CrummyGummy /file/table/15:50
CrummyGummycheers, gotta go...15:56
faulkes-ndbd --initial is used when you first initialize the cluster node or if you are completely rebuilding it from a backup16:00
faulkes-it acts just like a typical ndbd process afterwards16:00
=== \sh is now known as \sh_away
mathiazzul: re bug 20461217:12
ubotuLaunchpad bug 204612 in nut "nut 2.2.1-2.1ubuntu1 fails to install on Hardy Heron" [Undecided,In progress] https://launchpad.net/bugs/20461217:12
mathiazzul: you don't need to ask for a FFe - the package doesn't install now17:13
zulmathiaz: yep17:13
mathiazzul: it's a bug and should be fixed17:13
zulmathiaz: ok Ill just merge it when it hits debian17:13
mathiazzul: the problem is the udev restart call which should not be done17:13
mathiazzul: the solution about udevtrigger is propable the RTDT17:13
zulRTDT?17:14
mathiazzul: you may wanna ask #u-devel about this though17:14
mathiazzul: right thing To Do17:14
zulok will do17:14
zulmathiaz: too many acronymns17:15
mathiazzul: yeah - especially if I start to use wrong ones...17:15
zulmathiaz: if it doesnt appear on merge-o-matic Ill just cherrypick it17:19
=== JaxxMaxx|Away is now known as JaxxMaxx_
piedoggiehow difficult is it to customize jeos with your own applications?18:04
piedoggieI should probably also say that they are all tarballs and have little or no chance of becoming .debs18:05
sommerpiedoggie: should be as easy as custimizing regular ubuntu... you may just have to install more software initially, seeing as how little jeos starts out with :-)18:06
piedoggie:-)18:07
piedoggieI assume there is documentation on how to do this but I just haven't been able to find yet?18:07
sommerpiedoggie: http://doc.ubuntu.com/ubuntu/serverguide/C/jeos.html is the development version of the serverguide that will be released with Hardy18:08
sommershould help get you started anyway18:08
piedoggieI may just fall back on releasing it as a virtual machine.18:08
sommerpiedoggie: interesting, do you think more software vendors will take that approach in the future?18:09
piedoggiethink so.  I have a customer that is a fruit and vegetable wholesaler and they are dependent on aid package called produce pro-18:10
sommercool18:10
piedoggiethe first version came on a Red Hat eight CD as a tar ball installed by the vendor18:10
piedoggiethe current version comes on a virtual machine18:10
piedoggiethe project I'm working on (reputation-based anti-spam) is such a bag of parts that I don't think anybody but myself can install it18:11
piedoggieso rather than inflicting a four or five page long installation process on someone, just delivered as a virtual machine and call it done18:12
sommerheh, would make sense to distribute a VM then :-)18:12
jetolehey guys18:13
piedoggiethe big challenge is figuring out how to partition user data from the baseline system18:13
piedoggieI think I'm going to go with two virtual disks, one for the basic application and the other for all of the user data files18:13
piedoggieobviously I'm going to want to have as small a virtual machine as possible for distribution purposes18:14
jetolehopefully a quick question? is there a way to create a new NIC other then ifconfig eth0:1? I am not a real big fan of ifconfig but ip addr add seems to only apply an address to an existing NIC as far as I know and hping3 which I am using for testing at this point wants an interface but advanced routing seems to have some issues with eth0:118:14
piedoggiewhy not add your network interface to /etc/network/interfaces18:16
jetolepiedoggie: I have but it seems that ifconfig is used there however I found I can manually add an alias with ip18:23
jetoledoesn't show up under ifconfig but then again neither does any additional ip on a NIC under ifconfig18:23
jetoleip link set eth6:2 up && ip addr add 192.168.0.25 dev eth6:2 ; ifconfig -a | grep '192\.168' ; ip addr list | grep '192\.168'18:26
jetolethat will add the interface but will not show up under ifconfig, will show up under eth6 under ip and will allow any app to use eth6:218:26
jetolein fact, you can lose "ip link set eth6:2 up" and just go with "ip addr add"18:29
siggerI think I broke my ubuntu server.  Will the reinstall (if there is one separate from install) preserve my etc/files, users, groups, and other things?  [apologies, I just asked this in #ubuntu, but the question is serious enough to seek 2nd opinion]19:05
=== \sh_away is now known as \sh
ScottKsigger: No.19:16
ScottKsigger: Can you boot the server at all?19:16
peterdv(or boot from live cd and mount the partitions ?)19:17
ScottKYep.19:18
siggeryes19:19
siggerServer boots fine.  I messed it up by cping the partition with /var then cping back.  but forgot --preserve=all so I lost all perm info19:21
siggerservices not running right.  sock missing.  pid can't open. blech19:21
siggerI made a big mes19:21
siggermess19:22
sommersigger: do you have another "test" box you could install ubuntu server on?19:22
siggermmmm, not really unfortunately19:22
siggerI just gave up my last "extra" box19:22
sommeryou could then compare services and permissions... or you could ask per service and someone here can probably help19:22
siggerI'm not even sure why I can't ssh.  no error on server side, but no conn from client19:23
sigger /etc/init.d/mysql start complains about not accessing .sock19:24
siggeretc19:24
sommersigger: chown -R mysql.mysql /var/run/mysqld/ and try starting mysql19:25
siggerk19:25
peterdvForgive me, but before attempting rescue, I feel the need to ask: "What is your backup situation". Not to be rude - just to get a feeling for the risk involved. No offence intended.19:29
siggerpeterdv:  all data safely backed up off this PC.  Thank you peterdv.  No offense taken.  Helpful comment19:31
siggerk did that and perm for debian.cnf, but it now rightly complains of missing /var/run/mysqld/mysqld.sock19:32
siggerKnow what that is, but no idea how to "bring it back" or get it19:33
sigger(actually there was one bit of info that I had to back up manually when the prob was discovered.  I copied the mysql data by files (with --preserve=all) rather thana mysqldump19:34
sommersigger: the mysqld.sock file should be created when starting mysql, but if the permissions on the directory are wrong the deamon process can't create it19:34
sommertry chmod 755 /var/run/mysqld and starting mysql19:35
krautwhat's the sysreq-key? (urgent)19:35
krautalt+~?19:35
siggeractually left before the 755 msg and just tried it with 777.  no luck19:36
sommersigger: can you pastebin the exact error?19:37
siggerstarting by /etc/init.d/mysql start, rather than running mysqld directly if it matters19:37
siggerI can't because I can't even ssh in yet19:37
siggerI can retype tho.19:38
sommersigger: does the error mention anything about perms?19:38
siggerkinda, not really, here's what I think is the relevant part:19:41
siggerCan't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock'.  Check that mysqld is running and that socket [same .sock] exists19:42
siggera process called mysqld is running.  the .sock does not exist tho19:42
siggerhmm, lemme kill -9 and retry19:42
sommersigger: what are the permissions and owner of /var/run/mysqld ?19:42
siggerat the moment, mysql.mysql 77719:43
sommersigger: try chown mysql.root /var/run/mysqld, I may have told you wrong with the "-R" in the first command19:44
siggerk, I'll play with it19:44
siggernope.  -R didn't matter anyway as theres nothing in ther19:46
sommermmmm... what is the output of ls -l /var ?19:47
siggererr, I recall there's a bunch there19:47
siggeryou want just mysql?19:47
sommersigger: heh, yep19:48
siggeroh sorry thats not /var/run.  its /var19:48
siggerlemme get it19:48
siggerrun in ls -l /var is 777 root.root19:49
siggeri.e. if i were to do ls -ld /var/run19:49
* sigger starts to plan what to back up before nuking the install19:52
sommermaybe try touch /var/run/mysqld/mysqld.sock and chown it to mysql, then try starting19:52
siggerhmm good idea19:53
siggerno, but I spent some more time looking at syslog (since there is reference to it in error msg).20:03
siggerThere is another error coming up where it can't lock .ibdata (i think that was the file)20:04
siggerer cannot lock ./ibdata120:04
siggerUnable to lock ./ibdata1, error: 1120:05
sommersigger: ah, check the perms and owner of /var/lib/mysql, should be 755 mysql.mysql20:05
siggerit is.  I confirmed above20:06
siggerwell actually, lemme make it exactly that20:06
siggerits more open20:06
sommerand the contents of /var/lib/mysql should be mysql.mysql20:06
siggercontents?  you mean owner.group?20:07
siggerit was mysql.mysql 77720:07
siggerand the ibdata1 file is 777 mysql.mysql just for fun20:08
sommersigger: yep, the contens of /var/lib/mysql should be mysql.mysql20:08
siggerwell yes they all are20:08
siggerhmm, getting a little crazy here: what if I delete the lock on that file (assuming there is one)20:09
sommersigger: worth a try, I'm running out of ideas ;)20:09
siggernope.  I did notice that the mysqld process sticks around past a /etc/init.d/mysql stop20:12
siggerso I had to kill20:13
siggerso is it ok that I just copied my data dir files to a backup place?  i.e. can I just copy them back to newly installed mysql data dir and have everything be ok?20:13
sommersigger: I'm not sure about that one20:14
siggerahh maybe I can run mysqldump still20:15
siggernope needs sock20:16
zulsoren: ping https://bugs.edge.launchpad.net/ubuntu/+source/php5/+bug/20447920:31
ubotuLaunchpad bug 204479 in php5 "PHP should be shipped with magic_quotes_gpc = Off  in php.ini" [Wishlist,Triaged]20:31
zulsoren: what do you think?20:31
faulkes-zul: that's typical of most distributions of php.ini20:33
faulkes-I don't really think it's a huge issue, if you aren't taking steps to escape / validate your data, assuming php is going to be your magic bullet is well, going to leave you shooting blanks20:35
sorenzul: I'm a bit torn on the subject.20:35
owhThe PHP manual says this: http://au2.php.net/magic_quotes20:35
zulfedora has it turned off20:35
owh        magic_quotes_gpc                      Affects HTTP Request data (GET, POST, and COOKIE). Cannot be set at         runtime, and defaults to on in PHP.20:35
owhIt also says that it's depreciated and removed in PHP620:36
zulowh: I like the big fat warning there20:36
owhPersonally as a PHP developer I'd expect my environment to do what the manual says. Even if it sucks.20:37
owhzul: You mean the warning :)20:37
zulyep20:37
sorenThere are a few troubles involved:20:37
sorenmagic_quotes are a more secure default.20:37
sorenby extension, it teaches bad habits to web developers.20:38
sorenWe've had it on for a long time (don't we? (I find myself unsure)), so disabling it now, might make us vulnerable to attacks that it used to save us from.20:39
faulkes-soren: web developers? bad habits? I am shocked, *SHOCKED* to hear you even suggest something like that occurs20:39
sorenIt's kind of like..20:39
* soren chuckles20:39
sorenfaulkes-: :)20:39
sorenWEll, C programmers *ought* to make sure that buffer overflows didn't happen.20:39
zulsoren: dunno thats why I am asking20:39
owhsoren: While I agree with what you're saying, if we open that can of worms, that is, changing defaults randomly, then where does that behaviour stop?20:39
zul:)20:39
sorenYet we put the SSP stuff in place, just to be sure.20:40
sorenIt's not entirely comparable, though, as magic_quotes does change php's behaviour in ways the programmer will se.20:40
sorensee.20:40
owhfaulkes-: You should see some of the credit card code I am presented with by clients "fresh from their developer".20:40
sorenowh: It sucks to change defaults, but after long consideration, I'm leaning towards "screw history. If we find better defaults, make the change."20:41
owhsoren: If they were actual developers they'd know about get_magic_quotes_gpc()20:41
nxvli can not be present on the server meeting, i feel sick and i'm going to the hospital, sorry for absense20:41
owhsoren: That's a fair comment. Not sure I agree yet.20:41
owhnxvl: Good luck.20:41
owhnxvl: Get better.20:41
sorennxvl: Yeah, get better, dude!20:42
owhThere is an argument for making Ubuntu better than the rest and leading the way. I totally grok that.20:42
sorenowh: The sooner, the better. Usually.20:42
sorenThe trouble is that we're quite far along in the release cycle.20:43
owhThere is another argument that says that if you are deploying a server and something as fundamental as that changes, you are pretty fsk'd.20:43
owhIf, and only *if* this change is made, then there needs to be a screen explaining that on installation. It will trip up lots of people.20:44
owhAnyway, I'm a PHP developer, I'd take it either way, but then I've been doing this for a while :)20:44
zulsoren: for the PHP stuff configuration file changes and memory issues we can revisit in ibex cant we?20:45
owhThe level of skill out in the world is asking us for a beating.20:45
owhThat is, the skill level is low and we'll be answering the support calls.20:45
owhzul: I suspect it will be PHP6 by then, but I don't know that for sure. The rules change at a major version upgrade.20:46
sorenzul: I'd actually like to change the memory limits *right* now. 16 in cgi and mod_php6, and 32 in -cli.20:46
zulsoren: heh if you are too busy I could do it for you of course20:47
owhsoren: You mean mod_php6, or 5?20:47
soren5.20:47
sorenzul: That would be lovely!20:47
owhsoren: Just to be clear, that's increasing the limit right?20:47
sorenowh: I don't believe so, no.20:48
owhAre advocating making the memory limits smaller?20:48
* owh checks a hardy install.20:49
sorenWEll..20:49
sorenI'm advocating setting the memory limits where they used to be and *ought* to be, but by accident have not been for a while.20:49
owhHow long for?20:49
sorenNot sure.20:50
* owh checks the php manual for guidance.20:50
sorenDon't.20:50
sorenWell, feel free to read it, but don't be (mis)guided by it.20:50
owh"8M" before PHP 5.2.0, "16M" in PHP 5.2.020:51
owhCurrently: "128M"20:51
owhhttp://au2.php.net/manual/en/ini.core.php#ini.memory-limit20:51
sorenowh: Close, but no cigar :)20:51
owhUh, when I say, currently, I mean the manual. My hardy machine is still booting.20:51
sorenowh: "8M" (but disabled) before PHP 5.2.0, "16M" (still disabled) in PHP 5.2.0. Now, 128MB and enabled.20:52
ajmitchoh dear, PHP20:52
sorenmemory_limit defaulted to *off* until 5.2.something.20:52
zulwow hey ajmitch :)20:52
sorenajmitch: Dude!20:52
ajmitchhello20:52
sorenajmitch: Long time!20:52
ajmitchnot that long, honest20:52
soren:)20:52
owhsoren: The shipped memory_limit is 16M20:53
sorenowh: At some point the php developers figured that setting memory_limit enforcing on by default would be a good idea.20:53
sorenThen they got scared that people would shout at them for breaking stuff that used to work..20:53
owh:)20:53
soren..and then they set the default limit to 128MB to be (almost) sure that they wouldn't break anything.20:53
sorenWe, OTOH, have had memory_limit enforcing on for *ages*.20:54
owhSo, you're cutting that back quite drastically.20:54
owhWell that's cool.20:54
sorenWith a default of 8MB in mod_php5 and -cgi, and 16 in -cli (to fix some pear crap, I believe)20:54
owhAt the moment the php.ini file I'm looking at is 16M20:54
owhIn hardy.20:55
sorenRecently, the way the amount of used RAM was counted, changed. So what used to fit in 8MB didn't anymore.20:55
sorenowh: Oh?20:55
owh/etc/php5/apache2/php.ini20:55
nijabasoren: I confirm it on a fresh install of php20:55
sorenDid I actually manage to get around to fixing that? I'm deeply surprised. It's still in my todo list (waaaay down).20:55
sorenWhat about -cgi and -cli?20:55
owh'/usr/share/php5/php.ini-dist.cli 32M20:56
owh'/usr/share/php5/php.ini-dist 16M20:56
owhThat's all that I can see.20:57
sorenO_O20:57
sorenWow.20:57
owhThere are dist, paranoid and recommended ones as well.20:57
sorenzul: Er... never mind, then. I (or someone else, possibly) already fixed it.20:57
owhIn the examples.20:57
zulsoren: yep I just checked20:57
sorendist is the template used to generate our php.ini.20:57
soren(ucf style, iirc)20:57
keescook(old topic... php magic_quotes)20:57
owhsoren: Uh, the dist has 128M20:57
keescookI'd like to keep it enabled.  applications should know to deal with it -- those that don't certainly need it enabled.20:58
sorenowh: You just said?20:58
soren20:56:26 < owh> '/usr/share/php5/php.ini-dist.cli 32M20:58
soren20:56:56 < owh> '/usr/share/php5/php.ini-dist 16M20:58
soren20:57:02 < owh> That's all that I can see.20:58
owhGimmie a mo.20:58
owhYeah, the dist is in the example dir.20:58
owh'/usr/share/doc/php5-common/examples/php.ini-dist:memory_limit = 128M20:58
zul # memory_limit: 16M for cgi/apache; 32M for cli20:59
zul        cat php.ini-dist | tr "\t" " " | sed -e'/memory_limit =/ s/\b128M/16M/g' > debian/php5-common/usr/share/php5/php.ini-dist20:59
zul        cat php.ini-dist | tr "\t" " " | sed -e'/memory_limit =/ s/\b128M/32M/g' > debian/php5-common/usr/share/php5/php.ini-dist.cli20:59
owh'/usr/share/doc/php5-common/examples/php.ini-paranoid:memory_limit = 8M20:59
sorenowh: Oh. Er.. Sorry. I was being uncharacteristically ambiguous.20:59
owh'/usr/share/doc/php5-common/examples/php.ini-recommended:memory_limit = 128M20:59
owh:)20:59
sorenowh: The ones you showed me first (in /usr/share/php5) are the ones used to generate our php.ini.20:59
sorenowh: The reasons why are a bit involved (dpkg conffile handling stuff and such).21:00
owhYeah, I figured, but I thought I'd be complete and then you mentioned dist, so I double checked.21:00
* owh heads to meeting.21:00
Saftlehave a quick question, I'm wanting to migrate all of my windows based servers into ubuntu, however I'm not sure whether ubuntu server or ubuntu desktop would be better due to me requiring a GUI. Basically we wouldl like PHP, APACHE, SSH etc to be ran from the linux environment and it would require a Virtual Machine of Windows to be running windows tasks.21:43
sorenWhat's the gui for?21:45
Saftleto run VMware21:45
sorenAh.21:45
owhSaftle: Technically you don't actually need a gui to run vmware-server. I'm not sure if it will install without it.21:46
owhSaftle: Personally I install ubuntu-server and add what is needed.21:47
Saftleowh: so basically install gnome and vmware-server after installing ubuntu-server then?21:47
Saftlerather than using ubuntu desktop and installing lamps and vmware-server?21:48
=== \sh is now known as \sh_away
sorenThe end result is *almost* identical.21:49
owhSaftle: Well, I'd not even install gnome, I'd start with vmware-server.21:49
owhSaftle: It will pull in the dependencies.21:49
Saftleowh: sorry for being a linux noob, but without the gnome GUI is vmware still visible?21:50
owhSaftle: Well, yes and no.21:50
owhSaftle: You will be able to manage the vmware-server from a remote console, but it won't be a gui on the server hardware itself.21:50
Saftlewow, ok, that might be just what I need then21:51
owhSaftle: Try it and see if it gives you what you need.21:51
Saftleowh: awesome thx alot for your help.21:52
owhSaftle: Pleasure.21:52
JaxxMaxx_To admin a VMWare'd Windows server, use RDP :)21:53
owhSaftle: Just so you know, Ubuntu is heading towards kvm. I've personally not made that switch yet, but you should be aware of it.21:53
owhJaxxMaxx_: Sometimes you need to see the BIOS screen too :)21:55
Saftleowh: you mean like a KVM switch?21:55
owhSaftle: No, like the software.21:55
Saftleowh: not familiar with it21:56
JaxxMaxx_Hmm, does VMWare have remove viewing capabilities yet?21:56
Saftleowh: just googled it, so basically it's an alternative to vmware?21:56
owhSaftle: Yes.21:57
Saftleowh: oh ok thx, I'll look into it, and see if it's a better solution than vmware21:58
owhSaftle: One difference is that the kernel support is part of Ubuntu. The packaging for vmware has sometimes been challenging.21:58
JaxxMaxx_is KVM compatible with vmware images?21:58
owhJaxxMaxx_: There are conversion tools available/in the works.21:59
JaxxMaxx_is it giving the community a tingly feeling?   why the move away from vmware?21:59
JaxxMaxx_I'd thought it was a good product, vmware22:00
Saftleowh: another noob question for you, how exactly would I go about installing xp without a gui and then be able to remote into it after installation without configuring the IP using the windows GUI? or is that all possible, but just requires a bit of googling on my end?22:00
owhJaxxMaxx_: It is, it works for me, sometimes it bites you.22:00
owhSaftle: The thing you have to bear in mind is that you're talking about a GUI into a virtual computer. A remote console.22:01
owhSaftle: You start up the hardware, insert the (virtual) CD and boot the XP installer.22:01
JaxxMaxx_I think he's just confused about how to go through the XP install without being able to see it (because the host OS has no GUI)22:02
Saftleand then from there remote into it from another computer?22:02
Saftleexactly22:02
owhSaftle: 1. Install your virtual machine layer, vmware, kvm, whatever. 2. Create a virtual machine via ssh. 3. Boot the virtual machine from a remote GUI console. 4. Install XP.22:03
JaxxMaxx_ah, like a remote X session?22:04
Saftleoh ok, that makes sense, well thx again. I'll give it a shot. I'm sure that doing it this way will definately decrease the worlkload on the server22:04
Saftleworkload*22:04
owhSaftle: Well, the gui doesn't draw that much cycles if it isn't doing anything.22:10
JaxxMaxx_Just occupies RAM22:11
owhI'm trying to download stuff from bazaar.launchpad.net and I'm getting 500 Internal Errors. Any ideas?22:25
zylstra555Hello. I am using Ubuntu server, I get this when running apt-get install: E: Could not get lock /var/cache/apt/archives/lock - open (11 Resource temporarily unavailable) | E: Unable to lock the download directory22:25
owhzylstra555: Are you running the apt-get as root, is another package installer already running?22:27
zylstra555owh: Yes, Apt-get is in root. I am getting help in #ubuntu at the moment... will return here if they cant come up with anything. Also, its only one instance of apt-get running22:28
owhzylstra555: What about aptitude, synaptic, dpkg?22:29
zylstra555sudo fuser -vki /var/lib/dpkg/lock;sudo dpkg --configure -a   fixed the problem, so, no idea what caused it22:30
owhzylstra555: Is this in hardy?22:30
zylstra555owh: Shoot, forgot I had it installed. Yes, it is, in fact22:30
zylstra555(I should write the OS version on the side of it... should have mentioned that immediately)22:31
zylstra555Would it be a security risks if I made my regular user account into a full administrator without need of using the SUDO command?22:36
owhzylstra555: In short, yes.22:37
owhzylstra555: If you can reproduce this problem, can you please report a bug?22:37
zylstra555owh: Yes, however, I dont think I can. I have no idea what caused it. I did do something evil and decide to install Samba over Webmin, which, uses the -F option22:38
owhROTFL, that will learn you :)22:38
owhzylstra555: I wonder if the samba package was still installing.22:39
zylstra555owh: It pretty much stopped. I restarted and tried again, and restarted and tried a different package, the same problem happened.22:39
owhzylstra555: What I'm saying is that perhaps webmin was still trying to install.22:40
zylstra555owh: Hmm... perhaps22:40
zylstra555Okay, second question: I am having trouble getting data into my public_html folder, located at /home/user/public_html  and I cant use my FTP client to change the attributes, since it doesnt have the proper privileges (thus, why I asked about making my regular account into a full root)22:43
zylstra555How do I change it? I tried sudo chmod +r+w public_html   but that didnt yield anything, telling me I properly used the wrong switches.22:44
mok0zylstra555: chmod 751 ~/public_html22:45
mok0zylstra555: and make sure all .html files have protection 64422:46
zylstra555664? Write, Read, but not execute?22:46
zylstra555No, I take that back22:47
mok0zylstra555: yes, owner rw others r22:47
zylstra555I need my webserver to be executable, and certain parts to be writtable. (Which, I can deal with later)22:47
mok0zylstra555: 751 = owner rwx, group rx, others x22:47
mok0zylstra555: writable? eeech.22:48
zylstra555mok0: Forum :/22:48
mok0zylstra555: make the directory or files belong to group www-data22:48
zylstra555mok0: It does22:48
mok0and give group write access22:48
zylstra555(Default is /var/www/ for Apache2, I changed it to /home/user/public_html for some extremely strange reason. )22:49
mok0i.e 664 for files and 771 for dirs22:49
mok0zylstra555: heh, well that's up to you :-)22:49
zylstra555I just cant get chmod 751 ~/public_html to work at all22:49
mok0zylstra555: do you own it?22:50
zylstra555It keeps saying that public_html Does not exist22:50
zylstra555mok0: My server is screwy.. other than that, it belongs to the www-data group, its not necessarily part of mine. How would I change that?22:50
mok0what does "id" say?22:50
mok0zylstra555: you don't22:51
zylstra555(well, not associated with my user account, that is. I am the administrator... )22:51
zylstra555ID:    gid=1000(server) groups=4(adm),20(dialout),24(cdrom),2(floppy),29(audio),30(dip),44(video),46(plugdev),104(scanner),10(lpadmin),110(admin),1000(server)22:52
mok0zylstra555: go "id" in the terminal and paste the result22:52
mok0heh22:52
mok0ok22:52
zylstra555Oh, I dont know if this has anything to do with it, but, the command "su" does not work for me22:52
mok0zylstra555: grep server /etc/passwd22:52
mok0zylstra555: right22:52
Bidou'night all22:52
zylstra555server:x:1000:1000:server,,,:/home/server:/bin/bash22:52
zylstra555su returns: su: Authentication failure22:53
mok0zylstra555: ok, so ~/public_html refers to /home/server/public_html22:53
mok0zylstra555: ~ means -> users home dir22:53
zylstra555mok0: So, now it should just give me the same permissions as my current home folder, right?22:53
mok0zylstra555: don't know what you mean, exactly22:54
zylstra555mok0: I still cant set file attributes for the public_html folder22:55
mok0zylstra555: does it exist?22:55
zylstra555mok0: Yes, quite plain and clearly on the DIR command22:55
mok0ls -l ~/public_html22:55
zylstra555in fact, cd public_html works fine22:55
zylstra555It keeps saying:22:55
zylstra555"No such file or directory"22:55
mok0ls -l ~/public_html22:55
zylstra555The same thing happens22:56
zylstra555Should I stop Apache2 and delete the folder and create it again?22:56
mok0no such file or directory?22:56
mok0zylstra555: NP22:56
mok0zylstra555:  NO22:56
zylstra555ls: /home/server/public_html: No such file or directory22:56
zylstra555wait, /server/?22:56
mok0zylstra555: then: mkdir ~/public_html22:56
zylstra555ls -l ~/public_html returns: "total 0"22:58
mok0ok, try ls -ld ~/public_html22:58
zylstra555Its kind of funny, I had my server running fine before... then I decided to redo everything22:58
zylstra555drwxr-xr-x 2 server server 4096 2008-03-26 15:56 /home/server/public_html22:58
mok0zylstra555: the server has nothing to do with this.22:58
mok0zylstra555: ok, now your ~/public_html dir looks fine22:59
mok0zylstra555: when you said "it worked fine" was that before changing away from /var/www ?22:59
zylstra555mok0: I still cant upload to it via FTP, thus, the file attributes are still fine23:00
mok0zylstra555: hmm23:00
mok0is this forum a home-made one, or what?23:01
zylstra555mok0: Nope, my server was only allocating 3GB of 20 that I had available. This was due to using the DD command for moving the drives data. I decided to do an entire reinstall so I could fix most of the other problems it was having anyways. Before I had the public_Html folder in /home/user/public_html and I decided to set it back to the same one23:01
zylstra555mok0: The forum (which is not currently on the server, since I cannot upload it) is a SMF forum. The server itself is sitting behind me23:01
mok0zylstra555: I guess first you should get the httpd server to display a simple html page23:02
zylstra555mok0: I cant. I cant do anything to the public_html directory, let alone create an index.html page23:03
mok0zylstra555: but you need to tell apache2 that there is another doc dir23:03
mok0zylstra555: still not?23:03
mok0zylstra555: that's very puzzling23:03
zylstra555mok0: I still cant do anything to that folder, no, if thats what you were asking. (The irony... I dont know how I got it working before)23:03
mok0zylstra555: above, you have a directory ~/public_html that looks quite normal23:04
mok0zylstra555: in the terminal, try "cd ~/public_html"23:05
zylstra555(currently in the /home/user/ folder)23:05
zylstra555mok0: cd ~/public_html works fine23:05
mok0zylstra555: now, "touch index.html"23:05
mok0zylstra555: that should give you an empty file23:06
zylstra555mok0: Okay23:06
mok0zylstra555: what editor are you comfortable with?23:06
zylstra555mok0: that worked23:06
zylstra555nano,23:06
zylstra555mok0: Creating a very basic page23:06
mok0zylstra555: ok, then try writing something in that empty file using nano23:06
zylstra555mok0: I can write to that file23:07
mok0yay23:07
zylstra555When, on my local network, I visit http://192.168.1.7/ I get the Apache Directory listing, which, is blank23:08
zylstra555 Also, my FTP client doesnt list the index.html file23:08
mok0zylstra555: very slow access from here23:09
mok0zylstra555: try http://192.168.1.7/~server23:09
zylstra555mok0: Are you trying to visit it?23:09
mok0zylstra555: yes23:09
zylstra555mok0: 192.168.1.X isnt a regular IP address, thats a router assigned address. Right now, my site is at www.zylstrablog.co.nr and is being hosted by my Windows computer23:10
zylstra555(which, also, happens to be down at the moment..23:10
mok0zylstra555: I see23:10
zylstra555mok0: I see where we were on two pages. The directory /home/server/public_html now exists... but, what about /home/user/public_htm ?23:11
mok0zylstra555: anyway, since you put the index.html page in the user "server" 's public_html directory, you need to address it with ~server after the url23:11
zylstra555*html23:11
zylstra555http://192.168.1.7/~server returns "NOT FOUND"23:11
mok0zylstra555: /home/user/public_html would belong to a user called "user"23:11
mok0zylstra555: you probably have to tune apache's conf files23:12
mok0zylstra555: hang on23:12
zylstra555mok0: Correct. Whome, does not exist. (This is how it used to be configured)    Apache is set to use /home/user/public_html23:12
zylstra555www-data's home folder is /home/user/public_html23:13
mok0zylstra555: normally, you don't do it like that.23:13
zylstra555mok0: :)23:13
mok0zylstra555: apache can serve any directory23:13
mok0zylstra555: ordinary users can serve their ~/public_html directory23:14
mok0zylstra555: will you have users on the machine?23:14
zylstra555mok0: Nope, no other users23:14
mok0zylstra555: then you might as well edit apache's conf files to tell it where the document root is23:15
mok0zylstra555: it doesn't have to be a home directory for anyone23:15
zylstra555mok0: Which, is currently set to /home/user/public_html    should I set it to /home/server/public_html ?23:15
mok0zylstra555: by default, it is /var/www23:15
mok0zylstra555: look in /etc/apache2/sites-enabled23:17
zylstra555mok0: I have to leave my computer for a while, if you happen to be here when I get back (which, might take about 30 minutes or so) I will be able to continue. I greatly thank you for your help, hopefully, I will get this resolved23:18
mok0It is quite late here, so I might be gone23:18
mok0Anyway, I advice you to edit the  apache config file, look for "DocumentRoot": that will be where the basic URL goes to23:20
Erickj92does anyone have some time to help me trouble shoot apache2?23:24

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