/srv/irclogs.ubuntu.com/2012/10/06/#ubuntu-server.txt

=== cpg is now known as cpg|away
=== cpg|away is now known as cpg
=== matsubara is now known as matsubara-afk
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
=== Ursinha is now known as Ursinha-afk
=== Ursinha-afk is now known as Ursinha
katronixhi all, can someone recommend a good easy to use email server?02:44
=== cpg is now known as cpg|away
SpamapSkatronix: TurnKey Linux makes a nice Ubuntu based machine image for Zimbra03:06
testHello! :)03:11
testI 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:13
SpamapStest: sorry, camera what?03:14
testJust as cameras around the house.03:15
testsecurity cameras* if that makes more sense.03:15
SpamapStest: can you explain why you think "the ip conflicts wiht the cameras set up" ?03:19
SpamapStest: are you using NAT forwarding from your "real" IP to the private ips behind your router?03:19
testSpamapS: When I type in my external IP, it displays nothing but a html title that save Web Client for EDVS/EVS ( cameras ).03:21
testSpamaps: Can you explain your last question?03:21
SpamapStest: no, sorry03:22
SpamapStest: its going to be long and complex03:22
SpamapStest: this is not really the best way to learn about IP addresses03:22
testSpamaps: I understand it now.03:22
testBy "real" IP are you referring to external IP?03:23
SpamapSsure03:24
=== cpg|away is now known as cpg
uvirtbotNew bug: #1062031 in maas "pserv is oopsing: "exceptions.TypeError: not all arguments converted during string formatting"" [Critical,In progress] https://launchpad.net/bugs/106203103:35
SpamapSwhat the.. ubuntu-cloudimg-query in precise doesn't understand 'quantal' ?!03:46
=== cpg is now known as cpg|away
=== cpg|away is now known as cpg
=== fenris is now known as Guest20941
=== kInOzAwA is now known as Guest60432
=== Guest60432 is now known as kInOzAwA
=== kInOzAwA is now known as Guest75130
=== dendrobates is now known as dendro-afk
=== Guest75130 is now known as kInOzAwA
=== kInOzAwA is now known as kInOzAwA_
=== fenris_ is now known as Guest71909
=== Guest71909 is now known as ejat
=== n0ts_off is now known as n0ts
=== Ursinha is now known as Ursinha-afk
=== glebihan__ is now known as glebihan
=== cpg is now known as cpg|away
kingcrimsonHi all10:03
kingcrimsonAnyone have any experience of ldap/kerberos?10:03
=== cpg|away is now known as cpg
bz0bSo 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 AD10:59
bz0bAnyone have any ideas if this is possible?10:59
=== cpg is now known as cpg|away
Amzulhi, 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:38
=== n0ts is now known as n0ts_off
=== n0ts_off is now known as n0ts
RoyKAmzul: it is11:59
Amzulany idea what can be the problem in that case :\12:00
Amzulmaybe i have a bad iso file12:00
Amzulyes, that was the problem, my iso is only 57mb12:02
=== n0ts is now known as n0ts_off
=== n0ts_off is now known as n0ts
=== dendro-afk is now known as dendrobates
frojndHi 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:16
SpamapSfrojnd: are you sure you're ending up in the same dir?12:27
frojndSpamapS: It was my mistake, I just doble checked I made chown -R root:sftponly /var/www/test_readwrite12:29
frojndSpamapS: so now it shows 0 1003 under Owner/Groups12:29
frojndSpamapS: But I still can't upload files to that dir with FileZilla, I've tried to disconnect/reconnect but nothing12:30
RoyKfrojnd: you haven't allowed the group to write there12:30
RoyKchmod g+w12:30
frojndwhat a newbie mistake :/12:31
frojndthanx RoyK for your eyes :)12:33
RoyK:)12:33
=== fenris is now known as Guest76633
=== n0ts is now known as n0ts_off
=== doko_ is now known as doko
=== n0ts_off is now known as n0ts
=== n0ts is now known as n0ts_off
=== n0ts_off is now known as n0ts
=== n0ts is now known as n0ts_off
=== n0ts_off is now known as n0ts
=== n0ts is now known as n0ts_off
=== n0ts_off is now known as n0ts
=== Guest76633 is now known as ejat
=== n0ts is now known as n0ts_off
cluelesspersonSo..17:28
cluelesspersonApache has suddenly stopped responding.17:29
cluelesspersonI get no http response.17:29
cluelesspersonrestart17:30
cluelesspersonand nothing17:30
cluelesspersonit's gone17:30
cluelesspersonso wtf17:32
blkperlhave you checked the logs?17:37
=== n0ts_off is now known as n0ts
cluelesspersonblkperl: Yes, I checked error logs for apache, nothing of evidence17:46
=== n0ts is now known as n0ts_off
blkperlyou need to figure out if its a network problem, configuration problem, or something else17:52
cluelesspersonblkperl: I had everything configured, it was working, I restarted my comptuer, and the guest VM17:56
cluelesspersonand BAM, it doesn't work17:56
cluelesspersonPort forwarding works, I'm able to putty in on 22, on localhost.17:56
cluelesspersonbut localhost:80 doesn't work17:56
cluelesspersonor localhost:900117:56
=== n0ts_off is now known as n0ts
=== n0ts is now known as n0ts_off
drag0niusrecently half times i log into my ubuntu server i get message about some zombie process19:28
drag0niusbut not every time, i tried searching for commands to find it but no success19:28
=== n0ts_off is now known as n0ts
=== balloons is now known as Guest33844
=== Bilge_ is now known as Bilge
=== n0ts_off is now known as n0ts
=== blkperl_ is now known as blkperl
=== n0ts is now known as n0ts_off
cluelesspersonHello.21:42
cluelesspersonI'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
sarnoldcluelessperson: are there any related messages in /var/log/syslog ?21:43
sarnoldcluelessperson: does apache have its own log files? are there any messages in those?21:44
=== n0ts_off is now known as n0ts
sarnoldcluelessperson: 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:44
cluelesspersonsarnold: there is a process listening on 80.  Nothing related or of evidence in apaches log file or system log.21:45
sarnoldcluelessperson: is it an apache process or another webserver?21:46
cluelesspersonsarnold: I haven't installed another webserver, should only be apache.21:46
cluelesspersonsarnold: The only other webserver is for subsonic, and that's on port 80.21:46
sarnoldcluelessperson: aha :) is apache configured to listen on port 80 or another port?21:46
cluelesspersonsarnold: I have apache proxyforward mysite.com/media to mysite.com:9001/media21:46
cluelesspersonsarnold: I'm sorry, I mispoke, it's on port 900121:47
sarnoldaha21:47
cluelesspersonsarnold: Subsonic is 9001, apache is http 80, I have apache proxy mysite.com/media to mysite.com:9001/media internally.21:48
cluelesspersonsarnold: I have this server running in as a Guest with virtual box.21:48
cluelesspersonsarnold: 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
cluelesspersonsarnold: http://psithurisms.com/21:49
sarnoldheh, sure enough, that loaded quickly...21:50
sarnoldand loaded nothing. :)21:50
cluelesspersonyes21:50
sarnold$ HEAD http://psithurisms.com/21:51
sarnold200 Assumed OK21:51
sarnoldClient-Date: Sat, 06 Oct 2012 21:51:09 GMT21:51
sarnoldClient-Peer: 76.184.220.159:8021:51
sarnoldClient-Response-Num: 121:51
cluelesspersonsarnold: 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:51
sarnoldcluelessperson: hrm, you can run 'ssh localhost:22' and it'll connect to the VM??21:52
cluelesspersonsarnold: I use windows 7, and yes, Putty connects on localhost:2221:52
sarnoldokay, that strikes me as odd. what do you get for 'ping localhost'? does that get you 127.0.0.1 or something else?21:53
=== n0ts is now known as n0ts_off
cluelesspersonsarnold:  yes, I get 127.0.0.121:55
sarnoldcluelessperson: I'm mighty confused; I wouldn't have expected that ssh connection to work.21:55
cluelesspersonsarnold: why is that?21:56
sarnoldcluelessperson: I wouldn't expect your VM to be able to accept() connections made to localhost on the host..21:57
cluelesspersonsarnold: It's because I have the VM forwarding the host's ports21:57
cluelesspersonsarnold: I have never had a problem with it until now.21:57
cluelesspersonsarnold: if you want to poke around you can teamviewer in.22:00
cluelesspersonsarnold: 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:00
cluelesspersonsarnold: so yeah.  :/ I'm freaking out because I've been working on my site and got everything perfect, now it's just. blah22:06
sarnoldcluelessperson: 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:06
sarnoldcluelessperson: what does the windows equivalent of 'netstat -anp' show? :)22:07
PlizzoI 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
cluelesspersonActive connections, none22:07
cluelesspersonsarnold:  any ideas?22:13
sarnoldcluelessperson: no, sorry. Windows is really outside of my experience. :/22:13
cluelesspersonsarnold: yes, but windows is forwarding correctly i'm pretty sure22:14
cluelesspersonPlizzo: Sorry, what?22:24
cluelesspersonPlizzo: a Raid5 is useless if all partitions on the same drive..22:25
sarnoldcluelessperson: heh, good point. I don't know how I didn't see that...22:27
sarnoldPlizzo: you may wish to drop the raid5 altogether: http://www.miracleas.com/BAARF/RAID5_versus_RAID10.txt22:27
sarnoldalso, http://www.baarf.com/22:28
cluelesspersonI'll have to look into RAID 10 later.22:28
cluelesspersonsarnold:  I use a RAID 1 for my archives, photography and the like.22:28
escottI 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 it22:29
sarnoldcluelessperson: I should do the same. I've just got bodged-together backups; it isn't very satisfying.22:30
sarnoldescott: excellent, thanks for actual details. :)22:30
cluelesspersonsarnold: 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:32
sarnoldcluelessperson: 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 chroots22:33
cluelesspersonsarnold: 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:33
sarnoldcluelessperson: hahaha22:34
cluelesspersonsarnold: 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 functions22:35
cluelesspersonsarnold: Hack my website?  Good for you, you're restricted to a v22:36
cluelesspersonVM stuck on a certain folder.22:36
cluelesspersonand the VM is backed up as well.22:36
cluelesspersonsarnold: 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:37
cluelesspersonsarnold: 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 things22:38
sarnoldcluelessperson: oof, yeah, it's only a savings if it is reliable..22:38
sarnoldotherwise, it sounds nice. :)22:38
sarnoldgiven enough ram, of course.22:38
cluelesspersonsarnold: Right now 16 GB, I will double it shortly.22:39
cluelesspersonsarnold: Not that I need to.22:39
Plizzoescott: 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
cluelesspersonsarnold: I don't like RAID 5.  I would just go mirror.22:40
cluelesspersonThat's my experience based on them dying in the field.22:41
sarnoldcluelessperson: 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
escottPlizzo, 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 again22:41
Plizzoescott: 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
cluelesspersonsarnold: I don't understand why this isn't working, sigh.22:42
cluelesspersonsarnold:  I've streamlined the reinstallation of the VM though.22:43
escottPlizzo, and reboot22:43
cluelesspersonsarnold: 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:43
Plizzoescott: That's it, the raid should then assigned a volume as usual?22:44
=== n0ts_off is now known as n0ts
escottPlizzo, 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 boot22:45
Plizzoescott: 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:46
escottPlizzo, sudo update-initramfs -k all22:47
escottor -uk or something like that22:47
PlizzoAnd at what step do I run that? :/22:47
escottPlizzo, after you put the mdadm.conf and fstab back the way you want22:49
Plizzoescott: Alright, I'll probably just use my old fstab and make sure that's it pointing to the correct drive22:49
Plizzopartition*22:49
Plizzoescott: Thanks22:49
Plizzoescott: Would you recommend 12.04 or 12.10?22:49
sarnold12.04 has long-term support (LTS) -- it'll still be getting security updates after 12.10 has been retired.22:51
Plizzosarnold: So 12.04 is the best option at the moment? :)22:51
Plizzosarnold: LTS releases are preferred I guess22:51
sarnoldPlizzo: 12.04 also has the benefit of existing. :)22:51
Plizzosarnold: So does 12.10, but I just realized it's a beta :P22:52
=== n0ts is now known as n0ts_off
cluelesspersonPlizzo: sarnold  I'm warning you now.  I've had several updates come out that have made HUGE headaches for me. :(23:00
cluelesspersonI've had to reinstall multiple times23:00
Plizzocluelessperson: What has been a problem?23:01
Plizzocluelessperson: What issues have you had?23:06
patdk-lapheh?23:09
patdk-lapreinstall cause of an update?23:09
=== glebihan_ is now known as glebihan
cluelesspersonpatdk-lap: I don't know enough about linux other than to get it running23:10
cluelesspersonpatdk-lap: I come here to ask help and learn why but no one ever knows what happened to everything,.23:11
=== glebihan_ is now known as glebihan
PlizzoDoes 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
Plizzodd if=/dev/sdb of=/home/jonathan/Storage/Backups/Lumen/lumen_cc.img conv=sync,noerror bs=64K23:24
sarnoldPlizzo: why 'sync'?23:25
Plizzosarnold: I was recommended23:25
Plizzosarnold: Would that be bad?23:26
sarnoldPlizzo: 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
Plizzosarnold: Good point23:26
Plizzosarnold: Can you recommend any good backup tool, I just want to create a carbon copy of my SSD23:27
escottPlizzo, rsync23:29
escottPlizzo, never understood the point of dd copies... if the SSD dies its not like you will get a new SSD that is the exact same23:29
Plizzoescott: Alright, I'll look it up, thanks :)23:30
escottPlizzo, also you cannot dd a mounted filesystem23:30
sarnoldescott: but you can mount a dd ..23:34
escottsounds like a bad pornographic joke23:35
sarnoldrsync may munge permissions or symlinks or device files, you've got to study the manpage for longer to get a good copy ;)23:35
sarnoldhaha23:35
escottyou can't dd a mount, buy you can mount a dd23:35
sarnold*ba dum tish*23:36
escottin 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 happen23:36
sarnoldright, it'd only work if it were mounted readonly23:36
sarnoldwhich is an odd state for a / to say the least23:36
sarnoldI 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
escottanother 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 copy23:37
escottunless 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 anyways23:37
escotti think Plizzo is pretty new to things so i wouldn't want to make any assumptions23:38
escottanyways. goodnight all23:38
sarnold'night escott :) good advice. thanks.23:38
=== n0ts_off is now known as n0ts
=== n0ts is now known as n0ts_off

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