smoser | thumper, pong. | 00:10 |
---|---|---|
Midion__ | If adding a user to a certain database in mysql is this the proper command? GRANT ALL PRIVILEGES ON DATABASENAME . * TO 'DATABASEUSERNAME'@'localhost'; | 00:31 |
Midion__ | I want to user to have access to the database and all types inside the database. | 00:31 |
Midion__ | tables inside the database i mean. | 00:32 |
=== jim is now known as Guest17357 | ||
=== stgraber_ is now known as stgraber | ||
=== markthomas is now known as markthomas_away | ||
MavKen | I am running 12.04 on my server... Should I run dist-upgrade? I am getting... The following packages have been kept back: | 02:08 |
MavKen | linux-headers-generic-lts-raring linux-image-generic-lts-raring | 02:08 |
Midion__ | ok all errors on my server are one but this: [Thu Mar 13 22:10:10 2014] [notice] Graceful restart requested, doing restart [Thu Mar 13 22:10:10 2014] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.10 with Suhosin-Patch configured -- resuming normal operati | 02:12 |
=== thesheff17_ is now known as thesheff17 | ||
basketball | can i set up a old 2002 computer as a server | 02:40 |
MavKen | yep | 02:41 |
MavKen | common use for an old machine | 02:41 |
MavKen | clean install of ubuntu server and you could have a decent setup basketball | 02:42 |
basketball | can i set up a old 2002 computer as a server | 02:42 |
basketball | whoops | 02:42 |
basketball | MavKen, is it easy to set up and will it be slow | 02:42 |
sarnold | MavKen: I suggest apt-get -u dist-upgrade -- see which packages apt wants to delete, -then- decide if you want to do the upgrade... | 02:42 |
sarnold | Midion__: that message may just be for log rotation or something similar. if you see it roughly daily that's not a big deal. | 02:43 |
basketball | what version should i use 12.04 or 13.10 | 02:43 |
sarnold | basketball: probably 12.04 LTS; it's still supported for another three years. 13.10 support will end in another three months or so, at which point you'll be forced to upgrade to 14.04 LTS. | 02:44 |
MavKen | basketball, how much RAM do you have? | 02:44 |
basketball | like 80 mb | 02:44 |
sarnold | basketball: while we all expect 14.04 LTS to be good, it'd be nice if you could upgrade to it on your schedule rather than rushed into it. :) | 02:44 |
basketball | if not less | 02:44 |
MavKen | if you are just learning... use 13.10 because the virtual hosts are like 14.04 will be... it is different than 12.04...subtle but different | 02:45 |
MavKen | you need at least 512mb RAM... ideally 1GB | 02:45 |
basketball | i have 240 mb | 02:46 |
MavKen | i have been running 13.10 on my production server, I have 12 clients hosted on it. | 02:46 |
basketball | MavKen, can i set it up like dropbox and if i only have 240 mb will it still work | 02:46 |
sarnold | while we were able to make good use of a 80 megabyte machine back in 2002 I wonder about today's software | 02:46 |
MavKen | no | 02:47 |
basketball | no? | 02:47 |
MavKen | how can you only have that much ram on a 2002 era computer? | 02:48 |
MavKen | you sure you are not talking about the cache? | 02:48 |
basketball | it says memory 240 mb | 02:48 |
MavKen | where? | 02:48 |
MavKen | sarnold, thanks for that info | 02:49 |
sarnold | MavKen: did you find out what was going to be uninstalled? | 02:49 |
MavKen | I have not run it yet... i ran upgrade to get a few things...will ssh back in shortly and try that | 02:50 |
MavKen | ahh... nothing removed... | 02:50 |
MavKen | The following NEW packages will be installed: | 02:50 |
MavKen | linux-headers-3.8.0-37 linux-headers-3.8.0-37-generic | 02:50 |
MavKen | linux-image-3.8.0-37-generic | 02:50 |
MavKen | The following packages will be upgraded: | 02:50 |
MavKen | linux-headers-generic-lts-raring linux-image-generic-lts-raring | 02:50 |
MavKen | 2 upgraded, 3 newly installed, 0 to remove and 0 not upgraded. | 02:50 |
sarnold | 240 is more like it, you might not get a nice and purty owncloud experience but running svn over apache ought to get you a tolerable web-dev experience.. sftp will of course just be awesome | 02:51 |
sarnold | MavKen: yeah you probably do want new kernels :) new kernels come iwth security fixes | 02:51 |
MavKen | yeah... what is the best command to use when rebooting production server and is it best practice to reboot on occasion? | 02:53 |
sarnold | MavKen: you'll have to gauge the severity of things fixed in the kernel vs your local users and sometimes potential for remote exploits when deciding when to reboot | 02:55 |
sarnold | dinner time ;) have fun | 02:55 |
basketball | MavKen, the bios says 256 memory | 03:11 |
MavKen | you can buy memory very cheap... 1GB is $20 at Fry's | 03:12 |
basketball | MavKen, so it wont work with only 256 | 03:14 |
MavKen | https://help.ubuntu.com/community/Installation/SystemRequirements | 03:14 |
MavKen | it says it will | 03:15 |
MavKen | ubuntu-server not ubuntu-desktop | 03:15 |
Midion__ | Can I uninstall phpmyadmin using the following? sudo apt-get purge phpmyadmin Will this mess anything up if I do? | 03:21 |
Midion__ | I will just do everything cli. | 03:21 |
Midion__ | I just dont want to mess anything up trying to uninstall it. | 03:22 |
basketball | sarnold, can you run ubuntu server without keyboard mouse or monitor just the computer | 03:43 |
basketball | I installed ubuntu server on a usb and when i boot i get Non-System disk or disk error | 03:47 |
arrith | basketball: make sure you can boot to usb | 03:53 |
basketball | ok brb trying | 03:53 |
arrith | Midion__: that might work, it won't be guaranteed to get rid of everything possibly, since phpmyadmin might put things in odd places | 03:53 |
arrith | basketball: its in the bios | 03:53 |
basketball | yes it is bootable | 03:56 |
basketball | arlen, | 03:58 |
arrith | basketball: do you still get the error? | 03:59 |
arrith | basketball: you might not have usb high enough in your boot order in your bios | 03:59 |
basketball | I tested it on this laptop | 03:59 |
basketball | boot order usb is #1 | 03:59 |
basketball | I am preforming a hard drive check it is a 60% | 04:00 |
arrith | ok | 04:01 |
arrith | basketball: are you installing ubuntu server on the laptop or another computer? | 04:01 |
Midion__ | arrith: ok thanks | 04:01 |
basketball | another computer | 04:01 |
arrith | Midion__: doing a reinstall might be better. but only do that i guess if you run into issues | 04:01 |
arrith | basketball: you should check in that other computer's bios if usb is set higher than hard drive, in boot order | 04:02 |
basketball | arrith, that is what i did check | 04:02 |
basketball | i am talking on laptop | 04:02 |
arrith | basketball: i'm not sure i understand, what do you want to do with the laptop? | 04:04 |
basketball | arrith, nothing | 04:04 |
basketball | arrith, i am installing it on desktop | 04:04 |
Midion__ | I ran sudo apt-get purge phpmyadmin and then sudo apt-get autoremove. I think its all gone now. | 04:05 |
arrith | basketball: ok. so you checked the desktop bios? | 04:05 |
basketball | yes | 04:05 |
arrith | Midion__: yeah autoremove is good. alright | 04:06 |
arrith | basketball: and you get the error on the desktop? | 04:06 |
basketball | and it is preforming a hard drive check | 04:06 |
basketball | and yes | 04:06 |
arrith | basketball: you might have to install with a CD | 04:06 |
basketball | i cant as it doesnt reconize dvds and i dont have cd with enough space | 04:07 |
arrith | ah | 04:07 |
arrith | basketball: have you booted to usb on anything before on that desktop? | 04:08 |
basketball | no my granddad gave it to me today | 04:09 |
basketball | no my granddad gave it to me today | 04:09 |
basketball | the hard drive check is at 8-% | 04:10 |
basketball | 80 | 04:10 |
basketball | arrith, what next? | 04:15 |
basketball | should i reinstall xp then try to install ubuntu server | 04:16 |
sarnold | sigh I know we've got some server images around here somewhere that will fit on a cd.. | 04:24 |
sarnold | basketball: ah, finally found it. this might be the thing: https://help.ubuntu.com/community/Installation/MinimalCD | 04:25 |
basketball | sarnold, i am trying a xp disk and that works | 04:28 |
Midion__ | That was a version of windows that I did like. | 04:37 |
sarnold | heh, not me, I thought it looked like cartoonland | 04:37 |
sarnold | win2k was the last one I thought was decent :) | 04:38 |
basketball | windows is poop go ubuntu] | 04:41 |
Midion__ | Just thinkin about wondows 8.1 stresses me out. lol | 04:42 |
basketball | i hate windows 8 | 04:44 |
arrith | basketball: you want to dual boot? | 04:48 |
basketball | nope just server | 04:48 |
arrith | basketball: you can just turn it off when it does a hdd check like that, that's a windows thing. whenever linux checks it's called 'fsck' (stands for "filesystem check") | 04:49 |
basketball | I am installing xp so that it will get rid of that error then i will erase xp and install ubuntu server | 04:50 |
arrith | basketball: ok so when you try to boot with the usb inserted, do you see any messages about "boot list"? | 04:50 |
basketball | no | 04:50 |
arrith | basketball: that error is from the contents of the hdd, since you're going to be just having ubuntu on the hdd, it doesn't matter if there's an error | 04:50 |
arrith | basketball: do you press f12 to get into the bios on the desktop? | 04:51 |
basketball | i am installing xp i cant check | 04:51 |
arrith | basketball: since you don't want xp, you can hold the power button until it turns off | 04:52 |
arrith | basketball: any errors on it now are from the old windows | 04:52 |
arrith | there's this one cd that i remember | 04:52 |
arrith | i think i found it | 04:54 |
arrith | http://download.plop.at/files/ploplinux/4.2.2/ploplinux-4.2.2/ploplinux-4.2.2.iso | 04:57 |
arrith | from http://www.plop.at/en/ploplinux/download.html | 04:57 |
arrith | basketball: when you boot that iso it will give you a menu with "usb" as one of the options. use the arrow keys to select "usb" then hit enter | 04:57 |
arrith | you can use that to install ubuntu server from usb | 04:57 |
arrith | the iso is about 80 megabytes | 04:58 |
basketball | arrith, and sarnold the link worked and it is installing | 05:38 |
arrith | basketball: did you use the plop iso? | 05:38 |
basketball | now is there a way to have the server run without a monitor, keyboard, or mouse | 05:38 |
arrith | or minimal | 05:38 |
basketball | no i used the https://help.ubuntu.com/community/Installation/MinimalCD | 05:38 |
arrith | ah | 05:38 |
arrith | basketball: just don't install any desktop, and select "openssh server" during the install | 05:39 |
arrith | then you can ssh in | 05:39 |
basketball | you know how dropbox you can go to dropbox.com | 05:39 |
basketball | can i do something like that with this where i can access my files anywhere | 05:40 |
arrith | basketball: yes. there is dropbox for linux. but sparkleshare is better, in my opinion | 05:42 |
basketball | no like my own server version | 05:43 |
sarnold | basketball: the computer that runs my irc client is a little pandaboard with no monitor and no keyboard attached, it just has power and ethernet. :) | 05:43 |
basketball | how can i put my files in the cloud | 05:44 |
sarnold | basketball: some computers will fail to boot if they don't have a keyboard attached -- that stupid "Error! No Keyboard! Press f1 to continue!" | 05:44 |
arrith | basketball: google sparkleshare and owncloud | 05:46 |
arrith | basketball: also freedombox and mediagoblin | 05:46 |
basketball | arrith, i mean like have it on my own server instead of theirs | 05:47 |
cfhowlett | !cloud|basketball, | 05:47 |
ubottu | basketball,: Ubuntu Cloud Infrastructure is a ready to deploy Infrastructure-as-a-Service (IaaS) based on OpenStack. See https://help.ubuntu.com/community/UbuntuCloudInfrastructure for further details. | 05:47 |
arrith | basketball: sparkleshare is all local | 05:47 |
arrith | basketball: read up on it already *hits with stick* :P | 05:47 |
sarnold | and don't read about openstack, that's a waste of time on your machine :) | 05:49 |
basketball | arrith, how do i use sparkle share if i dont want a monitor | 05:51 |
sarnold | very few things require a monitor | 05:51 |
basketball | does sparkle share | 05:51 |
arrith | basketball: you use your server just for file storage | 05:51 |
arrith | basketball: server for sparkleshare does not | 05:52 |
basketball | arrith, yes that is what i want | 05:52 |
basketball | it is still installing | 05:52 |
arrith | basketball: google ubuntu sparkleshare server | 05:52 |
sarnold | ouch, sparkleshare requires the mono runtime.. that might be a bit heavy on a twelve year old machine with little memory | 05:52 |
arrith | read up on guides to set it up | 05:52 |
arrith | sarnold: oh. might be | 05:52 |
arrith | sarnold: eh if it's not running anything else | 05:52 |
sarnold | arrith: yeah, maybe. patience is a virtue anyway :) | 05:53 |
basketball | sarnold, what else can i run | 05:53 |
sarnold | basketball: dunno, I've always been content with scp :) | 05:53 |
arrith | rsync heh | 05:53 |
basketball | scp? | 05:53 |
sarnold | oh yeah, rsync is bloody awesome :) | 05:53 |
basketball | hey i am at software selection what do i do | 05:53 |
arrith | btw funfact, sparkleshare requires nothing on a server besides ssh and rstnc | 05:54 |
arrith | sarnold: so the clint would do the mono stuff | 05:54 |
sarnold | arrith: oh? is there a different package than sparkleshare that does the server-side work? | 05:54 |
arrith | basketball: openssh server, but make sure no desktop environmnt | 05:54 |
sarnold | arrith: wait. is there a server-side software? :) | 05:54 |
arrith | sarnold: no, it's just supposed to work with a ssh account | 05:54 |
arrith | sarnold: there isn't :) | 05:55 |
sarnold | arrith: perfect for basketball :) | 05:55 |
arrith | basketball: read up on the ubuntu server guide | 05:55 |
basketball | if i pressed enter does that install it | 05:55 |
basketball | do you have a specific link | 05:55 |
arrith | basketball: https://help.ubuntu.com/lts/serverguide/ | 05:56 |
arrith | basketball: space toggkes, enter goes to the next screen. at least in the debian installer | 05:57 |
basketball | shoot then i didnt install openshh | 05:57 |
sarnold | just be sure to run apt-get install openssh-server openssh-client some time before rebooting then :) | 05:59 |
arrith | basketball: you can run taskel at any time | 06:00 |
arrith | basketball: sudo tasksel | 06:00 |
arrith | you can also go back in the installation menu, but that's not necessary | 06:00 |
basketball | it is still installing i cant run anything | 06:00 |
sarnold | basketball: that's fine, no hurry. | 06:01 |
basketball | I think the hardest thing i have ever done is replace hardrive on this thing | 06:02 |
cwiggs | Can anyone share some thoughts on running my server off of raid1 thumbdrives? | 06:02 |
cwiggs | I was thinking of running ubuntu off of two thumbdrives and then use my 2 1tb drives for data? | 06:02 |
sarnold | cwiggs: probably pretty poor speed reading / writing to those things but I suppose you're prepared for that if you're asking :) hehe | 06:03 |
cwiggs | Worse than a 3.0gb sata hdd? | 06:03 |
basketball | do i install grub boot loader to the maSTER BOOT RECORD | 06:03 |
cwiggs | grub replaces the MBR | 06:03 |
sarnold | cwiggs: the ones I've had tended to do 15 MB/s | 06:03 |
cwiggs | sarnold: interesting, i figured they'd be faster since they are SSDs | 06:04 |
sarnold | basketball: I think so, yes | 06:04 |
sarnold | cwiggs: oh, actual SSDs hooked up over usb? | 06:04 |
cwiggs | no, thumbdrives, usb drives, jumpdrives, etc. but they are SSD right? just very small ones? | 06:05 |
cwiggs | they aren't magnetic drives, thats for sure | 06:05 |
basketball | do i set time to UTC | 06:05 |
cwiggs | basketball: yes | 06:05 |
sarnold | cwiggs: similar but not nearly the same speed :) the ssd in my laptop gets something like 500 MB/s .. | 06:05 |
cwiggs | sarnold: i just figured the HDD would be the slowest, then thumbdrives, then SSDs | 06:06 |
sarnold | cwiggs: test yours, dd if=/dev/zero of=/dev/sdwhatever bs=16k count=1000 conv=fsync | 06:07 |
basketball | sarnold, it is booting now what | 06:07 |
sarnold | basketball: log in, install openssh-server and openssh-client | 06:07 |
cwiggs | sarnold: i haven't bought the thumbdrives yet, i was just wondering what the benefits/downfalls would be | 06:07 |
basketball | how do i make it auto boot to the server | 06:07 |
arrith | cwiggs: usb 2.0 is slower than sata2 | 06:07 |
arrith | cwiggs: if you buy anything, buy like a 64 GB SSD to run your OS on | 06:08 |
arrith | cwiggs: probably could get one for $50 or less | 06:08 |
cwiggs | arrith: a 16gb usb drive is much cheaper than a 64gb ssd drive though, and i'd like to raid them. | 06:08 |
sarnold | cwiggs: most thumbdrives are mighty slow. usb2 is painful. usb3 is pretty speedy but I think most 'thumb drive usb3' would top out at speeds roughly equal to 5400rpm drives, probably not yet to 7200 rpm drive speeds | 06:08 |
sarnold | basketball: how do you mean? it'll boot right into ubuntu, right? | 06:08 |
basketball | it waits on grub and i have to press enter | 06:09 |
arrith | cwiggs: i would take a sata2 drive over a usb thumbdrive, hm raid 0 might help. but an ssd is so much better | 06:09 |
arrith | sarnold: there are some pricey usb3.0 thumbdrives that are effectively tiny SSDs, they do a few hundred megs a second | 06:09 |
sarnold | arrith: OOOO | 06:09 |
cwiggs | arrith: I was actually thinking raid1, for redundency. True, but i was trying to be cheap | 06:10 |
sarnold | arrith: do tell more :) | 06:10 |
arrith | sarnold: yeah it's sick | 06:10 |
basketball | sarnold, how do i install openshh client and server | 06:10 |
sarnold | basketball: sudo apt-get install openssh-server | 06:10 |
arrith | sarnold: basically say on newegg, any usb3.0 usb drive should be around there | 06:10 |
sarnold | basketball: probably the client is already installed but if not openssh-client for it | 06:10 |
arrith | cwiggs: well for speed, which you're gonna need. | 06:10 |
basketball | unable to loacate package | 06:10 |
arrith | cwiggs: one thing, thumbdrives are definitely not meant to be used that way, as in booted off of and having OSes installed on them. i tried to do that for like a month and it was hell | 06:10 |
arrith | basketball: you really need to read that server guide | 06:11 |
arrith | basketball: also google tasksel | 06:11 |
cwiggs | arrith: what happened? a lot of bitcoin miners were running off of usb drives | 06:11 |
sarnold | arrith: wow! :) | 06:11 |
sarnold | 200MB/s: http://thewirecutter.com/reviews/the-best-usb-3-0-thumb-drive/ | 06:11 |
arrith | cwiggs: i forget the details but it was buggy and swapping was the worst thing ever. this was on a laptop though | 06:11 |
sarnold | arrith: awesome, thanks for correcting that old bias :) | 06:11 |
arrith | sarnold: yeahh check that out | 06:11 |
arrith | sarnold: np. usb 3.0 is awesome | 06:11 |
cwiggs | arrith: good to know, thanks | 06:11 |
sarnold | basketball: sudo apt-get update -- try again? | 06:12 |
arrith | i keep waiting for phones and routers to freakin come out with usb3.0 | 06:12 |
arrith | cwiggs: server might be different actually | 06:12 |
basketball | i did run that | 06:12 |
sarnold | cwiggs: haha, I take it back :) knock yourself out, that's bloody awesome :) | 06:12 |
arrith | cwiggs: if they're usb3.0 i guess | 06:12 |
cwiggs | not usb3.0 : ( | 06:12 |
arrith | ehh | 06:12 |
arrith | i say buy it and try | 06:12 |
arrith | then buy an SSD | 06:12 |
arrith | :P | 06:12 |
cwiggs | haha | 06:12 |
basketball | got it | 06:12 |
cwiggs | that would be nice | 06:12 |
cwiggs | another question for you, if i have two 1tb drives, what is the best way to add them together to get 2tb? my friend said to use Glusterfs so that i could always add more drives later | 06:13 |
cwiggs | but i could use LVM or MooseFS? | 06:13 |
sarnold | never heard of moosefs.. | 06:13 |
basketball | sarnold, i installed it now what | 06:13 |
sarnold | basketball: test it :) ssh localhost | 06:13 |
cwiggs | http://www.moosefs.org/ | 06:14 |
cwiggs | it is pretty awesome | 06:14 |
cwiggs | my understanding is GlusterFS is better | 06:14 |
arrith | http://www.newegg.com/Product/Product.aspx?Item=N82E16820211718 | 06:14 |
basketball | sarnold, how do i access files from web browser on a windows pc and linux pc | 06:15 |
arrith | cwiggs: that's crazy what | 06:15 |
sarnold | heh, a pal who tried out glusterfs -hated- it with a passion. never seen him hate something so much | 06:15 |
arrith | cwiggs: just lvm or mdadm, or if you want to get super fancy the best is zfsonlinux | 06:15 |
cwiggs | sarnold: lol | 06:15 |
sarnold | basketball: try owncloud. it might be too heavy for your machine, but worth a shot. | 06:15 |
arrith | depends on if you want performance or redundancy kind of | 06:15 |
cwiggs | i just want performance | 06:15 |
sarnold | hrm, moosefs looks neat right up until "fuse" | 06:16 |
cwiggs | just gonna hold media that i can always d/l again | 06:16 |
arrith | basketball: sparkleshare might be better for what you want, but it's not from a browser | 06:16 |
sarnold | I know fuse works well for a lot of folks but .. I'd hate to rely upon it for something I cared about. | 06:16 |
basketball | i need to access it from school and home | 06:16 |
arrith | cwiggs: do a big raid 0 then, you can always add drives to that then grow the fs. ext4 on software raid 0 | 06:16 |
arrith | cwiggs: reading up on zfsonlinux is good to do though | 06:16 |
cwiggs | arrith: hmmm, i'll check out zfsonlinux | 06:16 |
cwiggs | thanks | 06:16 |
arrith | cwiggs: but yeah you can use standard mdadm for a raid0 | 06:17 |
cwiggs | arrith: there are so many options, it's a little overwhelming | 06:17 |
cwiggs | makes me want to just keep the server how it is. | 06:17 |
arrith | doesn't have many features | 06:17 |
arrith | cwiggs: well like glusterfs and stuff, unless you want to learn about them, are only for people with like lots of servers | 06:18 |
basketball | what is mysql and why do i need to set a passowrd | 06:18 |
cwiggs | arrith: true, i started in a sysadmin type place about 6 months ago , so it wouldn't hurt to learn more | 06:18 |
sarnold | zfsonlinux looks like awesome stuff, I intend to set up my own nas-server-of-doom using it Sometime Soon; but I wouldn't want to use ZoL on /, it just looks like a real hassle | 06:18 |
cwiggs | mysql is used to store the username/password data for owncloud | 06:18 |
sarnold | cwiggs: cripes, over-engineer much? :) | 06:19 |
cwiggs | sarnold: haha, just a little | 06:19 |
sarnold | don't get me wrong, I tend to think of mysql as a toy -- unfairly, but there it is -- a bloody username:hashed_password file would do the job fine for 99.9% of users though. | 06:19 |
basketball | sarnold, once this installs how do i add the files to it | 06:20 |
sarnold | basketball: no idea :) never seen it before | 06:20 |
basketball | the owncloud | 06:20 |
sarnold | basketball: I hope it'll have a /usr/share/doc/owncloud/README that will give some hints though :) | 06:20 |
cwiggs | Basketball: it's pretty easy | 06:20 |
basketball | cwiggs, can i put my desktop / server under the desk without it making noise | 06:21 |
cwiggs | basketball: it's mostly web based, so you can use a web browser to go to [ip of owncloud server]/owncloud | 06:21 |
cwiggs | basketball: i'm not sure what you mean? | 06:21 |
cwiggs | basketball: it'll make just as much noise as a regular computer | 06:21 |
basketball | like without a monitor keyboard and mouse | 06:21 |
cwiggs | oh, yeah | 06:21 |
cwiggs | you can run it headless | 06:21 |
cwiggs | use ssh to work on it | 06:21 |
basketball | can i add files from web browser | 06:22 |
cwiggs | yep | 06:22 |
cwiggs | e.g. go to 192.168.1.130/owncloud | 06:22 |
cwiggs | and it'll ask you login and then you can upload stuff to owncloud | 06:22 |
cwiggs | owncloud is pretty sweet | 06:22 |
basketball | is this the amount of noise the computer will normally make | 06:23 |
cwiggs | what do you mean by noise? | 06:23 |
basketball | it is making a lot of noise | 06:23 |
cwiggs | is it screaming at you or something? | 06:23 |
cwiggs | what kind of noise? | 06:23 |
cwiggs | like the HDD spinning? | 06:23 |
basketball | yeah | 06:24 |
cwiggs | huh, it'll probably be like that a lot, maybe the HDD is going out? | 06:24 |
cwiggs | my server doesn't sound louder than my desktop | 06:24 |
basketball | You need to enter either an existing account or the administrator. | 06:27 |
basketball | i am at http://192.168.1.117/owncloud/index.php | 06:27 |
cwiggs | for owncloud? | 06:27 |
cwiggs | didn't it ask you to create an account? | 06:27 |
basketball | it just asked for password | 06:27 |
cwiggs | that might be for the admin account | 06:28 |
cwiggs | can you login ? | 06:28 |
basketball | what is the user | 06:28 |
cwiggs | try admin | 06:28 |
basketball | nope | 06:29 |
cwiggs | odd, when i setup mine it asked me to create a user | 06:29 |
basketball | i dont have a gui | 06:30 |
basketball | is that why | 06:30 |
cwiggs | no | 06:30 |
cwiggs | it asked me to create the user when i went to the webui | 06:30 |
basketball | wha do i run | 06:30 |
cwiggs | when you went to the webui for owncloud, that's when it asked me to create a user | 06:31 |
basketball | how do i redo that | 06:31 |
cwiggs | someone else more familar with SQL might be able to help you find the username | 06:31 |
cwiggs | uh, i think you'd have to reinstall owncloud | 06:31 |
basketball | ok uninstalling | 06:32 |
cwiggs | good luck | 06:32 |
cwiggs | it might kept the old sql db, i'm not sure | 06:32 |
basketball | purge :) | 06:32 |
cwiggs | haha, yep | 06:32 |
cwiggs | if i remember i had a probably purging it | 06:33 |
cwiggs | i just ended up reinstall linux since it was a virtual machine | 06:33 |
basketball | nope that didnt work | 06:33 |
basketball | it remebered the db | 06:33 |
cwiggs | hm | 06:33 |
sarnold | then apt-get purge mysql-server-5.5 or whatever it is | 06:33 |
sarnold | i can never remember with mysql.. | 06:34 |
basketball | still didnt ask me for a password | 06:35 |
cwiggs | it won't ask you for a password when installing it in the command line | 06:35 |
cwiggs | but when you go to the webui it should | 06:35 |
basketball | wait i see | 06:35 |
cwiggs | it'll ask you to create a sql db too | 06:35 |
basketball | what is the data base user | 06:35 |
cwiggs | root? | 06:36 |
basketball | db name | 06:36 |
cwiggs | you are creating the db | 06:36 |
cwiggs | so you can name it w/e | 06:36 |
cwiggs | i just named mine owncloud | 06:36 |
basketball | You need to enter either an existing account or the administrator. | 06:38 |
basketball | people said to manually create db how do i do that' | 06:39 |
raj__ | How could I tell rsnapshot to keep initial(very first) backup forever? | 06:41 |
cwiggs | basketball: i don't know enough about SQL to help you there | 06:41 |
cwiggs | raj__: i don't think you can, that's isn't really what rsnapshot is for. | 06:42 |
cwiggs | you might be able to set the backup interval really high | 06:42 |
cwiggs | ? | 06:42 |
basketball | arrith, | 06:42 |
basketball | sarnold, | 06:42 |
sarnold | raj__: maybe you could do something kinda gross, like running it once, then setting the "immutable" attribute on all those files and directories | 06:43 |
raj__ | cwiggs: what should I use for keeping the iniitial backup so that I (could always see the default confgurations) ? | 06:43 |
basketball | sarnold, do you know | 06:43 |
arrith | lol uhm | 06:43 |
arrith | i'd be following a guide personally | 06:43 |
arrith | or the readme | 06:43 |
cwiggs | raj__: default config for what? | 06:43 |
sarnold | basketball: never used it, I suggest checking out /usr/share/doc/owncloud/README to see if there's a nice guide | 06:44 |
raj__ | i meant default configuration of all softwares & my system | 06:44 |
cwiggs | raj__ do you edit that stuff regularly? | 06:44 |
raj__ | nope not regularly ..just rarely or once | 06:45 |
cwiggs | hmmm | 06:45 |
cwiggs | I might be the wrong guy to answer but i'd probably just use rsnapshot or use LVM to take snapshots | 06:45 |
sarnold | laptop battery nearly dead, have a good night :) | 06:45 |
cwiggs | with rsnapshot if nothing has changed it won't do anything | 06:46 |
cwiggs | it just creates hardlinks | 06:46 |
cwiggs | sarnold: night, thanks for the help | 06:46 |
raj__ | i know that... love it for that | 06:46 |
sarnold | cwiggs: thanks for the education :) | 06:46 |
cwiggs | np | 06:46 |
raj__ | just wanted to keep the initial backup as well | 06:46 |
cwiggs | raj__: boot from live usb and rsync the whole drive? | 06:47 |
cwiggs | or dd? | 06:47 |
raj__ | cwiggs: actually it is a remote server (vps).. | 06:47 |
cwiggs | raj__: hmm, idk, but that is a good question | 06:48 |
cwiggs | anyone else got any ideas for raj__? | 06:48 |
raj__ | may be I could just rsync to another remote server but I better like to keep a rsnapshot like "diff" kind of backup on the same server so i could just use/see it when needed | 06:49 |
raj__ | sarnold: and how do I set that immutable attribute ? | 06:50 |
basketball | anyone know how to set up owncloud | 06:52 |
arrith | basketball: you need to google up a guide on that | 06:54 |
arrith | eh | 06:55 |
arrith | raj__ needs to do some kind of snapshot | 06:55 |
arrith | i suggest rsnapshot | 06:55 |
arrith | sudo mkdir /backups and use rsnapshot, can even set it on cron, to put snapshots there | 06:56 |
arrith | also etckeeper could be an option, if the concern is only configuration files | 06:56 |
basketball | i cant find one | 06:57 |
raj__ | arrith: I am using rsnapshot, my only wish is to keep the initial first backup created by rsnapshot forever.. is that possible ? | 07:00 |
arrith | raj__: yes, personally i just set my backup count really high. but you can manually copy it to the side | 07:01 |
arrith | raj__: rsnapshot says the commands it does | 07:01 |
arrith | raj__: i think it's like "cp -al" | 07:01 |
basketball | got it | 07:03 |
basketball | how do i sync dropbox and this own cloid | 07:04 |
raj__ | arrith: may be I should add an yearly interval ? ..to keep year old backups ? increasing backup count may considerably increase space requirements...!? | 07:07 |
arrith | basketball: probably rsync and cron. i'd use sparkleshare myself | 07:08 |
arrith | raj__: hm that's an idea. i forget how it does rotation but keeping a backup from a year ago is a good idea | 07:08 |
arrith | er snapshot | 07:08 |
arrith | not a backup | 07:08 |
raj__ | arrith: "snapshot not a backup"- rsnapshot can just create backups ? did you mean to suggest a snapshot other than a backup by rsnapshot? | 07:10 |
arrith | raj__: technically a backup has certain requirements. different media, offline, possibly at a remote location | 07:11 |
arrith | just being pedantic heh | 07:11 |
basketball | why does my computer need keyboard plugged in | 07:11 |
arrith | basketball: if you do tasksel and install ssh server you can remotely login | 07:12 |
raj__ | okkay.. got that.. you call it snapshot as I am keeping it on same server right.. or does not fully meet requirements to be called "backup".. right | 07:12 |
arrith | raj__: yep | 07:12 |
arrith | raj__: or if you want just do one rsnapshot then do a "cp -al" of it to keep it around | 07:12 |
basketball | arrith, the computer still needs to be on for the own cloud | 07:13 |
arrith | cp - al daily.0 keepforever | 07:13 |
arrith | basketball: yeah you have to leave the server on | 07:13 |
basketball | how do i upload more than 512 mb at a time | 07:15 |
raj__ | arrith: is this is for one time snapshot that will be kept forever ? | 07:16 |
arrith | raj__: yeah. if it's not named the way rsnapshot named it, it won't know about it and won't delete it | 07:16 |
raj__ | arrith: thanks.. the last clarification.. if I get this correct, this needs to be run after rsnapshot has created my first backup named "daily.0" & this will actually create a hardlink so that this new snaphot folder is never deleted by rnsapshot while rotating/deleting old backups | 07:20 |
arrith | raj__: yeah. you need to make sure that the "cp" that you run creates hardlinks though, so it saves space | 07:22 |
arrith | i think "cp -al" but i'm not totally sure | 07:22 |
raj__ | "ln" could also be used to create harlink... | 07:23 |
sarnold | raj__: chattr | 07:23 |
basketball | arrith, is there a way to make the url easier | 07:29 |
arrith | basketball: which url? | 07:30 |
arrith | raj__: well, recursively for a huge directory tree? | 07:31 |
arrith | can't hardlink dirs :P | 07:31 |
raj__ | arrith: I attempted & got the error.. :) thanks your solutions (cp -al) works though.. it created a directory of hardlinked files, I think this infact could be used to 'keep forever' snapshots of some specific times.. | 07:40 |
arrith | raj__: haha. yeah, ln only for some stuff | 07:42 |
raj__ | the good thing is that rsnapshot keeps each backup as if it is a full backup so this solution is working for us.. else it wouldn't be possible | 07:42 |
arrith | raj__: snapshot* | 07:43 |
arrith | raj__: google backup 3 2 1 rule | 07:43 |
raj__ | yes *snapshot* | 07:43 |
arrith | heard about this 321 rule recently and it's pretty nice | 07:43 |
raj__ | hmm | 07:44 |
=== SpamapS_ is now known as SpamapS | ||
jamespage | adam_g, I'll look today | 08:06 |
lordievader | Good morning. | 08:28 |
freakynl | Hi, our webserver was running an older 12.04 release with the 3.2 kernel. Just installed linux-generic-lts-saucy but now there's errors on vmblock.ko building (part of the dkms package of open-vm-tools) - anyone know how to build it? | 09:25 |
arrith | freakynl: http://paste.ubuntu.com the errors | 10:32 |
jamespage | sarnold, fyi hopefully we'll have a 1.18.0 release of juju-core today or next week | 10:43 |
jamespage | sarnold, just in case you are mid review of 1.17.4 | 10:43 |
jamespage | sarnold, it should not change hugely but if there is anything coming out of the MIR review, then we can feed that back upstream for fixing | 10:44 |
freakynl | arrith: http://paste.ubuntu.com/7089575/ | 11:24 |
freakynl | it also fails on a 'natively' installed 12.04.4 version though with the same error (ie ubuntu server that came with 3.11 out of box) | 11:24 |
freakynl | several other modules do exist, like vmw_balloon.ko | 11:25 |
arrith | freakynl: that's from the open-vm-tools in the repos? | 11:33 |
mardraum | freakynl: 12.04.4 with 3.11 out of the box? | 11:37 |
freakynl | arrith: yep | 12:10 |
freakynl | mardraum: doesn't matter, gives the same error - but the box it concerns comes from 12.04.0 or 12.04.1 | 12:11 |
arrith | freakynl: that might be a real-live bug | 12:12 |
arrith | freakynl: checking for bug reports in the ubuntu bugtracker for that package would be good. also looking into upstream and how they handle bugs in distro packages | 12:13 |
freakynl | if the version number is any indication it's no wonder :) seems to come from 2011 | 12:17 |
arrith | freakynl: that might be. you might have to grab an upstream release. hopefully they have a repo and/or debs | 12:18 |
raj__ | do I need to install anything to get the logs written in my logfiles ? cannot see anything in 12.04 ! | 12:23 |
=== DerpTruck is now known as VampiricPadraig | ||
arrith | raj__: logs of what? | 12:25 |
freakynl | raj__: /var/log/syslog ubuntu doesn't seem to use messages | 12:26 |
raj__ | iptables logs | 12:26 |
arrith | iptables specifically has to be told to LOG for one thing, and uhm, yeah that should be in syslog. there's also like .allow and .deny files somewhere | 12:27 |
freakynl | raj__: iptables -L -v -n | 12:28 |
freakynl | see if anything has LOG as target | 12:28 |
raj__ | arrith: I've set iptables rule to log, but they dont get written unless i install rsyslog, sysklog or syslog-ng | 12:28 |
freakynl | raj__: all ubuntu installs I have by default came with rsyslogd | 12:29 |
raj__ | once installed they start to get logged | 12:29 |
freakynl | did you remove it? | 12:30 |
raj__ | freakynl: not on my 12.04 that i got from my webhost.. i didn't remove .. anyway.. is it neccessary even if i dont do remote logging or anything complex with logs ? | 12:31 |
freakynl | yes kernel doesn't write to log files - what else would you expect to do that? | 12:31 |
raj__ | i thought rsyslog was required for remote logging or other complex log management tasks | 12:32 |
freakynl | it can send logs to remote, so can most others like syslog-ng | 12:32 |
raj__ | can sysklogd be also used for remote logging ? | 12:33 |
raj__ | i cant use rsyslog due to some limitations | 12:33 |
raj__ | freakyn: i have no idea what these logging daemons are capable of besides, collecting & writing logs from running services.. could you some idea about other capabilities of them ? | 12:36 |
arrith | raj__: their manpages will go into that | 12:36 |
raj__ | like one is remote logging.. | 12:36 |
arrith | http://manpages.ubuntu.com | 12:36 |
=== blake_r_ is now known as blake_r | ||
basketball | arrith, the one to get to own cloud | 15:21 |
=== markthomas_away is now known as markthomas | ||
basketball | arrith, is there a way to make the url easier | 16:07 |
jamespage | Daviey, if you are around - https://bugs.launchpad.net/ubuntu/+source/ceilometer/+bug/1292579 | 16:13 |
jamespage | could do with a release team ack - multiple teams sprinting on testing icehouse right now :-) | 16:13 |
jamespage | urgh - wrong channel technically | 16:13 |
=== Ursinha is now known as Ursinha-afk | ||
Daviey | jamespage: done. | 16:24 |
jamespage | Daviey, ta | 16:24 |
Daviey | jamespage: xhannel doesnt matter too muxh imo. -releaae ia subacribed. | 16:25 |
pmatulis3 | jamespage: re ubuntu & ceph, it is strange that our supported combination is 'dumpling on precise' (inktank only supports this) yet we need to go to the upstream repo to get dumpling. i imagine this will be the same for 'firefly on trusty' | 16:28 |
jamespage | pmatulis3, sorry - not sure I understand | 16:29 |
jamespage | oh - I see | 16:30 |
pmatulis3 | jamespage: well, dumpling is not available on precise, unless i use the cloud archive i think | 16:30 |
jamespage | pmatulis3, ceph dumpling is avaliable in the Havana cloud archive for Ubuntu 12.04 | 16:30 |
jamespage | pmatulis3, however firefly will be the release version on trusty - no cloud archive required. | 16:31 |
RoyK | what is dumpling? | 16:31 |
jamespage | RoyK, its a type of squid and also the codename for the 0.67 release of ceph | 16:31 |
jamespage | dumpling, emperor, firefly, giant, hammer.... | 16:31 |
pmatulis3 | jamespage: really? i heard that inktank will not consider firefly stable on trusty until the first or maybe second point release | 16:32 |
jamespage | RoyK, like Ubuntu but they started at 'A' | 16:32 |
=== Ursinha-afk is now known as Ursinha | ||
pmatulis3 | jamespage: but good :) | 16:32 |
jamespage | pmatulis3, well Sage and Neil failed to mention that in the vUDS session we had this week | 16:32 |
Daviey | pmatulis3: where did you hear that? | 16:32 |
basketball | how do i find the graphics and the ram amount | 16:32 |
pmatulis3 | Daviey: i asked inktank, but maybe the person was not 100% knowledgeable | 16:34 |
pmatulis3 | let's go with the vUDS session | 16:34 |
=== olegb_ is now known as olegb | ||
jamespage | Daviey, sorry - I cocked up - python-ipaddr is not in main | 17:22 |
jamespage | I should have spotted that :-) | 17:22 |
=== mjohnson15_2 is now known as mjohnson15 | ||
Daviey | jamespage, as should i :) | 17:40 |
jamespage | Daviey, I raised an MIR | 17:45 |
jamespage | https://bugs.launchpad.net/ubuntu/+source/python-ipaddr/+bug/1292629 | 17:46 |
basketball | arrith, and sarnold how do i ssh into the server | 18:14 |
=== Ursinha is now known as Ursinha-afk | ||
=== Ursinha-afk is now known as Ursinha | ||
sarnold | basketball: ssh hostname or ssh ip address | 18:16 |
basketball | how do i know the host name | 18:16 |
bekks | basketball "or". | 18:16 |
sarnold | basketball: depends how you set up nameservice in your network | 18:16 |
sarnold | jamespage: ooh! excellent news :) thanks | 18:17 |
basketball | got it | 18:18 |
bekks | jamespage: What does "MIR" stand for in the context of launchpad? | 18:18 |
jamespage | bekks, Main Inclusion Request | 18:18 |
bekks | Ah, thanks :) | 18:18 |
jamespage | its the process packages follow for entering Ubuntu main | 18:18 |
basketball | how do i change the max upload at a time | 18:18 |
jamespage | sarnold, yeah - looking at 1.17.5 now; however the juju-mongodb bits got reverted as it was buggy - it should make 1.18.0 | 18:19 |
jamespage | (juju not juju-mongodb) | 18:19 |
bekks | basketball: Whats does "the max upload at a time" mean? In which context? | 18:19 |
byprdct | hey guys how can I add a new user to another users public folder for sftp access? | 18:20 |
sarnold | jamespage: it'd be nice to get all the work done for the 1.17 timeframe into trusty, I've been impressed by how much the juju team gets accomplished :) | 18:20 |
sarnold | byprdct: the 'easy' way is to create a new group for both your users, set the group owner of the directory in question to the new group, and make sure it has group read, execute, and perhaps write if you want them both to use it | 18:21 |
basketball | owncloud | 18:22 |
sarnold | byprdct: you can also use the posix-ish acls (man setfacl) to do the job, but that may require new mount options for your filesystem | 18:22 |
byprdct | thanks sarnold think I will stick with the easy route :) | 18:22 |
jamespage | sarnold, well if they don't pop a 1.18 release before final freeze, I'll have to revert to 1.16.x | 18:22 |
byprdct | so create a group called sftp and add me (root) as group owner and them (somename) with read, execute and write for only the public folder? | 18:23 |
=== Ursinha is now known as Ursinha-afk | ||
sarnold | byprdct: well, you'd be 'equal' co-members of the group... | 18:26 |
sarnold | jamespage: here's hoping they like hte way 1.18 is shaping up.. | 18:26 |
byprdct | sarnold I just want to allow this user to sftp to a public folder but not be allowed to access anything beneath it e.g. srv/www | 18:27 |
byprdct | actually srv/www/public | 18:28 |
sarnold | byprdct: I think so long as any child directories don't have that group ownership the other user couldn't modify them or their contents.. | 18:29 |
hallyn | jcastro: no. home/end in the place of control? (uh, capslock :) did you photoshop that? | 18:30 |
byprdct | sarnold I'm worried about the parent directories e.g. srv/www so it should work that was too as well | 18:32 |
byprdct | ? | 18:32 |
=== Ursinha-afk is now known as Ursinha | ||
basketball | sarnold, how do i put my irc bot in the server | 18:36 |
jcastro | hallyn, I did not make it up, that's what it actually is, I can't believe it either | 18:36 |
bekks | basketball: Which ircbot in which server? | 18:38 |
basketball | supybot and my server | 18:38 |
bekks | basketball: And which irc network do you want to connect with? | 18:39 |
basketball | freenode | 18:39 |
bekks | basketball: Honestly, no offense meant, but you shouldnt mess with bots until you know how to connect them to a irc network ;) | 18:40 |
basketball | bekks, i have my bot up | 18:40 |
bekks | And thats very well documented for supybot, e.g. | 18:40 |
basketball | bekks, that is my bot | 18:41 |
bekks | What is your bot? | 18:41 |
bekks | I dont see part/join messages. | 18:41 |
basketball | suppybot^, | 18:41 |
basketball | ~reply bekks I am basketball's bot | 18:42 |
suppybot^ | basketball: bekks I am basketball's bot | 18:42 |
bekks | Whatever you need that for. | 18:42 |
basketball | how do i put him on server | 18:42 |
bekks | Upload it. | 18:43 |
basketball | how | 18:43 |
bekks | Using whichever file transfer protocol you configured on your server. | 18:43 |
basketball | so i transfer everything | 18:44 |
basketball | and then it works | 18:44 |
bekks | No. | 18:44 |
bekks | You transfer it, and then you have to make sure everything works as expected. | 18:44 |
basketball | bekks, i am installing the program on the server how do i copy all the files | 18:45 |
basketball | i dont have a gui | 18:45 |
bekks | Using whichever file transfer protocol you configured on your server. | 18:45 |
bekks | If you dont have a gui, you have to use the terminal. | 18:46 |
bekks | !ssh | basketball | 18:46 |
suppybot^ | basketball: SSH is the Secure SHell protocol, see: https://help.ubuntu.com/community/SSH for client usage. PuTTY is an SSH client for Windows; see: http://www.chiark.greenend.org.uk/~sgtatham/putty/ for it's homepage. See also !scp (Secure CoPy) and !sshd (Secure SHell Daemon) | 18:46 |
ubottu | basketball: SSH is the Secure SHell protocol, see: https://help.ubuntu.com/community/SSH for client usage. PuTTY is an SSH client for Windows; see: http://www.chiark.greenend.org.uk/~sgtatham/putty/ for it's homepage. See also !scp (Secure CoPy) and !sshd (Secure SHell Daemon) | 18:46 |
bekks | Settings that suppybot^ on ignore now. | 18:46 |
basketball | ~ part #ubuntu-server | 18:46 |
bekks | Better let him pat the entire network. | 18:46 |
bekks | *part | 18:46 |
basketball | !filetransfer | 18:47 |
basketball | what is the file transfer program | 18:47 |
bekks | Please read the text ubottu just told you. | 18:47 |
bekks | After that, please read the links given. | 18:47 |
raj__ | is there anything worth backing up in /var ? besides /var/lib folder ? | 19:02 |
bekks | raj__: Almost everything, besides /var/tmp and /var/run | 19:03 |
sarnold | /var/spool/mail or wherver your databases live :) | 19:03 |
bekks | raj__: If you dont backup /var, you will entirely break you package management system in case of restoring it. | 19:03 |
sarnold | imho backups are for your data | 19:04 |
sarnold | you can install a new OS on a new drive pretty quickly | 19:04 |
raj__ | i am not looking for a full restore .. just to save the custom configurations.. | 19:05 |
bekks | raj__: Then backup everything. | 19:06 |
raj__ | not everything under /var is for configurations .. i already backup the db.. /cache , /run, /lockm /tmp do they need to be backed up? | 19:07 |
bekks | raj__: I told you which too directories under /var dont need to be backed up. | 19:09 |
bekks | *two | 19:09 |
basketball | bekks, how do i make bot startup at startup | 19:13 |
bekks | basketball: By configuring your system to start your bot automatically. | 19:15 |
bekks | !autostart | basketball | 19:15 |
ubottu | basketball: If you want to edit your Autostart programs, open the Unity dash and search for Startup Programs. If you're on XFCE, use menu -> Settings -> Settings Manager -> Session and Startup, if you're on KDE, use Kickoff -> Computer -> System Settings -> Autostart. For more details see https://help.ubuntu.com/community/AddingProgramToSessionStartup. For LXDE see http://ubottu.com/y/4 | 19:15 |
basketball | bekks, i dont have a gui | 19:16 |
bekks | basketball: Then you have to write an init script which starts your bot as the user desired. | 19:17 |
mgw | basketball: http://upstart.ubuntu.com/cookbook/ | 19:25 |
jrwren | what is the difference between %C and %T in find -printf output? | 19:28 |
sarnold | jrwren: %T is the modification time -- when the file data changed. %C is the status change time, which could include e.g. chown/chmod or touch to change the mtime or atime.. | 19:32 |
jrwren | sarnold: thanks | 19:33 |
hmhrex | I'm having an issue with netatalk and file permissions. Here are some details: http://askubuntu.com/questions/434324/permissions-issue-with-netatalk | 19:35 |
sarnold | hmhrex: any error messages from netatalk in the logs? any messages on the OS X logs? | 19:37 |
hmhrex | That's something I didn't check. Do you know off the top of your head where the netatalk log file is in Ubuntu> | 19:37 |
sarnold | hmhrex: guessing, /var/log/netatalk.log .. | 19:38 |
sarnold | if not, /var/log/syslog may have something | 19:38 |
hmhrex | Let me test the issue again and I'll post the logs. | 19:39 |
hmhrex | Finally found the netatalk log. All it says is this: | 19:45 |
hmhrex | Mar 14 14:11:08.693414 afpd[1986] {ea_sys.c:110} (E:AFPDaemon): sys_getextattr_size: error: Permission denied | 19:45 |
hmhrex | nothing in the Mac logs. | 19:45 |
sarnold | hmhrex: how about syslog? | 19:46 |
hmhrex | nothing in there either. | 19:47 |
hmhrex | It's weird cause it claims that it's a permissions issue, but everything checks out as fine. | 19:47 |
byprdct | I'm having trouble with this. Does this chown -R ubuntu:sftp /srv/www/public allow anyone from the sftp group access to the public folder and not parent directories? | 19:49 |
sarnold | hmhrex: what does 'getfattr' report on each of those files? | 19:52 |
sarnold | byprdct: someone from the sftp group will also need read and execute permissions on above directories (either via world or group permissions) otherwise they won't even be able to cd /srv/www/public | 19:53 |
hmhrex | sarnold: I haven't used this command before, any switch in particular you want me to use? | 19:56 |
byprdct | sarnold how would I employ something like that from the group level. I usually do something like this chown -R ubuntu:www-data /srv/www because I'm the user ubuntu but now I have another user accessing the server and I don't want him to have any access to anything above the public folder | 19:57 |
sarnold | hmhrex: I think -d looks best | 19:58 |
hmhrex | so basically getfattr -d /path/to/files ? | 19:59 |
hmhrex | that's not coming up with anything. | 19:59 |
sarnold | byprdct: perhaps I should take a step back.. what do you mean by "above the public folder"? | 19:59 |
sarnold | hmhrex: okay, try the same command but use sudo to run it as the user that runs the netatalk daemon | 19:59 |
hmhrex | user.com.apple.quarantine="0042;52fa5018;QuickTime\\x20Player;" | 20:00 |
hmhrex | That's what I get from the .mp4 | 20:00 |
hmhrex | I don't get anything for the rtf. | 20:01 |
sarnold | hmhrex: interesting. i would have expected the resource fork to tell os x which application to use to edit the file.. | 20:03 |
sarnold | hmhrex: well, I -expeted- a 'permission denied' error, just like netatalk :) but still. | 20:03 |
hmhrex | haha. | 20:03 |
hmhrex | Yeah. It's odd. | 20:03 |
sarnold | hmhrex: sorry, out of ideas. you could try adding that info to your post, more details never hurts, and it'll push it back up the list of posts again :) heh | 20:04 |
hmhrex | I'll do that. | 20:05 |
hmhrex | I do have one question about running getfattr. What should I be getting when I run that on that .mp4? | 20:05 |
hmhrex | nothing? | 20:05 |
sarnold | hmhrex: the user.com.apple.quarantine bit was added by finder or safari or whatever; iirc the first four digits indicates which application to use from an application registry of some sort; the last bit is a human friendly name to use when the application isn't installed to tell the user what to go buy :) -- and i'm not sure on the middle digits. could be something related to the seatbelt-based security policies.. | 20:07 |
hmhrex | Huh. Interesting. Is there any way to strip that information out? | 20:08 |
sarnold | hmhrex: setfattr -x | 20:09 |
sarnold | hmhrex: if you can umount the afp mount before doing it, remove the attr, re-mount, and then test, I think that'd be a more representative test if this can work as a solution | 20:10 |
sarnold | os x may cache the resource fork information while the mount is active | 20:11 |
hmhrex | Would there anyway to set defaults on these folders so that they don't have this information? | 20:11 |
=== markthomas is now known as markthomas_away | ||
sarnold | hmhrex: you could mount the filesystem without extended attribute support; that's a bit brutal as solution goes but might do the job | 20:16 |
hmhrex | What would that entail? | 20:16 |
hmhrex | You can link me to resources if you want. I'm fine with researching this solution further. | 20:17 |
sarnold | hmhrex: that'd be mount(8) option nouser_xattr ; add it to your filesystem in /etc/fstab and run mount -onouser_xattr,remount /filesystem .. | 20:17 |
hmhrex | Are there any cons to this solution? | 20:18 |
byprdct | sorry sarnold daughter grabbed me for a sec. what I meant by above the public folder is any parent directory to the public folder or anywhere else in the file system. I want the other user to only have access to the public folder and anything in that folder e.g. public/* | 20:18 |
sarnold | depends upon what other programs on your system are expecting to use extended attributes. | 20:18 |
hmhrex | Alright. That might be helping. Let me do a couple other tests. | 20:23 |
=== markthomas_away is now known as markthomas | ||
=== markthomas is now known as markthomas_away | ||
=== markthomas_away is now known as markthomas | ||
hmhrex | Yeah. It didn't seem to help. | 20:31 |
hmhrex | So frustrating. i'll take a deeper look into the groups, etc. Maybe something I'm missing. | 20:32 |
hmhrex | yeah, I accidentally logged out. Was there anything else to try? | 20:34 |
=== markthomas is now known as markthomas_away | ||
=== markthomas_away is now known as markthomas | ||
hmhrex | sarnold: it didn't seem to help. But I added that info to my question on askubuntu. So hopefully can help me out. Thanks for all your help! | 20:41 |
=== markthomas is now known as markthomas_away | ||
=== markthomas_away is now known as markthomas | ||
=== nszceta_ is now known as nszceta | ||
=== chmurifree is now known as chmuri | ||
Midion__ | is csf better than fail 2 ban? | 21:49 |
=== markthomas is now known as markthomas_away | ||
=== markthomas_away is now known as markthomas | ||
basketball | what is gnu screen | 21:59 |
sarnold | screen is a terminal multiplexer, it lets you run more than one shell in a terminal, and the best part is you can detach and re-attach to it. | 22:01 |
basketball | will my computer have that | 22:01 |
sarnold | if you're going to use it I suggest finding a hardstatusline setting from somewhere and sticking it in your ~/.screenrc. it'll help immensely. | 22:01 |
sarnold | basketball: you just need to apt-get install screen | 22:02 |
sarnold | basketball: I personally prefer tmux, for no real reason, except I find ^B more convenient than ^A | 22:02 |
=== markthomas is now known as markthomas_away | ||
=== markthomas_away is now known as markthomas | ||
=== yofel_ is now known as yofel | ||
=== Sprockt is now known as Sprocks | ||
=== eshlox_ is now known as eshlox | ||
=== Daviey_ is now known as Daviey | ||
=== jaimef_ is now known as jaimef |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!