/srv/irclogs.ubuntu.com/2007/04/05/#ubuntu-server.txt

shawarma.. If you've added an entry to the hosts file on the dnsmasq server, you'll have a line like12:07
shawarmawww.google.com has address 127.0.0.112:08
shawarmaat the top.12:08
shawarmaRight?12:08
Aw0Leh?12:08
Aw0Lmy 127.0.0.1 is set for localhost12:08
Aw0Lif that's what you maen12:08
Aw0L?12:08
shawarmaWell, not necessarily 127.0.0.1, but whatever you've set www.google.com to point to, of course.12:09
Aw0Lokay?12:09
Aw0LI just added "192.168.1.x google.com google"12:10
shawarmaNot an actual "x", right?12:10
Aw0Lwhatdo you mean by the alias stuff?12:10
Aw0Lright :)12:10
shawarmaGood. :-)12:10
shawarmaTry running "host www.google.com"12:10
shawarmaYou'll see.12:10
shawarmaIt'll all make sense.12:10
Aw0Lin my fstab?12:10
shawarma!??!?! What?12:11
Aw0Lhuh?12:11
shawarmafstab?!?12:11
shawarmaWhat?12:11
Aw0Lwhoops12:11
Aw0Ltypo12:11
Aw0Lhosts12:11
Aw0L/etc/hosts12:11
shawarmaIn a terminal, type:12:11
shawarmahost www.google.com12:11
shawarmapress return.12:11
shawarmawatch.12:11
shawarma:-)12:11
Aw0Lok, that's what it says12:11
Aw0Lbut...12:12
Aw0Lwhat 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:12
Aw0Lwait12:13
shawarmaAre you familiar with CNAME records?12:13
Aw0LI think it was a misconfiguration12:13
Aw0Lin my /etc/resolv.conf my first nameserver was 127.0.0.1 instead of the local IP12:13
Aw0Lthat's on the dns servr12:13
Aw0Lit works now!12:13
shawarmaYay.12:13
Aw0Lcool!12:14
Aw0Lthanks for your help12:14
shawarmaany time.12:14
Innatechso...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:22
InnatechTarget box is running Ubuntu 6.06, btw. 12:23
=== davekempe [n=dave@ucw.com.au] has joined #ubuntu-server
shawarmaInnatech: Well, a quick "netcat localhost 80" would perhaps reveal something.12:29
davekempeanyone here used dbench? how long is a test with 100 clients supposed to take on decent new hardsware? in real time12:32
Innatechwell, that cygwin install is missing netcat, but the windows version yielded some bizzare results:01:11
Innatechbleh, can't find the transcript now. But here's some exemplary lines from the SSH event log...01:12
InnatechOpening forwarded connection to 192.168.1.1:8001:13
Innatech2007-04-04 15:53:09     Opening forwarded connection to 192.168.1.1:8001:13
Innatech2007-04-04 15:53:10     Forwarded port closed01:13
Innatech2007-04-04 15:53:10     Forwarded port closed01:13
Innatech2007-04-04 15:53:16     Opening forwarded connection to 192.168.1.5:8001:13
Innatech2007-04-04 15:53:16     Forwarded connection refused by server: Connect failed [Connection refused] 01:13
InnatechAny ideas welcome. 01:13
davekempehave tried telneting from the forwarding server to the target server?01:14
davekempeon the target port01:14
Innatechforwarding server is the target serve.r 01:14
Innatech192.168.1.5 is the machine SSH'd into. 01:15
davekempesorry im coming on the tail end of this problem01:15
Innatechand yes, local browsing is OK. 01:15
Innatechno, good question. I didn't include the first lines of the SSH log so as not to spam the channel. 01:15
davekempedon't hesitate to reach for a packet sniffer if you are scratching your head01:17
Innatechyeah....sigh. I tend to get a little lost trying to do that, but it's worth a try. 01:18
davekempejust filter out only the ports you need01:22
Innatechso....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:46
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:47
=== 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
dsdghalo, anyone here running mod_encoding?01:20
dsdgI am struggling to compile it,01:20
dsdgi have mod_encoding.c, how do i compile it?01:21
dsdgto get the .so file?01:21
=== EtienneG [n=etienne@ubuntu/member/EtienneG] has joined #ubuntu-server
=== mgalvin [n=mgalvin@ubuntu/member/mgalvin] has joined #ubuntu-server
\shfor apache?04:34
\shor apache2?04:34
\shoh he's gone..apt-get install libapache2-mod-encoding will help anyways ,-)04:35
=== 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
evilkryhello06:52
evilkryI am new to the lamp server install of ubuntu - i'm going to use the 6.06 version06:53
evilkryI 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:53
theacolytewell06:55
theacolytebesides telling you to google something like that because the first things that pop up will tell you what06:56
theacolytemysqladmin -u root password yourrootsqlpassword06:56
theacolytemysqladmin -h server1.blahblahblah.com -u root password yourrootsqlpassword06:56
theacolytefor user admin, www.mysql.com06:56
ivoksevilkry: any previous experience with mysql?06:57
evilkryyes06:57
evilkryi've been using it on my godaddy.com server account for a while06:57
ivoksthen phpmyadmin is overkill for you or a handy tool? :)06:57
evilkrybut i'm bringing it in house to a new server06:57
evilkryphpmyadmin is handy :P06:57
ivoksthen install phpmyadmin too :)06:58
evilkryI definatly intend to hehe06:58
=== ||arifaX [n=||arifaX@p54b59381.dip0.t-ipconnect.de] has joined #ubuntu-server
evilkryI here that on ubuntu I can just apt-get install phpmyadmin ?06:58
theacolyteevilkry: yes06:59
theacolyteevilkry: packages.ubuntu.com06:59
evilkryoh cool, thank you07:00
ivoksevilkry: you should enable universe repository07:02
ivoksand then install it07:02
ivoksit will be on http://your_server/phpmyadmin07:03
evilkryok, as soon as my iso image finished downloading i'll burn it and then rock it out07:03
evilkryi'm trying to feal out most of my playing field here before I hit it07:04
ivokson linux, you have to know only one thing07:05
ivoks /var/log has answers to all of your problems :)07:05
evilkryhaha07:05
evilkryI havn't ran a linux server in quite some time... I beleive it was slack 9 - the last I had running07:06
theacolyteI think it's the other way around07:06
theacolytei.e. /var/log has all your problems07:06
theacolytehehe07:06
ivoks:)07:06
evilkryhrhr07:07
evilkryhow 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 ips07:13
ivoksnot hard07:15
ivoksif you understand how apache works07:15
theacolyteany of you know anything about ipv6?07:16
evilkrytheacolyte: wish I did, the last ccna course i was barely even mentioned it :(07:17
ivoksi'm avoiding learning ipv6 untill my job starts depending on it :D07:17
theacolytehehe07:18
theacolyteI'm going to be setting it up on my home office07:18
theacolyteHave a Cisco 1811, it can do it07:18
evilkryivoks: 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 etc07:19
theacolyteISP supports ipv6 tunnels07:19
evilkryjust kinda throws me when you start bringing in the "other" ip addresses07:19
theacolyteevilkry: the apache side of vhosts is by far the easiest part of the whole process07:20
theacolytehehe07:20
theacolyteI've done it plenty o times07:20
=== elyob [n=chatzill@5ac0400c.bb.sky.com] has joined #ubuntu-server
theacolyteelyob: there are no gui options, installing X is a lot of work on ubuntu-server08:26
elyobtheacolyte: Hi, thanks for that. I'm just figuring out my way around server at the moment. 08:28
evilkryi've seen a lot in my reading today the follow: mysqladmin -u root password yourrootsqlpassword08:30
evilkrymysqladmin -h server1.example.com -u root password yourrootsqlpassword08:30
evilkrydo I really need the second part including the -h server1.example.com ?08:30
theacolyteevilkry: that's what I told you to do like... an hour ago :P08:30
evilkryor can I get by with just mysqladmin -u root password yourrootsqlpassword08:31
theacolyteyes, it sets access for root to only work from your localhost08:31
evilkryah08:31
theacolytenot doing so is a serious security risk08:31
evilkrywell i'm going to do that hehe08:31
theacolytegood idea :)08:31
=== okaratas [n=ozgurk@fsf/member/okaratas] has joined #ubuntu-server
=== katia_ [n=katia@200.80.54.66] has joined #ubuntu-server
katia_hello everybody09:16
katia_Has anyone had install qmail?09:16
=== 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 []
katia_Has anyone had install qmail?09:21
katia_Has anyone ever had install qmail?09:22
=== lbm [n=lbm@0x555373ab.adsl.cybercity.dk] has joined #ubuntu-server
ivoksnot me :)09:42
lionelkatia_: yes I use to install it09:47
lionelbut it was on Debian...09:47
katia_lionel i'm trying to install qmail using kubuntu 6.0609:49
lionelI do not know why qmail-src disapears from Ubuntu...09:50
katia_i'm using the qmail howto09:50
katia_what distro you recommend to use as a server?09:55
lionelUbuntu :)09:57
Burgworkfunny that we would recommend that here09:59
katia_anyone has install qmail using ubuntu?10:04
katia_noone?10:12
lionelkatia_: this is probabily a stupid question but... I am not going to say 'you should not use qmail', etc.10:12
lionelbut do you have a good reason to use qmail ? qmail is quite difficult to setup and to maintain10:12
lionelit was secure and fast. But now, postfix and exim are as secure and fast10:12
katia_what software you recommend?10:13
lionelpostfix or exim10:13
katia_ok10:13
lionelI would personaly recommend postfix10:13
katia_thanks lionel10:13
=== ivoks_ [n=ivoks@16-56.dsl.iskon.hr] has joined #ubuntu-server
lionelyou're welcome10:14
jhutchinskatia_: I'd second that, postfix with postgrey.10:19
katia_ok thanks guys10:20
ivokspostgrey rocks10:20
katia_i've been almost a month with qmail10:21
ivoksif only @ubuntu.com's MX would use postgrey ;] 10:22
=== J_P [n=juliano@189.2.146.45] has joined #ubuntu-server
J_Phi all10:58
J_Phey all..10:59
J_PI think I find a bug on 6.10 server..10:59
J_Plook:10:59
J_PI have two HDs 80GB. So I create this:11:00
J_P/dev/sda1  - raid autodetect11:00
J_P/dev/sda2 - swap11:00
J_P/dev/sdb1  - raid autodetect11:00
J_P/dev/sdb2 - swap11:00
J_Pso i create RAID 1 via software (install software) and after first reboot... 11:01
J_Pmachine initiate and show: 11:01
J_Pmdadm: /dev/md0 has been started with 2 drivers.11:01
J_Pand after long time (10 minutes more less)  show this message:11:02
J_PALERT! /dev/hda1 does not exist. Dropping to shell.11:02
J_PAnd go to busybox shell..11:02
J_Pwhy this ?11:02
J_PI don't have any IDE (hda1) 2 discs are sata..11:02
=== PriceChild [n=pricechi@ubuntu/member/pricechild] has joined #ubuntu-server
J_Panyone here... ?11:07
Pumpernickelbug 3682911:11
Pumpernickelgah11:11
Pumpernickelhttps://launchpad.net/bugs/32123 and 3682911:11
evilkryhey guys i've successfuly got my ubuntu server up and running11:44
evilkryhooray11:44
=== 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

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