[02:44] <katronix> hi all, can someone recommend a good easy to use email server?
[03:06] <SpamapS> katronix: TurnKey Linux makes a nice Ubuntu based machine image for Zimbra
[03:11] <test> Hello! :)
[03:13] <test> I setup a server and most of the things are fine, except when attempting to connecting to it externally the ip conflicts with the cameras set up. How would I set it up to where I can access the actual server also, if not both at the same time at least set the Ubuntu Server as default instead of the cameras.
[03:14] <SpamapS> test: sorry, camera what?
[03:15] <test> Just as cameras around the house.
[03:15] <test> security cameras* if that makes more sense.
[03:19] <SpamapS> test: can you explain why you think "the ip conflicts wiht the cameras set up" ?
[03:19] <SpamapS> test: are you using NAT forwarding from your "real" IP to the private ips behind your router?
[03:21] <test> SpamapS: When I type in my external IP, it displays nothing but a html title that save Web Client for EDVS/EVS ( cameras ).
[03:21] <test> Spamaps: Can you explain your last question?
[03:22] <SpamapS> test: no, sorry
[03:22] <SpamapS> test: its going to be long and complex
[03:22] <SpamapS> test: this is not really the best way to learn about IP addresses
[03:22] <test> Spamaps: I understand it now.
[03:23] <test> By "real" IP are you referring to external IP?
[03:24] <SpamapS> sure
[03:46] <SpamapS> what the.. ubuntu-cloudimg-query in precise doesn't understand 'quantal' ?!
[10:03] <kingcrimson> Hi all
[10:03] <kingcrimson> Anyone have any experience of ldap/kerberos?
[10:59] <bz0b> So basically I need to setup 2 hp servers with 24tb disk arrays that need to be clustered for HA, authenticated via AD, and setup with an NFS, AFP (netatalk), and Samba Share, and they all have to be highly available, and synced through both servers, and all authenticated with AD
[10:59] <bz0b> Anyone have any ideas if this is possible?
[11:38] <Amzul> hi, hope it's the right place. i am trying to mount ubuntu-12.04.1-server-amd64.iso into my virtualbox. i am keep getting fatal error: no bootable medium were found. is this iso is bootable?
[11:59] <RoyK> Amzul: it is
[12:00] <Amzul> any idea what can be the problem in that case :\
[12:00] <Amzul> maybe i have a bad iso file
[12:02] <Amzul> yes, that was the problem, my iso is only 57mb
[12:16] <frojnd> Hi there. I've created a chrooted sftp environment and a directory test_readwrite with following permissions: drwxr-xr-x  2 root sftponly 4096 Oct  6 14:11 test_readwrite, when I use filezilla and try to create directory in the directory mentioned before, I get permission denied. I've also noticed that Filezilla shows 0 0 Under Owner/Group, as if it wouldn't recognize sftponly group? What am I missing here?
[12:27] <SpamapS> frojnd: are you sure you're ending up in the same dir?
[12:29] <frojnd> SpamapS: It was my mistake, I just doble checked I made chown -R root:sftponly /var/www/test_readwrite
[12:29] <frojnd> SpamapS: so now it shows 0 1003 under Owner/Groups
[12:30] <frojnd> SpamapS: But I still can't upload files to that dir with FileZilla, I've tried to disconnect/reconnect but nothing
[12:30] <RoyK> frojnd: you haven't allowed the group to write there
[12:30] <RoyK> chmod g+w
[12:31] <frojnd> what a newbie mistake :/
[12:33] <frojnd> thanx RoyK for your eyes :)
[12:33] <RoyK> :)
[17:28] <cluelessperson> So..
[17:29] <cluelessperson> Apache has suddenly stopped responding.
[17:29] <cluelessperson> I get no http response.
[17:30] <cluelessperson> restart
[17:30] <cluelessperson> and nothing
[17:30] <cluelessperson> it's gone
[17:32] <cluelessperson> so wtf
[17:37] <blkperl> have you checked the logs?
[17:46] <cluelessperson> blkperl: Yes, I checked error logs for apache, nothing of evidence
[17:52] <blkperl> you need to figure out if its a network problem, configuration problem, or something else
[17:56] <cluelessperson> blkperl: I had everything configured, it was working, I restarted my comptuer, and the guest VM
[17:56] <cluelessperson> and BAM, it doesn't work
[17:56] <cluelessperson> Port forwarding works, I'm able to putty in on 22, on localhost.
[17:56] <cluelessperson> but localhost:80 doesn't work
[17:56] <cluelessperson> or localhost:9001
[19:28] <drag0nius> recently half times i log into my ubuntu server i get message about some zombie process
[19:28] <drag0nius> but not every time, i tried searching for commands to find it but no success
[21:42] <cluelessperson> Hello.
[21:43] <cluelessperson> I've had everything working nicely for awhile.  Recently I restarted my pc and suddenly apache does not respond anymore.  There are no errors.  I've reloaded, restarted.  I need help. ;_;
[21:43] <sarnold> cluelessperson: are there any related messages in /var/log/syslog ?
[21:44] <sarnold> cluelessperson: does apache have its own log files? are there any messages in those?
[21:44] <sarnold> cluelessperson: does 'netstat -anp | grep 80' show an apache process listening on the default http port? (it'll probably also show unrelated sockets too, so be sure to read that one carefully..)
[21:45] <cluelessperson> sarnold: there is a process listening on 80.  Nothing related or of evidence in apaches log file or system log.
[21:46] <sarnold> cluelessperson: is it an apache process or another webserver?
[21:46] <cluelessperson> sarnold: I haven't installed another webserver, should only be apache.
[21:46] <cluelessperson> sarnold: The only other webserver is for subsonic, and that's on port 80.
[21:46] <sarnold> cluelessperson: aha :) is apache configured to listen on port 80 or another port?
[21:46] <cluelessperson> sarnold: I have apache proxyforward mysite.com/media to mysite.com:9001/media
[21:47] <cluelessperson> sarnold: I'm sorry, I mispoke, it's on port 9001
[21:47] <sarnold> aha
[21:48] <cluelessperson> sarnold: Subsonic is 9001, apache is http 80, I have apache proxy mysite.com/media to mysite.com:9001/media internally.
[21:48] <cluelessperson> sarnold: I have this server running in as a Guest with virtual box.
[21:49] <cluelessperson> sarnold: I can connect from the host machine, by localhost:22 to the VM.  Port 80 is configured the exact same way, but there's no response.
[21:49] <cluelessperson> sarnold: http://psithurisms.com/
[21:50] <sarnold> heh, sure enough, that loaded quickly...
[21:50] <sarnold> and loaded nothing. :)
[21:50] <cluelessperson> yes
[21:51] <sarnold> $ HEAD http://psithurisms.com/
[21:51] <sarnold> 200 Assumed OK
[21:51] <sarnold> Client-Date: Sat, 06 Oct 2012 21:51:09 GMT
[21:51] <sarnold> Client-Peer: 76.184.220.159:80
[21:51] <sarnold> Client-Response-Num: 1
[21:51] <cluelessperson> sarnold: I don't bother with a firewall on the VM because only 3 ports are enabled to access it from the host machine, and my host machine firewall is currently off to be sure.
[21:52] <sarnold> cluelessperson: hrm, you can run 'ssh localhost:22' and it'll connect to the VM??
[21:52] <cluelessperson> sarnold: I use windows 7, and yes, Putty connects on localhost:22
[21:53] <sarnold> okay, that strikes me as odd. what do you get for 'ping localhost'? does that get you 127.0.0.1 or something else?
[21:55] <cluelessperson> sarnold:  yes, I get 127.0.0.1
[21:55] <sarnold> cluelessperson: I'm mighty confused; I wouldn't have expected that ssh connection to work.
[21:56] <cluelessperson> sarnold: why is that?
[21:57] <sarnold> cluelessperson: I wouldn't expect your VM to be able to accept() connections made to localhost on the host..
[21:57] <cluelessperson> sarnold: It's because I have the VM forwarding the host's ports
[21:57] <cluelessperson> sarnold: I have never had a problem with it until now.
[22:00] <cluelessperson> sarnold: if you want to poke around you can teamviewer in.
[22:00] <cluelessperson> sarnold: I suspect this happend during a botched shutdown.  I don't think the VM closed gracefully.  I'm not sure, but it should work fine when reset. :/
[22:06] <cluelessperson> sarnold: so yeah.  :/ I'm freaking out because I've been working on my site and got everything perfect, now it's just. blah
[22:06] <sarnold> cluelessperson: hrm, if the VM system can forward the host's ports, then either there's a firewall active or the VM's got the ports open and some proxying in place. Iw wonder...
[22:07] <sarnold> cluelessperson: what does the windows equivalent of 'netstat -anp' show? :)
[22:07] <Plizzo> I have an installation of Ubuntu Server 11.10 with the system on an SSD and all my storage on a RAID5 partition. If I wipe my SSD and perform a clean install of my system, will it in any way affect the status of the RAID, and will I be able to mount it instantly through fstab like I do today?
[22:07] <cluelessperson> Active connections, none
[22:13] <cluelessperson> sarnold:  any ideas?
[22:13] <sarnold> cluelessperson: no, sorry. Windows is really outside of my experience. :/
[22:14] <cluelessperson> sarnold: yes, but windows is forwarding correctly i'm pretty sure
[22:24] <cluelessperson> Plizzo: Sorry, what?
[22:25] <cluelessperson> Plizzo: a Raid5 is useless if all partitions on the same drive..
[22:27] <sarnold> cluelessperson: heh, good point. I don't know how I didn't see that...
[22:27] <sarnold> Plizzo: you may wish to drop the raid5 altogether: http://www.miracleas.com/BAARF/RAID5_versus_RAID10.txt
[22:28] <sarnold> also, http://www.baarf.com/
[22:28] <cluelessperson> I'll have to look into RAID 10 later.
[22:28] <cluelessperson> sarnold:  I use a RAID 1 for my archives, photography and the like.
[22:29] <escott> I would assume that Plizzo is saying the data is on RAID5 spinning disks. in which case the answer to his question is to backup his mdadm.conf then resintall and restore it
[22:30] <sarnold> cluelessperson: I should do the same. I've just got bodged-together backups; it isn't very satisfying.
[22:30] <sarnold> escott: excellent, thanks for actual details. :)
[22:32] <cluelessperson> sarnold: My setup is 120GB SSD for OS, 1 TB 7200 for program files, 2x 2TB WD Caviar Blacks for RAID 1 for archive.  And a bitlocker encrypted 1 TB for testing.
[22:33] <sarnold> cluelessperson: very nice. :) i've got a 60gb SSD for OS, 1TB 7200 for /home, VMs, and so forth. It worked fine for e.g. Top Gear, but it's way too slow for VMs, I need a new SSD for those and build chroots
[22:33] <cluelessperson> sarnold: I have named the 1TB drive "Constant" because it's constantly used, for torrent buffer, program files, website that the VM uses.  That keeps spun up.  My Archive RAID is kept spun down most of the time.  So they'll last and last and last and last. :P  And they're mirrored so if anything goes wrong.  Just pop in another hard drive.
[22:34] <sarnold> cluelessperson: hahaha
[22:35] <cluelessperson> sarnold: It makes me feel safe that I can tell when my archive spins up.  Any important data/ or restricted is on there, if I'm not using my computer and that spins up?  Icheck things out.  I use the VM to isolate all the big primary web functions
[22:36] <cluelessperson> sarnold: Hack my website?  Good for you, you're restricted to a v
[22:36] <cluelessperson> VM stuck on a certain folder.
[22:36] <cluelessperson> and the VM is backed up as well.
[22:37] <cluelessperson> sarnold: Just switch the guest VM to the backup and all is right as rain again.  Website data/media is all saved outside the VM, the vm only handles settings.
[22:38] <cluelessperson> sarnold: Right now though, I'm just trying to get to a stable configuration.  This is pissing me off because I've had issues that require me to reinstall the VM every freaking week.  Ubuntu update, virtualbox update, etc etc, they break things
[22:38] <sarnold> cluelessperson: oof, yeah, it's only a savings if it is reliable..
[22:38] <sarnold> otherwise, it sounds nice. :)
[22:38] <sarnold> given enough ram, of course.
[22:39] <cluelessperson> sarnold: Right now 16 GB, I will double it shortly.
[22:39] <cluelessperson> sarnold: Not that I need to.
[22:40] <Plizzo> escott: Do I really need to bother about the RAID5, do I need to reinstall mdadm and set the config before I can start using them again?
[22:40] <cluelessperson> sarnold: I don't like RAID 5.  I would just go mirror.
[22:41] <cluelessperson> That's my experience based on them dying in the field.
[22:41] <sarnold> cluelessperson: agreed. the nice part of 10 is that you can go for more than two drives; just stripe over 4, or 6, or whatever.
[22:41] <escott> Plizzo, you don't have to backup the mdadm.conf, but it will make things easier. without the mdadm you have to rescan the devices to build the array again
[22:42] <Plizzo> escott: So I should backup all config files I want to save, including the mdadm.conf and then reinstall, once installed I should install mdadm, upload the old config and do what?
[22:42] <cluelessperson> sarnold: I don't understand why this isn't working, sigh.
[22:43] <cluelessperson> sarnold:  I've streamlined the reinstallation of the VM though.
[22:43] <escott> Plizzo, and reboot
[22:43] <cluelessperson> sarnold: I just hadn't backed it up recently, my recent configurations aren't backed up, better to go ahead and reinstall I guess. sigh.
[22:44] <Plizzo> escott: That's it, the raid should then assigned a volume as usual?
[22:45] <escott> Plizzo, all the definitions of what raid array to mount where are in mdadm.conf and fstab. you might want to update-initramfs to be able to make those available at early boot
[22:46] <Plizzo> escott: I'm decent with Linux but a friend helped me to set up the array the first time. How do I use update-initramfs?
[22:47] <escott> Plizzo, sudo update-initramfs -k all
[22:47] <escott> or -uk or something like that
[22:47] <Plizzo> And at what step do I run that? :/
[22:49] <escott> Plizzo, after you put the mdadm.conf and fstab back the way you want
[22:49] <Plizzo> escott: Alright, I'll probably just use my old fstab and make sure that's it pointing to the correct drive
[22:49] <Plizzo> partition*
[22:49] <Plizzo> escott: Thanks
[22:49] <Plizzo> escott: Would you recommend 12.04 or 12.10?
[22:51] <sarnold> 12.04 has long-term support (LTS) -- it'll still be getting security updates after 12.10 has been retired.
[22:51] <Plizzo> sarnold: So 12.04 is the best option at the moment? :)
[22:51] <Plizzo> sarnold: LTS releases are preferred I guess
[22:51] <sarnold> Plizzo: 12.04 also has the benefit of existing. :)
[22:52] <Plizzo> sarnold: So does 12.10, but I just realized it's a beta :P
[23:00] <cluelessperson> Plizzo: sarnold  I'm warning you now.  I've had several updates come out that have made HUGE headaches for me. :(
[23:00] <cluelessperson> I've had to reinstall multiple times
[23:01] <Plizzo> cluelessperson: What has been a problem?
[23:06] <Plizzo> cluelessperson: What issues have you had?
[23:09] <patdk-lap> heh?
[23:09] <patdk-lap> reinstall cause of an update?
[23:10] <cluelessperson> patdk-lap: I don't know enough about linux other than to get it running
[23:11] <cluelessperson> patdk-lap: I come here to ask help and learn why but no one ever knows what happened to everything,.
[23:24] <Plizzo> Does this dd command look alright to you? I'm attempting to create a carbon copy from my SDD onto my mechanical disks that are raided. The raid is mounted in my home folder, but dd won't care about the mount right?
[23:24] <Plizzo> dd if=/dev/sdb of=/home/jonathan/Storage/Backups/Lumen/lumen_cc.img conv=sync,noerror bs=64K
[23:25] <sarnold> Plizzo: why 'sync'?
[23:25] <Plizzo> sarnold: I was recommended
[23:26] <Plizzo> sarnold: Would that be bad?
[23:26] <sarnold> Plizzo: it just feels like it has the potential to modify your data. would it only modify the final block, in case the final block isn't a multiple of 64K ?
[23:26] <Plizzo> sarnold: Good point
[23:27] <Plizzo> sarnold: Can you recommend any good backup tool, I just want to create a carbon copy of my SSD
[23:29] <escott> Plizzo, rsync
[23:29] <escott> Plizzo, never understood the point of dd copies... if the SSD dies its not like you will get a new SSD that is the exact same
[23:30] <Plizzo> escott: Alright, I'll look it up, thanks :)
[23:30] <escott> Plizzo, also you cannot dd a mounted filesystem
[23:34] <sarnold> escott: but you can mount a dd ..
[23:35] <escott> sounds like a bad pornographic joke
[23:35] <sarnold> rsync may munge permissions or symlinks or device files, you've got to study the manpage for longer to get a good copy ;)
[23:35] <sarnold> haha
[23:35] <escott> you can't dd a mount, buy you can mount a dd
[23:36] <sarnold> *ba dum tish*
[23:36] <escott> in any case i think Plizzo was thinking he could dd /dev/sdb where his / filesystem was running and get a valid image out of it... which would not happen
[23:36] <sarnold> right, it'd only work if it were mounted readonly
[23:36] <sarnold> which is an odd state for a / to say the least
[23:37] <sarnold> I had been under the assumption that he'd boot to another / and have his SSD unmounted, but that's a large assumption on my part. :)
[23:37] <escott> another thing against dd copies. they sound great in theory, but the hardware always changes because the hardware is what fails, and you have to turn the system off to make such a copy
[23:37] <escott> unless you are using a virtual machine manager and what snapshots because you are making big changes to the vm image in which case you probably have some kind of snapshotting capability anyways
[23:38] <escott> i think Plizzo is pretty new to things so i wouldn't want to make any assumptions
[23:38] <escott> anyways. goodnight all
[23:38] <sarnold> 'night escott :) good advice. thanks.