[12:07] .. If you've added an entry to the hosts file on the dnsmasq server, you'll have a line like [12:08] www.google.com has address 127.0.0.1 [12:08] at the top. [12:08] Right? [12:08] eh? [12:08] my 127.0.0.1 is set for localhost [12:08] if that's what you maen [12:08] ? [12:09] Well, not necessarily 127.0.0.1, but whatever you've set www.google.com to point to, of course. [12:09] okay? [12:10] I just added "192.168.1.x google.com google" [12:10] Not an actual "x", right? [12:10] whatdo you mean by the alias stuff? [12:10] right :) [12:10] Good. :-) [12:10] Try running "host www.google.com" [12:10] You'll see. [12:10] It'll all make sense. [12:10] in my fstab? [12:11] !??!?! What? [12:11] huh? [12:11] fstab?!? [12:11] What? [12:11] whoops [12:11] typo [12:11] hosts [12:11] /etc/hosts [12:11] In a terminal, type: [12:11] host www.google.com [12:11] press return. [12:11] watch. [12:11] :-) [12:11] ok, that's what it says [12:12] but... [12:12] what does that mean? [12:12] "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] wait [12:13] Are you familiar with CNAME records? [12:13] I think it was a misconfiguration [12:13] in my /etc/resolv.conf my first nameserver was 127.0.0.1 instead of the local IP [12:13] that's on the dns servr [12:13] it works now! [12:13] Yay. [12:14] cool! [12:14] thanks for your help [12:14] any time. [12:22] 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] Target box is running Ubuntu 6.06, btw. === davekempe [n=dave@ucw.com.au] has joined #ubuntu-server [12:29] Innatech: Well, a quick "netcat localhost 80" would perhaps reveal something. [12:32] anyone here used dbench? how long is a test with 100 clients supposed to take on decent new hardsware? in real time [01:11] well, that cygwin install is missing netcat, but the windows version yielded some bizzare results: [01:12] bleh, can't find the transcript now. But here's some exemplary lines from the SSH event log... [01:13] Opening forwarded connection to 192.168.1.1:80 [01:13] 2007-04-04 15:53:09 Opening forwarded connection to 192.168.1.1:80 [01:13] 2007-04-04 15:53:10 Forwarded port closed [01:13] 2007-04-04 15:53:10 Forwarded port closed [01:13] 2007-04-04 15:53:16 Opening forwarded connection to 192.168.1.5:80 [01:13] 2007-04-04 15:53:16 Forwarded connection refused by server: Connect failed [Connection refused] [01:13] Any ideas welcome. [01:14] have tried telneting from the forwarding server to the target server? [01:14] on the target port [01:14] forwarding server is the target serve.r [01:15] 192.168.1.5 is the machine SSH'd into. [01:15] sorry im coming on the tail end of this problem [01:15] and yes, local browsing is OK. [01:15] no, good question. I didn't include the first lines of the SSH log so as not to spam the channel. [01:17] don't hesitate to reach for a packet sniffer if you are scratching your head [01:18] yeah....sigh. I tend to get a little lost trying to do that, but it's worth a try. [01:22] just filter out only the ports you need [01:46] 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] *local host in that sense being the box running the httpd I want to hit, and into which I'm SSH'd and tunneled. === infinity [n=adconrad@cerberus.0c3.net] has joined #ubuntu-server === Burgundavia [n=corey@ubuntu/member/burgundavia] has joined #ubuntu-server === sky_walkie [i=czzhrd02@xdsl-563.lodz.dialog.net.pl] has joined #ubuntu-server === [miles] [n=miles@bcn1.entorno.es] has joined #ubuntu-server === ivoks [n=ivoks@37-84.dsl.iskon.hr] has joined #ubuntu-server === ||arifaX [n=||arifaX@inetpop1.witron.de] has joined #ubuntu-server === lbm [n=lbm@0x555373ab.adsl.cybercity.dk] has joined #ubuntu-server === foo [n=foo@unaffiliated/foo] has joined #ubuntu-server === ivoks_ [n=ivoks@19-231.dsl.iskon.hr] has joined #ubuntu-server === dsdg [n=dsdg@196.211.106.129] has joined #ubuntu-server === TeTeT [n=spindler@modemcable178.77-70-69.static.videotron.ca] has joined #ubuntu-server [01:20] halo, anyone here running mod_encoding? [01:20] I am struggling to compile it, [01:21] i have mod_encoding.c, how do i compile it? [01:21] to get the .so file? === EtienneG [n=etienne@ubuntu/member/EtienneG] has joined #ubuntu-server === mgalvin [n=mgalvin@ubuntu/member/mgalvin] has joined #ubuntu-server [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 ,-) === mipe [n=mipe@p5B01EF13.dip.t-dialin.net] has joined #ubuntu-server === hexidigital [n=hexidigi@unaffiliated/hexidigital] has joined #ubuntu-server === sacater_ [n=sacater@213.131.245.105] has joined #ubuntu-server === ivoks [n=ivoks@16-56.dsl.iskon.hr] has joined #ubuntu-server === evilkry [n=evilkry@65-70-128-207.jamcitykc.com] has joined #ubuntu-server [06:52] hello [06:53] I am new to the lamp server install of ubuntu - i'm going to use the 6.06 version [06:53] 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] well [06:56] besides telling you to google something like that because the first things that pop up will tell you what [06:56] mysqladmin -u root password yourrootsqlpassword [06:56] mysqladmin -h server1.blahblahblah.com -u root password yourrootsqlpassword [06:56] for user admin, www.mysql.com [06:57] evilkry: any previous experience with mysql? [06:57] yes [06:57] i've been using it on my godaddy.com server account for a while [06:57] then phpmyadmin is overkill for you or a handy tool? :) [06:57] but i'm bringing it in house to a new server [06:57] phpmyadmin is handy :P [06:58] then install phpmyadmin too :) [06:58] I definatly intend to hehe === ||arifaX [n=||arifaX@p54b59381.dip0.t-ipconnect.de] has joined #ubuntu-server [06:58] I here that on ubuntu I can just apt-get install phpmyadmin ? [06:59] evilkry: yes [06:59] evilkry: packages.ubuntu.com [07:00] oh cool, thank you [07:02] evilkry: you should enable universe repository [07:02] and then install it [07:03] it will be on http://your_server/phpmyadmin [07:03] ok, as soon as my iso image finished downloading i'll burn it and then rock it out [07:04] i'm trying to feal out most of my playing field here before I hit it [07:05] on linux, you have to know only one thing [07:05] /var/log has answers to all of your problems :) [07:05] haha [07:06] I havn't ran a linux server in quite some time... I beleive it was slack 9 - the last I had running [07:06] I think it's the other way around [07:06] i.e. /var/log has all your problems [07:06] hehe [07:06] :) [07:07] hrhr [07:13] 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] not hard [07:15] if you understand how apache works [07:16] any of you know anything about ipv6? [07:17] theacolyte: wish I did, the last ccna course i was barely even mentioned it :( [07:17] i'm avoiding learning ipv6 untill my job starts depending on it :D [07:18] hehe [07:18] I'm going to be setting it up on my home office [07:18] Have a Cisco 1811, it can do it [07:19] 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] ISP supports ipv6 tunnels [07:19] just kinda throws me when you start bringing in the "other" ip addresses [07:20] evilkry: the apache side of vhosts is by far the easiest part of the whole process [07:20] hehe [07:20] I've done it plenty o times === elyob [n=chatzill@5ac0400c.bb.sky.com] has joined #ubuntu-server [08:26] elyob: there are no gui options, installing X is a lot of work on ubuntu-server [08:28] theacolyte: Hi, thanks for that. I'm just figuring out my way around server at the moment. [08:30] i've seen a lot in my reading today the follow: mysqladmin -u root password yourrootsqlpassword [08:30] mysqladmin -h server1.example.com -u root password yourrootsqlpassword [08:30] do I really need the second part including the -h server1.example.com ? [08:30] evilkry: that's what I told you to do like... an hour ago :P [08:31] or can I get by with just mysqladmin -u root password yourrootsqlpassword [08:31] yes, it sets access for root to only work from your localhost [08:31] ah [08:31] not doing so is a serious security risk [08:31] well i'm going to do that hehe [08:31] good idea :) === okaratas [n=ozgurk@fsf/member/okaratas] has joined #ubuntu-server === katia_ [n=katia@200.80.54.66] has joined #ubuntu-server [09:16] hello everybody [09:16] Has anyone had install qmail? === zipper [i=bluargh@0x535b0bf3.arcnxx20.adsl-dhcp.tele.dk] has joined #ubuntu-server === zipper [i=bluargh@0x535b0bf3.arcnxx20.adsl-dhcp.tele.dk] has left #ubuntu-server [] [09:21] Has anyone had install qmail? [09:22] Has anyone ever had install qmail? === lbm [n=lbm@0x555373ab.adsl.cybercity.dk] has joined #ubuntu-server [09:42] not me :) [09:47] katia_: yes I use to install it [09:47] but it was on Debian... [09:49] lionel i'm trying to install qmail using kubuntu 6.06 [09:50] I do not know why qmail-src disapears from Ubuntu... [09:50] i'm using the qmail howto [09:55] what distro you recommend to use as a server? [09:57] Ubuntu :) [09:59] funny that we would recommend that here [10:04] anyone has install qmail using ubuntu? [10:12] noone? [10:12] katia_: this is probabily a stupid question but... I am not going to say 'you should not use qmail', etc. [10:12] but do you have a good reason to use qmail ? qmail is quite difficult to setup and to maintain [10:12] it was secure and fast. But now, postfix and exim are as secure and fast [10:13] what software you recommend? [10:13] postfix or exim [10:13] ok [10:13] I would personaly recommend postfix [10:13] thanks lionel === ivoks_ [n=ivoks@16-56.dsl.iskon.hr] has joined #ubuntu-server [10:14] you're welcome [10:19] katia_: I'd second that, postfix with postgrey. [10:20] ok thanks guys [10:20] postgrey rocks [10:21] i've been almost a month with qmail [10:22] if only @ubuntu.com's MX would use postgrey ;] === J_P [n=juliano@189.2.146.45] has joined #ubuntu-server [10:58] hi all [10:59] hey all.. [10:59] I think I find a bug on 6.10 server.. [10:59] look: [11:00] I have two HDs 80GB. So I create this: [11:00] /dev/sda1 - raid autodetect [11:00] /dev/sda2 - swap [11:00] /dev/sdb1 - raid autodetect [11:00] /dev/sdb2 - swap [11:01] so i create RAID 1 via software (install software) and after first reboot... [11:01] machine initiate and show: [11:01] mdadm: /dev/md0 has been started with 2 drivers. [11:02] and after long time (10 minutes more less) show this message: [11:02] ALERT! /dev/hda1 does not exist. Dropping to shell. [11:02] And go to busybox shell.. [11:02] why this ? [11:02] I don't have any IDE (hda1) 2 discs are sata.. === PriceChild [n=pricechi@ubuntu/member/pricechild] has joined #ubuntu-server [11:07] anyone here... ? [11:11] bug 36829 [11:11] gah [11:11] https://launchpad.net/bugs/32123 and 36829 [11:44] hey guys i've successfuly got my ubuntu server up and running [11:44] hooray === mipe [n=mipe@139-14-124-83.dsl.3u.net] has joined #ubuntu-server === sacater [n=sacater@213.131.245.105] has joined #ubuntu-server === sacater [n=sacater@213.131.245.105] has joined #ubuntu-server