/srv/irclogs.ubuntu.com/2009/05/01/#ubuntu-server.txt

andolcaptainkirk: When you to a "rsync filename user@host:path" that is nowdays using ssh by default. In the early days it used rsh instead.00:00
captainkirkandol: is this still possible though if the other machine is w2k server?00:00
andolcaptainkirk: It's always possible :) That said, I have no idea what's the easiest way to handle rsync in regards to windows server.00:01
captainkirkandol: i have installed a prog called deltacopy on the w2k server, it is running in server mode and configured to serve certain folders:00:02
captainkirkandol: the rsync command on my ubuntu server is able to connect and pull the data from the w2k server.... seems to be working ok00:03
andolThen it should be all good :)00:04
captainkirkandol: so far so good :)00:05
phaidroshm, just fiddling with fastcgi init scripts.00:06
phaidrosis there a known solution for multiuser fastcgi init scripts, maybe configurable via /etc/default ?00:07
phaidrosso, that the owner (unix user) is able to restart his own fastcgi script?00:07
leonelphaidros: you can try cherokee web server  it starts your  fcgis now with the owner you want  in case the daemon ends  cherokee restarts for you00:21
dsuchHey00:23
dsuchis it normal that I cannot find drbd8-utils package on a fresh Jaunty server?00:23
dsuchapt-cache search tells me there's nothing related to "drbd"00:24
andoldsuch: Strange, I can find it using the exactly same method. Does an apt-get update help?00:26
dsuch*blush*00:26
dsuchYea, it does :)00:26
dsuchThanks andol00:27
andolnp00:27
rayneis there an easier way to get the ssh-rsa key to the node without typing it? it is so long i cant seem to type it correctly00:44
phaidrosrayne: just scp a textfile containing the key to the machine ;)00:50
phaidrosleonel: ic, that sounds good. but I'm nailed to nginx :/00:50
raynephaidros: would i not still have to type the key... is there a file that contains the key that i may xfer with a usb stick ?01:17
phaidrosrayne: actually I don't know about what kind of key you speak01:19
raynei am seeting up the node for ubuntu 9.04 eucalyptus, when i --addnode <node name> it prints on screen the ssh-rsa key to type into node01:20
Rafaelanybody can give me help on software raid01:22
phaidrosrayne: I am no expert, but have used mdadm before01:24
raynemdadm ?01:25
phaidrosrayne: rayne software raid in linux is usually done with mdadm (see man mdadm)01:25
phaidrosirk, I wanted to say that to Rafael01:26
phaidrossry rayne ;)01:26
rayne:)01:26
phaidrosrayne: I have no idea about eucalyptus, but you can echo that key to a file, transfer that file onto the target, and cat the content of that file into your commandline01:27
rayneummm.. thats just might work01:28
phaidroslike 'somecommand --tell-key >> keyfile', scp keyfile to server, 'somecommand --mykey=`cat keyfile`'01:28
raynelet me see. rbr01:30
raynei man brb01:30
raynenope...01:32
raynesince the screen does the output the echo command will not work01:32
raynebut that was a good idea01:32
raynei must find the file that has the auth keys01:33
phaidrosack01:34
TrebaczOkay I screwed up upgrading Ubuntu Server from 8.10 to 9.04. I accidently merged  (experimental) my /boot/grub/menu.lst and lost my raid configuration.01:44
phaidrosirks01:44
TrebaczWhen merging is a backup copy of the file kept anywhere?01:44
phaidrosumh, /boot/grub/menu.lst~ or /boot/grub/menu.lst.dkpg.something ?01:45
TrebaczThere is a menu.lst~ but it's the same as menu.lst01:46
phaidrosouch, then I dunno01:47
raynephaidros: i am installing [apt-get] gnome on both servers and going to copy and paste :)01:52
TrebaczThe sad thing is there are four drives and I can't remember the arrangment I had them in. Two were mirrored, but I can't remember the last two...01:56
phaidrosrayne: why not cut and paste in your terminel o.O02:01
phaidrosrayne: gnome on servers .. *sheesh*02:02
phaidrosTrebacz: see your mdadm config02:02
phaidrosTrebacz: in grub you need imho only the device file .. but you can reconstruct that from mdadm config imho02:03
TrebaczCool. Can you give me a location or file name. Is it /etc/init.d/mdadm-raid? Sorry new at this.02:04
phaidros/etc/mdadm/mdadm.conf02:06
phaidrosuhm, but maybe only the entry for the root is wrong in your menu.lst02:07
phaidrosdid your overwrite /boot/grub/device.map? if not, just check the root= entry02:07
phaidros(in menu.lst)02:07
TrebaczUnfortunately the mdadm.conf is empty and modified at the time of upgrade.02:09
TrebaczRoot entry is there for the primary hard drive, but for none of the mirrors root            (hd0,1)02:13
phaidrosTrebacz: irks02:40
phaidrosno idea how to detect an former software raid02:41
=== RoAk is now known as RoAkSoAx
PhotoJimyou should still be able to reassemble the RAID, no?02:42
phaidrosTrebacz: mdadm --assemble --auto might be of help02:42
phaidrosbut read the manpage!02:42
PhotoJimespecially if you can remember what devices were in the RAID.02:42
phaidrosafk, gtg.02:42
TrebaczWill do -thanks for all your help02:43
TrebaczJudging from what I'm reading I'll be very careful...03:04
twbTrebacz: do you still have a correct partition table on each disk?03:07
twbTrebacz: was it an md RAID1 or RAID5?03:07
TrebaczI'm sure two of the disks were RAID1. The other two may have been striped RAID0.03:09
TrebaczNot sure how to check the partition table on the drives, but only one is mounted. I'm assumming the other ones are just as they were before they were dropped from the array.03:10
twbcfdisk /dev/sda03:13
twbIf it's a RAID1, you *can* mount the nodes directly (i.e. independent of the array), but shouldn't.03:13
=== timburke_ is now known as timburke
TrebaczUsing cfdisk all 4 drives are identical and the file system is listed as Linux raid autodetect.03:32
twbGood.03:34
twbSo you know where the nodes are and how big they are.03:34
twbYou only need to determine how many arrays there are, what level they are (RAID1, RAID0, etc.) and which nodes belong to which arrays.03:34
TrebaczSo I'm pretty sure the first array was RAID1 (partition SDA2 and SDB2) both are bootable.03:39
TrebaczThe second was RAID1 (partition SDA1 and SDB1) both not bootable.03:40
TrebaczThe third was SDC1 and SDD1 RAID0.03:41
twbThen attempt to assemble those.03:51
TrebaczRunning mdadm --examine --brief --scan --config=partitions gave me:03:54
TrebaczARRAY /dev/md0 level=raid1 num-devices=2 UUID=ef93e149:63b87da5:2ae5e72e:eca9ce0b03:55
TrebaczARRAY /dev/md1 level=raid5 num-devices=4 UUID=52124232:55c69294:9e58b9e7:324a27fd03:55
TrebaczARRAY /dev/md2 level=raid0 num-devices=2 UUID=5f1fde30:e8b82ce2:aea75784:f4e5b62303:55
TrebaczDo I interpret this as there was one RAID0, one RAID1, and a RAID5 utilizing four partitions?03:57
TrebaczIf I intreprete this correctly I may have had the boot partions RAID5 on all drives (SDA2,SDB2,SDC2,SDD2) RAID1 (SDA1 and SDB1) RAID0 (SDC1 and SDC2)04:10
sluimersHello, I'm trying  to setuo an e-mail server. I use dovecot and dovecot-postfix. Now when I try to send mail from my gmail account I don't see what happens.07:18
sluimerserrrmmm... nothing happens I mean07:18
sluimersthe e-mail gets send07:18
sluimersbut where it arrives is a mystery to me07:19
sluimersI do not get a mail delivery failure though07:19
sluimersSince I bought a domain, this is my setup:07:20
sluimersA RECORD07:21
sluimers@ my.ip.address.numbers07:21
sluimersC RECORD07:21
sluimersmail @07:21
sluimerssmtp @07:21
sluimersemail @07:21
sluimerspop @07:22
sluimerswww @07:22
sluimersMX (Mail Exchange)07:22
twbPlonk (flood).07:22
sluimers@ my.ip.address.numbers07:22
sluimersplonk?07:23
sluimersoh wait, the last one is: @ mail.mydomainnme.com no my ip address07:35
Taco24501any one know ant thing about avantfax08:13
VK7HSEif he had of hung around I could have help Taco24501 .... :-/08:49
=== MohammadBoozary is now known as boozary
uvirtbotNew bug: #370271 in mailman (main) "During dist upgrade from 8.10 to 9.04 with mailman got exit status 1" [Undecided,New] https://launchpad.net/bugs/37027110:11
=== jes_ is now known as XiXaQ
_rubendamn .. my home file server's system disk started doing the clicking-before-death rirtual12:04
ivoksthat's a 'hope you have a backup' song12:05
_rubeni dont .. which aint such a big a deal anyways .. its "just" the system disk ;)12:06
_rubeni have this odd effect on server i work with .. whenever i decide to upgrade or replace a server, it dies just before i get the replacement/upgrade in place :p12:07
XiXaQivoks :)12:08
TeLLuSJust got similar disk, turning readonly here.. Turned it off now, letting it rest for a day..12:10
XiXaQmy 2.5" usb disk is singing the heavy metal version of the "hope you have a backup song", and loudly.12:10
aljosais it possible to setup eucalyptus on a laptop to create a development environment?13:22
matttaljosa: xen/kvm wouldn't be more suitable?13:25
aljosamattt: i'm working with amazon services so i need something local to test things before i upload to production. also it would be perfect when i don't have internet access13:26
AndroidDatai've got a question: is it possible to create a chroot jail which has its own users? it's own uids and gids with different access within the jail?14:21
=== asac_ is now known as asac
uvirtbotNew bug: #369737 in php5 (main) "preg_replace_callback segfaults" [Undecided,Incomplete] https://launchpad.net/bugs/36973714:50
RoAkSoAxivoks, heya-!15:20
ivoksRoAkSoAx: hi15:21
RoAkSoAxhow's it going15:22
ivoksnot so well15:22
ivoksmy ISP canceled my ADSL and phone line15:22
ivokswithout explanation or any form of information15:22
RoAkSoAxoh that's awful... they do whatever they want whenever they want15:22
ivoksand i can't talk with them till monday, since it's a holiday and they don't work till then15:22
RoAkSoAxyeah15:23
ivoksf...k as...ls15:23
RoAkSoAxhahaha15:23
RoAkSoAxthat happens here a lot too and they always tell you "Opss we made a mistake..." or "It was a technical error you should have everything back in a few days"15:23
ivoksi'm fine with errors15:24
ivoksmistakes happen, and i would be stupid to get angry cause of that15:25
ivoksit's their attitude that's wrong and will make me turn my back on them15:25
RoAkSoAxivoks, that's true... they should notify someone at least before doing something that affects the costumer...15:26
ivoksan they shouldn't do anything like that 5 minutes before 4 day holiday season15:26
RoAkSoAxyeah!!15:27
ivoksnow i'm uploading bacula source to ppa over umts :/15:27
ivokslame15:27
RoAkSoAxhere happens things like you lose internet connectivity after 6pm.. where all the sysadmins from the ISP go home.. so weird huh?? just after they go home...15:28
RoAkSoAxhahaha15:28
RoAkSoAxivoks, btw... would you like to start discussing Linux-HA vs RHCS?15:28
ivokswell, what we should discuss are features of both15:29
ivoksi know what rhcs has to offer15:29
ivoksbut i haven't worked with linuxha for years15:29
ivokscanwe setup clustered filesystem with linuxha?15:29
ivoksi guess ocfs2 shouldn't be a problem; how about gfs2?15:30
RoAkSoAxivoks, yes.. of course15:31
ivoksgfs2 works with linuxha?15:31
ivoksare you 100% sure?15:31
ivokshm...15:32
ivoksgfs2 should work with openais15:32
ivoksand since linuxha now supports openais15:32
ivoks!! that would be awsome15:32
ubottuError: I am only a bot, please don't think I'm intelligent :)15:32
RoAkSoAxi don't think there'll be a problem ... i have not used GFS2.. let me browse some documentation...15:33
RoAkSoAxivoks, and actually.. Pacemaker support OpenAIS and Linux-HA15:33
ivoksgfs2, unlike ocfs, depends on cluster infrastructure15:34
ivoksright... pacemaker15:34
RoAkSoAxivoks, should we start a discussion in the ML?15:36
ivokshttp://www.mail-archive.com/pacemaker@clusterlabs.org/msg00074.html15:37
ivoksGFS2 will eventually work with Pacemaker as well.15:37
ivokssure15:37
RoAkSoAxbtw... i do think we should also think about what's gonna happen with heartbeat and pacemaker in the repos, since right know, installing heartbeat  + pacemaker at the same time, will generate some conflicts15:37
ivokspackaging will be much easier once we decide on all components15:38
ivoksjust ignore packaging problems now, since we could make them even bigger if we don't get idea right in the start15:39
RoAkSoAxindeed, but currently, installing both heartbeat and pacemaker there are conflicts.. right know... you'll only are *allowed* to use pacemaker and openais if you isntall them from the repo's... since the heartbeat version on the repos is 2.1.4 and that version still has the CRM into it15:40
RoAkSoAxivoks, indeed. how will you like to proceed then?15:40
ivoksRoAkSoAx: karmic development just started15:42
ivoksRoAkSoAx: so, there's plenty of time to fix that...15:42
ivokswhat i see linux-ha is missing is quorum disk15:43
ivoksthat might be a deal breaker15:43
ivokshow do we restore from split brain situations then?15:43
RoAkSoAxivoks, I do think that PaceMaker handles that now15:43
ivoksoh... that would be great15:43
RoAkSoAxivoks, http://pastebin.ubuntu.com/162281/15:44
RoAkSoAxivoks, http://hg.clusterlabs.org/pacemaker/dev/file/tip/xml/crm-1.0.dtd15:45
ivokshm... that doesn't sound like quorum disk15:46
RoAkSoAxivoks, in the linux-ha timeline says that they added a: Added a membership/quorum subsystem (CCM)15:47
ivoksquorum disk is a feature where you can take some block device which is accessibile from both machines in cluster15:47
ivoksthen we network link is broken between machines, they still know which one is most recent15:48
ivoksand they don't kill each other15:48
ivoksquorum is not remotly the same thing as quorum disk15:49
ivokswithout quorum disk, in two node cluster without network link, they'll just try to kill each other15:50
ivoksthat's quite important in virtualized enviroments15:50
uvirtbotNew bug: #349179 in cups (main) "Cannot print on network Windoze printer" [Undecided,Confirmed] https://launchpad.net/bugs/34917915:51
RoAkSoAxivoks, but wouldn't that be resolved with STONITH?15:52
RoAkSoAxivoks, or that will be only in case there's not a fencing device?15:52
ivoksno15:52
ivoksthat's when you have network independent STONITH15:52
ivokswhat happens when both nodes in two-node cluster lose network connection?15:53
ivoksthey think the other node died15:53
ivoksthe problem is that both think the other one died15:53
ivoksso they both try to stonith the other node15:53
RoAkSoAxivoks, yes15:53
ivoksand you end up with both machines powered down15:53
ivoksjust cause of network failure15:53
RoAkSoAxivoks, something similar happened to me while doing my thesis.. but what heartbeat did was to restart heartbeat on both nodes15:54
RoAkSoAxivoks, and btw.. those are things that I actually want to experiment on "what will happen in the event of a network failure"... but because I lack of hardware resource i'll not do it just yet15:55
ivoksi have one client which has network problems in his clustered environment15:56
ivoksi don't know why and i can't fix it15:56
ivoksbut...15:57
ivoksthat's a two node cluster, and without quorum disk, rhcs just refuses to connect to the cluster15:57
ivokswith quorum disk, those situations are irrelevant, cause it does everything for me15:58
ivoksi guess we'll have to test how this works with heartbeat15:58
ivoksi'll create a testing enviroment in my office15:58
RoAkSoAxivoks, ok awesome.. btw. i've also found this: http://www.linux-ha.org/QuorumServerGuide15:59
RoAkSoAxunfortunately it will not be shipped in heartbeat 315:59
ivoksand it's a broken by design16:01
ivoksif i would need 3rd machine for quorumd, why not have all three in cluster and avoid split-brain situation for ever :)16:01
ivokssplit brain can happen only in two-node cluster16:02
ivokswell, it can happen in n-node cluster, but only when network switch dies, so then you'll have more to worry about than which one is master16:02
ivokswell, rhcs is open source16:03
ivoksi don't see why we shouldn't look at it and myabe create something for pacemaker16:03
RoAkSoAxivoks, indeed16:05
RoAkSoAxivoks, anyways.. instead of using quorum disk, why don't just use multiple communication paths?16:05
RoAkSoAxit's unlikely that all the communication paths fail...16:06
ivoksRoAkSoAx: now we are entering into the 'what will sysadmin do...'16:06
ivokswe should provide something that doesn't require multiple network paths :)16:06
ivoksquorum disk is ideal for that :)16:06
ivoksi'm sure some will create full tolerant environment16:07
ivoksand that's great16:07
ivoksbut most will not :)16:07
RoAkSoAxivoks, i see... btw... i've found this answer: "That heartbeat does not need a quorum disk is actually a _feature_, you know. " I don't know how much of this is true16:09
ivokshehe16:09
ivoksthere are cluster solutions, like microsoft which *require* quorum disk16:10
ivoksthere are cluster solutions, like heartbeat which don't have quorum disk16:10
ivoksand there are cluster solutions, like rhcs that *offer*, but do not require quorum disk16:10
ivoksi'd argue rhcs has the best approach on this one :)16:10
RoAkSoAxivoks, yes in case we're handling those scenarios you've mentioned above... and yes it seems that heartbeat/pacemaker don't have quorum disk support...16:11
ivokswell, we will workout something ;)16:12
RoAkSoAxivoks, btw.. you have plenty of experience in HA Clustering :)16:12
ivokshehe :)16:12
ivokswell, i have couple of clusters in production, so i had to investigate all options16:13
ivoksRoAkSoAx: i don't think we should give up on pacemaker cause of quorum disk16:14
ivoksi'm all for moving to pacemaker16:14
RoAkSoAxivoks, I don't either!! and yes.. my preference is still on heartbeat/pacemaker16:14
ivokswe just have to know all disadvantages16:14
RoAkSoAxindeed16:14
RoAkSoAxivoks, btw.. what's what you're going to talk about this subject in the UDS?16:18
ivoksmail server, maybe clustering16:18
ivoksand maybe even more :)16:19
ivoksthe biggest problem we have with clustering in ubuntu is that we praticly have only one supported architecture16:20
ivoksand that's rhcs16:20
ivoksnow, there aren't many ubuntu rhcs users and that's visible in bugs16:20
ivoksbasicaly, only two people apear there and none of us knows rhcs that much to solve all situations16:21
ivoksso, giving up on some featuers wouldn't be that bad, if we would have you and maybe more people to work on pacemaker in ubuntu16:21
ivoksnot that long ago, we had one ubuntu-server member that was very good with rhcs16:22
RoAkSoAxivoks, yeah... i see the problem.. and yes i've much more people working with linux-ha / pacemaker based clusters rather than rhcs16:24
ivoksi'm sure there is16:25
ivoksbut you know, the guy that took care of rhcs in ubuntu is now one of leading rhcs developers... so, at that time that was great deal :)16:25
RoAkSoAxivoks, indeed.. but having rchs without someone to maintain it, is useless16:26
ivoksi agree16:26
ivoksthat's why i wanted to propose move to linux-ha/pacemaker16:26
RoAkSoAxivoks, you should do that.. since i'm not attending the UDS?16:27
ivoksi will16:27
ivoksyou could also attend discussion16:27
ivoksover irc or gobby16:27
RoAkSoAxi will be there to support you :)16:27
ivoks:)16:28
RoAkSoAxivoks, btw... you are going to be my motu mentor right ?16:28
ivoksi just have to figure out all the details of pacemaker before proposing that :D16:28
ivoksRoAkSoAx: yes16:28
RoAkSoAxivoks, awesome!! i relly look forward to start working on it16:28
ivoksme too16:29
ivoksi have couple of production clusters and it scares me that it's on rhcs with a blury future in ubuntu :)16:29
RoAkSoAxivoks, unless someone with a lot of experience in rhcs would like to maintain it16:30
RoAkSoAxwhich i do think it's very unlikely16:30
ivokswe will see :)16:31
ivoksdoes pacemaker support lots of stonith devices?16:31
RoAkSoAxi do think that fully supporting one cluster stack is the best thing to do... and having the other one in the repos16:32
RoAkSoAxs/and/while16:32
ivoksi agree16:32
ivoksqood question on ml; hopefully we will get some feedback16:33
RoAkSoAxivoks, yeah... we'll need anyone who uses linux-ha/pacemaker and rhcs to give us feedback.. since we could learn lots from other people before having to start testing ourselves16:34
ivokshm16:39
ivoksgood news16:39
ivokshttp://lists.fedoraproject.org/pipermail/fedora-server-list/2009-January/000071.html16:39
ivoksall our16:39
ivoksstacks (Novell - pacemaker, Oracle - ocfs2-tools and Red Hat cluster)16:39
ivokswill converge into one, killing the whole decision problem at the root.16:39
ivoksthat's why pacemaker supports openais16:39
ivoksand rhcs had some big changes in 3.x series16:39
RoAkSoAxlet's see16:40
ivoksFabio was the guy i was talking about16:41
ivokss/was/is/16:41
RoAkSoAxivoks, that's awesome!16:43
RoAkSoAxso now we'll have heartbeat/pacemaker and pacemaker/openais that will actually become rhcs right?16:44
ivokswell, they should all merge into one, i guess16:45
jbernardRoAkSoAx, ivoks: i'd be happy to help out if you need it, i work with linux in enterprise environments and HA solutions fairly regularly, is there a roadmap or wiki page i can use to come up to speed?16:46
ivokswe should include ubuntu into this process16:46
ivoksjbernard: we are just starting :)16:46
ivoksjbernard: there's ubuntu-ha team16:46
RoAkSoAxjbernard, https://launchpad.net/~ubuntu-ha16:47
jbernardill check that out, what are the immediate goals?16:47
ivokscreate ubuntu cluster stack16:48
jbernardwe'll use rhcs as the base?16:48
ivoksfor start, we have to decide which architecture to use16:48
ivoksjbernard: rhcs or pacemaker16:49
=== a|wen_ is now known as a|wen
ivoksjbernard: what do you use?16:50
jbernardivoks: architecture?16:50
ivoksred hat cluster suite or linux-ha?16:50
jbernardivoks: i have more experience with linux-ha16:51
RoAkSoAxjbernard, we are leaning towards it too16:51
RoAkSoAxbtw i've just created the wikipage: https://wiki.ubuntu.com/UbuntuHighAvailabilityTeam16:51
RoAkSoAxwe can start putting some ideas into it16:51
RoAkSoAxand creating a roadmap16:52
jbernardi think that's a great idea16:52
ivokswe should also be aware of the fact that there's a process of merging them all into one16:52
ivoksand we should, as ubuntu-ha, get involved in that16:52
RoAkSoAxindeed16:52
jbernardivoks: you mean an existing effort to merge them?16:52
ivoksjbernard: yes16:52
RoAkSoAxjbernard, http://lists.fedoraproject.org/pipermail/fedora-server-list/2009-January/000071.html take a look at the end of the post16:53
ivoksthe fact that pacemaker supports openais is one step16:54
ivoksyou can already have parts of linux-ha (pacemaker), rhcs (openais) and ocfs2 (ocfs2-tools) working as one stack16:54
jbernardahh, so we could become involved in that collaborative effort16:55
ivoksright :)16:55
RoAkSoAxwhat we'll need to find out is if they are considering linux-ha (heartbeat specifically) into this merging process16:58
jbernardi would think we would have to have heartbeat, or some replacement to provide a complete stack16:59
ivoksanyway... going offline16:59
ivokstake care16:59
RoAkSoAxsee ya ivoks17:00
RoAkSoAxjbernard, yeah... i do think that this merge process is only considering pacemaker  with openais17:00
RoAkSoAxand not heartbeat17:00
jbernardill go through the list threads and see what i can gather17:05
jbernardand put it up on the wiki page17:05
RoAkSoAxawesome17:06
RoAkSoAxwell i'm off too see ya jbernard17:07
oruworki followed this to install oracle xe, not sure how to uninstall it http://www.cyberciti.biz/faq/howto-install-linux-oracle-database-xe-server/17:11
a|wenoruwork: it looks to be a package you installed ... sudo aptitude uninstall oracle-xe should do the trick17:12
oruworka|wen-> yup that worked, how can i undo the swap space ?17:13
a|wenoruwork: instead of swapon you use swapoff on the file17:15
a|wenif that goes good, you should be able to delete the file17:15
oruworka|wen-> nope:( says invalid file17:15
oruworkswapoff didnt work17:15
oruworkswapoff: /swpfs1: Invalid argument17:15
oruworkoh wait, system was restarted so might be able to just delete it ?17:16
a|wenoruwork: does "swapon -s" list the file?17:17
a|wenoruwork: if not you can just delete it17:17
oruworkinvalid option -- 's'17:17
a|wenoruwork: you need a dash before s17:18
oruworkyup17:18
oruworkonly lists the real swap17:18
a|wenoruwork: then let go of the file17:18
oruworknice ....17:19
oruworkthanx man17:19
a|wen:)17:19
ClaytonGHi, I'm new to using ubuntu(previously using rhel4) and just set up a new server.  I'm attempting to integrate it into my backup software which requires a inetd(or xinetd) to be running on the server to be backed up.  Any recommendations to use on ubuntu 9.0.4?17:36
a|wenClaytonG: you probably want to start by installing "xinetd" in that case17:38
ClaytonGThanks for the tip :)17:39
Hancoki just purchased a domain on godaddy.com and set the names servers to n1.atspace.com  . a hosting site that iam using with a free hosting account to test. now i got back to godaddy.com and its has disabled the option of 'total dns control' as says. 'site hosted elsewhere'   i want to  make an 'A' record for irc.mydomain.com as iam planning to run an ircd. any help?18:17
PhotoJimHancok: unfortunately that's really an issue with godaddy, so it's out of the scope of this channel.  I host my own DNS so I can't offer any advice.18:27
a|wenHancok: as PhotoJim says it is a bit out of scope ... but as you now use atspace.com for your DNS hosting, that is where you need to get it changed18:29
IvanCostaJrHi, guys.19:16
a|wenhello there19:17
IvanCostaJrI'm with permission problem with /var/www/webpages. Does anyone know about apache2 configuration?19:18
a|wenIvanCostaJr: just try to ask your real question ... then people can determine if they know the answer19:18
IvanCostaJrThanks, a|wen! How can I gave access to webpages (localized in "/var/www/name_of_webpage") with apache2?19:21
a|wenIvanCostaJr: with the default installation it should just be http://localhost/name_of_webpage19:24
IvanCostaJrYes, I know that... But when I try to access, Apache respond access dened. And in the /var/log/apache2/error.log is writen "(13) Permission denied: access to /name_of_web/index.php denied"19:29
IvanCostaJra|wen: I need to have permission to read and write to those websites19:31
a|wenIvanCostaJr: what is owner/permissions of that file?19:32
Hancok http://img206.imageshack.us/img206/19/29972958.jpg    where do i put irc.mydomain.com    (that points to the dyndns address given to me. e.g  eg.dyndns.com) that makes irc.eg.dyndns.com19:35
IvanCostaJrThe owner is root.root and the permission is 755.19:35
IvanCostaJra|wen: I looked now in /etc/groups and there is a "www-data". The Ubuntu have a user called www-data.19:38
IvanCostaJrWhat's the Apache's user?19:39
a|wenIvanCostaJr: it should be okay for accessing the file with those permissions ... try checking your 000default permissions19:39
a|wenIvanCostaJr: you probably have an allow/deny rule somewhere that denies the access19:41
IvanCostaJrI'm going to check now.19:41
IvanCostaJra|wen: do you know if the apache server users a real "user" to access and manipilate the pages?19:44
a|wenIvanCostaJr: the apache process runs as www-data19:44
IvanCostaJrOk!! "It's works!".19:46
a|wen:P :)19:47
Vog-workOk I got a funny sys admin problem.... I have a large (5 gb) compressed file that when I attempt to uncompress it  (to 26 gb) I get a file size limit exceeded error. I did a ulimit -a and I basicallu have a file size limit  that is unlimited.  Am I running into some other limitation with gunzip?19:59
a|wenVog-work: which file-system do you try to uncompress it on?20:01
Vog-workext320:01
Vog-worksorry linux lvm20:02
a|wenVog-work: and what is your block-size?20:02
Vog-workI have 144g  open20:03
a|wenVog-work: sudo tune2fs -l /dev/<whatever>20:04
a|wenand check "block size"20:04
Vog-work102420:05
a|wenVog-work: then your file-size limit is 16G20:05
Vog-workMethod for increasing that?20:06
oruworkhow to unzip a .zip file ?20:06
a|wenVog-work: i'm not 110% sure, but i think it is pretty static after the filesystem is created20:07
Vog-workshit....20:08
Vog-workoke... looks like I'm going to ftp to another box and uncompress and send it back uncompressed...20:08
Vog-workthx for the help alwen20:09
a|wenVog-work: well if one of the files is more than 16G (it looks like it) then you're in trouble anyway20:09
a|wenoruwork: install "unzip"20:09
Vog-workYeah, I was sent this file from a remote site. I'm going to get them to split up the directories..20:10
a|wenit is quite a large file in any case20:11
Vog-workYeah, I htink it is a database.20:12
a|wenVog-work: if you get the chance to make a new ext3 system with 4kb blocks, the limit will increase to 2TB20:12
Vog-worka|wen: I think it was setup that was dur to the RAID system it was on. I'm not the primary admin on this system. Just filling in for someone on vacation.20:15
a|wenVog-work: the "good" position ... make things work; but please don't change anything20:17
Vog-workYep20:18
oruworkwhat is the default chmod for all files ?20:22
oruworkhow can i make a directory and all files in it writable ?20:26
henriquelmhello there20:38
oruworkis there a way to find out what group apache2 server belongs to ?20:57
geniiwww-data21:13
blimehttp://pastebin.com/d2f58693e  <-- 30 line configuration from name-based virtual host configuration file in sites-available/21:34
blimeWas wondering if there are any security issues in the configuration.21:34
andolWhat do we think about bug #370445? Is it a bug or not?21:47
uvirtbotLaunchpad bug 370445 in mysql-dfsg-5.1 "MySQL-server-5.1 indirectly installs postfix" [Undecided,Incomplete] https://launchpad.net/bugs/37044521:47
geniiIf I had some other mta I'd be slightly (if not more) upset if postfix got installed as some dep21:52
andolgenii: No, no, the recommendation from bsd-mailx is postfix, or other mta. In other words it won't install postfix if you already have another mta installed.21:54
andol(At least it shouldn't. If it does, then that definetly is a bug)21:54
a|wenandol: it doesn't (i have the exim mta-thingy and that makes it happy enough)21:55
uvirtbotNew bug: #370542 in apache2 (main) "Accessing http://localhost gives without reason a 403 Forbidden error page" [Undecided,New] https://launchpad.net/bugs/37054221:55
netdurperhaps am doing something stupid, I have installed php5 and apache2, I browse to .php but instead of normal "executing php script", firefox try to download the page (which the php file with source)21:59
a|wennetdur: you probably want libapache2-mod-php522:00
netdura|wen: it is installed22:01
andolnetdur: You might have to restart apache2 sometimes for those changes to take effect. Also, firefox might cache some responses, so restart you'r web browser never hurts.22:02
a|wenrestart (or at least reload) is needed22:02
netdurthanks guys22:06
andolnetdur: worked?22:07
netdurandol: yes, restarted apache and worked just fine22:08
andolnetdur: Great. Sometimes apt, depending on the packages, will restart apache automaticlly if concidered needed, but not always.22:11
andolnetdur: In other words, if possible, a restart or a reload of apache never hurts when you've done some changes to the system.22:12
=== ikonia_ is now known as ikonia
netdurandol: thank you22:26
simplexioMay  2 00:46:44 4tune smbd[17803]: Mount of private directory return code [256]22:45
simplexioand samba mount fails22:45
TimReichharthey guys I need to know how to repoint my domain name for email server do I point it to my ip address or to this mail.kustomjs.com23:35
alice583is ubuntu server appropriate for high load web servers or is it not secure enough for that?23:39
TimReichhartjoin #postfix23:40
andolalice583: Well, do you concider wikipedia as high load web servers?23:45
simplexiolike anny server its good as its admin is23:45
alice583andol, yes23:46
alice583andol, wikipedia runs on ubuntu server?23:46
andolalice583: http://arstechnica.com/open-source/news/2008/10/wikipedia-adopts-ubuntu-for-its-server-infrastructure.ars23:46
andolBesides that, I'd tend to somewhat agree with simplexio.23:48
alice583yeah. makes sense. except that I heard that ubuntu tends to have many more exploitable bugs than other servers, but I guess this may have just been mindless bashing by someone with no clue.23:49
ScottKalice583: It's mindless bashing.23:52
andolalice583: Well, on that area I wouldn' say that there is too much diffrence between diffrent Linux distributions. After all, it is basically the same software. Following a bunch of announce- lists I would say security fixes get commit about the same, on average.23:53
andolalice583: Of course, if you run the latest Ubuntu or Fedora you won't get as well tested software as if you run an older LTS version of Ubuntu, or CentOS/RHEL for that matter.23:53
ScottKUbuntu has gone to some trouble to compile with hardening options that make it more difficult to exploit some classes of issue.23:54
ScottKissue/issues23:54
alice583so, you would recommend using an older LTS version like 8.04 instead of 9.04?23:54
andolalice583: Unless there is some specific feauture/version you need is 8.10 or 9.04, yes.23:55
simplexioand actually what actually means something is not how much bugs/exploits systems has, its how you prepared to them and what you do when shit hits the fan, as it does sooner or later23:55
andolsimplexio: You have to stop saying things I agree completly with :-)23:57
alice583"as it does sooner or later"... you'd think that as long as wikipedia or twitter or whatever stays online it has not been exploited (of course, a naive assumption)... do such services get hacked from time to time (in the sense of, someone malicious gets root access), and the only reason they're still alive is because they make frequent backups and hash passwords (instead of storing them in plain text), and similar things?23:59

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