[12:07] <shawarma> .. If you've added an entry to the hosts file on the dnsmasq server, you'll have a line like
[12:08] <shawarma> www.google.com has address 127.0.0.1
[12:08] <shawarma> at the top.
[12:08] <shawarma> Right?
[12:08] <Aw0L> eh?
[12:08] <Aw0L> my 127.0.0.1 is set for localhost
[12:08] <Aw0L> if that's what you maen
[12:08] <Aw0L> ?
[12:09] <shawarma> Well, not necessarily 127.0.0.1, but whatever you've set www.google.com to point to, of course.
[12:09] <Aw0L> okay?
[12:10] <Aw0L> I just added "192.168.1.x google.com google"
[12:10] <shawarma> Not an actual "x", right?
[12:10] <Aw0L> whatdo you mean by the alias stuff?
[12:10] <Aw0L> right :)
[12:10] <shawarma> Good. :-)
[12:10] <shawarma> Try running "host www.google.com"
[12:10] <shawarma> You'll see.
[12:10] <shawarma> It'll all make sense.
[12:10] <Aw0L> in my fstab?
[12:11] <shawarma> !??!?! What?
[12:11] <Aw0L> huh?
[12:11] <shawarma> fstab?!?
[12:11] <shawarma> What?
[12:11] <Aw0L> whoops
[12:11] <Aw0L> typo
[12:11] <Aw0L> hosts
[12:11] <Aw0L> /etc/hosts
[12:11] <shawarma> In a terminal, type:
[12:11] <shawarma> host www.google.com
[12:11] <shawarma> press return.
[12:11] <shawarma> watch.
[12:11] <shawarma> :-)
[12:11] <Aw0L> ok, that's what it says
[12:12] <Aw0L> but...
[12:12] <Aw0L> what does that mean?
[12:12] <shawarma> "www.google.com is an alias for www.l.google.com." means that there's a CNAME record for www.google.com pointing at www.l.google.com.
[12:13] <Aw0L> wait
[12:13] <shawarma> Are you familiar with CNAME records?
[12:13] <Aw0L> I think it was a misconfiguration
[12:13] <Aw0L> in my /etc/resolv.conf my first nameserver was 127.0.0.1 instead of the local IP
[12:13] <Aw0L> that's on the dns servr
[12:13] <Aw0L> it works now!
[12:13] <shawarma> Yay.
[12:14] <Aw0L> cool!
[12:14] <Aw0L> thanks for your help
[12:14] <shawarma> any time.
[12:22] <Innatech> so...I can reproduce this SSH problem from down the hall. I can hit servers on hosts other than the ones I'm SSHing into, but local ports mapped to ports on the target machine don't work. Firefox gives a "the connection was reset while the page was loading" page. I have cygwin on the machine I'm testing with. Any tips for using netcat to examine the problem? 
[12:23] <Innatech> Target box is running Ubuntu 6.06, btw. 
[12:29] <shawarma> Innatech: Well, a quick "netcat localhost 80" would perhaps reveal something.
[12:32] <davekempe> anyone here used dbench? how long is a test with 100 clients supposed to take on decent new hardsware? in real time
[01:11] <Innatech> well, that cygwin install is missing netcat, but the windows version yielded some bizzare results:
[01:12] <Innatech> bleh, can't find the transcript now. But here's some exemplary lines from the SSH event log...
[01:13] <Innatech> Opening forwarded connection to 192.168.1.1:80
[01:13] <Innatech> 2007-04-04 15:53:09     Opening forwarded connection to 192.168.1.1:80
[01:13] <Innatech> 2007-04-04 15:53:10     Forwarded port closed
[01:13] <Innatech> 2007-04-04 15:53:10     Forwarded port closed
[01:13] <Innatech> 2007-04-04 15:53:16     Opening forwarded connection to 192.168.1.5:80
[01:13] <Innatech> 2007-04-04 15:53:16     Forwarded connection refused by server: Connect failed [Connection refused] 
[01:13] <Innatech> Any ideas welcome. 
[01:14] <davekempe> have tried telneting from the forwarding server to the target server?
[01:14] <davekempe> on the target port
[01:14] <Innatech> forwarding server is the target serve.r 
[01:15] <Innatech> 192.168.1.5 is the machine SSH'd into. 
[01:15] <davekempe> sorry im coming on the tail end of this problem
[01:15] <Innatech> and yes, local browsing is OK. 
[01:15] <Innatech> no, good question. I didn't include the first lines of the SSH log so as not to spam the channel. 
[01:17] <davekempe> don't hesitate to reach for a packet sniffer if you are scratching your head
[01:18] <Innatech> yeah....sigh. I tend to get a little lost trying to do that, but it's worth a try. 
[01:22] <davekempe> just filter out only the ports you need
[01:46] <Innatech> so....it appears to be some kind of problem with HTTPS. As in, its not working. If I specify plain HTTP over 8080, then it works. Same thing on the local host, too. Bizzare. 
[01:47] <Innatech> *local host in that sense being the box running the httpd I want to hit, and into which I'm SSH'd and tunneled. 
[01:20] <dsdg> halo, anyone here running mod_encoding?
[01:20] <dsdg> I am struggling to compile it,
[01:21] <dsdg> i have mod_encoding.c, how do i compile it?
[01:21] <dsdg> to get the .so file?
[04:34] <\sh> for apache?
[04:34] <\sh> or apache2?
[04:35] <\sh> oh he's gone..apt-get install libapache2-mod-encoding will help anyways ,-)
[06:52] <evilkry> hello
[06:53] <evilkry> I am new to the lamp server install of ubuntu - i'm going to use the 6.06 version
[06:53] <evilkry> I have a question in regards to the default of mysql... what is setup after a default install.. what will I need to do as far as changing the root password and or creating my users?
[06:55] <theacolyte> well
[06:56] <theacolyte> besides telling you to google something like that because the first things that pop up will tell you what
[06:56] <theacolyte> mysqladmin -u root password yourrootsqlpassword
[06:56] <theacolyte> mysqladmin -h server1.blahblahblah.com -u root password yourrootsqlpassword
[06:56] <theacolyte> for user admin, www.mysql.com
[06:57] <ivoks> evilkry: any previous experience with mysql?
[06:57] <evilkry> yes
[06:57] <evilkry> i've been using it on my godaddy.com server account for a while
[06:57] <ivoks> then phpmyadmin is overkill for you or a handy tool? :)
[06:57] <evilkry> but i'm bringing it in house to a new server
[06:57] <evilkry> phpmyadmin is handy :P
[06:58] <ivoks> then install phpmyadmin too :)
[06:58] <evilkry> I definatly intend to hehe
[06:58] <evilkry> I here that on ubuntu I can just apt-get install phpmyadmin ?
[06:59] <theacolyte> evilkry: yes
[06:59] <theacolyte> evilkry: packages.ubuntu.com
[07:00] <evilkry> oh cool, thank you
[07:02] <ivoks> evilkry: you should enable universe repository
[07:02] <ivoks> and then install it
[07:03] <ivoks> it will be on http://your_server/phpmyadmin
[07:03] <evilkry> ok, as soon as my iso image finished downloading i'll burn it and then rock it out
[07:04] <evilkry> i'm trying to feal out most of my playing field here before I hit it
[07:05] <ivoks> on linux, you have to know only one thing
[07:05] <ivoks>  /var/log has answers to all of your problems :)
[07:05] <evilkry> haha
[07:06] <evilkry> I havn't ran a linux server in quite some time... I beleive it was slack 9 - the last I had running
[07:06] <theacolyte> I think it's the other way around
[07:06] <theacolyte> i.e. /var/log has all your problems
[07:06] <theacolyte> hehe
[07:06] <ivoks> :)
[07:07] <evilkry> hrhr
[07:13] <evilkry> how hard do you all think it will be in setting up my server to run about 6 different IPs, some sites running on the same and some sites running on seperate ips
[07:15] <ivoks> not hard
[07:15] <ivoks> if you understand how apache works
[07:16] <theacolyte> any of you know anything about ipv6?
[07:17] <evilkry> theacolyte: wish I did, the last ccna course i was barely even mentioned it :(
[07:17] <ivoks> i'm avoiding learning ipv6 untill my job starts depending on it :D
[07:18] <theacolyte> hehe
[07:18] <theacolyte> I'm going to be setting it up on my home office
[07:18] <theacolyte> Have a Cisco 1811, it can do it
[07:19] <evilkry> ivoks: I understand how to do UP aliasing in linux, just a little confused perhaps on how apache handles the domains... I also think I understand that I can just setup like the NameVirtualHost * adn then do Servername www.somedomain.com with DocumentRoot etc
[07:19] <theacolyte> ISP supports ipv6 tunnels
[07:19] <evilkry> just kinda throws me when you start bringing in the "other" ip addresses
[07:20] <theacolyte> evilkry: the apache side of vhosts is by far the easiest part of the whole process
[07:20] <theacolyte> hehe
[07:20] <theacolyte> I've done it plenty o times
[08:26] <theacolyte> elyob: there are no gui options, installing X is a lot of work on ubuntu-server
[08:28] <elyob> theacolyte: Hi, thanks for that. I'm just figuring out my way around server at the moment. 
[08:30] <evilkry> i've seen a lot in my reading today the follow: mysqladmin -u root password yourrootsqlpassword
[08:30] <evilkry> mysqladmin -h server1.example.com -u root password yourrootsqlpassword
[08:30] <evilkry> do I really need the second part including the -h server1.example.com ?
[08:30] <theacolyte> evilkry: that's what I told you to do like... an hour ago :P
[08:31] <evilkry> or can I get by with just mysqladmin -u root password yourrootsqlpassword
[08:31] <theacolyte> yes, it sets access for root to only work from your localhost
[08:31] <evilkry> ah
[08:31] <theacolyte> not doing so is a serious security risk
[08:31] <evilkry> well i'm going to do that hehe
[08:31] <theacolyte> good idea :)
[09:16] <katia_> hello everybody
[09:16] <katia_> Has anyone had install qmail?
[09:21] <katia_> Has anyone had install qmail?
[09:22] <katia_> Has anyone ever had install qmail?
[09:42] <ivoks> not me :)
[09:47] <lionel> katia_: yes I use to install it
[09:47] <lionel> but it was on Debian...
[09:49] <katia_> lionel i'm trying to install qmail using kubuntu 6.06
[09:50] <lionel> I do not know why qmail-src disapears from Ubuntu...
[09:50] <katia_> i'm using the qmail howto
[09:55] <katia_> what distro you recommend to use as a server?
[09:57] <lionel> Ubuntu :)
[09:59] <Burgwork> funny that we would recommend that here
[10:04] <katia_> anyone has install qmail using ubuntu?
[10:12] <katia_> noone?
[10:12] <lionel> katia_: this is probabily a stupid question but... I am not going to say 'you should not use qmail', etc.
[10:12] <lionel> but do you have a good reason to use qmail ? qmail is quite difficult to setup and to maintain
[10:12] <lionel> it was secure and fast. But now, postfix and exim are as secure and fast
[10:13] <katia_> what software you recommend?
[10:13] <lionel> postfix or exim
[10:13] <katia_> ok
[10:13] <lionel> I would personaly recommend postfix
[10:13] <katia_> thanks lionel
[10:14] <lionel> you're welcome
[10:19] <jhutchins> katia_: I'd second that, postfix with postgrey.
[10:20] <katia_> ok thanks guys
[10:20] <ivoks> postgrey rocks
[10:21] <katia_> i've been almost a month with qmail
[10:22] <ivoks> if only @ubuntu.com's MX would use postgrey ;] 
[10:58] <J_P> hi all
[10:59] <J_P> hey all..
[10:59] <J_P> I think I find a bug on 6.10 server..
[10:59] <J_P> look:
[11:00] <J_P> I have two HDs 80GB. So I create this:
[11:00] <J_P> /dev/sda1  - raid autodetect
[11:00] <J_P> /dev/sda2 - swap
[11:00] <J_P> /dev/sdb1  - raid autodetect
[11:00] <J_P> /dev/sdb2 - swap
[11:01] <J_P> so i create RAID 1 via software (install software) and after first reboot... 
[11:01] <J_P> machine initiate and show: 
[11:01] <J_P> mdadm: /dev/md0 has been started with 2 drivers.
[11:02] <J_P> and after long time (10 minutes more less)  show this message:
[11:02] <J_P> ALERT! /dev/hda1 does not exist. Dropping to shell.
[11:02] <J_P> And go to busybox shell..
[11:02] <J_P> why this ?
[11:02] <J_P> I don't have any IDE (hda1) 2 discs are sata..
[11:07] <J_P> anyone here... ?
[11:11] <Pumpernickel> bug 36829
[11:11] <Pumpernickel> gah
[11:11] <Pumpernickel> https://launchpad.net/bugs/32123 and 36829
[11:44] <evilkry> hey guys i've successfuly got my ubuntu server up and running
[11:44] <evilkry> hooray