/srv/irclogs.ubuntu.com/2006/06/04/#ubuntu-server.txt

=== Mysta_ [n=Mysta@63.90.190.232] has left #ubuntu-server []
=== Lukketto [n=Lukketto@host150-175.pool873.interbusiness.it] has joined #ubuntu-server
=== Lukketto [n=Lukketto@host150-175.pool873.interbusiness.it] has left #ubuntu-server []
=== Linutur1 [n=server@wsip-70-168-102-136.ga.at.cox.net] has joined #ubuntu-server
Linutur1what is the default directory for apache?12:36
Linutur1for the web content?12:36
infinity /var/www12:36
Linutur1thanks12:36
Linutur1what are the default credentials for the mysql database?12:52
=== Linutur1 is now known as Linuturk_NB
lionelpLinuturk_NB: root without password12:52
lionelpon localhost *only*12:52
Linuturk_NBdoes anyone have a good tutorial for getting started on this preconfigured LAMP server? I just need to create a quick database12:55
=== infinity really should fix that some day to have it prompt you for a root password...
infinityExcept that would prevent the LAMP install from being noninteractive.12:56
infinityPain.12:56
Linuturk_NBwell, you have a short config for the apache side12:57
Linuturk_NBwhy not a quick password request on mysql?12:57
Linuturk_NBcan I access mysql via terminal?12:57
infinityErr, what?12:58
infinityapache2 doesn't ask any questions on install.12:58
Linuturk_NBi used the ubuntu 6.06 LAMP server install, and it prompted some questions12:58
infinityLinuturk_NB: You can access it with "mysql -u root", yes.12:58
infinityLinuturk_NB: What questions were you asked?  It's certainly not designed to..12:58
infinityIn fact, I can't even see how it would.12:59
infinity(The installer asks questions, like username/password, etc, but apache certainly doesn't...)12:59
Linuturk_NBit asked what type of enviroment I was using it in. Be that internet, local only, and a few things12:59
Linuturk_NBthis was after the install was finished12:59
Linuturk_NBi believe12:59
infinity...12:59
neuralisuh?12:59
neuralisif anything, that'd be presumably mail daemon configuration, not apache01:00
infinityThat sounds more like postfix or exim4's deconf prompting.01:00
neuralisand we certainly aren't designed to ask those questions by default.01:00
neuralisinfinity: exactly.01:00
Linuturk_NBeh, probably. I'm way off base sometimes01:00
Linuturk_NBI'm fairly new to this (been since 5.10) and I'm setting up a server now. go figure01:00
infinityBut you would have had to actually explicitely install an MTA, we didn't force one on you. :)01:00
infinity(Though I was considering forcing one on the LAMP install, in the end I decided against it)01:01
Linuturk_NBmta?01:01
Linuturk_NBinfinity, big dawg around here?01:01
lionelpmta stands for Mail Transfer Agent01:01
infinityMTA... Mail tranfer agent.... postfix, exim4, sendmail, etc.01:01
lionelpA mail server01:01
Linuturk_NBgot it01:01
Linuturk_NB(three time over) :-P01:02
infinityNo big dawgs..... I rule by a committee.01:02
infinity(... of 1)01:02
infinityneuralis: BTW, speaking of committee rule, you better have a mess of interesting stuff to discuss in Paris, or there'll be egg all over my face.01:03
Linuturk_NBso, i'm in the sql prompt. create database pointofsale; doesn't work. I'm following these instructions btw. http://www.phppointofsale.com/documentation/help.htm01:03
neuralisinfinity: aye01:03
infinityOnly 2 weeks to go.01:03
Linuturk_NBinfinity: well, who is the printing guru for xfce? they need to change the default behavior of cups or add a nice gui like gnome did01:04
infinitymysql> create database pointofsale;01:04
infinityQuery OK, 1 row affected (0.00 sec)01:04
infinityWorks for me.01:04
neuralisinfinity: i'll round up my notes shortly; i think there was a bunch of residual crap from breezy, and there's a bunch of new things to talk about01:04
Linuturk_NBmysql> create database pointofsale01:04
Linuturk_NB    -> create database pointofsale;01:04
Linuturk_NBERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'create database pointofsale' at line 201:04
Linuturk_NBi did that01:04
Linuturk_NBsilly me01:04
infinityLinuturk_NB: XFCE gurus are janimo, nomed, and some others.01:04
Linuturk_NBworked the second time01:04
infinityneuralis: Focus on achievable, but noticeable.01:05
neuralisLinuturk_NB: you didn't terminate the first line, so you actually issued the "create database pointofsalecreate database pointofsale;" query.01:05
infinityneuralis: 4.5 months is a very short cycle, so anything we do that's "whizzbang with low effort" wins.  (like the LAMP install was, for instance)01:05
Linuturk_NByeah, new to this, like i said. i like this channel, not as "loud" as #ubuntu and you guys are friendlier01:06
Linuturk_NBthanks01:06
neuralisinfinity: right. though the lamp install was very low-hanging fruit; i doubt we'll get as lucky again.01:06
infinityI can be a jerk, you've just not caught me on an off day yet.01:06
infinityneuralis: Oh, I could just duplicate that feat with several other "common server setups". P)01:07
Linuturk_NBif I changed the permissions of a file in /var/www/ do I have to restart apache before that will take effect? I've got a specific settings file that needs to be edited by other files01:07
neuralisLinuturk_NB: no, you don't.01:07
infinityneuralis: I suspect I'll have to anyway, after the press release that went out with my name on it, claiming that the "LAMP install was just the beginning of servers for idiots"01:07
Linuturk_NBi did chmod 755 on it01:07
neuralisinfinity: hahah01:07
neuralisthat's, er, unfortunate.01:07
Linuturk_NBhey, this LAMP install has saved me a lot of time01:08
Linuturk_NBi thank you01:08
neuralisLinuturk_NB: no it didn't. want a dirty little secret? it saved you exactly one line of typing.01:08
Linuturk_NBserious?01:08
Linuturk_NBo well01:08
neuralisvery.01:08
Linuturk_NBit also saved me the time of figuring out what that one line of typing was01:08
Linuturk_NBthat's a biggie01:08
neuralisthat's true.01:09
neuralisinfinity: well, i don't think we want to litter the boot menu with a bunch of common server setups. perhaps having a 'Common server install' option that pops up a 'mix and match your own components' screen in d-i?01:09
infinityneuralis: That smells a lot like resurrecting tasksel, which I'd considered.01:10
infinityneuralis: Besides, doing this in gfxboot kinda locks out serial installs.01:10
Linuturk_NBwell, what I'd like to see is a light gui installed by default. be that fluxbox or xfce i don't care. Having that with some scripts on the desktop for common tasks (such as starting stopping the services) would really kick arse01:10
neuralisaye. in fact, that's what i was proposing to the express server install guys when they first started01:10
infinity(Granted, most people doing a serial install don't NEED cute pkgsel options, but whatever)01:10
neuralisLinuturk_NB: uh, by default? on the server install? over my dead body ;)01:11
Linuturk_NBor, the option to01:11
Linuturk_NBat least01:11
Linuturk_NBfor "idiots" like me01:11
infinitySeconded on the dead body thing.01:11
infinityIf you want a desktop, install {xu,u,ku}buntu, then grab your server stuff.01:11
=== Linuturk_NB adds the names to his list :-P
Linuturk_NBwell, the server kernel is special01:12
infinityThe desktop stuff is dozens (and often even hundreds) of packages.  The LAMP server you just set up was 12 packages.01:12
Linuturk_NBso, i did a ubuntu server install, then apt-get the desktop01:12
infinityThe server kernel will run a desktop like CRAP, mind you. :)01:12
infinity(And you can always "apt-get install linux-server" to get the kernel)01:12
Linuturk_NBsee, these are things I don't know . . . i just did what crimsun told me01:12
Linuturk_NBLAMP server install >> apt-get xubuntu-desktop and a xserver core deal01:13
Linuturk_NBnow, I'm trying to install this web based point of sale system01:13
Linuturk_NBjoy01:13
infinityAs a general rule, you should try to get used to the idea of headless servers.01:14
infinitySure, it takes some effort, if you're rather GUI-centric, but fewer moving parts is always a good thing.01:14
Linuturk_NBwell, i'm a windows convert, so I am gui centric01:14
infinityEvery time I had an NT server crash in the video driver (more often than you'd think), I'd curse Microsoft for moving the GDI into the kernel space.01:14
Linuturk_NBbut hell, i don't even know how to irc from a terminal, so a gui is a must right now01:15
infinityAnd by "more often than you'd think", I mean once or twice a year.  But once or twice a year on several hundred machines becomes a lot of crashing for reasons I'd rather not deal with.01:15
infinityLinuturk_NB: "irssi irc.freenode.net"01:15
Linuturk_NBwell, that's one step in the right direction. I got a guini pig machine at home I'll go straight terminal on from now on01:16
neuralisinfinity: -c, won't work without01:17
infinityneuralis: Oh, whatever.  I usually set up my servers in scripts. :)01:17
neuralislikewise01:18
infinityLinuturk_NB: Make that "irssi -n Linuturk_NB -c irc.freenode.net" just to make neuralis happy about me giving good advice. :P01:18
infinity(That command line was actually tested)01:18
Linuturk_NB:)01:19
Linuturk_NBarg01:19
Linuturk_NBthis pos system won't install. I've got to annoy it's dev now01:20
Linuturk_NBgot a permissions error with a certain file01:20
Linuturk_NBhttp://forums.phppointofsale.com/viewtopic.php?t=360&highlight=settings+php << would the commands he outlines there be any different in ubuntu?01:22
Linuturk_NBYou have to set write permissions to the settings<font size="3">.php file. </font>01:22
Linuturk_NB<font size="3">This can be done by doing chmod 755. This can be doing via ssh or your ftp program might support changing permissions.</font>01:22
Linuturk_NBsry bout the <font> tags01:22
infinityObviously written by a windows user turned unix...01:23
infinityWhy do people always recommend making files executable?01:23
neuralisinfinity: i spent about 6 hours in an epic battle to get a breezy server to boot from a root drive that's on a dm crypto volume sitting on top of RAID. i wonder if this is a simplification target.01:23
Linuturk_NBchmod 777 ?01:23
infinityLinuturk_NB: Anyhow, if the file is owned by YOU, and you want the webserver to write to it, it needs to webserver to have access to it.01:23
infinityLinuturk_NB: 666 would be fine.01:23
infinity(And more fun to type)01:23
Linuturk_NBheh, but that's the devil Bobby!01:24
infinityneuralis: dm-crypt and dm-fakeraid are both on my TODO for dapper initramfs and installer hacking.01:24
neuralisrock.01:24
neuraliss/dapper/edgy/01:24
infinityneuralis: Getting them supported in initramfs is trivial, writing installer bits not so simple.01:24
infinityWhatever.  edgy.  Not used to typing that yet.01:25
neuralisokay, we can look at the installer bits in paris01:25
neuraliswhat would you like to get out of it? being able to install on a crypto drive?01:25
Linuturk_NBgenius01:25
Linuturk_NBthanks01:25
infinityI wonder how upset my girlfriend will be if she wakes up to find that I've thrown her WinXP system across the room...01:26
infinityneuralis: Being able to install to dm-crypt and dm-fakeraid would be the goals, yes.01:26
infinityneuralis: Neither of those is particularly server-oriented, mind you.01:26
Linuturk_NBinfinity: just pop in a live cd and watch her freak out01:27
infinityneuralis: The major usecase for dm-crypt is laptops, and the major usecase for dm-fakeraid is "people too cheap to buy real hardware"01:27
=== TTT_Travis [n=Travis@bal-bb-cable-2-172.dsl.airstreamcomm.net] has joined #ubuntu-server
neuralisright. my hellpains were with a server machine which stores sensitive data in a not-fully-trusted environment, so the owners wanted full-drive encryption even if it means having to type a passphrase whenever there's power loss. go figure.01:28
infinityYeah, a fair usecase, but not a common one, IMO.01:29
infinityMost uber-sensitive machines have enough physical security to make crypted filesystems pointless.01:29
TTT_TravisHi guys, I recently installed Ubuntu Server Dapper, it works fine but I am trying to transfer a file from my mac to the linux box over my samba network and the file transfer rates are like 10kb/s which is horrible, I tried using ftp same result. I can transfer files from my mac to winblows pc fine? is there something that would cause this?01:30
Linuturk_NBi do i view the databases in mysql01:30
neuralisLinuturk_NB: show databases;01:30
neuralisTTT_Travis: if ftp gives the same result, it's either faulty network equipment (card, hub, switch) or a bad linux driver. the latter is less likely.01:31
TTT_Travishmm could be card I guess01:31
TTT_Travisbut I swore it worked fine on breezyu01:32
infinityDoes dmesg have anything to say about card resets or other such fun things?01:32
infinityAnd does "ifconfig" show a whole mess of frame or carrier errors on that card?01:33
TTT_TravisI'll check01:33
infinityIf the former, it could be a bad driver, if the latter, it's a bad cable or hub/switch.01:33
TTT_Travisthere are some errors01:33
TTT_Travishttp://pastebin.com/75669701:33
TTT_Travisthats ifconfig01:33
=== Linuturk [n=linuturk@wsip-70-168-102-136.ga.at.cox.net] has joined #ubuntu-server
Linuturkthis is my windows box, so don't kill the other01:34
infinity(You could also have blown out the MAC on your card with a power surge on the line.  Stranger things have happened.01:34
TTT_Travisthere was a power outage a week ago01:34
TTT_Travisand it messed with my other card01:34
TTT_Travisso I put this one in there01:35
infinityThat may well have done Very Bad Things.01:35
TTT_Traviswell it has a mac address01:35
infinityOh, you've switched cards?  The new one could just be bad, then.01:35
infinityOr your "I blew up the NIC" assumption may be incorrect, and you may have actually blown the PCI bus, so any NIC will fail (though all will fail differently)01:36
TTT_Travisheres what happened, I had this realtek one in my server and it suddenly just stopped working with linux so I swapped it with a linksys one of my sisters windows box and tried the old nonworking on in her box, and suprisingly it worked, so I put the linksys one in my server01:36
infinityAnyhow, it sounds less like a software issue and more like a hardware issue. :/01:36
TTT_Travisit seemed to be working fine with breezy01:36
TTT_Travisfull speed transfers etc.01:36
TTT_Travismm01:36
Linuturk_NBthe default login for any database in mysql is my username and password for logging into the machine? or did you say it was root without a password?01:37
TTT_TravisI will mount my windows box on my dapper server and try to transfer files that way01:37
infinityLinuturk_NB: Root without a password, until you set something differently (which you should)01:38
TTT_Travisthat works fine at a normal speed01:38
infinityLinuturk_NB: Try something like "grant all on pointofsale.* to myuser identified by 'mypassword';"01:38
TTT_Travistry the mac I guess01:38
Linuturk_NBhow do I change that? and it's just for internal use. it won't be used on the internet01:38
neuralisLinuturk_NB: man mysqladmin01:40
Linuturk_NBERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'pointofsale.* to username identified by password' at line 101:40
neuralisLinuturk_NB: you're close to exhausting your goodwill allotment for general beginner questions :)01:41
Linuturk_NBmmk01:41
Linuturk_NBi'm just so close . . .01:41
TTT_Travis360448 how many megabytes is that?01:43
TTT_Travismeh01:43
TTT_Travisis there a way to show progress when using the cp command?01:43
TTT_Travis-v?01:43
neuralisTTT_Travis: -v will echo each file as it's copied.01:44
TTT_Travisk01:45
TTT_Travisyeah linux to windows seems fine but linux to mac seems slow01:45
TTT_Travisso maybe its something with my mac01:45
Linuturk_NBok, i ran sudo mysqladmin password ******01:46
Linuturk_NBnow I can't : mysql -u root01:46
Linuturk_NBo, got it01:47
infinityOkay, tutorial session is up.01:49
infinityneuralis: Feel free to be a jerk, now. :)01:49
Linuturk_NBno no, i got it :-P01:50
Linuturk_NBarg, maybe I don't01:59
Linuturk_NB:(01:59
TTT_Travisweird02:06
TTT_Travisfrom my mac I only get 13kb/s transfer but yet from my windows box to my linux box I get like 3 or 5 mb/s02:07
TTT_Travisyet mac to windows gives me 3mb/s02:08
TTT_Travisthink its something with my linux box then02:09
TTT_Travisdapper02:09
TTT_Travisoh I can download from my ubuntu dapper box at full speed02:10
TTT_Travislike 8mb/s02:10
TTT_Travisbut transfer is whats being slow02:10
neuralisthat's strange. i'd think syncookies/ecn/newreno-type stuff next, but i'm pretty sure you don't have any of it turned on, and that it wouldn't matter anyway on a local network.02:10
TTT_Travisyeah I just have a default install I haven't changed much really02:11
TTT_TravisI just did the lamp install02:11
TTT_TravisI still think its something software related02:12
TTT_Travisbecause it worked fine with breezy02:13
TTT_Travisthis sucks02:14
=== Linuturk [n=linuturk@wsip-70-168-102-136.ga.at.cox.net] has left #ubuntu-server []
Linuturk_NBgot it02:58
Linuturk_NB:)02:58
Linuturk_NBthanks guys02:58
Linuturk_NBlove your work02:58
=== Linuturk_NB [n=server@wsip-70-168-102-136.ga.at.cox.net] has left #ubuntu-server []
=== matias [n=matias@200-163-254-153.fozit203.dial.brasiltelecom.net.br] has joined #ubuntu-server
matiashi there!03:38
=== jsgotangco [n=jsg123@ubuntu/member/jsgotangco] has joined #ubuntu-server
=== jsgotangco [n=jsg123@ubuntu/member/jsgotangco] has joined #ubuntu-server
=== TTT_Travis [n=Travis@bal-bb-cable-2-172.dsl.airstreamcomm.net] has joined #ubuntu-server
TTT_TravisI install the dhcp3 server and for some reason it won't start on a default install of ubuntu server dapper05:58
TTT_Travisis there like a firewall blocking it?05:59
infinityIt won't start if you have no subnet declarations in /etc/dhcp3/dchpd.conf06:08
TTT_Travisk06:08
=== makotim [n=makotim@S01060011d8f0f998.cg.shawcable.net] has joined #ubuntu-server
=== TTT_Travis [n=Travis@bal-bb-cable-2-172.dsl.airstreamcomm.net] has left #ubuntu-server ["Leaving"]
=== jsgotangco [n=jsg123@ubuntu/member/jsgotangco] has joined #ubuntu-server
=== Mercury [i=warp@c-71-56-76-189.hsd1.ga.comcast.net] has joined #ubuntu-server
MercuryErm, just to verify, is it safe to upgrade to dapper drake with aptitude as opposed to the upgrade tool or apt-get dist-upgrade?08:40
=== aurel [n=aurel@APoitiers-155-1-97-211.w86-201.abo.wanadoo.fr] has joined #ubuntu-server
=== Mercury [i=warp@c-71-56-76-189.hsd1.ga.comcast.net] has left #ubuntu-server []
=== czc [n=Nicolas@cm-24-121-107-72.flagstaff.az.npgco.com] has joined #ubuntu-server
=== Lukketto [n=Lukketto@host150-175.pool873.interbusiness.it] has joined #ubuntu-server
=== truz_`24 [n=truz_`24@74.129.166.232] has joined #ubuntu-server
=== ivoks [n=ivoks@ubuntu/member/ivoks] has joined #ubuntu-server
=== jackc [n=jack@84-72-164-170.dclient.hispeed.ch] has joined #ubuntu-server
=== tmarble [n=tmarble@user-0cdvpct.cable.mindspring.com] has joined #ubuntu-server
=== jackc [n=jack@84-72-164-170.dclient.hispeed.ch] has joined #ubuntu-server
=== dieffel [n=dieffel@535A972B.flatrate.dk] has joined #ubuntu-server
=== aurel [n=aurel@APoitiers-155-1-97-211.w86-201.abo.wanadoo.fr] has joined #ubuntu-server
=== ivoks [n=ivoks@ubuntu/member/ivoks] has joined #ubuntu-server
=== Lukketto [n=Lukketto@host150-175.pool873.interbusiness.it] has joined #ubuntu-server
=== Toadstool [n=jcorbier@ubuntu/member/toadstool] has joined #ubuntu-server
=== Lukketto [n=Lukketto@host150-175.pool873.interbusiness.it] has left #ubuntu-server []
=== Toadstool [n=jcorbier@ubuntu/member/toadstool] has joined #ubuntu-server
=== nemster [i=nemster@rakim.vseth.ethz.ch] has joined #ubuntu-server
=== yogi [n=yogi@64.88.212.108] has joined #ubuntu-server
yogiI just finished installing the new 6.06 server on hda1 & LAMP on hda3.  B-4 I go any farther I would appreciate knowing if the sources.list differs from that of the kubuntu 6.06LTS?  Thanks.07:51
=== matias [n=matias@200-101-189-203.fozit205.dial.brasiltelecom.net.br] has joined #ubuntu-server
neuralisyogi: no, it doesn't.08:02
neuralisyogi: why did you do a separate LAMP installation? it's just plain 6.06 server + a few packages.08:03
yogineuralis:I did both to just check them out... never fsck'd with a server installation, b-4, so thought I'd look them over.08:07
yogineuralis:Thanks for the info about sources.list.08:08
yogineuralis:I'm currently running kubuntu 6.06LTS and have it set up as a router.  Perhaps I don't even need the server... but was curious.08:10
neuralisyogi: you understand they're really all the same underneath, right? kubuntu just has a bunch of desktop packages installed.08:10
yogineuralis:That is what I have begun to realize since looking at the two server pkgs.  The added advan to my kubuntu is that the desktop is already installed (plus, the sound works).08:15
=== mgalvin [n=mgalvin@ubuntu/member/mgalvin] has joined #ubuntu-server
yogineuralis:I just had a spare HD so thought I'd take a look since I didn't d/l the live one.08:15
neuralisright, and i'm explaining there's nothing to take a look at -- it's just your kubuntu desktop without the desktop packages, and with a few server packages if you did the lamp install.08:16
neuralisyou can install the same server packages on the kubuntu machine.08:16
=== nictuku [n=yves@ubuntu/member/nictuku] has joined #ubuntu-server
yogiYep... I realize that, now.  Thanks for the info. :-)  I was pretty sure they were the same.  The kernel even seems to be the same one.08:17
=== ivoks [n=ivoks@ubuntu/member/ivoks] has joined #ubuntu-server
nictukuhi08:17
yogiA couple other distros I've used over the past couple years used different kernels.08:17
yoginictuku:hi.08:18
edneymatiashi08:18
infinityyogi: We use a different kernel on server installs.08:18
infinityyogi: 2.6.15-23-server is what you should have gotten, while your kubuntu install would be 2.6.15-23-38608:19
infinity(But there's nothing stopping you from installing either in the other system)08:19
yogiinfinity:So there really is a diff, then.08:19
infinityyogi: package selection is the only difference.  The kernel is just a package like any other.08:19
infinityyogi: "apt-get install linux-server" on kubuntu, and you have the server kernel.  <twirl finger>08:20
yogiinfinity:true.  The kernel is hardened, then?08:20
neuralisyogi: (don't do that; your desktop will work like shit with a server kernel.)08:20
yogiOkay... got it. lol08:20
yogiMust be a big diff.08:20
edneymatiasinfinity: that is it? a different kernel and a LAMP stack?08:21
infinityyogi: No, it just had some different defaults.  Lower polling rate (hence the "run like shit" above), no preempt (again, not great for desktops), different I/O scheduler (see above), etc.08:21
neuralisyogi: not security-hardened. it's non-preemptive, uses a different i/o scheduler (this is the bit that kills desktops), does some smp+numa, slower tick rate.08:21
neuralishah. what infinity said.08:21
infinityedneymatias: Well, and no desktop fluff, yes.08:22
infinityedneymatias: I'm from the Debian school of server adminitration, where less is very much more.08:22
yogiinfinity/neuralis:Many thanks for the info.  You, too, edneymatias. :-)08:22
infinityedneymatias: Fewer moving parts == easier to understand, less to break, and longer uptimes.08:22
neuralis 14:23:12 up 114 days, 23:15, 178 users,  load average: 0.26, 0.27, 0.2408:23
infinityedneymatias: And having the desktop and server installations use the same package base means that you can hack software on your laptop that you know will work on your server, since using the server for hacking is often a Really Dumb Idea.08:23
yogineuralis:Cool.08:23
edneymatiasinfinity: yeah! i agree!08:23
infinity 12:23:59 up 368 days, 11:23,  1 user,  load average: 0.00, 0.00, 0.0008:24
neuralisinfinity: well yes, but this box actually has users :P08:24
infinityThat's my (still not upgraded, because I'm lazy) woody box.08:24
yogiHow long since [neuralis/infinity]  updates?08:24
infinityneuralis: That one hosts ~500 DNS zones and ~250 apache vhosts.  It's not "big", but big enough.08:24
infinityneuralis: It's just not a shell box, as yours clearly is. :)08:25
neuralisfair enough.08:25
yogiinfinity/neuralis:I'm running into [seemingly]  weird behaviour on my HP notebook ..I actually have to reboot or risk trouble when updating.08:25
neuralisyogi: define trouble?08:26
infinity(It's also running woody still, but why split hairs... it's all the same heritage)08:26
nictukuhehe talking about upgrades, mariomeyer didn't manage to dist-upgrade our server correctly, not it's been offline for a few days, including nwu trac and svn repos.08:26
ivoksneuralis: A state of distress, affliction, difficulty, or need: tried to console them in their trouble; got in trouble with the police.08:26
ivoksneuralis: :)08:26
infinityHah, and this is the box sitting next to it:08:26
infinity 13:26:17 up 365 days,  9:53,  3 users,  load average: 0.03, 0.12, 0.2108:26
infinityYou can tell that must have been "kernel upgrade week".08:26
yogineuralis:By trouble I'm referring to various things start to behave weirdly and it isn't always the same.08:26
nictukuinfinity, 2.4 or 2.2 kernels in those woodies?08:27
infinitynictuku: 2.4.31+patches on both of them08:27
infinityThey're both in desperate need of some TLC, but work always seems to come before hobbies.08:28
yogiTake X/KDE, for instance: There was a bad kde-guidance pkg whose bad behaviour appeared by simply restarting; X, on the other hand, though restarted, worked --and when rebooted, went screwy.08:28
yogineuralis:The X behaviour was post-update for X, of course.  Left that part out.08:29
nictukuthere is a considerable chance that nwu svn and trac repos are gone forever :-(08:30
neuralisinfinity: 500 zones as a hobby? say, are you the gentleman that wants me to partake in a business venture whereby a certain amount of funds is to be transferred out of the deceased dictator's private accounts? you should have just said so! i'd have taken you up on the kind offer post haste. ;)08:30
neuralisnictuku: why?08:30
infinitynictuku: If they can be pulled off the filesystem, I can help recover them.08:30
edneymatiasinfinity: errr...but why not administer a server from a desktop?08:31
nictukuthe guy didn't create a backup for it08:31
infinityneuralis: Hahaha.  I just do a lot of hosting for friends and family, that's all. :)08:31
infinityedneymatias: Because GUI tools are never a good replacement for understanding how your system actually work.08:31
nictukualthough I've asked for a dump every day :-(08:31
infinityedneymatias: Especially when the GUI fails and you NEED to fix it with SSH, but realise you never bothered to learn how.08:32
neuralisnictuku: you still have the most recent code, right?08:32
nictukuinfinity, I don't know the details. It's a canonical funded box, hosted at serverpronto I guess08:32
nictukuneuralis, yes, but I've put a lot of TLC in the trac and in the svn logs :-(08:32
edneymatiasinfinity: ok...but ssh can fail too08:32
nictukuwork is not lost08:32
infinitynictuku: Don't need a dump.  If the original repository exists at all, even in a slightly-buggered state, it can be recovered.08:32
neuralisnictuku: sorry to hear about it. i'm happy to give you proper hosting for nwu if you need it.08:33
infinityedneymatias: The odds of your sshd failing but some GUI still being up are pretty slim. :)08:33
nictukuneuralis, thanks.08:34
neuralisnictuku: proper being high bandwidth, shell, raid drives and nightly off-continent backup.08:34
infinityedneymatias: But mostly, it's that adding the whole X/desktop stack to a system drastically increases its complexity.08:34
infinityedneymatias: It also has a non-kernel process directly fiddling with hardware, leading to instability.08:34
infinityedneymatias: Neither of those is a win.08:34
neuralisinfinity: yeah, scary, that.08:34
nictukuneuralis, that is much better than the paid xen virtual host I was planning to move it to, whenever I got the svn and trac dumps hehe08:35
neuralisnictuku: when you're ready, mail me your ssh2 pubkey and i'll set you up.08:36
infinityneuralis: How much does your current workplace love Debian/Ubuntu?08:36
infinityneuralis: And is there a hands-on lab where free software gigs can be hosted? :)08:37
neuralisinfinity: what do you need?08:37
infinityneuralis: Michael Schmitz (Debian developer and m68k hacker) is leaving the university he's been at for the last 400 years, and we need to find new hosting for {crest,q650,kullervo}.debian.org (m68k porting machines)08:38
infinityneuralis: I was going to just ship them to me here in .au, but hosting on .edu bandwidth would be much less crap.08:38
infinityneuralis: Being old hardware, they require the occasional kick (crest crashes twice a year, that sort of thing), hence the "hands-on" requirement, rather than just locking them in a closet.08:39
neuralisif you don't need >~99% uptime, it's almost certainly not a problem08:39
infinityI don't think we care much about five nines. :)08:39
nictukuhehe08:39
=== yogi [n=yogi@64.88.212.108] has left #ubuntu-server ["Konversation]
neuralisinfinity: let me shoot around a few mails, but that should be fine.08:39
edneymatiasinfinity: the x/desktop stuff can help me administer my systems?08:40
infinityedneymatias: In all honesty?  Probably not.  There are very few good GUI tools written to adminiter most daemons.08:40
infinityedneymatias: People who write UNIX server software tend to be old skool enough to not see the point, and new skool kids don't seem to "get it", and write tools that stomp all over your configs and generally break the system.08:41
edneymatiasinfinity: and what if we develop that good GUI tools?08:41
neuralisedneymatias: famous last words. it's *much* easier said then done.08:42
infinityedneymatias: <shrug>.. If you were to develop them, that would be a good argument, perhaps, for X-over-ssh, or such, but still never a good argument for an Xserver running on the server box.08:42
edneymatiasinfinity: would the x/desktop be helpfuul?08:42
nictukuedneymatias, there are many initiatives to, but using the CLI is more efficient, as the unix history shows08:42
nictukuedneymatias, hardly08:42
infinityedneymatias: Realistically, I'd not put my seal of approval on anything that adds complexity to the system for the sake of people who can't read manuals.  If it can be done in a way that doesn't harm people like ME, while also helping others, then that's cool.08:43
edneymatiasnictuku: ok...you are right, CLI is MUCH more efficient08:43
neuralisinfinity: i have a tentative green light on hosting the machines. i'll double check for any possible obscure problems (since we wouldn't own the machines), but i don't expect issues.08:43
nictukuedneymatias, viu? :-)08:43
infinityTihs has been attempted with web-based management software, for instance, which leverages things you already want on a server, while not adding new software.  But most web-based management has, to date, sucked balls.08:43
edneymatiasnictuku: vi! ;-)08:44
=== TTT_Travis [n=Travis@bal-bb-cable-2-172.dsl.airstreamcomm.net] has joined #ubuntu-server
TTT_TravisI am trying to set up a dhcp3 server but when I start it keeps failing, is there a log file somewhere so I can see why its failing?08:44
nictukuwebmin => /dev/null08:44
infinityneuralis: Bear in mind that someone in the lab where the machines live would have to be willing to occasionally button-bitch, and perhaps even learn enough about Debian/68k to be walked through swapping faulty hardware or such.08:44
infinityneuralis: If that's way too unrealistic, I'll just host 'em in my house. :)08:44
nictukuTTT_Travis, tried /var/log/syslog?08:45
nictukuTTT_Travis, check /etc/default/dhcp3-server (or something like that)08:45
TTT_TravisI'll check08:45
infinity /var/log/daemon.log even.08:45
nictukuTTT_Travis, you need to set the interfaces the daemon will listen and send replies to08:45
infinityYou need two things.  You need to tell it what interface(s) to listen on in /etc/default/dhcp3-server, and you need a valid config file with at least one subnet properly declared in /etc/dhcp3/dhcpd.conf08:46
TTT_Travisnictuku gottcha08:46
neuralisinfinity: it's fine on both counts; it'd be smart folks hosting them08:46
nictukuand probably declare it "authoritative"08:46
infinitydhcpd is really rather picky about not loading if the config is useless.08:46
neuralisinfinity: and i have a key in the unlikely case a cluebat need be wielded.08:47
infinityif the config is a no-op (ie: listen on eth0, but don't declare any of the subnets on eth0), it'll just exit.08:47
infinityneuralis: How many years are you planning on being there? :)08:47
nictuku:-)08:48
neuralisinfinity: it's not contingent upon my being there, so they can stay there as long as they're needed08:49
infinityneuralis: Anyhow, I'll talk to Michael and see if he's found hosting in Europe yet.  If not, I'll poke you again.  Your offer sounds about like what we want.08:49
neuralissure.08:50
infinity(And you'll be one of the few universities in the world running multiuser m68k machines, that's got to count for some sort of academic nerd points)08:51
infinitycrest gets a LOT of use.08:51
nictukuis the ubuntu-server list not listed in the lists index on purpose?08:51
infinitynictuku: Probably just an oversight, though the relative silence on the list as a result is pleasant, no?08:52
neuralisinfinity: it'll go nicely with the nerd points we have for running the first-ever large scale automatic digital computer in the states :)08:52
infinityYou still put power to the thing?08:53
neuralishell no. i think it'd burn up in a big ball of fire if we did, not before dimming the lights of every apartment in a 3 mile radius.08:54
nictukuhehehehe08:54
neuralisbut it's on display in the science center.08:55
neuralisparts thereof; it's largely disassembled nowadays.08:55
infinityneuralis: Yeah, that's what I was thinking, but your use of "running" in the baove sentence led me to believe it was STILL running.08:55
infinityabove, too.08:55
neuralisah, sorry. i meant "once running".08:56
infinitySubtle language, this English.08:56
neuralisIt was built using 765,000 components and hundreds of miles of wire, amounting to a size of 51 feet (16 m) in length, eight feet (2.4 m) in height, and two feet deep. It had a weight of about five short tons (4500 kg). The basic calculating units had to be synchronized mechanically, so they were run by a 50 foot (15 m) shaft driven by a five-horsepower (4 kW) electric motor. The Mark I could store 72 numbers, each 23 decimal digits long.08:57
nictukuthanks for the metric conversion08:57
neuralisinfinity: think we could run ubuntu on it? :)08:58
neuralisnictuku: courtesy of wikipedia.08:58
TTT_Traviscan anyone that knows about dhcp3-server look at this and tell me what I am doing wrong in my config file?08:58
TTT_Travishttp://pastebin.com/75817208:58
nictukuTTT_Travis, you have to have a subnet lease declaration08:59
neuralisTTT_Travis: that's a VERY descriptive and helpful error message. what's unclear?08:59
infinityneuralis: Hey, I specialise in running Linux on ancient/obsolete 32-bit systems.  Any further back, and you'r on your own. :)08:59
TTT_Travisneuralis I am not really sure how it wants me to declare the subnet in the dhcpd.conf file09:00
nictukuTTT_Travis, well, you should read the documentation of a service you're trying to install09:01
nictukuTTT_Travis, try www.debian-administration.org09:01
nictukuTTT_Travis, wiki.ubuntu.com must have something too09:01
TTT_Travisk09:01
infinityTTT_Travis: The conf file has example subnet declarations in it, commented out.09:01
infinityTTT_Travis: "man dhcpd.conf" is also helpful.09:02
infinityTTT_Travis: As is "man dhcp-options", if you're looking to get scary in-depth.09:02
neuralisi'm out, cheers.09:03
infinityLater, Ivan.09:03
nictukuneuralis, cheers09:05
TTT_Travisok here is what I get now09:08
TTT_Travishttp://pastebin.com/75819209:08
TTT_Travisalong with my config file09:08
TTT_Traviswhich I am sure I am doing wrong09:08
infinityMismatched braces, for one.09:09
TTT_Travisoh yeah09:09
TTT_Travisignore that09:09
TTT_TravisI removed the extra brace and it still gives me same error09:09
infinityYou really should have broadcast-address and routers in the subnet declaration too, not globally, for sanity's sake.09:10
TTT_Travisk09:11
TTT_Travisbad subnet number/mask combination.09:11
TTT_Traviswhat would that mean?09:11
infinityWell, can you paste your CURRENT config then, instead of asking me to debug the wrong one? :)09:11
infinity192.168.1.3 isn't a network number, if your IP address.09:11
infinityYour IP address (192.168.1.3) belongs to the network 192.168.1.0/24 (or "subnet 192.168.1.0 netmask 255.255.255.0" in dhcpd-speak)09:12
TTT_Traviscurrent09:12
TTT_Travishttp://pastebin.com/75820809:12
TTT_Travis192.168.1.3 is the boxes ip assigned from my router09:12
infinityYes, which is not a NETWORK ADDRESS, it's YOUR ADDRESS.09:13
infinityThe network is 192.168.1.009:13
TTT_Travisalright09:13
infinityAlso, if you have DHCP on this subnet already, you realise this won't work at all, right?09:13
infinityYou'll have to give your machine a static IP, and turn off the DCHP server on your router.09:14
TTT_Travishmm09:14
TTT_Traviswhat if I changed the network?09:15
TTT_Travisto like 192.168.2.009:15
infinityThen you'd need to have another physical network.09:15
TTT_Travisoh09:15
TTT_TravisI suppose09:15
TTT_Traviswell what I am trying to do is setup ltsp if you have ever heard of that just to play around with it a little09:15
infinityDHCP happens before machine have IP addresses (obviously), so the subnet doesn't matter, it's the physical wire that matters.09:15
TTT_Travisbut I am stuck on this dhcp3 server part09:15
infinityTwo DHCP server on the same wire (unless masked off with MAC ACLs) will explode.09:16
infinityAnyhow, fix your subnet declaration, give your machine a static IP, turn off DHCP on the router, and you're golden.09:16
TTT_Travisyeah and this box only has one NIC anyway09:16
TTT_Travisso would that work?09:17
infinityAnd keep in mind that you're now serving DHCP for the whole physical subnet, not just for the ltsp clients. :)09:17
TTT_Travisyeah09:17
TTT_Travisthats fine09:17
TTT_Travisso the box that this is running on would just assign ips to all of the boxes connected to the network?09:17
infinityYes.09:17
TTT_Travismy cabling its setup like Router -> dhcp server and then Router -> PC and and Router -> other pc09:18
TTT_Travisso I wouldn't need another nic card?09:18
infinityThe router is a switch or hub, right?09:19
infinitySo all the machines can see each other through it just fine.09:19
infinitySo it doesn't matter who is serving DHCP, so long as there's only one of you doing it.09:19
infinityIt's all one physical ethernet network.  One big wire.09:19
TTT_Travisok09:19
TTT_Travisyes09:19
TTT_TravisI gotcha09:19
TTT_TravisI will attempt to set this up now09:19
infinity(which reminds me, I really need to turn off DHCP on my home DSL router and move it to another machine..)09:22
infinityThanks for the accidental reminder.09:22
=== Travis__ [n=Travis@bal-bb-cable-2-172.dsl.airstreamcomm.net] has joined #ubuntu-server
=== Travis__ [n=Travis@bal-bb-cable-2-172.dsl.airstreamcomm.net] has left #ubuntu-server ["Leaving"]
=== zenrox [n=zenrox@71.115.198.118] has joined #ubuntu-server
=== lbm [n=lbm@0x555298ca.adsl.cybercity.dk] has joined #ubuntu-server
=== mgalvin [n=mgalvin@ubuntu/member/mgalvin] has joined #ubuntu-server
=== frinkillo [n=antonio@81-203-113-101.user.ono.com] has joined #ubuntu-server
=== mgalvin [n=mgalvin@ubuntu/member/mgalvin] has joined #ubuntu-server
=== nemster [i=nemster@rakim.vseth.ethz.ch] has left #ubuntu-server []

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