/srv/irclogs.ubuntu.com/2011/11/07/#ubuntu-server.txt

jbondhusHi.00:08
jbondhusI'm having a problem with nfs on my server.00:08
jbondhusIs anyone here familiar with nfs?00:10
jbondhusHello?00:11
EvilResistanceyou should usually explain the problem :/00:11
EvilResistancein order to get help00:11
EvilResistancethen if anyone has experience they'll respond00:11
jbondhusOk, sorry I was waiting to see if there was anyone here.00:11
EvilResistancealternatively, #ubuntu00:11
jbondhusThe server is running Ubuntu 11.04 server. The client, which is running Mac OS X is not recognizing the files and folders on the NFS mount. Here are the settings on the server and client.00:13
jbondhusSERVER SETTINGS:00:13
jbondhusExport Folder:00:13
jbondhusExport Folder Owner:00:13
jbondhusjon:80 (me and admin group)00:13
jbondhusExport Folder Permissions:00:13
jbondhus-rwxrwxrwx00:13
jbondhusExport Options:00:13
jbondhusCLIENT SETTINGS:00:13
jbondhusRemote NFS URL00:13
jbondhusnfs://10.0.1.100/jbondhus00:13
jbondhusMount Location00:13
jbondhusAdvanced Mount Parameters00:13
jbondhusNone00:13
EvilResistancestop00:13
EvilResistancepastebin00:13
EvilResistance!pastebin00:13
ubottuFor posting multi-line texts into the channel, please use http://paste.ubuntu.com | To post !screenshots use http://imagebin.org/?page=add | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.00:13
jbondhusOk, here's the URL, sorry, i'm new to IRC.00:14
jbondhushttp://paste.ubuntu.com/730553/00:14
RoyKjbondhus: the OS X NFS stack is somewhat sloppy, using netatalk works better00:16
jbondhusHow do I use that?00:17
jbondhusThe reason I'm using NFS is because it's the fastest protocol.00:18
jbondhusI have to make NFS work.00:23
RoyKjbondhus: apt-get install netatalk00:26
jbondhusOn the server?00:26
RoyKNFS might be a bit faster, but you won't notice the difference in most circumstances00:26
RoyKyes00:26
jbondhusYou know what, does ubuntu use afp?00:27
jbondhusCan it support it as a client?00:27
RoyKubuntu supports AFP00:27
RoyKI really doubt using AFP as a client from ubuntu will be the best choice00:28
jbondhusMy other laptop uses ubuntu and my main one uses Mac OS X, and the Server runs Ubuntu server. It has to be compatible with them all.00:28
RoyKbut the file ownership will be in sync whether you use afp or nfs or smb or whatever00:28
jbondhusBut smb is slower, and AFP is more compatible with mac os x.00:29
RoyKI use AFP for my mac and NFS for unices and SMB for windoze00:30
twbFor a heterogeneous environment Samba will be the least painful00:30
twbMAYBE NFS if you have OS X and Linux, but I wouldn't want to bet on it00:30
jbondhusWell I have to have it shared. I found a great article on how to set up AFP on ubuntu.00:30
RoyKtwb: mixing AFP and NFS works well00:31
RoyKit's just file ownership and modes after all00:31
jbondhusNFS had permissions problems. Check that, HAS permissions problems. I'm just going to purge the nfs packages and rm -rf the export. That way I can start with a clean slate instead of having a junk folder that's chowned to nobody.00:31
twbRoyK: I was assuming you didn't want the hassle or maintaining two whole network fs stacks00:31
jbondhusI think I'm going to go with AFP. It sounds the most painless.00:31
twbjbondhus: well, unless you're going to run kerberized CIFS, NFSv4 or AFS, you are going to have permissions issues.00:31
twbUnkerberized network filesystems simply do not enforce access restrictions.00:32
jbondhusWhat do you mean by unkerberized? I haven't heard that term before?00:32
ersiMeaning you don't have kerberos authentication setup00:32
RoyKwithout Kerberos00:32
jbondhusOk, that makes more sense.00:32
jbondhusIs AFS the same thing as AFP?00:35
RoyK!afs00:36
jbondhusWhat?00:36
RoyKafs is andrew file system, not really compatible with AFP, which is apple file protocol00:36
RoyK!afp00:36
RoyKthis bot is too stupid00:37
jbondhusOk, nevermind then.00:37
jbondhusBye.00:40
twbIndeed; not compatible at all, completely separate protocol :P00:40
twbI only mentioned AFS because it's kerberized; I wouldn't recommend it for anyone that isn't a university00:41
ersiHe just logged off.00:41
twbersi: I was speaking for the benefit of lurkers :P00:41
ersi'k. :-)00:42
yaboostupid issue got two data four port pci-e cards, and when I boot the disks connected to them change address, can I lock in the address01:19
twbyaboo: sorry, are these ethernet cards or sata cards?01:21
yabootwb sata cards01:21
twbSo what address is changing, the pseudo-SCSI bus address?01:21
yaboofour port, both cards have disks connected to them01:21
yabootwo, e.g. on one boot disk is /dev/sdc, next boot it is /dev/sdg01:22
yabooand boot after that its back to /dev/sdc01:22
yabootrying to do software raid01:22
twbyaboo: that is how disks work.  It is only chance that you have never had this problem until now01:23
twbyaboo: to use software raid, just refer to the array by its UUID rather than by the device names of its array nodes01:23
yabootwb so disks will change address during boot01:24
twbYes01:24
yabootwb, sort of stupid even using the disks  normally means I cannot put them in stab, because next boot its changed id01:24
twbyaboo: fstab also supports UUIDs01:25
yabootwo I understand, can I just lock the disks down01:25
twbI doubt it01:25
yaboook01:25
twbIf I had to guess I would say its because you have two identical cards, so they are more likely to race01:25
yabootwo yes they are the same cards01:26
twbBut in theory it could happen on any hardware, and the Right Thing is to use UUIDs01:26
yaboook01:26
twbIf you're installing Ubuntu it usually should use UUIDs by default01:26
yabootwb, thats cool, but when I reboot the array now comes as /dev/md127 and fails to mount, even using uuid01:27
twbI do not know why that is.01:28
yaboothat is???01:28
twbDid you update /etc/fstab and /etc/mdadm.conf and run update-initramfs -u -k all?01:28
yaboono01:28
twbDo so.01:28
yabooso update /etc/fstab with the uuid and the /etc/mdadm/mdadm.conf then run update-initramfs -u -k all?01:29
twbOK, pastebin your current fstab and mdadm.conf01:29
yaboook01:29
qman__yeah, UUID by default was nailed down years ago01:30
qman__I remember dealing with it in 5.1001:30
twbWhen was the sg transition?01:30
twbqman__: ^^01:30
qman__well, dealing with this problem01:30
twbqman__: I'd have said more like 2007, but whatever.01:30
qman__in any case, long enough01:31
twbqman__: I expect he's just following an ancient howto or something01:31
yabootwb http://pastebin.com/DSgqZ4xh01:32
twbyaboo: you have no arrays in mdadm.conf01:33
twbyaboo: you need something along the lines of this:01:33
twbA01:33
twbARRAY /dev/md0 level=raid1 num-devices=3 UUID=aaebe741:68a1b213:7234de3b:cd66fef801:33
yabootwo ok, seems I am following a old how to then01:34
twbYou can get the UUID by doing mdadm --detail /dev/md127 or so01:34
yaboochange raid=6 for me I guess01:34
qman__also, my fstab doesn't use that UUID format for the array01:34
qman__it uses the same format as the rest of the disks01:34
twbYes, in fstab it would look like this:01:35
twbUUID=58d2c859-912a-4937-bbb4-d9f9edd16232 /boot ext2 noatime,nodev,nosuid,noexec,ro,sync 0 201:35
twbNote the UUIDs will be different -- mdadm takes the *array* UUID; fstab takes the *filesystem* UUID.01:35
twbThe filesystem UUID can be gained with "blkid /dev/md127" or "tune2fs -l /dev/md127"01:35
twbyaboo: also you seem to have the root filesystem in fstab defined twice01:36
yaboook01:36
qman__yeah, that's a big problem01:36
twbIn future, you should check the date on the howto before you follow it :-)01:36
qman__while the concepts haven't changed much, the little things have01:37
yabootwo change my line to RRAY /dev/md0 level=raid6 num-devices=6 UUID 8c4113cd:9dee4f90:bc191129:c5bc8b2a       /home/storage   ext4    errors=remount-ro       0       101:40
yabooRRAY /dev/md0 level=raid6 num-devices=6 UUID 8c4113cd:9dee4f90:bc191129:c5bc8b2a       /home/storage   ext4    errors=remount-ro       0       101:40
yabootwo changed my line too ARRAY /dev/md0 level=raid6 num-devices=6 UUID 8c4113cd:9dee4f90:bc191129:c5bc8b2a/home/storageext4errors=remount-ro0101:40
yaboois this correct01:40
twbMy name is "twb" not "two"01:41
yaboosorry twb01:45
yaboois this correct syntax or not01:46
qman__that is not correct01:47
qman__the ARRAY bit goes in mdadm.conf, the /home/storage blah blah belongs in fstab01:48
yaboook have to wait till server reboots01:51
KoolaidJunkieHello Everyone.02:32
KoolaidJunkieI was wondering if there was someone that could help me with a External Harddrive mounting issue02:32
twb!ask02:36
ubottuPlease don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) See also !patience02:36
keithclarkI have my router, a speedtouch 516, and a router, a DLink DIR-615.  I am having a problem with port forwarding.  It is now working.  I seem to be having an issue with the modem.  It sees my router as 192.168.1.64, where my router's address is actually 192.168.0.1.  Not sure what the issue is here.03:42
twbUnless your router or modem is running Ubuntu, that sounds like a problem for your router/modem vendor, not us03:45
keithclarkMaybe a bad modem?04:06
twbAll modems are bad modems04:18
keithclarkBridge mode versus PPP mode maybe the issue with the modem?04:31
chenbinghave installed debian squeeze xfce4,seems no kernal source ,I mean there is no /usr/local/linux directory.how to apt-get it ?07:50
* greppy looks at the channel name07:53
=== jussio1 is now known as jussi
=== sanderj_ is now known as sander^work
uvirtbotNew bug: #887035 in bacula (main) "bacula director killed because of an "out of memory" condition" [Undecided,New] https://launchpad.net/bugs/88703509:21
uvirtbotNew bug: #887060 in unixodbc (main) "'./usr/share/doc/odbcinst1debian2/NEWS.Debian.gz' is different from the same file on the system" [Undecided,New] https://launchpad.net/bugs/88706010:26
runasandhey, I downloaded ubuntu-10.04-server-cloudimg-i386.tar.gz and SHA256SUMS.gpg from https://uec-images.ubuntu.com/releases/10.04/release/, but I get a bad signature when I try to verify. Any idea what's up?11:19
ikoniarunasand: sounds like a corrupt source or corruption in transit11:23
ikoniarunasand: (or the image has been updated and the signature hasn't)11:23
runasandikonia: ok, so it's not just me doing it wrong. The checksum in SHA256SUMS matches, so that's something.11:24
runasandikonia: any idea who I should poke to have the signature updated?11:24
ikoniaa good question,11:25
ikoniaI don't know who maintains that stuff, at one point I didn't even think it was official11:25
runasandhttps://bugs.launchpad.net/ubuntu-on-ec2 seems like the best place11:26
runasandikonia: hah, ok, the FAQ actually points users to this IRC channel :)11:26
ikoniaI'm sure that is correct, I just don't use those image, so have never really got involved11:26
runasandikonia: heh, figured it out, seems like I was just doing it wrong :)11:29
ikoniaexplain ?11:30
runasandbasically, you fetch the sha256sum, sha256sum.gpg and the tarball, verify sha256sum with sha256sum.gpg and then check that the sha256sum for the tarball matches what's in the sha256sum file11:31
air_howdy.11:41
air_what's the use of the "backup" user autoamtically created on an ubuntu install?11:42
air_Is there any harm done if I make use of it to setup an rsync from a remote server?11:42
air_(ubuntu server, 10.04 lts)11:42
air_I was planning on doing keybased login, just wondering if I should create a new user or reuse the existing backup user.11:43
air_RoyK: you alive? :)11:43
yann2hello! Is the maitainer of puppet/facter around? I think the last upgrade in maverick broke it12:53
yann2I get this: http://pastealacon.com/29045  (worked last friday) i guess it might be because of https://launchpad.net/ubuntu/maverick/+source/facter/1.5.7-1ubuntu1.212:55
yann2if I use the version from main instead of proposed, it works.... (sudo apt-get install facter=1.5.7-1ubuntu1)12:59
sorenyann2: Can you file a bug that real quick, please?13:14
yann2will do. nice to see you around here soren :)13:15
sorencjwatson: Looks like an SRU regression ^  I forget what the exact steps are from here :-/13:15
yann2https://bugs.launchpad.net/ubuntu/+source/facter/+bug/885998  actually already reported13:17
uvirtbotLaunchpad bug 885998 in facter "facter upgrade crashes puppet" [Undecided,Confirmed]13:17
yann2seems I was pointing at the wrong commit13:17
=== medberry is now known as med_temp
yann2too bad the package got pushed i -updates despite having this bug reported against it a few days ago :(13:19
sorenyann2: Yes, that is quite unfortunate. :(13:21
cjwatsonsoren: https://wiki.ubuntu.com/StableReleaseUpdates#Regressions13:37
cjwatsonadam_g: ^- regression in your facter upload to at least lucid and maverick13:38
* cjwatson bumps bug 885998 to critical, though somebody who actually knows their way around facter will need to investigate13:38
uvirtbotLaunchpad bug 885998 in facter "facter upgrade crashes puppet" [Critical,Confirmed] https://launchpad.net/bugs/88599813:38
sorencjwatson: Ok, thanks, I'll save that for another time (I don't suppose it'll help much at this point?).14:09
cjwatsonsoren: probably not, no14:14
=== sanderj is now known as sander^work
=== d1b is now known as db
=== db is now known as Guest74077
=== Guest74077 is now known as d1b
=== the-mgt_ is now known as the-mgt
cwillu_at_workyou know how device letters start at sda, and go up through sdb, sdc, etc?15:51
cwillu_at_workI'm up to /dev/sdik :/15:51
cwillu_at_work(not a typo)15:51
cwillu_at_work(not useful either)15:51
SpamapScwillu_at_work: indeed, its important to have something to make logical sense of those arbitrary device names16:16
cwillu_at_workSpamapS, there's a grand total of 2 drives in this system :p16:16
SpamapScwillu_at_work: lots of hot swapping?16:17
cwillu_at_workthe usb adapter I use to write out images to new drives loses its mind on a regular basis16:17
cwillu_at_workbut this is new behaviour as of 3.016:17
cwillu_at_workhmm, or is it16:18
* cwillu_at_work pokes btrfs with a stickl16:18
nineteen67cometMorning all, I've been running my web server since around 2002 (most recent server since 2008). I have been given an updated machine and would like to migrate my sites over slowly. How can I tell Apache or my router (Tomato Linux WRT54GL) which site to which machine?16:31
nineteen67cometI would like to move one site at a time as I learn how to get things like I need (also moving from Wordpress to Drupal)16:32
nineteen67cometmaybe Joomla?16:32
xranbynineteen67comet: if you have the sites on different subdomains then you can vome them over one by one by changing your dns entrys16:33
xranbylike  joomla.mydomain.com16:33
xranbyif you have the different sites as subfolders   like www.mydomain.com/joomla16:34
xranbythen you need to tell the old apache to forward all requests to each subfolder to the new server16:34
xranbyyou could use apache mod_proxy to do this16:34
nineteen67cometOkay .. they are all base URLS (www.domainname1.com www.domainname2.com etc etc) .. so Apache can hand a site off to another machine on my network?16:35
nineteen67cometmy folders are all /var/www/domain1 /var/www/domain2 /var/www/domain3 etc etc16:35
xranbyby using apache mod proxy you can add      ProxyPass       /app1/  http://internal1.example.com/app1/16:36
xranbyto your apache configuration configureation16:36
SpamapSnineteen67comet: right, so you probably have www.domainname1.com pointed to the IP of your old server, you should point it to the IP of your new server.16:36
SpamapSproxy is not really necessary16:36
nineteen67cometaha .. unkay .. I'll jump on mod_proxy ..16:36
xranbynineteen67comet: there are usually several ways to solve this task16:36
nineteen67cometAll my URLs once they go to afraid.org they hit my router and are sent to my web server (current/old one)...16:37
xranbyif each site have its own domain16:37
nineteen67cometyes16:37
xranbysimply update the dns entrys16:37
xranbyto make each domains ip point to the new server16:37
nineteen67cometall domains are in the same box; my ip (external) is not static so I use afraid.org as my DNS .16:37
SpamapSYou can probably just copy the old configs to the new server and then just move each DNS pointer one by one.16:38
SpamapSnineteen67comet: oh you only have one real IP ?16:38
nineteen67cometSpamapS: yes ..16:38
SpamapSwell thats different then!16:38
nineteen67cometmy router hands off all port 80, 81, 8080, 8081 to the web server (and 21,22 etc) .. the IP is a dynamic typical home user IP ..16:39
SpamapSnineteen67comet: for that you probably want to use mod_proxy from the old server to the new.16:39
nineteen67cometokay .. I'll jump on mod_proxy ..16:39
SpamapSnineteen67comet: inside each <virtualhost> you can define a ProxyPass and ProxyPassReverse that will send all the traffic to the new server.16:39
SpamapSnineteen67comet: theres' an option you'll need so you can use your old configs on the new server...16:40
nineteen67cometOkay ..16:40
SpamapSnineteen67comet: what version of apache do you have on your old server?16:40
nineteen67cometLooking' now .. it's running Ubuntu Server 10.04.1 .. with Apache .. 2.2.14 ..16:41
SpamapSnineteen67comet: ok good16:42
nineteen67cometI put 11.10 with apache 2.2.20 on board (was going to stick with LTS but new stuff is just so shinny) ..16:42
nineteen67cometthe new one has 11.1016:43
SpamapSnineteen67comet: yeah, on the 10.04 box you'll want to set ProxyPreserveHost On ...16:44
nineteen67cometK .. in there now looking ..16:44
SpamapSnineteen67comet: that way the new server will get the same Host: header so the <virtualhost> sections will work16:44
nineteen67cometFor the Allow from portion of ProxyRequests .. do I put the URL that I want forwarded to? in my case www.justinsteiger.com .. seems like this one I found is for incoming Proxy control ..16:50
nineteen67comethttp://httpd.apache.org/docs/2.0/mod/mod_proxy.html is the site I found on Apache .. I'm looking at the basic examples .. SpamapS16:51
cemchi. is there any tool in ubuntu for notifying admins (by mail) when a servers gets rebooted without proper shutdown (like a power outage or reset/power switch etc) ?16:52
nineteen67cometSpamapS: and xranby thank you for the direction .. I'm going to go tinker with it all a bit and see if I can't make it work ..16:54
roaksoaxSpamapS: ping17:13
SpamapSroaksoax: pong, sup!17:15
roaksoaxSpamapS: just asked pitti to reject a package from oneiric's -proposed... unless you can beat him to it so I can upload a new one17:19
SpamapSroaksoax: ecryptfs-utils ?17:21
roaksoaxSpamapS: redhat-cluster17:22
SpamapSroaksoax: guess pitti got it first17:24
roaksoaxSpamapS: ok, thanks though ;)17:26
roaksoaxzul: ping17:44
roaksoaxzul: do you have the list of patches you are forwarding to cobbler?17:44
zulroaksoax: yo whats up?17:44
zulroaksoax: not handy17:45
zulactually handy17:45
zulroaksoax: https://github.com/zulcss/cobbler-oneiric17:45
roaksoaxzul: may I take a look? so I can work on re-writting those that can be made less Ubuntu specific17:45
zulroaksoax: please17:45
roaksoaxzul: cool thanks17:45
zulroaksoax: 2.2.2 should be coming out soon so ill rebase and upload17:45
roaksoaxzul: awesome!17:46
zulroaksoax: im going to suggest we move away from the git snapshots17:46
roaksoaxzul: agreed17:47
roaksoaxzul: https://github.com/zulcss/cobbler-oneiric/commit/71ba77b0578c751804643695a71849fdd739da2b this commit should be separated in two commits17:52
zulroaksoax: k17:53
roaksoaxzul: other than that, it looks good to me17:53
roaksoaxzul: I thnk you can forward those, then rebase 2.2 to manage better the delta17:53
zulroaksoax: ack17:54
roaksoaxzul: cause otherwise it might become a mess :)17:54
zulSpamapS:  you did miss something: https://github.com/zulcss/cobbler-oneiric (they are still pending)17:57
SpamapSzul: alright cool!17:57
roaksoaxzul: so are we gonna propose upstream cobbler to work with us on adding ITSM concepts to cobbler systems?18:17
zulroaksoax: i dunno i havent thought about it18:18
roaksoaxzul: I'll contact upstream and dig into that18:18
zulroaksoax: k18:19
zetuihello there18:22
zetuithis is what i got on my ubuntu server18:22
zetuihttp://pastebin.com/tDS02ine18:22
zetuiwhat i have to do ?18:23
=== ppetraki_ is now known as ppetraki
azerthello20:03
azertthere20:03
azerti got HP DL380 Proliant server G720:03
azertfrom this morning i got something like this error :20:04
azerthttp://ubuntuforums.org/showthread.php?p=1142536720:04
azert[1131516.069427] ACPI Error: SMBus or IPMI write requires Buffer of length 66, found length 32 (20110112/exfield-285 )20:05
azert[1131516.069433] ACPI Error: Method parse/execution failed [\_SB_.PMI0._PMM] (Node ffff880ea888e7f8 ), AE_AML_BUFFER_LIMIT (20110112/psparse-536 )20:05
pmatulisazert: does it have an addon ipmi card or does it just use onboard ilo?20:08
azertonboard ilo20:11
azertjust only20:11
azertpmatulis:20:12
pmatulisazert: i would check what acpi settings are to be found on your box, bios and os level20:13
pmatulisazert: tinker around with that for a while...20:13
pmatulisazert: and study bug #57850620:14
uvirtbotLaunchpad bug 578506 in linux "[Kernel] ACPI: EC: input buffer is not empty, aborting transaction" [Undecided,Confirmed] https://launchpad.net/bugs/57850620:14
azertis it enough to get out the battery and replace. ?20:22
=== allison_ is now known as wendar
azertpmatulis:20:26
randomcakeHi, I'm running Ubuntu Server 11.10 and I'm struggling to SSH into the server, I've disabled the firewall, and still nothing, SSHd is on and listening (connecting to user@localhost works fine), but remote connections won't connect, what can I try to get it to connect?21:01
hallynzul, hey, do you see any problems with http://people.canonical.com/~serge/l.debdiff (libvirt debdiff for precise)  - the logrotate stuff is new to me, but it does the right thing in my tests.21:04
pmatulisrandomcake: see if the client can sense the open port on the server (telnet, nc, nmap)21:11
pmatulisrandomcake: look at server logs (/var/log/syslog)21:12
randomcakeI don't see the port as being open, and nothing is logged in syslog21:13
randomcakewhat should I try next pmatulis?21:18
Matrix3000how do i perm remove dhcp321:29
Matrix3000when i do an apt-get remove dhcp3-client it wants to remove ubuntu-minimal as well21:31
randomcakepmatulis, I'm getting 'no route to host' now I'm doing SSH from another linux box (was using a Windows laptop before)21:50
randomcakeMatrix3000, why do you want to remove DHCP?21:50
dorkrandomcake: is this ssh server behind a router?21:51
dorkor are you doing a local to local connection? what does your networking look like21:52
randomcakeall 3 computers are inside the same local network, it's a WiFi router, and a switch (the server and my laptop are connected by WiFi)21:53
randomcakeall are able to use the internet, the server is able to connect to my Linux NAS via SSH, but the NAS and laptop are unable to connect to the server21:54
dorkpastebin the output ot /sbin/iptables -L21:55
dorkplease21:55
dorkon your server w/ sshd21:56
dorkrandomcake: you doing that or no? i gotta go soon22:02
randomcakethe internet connection seems to have gone a little odd, I can't get to the pastebin, it's empty22:03
* hallyn out22:03
dorkpastebin is used for you to paste the data in, apply, give me the link so i can read the output of the command i asked without you flooding the channel22:04
dorkso just do /sbin/iptables -L22:04
dorkcut, go to pastebin.com22:04
dorkpaste it in22:04
dorksubmit22:04
dorkgive me the url22:04
dorkthink of it as notepad or something22:04
randomcakeno rules, but iptables-save does give the following: *filter\n:INPUT ACCEPT [3091:2105891]\n:FORWARD ACCEPT [0:0]\n:OUTPUT ACCEPT [2928:277972]\nCOMMIT22:05
dorkit's network related whatever it is, are these both linux boxes?22:06
randomcakeI'm familiar with pastebin, but I'm having trouble with new network connections22:07
dorkno ip conflicts?22:07
randomcakeyes, both linux boxes, I don't believe so, the IPs are all allocated by the router (with the server specifically given an IP of my choosing, but still DHCP)22:08
dorkcan you do a telnet to the box port 2222:10
dorksee if it picks up22:10
dorkif it's no route you're getting i doubt the telnet will have any different results22:10
dorkwhat kind of router is this22:10
randomcakenope, gives 'ssh: connect to host 192.... port 22: No route to host'22:10
randomcakeit's a BT HomeHub (I think the manufacturer is Thompson)22:11
dorkcan you pastebin ifconfig results as well as your routing table please22:11
dorkcan you ping the host?22:11
randomcakenope22:11
dorkand the machine w/ the sshd can send and receive internet data?22:12
dorkcan you ping the other box from the problematic server?22:12
randomcakesorry, I'm not used to Xfce (not sure Xfce is the part I'm struggling with), I'm struggling to copy and paste from terminal :S22:16
dorkhilight, copy, paste bud22:17
dorki gotta jet though, look at your router, see if you can install nmap on a working linux server and do nmap -sT ip.address.x.x and see if it sees ssh open22:18
dorkit's something routing related22:18
randomcakemaybe the Wifi dongle is rubbish, highly, fine, copy, fine, paste, within the same terminal seems fine, but paste elsewhere, and nothing22:19
air_well, if he get's a no route to host error, it's not very likely nmap would show any open ports.22:20
uvirtbotNew bug: #887361 in facter (main) "facter facter_1.5.6-2ubuntu2.2: /usr/lib/ruby/1.8/timeout.rb:60:in `open': execution expired (Timeout::Error)" [Undecided,New] https://launchpad.net/bugs/88736122:56
CantWinnHello23:07
RoyK.... . .-.. .-.. ---23:07
CantWinnI work for a small company that does a lot of file share. Currently we use a program called DropBox and can be found at DropBox.com. I am looking to expand my Ubuntu knowledge by setting up a server with Ubuntu and creating a file share with permissions and user folders etc. Does Ubuntu-server handle this well?23:10
randomcakeCantWinn, yes, Ubuntu Server is ideal for this23:11
randomcakeCantWinn, https://help.ubuntu.com/11.04/serverguide/C/samba-fileserver.html should help you get started. You can have your logins based on a Windows server's accounts, but that would be more complicated.23:12
RoyKCantWinn: ubuntu can do all of that, but dropbox is specialized for it, using ubuntu, you can use tools like rsync to do the same23:12
uvirtbotNew bug: #887364 in samba (main) "package samba 2:3.5.8~dfsg-1ubuntu2.3 failed to install/upgrade: ErrorMessage: package samba is not ready for configuration  cannot configure (current status `half-installed')" [Undecided,New] https://launchpad.net/bugs/88736423:13
randomcakeit depends, are you using dropbox within a single office? or are your staff spread out?23:13
CantWinnOk, Yeah i know DP is specialized but, when we have a lot of PDF's etc, every time someone moves computers it takes them about an hour to D/L and sync the files23:13
RoyKyour average rsync -za will probably work if it's in-house23:14
CantWinnThey are mostly located in the main building with a couple of very small satellite offices consisting about 5ppl ea23:14
RoyKCantWinn: what amount of data?23:15
randomcakeRoyK, if it's a small company, and small office, why not a Samba share? CantWinn, is there a VPN or other tunnel connecting the offices?23:15
CantWinnVPN23:15
RoyKrandomcake: depends if they're using windows or not23:15
randomcakeand what sort of existing servers do you have CantWinn?23:16
RoyKCantWinn: doesn't say anything about bandwidth23:16
CantWinnWe have a couple of servers that are running Windows 2008 R2 virtual servers on them.23:16
randomcakea server per site?23:16
RoyKCantWinn: samba in AD mode?23:16
CantWinnRoyK, they have a 10Mbps fiber line23:16
CantWinnRoyK, Yes23:17
RoyKok23:17
CantWinnThe clients work stations have Win7 on them23:17
RoyKCantWinn: why not bacula?23:17
CantWinnWe have an older Dell PowerEdge R200 server not being used, I thought about trying to set that up and experiment23:17
air_dropbox checks the checksums of files, and avoids overloading your upstream if the file already exists at dropbox. (part of their deduplication).23:17
air_personally, i don't like the idea to share my files with the world, but it does save lots of upstream performance.23:18
CantWinnThey want to get out of drop box for 2 reasons.. 1 not as secure as they like because we are a medical facility handling patient data. Number 2 is because if the internet or DP goes down we can't transfer files to where they need to go23:19
CantWinnRoyK, .. bacula?23:19
air_seriously.23:19
RoyKCantWinn: setup a backup box with some 2TB drives in RAID, sw raid should suffice well, and use bacula to back them up23:19
RoyK!bacul23:19
RoyK!bacula23:19
air_you throw patient data on dropbox?23:19
RoyKCantWinn: see bacula.org23:20
CantWinnair_, I just started here about 5 days ago.. believe me I am on this REAL fast23:20
randomcakeair_, any better than rsync does? I'd consider, a server per site, rsync to each site, and at the sites access the files using Samba, letting the windows users have mounted drives23:20
randomcakeor (hope this isn't against the rules!) consider the options your existing servers provide, such as Distributed File Systems in Server 2008 R2...23:21
CantWinnI think what they want and what i would like to do, is set up a file share because this is what happens: (bare with me while I type)23:22
air_randomcake: if you mean to compare dropbox to rsync, sure, you could probably get the same behavior, but you'd have to care about hard links and yourself finding duplicate files.23:22
air_randomcake: but then again, I'm against putting anything of value on to dropbox. :)23:23
randomcakeyeah air_, handing anything of serious value to a 3rd party isn't something to be done lightly...23:23
randomcakeno problem CantWinn, understanding your use case is our best way to give decent advice :)23:24
CantWinnNurse scans chart, that chart gets sent to a program running RDP on the clients computer to the server, after which the file is then uploaded to DP where another person will take the scanned PDF's and import them to a splitting program, when she is done those splits go to another DP folder where some are picked up by a records person and the other if there is a RX goes to the pharmacy who has a DP for RX's23:24
air_I'd sue you for this.23:25
air_:P23:25
RoyKCantWinn: then use bacula or some other backup system which keeps the data private23:25
CantWinnRoyK, we want to.. I wanted to implement a system so they can share files into folders that users are granted permission that they can access via inhouse or VPN, then have a SQL backup offsite.. wich they currently do NOT have >:(23:26
=== negronjl_ is now known as negronjl
RoyKCantWinn: for medical data, you'll need  to setup a VPN solution to make the data available off-site23:28
CantWinn*believe me when I say this is only scratching the surface of things wrong..* I haven't even gotten into: No redundant switches, No redundant DB Servers.. list grows23:28
RoyKanything else is bogus23:28
randomcakedoesn't sound like any compelling reason to be using Dropbox CantWinn, was it lack of technical skills to implement a better solution that caused them to choose DB? Rather than any specific features of DropBox?23:28
CantWinnRoyK, Yeah, that's why I was wondering how Ubuntu server will handle it.. I use Desktop myself and have always enjoyed many flavours of Linux, but I have never worked with server side.23:29
CantWinnWell except RH virtual23:29
RoyKCantWinn: try bacula23:29
RoyKCantWinn: bacula can backup most OSes23:29
CantWinnrandomcake, I will give you the reason.. it all boils down to $$ Management sees $600 / mon for secure online backup and freaks out apparently..23:30
CantWinnRoyK, I saved the link23:30
RoyKCantWinn: apt-get install ......23:30
air_CantWinn: explain to management what it will cost when the first patient sues you for loosing their information on dropbox.23:31
CantWinnSo what would my best solution be roughly with out causing you detail grief? Old server running Ubuntu, setup for file permission shares and VPN, then implementing backula?23:31
RoyKCantWinn: bacula is a PITA for starters, the installation can be a bithard, but once it's up and running, it's rock stable23:31
CantWinnRoyK, so Backula is standalone then?23:31
air_if you are in an AD environment with access to running an extra virtual windows, why not consider running just another w2k8 for the file shares?23:32
RoyKCantWinn: can be, but it can run on any linux or unix machine23:32
air_then back it up to anything.23:32
CantWinnair_, I was wondring that too, but when I asked there was groaning's about the extra $$ for W2K8 keys.23:33
CantWinn*wondering23:33
RoyKCantWinn: bacula is a backup service, it can run on most things, with a database backend of preferabably postgresql23:33
air_CantWinn: again, just compare the costs to the damage done with current way of working.23:34
CantWinnRoyK, Ok, so bacula does sound like a good option to solve for my backup issues (which is currently a HD plugged into an external mount device) but in a quick expl how does backula help with the file share?23:34
CantWinnair_, I know that, and you know that.. remember, the rich get their by being greedy23:35
CantWinngrr *there23:35
RoyKCantWinn: bacula is a backup system, not a file sharing system23:35
CantWinn<< Too many things on the go at once23:35
CantWinnRoyK,23:35
CantWinnRoyK, ok, I thought so, I have been jumping back and forth to the site23:36
air_CantWinn: the rich understand when you tell them they are fucked. I tried that on my last workplace, they told me they where insured against all things that could happen.23:36
RoyKCantWinn: for file sharing, use samba or whatever appropriate23:36
air_I gave them some nice scenarios where they would still be fscked no matter what they where insured against. :D23:36
CantWinnair_, Yeah, insurance is the blanket that most companies are hiding behind...23:36
RoyKCantWinn: whatever insurance, it won't hold your data......23:37
CantWinnWell the good news i hope is I got hired by a new director of IT here, and he's more a people person than tech, so when I told him the issues he told me he's going to get them to realize what kinda d00 d00 they are in23:37
air_and it wont hold your reputation.23:37
CantWinnair_, nope.. that's why I'm working late right now trying to come up with something I can work on.. I just need to make sure that when people update a file in the share, that it's updated so all people can use it23:39
air_if you loose customer data, get sued, got insurances to cover the legal fees, you will still make the news prime time and get a big bad reputation about being careless.23:39
CantWinnyup23:39
air_explain this to the big bosses.23:39
CantWinnMy director is23:39
air_they don't want to be on the news for loosing patient data.23:39
RoyKCantWinn: what are you trying to setup? a file server or a backup server?23:40
CantWinnRoyK, I NEED both23:40
RoyKCantWinn: those are two different services23:40
air_RoyK: summary. they share patient data through shared dropbox.com folders.23:40
CantWinnI'm trying to set up a local file server so they can stop using DP23:40
air_and they don't do backups.23:41
air_:D23:41
CantWinnair_, BINGO23:41
air_well, at least you have lots of things to improve here :D23:41
RoyKCantWinn: for windows, samba should do well, preferably in AD mode if you have AD at thesite23:41
CantWinnwe are running AD on the main domain controller server23:41
RoyKCantWinn: for backup, bacula or something, bacula is cheap (i.e free) and can backup any unices and win2k3/winxp and forward without issues23:42
CantWinnRoyK, so with bakula running the backups I would just need to find an off site secure upload solutions then?23:43
RoyKCantWinn: with bacula, you backup things on-site, and then, you can replicate that off-site if needed23:43
RoyKCantWinn: how much data is this?23:44
RoyKa few gigs? a few terabytes?23:44
CantWinnok, because I told them with data that they are supposed to keep until death, there needs to be an off site solution to copy to as well. because if there was ever a fire in the server room that has no A/C *groan* then they need to be able to get backups back23:45
CantWinnNot much.. rightnow about 400GB MAX.. the DB is showing about 230gb use23:45
RoyKCantWinn: tape backup, then, and an offsite storage for those23:45
CantWinnRoyK, that would require them to have a tape backup drive23:46
RoyKCantWinn: I know people doing bacula backups on tape for the full backups and disk for the differential/incremential backups23:46
CantWinnRight now I have a server running symnaptic backup to an external drive that has an internal HD loaded in it like a tape.23:46
randomcakea server room without A/C? :| tape backup can't be fully automated, surely a network backup, which is then synced offsite23:47
CantWinnconnected via USB.. lol23:47
randomcakebetter than connected via Dropbox :P23:47
CantWinnrandomcake, that's why I'm looking at uploading to secure site.. and yes you read that right.. NO A/C..23:47
CantWinnrandomcake, LOL23:47
RoyKCantWinn: just setup a remote machin with some large drives as the bacula SD23:48
CantWinnRoyK, I told them to utilize their small off site offices now and put in a small server that is direct VPN to us here, that way we have our OWN off site location.. still waiting on THAT idea for a yes or no23:49
RoyKor then, just tape backup, with remote storage of the tapes23:49
RoyKCantWinn: you still would want a backup solution where you can restore from earlier backups in case someone overwrites a file and wants the old one back a week later23:50
CantWinnMy ideal solution I gave them was this: On site secure version of a DP, then a dedicated backup server with VPN to off site server for backup.23:51
RoyKCantWinn: the ideal solution is to have local snapshotting and then some backup off-site23:52
RoyKCantWinn: setting up a zfs storage system will help the first part, such as openindiana23:52
RoyKthe latter is simple, just a bacula server somewhere else23:53
CantWinnsorry zfs? (getting tired)23:54
RoyKCantWinn: you won't beleive how many hours we have saved by moving to ZFS storage with snapshots instead of restoring from backups......23:54
RoyK!zfs23:54
ubottuFor information concerning ZFS and Ubuntu, see: https://wiki.ubuntu.com/ZFS23:54
RoyKCantWinn: zfs on ubuntu is slow and not what I'd recommend - using OpenIndiana is better, but then, it's anoter OS, with other things, so it's up to you23:55
air_what about nexentastor, openfiler, etc?23:57
air_how do they stand up compared to openindiana?23:57
CantWinnSo far it sounds pretty damn impressive23:57
RoyKair_: nexentastor is expensive, openfiler I don't know, but I think it's not updated as frequently as openindiana23:57
air_RoyK: IIRC nexentastor community is free up to some 18TB storage.23:58
RoyKair_: and the open nexenta isn't updated very frequently, hardly at all, according to my nexenta contact in .no23:58
air_well, yeah, that seems to be the case actually.23:59
CantWinnSo instead of using ubuntu you guys think I should use AD for the file share?23:59
patdk-lapI haven't liked openfiler23:59
patdk-laphow did openfiler get zfs? last I saw it was centos based23:59

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