Time |
Nickname |
Message |
00:00
π
|
mig5 |
a virtualhost defines a specific site |
00:00
π
|
mig5 |
so it's like a copy of the default ocnfig but specific to say, foo.example.com |
00:02
π
|
spangle |
ok |
00:02
π
|
mig5 |
http://pastie.org/private/6rphsivbqzumf6zzjzhlg |
00:02
π
|
mig5 |
so if you set your website's url (that resolves to your server's IP, if you have one) to ServerName (and ServerAlias which is optional) |
00:02
π
|
mig5 |
and mkdir /home/dr-spangle/logs |
00:03
π
|
mig5 |
that ought to Just Work (tm) :) |
00:04
π
|
mig5 |
if you only intend on accessing your HTTP server via your IP as per http://81.178.143.10 , that might be trickier, as the default vhost will probably capture that request. unless you put 'ServerName 81.178.143.10' in your vhost |
00:04
π
|
mig5 |
boy i must be confusing the crap out of you :) |
00:04
π
|
spangle |
a bit |
00:05
π
|
spangle |
going to have to configure my dr-spangle.is-a-geek.com dyndns thingy :/ |
00:11
π
|
spangle |
ok, apparently that's gone or something? |
00:14
π
|
spangle |
ok |
00:14
π
|
spangle |
got dr-spangle.dyndns.org |
00:14
π
|
spangle |
changed all the stuff that said example.com to dr-spangle.dyndns.org on that vhosts config file |
00:16
π
|
spangle |
and made the directories |
00:16
π
|
spangle |
now i restart apache |
00:16
π
|
spangle |
:: Starting Apache Web Server [BUSY] Warning: DocumentRoot [/etc/httpd/docs/dummy-host.example.com] does not exist Warning: DocumentRoot [/etc/httpd/docs/dummy-host2.example.com] does not exist [DONE] |
00:17
π
|
mig5 |
/etc/httpd/docs ? |
00:17
π
|
mig5 |
that doesn't look right as a DocumentRoot.. |
00:18
π
|
spangle |
it doesn't |
00:21
π
|
spangle |
I don't have a clue what it's doing or why |
00:21
π
|
mig5 |
dummy-host.example.com sounds like some example config file somewhere |
00:21
π
|
spangle |
it does? |
00:21
π
|
mig5 |
well, it doesn't sounds like something you wrote :) |
00:21
π
|
mig5 |
especially since you don't recognise it |
00:22
π
|
spangle |
/etc/httpd/docs sounds like it's documentation? |
00:22
π
|
mig5 |
anyway, your site still gets a 403 at http://dr-spangle.dyndns.org |
00:22
π
|
mig5 |
so i'm out of ideas.. possibly permissions issues. or pastebin the virtualhost config you made |
00:24
π
|
spangle |
http://pastebin.com/7rzpPgJp |
00:24
π
|
mig5 |
and do you have an index.html in /home/dr-spangle/http/ ? |
00:25
π
|
spangle |
nope, but just put one there, no change |
00:25
π
|
mig5 |
can you do `ls -al /home | grep dr-spangle` |
00:25
π
|
mig5 |
i want to see the permissions on the home directory |
00:26
π
|
spangle |
[dr-spangle@hallo-server http]$ ls -al /home | grep dr-spangle |
00:26
π
|
spangle |
drwx------ 4 dr-spangle users 4096 Jul 15 01:02 dr-spangle |
00:26
π
|
mig5 |
right |
00:27
π
|
mig5 |
so there's the problem I think. |
00:27
π
|
mig5 |
apache runs under a specific usre, usualy www-data or 'apache' |
00:27
π
|
mig5 |
apoache is being told 'look inside this guy's home directory to server the files' |
00:27
π
|
mig5 |
but the 700 permission on the home directory says 'only dr-spangle can go in here' |
00:27
π
|
spangle |
ah, i think the user is called http, it told me to make a user called that |
00:27
π
|
mig5 |
so apache goes 'well, can't see inside there, you're forbidden' |
00:27
π
|
spangle |
how do i make the http user able to see in there? |
00:28
π
|
mig5 |
chmod 755 /home/dr-spangle would do it. but it's chmod 700 as a security precaution so that only you (dr-spangle) can see stuff in there. |
00:28
π
|
mig5 |
up to you if you want to remove that security. |
00:28
π
|
mig5 |
that's probably why people put sites in /srv/httpd |
00:28
π
|
mig5 |
which would be chmod 755 already but no user-sensitive files in there, just websites. |
00:29
π
|
mig5 |
if you are the only one on the server, maybe you don't care as much, and can chmod 755 the home dir |
00:29
π
|
mig5 |
also make sure the 'http' subdirectory in /home/dr-spangle is also chmod 755 |
00:29
π
|
spangle |
done |
00:30
π
|
mig5 |
wow, still 403 |
00:30
π
|
mig5 |
what are the permissions on index.html |
00:30
π
|
spangle |
just chmodded to 755 |
00:31
π
|
mig5 |
well, i'm totally out of ideas now :) this server's breaking all the rules that make sense |
00:32
π
|
mig5 |
maybe that virtualhost config is being completely ignored, just too hard to tell. |
00:34
π
|
spangle |
i hate this thing so much |
00:34
π
|
spangle |
it worked fine before |
00:34
π
|
spangle |
had over 550 days of uptime |
00:34
π
|
spangle |
then my dad accidently unplugged it and it couldn't stay online for a day before kernel panicing |
00:35
π
|
spangle |
so i reinstalled and can't set it back up :P |
00:37
π
|
mig5 |
if you run 'apache2ctl -S' do you get anything other than 'command not found' ? |
00:38
π
|
closure |
wow, it's possible to read current fidonet in a usenet news reader. who knew? |
00:40
π
|
spangle |
command not found |
00:41
π
|
mig5 |
hmm |
00:47
π
|
spangle |
would it be best to just get another distro |
00:50
π
|
mig5 |
try apachectl -S |
00:50
π
|
* |
mig5 not used to arch.. |
00:51
π
|
spangle |
that command says things |
00:51
π
|
spangle |
also, for some reason now, if i log into su, i get an error |
00:51
π
|
spangle |
how is everything breaking |
00:54
π
|
spangle |
ok, that command's output |
00:54
π
|
spangle |
http://pastebin.com/pfA94hHn |
00:56
π
|
mig5 |
right so that virtualhost you created earlier, I don't think it's even being included |
00:56
π
|
mig5 |
i don't know what those dummy vhosts are, presumbably examples somewhere |
00:56
π
|
mig5 |
you should put your virtualhost in /etc/httpd/conf/extra/httpd-vhosts.conf and maybe remove the other ones that are in there |
00:56
π
|
mig5 |
and restart apache |
00:57
π
|
mig5 |
don't know about your su error (you didn't say what the error was :) ) |
00:58
π
|
spangle |
I fixed the su error |
00:58
π
|
spangle |
not sure what it was, but it's gone now |
00:59
π
|
spangle |
ah... |
00:59
π
|
spangle |
I'm a pillock methinks |
01:00
π
|
spangle |
I put my vhost in /etc/httpd/conf/extra/httpd-vhosts-vhosts.conf, rather than /etc/httpd/conf/extra/httpd-vhosts.conf |
01:02
π
|
spangle |
well now it works :P |
01:02
π
|
spangle |
now i need to get php and mysql working |
01:03
π
|
spangle |
oh, now it's not working |
01:03
π
|
spangle |
ok, only works with an index.html there |
01:03
π
|
spangle |
that's ok |
01:03
π
|
mig5 |
works for me. |
01:03
π
|
mig5 |
yeah |
01:04
π
|
spangle |
ok, that's fine |
01:14
π
|
spangle |
yay php working |
01:14
π
|
spangle |
thanks massively for the help :) |
01:16
π
|
spangle |
and gd working |
01:23
π
|
spangle |
and mysql working |
01:23
π
|
spangle |
yay |
01:39
π
|
drspangle |
yay irssi |
01:39
π
|
drspangle |
so much better than mibbit |
02:04
π
|
drspangle |
please don't say i formatted this drive.. i can't mount it :/ |
02:06
π
|
drspangle |
i'm sure i wouldn't be so silly to format a drive i just backed up to.. would i? |
02:11
π
|
dashcloud |
what does dmesg say? |
02:11
π
|
dashcloud |
if so, testdrive is amazing at recovering stuff from drives |
02:16
π
|
drspangle |
after trying mount -t ext2 /dev/sdb1 /ext_hdd and repeating that with ext3 and ext4, dmesg says this |
02:16
π
|
drspangle |
[28853.233960] EXT4-fs (sdb1): VFS: Can't find ext4 filesystem |
02:16
π
|
drspangle |
[28857.657225] EXT3-fs (sdb1): error: can't find ext3 filesystem on dev sdb1. |
02:16
π
|
drspangle |
[28861.014069] EXT2-fs (sdb1): error: can't find an ext2 filesystem on dev sdb1. |
02:17
π
|
drspangle |
is there a way to see what filesystems are on a device? |
02:17
π
|
mig5 |
sudo fdisk -l |
02:17
π
|
mig5 |
maybew |
02:17
π
|
mig5 |
-w |
02:18
π
|
mig5 |
maybe not |
02:18
π
|
dashcloud |
I would highly recommend testdrive then |
02:18
π
|
dashcloud |
it works for just this kind of thing |
02:18
π
|
drspangle |
/dev/sdb1 2048 976773167 488385560 83 Linux |
02:18
π
|
drspangle |
Device Boot Start End Blocks Id System |
02:19
π
|
drspangle |
from fdisk -l |
02:21
π
|
dashcloud |
so is this a data drive only, or did it have system files on it? |
02:21
π
|
drspangle |
it was data only |
02:21
π
|
drspangle |
I copied over files i wanted to keep |
02:21
π
|
drspangle |
mostly tarred |
02:28
π
|
drspangle |
gah, i'm so useless at everything :P |
02:29
π
|
dashcloud |
this is what you want: http://www.cgsecurity.org/wiki/TestDisk |
02:29
π
|
dashcloud |
(don't know why I kept calling it testdrive) |
02:29
π
|
drspangle |
ah, that'll be why i couldn't find it on google |
02:30
π
|
dashcloud |
it's a curses-style gui, so it'll work just fine in a console |
02:31
π
|
drspangle |
ok, installed testdisk |
02:32
π
|
drspangle |
ok, running it |
02:34
π
|
drspangle |
not quite sure what i'm doing |
02:34
π
|
dashcloud |
you want analyse, and then quick search |
02:35
π
|
dashcloud |
hopefully you see your partition listed there |
02:35
π
|
dashcloud |
if you do, press down until you get to it |
02:35
π
|
dashcloud |
then press P to list the files it sees |
02:37
π
|
drspangle |
yay |
02:37
π
|
drspangle |
it's copying the files now |
02:37
π
|
drspangle |
thank you :) |
02:37
π
|
dashcloud |
glad to hear it worked |
02:38
π
|
drspangle |
so does that mean i formatted it after backing up onto it? just checking how stupid i am here |
02:38
π
|
dashcloud |
if you saw a D next to your partition number, the answer is most likely |
02:38
π
|
dashcloud |
there's an excellent explanation of all the menus on their website |
02:38
π
|
drspangle |
why would i do that |
02:39
π
|
dashcloud |
if you have a burning desire for more knowledge, you might- otherwise, don't worry and be happy |
02:40
π
|
drspangle |
thanks for helping |
02:41
π
|
drspangle |
how do i even manage to leave the house with this level of stupidity |
02:42
π
|
drspangle |
i had better get to sleep while this thing recovers data |
02:42
π
|
dashcloud |
don't worry- I can share your pain here |
02:42
π
|
dashcloud |
I managed to recover the data, and then decided to try to fix the drive, which had some minor corruption when I started |
02:44
π
|
dashcloud |
after following a guide from an enterprise distro's site on a similar issue, there wasn't anything left (the man page all but said here be dragons for that option) |
02:55
π
|
drspangle |
ouch |
03:07
π
|
drspangle |
night all |
05:24
π
|
SketchCow |
http://apple.copydesk.org/uploads/2011/02/110203GlouchestershireHeadline.jpg |
05:36
π
|
RedType |
brb attending a girls' school |
05:37
π
|
SketchCow |
afk getting there before you |
05:38
π
|
SketchCow |
OK, shooting for fucking inbox zero tonight. |
05:39
π
|
yipdw |
SketchCow: does Zero know? |
05:40
π
|
SketchCow |
Zero's gonna learn |
05:40
π
|
SketchCow |
http://www.archiveteam.org/index.php?title=Rescuing_Floppy_Disks needs another round. |
05:41
π
|
yipdw |
that reminds me -- I've got a bunch of Bernoulli disks at my parents' house |
05:42
π
|
yipdw |
no idea if they're still readable, but it'd be fun to try to get the drives to talk to a modern machine |
05:43
π
|
SketchCow |
Yeah, gotta work on that. |
08:37
π
|
chronomex |
http://www.reddit.com/r/IAmA/comments/ipnci/iamthe_servier_engineering_lead_at_foursquare_ask/c25rb0g "At foursquare we very much believe that it's not our data, but your data. We're just temporary custodians, and we have a responsibility to make it as easy as possible for you to pull that data back out in a usable format should you ever choose to do so." |
08:37
π
|
chronomex |
they seem to expose it reasonably well, fwiw |
08:38
π
|
SketchCow |
I am desperately on the inbox zero thing. |
08:38
π
|
chronomex |
how is it going? |
08:38
π
|
SketchCow |
Down to 40 from today's high of 80 |
08:38
π
|
SketchCow |
The floppy thing was what destroyed it. :) |
08:38
π
|
chronomex |
nice |
08:39
π
|
chronomex |
I've been at inbox 40 for a while, it's a typical high for me. |
08:39
π
|
chronomex |
I was at 3 a month or two ago |
08:39
π
|
chronomex |
those 3 are still there. |
08:40
π
|
SketchCow |
Yeah, it's when it's action items. |
08:40
π
|
chronomex |
two are finding and mailing things, the other is updating the signature on my voter registration |
08:42
π
|
SketchCow |
Oldest one: August 2010 |
08:43
π
|
SketchCow |
I'm going to start moving friendster stuff to final staging home. |
08:43
π
|
SketchCow |
Going after things from bottom to top, starting to build our sets. |
08:43
π
|
SketchCow |
Fie to the people who would combine two different ranges as one set, by the way. |
08:46
π
|
chronomex |
yeah you win on oldest one. I've got an email thread going where we each wait 2+ years before replying |
08:46
π
|
chronomex |
started in 2004. |
08:46
π
|
chronomex |
but it's the other guy's turn now |
08:55
π
|
SketchCow |
I'm now in the process of finding doubles with the google video. |
08:55
π
|
SketchCow |
I.e. stuff archive.org already has |
08:55
π
|
SketchCow |
Keeping our metadata, of course. |
09:29
π
|
Coderjoe |
the kryoflux (and related software) can recover data that would normally be unreadable, due to such things a media rotation jitter |
10:15
π
|
SketchCow |
Holding fast at 40! |
10:15
π
|
SketchCow |
People are mailing me! |
10:29
π
|
SketchCow |
Yep, now the system is borked. |
10:29
π
|
SketchCow |
I am deleting 17,000 twitter join messages the cat got recently. |
13:07
π
|
db48x |
SketchCow: heh |
13:11
π
|
SketchCow |
Down to 38 mails. |
13:11
π
|
SketchCow |
Which is yeah, not much since 4 hours ago, but I just fought off a bunch of incoming mail |
13:11
π
|
SketchCow |
It's a torrent |
13:13
π
|
SketchCow |
Some of this is "please write us an article" or "please fill this out" or "I have sent you a pile of files" |
13:22
π
|
Ymgve |
and once in a while "I have sent you several crates of documents" |
13:23
π
|
db48x |
I bet your daily email volume is on the upswing too |
13:23
π
|
db48x |
SketchCow: btw, I need to do some uploads |
13:42
π
|
SketchCow |
You have a slot, you know. |
13:43
π
|
Spirit_ |
actually, i am a guy |
13:45
π
|
Spirit_ |
aww, mail bounced back for http://artifacts.textfiles.com/+44/Innocent%20BBS/BBS%20Ad%202.txt :( |
13:49
π
|
Ymgve |
freeserve doesn't exist anymore apparently |
13:50
π
|
Ymgve |
oh wait, it does, but neither http://freeserve.co.uk/ nor http://www.freeserve.co.uk/ works |
13:56
π
|
SketchCow |
http://archiveteam.org/index.php?title=Rescuing_Floppy_Disks is coming along. |
14:03
π
|
ersi |
Thumbs up |
14:13
π
|
SketchCow |
31! |
14:26
π
|
ersi |
Go go! |
14:30
π
|
ersi |
http://arstechnica.com/science/news/2011/07/study-why-bother-to-remember-when-you-can-just-use-google.ars |
14:31
π
|
ersi |
"The results from all four experiments suggest that people expect computerized information to be continuously available, and actually remember less when they know theyΓ’ΒΒll have access to it later. We also seem to remember where we can find information instead of the information itself." |
14:34
π
|
drspangle |
*bookmarks study* |
14:34
π
|
drspangle |
wait, what did it say again? |
14:34
π
|
drspangle |
:P |
14:54
π
|
ersi |
Don't worry, you'll know where to find it! |
14:54
π
|
ersi |
:P |
14:59
π
|
ersi |
mmh, it's neat using liveweb.archive.org at stuff I read and find like something that should be saved |
15:01
π
|
ersi |
wonder if they get a lot of new material this way |
15:01
π
|
ersi |
into the Wayback machine, that is |
17:48
π
|
Paradoks |
http://blogs.loc.gov/digitalpreservation/2011/07/it-takes-a-village%E2%80%A6to-archive-the-internet/ |
17:48
π
|
Paradoks |
I can't say the article is especially useful, but I enjoyed the title: |
17:48
π
|
Paradoks |
It Takes a Village...to Archive the Internet |
18:49
π
|
emijrp |
man, i have been thinking how add links on Wikipedia to all the info and docs of Internet Archive |
18:50
π
|
emijrp |
(un)fortunately, wikipedia is on the top results, and adding links to IA can boost visits |
18:51
π
|
emijrp |
of course, on IA there is zillions of ideas for new Wikipedia articles |
18:51
π
|
emijrp |
it is win-win |
18:52
π
|
ersi |
Wikipedia doesn't like the IA all that much |
18:52
π
|
ersi |
just so you know |
18:53
π
|
Zebranky |
Of course not. IA doesn't delete things. |
18:53
π
|
DFJustin |
LOL |
18:54
π
|
emijrp |
n1. |
20:17
π
|
emijrp |
SketchCow: nemo_bis is uploading wikidumps to IA http://www.archive.org/search.php?query=subject%3A%22wikiteam%22 , are you going to add them to archive team collection? http://www.archive.org/details/archiveteam |