/srv/irclogs.ubuntu.com/2008/04/16/#ubuntu-server.txt

Invisionfreekirkland: I'm on my livecd, help me CHROOT into my server install?00:00
jdstrandkirkland: putting on my sysadmin hat, I am not sure there is a sane default00:00
jdstrandwe don't have a server that we can target our authentication/authorization lookups against00:01
jdstrandas such, it's all manual00:01
Invisionfreekirkland: I'm on my livecd, help me CHROOT into my server install? Please?00:02
kirklandjdstrand: i was thinking we should allow users with uid<N to fallback locally00:02
kirklandInvisionfree: are you at a command prompt?00:02
InvisionfreeTerminal, and by the time you tell me what to type I will be :P00:02
jdstrandkirkland: right, I understand, but what is 'N'-- some people may want to override some groups/users for some reason00:03
kirklandInvisionfree: do you know the device that has your / partition?00:03
Invisionfreehda100:03
kirklandjdstrand: at the very least 0/root00:03
kirklandjdstrand: i don't there's ever a case where root would ONLY exist in LDAP00:03
jdstrandkirkland: no, that is true00:03
kirklandInvisionfree: mount /dev/hda1 /mnt00:03
kirklandInvisionfree: chroot /mnt00:03
jdstrandkirkland: but, you can't get that fine-grained with libc/nss lookups, only pam00:04
kirklandjdstrand: i know, i know, inadvisable to login as root00:04
kirklandjdstrand: perhaps users in the admin group?00:05
kirklandjdstrand: we specify those in pam00:05
jdstrandkirkland: yeah, pam_krb5 has a minimum_uid setting00:05
jdstrandeg account sufficient      pam_krb5.so minimum_uid=100100:05
jdstrandI'm checking pam_ldap now, but am almost 100% it has it too00:05
kirklandjdstrand: that's kinda the opposite, though00:05
* kirkland smacks kirkland, nevermind00:06
* Invisionfree smacks kirkland for the hell of it00:06
Invisionfree:D00:06
jdstrandkirkland: man pam_ldap-- ignore_unknown_user00:10
bipolaris it pam or nss thats causing the issue on boot?00:23
InvisionfreeHelp00:54
Invisionfreebipolar?00:54
bipolarhmm?00:55
InvisionfreeThe following packages have unmet dependencies:00:55
Invisionfree  libsasl2-modules-gssapi-heimdal: Depends: libsasl2-modules (= 2.1.22.dfsg1-12) but 2.1.22.dfsg1-9ubuntu2 is to be installed00:55
InvisionfreeE: Broken packages00:55
InvisionfreeHow do I fix that?00:55
bipolarhow did you get there?00:55
InvisionfreeA Debian shell script to install ldap00:55
bipolarumm.... what shell script?00:56
Invisionfreehttp://noc.cluenet.org/distconf2.allinone.sh00:56
bipolarthat script calls other scripts. it must be part of a package you downloaded.00:57
InvisionfreeHow do I get that version it needs?00:58
bipolarit probbly doesn't work on ubuntu00:58
Invisionfree..00:58
InvisionfreeAll it needs is a different version, why the hell wouldn't it?00:58
Deepsubuntu packages aren't always exact replicas of the debian packages with different numbers on them00:59
bipolarInvisionfree: are you running gutsy?01:00
InvisionfreeYes.01:00
bipolarInvisionfree: the first thing I would try is running 'apt-get -f install' just to see if it can clean itself up.01:01
InvisionfreeI did, no solve.01:01
bipolarlibsasl2-modules-gssapi-heimdal may be broken01:04
bipolarpackages.ubuntu.org says exactly the same thing apt is telling you01:04
bipolarit requres libsasl2-modules  (= 2.1.22.dfsg1-12) but ubuntu has libsasl2-modules (2.1.22.dfsg1-9ubuntu2)01:05
bipolarI would remove that package, unless you absolutly need it.01:05
InvisionfreeI absolutely need it.01:05
bipolarI'm afriaid your screwed01:06
Deepswould rebuilding it from the source package (And modifying it's dependancy manually) resolve this?01:06
Deepsor at least, get past the dependancy issue (while potentially creating new issues down the line)01:07
bipolarit's strange, the universe package looks newer then the non-universe one.01:08
Invisionfreebipolar:01:08
InvisionfreeE: Version '2.1.22.dfsg1-12' for 'libsasl2-modules' was not found01:08
bipolaryes, because 2.1.22.dfsg1-9ubuntu2 is what is available01:08
InvisionfreeHow can I get that version then..01:09
bipolarYou would need to download the source package, modify it's config file, and recompile01:10
bipolarthat version is not in the repositories01:11
bipolarwhich is strange.01:11
bipolarMaybe you could download the deb, and install it manualy01:13
bipolartell dpkg to ignore dependancys01:14
bipolarInvisionfree: here is someone else with the same issue: http://ubuntuforums.org/showthread.php?t=59914101:15
bipolarInvisionfree: and there is already a bug reported for this issue: https://bugs.launchpad.net/ubuntu/+source/cyrus-sasl2-heimdal/+bug/15703501:16
ubotuLaunchpad bug 157035 in cyrus-sasl2-heimdal "libsasl2-modules-gssapi-heimdal not installable" [Undecided,Fix released]01:16
bipolarlooks like it's fixed for Hardy01:17
nullbnxok so im working on getting a wap setup... iv followed a few guides and am stuck... i can connect to the network, and when i try to ping to the outside world, dns resolves the ip address but no ping01:19
nullbnxany ideas?01:19
Deepsis IP forwarding enabled?01:21
Deepsis WAP a wireless access point? if so, do you need to NAT wireless clients (have you got appropriate rules in iptables for this?)01:22
nullbnxif dns works but not the ping... ip tables? bridge?01:23
nullbnxyes ip fowarding is01:23
nullbnxi have these ip table rules....01:23
* Deeps hopes he pastebins01:23
Deepsyou can dump nice output using iptables-save (if no args specified it outputs on stdout)01:24
nullbnxk just a sec01:25
nullbnxhttp://pastebin.com/dbc2e25001:26
Deepsok, which is your lan interface, which is your external interface, and is your wireless point a wireless card in your linux machine, or an external wap connected within your lan?01:29
nullbnxeth0 is the lan connected to the internet; ath0 is the wap (in this linux machine)01:30
Deepsand eth1?01:30
Deepsactually nm, eth0 always matches first01:31
Deepsfrom a wireless client, can you ping a) the ip assigned to ath0, b) the ip assigned to eth0?01:32
nullbnxi can ping 10.1.1.1 which is the network setup by ath001:32
nullbnxnot 192.168.1.44 the ip address assigned to eth001:32
nullbnxbut when i ping (for example www.google.com); it resolves the ip address, just no return ping01:34
Deepswhat's your nameserver ip?01:34
Deepssame as ath0?01:34
nullbnxnameserver is 192.168.1.1; the network assigned to eth001:35
Deepswhat OS on the wireless client?01:36
nullbnxubuntu desktop01:36
nullbnxsame thing happens with windows though01:37
nullbnxtested both01:37
Deepsmy thought was that it was possible that dns was being cached from an earlier state01:37
nullbnxno, i thought that too, but google has so many different addresses that it changes per each ping almost...01:38
nullbnxso i dont know what is stopping me01:38
Deepswhat's the output of route -n01:38
Deepsfrom what you've told me, unless i'm being dense, it should look like:01:39
Deeps192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 eth001:39
Deeps10.1.1.0        0.0.0.0         255.255.255.0   U     0      0        0 ath001:39
Deeps0.0.0.0         192.168.1.1     0.0.0.0         UG    0      0        0 eth001:39
nullbnxyup01:40
nullbnxexactly except on eth0 flags = UG; Metric = 10001:40
Deepsyou dont have any other routes for destination 0.0.0.0?01:41
Deepsok, double check that "cat /proc/sys/net/ipv4/ip_forward" returns 101:42
Deepsand possibly cat /proc/sys/net/ipv4/ip_dynaddr" also returns 1, if your WAN ip isn't static01:42
nullbnx2nd command returns 001:43
nullbnx1st command returns 001:43
Deepsok, if the 1st returns 0, then that's definately your problem, you dont have IP forwarding enabled (the first thing i asked ;)01:44
Deepsecho 1 > /proc/sys/net/ipv4/ip_forward01:44
Deepsand try your pings again01:44
nullbnxhold on a sec, this is what i did to enable it... (i thought i had it on, oops)01:44
nullbnxnano /etc/sysctl.conf01:45
nullbnxnet.ipv4.conf.forwarding=101:45
Deepsthat'll enable it at startup01:46
Deepsso if you've not rebooted, you still need to enable it now01:46
Deepseither through /proc/sys01:46
nullbnxand i restarted... any idea why that didnt work?01:46
Deepsor through calling sysctl01:46
Deepsoh01:47
Deepsoh, that looks like the ipv6 forwarding01:47
Deepsin ipv6, its net.ipv6.conf.forwarding, in ipv4, it's net.ipv4.ip_forward01:47
Deepsalthough you can do the conf route too, you need to specify the interface(s) you want to enable forwarding on01:48
nullbnxminus the .conf and foward instead of fowarding?01:48
Deepscd /proc/sys/net/ipv401:48
Deepssee the files that exist in there01:48
Deepsfollows the same hierarchy as the sysctl calls01:49
Deepsi suspect net.ipv4.ip_forward=1 and net.ipv4.conf.all.forwarding=1 both do the same thing01:49
nullbnxjust a sec, let me see if those changes changes fixed the problem01:50
Deepsif echo 1 > /proc/sys/net/ipv4/ip_forward01:50
Deepshas resolved your problem, then that was definately it01:50
nullbnxsure did01:52
nullbnxso how do i make those changes permanent?01:52
nullbnxcool worked01:52
Deepsmodify your /etc/sysctl.conf to contain net.ipv4.ip_forward=101:52
Deepsinstead of net.ipv4.conf.forwarding=101:52
nullbnxso how do i make those changes permanent?01:52
Deepssave the file?01:52
Deepsctrl+x i think, Y, enter01:53
nullbnxand thats it?01:53
Deepspretty much01:53
nullbnxwith that setup i have for ipconfig, does that allow everything through without any restrictions? im pretty new to ipconfig...01:54
Deepsiptables?01:54
nullbnxsorry, yea01:55
Deepshttp://pastebin.com/m53f1d0d001:56
Deepsi've removed the 'eth1' entries01:56
Deepsi'm not sure what that is, but having a second masquerade rule isn't going to be matched against anyway01:56
Deepsurrr01:57
Deepsmistakes in there01:57
Deepshttp://pastebin.com/m5c04e4f901:57
Deepsline 19: should be -o ath0 and not -d ath001:57
nullbnxic k01:58
nullbnxso will those rules allow anything other than port 80 through?01:59
Deepsthose rules will allow everything, and log port 8001:59
Deepstwice01:59
nullbnxahh yea, so i need to delete line 16 also then02:00
Deepsif you only want it logged once, and then the connection dropped:02:01
Deepshttp://pastebin.com/pastebin.php?diff=m55773a4e02:01
Deepsi guess02:01
nullbnxwell i want everything fowarded through so i can use it like it were attached to any other server02:02
nullbnxbtw, i really appreciate the assistance02:02
Deepsthen remove the DROP line02:02
Deepsline 1702:02
nullbnxk02:03
Deepswhen dumping traffic, 2 easy ways to do it is with -j DROP or -j REJECT02:03
DeepsDROP silently drops the packets, resulting in a timeout02:03
DeepsREJECT dumps the traffic and responds with an icmp unreachable02:03
Deepsso the other machine knows fairly quickly that the connection cant be made02:04
nullbnxok so when i start closing the ports up to secure it, use one of the two...02:04
Deepsthe approach i tend to take is drop all, accept specific ports that i want02:05
nullbnxis there a good guide to getting all that setup?02:05
Deepsno idea02:06
Deepsi went from getting a chat like this to google to giving this chat, heh.02:06
nullbnxi want everything between the wap --> clients open and then close things off between the server and the internet02:07
nullbnxso you just googled all this?02:07
Deepsno, when i was in your position i spent a lot of time on google02:07
Deepsfinding and reading guides02:07
nullbnxohh ok02:08
nullbnxi was going to say, thats pretty impressive if you did, lol02:08
Deepshell, i still do, trying to work out routing between multiple links02:08
nullbnxso... http://pastebin.com/m5c04e4f9 will allow all the traffic between the wap & client?02:08
Deepsyep02:09
Deepsthe best approach is to play around02:10
Deepsworst that can happen is you prevent any traffic from reaching the machine02:10
nullbnxsweet... so whats the basics to disabling ports, if lets say i wanted to disable ports on eth0? or even easier to allow just a select number of ports?02:10
nullbnxyea02:10
Deepsgiven that it's local, hook up and keyboard + monitor and undo it02:10
Deepswell you want to drop all traffic coming into eth002:11
Deepsbut still allow inbound traffic with state related,established, otherwise you wont get any replies from remote machines when you make requests02:11
Deeps(like you've done with clients behind ath0)02:11
Deeps(only it's not forwarding data now, its incoming data to that machine)02:12
Deepsand then to allow specific ports, -I INPUT -p <tcp/udp> --dport <portnum[:endportnum]>02:12
nullbnxso with my iptables now everything is being fowarded to ath0 and skipping eth0?02:13
Deepseg -I INPUT -p tcp --dport 1000:2000 would allow input to ports 1000-2000 inclusive02:13
Deepsno, if a wireless client requests, say, a webpage02:13
Deepswifi client [request] -> ath0 -[nat]-> eth0 -> [interweb]02:14
Deeps[interweb responds] -> eth0 -[nat, state related/established]-> ath0 -> wireless client02:14
Deeps[interweb tries to create new connection] -> eth0 -> [if there's a service running on the target port, it handles it, if not, it rejects the request]02:15
Deepsin your current state02:15
nullbnxk, so if lets say [client outside network] ---ssh request--> [eth0 responds by default]02:16
Deepsindeed02:16
Deepsin your current setup, anyone able to reach the machine will be able to get a response from ssh02:17
Deepsoh, be careful, if you set a root password on your machine (instead of using sudo), it's worth updating yor /etc/ssh/sshd_config to reflect PermitRootLogin no (defaults to yes)02:18
Deepsyour*02:18
nullbnxgotcha, so the basics are that if a wireless client makes a request, it can get that specific request back...02:18
Deepsyep.02:18
nullbnxso lets say i just want to only allow specific ports period to eth0, which command would i use in iptables?02:19
Deeps02:11:09 < Deeps> well you want to drop all traffic coming into eth002:19
Deeps02:11:27 < Deeps> but still allow inbound traffic with state related,established, otherwise you wont get any replies from remote machines when you make requests02:20
Deeps02:11:49 < Deeps> (like you've done with clients behind ath0)02:20
Deeps02:12:06 < Deeps> (only it's not forwarding data now, its incoming data to that machine)02:20
Deeps02:12:49 < Deeps> and then to allow specific ports, -I INPUT -p <tcp/udp> --dport <portnum[:endportnum]>02:20
nullbnxahh ok, i thought that was a little different02:20
Deepshttp://pastebin.com/m2439a18e02:21
Deepsthings i've changed: your default INPUT policy to REJECT02:21
Deepsadded a rule to allow tcp/22 from anywhere02:21
Deepsand allowing all established traffic already back in02:22
nullbnxso if i send a request out for something, it all can come back... except for ssh, which can recieve also02:23
nullbnxjust trying to get this straight02:23
Deepsthat said, i dont think you can set polciy to reject02:23
Deepsso you probably wanna change that to DROP02:24
Deepsthat's correct02:24
Deepsmeans ssh can listen for new connections02:24
Deepswhile any other random ports cant, they can only listen for established connections already02:24
nullbnxwill this setup cause any complications if...  i run a file server off of that box, just for the wireless clients?02:25
Deepsshouldn't do02:25
nullbnxk so change :INPUT REJECT to :INPUT DROP02:25
Deepsyep02:25
Deepsyou can dump all of that in a file btw (remove the line numbers)02:25
Deepsand then iptables-restore < /path/to/file02:25
Deepsto have your rules replaced entirely02:25
Deepsiptables-save > /path/to/file to see what the file should look like02:26
nullbnxif you don't mind me asking, what are you using your box for?02:27
Deepswhich one?02:27
Deepsheh02:27
Deepsmost closely matched to you, i've got one routing my adsl connection02:28
nullbnxhaha02:28
Deepsusb adsl modem, 2 10/100 ethernet nics02:28
nullbnxthen you set a server behind that?02:29
Deepsno, that is the server02:29
Deepsserver has the usb adsl modem plugged into it, so my wan ip presents itself on atm002:30
Deepsmy local lan is on eth0, and the flat downstairs is on eth102:30
Deepsthe box doesn't do much eles02:31
nullbnxicic, so what kinda servers are you running?02:31
Centaur5I know this is slightly off topic but I was wondering if anyone could tell me from your experience which hardware raid has been faster 5 or 10?02:31
Deepsmrtg graphing, simple web serving from there02:31
Deepsnullbnx: got a few boxes online that i used to host services on for friends and family02:32
Deepscurrently sitting idle as i cant think of anything to do with them anymore02:32
nullbnxlol ic02:33
nullbnxwell i appreciate the help02:33
Deepsno problem02:34
* Kamping_Kaiser puts his ubuntu mirror on a diet02:34
nullbnxim thinking about putting my removable (usb) hard drive on the server and using samba to share it02:34
Kamping_Kaiserwonder how much room i'll have after this :D02:34
Deepsgl02:34
nullbnxany advice?02:35
Deepsguides on how to use samba are on ubuntu.com :)02:35
nullbnxhaha i know how to do that02:35
Deepsmost of the problems you'll encounter have already been resolved on ubuntuforums.org02:35
nullbnxi think ill remove all permissions other than read after mounting the hard drive (other than read) so i dont risk someone removing anything02:35
nullbnxhmmm oops, xorg crashed on me02:39
nullbnxdo you need to restart before iptables become active?02:40
Deepsyou never need to restart02:41
Deepsunless you've installed a new kernel (and even that has ways around it)02:41
Deepsyou can either apply the rules manually, or you can apply the through iptables-restore as i explained earlier02:42
nullbnxso the new iptables should be good to go?02:42
nullbnxi applied the tables in the .conf, and thats it?02:42
Deepsin which conf?02:42
nullbnxiptables.conf02:42
Deepsthere's an iptables.conf?02:42
nullbnx/etc/iptables.conf02:43
Deepsok, you've created that yourself02:43
nullbnxyea, i was just following a guide02:43
Deepsok, well then i'd recommend finishing that guide as to how to apply the rules02:44
Deepsif you've used the same format as would be generated by using iptables-save, you can apply the rules with iptables-restore < /etc/iptables.conf02:44
nullbnxi found what looks to be a pretty good guide, im going to read a whole bunch... i appreciate the help02:47
DeepsGood plan! A well written guide will do more for you than I can. :)02:48
nullbnxyou checked out 8.04 yet?02:48
Deepsnope, i dont do well with beta software, barely have the patience for stuff that's considerred stable, heh02:49
nullbnxlol02:50
nullbnxim just wondering how secure 8.04 will be when it first comes out...02:50
nullbnxhas me a little worried, i might upgrade my lappy but not the server02:50
Kamping_Kaisernot sure if this usb port is USB 1.1 or 2 :S. deleting 40gb at 40mb/s will take a while02:51
Deepswouldn't worry about that kind of thing, security is rarely a concern with new releases, stability on the other hand...02:51
Deepsthat and the upgrade process02:51
Deepsi kid, ubuntu's been through many upgrade cycles now, i'd expect the gutsy->hardy upgrade to be as smooth as a baby's bottom02:52
Deeps..within a month of release, at least, heh.02:52
Kamping_Kaiserheh02:52
nullbnxyea... do you have any other recommendations for the server security other than iptables n no root ssh02:53
nullbnxhah, well i was reading around, seems like they got it well setup bc so many brave souls tried the beta & upgrading02:53
Deepsdont run lots of random daemons that you dont need, if you do run them, have them bind only to interfaces that need them (ie, if it's only that machine, bind to localhost, if it's only for wireless clients, to ath0's ip, etc.)02:54
Deepshave a strong secure password, dont give shell access to anyone you cant trust until you've learnt to harden up the machine02:55
Deepsmake sure you apt-get update + upgrade regularly02:55
Deepsdont forget to lock your machine when you're not at it ;)02:55
Deepsdont leave root shells lying around ;)02:55
nullbnxlol, i knew #2, 3, 4, 502:55
nullbnxill have to look into bind02:55
Deepsbind has 2 meanings02:56
nullbnxpretty easy to setup bind?02:56
Deepsbind, the application02:56
lamontScottK: you around?02:56
Deepsor binding to interfaces, where an application picks what IPs to accept connections on02:56
nullbnxis there a quick and easy way to do that?02:57
Deepseg, chances are your ssh server is listening for connections on 0.0.0.0:22 (and ::22 if you have ipv6 enabled), ie, all interfaces02:57
ScottKlamont: Yes.02:57
lamontI'm looking at the delta between 2.5.2-rc{1,2}....02:57
Deepshowever, if you need, say, an snmp daemon, but only for local logging/monitoring purposes, you'd configure it to only listen on 127.0.0.1 (localhost)02:57
ScottKOK.02:57
Deepseach application has it's own configuration file02:58
nullbnxic02:58
Deepssudo netstat -anp will show you all applications that are running, sockets that they're using, sockets that they're listening on02:58
lamontif we pulled the warn_if_reject check back into 2.5.1-ubuntu, is it worth separating out the qmgr fix that's there as well?02:58
lamontmy life would be easier if Wietse just released 2.5.202:59
ScottKlamont: I don't know.  I was aware of the warn if reject one because it was discussed on the ML.02:59
* ScottK just got back into down and just downloaded 1749 new mails.02:59
lamontheh02:59
nullbnxdeeps, well iv only got ssh and named available to all..., so prolly not a huge problem03:01
ScottKlamont: Without looking, I'd say upload the RC and we'll deal with it.03:01
nullbnxdeeps, prolly don't need named to the outside either03:01
ScottKlamont: Then if it's not released before we do, just SRU to the final.03:01
lamontI really don't want an RC in the LTS...03:01
lamontthe alternative is to upload a 2.5.1 that happens to have a few backported fixes.03:02
lamont bzr commit -m'[LJ, trivial] dist-upgrade'03:02
lamontmy favorite commit ever03:02
ScottKYeah, and then if 2.5.2 happens to make it, we go with it, if not, oh well.03:02
* lamont will stare at the diff en toto, and then maybe poke you again in a bit.03:03
ScottKK03:03
nullbnxwhat would be the purpose of running a dns server on a home server?03:08
=== thesyko is now known as lilsyko
Nafallonullbnx: learning03:09
nullbnxNafallo, haha other than that...03:09
Nafallonullbnx: and well... the "because I can" thing is usually a strong one as well :-)03:10
nullbnxNafallo, haha, so no real use running named in a network that looks like this...03:10
Nafallonullbnx: well... caching would be good I guess :-)03:11
Nafallodepends on if you use to go to the same addresses a ot.03:11
Nafallolot even03:11
nullbnx[internet] <---> [dsl modem] <----> [ubunut server (home network) w/ named] <----> [wireless clients]03:12
nullbnx(named was installed during installation by accident and im debating shutting it down03:12
nullbnx)03:12
Nafallo:-P03:13
Deepsfrom my lan:03:14
Deepschocha.truman.lan has address 192.168.1.4903:14
Deeps49.1.168.192.in-addr.arpa domain name pointer chocha.truman.lan.03:14
Deepsforward and reverse dns created automatically by dhcpd when it assigns the client's IP03:14
Deepsreverse dns is almost entirely asthetic, forward proves useful if i want to connect to another machine, e.g. one not using NetBIOS03:14
Deepscan connect to it's name rather than trying to work out it's ip03:15
nullbnxyea, so no real point...03:15
nullbnxi have dhcp set up also, and that takes care of everything internally03:16
nullbnxwhat does bind9 do?03:18
Deepsdns03:20
Deepswhat you're calling named03:20
Deeps(that's the user it runs as )03:20
nullbnxok thats what i thought, how do stop it from starting during boot?03:21
nullbnxi know i can stop it by /etc/init.d/bind9 stop03:21
Deepsupdate-rc.d03:29
Deepsupdate-rc.d -f bind9 remove03:29
nullbnx_can you setup wpa on a wap?03:32
Deepsi dont see why not03:32
nullbnx_hopefully this works...03:33
AnthonyChello?03:35
nullbnx_heyt03:36
AnthonyChello I am having trouble with an Ubuntu mysql server03:36
AnthonyCI am getting a "cannot connect to remote server" error upon attempting to connect remotely to it03:37
AnthonyCI can ping it and access it locally, but not remotely03:37
AnthonyCthere is no firewaill between the 2 LAN'd machines03:37
AnthonyCany suggestions?03:37
nullbnx_do you connect through a cable/dsl modem/router?03:38
AnthonyCno, they are on a LAN03:38
AnthonyCTCP/IP, same subnet03:38
AnthonyCcan ping each other03:39
nullbnx_and your sure that you dont have iptables (the default ubuntu firewall) blocking you?03:39
AnthonyCno, the only firewall is the NAT router itself03:39
AnthonyCbetween the servers and the internet03:40
nullbnx_hmmmm not to sure then....03:40
nullbnx_how would i be able to monitor what computers are connecting through my server?03:43
AnthonyCby IP? try netstat03:44
AnthonyCsee the man page03:44
AnthonyCalso try snort03:44
AnthonyCfor logging03:44
nullbnx_thanks =)03:47
nullbnx_netstat by itself doesnt show it...03:47
nullbnx_my computer is a access points other pcs connect through, im trying to figure out which pcs (by ip) are connecting03:48
lamontScottK: 214933: sounds like 'fix released' to me... :)04:49
jordscan anyone recommend me a CLI download accelerator that allows you to use http basic authentication? Axel is great apart from that last point... can't find anything on how to to the authentication with it04:57
slsHi, how can I grant sudo access to LDAP users?05:07
slsI have Ubuntu with Likewise, and can log in fine, bu must log in as local account to do admin activities. This is inconvenient.05:08
slsThere must  be a way to add some group to sudoers.05:08
sls.05:08
sls?05:08
rhineheart_mhello.. how to make ubuntu to fuse two separate networks?06:29
=== SinTux is now known as Syntux
krautmoin08:08
n6rejanyone had any experience with IRC proxys?09:06
* Kamping_Kaiser waves09:06
Kamping_Kaiserno i havent, but hello09:06
n6rejlol hiya kamping09:06
n6rejyeah, i'm using U!09:07
n6rejI can't imagine that its that hard to setup... I hope09:07
krautn6rej: in which case?09:08
n6rejI don't get though how connecting to the server via SSH would hep?09:08
krautlike a bouncer or a web-proxy?09:08
n6rejkraut: hiya... yeah bouncer09:08
krautn6rej: google: irssi-proxy09:08
n6rejI want the folks on my lan to access IRC via the lan-server09:08
krautthen it's more a kind of a web-proxy09:08
krautthen you need squid09:08
krautor any other http-proxy. squid isn't the best soloution09:09
Kamping_Kaiserirc over squid?09:09
n6rejkraut: whats the diff between irssi and squid?09:09
krautKamping_Kaiser: sure09:09
n6rejthey will be using either chatzilla or some other irc client09:09
krautKamping_Kaiser: nearly every protocol is able to tunnel over a web-proxy09:09
n6rejkraut: its a mixed OS envirorment, NIX, OSX and PC09:09
krautn6rej: squid is a http-proxy and irssi-proxy is a proxy module for your irssi client09:09
krautn6rej: that's no problem, just have a look on squid09:10
n6rejkk, what is irssi client? IRC?09:10
krautjust google for it!09:10
n6rejk I will09:10
Kamping_Kaiserkraut, i'm not sure why you'd tunnel something like irc over squid though, its not like you can filter it (past the 'can cant' ACL levels)09:10
krautKamping_Kaiser: irc over http-proxy is like icq over http-proxy. it works!09:11
n6rejkraut: would they use a regular irc client if I use squid?09:12
Kamping_Kaiserkraut, *hm*09:12
krautn6rej: yes, you just need to configure your irc-client to use the http-proxy09:12
n6rejkk09:13
n6rej!squid09:13
ubotuSorry, I don't know anything about squid - try searching on http://ubotu.ubuntu-nl.org/factoids.cgi09:13
krautand the http-proxy, in this case squid, need to allow irc from your internal lan.09:13
krautit's called ACLs09:13
n6rejah, ok09:13
krautit must be described in their docu09:13
krautEOD, need to work09:13
n6rej!irssi09:27
ubotuIrssi is a terminal based IRC client. See https://help.ubuntu.com/community/Irssi for help.09:27
kraut!squid09:30
ubotuSorry, I don't know anything about squid - try searching on http://ubotu.ubuntu-nl.org/factoids.cgi09:30
krautstupid bot09:30
n6rejkraut: lol yeah.09:32
n6rejkraut: i'm carefully looking everything over... I don't want to proxy EVERYTHING just IRC09:32
krautthat's also possible with squid09:32
n6rejand I don't want the IRC channel kept open all the time, only when called from the clients09:33
krautjust have a look on the ACLs09:33
krautyou could permit only IRC from your internal network with them and disallow anything else09:33
krautanyhow, you'll run into the problem, that irc-servers will reject you, when you connect to often from the same ip09:33
n6rejkraut: no thats just it... I don't want it messing with anything but IRC09:33
Kamping_Kaiserubotu, Squid is an industrial strength web proxy. Its flexability is matched only by the scaryness of its configuration file.09:34
n6rejkraut: I'm on a dynamic ip09:34
krautn6rej: you could allow or dissallow everything with the ACLs of squid09:34
n6rejlol yeah I bet09:34
krautn6rej: sure, but you've got only one IP for all of your users09:34
n6rejkraut: so squid will act like a firewall right?09:34
krautno09:34
krautor yes09:34
n6rejkraut: yeah, normally only 1 or 2 of us use the lan at a time09:34
krautis a point of voiew09:34
krautthen it's ok09:35
krautjust read the squid-docu09:35
n6rejwell I have a FW already, I don't want it mucking with any of that lol09:35
n6rejI am09:35
krautit's not a firewall, it's a proxy09:35
krauta firewall is more a concept and a proxy will fit into such a concept09:35
n6rejwell, everything is nat'd and stealthed, even the server.09:36
krautstealth is a mystery09:36
n6rejkraut: i love it... tech's try to access my system without permission and they get freaked cause they fall into a black hole.09:37
n6rejthen they go uh... ah.. mmm... your computer is off09:38
n6rejLOL09:38
kraut...09:38
krautas i say, stealth is a mystery09:38
krautyour tech's are to stupid to understand the mechanism09:38
n6rejkraut: yep.  But it keeps me safe. :D09:38
krautdepends09:38
n6rejfirst they gotta get through the stealth, then the nat, then onto my systems09:39
n6rejby that time they've left a trail a mile long09:39
krautthere are still easier ways to get into your system09:39
n6rej?09:39
n6rejI used to run Engarde on my server... nothing gets through that without permission.09:40
krautthere is allways a way, believe me09:40
n6rejoh i'm sure.. well.. with Engarde their used to be a 100k reward if you could crack it... nobody ever has that I know of.09:40
n6rejmost of the time access is through front-ends not the server stuff09:41
n6rejas far as I know they still use the NSA kernel09:41
\shguys, did anyone tested latest ubuntu-server iso on vmware, with guided partitioning? grub is failing on vmware (i386) somehow for this...09:49
_ruben\sh: hardy beta jeos with guided worked fine on vmware for me09:57
nijaba\sh: which version of vmware are you talking about?10:09
nijaba\sh: server, ESX, workstation?10:09
popeya friend installed hardy ubuntu-server over a remote connection, and at the end it asked if he wanted to install additional software. He chose to install ssh, so it went off and got the ssh packages and installed them, however it also wanted to remove a load of other stuff, which apparently barfed grub up so he had to reinstall again and choose not to install ssh that time10:15
popeyhe says the cd he used was a beta one from march - would this be a known issue _or_ what package should he search for bugs in, or what package should he file bugs against?10:16
sorenHow did he install over a remote connection?10:17
popeyHP ILO10:17
sorenAh.10:17
soren*shrug*10:17
popeyGood answer10:17
sorenDo you think you could get him to try with a recent CD?10:17
popeya daily?10:18
popeyhe used the most recent beta10:18
sorenIt's not inconceivable that after the installer did an apt-get update, it wanted to remove a stack of things due to new dependencies, conflicts, whatever.10:18
sorenpopey: Really? Has it been that long? Hm..10:19
popeyhe laughs and says that's pretty much exactly what happened, but would have been nice if grub had been left alone so that he at least had a bootable system :)10:19
popey17th march or thereabouts he said10:19
popey(the cd release)10:19
popey20080318.1 was the cd he used10:21
sorenHm... Well, if it's not too much trouble, if he could try with a daily that would be lovely.10:22
popeyI'll ask him. Thanks for the quick response.10:22
sorenAny time :)10:23
\shnijaba, vmware-server v1.0.310:27
\sh_ruben, I used the normal ubuntu-server iso, not the jeos ones10:27
nijaba\me needs to fix his server console to test this...10:27
_ruben\sh: ah, havent played with those .. only hardy jeos guided partitioning and gutsy server custom partitioning10:31
\sh_ruben, well, I'm redoing the installation now, and providing some  logs for colin to investigate...10:33
_rubenah10:41
_rubenhmm .. 48MB/s on linear reads from software raid10 (7200rpm sata)10:48
n6rejok, i'm really stupid tonight :(11:12
n6rejI can't figure out how to add ctrlproxy to inetd11:12
n6rejthe dev said ctrlproxy --inetd but that doesn't seem to do anything that I can see11:13
PecisDarbsn6rej: don't you have just add entry to inetd or xinetd.conf file?11:45
n6rejPecisDarbs: i thought so but its not starting :(11:45
n6rejPecisDarbs: http://pastebin.com/d2141524d11:45
PecisDarbsn6rej: you use inetd or xinetd?11:47
n6rejPecisDarbs: openbsd-inetd11:47
PecisDarbstry to debug it, see what is response when you poke that port11:51
n6rejPecisDarbs: how do you poke a port?11:51
PecisDarbsn6rej: just telnet localhost port_ctrlproxy_uses11:54
n6rejPecisDarbs: got it!... the silly port was declared by ircd11:54
PecisDarbsfor example, usually admins test smtp server with telnet mail.example.com 2511:54
PecisDarbssee? :)11:54
PecisDarbseasy11:55
n6rejPecisDarbs: yeah,... so now I just have to figure out what its talkign to me about :D11:55
\sh_ruben, the bugger was an old iso file, which wasn't overwritten by wget ... grmpf...so nothing's wrong with -server iso *phew*11:55
_ruben\sh: ouch :p11:57
PecisDarbsanyone here how played with BIND DNSSec?11:57
PecisDarbsit's getting me mad, slowly :)11:58
PecisDarbshow/have/s11:58
* n6rej would love to tie bind to a tree and shoot it!11:58
PecisDarbswhy11:58
PecisDarbshe is such a nice fella :)11:58
n6rejhahah :P11:58
n6rejhe gives me nightmares lol11:58
PecisDarbsseriously11:58
PecisDarbswhat kind of? :)11:58
n6rejyeah11:59
n6rejOMG11:59
n6rejlol11:59
n6reji'd rather program in VB then touch bind11:59
PecisDarbsusually nighmares with BIND == wrong syntax again, ups11:59
PecisDarbssmells like really spoiled relationship11:59
n6rejPecisDarbs: i think bind is the only process that has given me fits all my *nix life11:59
n6rejyep11:59
n6rejbut I started with *nix 5.0 so bind was really nasty then12:00
n6rejno I take that back, there is one worse.... sendmail!12:00
PecisDarbsbut it is a past, shouldn't we let it slip away? :)12:00
n6rejlol12:00
n6rejprobably... but i'm an old dog12:00
n6rejright now my cage is really rattled lol12:01
n6rejstupid ctrlproxy stopped12:01
n6rejhmmmmmmmmm.... says no configuration found maybe i'd like to run one with --init lol12:02
PecisDarbsanybody nows why Bind on Hardy pratically misbehaves when using DNSSec?13:16
ScottKSo marked -->[23:49] <lamont> ScottK: 214933: sounds like 'fix released' to me... :)13:18
ScottKPecisDarbs: You'll need to give some actual specifics about the problems you're seeing if you want help.13:19
lamontg'morning ScottK13:19
PecisDarbsdnssec-enable is enabled, ksk un zsk is created, deployed, zone signed and included in configuration, i also configured so dnssec stuff would log in seperate file13:20
PecisDarbsso far so good13:20
PecisDarbsbut13:20
PecisDarbswhatever I do, log keeps silent, while normal.log which I created for rest of stuff in same dir grows and grows, so no permission involved, already checked it hundred times13:21
ScottKHeya lamont.13:21
ScottKPecisDarbs: What if you don't configure it to log to a separate file.  Is it in the normal log?13:22
PecisDarbsScottK: no difference, I tried to push dnssec stuff also in normal.log, but nohing appears there, other categories have lot of log material there13:22
PecisDarbsI set permissions to 777 while testing, checked out apparmor settings many times - nothing to cling on13:24
sommerPecisDarbs: it's probably because of apparmor, take a look at the logging section here: http://doc.ubuntu.com/ubuntu/serverguide/C/dns-troubleshooting.html13:24
PecisDarbsapparmor don't impact network, right?13:25
sommerPecisDarbs: at least inregards to log information to another file13:25
sommerif the bind apparmor profile is in enforce mode it will need to be configured for the new log file13:25
PecisDarbsI already did that13:26
PecisDarbswhat one or two * means in apparmor conf?13:27
PecisDarbsnon-recursive and recursive?13:27
sommerPecisDarbs: not sure what you mean by two '*'s ?13:29
PecisDarbs/etc/bind/* un /var/cache/bind/** for example13:29
PecisDarbsin /etc/apparmor.d/usr.sbin.named13:30
sommerPecisDarbs: mmm... mine doesn't have that, one sec while I update13:31
PecisDarbsok13:31
nijaba\sh: I just installed the latest hardy server x86 iso on vmware server with no issue.  Did you use some particular settings?13:33
nijaba\sh: and which iso did you use?13:33
sommerPecisDarbs: you might also check out this page: https://wiki.ubuntu.com/DebuggingApparmor13:34
\shnijaba, as I said, it was a problem with an old iso image...because wget doesn't overwrite a file which exists already with the same nam13:36
\she13:36
PecisDarbsbtw, it is possible that AppArmor blocks BIND DNSSec check? It would be kinda stupid, but....13:36
nijaba\sh: hmm...  I did not see that.  anyway, that force me to put my vmware server in a working state, so that time was not lost :)13:37
sommerPecisDarbs: I wouldn't think so, if it did there would be messages in /var/log/syslog, that should alert you13:39
PecisDarbsyep, I think so too13:39
PecisDarbsdamn :(13:39
PecisDarbsok, let's try aa-complain mode13:40
mvowhat is your opnion about how the upgrader should deal with file overwrite problems? on the desktop we run with --force-overwrite. we don't do this on the server currently assuming the admin might want to know about these sorts of things. is that a sensible/valid decision?14:16
ScottKI'd say so.14:17
ScottKIs there a way to run the upgrader without force-overwrite?14:18
mvothat is the current default for the server upgrade (no --force-overwrite). there is currently no way to disable it on the desktop14:20
mvobut the logs will give you hints what packages are wrong14:20
ScottKFor future consideration, you might want to have no --force-overwrite as the desktop default for upgrades to the development release.  That's when we'd want such problems exposed.14:22
mvohm, maybe some middle ground, like a way to collect the overwrite and offer to report bugs about them, but carry on with the upgade14:24
ScottKI think that's reasonable.14:28
ScottKMy theory is that we should strive to make the upgrader un-needed.  To the extent we can, apt-get dist-upgrade should just work.14:29
ScottKI don't think we'll get there, but it's a direction to head.14:30
* delcoyote hi14:30
mvoScottK: I agree, the less quirks code there is in there, the better.14:42
ScottKSo making such problems more obvious to people who upgrade prior to release (or maybe prior to RC) is a good thing.14:43
spiekeyhey15:20
spiekeyi just plugged in my USB to Serial Adapter: http://pastebin.ca/98739515:21
spiekeyi used to came up as /dev/ttyUSB1 on my other linux boxes15:21
spiekeyany idea where i can find that device?15:21
seisenhow are you hard drivers show as, ie  hda, sda, etc...15:27
spiekeyhuh?15:28
faulkes-serial, not usb memory15:28
faulkes-spiekey: check the output of dmesg15:28
faulkes-tail /var/log/dmesg - it should usually show you if it registered the device and where15:29
spiekeyfaulkes-: have a look at my pastebin ;)15:29
spiekeyah! Stupid USB Hub! :P15:36
=== JaxxMaxx__ is now known as JaxxMaxx_
=== JaxxMaxx__ is now known as JaxxMaxx_
=== JaxxMaxx__ is now known as JaxxMaxx_
ccvpis the 8.04 thats essentially available now15:58
ccvpsame thing that will be on the 8.04 iso's in 9 days? its essentially official, but just not by the "countdown logo" rofl15:58
ccvp?16:00
ScottKccvp: Changes are still being uploaded, but the difference between today and the final are likely to be small, but significant at least for the packages that are changed.16:00
=== JaxxMaxx__ is now known as JaxxMaxx_
ccvpim wondering if its something to not16:01
ccvpreally worry about16:01
ccvpso i dont waste putting 7.10 on a vmware now16:01
ccvpand then just rm'ing it later, to do 8.0416:01
ScottKI'm running 8.04 on several serves now and it's fine for me.  No guarantees.  No reason your couldn't upgrade the vmware image rather than redoing it, is there?16:03
ccvphello, after installing vmware on XP, what type of settings do I need to do to vmwar workstatio n6, so when ubuntu is booted in it, it will yank a host address, off of our 192.168.1.0/2416:05
ccvpoops16:05
jjesseccvp: if you need ubuntu to grab a network ip address it would have to be setup as NAT16:13
ccvpok16:13
=== mathiaz_ is now known as mathiaz
mathiazjcastro: Hi - I'm thinking about running an Server Team introduction session during the UbuntuOpenWeek - what about Tuesday at 19:00 UTC ?16:33
jcastromathiaz: that sounds excellent16:38
jcastromathiaz: anything else in mind?16:38
jcastromathiaz: plenty of slots left, so we could do as many as you want.16:38
mathiazjcastro: well - I though about doing something on virtualization16:39
mathiazjcastro: and how to use virtualization to do development work16:39
jcastrothat sounds great too16:39
jcastroI would love to see a ufw one as well, since it's new16:39
mathiazjcastro: what's the target audience of the Ubuntu Open Week ?16:39
mathiazjcastro: I'll update the wiki page with a session of the Server Team then16:40
jcastromathiaz: same as always16:40
jcastromathiaz: if you want to have multiple sessions of the same topic, you can do that as well16:40
jcastrothere is plenty of room and the people who are only available during certain days are already scheduled16:40
mathiazjcastro: right - and the always is ???16:40
mathiazjcastro: in february, it was named Ubuntu Developer Week16:41
mathiazjcastro: and it's Ubuntu Open Week16:41
mathiazjcastro: so I guess it's targeted at potential contributor16:41
jcastrothis is a normal open week, not a developer week16:41
jcastroright16:41
jcastroand users.16:41
jcastrodeveloper week was specifically for potential developers, open week is for everyone on any topic16:41
jcastroso user-oriented sessions are welcome16:42
zulmaybe how to setup kvm16:55
jcastromathiaz: mind if I move you an hour later for the intro, celso would like to do PPAs right after 'merging packages'16:58
mathiazjcastro: wfm16:59
jcastrota16:59
=== JaxxMaxx__ is now known as JaxxMaxx_
rlanhamI was in the middle of an apt-get upgrade and SSH timed out, is there way to view the status?17:30
kraut!raid17:38
ubotuTips and tricks for RAID and LVM can be found on https://help.ubuntu.com/community/RaidConfigurationHowto and http://www.tldp.org/HOWTO/LVM-HOWTO - For software RAID, see https://help.ubuntu.com/community/FakeRaidHowto17:38
kraut!recover17:38
ubotuSome tools to recover lost data are listed and explained at https://help.ubuntu.com/community/DataRecovery - Recovering deleted files on !ext3 filesystems can be virtually impossible, although a method that might work in some cases is described at http://www.xs4all.nl/~carlo17/howto/undelete_ext3.html17:38
kraut!raidrecover17:38
ubotuSorry, I don't know anything about raidrecover - try searching on http://ubotu.ubuntu-nl.org/factoids.cgi17:38
krautgrr17:38
krautis there any quick howto, to recover a disk in a raid1 array?17:38
kraut!rebuild17:40
ubotuSorry, I don't know anything about rebuild - try searching on http://ubotu.ubuntu-nl.org/factoids.cgi17:40
krautnobody here or what!?17:46
JaxxMaxx__Gah, so bad, in here thrice now...18:00
JaxxMaxx__How would I go about using CVS to grab the latest source files for a particular package?   trying to upgrade freeradius to 2.0.3  but the download .gz  has something wrong in the changelog file, can't make a package with dpkg-buildpackage18:01
JaxxMaxx__the mailing list says the problem is in one line of the changelog file, and fixed in CVS18:02
krautJaxxMaxx_: nobody will help you here, just feel safe and leave the channel...18:04
sommermathiaz: is winbindd no longer part of the samba server tasksel?18:06
nijabasommer: it was yesterday18:06
nijabasommer: it is part of the iso check, and I found it when I check samba install18:06
sommerhrmm... I did pgrep winbindd, and didn't find it18:07
nijabasommer: I belive I did the same.  let me check, I still have the vm18:07
sommerwoops, false alarm... I actaully typed pgrep windbindd18:07
sommerthere's no such thing as windbind :)18:08
nijabasommer: to tell you the truth, I did do the same mistake yesterday :)18:08
sommerthe worste part is I mistyped it twice... doh18:08
sommerkraut: not sure if this helps, but it may point you in the right direction: http://currents.soest.hawaii.edu/docs/doc/ubuntu_docs/thirdparty_html/ubuntu_raid.html18:11
* sommer has been meaning to learn software raid1 and friends18:12
mathiazsommer: nijaba: FYI there are new isos to tests18:13
nijabamathiaz: why?  did we change anything?18:13
sommermathiaz: does the iso.qu.u.c take a little longer to update?18:13
JaxxMaxx__that's a pretty negative attitude, kraut.   having a tough problem that's stumping these folks?18:13
mathiazapparently iso.q.u.c has been updated yet18:14
mathiaznijaba: sommer see #u-d18:14
mathiaznijaba: sommer I've just asked about this18:14
sommermathiaz: ah, party18:14
nijabamathiaz: can you summarize I was not on that channel and I think I missed the best part of it18:16
nijabamathiaz: or /msg paste18:16
sommerI synced at about 8:45am, do you know when it was released?18:16
sommeror, actually I can check the md518:17
mathiaznijaba: slangasek is going to update iso.qa.u.c18:17
mathiaznijaba: the isos were rebuilt earlier today and iso.qa.u.c wasn't updated18:17
nijabamathiaz: ok, thanks.  Updating my isos18:19
sommermathiaz: cool, I've been testing 20080416, but logged my tests under 2008041518:19
JaxxMaxx__blargh.  hurray for dpkg-buildpackage.   this thing has dozens of dependancies...18:35
LucutiousI am trying to set up a new Ubuntu server to act as a webserver, and I'll be using it in conjunction with dyndns.  Is there anyone who is able to help me set up the mailserver, or perhaps point me to a link that will help?18:39
sommerLucutious: postfix is pretty easy to setup, here's a link to the server guide: http://doc.ubuntu.com/ubuntu/serverguide/C/email-services.html18:42
JaxxMaxx__how do I get screen to show me the scrollback?18:47
pr0lepg-up?18:49
marcreichelthi there!18:53
marcreicheltI want to use Apache2 under Ubuntu with IPv618:54
marcreichelte.g. I just want to access localhost via http://[::1]/18:54
marcreichelthow may I do that under Ubuntu?18:54
marcreicheltit seems to be deactivated :-(18:54
blue-frog_have you installed apache?19:00
marcreicheltyes19:00
marcreichelt;)19:00
marcreichelthttp://localhost/ is working normally19:00
marcreicheltbut http://[::1]/ not19:00
blue-frog_how's your /etc/hosts ?19:01
marcreicheltjust fine19:01
marcreicheltone line for 127.0.0.1 localhost19:01
blue-frog_look at your logs then. it is working19:02
marcreicheltping6 ip6-localhost does work normally19:02
marcreichelthmm, no unnormal log entries19:04
marcreicheltwget can't connect, too19:04
blue-frog_you have somethin with http://localhost?19:05
marcreicheltyes19:05
blue-frog_what have you doneafter installing apache then?19:05
marcreicheltoh, moment - Apache2 not running ;)19:05
marcreicheltbut the behaviour was as before19:06
marcreichelthmm - it runs now19:07
marcreicheltseems my server was down all the time I tested19:07
marcreicheltamazing19:07
marcreicheltat least, thanks for your attention ;)19:07
marcreicheltok, I have detected the problem now19:08
marcreichelthttp://ip6-localhost/ does work, but http://[::1]/ does not19:09
blue-frog_not logical19:09
blue-frog_is it still running?19:10
marcreicheltyes19:10
blue-frog_what's the entry in E/tc/hosts for ::1 ?19:10
marcreichelt::1 ip6-localhost ip6-loopback19:11
marcreicheltfunnily, a "ping ip6-loopback" does work19:11
blue-frog_exactly? no * in fron or else?19:11
marcreicheltno19:11
marcreicheltand "ping6 ip6-localhost" too19:11
blue-frog_what's the error message for http://[::1)19:13
LucutiousOk, I'm feeling kind of stupid.  This is my first time using any type of OS other than windows, but I catch on fairly quickly.  I installed ubuntu server, and now I come up with a prompt.  What I was told, is that I could remotely administer the system, like from my other computer, to install things such as SMF or other stuff19:13
LucutiousIs there anyone that can assist a newbie?  I've been reading the documentation, but I fear either I'm making it too hard, or it's out of my grasp.19:13
blue-frog_Lucutious: SMF?   you can ssh into your server19:14
Lucutiousand that's from a telnet connection, or do I need a seperate ssh application?19:14
marcreicheltblue-frog_: using "wget http://[::1]" the output is "Connection refused."19:14
blue-frog_Lucutious: the other waty is to install the desktop and control it vian vnc.19:14
blue-frog_ http://[::1] does what in firefox?19:15
marcreicheltconnection refused ;)19:15
Lucutiousa desktop sure would be nice, I wasn't quite prepared for a command prompt type system, thought it would at least have some sort of gui19:15
blue-frog_have you fiddled with the apache conf?19:15
marcreicheltmaybe a bit, yes19:16
marcreicheltI have some VirtualHosts19:16
marcreicheltthe funny thing is:19:16
blue-frog_Lucutious: command prompt is command prompt, if your computer has an internet connection, then   sudo apt-get install ubuntu-desktop  will get you GUI19:17
=== mvo_ is now known as mvo
marcreicheltif I insert "Listen [::1]:80" into /etc/apache2/ports.conf and restart Apache2, I get the following error:19:17
marcreicheltSyntax error on line 1 of /etc/apache2/ports.conf:19:18
marcreicheltListen setup failed19:18
marcreicheltis this normal?19:19
marcreicheltI am downloading Ubuntu 7.10 server to test it in an emulator19:24
* faulkes- grumbles at the igb driver19:25
faulkes-anyone play with the quad-ethernet intel cards before?19:32
faulkes-igb module19:32
Lucutiousblue-frog_:  Sorry for the delay, had to step away.  I issued that command you gave me, but it tells me that I'm not in the sudoers file, and that the incident is being reported.19:35
maxownzhey all19:37
maxownzis there a way to disable getting updates or scanning the mirror during installation?19:37
blue-frog_Lucutious: what user have you created during installation?19:38
Lucutiousthe username is mike19:39
blue-frog_maxownz: if you presse escape you may have the entire installation menu and you may ve able to skip update/scanning that way19:39
blue-frog_Lucutious: is the one you are logged wiht now?19:40
LucutiousYes.19:40
blue-frog_well if you are not in the sudoers, ther's nothing you can do19:40
Lucutiousat least, I think so19:40
blue-frog_do you remember if you were asked for a root password then ?19:41
LucutiousI booted the machine and it came up with a login prompt.  I used mike and the password I created, and this is where I'm at19:41
LucutiousOhh yes, I have a root password as well - can you tell me how to log off mike so I can try as root?19:41
blue-frog_su19:42
blue-frog_lucutious you sure you have installed ubuntu?19:42
maxownzblue-frog_: isn't there a way to disable my network card so it'll skip it altogether?19:44
Lucutiousmy first answer is yes I'm sure but now I'm not so sure.  Liek I said it's my first time doing anything other than windows.  I got the 7.10 somethign server version, burned the iso, checkeed the md3 checksum, and booted and ran the setup19:44
blue-frog_marcreichelt: it must be something you changed when doing your virtual hosts. I have a default apache installation and it connects to [::1]19:44
Lucutiousit rebooted, and this is where I'm at.  I'm going to reboot so I'm at a clear screen, it's entirely possible i fubar'd something19:44
marcreichelthmm, okay19:45
blue-frog_maxownz: not sure but I think that when I tried without a card it tried as well.19:45
blue-frog_Lucutious: no need to reboot, you 're not in windows19:46
LucutiousOk19:46
blue-frog_type     su   and press enter19:46
Lucutiousand by the way, i sincerely appreciate your help blue-frog_19:46
blue-frog_enter your root password19:46
LucutiousHmm says my password is incorrect.  I bet I somehow mis-typed it when i installed19:47
blue-frog_type  groups19:47
Lucutioussays:19:48
Lucutiousmike adm dialout cdrom floppy audio dip video plugdev scanner lpadmin19:48
blue-frog_Lucutious: somehow your install is borched19:49
LucutiousI'd bet a dollar it was user error :-)19:49
Lucutiousok, so let me ask this...  Do i need to use the server version, or do you thing the regular version would work?19:50
blue-frog_use the regular version and then install whatever server program you want19:50
Lucutiousdoes the regular version come with the LAMP set?19:51
blue-frog_no19:51
blue-frog_but it is nothing to install19:51
Lucutiousbuggar, so I'll have to install them individually19:51
Lucutiousnothing for you, learning process for me :-) - but19:51
Lucutiousthat's a good thing19:51
blue-frog_Lucutious: it's as easy as your abc19:52
blue-frog_with ubuntu gui (gnome desktop) comes a GUI apps installer programm (synaptic)19:52
LucutiousAwesome, I'm going to burn that regular version now so I can get the install going.  You mind if I stay here and ask you if I run into snags that I can't fix?  (I really do use google and other search tools before asking)19:53
blue-frog_one thing before you move an ear19:53
LucutiousShoot19:53
blue-frog_do you have internet connection on this p right now?19:53
blue-frog_pc19:53
Lucutiousyes19:54
blue-frog_reboot this pc in recovery mode ( I assume your are talking from another pc?19:54
Lucutiousit's behind a router right now though, dunno if you'll be able to get in19:54
Lucutiousya19:54
blue-frog_I will not get in19:54
blue-frog_you will work19:54
maxownzif i did ALT + CTL + F2 during the installation and got this shell how do i get out of it and back to the GUI installer?19:54
blue-frog_F1?19:55
maxownzi type EXIT and then it just shoots me back to "Please press Enter to activate this console"19:55
blue-frog_or F4  try them all up to 719:55
maxownzi want to deactivate this console19:55
Lucutioushmm now it has me logged in as root19:55
mvomathiaz: will you chair the server meeting tonight? I was wondering if I can add a agenda item. the IS team brought it up, I wonder if we should run the upgrader with --force-overwrite in server mode or not. currently we don't and the upgrade will fail on file-overwrite problems. on the desktop we do run with --force-overwrite19:56
blue-frog_dunno if you have network up Lucutious. try  ping grc.com19:56
Lucutiousgot a good ping19:56
blue-frog_good19:57
sommermaxownz: hit alt+f1 to go back to the installer19:57
maxownzsommer: THANK YOU19:57
Lucutiouslol how do you stop it - again, used to the windows 4-pings thing19:57
sommermaxownz: np19:57
blue-frog_Lucutious: cat /etc/sudoers19:57
maxownzi'm trying to no scan the mirrors19:57
maxownztakes forever since i don't have an internet connection19:57
maxownzi was trying to open the shell and turn off my etho119:57
blue-frog_ctrl c Lucutious19:58
Lucutiousblue-frog_: Thanks.  Ok I did that, I believe it spit out the contents of the sudoers file19:59
blue-frog_juste the end19:59
Lucutiousdown in the user privledge specification, mike is not listed - only root19:59
blue-frog_do you have %admin ALL...19:59
Lucutiousno19:59
Lucutioussays19:59
Lucutiousroot  ALL=(ALL) ALL19:59
blue-frog_yes somehow your install is weird. nevermind we'll fix it20:00
Lucutiousand that's it20:00
blue-frog_Lucutious: onward to install a desktop20:00
blue-frog_apt-get install ubuntu-desktop20:00
Lucutiousok, following those prompts now20:01
marcreicheltblue-frog_: can you copy me the default apache.conf and the default VirtualHost configuration please?20:02
blue-frog_marcreichelt: /usr/share/doc/apache2.2-common/examples/apache2/apache2.conf.gz20:04
marcreicheltoh, thanks :)20:05
marcreichelthmm, this is not the default configuration20:07
mathiazmvo: I will chair the meeting - please add your item to https://wiki.ubuntu.com/ServerTeam/Meeting and I'll make sure we discuss it :)20:08
blue-frog_marcreichelt: are yuo using this server in prod right now§?20:09
marcreicheltno ;)20:10
marcreicheltbut my real server (on Debian) works with IPv620:10
marcreicheltI mean locally20:10
blue-frog_marcreichelt: remove the conf files and sudo apt-get install --reinstall apache220:11
mvomathiaz: great, thanks20:11
mvomathiaz: added20:11
marcreicheltokay20:11
blue-frog_Lucutious: where you at?20:12
Lucutiousblue-frog_it's downloading still20:15
LucutiousSays 15m left20:15
blue-frog_ctrl z20:15
blue-frog_bg %120:16
blue-frog_like this it is continuing in the background20:16
marcreicheltblue-frog_: this does not work20:16
blue-frog_marcreichelt: what does not work?20:17
marcreicheltthe config files are not reinstalled20:17
blue-frog_marcreichelt: sudo apt-get remove --purge apache220:17
blue-frog_marcreichelt: then sudo apt-get install apache220:17
blue-frog_Lucutious: you have the prompt now?20:18
marcreicheltnothing ;)20:18
marcreicheltapache2 is a meta package20:18
marcreicheltmaybe apache2-common20:19
blue-frog_marcreichelt: oh yes ok common and/or prefork/mpmworker20:19
Lucutiousblue-frog_ no, it went back to downloading, but now it only says 2 minutes kleft20:20
Lucutiousleft*20:20
blue-frog_marcreichelt: dpkg -l apa*  will tell you what is installed20:20
Lucutiousbandwith really fluctuating from 200k to 2 meg or so20:21
blue-frog_Lucutious: ctrl Z  then bg %1  went back to downloading ?20:21
Lucutiousyes.  I'll try again20:22
Lucutiouswait - it's donw downloading lol20:22
Lucutiouspreconfiguring packages20:22
Lucutiousi think it's just sitting, no prompt20:23
blue-frog_Lucutious: yes just tried myself, it does not what it should do with apt-get20:24
blue-frog_ctrl alt F2  gives you another prompt then?20:24
Lucutiousno ctrl alt f2 cleared the screen20:25
blue-frog_it's another console20:25
Lucutiousohh20:26
blue-frog_getent group | grep admin20:26
Lucutiousjust a blinking cursor ><20:26
Lucutioustyped it, pressed enter, still just blinking20:26
blue-frog_addgroup -system admin20:26
marcreicheltblue-frog_: no, connection refused20:27
marcreicheltit's not the Apache :-/20:27
blue-frog_marcreichelt: sorry really don't knw what to do for you20:27
marcreichelt:-(20:27
Lucutiousblue-frog_ I've typed what you said, but ever since the ctrl alt f2 it's just a blinking curser, blank screen20:28
blue-frog_Lucutious: addgroup -system admin     done? (adding a system group -id lower than 1000- named admin)20:28
blue-frog_ok good20:28
LucutiousYes I typed that, but like I said it's just a blinbking curser on a blank screen20:29
blue-frog_usermod -aG admin mike          (adding mike to newly created admin group)20:29
Lucutiousok typed that20:30
blue-frog_visudo20:30
Lucutiouscan't see what I'm typing either20:30
blue-frog_now at the end of that file, you will add20:30
Lucutiousblue-frog_ I can't see anything buddy20:31
blue-frog_what do you mean can't see?20:31
LucutiousIt's just a blank screen, with blinking curser in upper left hand side.  I type, and it changes nothing.20:31
Lucutiousit's been that way ever since you had me ctrl alt f220:31
blue-frog_ah20:31
blue-frog_thought you had a prompt, not only ther cursor20:32
Lucutiousnope, just blinking cursor20:32
blue-frog_ctrl alt F   then, we will wait20:32
blue-frog_F120:32
Lucutiousok20:33
* faulkes- slams head against desk20:37
marcreicheltblue-frog_: thanks for your help20:41
blue-frog_ty but I did nothing in the end.20:42
marcreicheltI think the problem will be gone when I install Kubuntu 8.04 ;)20:43
blue-frog_marcreichelt: ah possibly as I am talking to you from hardy. didn't think about that before you mention it20:44
LucutiousOk blue-frog_ it says [1] STOPPED20:44
Lucutiousand I'm back to a command prompt20:44
blue-frog_Lucutious: ok try   bg %120:44
Lucutious[1] STOPPED  apt-get install ubuntu-desktop20:46
Lucutiousi assume that means it's done installing20:47
blue-frog_no20:47
blue-frog_we interrupted the process with ctrl z20:47
blue-frog_bg %1   is supposed to make it run in background20:47
blue-frog_but apparently apt-get is a bit weird with all that20:48
blue-frog_type  jobs20:48
Lucutiousahh20:48
Lucutious[1] STOPPED  apt-get install ubuntu-desktop20:48
blue-frog_type     bg        (alone)20:49
Lucutious[1]+ apt-get install ubuntu-desktop &20:50
Lucutious[1]+ STOPPED  apt-get install ubuntu-desktop20:50
blue-frog_fg20:50
blue-frog_to try to make it run in foreground20:51
Lucutiousnow it's spamming my screen20:51
blue-frog_good20:51
LucutiousI suppose it's finishing installing20:51
blue-frog_we're going to let it go like that then, try  ctrl alt F2, you might have a decent prompt now20:51
Lucutiouskk20:52
Lucutiousnope, blank screen blinking cursor again20:52
blue-frog_well might be ony one tty in recovery mode.. going to try with a virtual machine to see20:52
blue-frog_ctrl alt F1  then20:53
Lucutiouskk20:53
blue-frog_Lucutious: sorry about that, yes indeed only one tty in recovery mode20:54
faulkes-hrmm, wednesday21:03
faulkes-meeting in an hour?21:04
mathiazfaulkes-: yes21:05
Lucutiousblue-frog_: My friend, I need to thank you for all your help thus far.  It seems it's still installing, and my son just got home and informed me he lost his glasses.  Gotta love 6-year olds, I have to go look for them21:06
LucutiousI'll probably return, but again, Thank you for everything21:06
=== blue-frog__ is now known as blue-frog
blue-frogLucutious: http://pastebin.com/d1d24408d21:07
faulkes-mathiaz: guess I better send my alcohol engineer out for "office supplies" then21:07
blue-frogLucutious: the installation of ubuntu-desktop might as well have created the admin group by the way21:08
LucutiousAwesome, I'll keep that up for when I return.  I'll re-post so you can see, think your client was ghosted.21:08
Lucutiousblue-frog_: My friend, I need to thank you for all your help thus far.  It seems it's still installing, and my son just got home and informed me he lost his glasses.  Gotta love 6-year olds, I have to go look for them21:08
LucutiousI'll probably return, but again, Thank you for everything21:08
blue-frogwill be in bed by then :)21:09
blue-frogLucutious: if in trouble, download 8.04 alternate and install from there21:10
Lucutiousblue-frog - setup finished, back at command prompt - how do I start the gui then?21:12
Lucutious(wife still getting dressed)21:12
blue-frogreboot to be on the safe side (eventhough   init 2   should do the trick)21:12
nxvldoes anyone is specting problems with gmail's imap?21:13
blue-frogLucutious: btw  re boot is   reboot   on command line :)21:13
balzachello21:25
nullbnxok so im trying to setup my wap (which works perfectly) to have a wep encryption... im trying to use wpa, but i cant seem to get my /etc/network/interfaces configed correctly22:28
nullbnxanyone on with any experience?22:29
balzachello22:37
Stevenhi, i've access to a server via ssh, i needed php 5.2.3 and since it was running edgy i upgraded it to gutsy, tre upgrade process complained about update-grub missing, so i installed grub package22:43
sergevnSteven: how did you upgrade to gutsy? wich commands?22:44
Steven(the machine was using lilo as bootloader), then i installed grub, and now it isn't booting anymore22:44
sergevnSteven: also you need to go edgy>feisty>gutsy, noet edgy>gutsy22:44
Stevensomething similar to do-upgrade-...22:44
sergevnapt-get upgrade22:44
sergevnor22:44
Stevensergevn: yes i've done two updates22:44
sergevnapt-get dist-upgrade22:45
sergevnmajor difference22:45
Stevenneither22:45
balzacSteven: you need to get back to where you can boot your machine22:45
balzacthat's more of a general #ubuntu problem than one specific to #ubuntu-server22:46
balzacthere are lots more people in #ubuntu than here22:46
Stevenbalzac: wait a sec :P22:46
dleehi, what's the best irc server app?22:46
dleei see ircd, ircd-hybrid, ircru, and bahamut22:46
Stevenupgraded with sudo do-release-upgrade, the server does not boot anymore, but i can boot with a rescue cd the housing company provide, now i need to install lilo again.. can you help me?22:47
balzacI'm a newbie22:47
sergevndlee: irssi or xchat22:47
balzacbut you'll find more action in #ubuntu22:47
dleesergevn: server, not client22:48
sergevndlee: sorry, it's late :)22:48
balzac I'd use whatever freenode is using22:48
dleebalzac: how do you find out?22:48
balzacwell, I suppose each server is different, correct?22:48
balzaclemme google22:48
blueyedIs somebody using OpenVZ and agrees on bug 218411?22:48
ubotuLaunchpad bug 218411 in vzctl "DEF_OSTEMPLATE should be Ubuntu" [Wishlist,New] https://launchpad.net/bugs/21841122:48
balzachttp://www.ircd-hybrid.org/  <--- most popular irc server on efnet...22:50
balzachttp://freenode.net/hyperion.shtml22:51
balzacdlee, that should be it right there22:52
dleebalzac: thanks22:52
balzacyou can find dancer-ircd in the ubuntu repositories22:53
balzachyperion is forked from that, so it's probably close enough22:53
balzaci'm using hardy heron, btw22:53
balzacnot sure about your version and repositories22:53
Stevensergevn: can you help me, please?22:54
dleebalzac: i'll be using hardy or gutsy22:55
balzacwell, you can see dancer is forked from hybrid, hyperion is forked from dancer22:55
balzacnot sure which one is really most widely used but freenode is hyperion22:55
balzacI'm trying to figure out ebox22:57
balzacIt's a struggle so far22:57
dleebalzac: what's ebox?22:57
balzacebox is the new interface for networking services22:58
balzacit should be an integral part of ubuntu server soon22:58
balzacyou can configure squid and firewall rules22:58
balzachttp://ebox-platform.com/installation-guide/22:58
balzaclooks good for securing an ubuntu server22:59
sergevnSteven: yeah sure22:59
sergevnSteven: lets switch to #ubuntu22:59
balzacbut networking can't be simplified very much. it's a struggle because I'm not a networking guy.22:59
balzacthere's no action at all in #ebox or #squid23:00
balzacubuntu-server is pretty quiet23:00
owhbalzac: That would be because we were all just in a meeting :)23:01
balzacwhat was on the agenda?23:01
owhbalzac: https://wiki.ubuntu.com/ServerTeam/Meeting23:02
balzachopefully, making things easier for a newb23:02
owhbalzac: Actually we were making sure you have a distribution to boot in a fortnight or so :)23:02
balzaccool23:02
Cahanis there a seperate bug tracker for server variant or should I just post it in the main bug tracker?23:05
owhCahan: Post it in the normal bug tracker.23:14
Cahankk23:15
LucutiousIs there any voice -chat help available for me to get this box running?23:30
LucutiousEven if I have to pay23:30
LucutiousLike phone, ventrilo, something23:30
nealmcbLucutious: both free and paid help are described at http://www.ubuntu.com/support23:33
user1 using linux,i have some friends sharing my internet. i have 30k vacant and 3 friends. is there a way that i define the combine band limit for 3 users combined as 30 k . not 10k for each. that way if 2 are  online they can share 15k each. and if all 3 are online. they will be spreaded 10k each in managed behaviour. any way.i have a dlink switch. and in futer i may take a fourth one and give him a dedicated 20k limit alone. so i need control?c@23:41
nealmcbLucutious: see also ebox23:42
nealmcb!ebox23:42
ubotuebox is a web-based GUI interface for administering a server. It is designed to work with Ubuntu/Debian style configuration management. See the plans for Hardy at https://wiki.ubuntu.com/EboxSpec23:42
nealmcbLucutious: though you would want to use that on hardy (now in beta) not gutsy...23:43
Lucutious!ebox23:47
ubotuebox is a web-based GUI interface for administering a server. It is designed to work with Ubuntu/Debian style configuration management. See the plans for Hardy at https://wiki.ubuntu.com/EboxSpec23:47
user1 using linux,i have some friends sharing my internet. i have 30k vacant and 3 friends. is there a way that i define the combine band limit for 3 users combined as 30 k . not 10k for each. that way if 2 are  online they can share 15k each. and if all 3 are online. they will be spreaded 10k each in managed behaviour. any way.i have a dlink switch. and in futer i may take a fourth one and give him a dedicated 20k limit alone. so i need control?23:51
nealmcbuser1: sounds more like a question for the maker of your dlink switch, since any bandwidth shaping would be done there, unless you want to make a linux box into a switch23:55
Tuv0kI told him the same thing in ubntu+123:55
user1nealmcb ya. but is it possible in  linux?23:56
nealmcbeverything is possible in linux :-)  but you'd want to find the right channel - this is for servers, not networks23:56
Deepsnealmcb: ubuntu servers can be used as primitive network routers too, y'know ;-)23:57
user1nealmcb Tuv0k by wondershaper or ebox. or any other, what i have in mind is 30k for 3 users. if all are online 10k is given to each. if 2 are online 15k to each. 1 then 30k to him. and other 4th user gets 20k seperat dedi bandwidth.. how can i do it?23:57
Tuv0k!spam23:57
ubotuUnsure how you should behave on this channel? See (in a private message with the bot, /msg ubotu <keyword>): !AskTheBot, !CoC, !Guidelines, !Offtopic, !Language, !Attitude, !Repeat, !Enter, !Paste, !NickSpam, !PM, !English - And most importantly, use common sense...23:57
Deepsuser1: You'll want to read through the information in http://lartc.org/23:57
Deepsuser1: You wont find anyone in here willing to write your configuration for you, but if you read through the information available at that site, and understand how it works, you'll be able to write your own rules in no time. :-)23:58
Tuv0kgreat link23:58

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