/srv/irclogs.ubuntu.com/2008/11/10/#ubuntu-server.txt

=== ninja is now known as Guest6178
KingOfDosSomeone here that can give me a suggestion about a SoundBlaster 1024 Live when i'm using Alsa? I can't find the propper input device from console.00:51
jmarsdenKingOfDos: See https://wiki.ubuntu.com/DebuggingSoundProblems01:04
spiritssightIs they any one willing to assist in helping with setup a server for a non-profit if so please PM me01:08
spiritssightI am hoping a person in the US so it would be easer to talk then to try and type01:09
jmarsdenspiritssight: I suggest reading http://www.sabi.co.uk/Notes/linuxHelpAsk.html and then asking a more specific question to the channel?  Your questions could mean you need a few days of (unpaid?) consulting (!), or that you have one specific issue you would like help with...01:11
=== erichammond1 is now known as erichammond
spiritssightOk, I am asking for someone that is willing to setup a server for the non-profit from the install to the making sure the domain works with the system, and yes sadly it would be unpaid as the non-profit does not have any money and I don't either, this is why trying to setup a server on a computer I have instead of paying for one and seeing we need a little more then what is allowed on cheap accounts we are going this rout01:14
KingOfDosjmarsden: i'm trying to record/stream from a TV card with vlc. i have to give vlc a proper v4l-adev, but don't know what input is a specific type (the internal cd_in or aux_in for example)01:16
KingOfDosI had found some information in /proc/asound/Live/pcmXX/info (where XX is something like 1c, 2c, 2p, etc).01:17
=== Guest6178 is now known as ninja
zulspiritssight: you might get more traction with your local linux users group or emailing the ubuntu-server mailing list01:23
antihc3I just installed server and everything went verywell but then i loged out and relogged in now it says i am not in the sudo list 0_001:23
antihc3any suggestions how to edit sudo file now01:26
spiritssightIs it a good idea to use LVM for one harddrive01:27
spiritssight55 gb harddrive01:28
KingOfDosjmarsden: the sount itself is working. i'd checked it with vlc and some mp3 file. that plays nice.01:28
KingOfDosbut i just cannot find the right input for my recording/streaming01:28
spiritssightI am doing a install with out doing any parts just to get a feel for the install the I will reinstall again :-)01:32
spiritssightoops thats was not for here :-)01:32
spiritssightStill looking for help throw01:32
antihc3_is there a list of groups that the first user is a member of after server install01:42
jmarsdenantihc3: Yes, the admin group is the one you care about.  WHat does     grep ^admin /etc/group    output?01:43
antihc3_jmarsden, admin:x:114:01:47
antihc3_yea i was playing with useradd and messed up my groups01:47
jmarsdenantihc3_: Hm, so there is noone in your admin group.01:48
jmarsdenCan you boot into recovery mode and fix things from there?01:48
antihc3_that is where i am now01:51
jmarsdenKingOfDos: vlc... on a server?? This has gone from being "about a SoundBlaster 1024 Live" to being about vlc, I think...01:51
KingOfDoscvlc ;)01:52
jmarsdenantihc3_: sorry, I need to go AFK for a while.  Back in 20 mins or so... bad timing...01:52
KingOfDosconsole version. but that's not my question. i've got the TV card working, but just no audio.01:52
KingOfDosconnected the audio_out from my tvcard to the cd_in at my soundblaster.01:53
KingOfDosand there is audio on that cable (tested it with a headphone and a few wires), so that's not the problem.01:53
KingOfDosi just don't know what device i can use for the actual recording01:54
antihc3_jmarsden, thanks i did usermod -a -G admin01:55
KingOfDosi'd tested it with /dev/snd/pcm* (one by one) as adev (audio input device for vlc)01:55
KingOfDoseven changed the connector from cd_in to aux_in, and others. this makes no effect. checked the alsamixer for it's volumes, thats also correct.01:56
spiritssightjmarsden: I pm you01:57
=== antihc3__ is now known as antihc3
lukehasnonameCan I manage samba shares through SWAT?02:24
jmarsdenlukehasnoname: What happens when you try?02:39
lukehasnonameAll I see are "Home, Status, View, Password02:40
lukehasnoname"02:40
lukehasnonamenone of those pages allow to create shares02:41
lukehasnonamethat I see02:41
jmarsdenlukehasnoname: Are you logged into SWAT as a user with the privs to create new shares??  I used SWAT ages ago, but not under Ubuntu... will try installing it here and seeing how that goes...02:48
lukehasnonameah yes, you're right02:50
lukehasnonameI'll try root and get back to you.... but right now it's CTF time across campus02:51
jmarsdenCTF?  Call The Firebrigade?  What??  Anyway, OK... :-)02:52
lukehasnonamecapture the flag02:55
jmarsdenlukehasnoname: Ah, OK!  Have fun!02:55
=== deejoe is now known as spudnoggin
=== spudnoggin is now known as deejoe
CarlFKat the end of u-server install, I have a dialog "installation is complete.  you need to restart... (Restart no)"04:10
CarlFKmouse is not working, and I can't seem to hit the button with the keyboard04:10
jmarsdenCarlFK: Try the TAB key to move around and the Press Enter to press the button once it is highlighted?04:11
CarlFKtreid that.  it is the only dialog/button, so not much to tab to04:12
jmarsdenAnd Enter won't work?  Odd.  CAn you Ctrl-Alt-Del ?04:13
CarlFKwell, I am connected via vnc to a vm - sending C-A-D didn't04:16
jmarsdenCarlFK: Then just issue some sort of reboot command to that vm?04:17
CarlFKi don't have access to that :)04:18
CarlFKbox is at a friends house.  Ill have to disturb his teevee watching....04:18
jmarsdenYou don't have a way to reboot your own VM?  ... Ah, well... then you can wait until his TV programme is finished, or risk his anger and beig disturbed :-)04:19
CarlFKoh brother.  it wasn't the u-server cd...04:34
jmarsdenGuessing... You reinstalled Ubuntu on the hardware, thinking it was a VM??04:35
CarlFKheh04:37
CarlFKno - restarted the VM, and I have gnome.04:37
jmarsdenAh, OK... so you're all set for some remote computing fun :-)04:37
CarlFKI was wondering about the new options on the u-server cd menu04:37
CarlFKthere was some confusion as to what .iso to get04:38
CarlFKim trying to test some x64 stuff, and I don't have a good x64 box to test on04:39
CarlFKI have my laptop, but I don't really want to kernel panic it (which is a result of what I am testing)04:39
jmarsdenWell, I guess you can now download the right ISO to your virtual desktop, export it to somewhere on the underlying real machine's filesystem, then build another VM using that ISO?04:41
CarlFKthat sounds like work :)04:42
CarlFKIll make an ssh tunnel to my box, ssh back though the tunnel, and crash the vm04:43
CarlFKactually, working with gnome-term over vnc isn't terible04:45
CarlFKwhere is a good place to put a one line script to run on boot, before any gui comes up? ssh -R 2222:127.0.0.1:22 sshd.personnelware.com05:13
hadsAs root or a standard user?05:13
CarlFKstandard05:14
hadsProbably in cron @reboot05:14
CarlFKohh... heard of that05:14
CarlFK@reboot happens at the begining?  I would have guessed as part of the shutdown05:14
jmarsdenCarlFK: Do man 5 crontab to check :-)05:22
CarlFKjmarsden: thanks.05:23
CarlFKhmm, if the script doesn't return.. is cron ok with that?05:23
jmarsdenCarlFK: I'm not sure... can the script do ssh -R 2222:127.0.0.1:22 sshd.personnelware.com &    # So it returns but leaves the ssh process running?05:26
CarlFKwtf.. ssh is somehow causing a gui dialg to come up asking for my pw so it can do key exchange ?05:27
CarlFKoh.. create the keyring...05:27
CarlFKhmm.05:27
CarlFKyeah, looks like this work:  make_tunnel.sh &05:31
mylogicanyone recommend any particular irc bouncers for ubuntu server?06:34
=== ninja is now known as Guest67849
=== Guest67849 is now known as ninja1
krautmoin08:34
uvirtbotNew bug: #296233 in openldap (main) "package libldap-2.4-2 2.4.11-0ubuntu6.1 failed to install/upgrade: ????? libldap-2.4-2 ?? ????? ? ?????????" [Undecided,New] https://launchpad.net/bugs/29623309:37
frithsorry to ask here, i am trying to benchmark a number of servers, bonnie++ give me a good disk performance measuring stick, but what can i use for cpu and memory performance?09:37
KingOfDosmoin. does someone know a method to "fake" the ALSA driver? i want a seperate "stream" for each input instead of a /dev/dsp witch I cannot use from VLC (VLC is NOT supporting ALSA on a "working" way)10:13
KingOfDosso for example, a pseudo-driver that will redirect all the audio from the aux_in to /dev/soundcard1/aux_in10:14
stkahi10:31
stkaI like to get saslauthd using ldap as mechanism I configured /etc/defaults/saslauthd as followed http://phpfi.com/376133 /etc/saslauthd.conf looks like this http://phpfi.com/376134. When I start saslauthd with "/etc/init.d/saslauthd start" sasl is not working. Wenn I start saslauthd over cli with "saslauthd -d -a ldap -r -V" everything works fine. So what did I forgot?10:38
stkasolution --> https://bugs.launchpad.net/ubuntu/+source/cyrus-sasl2/+bug/13893111:01
uvirtbotLaunchpad bug 138931 in cyrus-sasl2 "Can't use saslauthd to authenticate both postfix and cyrus due to /var/run/saslauthd being on tmpfs" [Undecided,New]11:01
=== ninja is now known as Guest34100
francesco___hello how i find my mac address ?11:24
ascentifconfig shows it11:25
francesco___no...11:25
ascentunless it's unsupported/unrecognized.11:25
francesco___wait its Hwaddr???11:25
ascentyes11:26
francesco___ok11:26
francesco___;)11:26
francesco____how i see my assigned ip address?11:31
ascentifconfig11:31
francesco____no really this 1 not show ..11:32
francesco____lol11:32
francesco____no yes11:32
francesco____but11:33
francesco____is strange11:33
francesco____i m connected with wifi11:33
francesco____for to see it i must type iwconfig???11:33
francesco____but iwconfig do not show it against ifconfig yes.. why ?11:34
Deepsiwconfig will show you the wireless configuration setting, e.g. what access point your connected to, what speed you're synced at, signal strength, etc.11:34
francesco____ok11:34
Deepsit wont show you your IP settings11:34
francesco____ok11:34
Deepsifconfig does that11:34
francesco____ok so all interfaces are in ifconfig , and iwconfig is the configuration of wirless11:35
Deepsyep11:35
francesco____thx .. ascent i sorry for befor if i said no... lol11:36
=== ninja is now known as Guest84393
_rubenifconfig is ancient, ip ftw12:03
moo---:O12:13
moo---noo12:13
moo---you don't take away my ipconfig, do you?12:14
moo---ifconfig12:14
francesco____hello how can be that the password in my terminal is wrong ??12:17
francesco____if i type su12:17
francesco____then passowor say me... authentication falied12:17
_ruben!sudo12:19
ubottusudo is a command to run programs with superuser privileges ("root"). Look at https://help.ubuntu.com/community/RootSudo for more information. For graphical applications see !gksu (Gnome), or !kdesu (KDE)12:19
_rubendont use su12:19
Gargoyleyeah, sudo -s is much better! :)12:19
=== ninja is now known as Guest48808
=== francesco____ is now known as AOSIDJ
=== AOSIDJ_ is now known as francesco_VI
=== ninja is now known as Guest59682
scientesdo i need the server kernel to be a xen Dom013:21
scientes?13:21
=== ninja is now known as Guest30490
uvirtbotNew bug: #286119 in samba (main) "firefox 3.0.3 crashes (no SIG) on most pages w images: 8.10beta AMD64" [Undecided,Incomplete] https://launchpad.net/bugs/28611913:43
_rubensamba .. firefox .. eh? :p13:44
TrioTorusIn openldap, the posixAccount objectclass provides the loginShell attribute, but it is not mandatory. If no loginShell is given how does ubuntu handle that? In my new setup, such a user gets /bin/sh as loginshell, isn't that a tad dangerous?14:25
andolTrioTorus: Perhaps I'm slow today, but how is that dangerous?14:28
sommerTrioTorus: /bin/sh is a sybolic link to dash14:28
sommerby default anyway14:29
TrioToruswell, shouldn't it default to /bin/false if no loginShell is provided?14:29
andolTrioTorus: Now I see your point.14:30
andolTrioTorus: Not sure if I agree thought :) In my world the default state of an account is active, so setting /bin/false is something which should be actively done14:30
TrioTorusandol: yes I follow that too, but my opinion is that a default should be at least set (either /bin/false or something else) but I was surprised to see that I get /bin/sh when loginShell is not specified at all.14:33
TrioToruswhen using openldap14:35
TrioTorusyou could argue that it is the responsibility of the script you use to specify a loginshell for a new user account, but if even openldap doesn't think loginShell is a mandatory attribute for a posixAccount, the system's fallback for that shouldn't be /bin/sh  -  I'm thinking.14:38
CarlFKis there a u-x64 channel?14:45
CarlFKor.. why does bash crash: echo hi foo>x.sh; chmod u+x x.sh; ./x.sh  = malloc: ../bash/dispose_cmd.c:241: assertion botched; free: called with unallocated block argument14:46
_rubenbecause its invalid code perhaps, should crash tho14:50
uvirtbotNew bug: #296349 in logwatch (universe) "logwatch replaces hostname with number" [Undecided,New] https://launchpad.net/bugs/29634915:01
CarlFKif I accedenly installed u-desktop, how can I disable gdm from starting?15:25
CarlFKwithout doing apt-get remove ... don't feel like waiting15:26
sommerCarlFK: sudo update-rc.d -f gdm remove15:30
CarlFKsommer: thanks15:34
nealmcbanybody know the status of alfresco in ubuntu?  I see this announcement about the partner repository - why partner?  I thought it was GPL.  http://www.ubuntu.com/news/alfresco-enterprise-content-management15:35
Omahnkirkland: I'm just testing the hardy-proposed packages for degraded RAID and I'm guessing that after replacing a failed disk in to the md, I'll need to re-run grub-install /dev/md, is this correct?15:35
kirklandOmahn: yes, that's true15:38
kirklandOmahn: we've discussed a wrapper tool that would do this15:38
Omahnkirkland: No problem. I'm guessing that's something that will be included in the documentation anyway.15:38
kirklandOmahn: but for now, it's manual15:38
kirklandOmahn: exactly15:38
OmahnOh, cool, that's even better.15:38
kirklandOmahn: i discussed with sommer at some point ;-)15:38
OmahnIt all seems to be working for me so far. Testing in VMware at the moment but I'm hoping to get some physical hardware to test on tomorrow.15:39
OmahnHmm. Seems my testing in VMware isn't going to be particularly valid. WS6.5 is taking the second disk and changing it to sda on power on when the first disk is removed.15:40
kirklandOmahn: i'd be interested in your experience15:41
kirklandOmahn: all of my testing has been in KVM15:41
Omahnkirkland: No problem, I'll be posting in the bug report, hopefully sometime tomorrow on the VMware tests and later in the week for physical, assuming I can get my hands on some.15:41
Omahnkirkland: What's the delay on boot when one of the disks is missing? Seems like a long time.15:42
kirklandOmahn: 3 minutes, in Hardy15:42
kirklandOmahn: 30 seconds, in Intrepid15:42
kirklandOmahn: it's annoyingly long, in my opinion'15:42
Omahnkirkland: Any way of reducing it in Hardy? ;-)15:42
Omahnkirkland: I rebooted the first couple of times.. :-)15:43
Omahnkirkland: A spinner, or anything really, to the screen would be useful.15:43
kirklandOmahn: hmm, you could hack /usr/share/initramfs-tools/scripts/local15:43
kirklandOmahn: search for "slumber"15:44
kirklandOmahn: then you'd have to re-run update-initramfs15:44
Omahnkirkland: Thanks, I'll check it out.15:44
kirklandOmahn: it somewhat invalidates the testing I'm requesting, though ... :-/15:44
Omahnkirkland: ha, no problem, I'll just stick with the standard test case for now. BTW, I've tested everything successfully bar the kernel options. (which I'll be testing in the morning)15:45
kirklandOmahn: wow, thanks dude!15:45
Omahnkirkland: No problem. ttfn.15:47
nijabanealmcb: there are 2 versions of alfresco.  The community version is GPL, the enterprise version is not15:49
nijabanealmcb: I believe the PR refers to the enterprise version15:49
nijabanealmcb: feel free to package the community version, we'll gladly put it in universe ;)15:50
=== deejoe is now known as everyone_else
=== everyone_else is now known as deejoe
zulmathiaz: what do you think about an SRU for samba to move to 3.2.4 for intrepid?17:17
mathiazzul: which bugs are fixed by 3.2.4?17:17
zulprobably alot of the winbind crashes i have gone through them yet17:18
zuli can put it on the agenda for the meeting tomorrow though17:19
mathiazzul: sure17:20
fbondHi, is 64-bit kernel + 64-bit userspace stable these days?  Would I be better off with 64-bit kernel + 32-bit userspace (assuming I don't need >2GB memory for any given process)?17:20
ascentI'd pick 64bits17:21
fbondascent: 64-bit userspace?  Any particular reason?17:22
Nafallo128-bit isn't here yet? ;-)17:23
ascentI'm running quite a few debian servers with 64 bits OS, never had problems with it. Since ubuntu is a derative, I'd feel godo using 64 bits ubuntu as well17:23
fbondascent: Okay, thanks.17:23
ascentI don't see the point of using 32 bits on 64 bits hardware anymore17:23
fbondI'm mostly concerned about userspace bugs due to bad assumptions about pointer arithmetic, etc.17:23
ascentnever had 64 bits related issues17:23
ascentOK, well, 'm not into it that much but from my experiences, I'm happy with 64bits17:24
ascentNBot a programmer myself however :)17:24
Nafallostart running 32-bit and later decide to add a service that needs lots of memory... good luck keeping your userspace intact without going through evil hops of cold fire!17:24
Nafallothe safe bet is 64 ;-)17:25
fbondOkay, thanks.17:26
nealmcbnijaba: the press release notes both the labs and the enterprise version.  http://www.alfresco.com/products/networks/compare/ says this about both enterprise and labs: "100% Open Source "  so I'm still puzzled about why it would be in partner - especially the first "labs" version which is called "GPL" elsewhere on their site.  Here is an update.  http://forums.alfresco.com/en/viewtopic.php?f=8&t=1393417:47
jmarsdennealmcb: alfresco used to use a weird modified licence that was not officially "open source", but I think they recently switched to GPL?17:49
nealmcbjmarsden: ahh - could be...17:49
jmarsdenThere was a lot of fuss about tehir claiming to be "open source" but not really being such... but I think that is all past history now...17:50
nealmcbthat would be good material for their wikipedia entry17:50
jmarsdenLooks like they changed in Feb 2007, so not exactly a recent change... http://opensource.osdir.com/node/109.html17:51
sandstromHow can I allow hostname lookups (eg. host yahoo.com) through my firewall using UFW?17:53
samuraipenguinufw allow 5317:55
samuraipenguin99.9% of dns queries are UDP, but, tracking down a fix for that .1% makes it worth leaving 53/tcp open as well.17:56
sandstromthanks. I'll try17:56
sandstromI think my server is somehow setup to run hostname lookups on another port than 53. How can I see which port a process is attempting to use?18:07
samuraipengui1hostname lookups are extremely tiny, but netstat -ant should let you see active connections.18:09
jmarsdensandstrom: If you have ufw turned on, logically, do   sudo ufw logging on   and then read the log?18:13
fbondIs 64-bit kernel with 32-bit userspace supported by Ubuntu Server?18:14
sandstromsounds logical yes. I didn't know about the logging but will look at it18:14
jmarsdensandstrom: ufw help shows the basic ufw commands :-)18:15
sandstromI'm new. Thanks!18:16
sandstromjmarsden: stupid question, but where can I see the log?18:19
jmarsdenI'd guess /var/log/messages -- I don't use ufw on this machine...18:20
sandstromit's empty18:21
jmarsdensandstrom: I just tested it here... /var/log/messages just like otehr iptables firewalling solutions.18:22
jmarsdensandstrom: DO something you know your ufw rules will deny, then grep -u ufw /var/log/messages18:22
jmarsdenif /var/log/messages is *empty* on a Ubuntu server ... are you sure syslogd is running properly??18:23
sandstromI do "host yahoo.com" which timesout when the firewall is enabled. Then I look in /var/log/messages and see some "MARK…" but nothing else.18:23
sandstromno, I'm not sure18:23
jmarsdensandstrom: OK, so do  sudo ufw deny proto tcp to any port 12345   and then    telnet 1.2.3.4 12345  and then grep UFW /var/log/messages18:26
jmarsdenThere should be lines with "[UFW BLOCK INPUT]:" in them.18:26
sandstromnope18:28
sandstromthis is the content of /var/log/messages: http://pastie.org/31154418:29
jmarsdenThis is a real Ubuntu server installation?  It's very odd to see so little in there...18:30
jmarsdenDoes    sudo /sbin/iptables -L -v | grep LOG    output some rules including the string "UFW BLOCK" ?18:32
samuraipengui1jmarsden: i have a LAMP/mail server, and i've got nothing but MARK and syslogd restarts in /var/log/messages for the last 20 days, since it booted.18:33
jmarsdenInteresting, I get all kinds of stuff in there on my servers...18:34
NickBeeGuys, need help with network configuration ... am a newbie on linux18:37
NickBeei had managed to set up the networking right, and the server has been running for 3 months now when i had to reboot it18:37
NickBeeand the network is down again18:37
NickBeeI am able to ping localhost18:37
ascentthat's the downside of reboots, you'll lose connection for a bit ;)18:38
NickBeebut thats it, can't ping anywhere else18:38
ascentso, what's the error youget?18:38
NickBeeit takes forever to return from ping18:39
ascentdns failure?18:39
ascenttried pinging an ip?18:39
NickBeepinging to ip says: Host unreachable18:40
ascentdefault route set OK ?18:41
ascentand, dou you even have an ip ?18:41
ascentbesides 127.0.0.118:41
NickBeei am not sure about route18:41
ascentwhich most of us will have18:41
NickBeebut yes, it has a static IP18:41
ascentis it set?18:41
NickBeeyes, i checked the inerfaces file and it seems ok18:41
NickBeeubuntu is running as a VM18:42
NickBeeand i am unable to ping even the host18:42
NickBeebefore reboot, everything was fine18:43
samuraipengui1check ifconfig -- is the network interface up?18:43
NickBeeyes18:43
ascentyou rebooted the domu or the dom0?18:43
NickBeedomu/dom0 ?18:43
ascenthost or client os?18:44
NickBeeboth18:44
ascentand is the host connected to the internet?18:44
NickBeeyes18:44
ascentonly the client has trouble?18:44
NickBeeyup18:44
ascentwhat's the ip you see in the clients ifconfig?18:44
jmarsdensandstrom: I think ufw does not log *output* packets it blocks...18:44
sandstromthat might be it18:45
NickBeei see the correct IP18:45
sandstromI've tried to use isof -i to find the port18:45
NickBeei.e. 216.245.223.25118:45
jmarsdensandstrom: if you do   sudo ufw default enable    does the host lookup then work OK?18:45
ascentnickbee: and it's statically set ?18:46
sandstromwith ufw default allow it works18:46
NickBeeyes18:46
ascentwhat does your route tabel look like?18:46
jmarsdensandstrom: That's what I meant, my mistake.  OK.  So let's add a logging rule for the output packets...18:46
NickBeecan't copy paste from the v machine18:47
NickBeelet me try to tell18:47
NickBeefirst entry18:47
NickBeedest: 216.245.223.24818:48
NickBeegateway: 0.0.0.018:48
NickBeegenmask: 255.255.255.24818:48
NickBeeFlags: U18:48
NickBeeMetric: 018:48
NickBeeRef: 018:48
NickBeeUse: 018:49
NickBeeIface: eth018:49
NickBeeLine 218:49
NickBeeDest: 0.0.0.018:49
NickBeeGateway: 216.245.223.24918:49
ascentcan you ping that ip ?18:49
NickBeeGenmask: 0.0.0.018:49
ascentthat gateway?18:49
ascent216.245.223.24918:49
NickBeeoh, can't ping the gateway18:50
NickBeedest host unreachable18:50
ascentbut from your host you can? or perhaps, that's the ip of the host?18:50
NickBeenope, thats not the IP of my host18:51
ascentbut can the host ping that ip ?18:51
NickBeeyes18:51
NickBeenetwork from host is fine18:52
NickBeeand thats the same gateway as set on host18:52
ascentwhat does the bridge config look like, on the host?18:52
NickBeehost is windows server 200318:52
ascentAnd damn to all of you for having popcorn and a coke and just sit back and relax while I'm debugging my ass off ;)18:53
NickBeewhere to check brige config?18:53
ascentSo, can you verify the bridge?18:53
ascentI don't know. Never played with win2k318:53
NickBeehmm..18:54
NickBeethe machine has 2 network cards18:54
NickBeefrom the faint memory i have, i think the problem was that ubuntu was trying to acess the internet  from the card which was meant for local machine18:54
NickBeefor Intranet i mean18:54
jmarsdensandstrom: Maybe we can use tcpdump to see what is happening... try   tcpdump -i any udp &  and then do host yahoo.com and see what tcpdump outputs?18:55
sandstromtrying…18:55
ascentbrb, dinner18:56
NickBeeOk18:56
NickBeeguys anyone having some spare time/energy to debug a network issue ;)18:57
sandstromjmarsden: this is the output: http://pastie.org/31157318:58
jmarsdensandstrom: OK... now do sudo ufw default allow and then host yahoo.com and see what the tcpdump output says then... at the moment you're just not getting anything coming back in at all...18:59
NickBeeFigured it out .... thanks!!!19:00
sandstromjmarsden: sorry for the delay. here we have it: http://pastie.org/31157319:06
jmarsdensandstrom: I don't understand this... is 192.35.82.50 (fsdata.se) your nameserver?19:14
sandstromyes19:15
sandstromthats likely19:15
sandstromit's a VPS19:15
jmarsdenMaybe you can try    ufw allow from 192.35.82.5019:16
jmarsdenIt's not exactly the "right" approach to this, but it might work :-)19:16
sandstromjmarsden Cool that did the trick. Thanks a million!19:17
jmarsdenNo problem... as long as noone on that nameseer machine attacks you the firewall will still do its job :-)19:18
sandstromokey, I think I'll be safe!19:18
sandstromthanks again!!19:19
sandstromsmb (samba) autostarts on my webserver. Is it needed for any of apache, php, ssh, sftp or subversion? if not; how can I disable it's autostart?19:27
ascentprobably not needed, use update-rc.d to disable it at bootup19:28
ascentyou can always put it back there if you do happen to need it19:28
sandstromhow do I use update-rc.d ?19:29
ascentman update-rc.d?19:29
sandstromthanks!!19:30
ascentlol19:30
darkvertex!ssh20:02
ubottuSSH is the Secure SHell protocol. See https://help.ubuntu.com/community/SSHHowto for usage. Putty is a nice SSH client for Windows; it can be found at http://www.chiark.greenend.org.uk/~sgtatham/putty/20:02
ScottKleonel: New Debian clamav package for Etch ought to be a good hint for security updates.20:22
leonelScottK: I'll check if ther's a cve  or  do you know if there's any ?20:23
ScottKI haven't looked.  Just saw it was uploaded today.  It wouldn't have gone to -security if it wasn't.20:24
leonelScottK: ok i'll do20:24
jpdsCan someone please tell me a way to mirror a specific release with debmirror?20:40
kinectionsdoes anybody here have success with using elilo with ubuntu server?20:41
jmarsdenjpds: Does the info at https://help.ubuntu.com/community/Debmirror help?20:53
jpdsjmarsden: Thanks!20:55
jmarsdenjpds: You're welcome20:55
RediXeLooking for any information on extracting all the data on a MS Exchange Server and getting it put onto an Ubuntu-Server.21:08
jmarsdenRediXe: *All* the data?  You can export mailboxes to PST files using exmerge, and then read those using readpst under Linux... is that the kind of thing you need?21:10
jmarsdenI'm not sure how to convert all the calendar/contact data... but for email xfer the above method should work.21:10
RediXejmarsden: Well, I'm not sure as I have never played with an MSE Server. My boss if flying to a client and he is asking me for idea's on how to get the data on the server to our servers. I know this includes emails but I believe is wants everything else too.21:11
jmarsdenYou might have to look and running one fo the exchange alternatives like openexchange or ZImbra and converting to that???  But I know little to nothing about those/21:12
ababs213s21:13
ScottKAFAIK Openchange is supposed to support that kind of thing.21:19
ScottKThere's a version in Intrepid, not sure how complete it is.21:19
nixternalanyone having issues with 8.10 and grub not installing or working after a clean install?21:29
ababs213can anyone assit with apache and ubntu ?21:39
=== cateye is now known as CaTeYe
samuraipengui1ababs213: just ask.21:40
ababs213http://127.0.1.1 shows the  'it works' text, but  on internal ip address  http://192.168.1.88 it does not show 'it works'21:41
ababs213i thought this was supposed to work for both21:41
samuraipengui1ababs213: firewall in the way?21:43
nealmcbababs213: so you're just running a default apache install, and trying different urls?21:44
ascentor just not configured for both ups?21:44
ababs213 inet addr:192.168.1.88  Bcast:192.168.1.255  Mask:255.255.255.0 is what i have21:44
samuraipengui1also, try netstat -nat | grep www -- see if it's listening on 0.0.0.0:www or 127.0.0.1:22221:44
=== samuraipengui1 is now known as samuraipenguin
ascentwhats 222?21:44
nealmcblol21:44
samuraipenguins/222/www/21:44
nealmcb222 is near www21:44
ascentah21:45
* samuraipenguin fails at typing21:45
ascentwell, there's a difference21:45
ascent0.0.0.0 means every available ip21:45
ascentwhere 127.0.0.1 only represents localhost21:45
ababs213netstat brings in 192.168.1.88:59296      209.85.137.125:5222     ESTABLISHED21:45
ascentso?21:45
ababs213i though i could access the 'it works' using both local host and the ip address of the computer.......is it not effectively the same thing ?21:46
jmarsdenababs213: Not necessarily.  Try netstat -nat | grep LISTEN and see where your apache httpd is listening...21:46
ascentdepends on what port it listens21:46
nealmcbababs213: the important thing is what it is listening on - try just netstat -nl21:47
samuraipenguinyeah, i'm lazy and use -nat for everything.21:47
ababs213tcp        0      0 127.0.0.1:3306          0.0.0.0:*               LISTEN21:47
ababs213tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN21:47
ababs213tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN21:47
ababs213tcp        0      0 192.168.1.88:59296      209.85.137.125:5222     ESTABLISHED21:48
ababs213tcp        0      0 192.168.1.88:56840      216.165.191.52:6667     ESTABLISHED21:48
ababs213tcp        0      0 192.168.1.88:41832      66.163.181.169:5050     ESTABLISHED21:48
ababs213tcp        0      0 192.168.1.88:44322      207.46.107.17:1863      ESTABLISHED21:48
jmarsdenOK, so the :80 is the apache... httpd.  You failed to |grep LISTEN apparently?!21:48
samuraipenguinababs213: okay, that's enough.  apache is listening on all available addresses.  so there must be a firewall somewhere that is blocking the connection.21:48
jmarsdenababs213: if you    telnet 192.168.1.88 80     what happens?21:49
ababs213http://pastebin.com/m2e01e0e621:49
jmarsdenababs213: That's the result of a telnet???21:50
ababs213no the -nl21:50
* jmarsden waits for the result of the telnet...21:50
ababs213Trying 192.168.1.88...21:51
ababs213Connected to 192.168.1.88.21:51
jmarsdenIt connected... OK.  type in     GET / HTTP-1.1  and press Enter.21:51
ascentget / <enter> <encter>21:51
samuraipenguintry typing "GET / HTTP/1.0" without quotes21:51
jmarsden:-)21:51
samuraipenguinlol, too much help at once, methinks21:52
ascentokay, I'll stop ;)21:52
ababs213Trying 192.168.1.88...21:54
ababs213Connected to 192.168.1.88.21:54
ababs213Escape character is '^]'.21:54
ababs213GET/HTTP/1.021:54
ababs213<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">21:54
ababs213<html><head>21:54
ababs213<title>501 Method Not Implemented</title>21:54
ababs213</head><body>21:54
ababs213<h1>Method Not Implemented</h1>21:54
ababs213<p>GET/HTTP/1.0 to / not supported.<br />21:54
ascent\o/21:54
ababs213</p>21:54
ababs213<hr>21:54
ascentthere ya go21:54
ababs213<address>Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.3 with Suhosin-Patch Server at testhost Port 80</address>21:54
ababs213</body></html>21:54
ascentthat's for that complete plage mage21:54
ababs213Connection closed by foreign host.21:54
ascentmate21:54
hads!pastebin21:54
ubottupastebin is a service to post multiple-lined texts so you don't flood the channel. The Ubuntu pastebin is at http://paste.ubuntu.com (make sure you give us the URL for your paste - see also the channel topic)21:54
ascentI really needed that ;)21:54
ababs213http://pastebin.com/d7b08a40e21:55
jmarsdenababs213: You didn't type in some spaces either side of the / ?21:57
jmarsdenBut it looks like the server is alive.21:57
ascentit's jsut fine21:57
ascentand if this works, your browser also works21:57
ababs213i also got this when i started apache sorry Warning: DocumentRoot [/home/var/www] does not exist21:57
ababs213apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName21:57
ascentit may just not be configured with apache21:57
ababs213but it works on 127.0.1.1 ?21:58
jmarsden/home/var/www ?  That's weird.21:58
ababs213just not local ip21:58
jmarsdenababs213: Did someone or something edit the httpd.conf file ?21:58
ababs213i havent yet touched it as i dont fully understand it21:58
jmarsdenWhat does    grep -i documentroot /etc/apache2/sites-available/*        output?  Should be just a couple of lines.22:03
ababs213yes just one22:04
ababs213DocumentRoot /var/www/22:04
ababs213the var and www only has root permissions but does that make a difference ?22:04
jmarsdenababs213: /var/www should be 755 (that is rwxr-xr-x)  What does ls -ld /var/www  output?22:06
jmarsdenI don't like the way the warning referred to /home/var/www but the documentroot is /var/www -- that feeld very odd.22:06
jmarsdens/feeld/feels/22:06
ababs213drwxr-xr-x 3 root root 4096 2008-11-07 22:22 /var/www22:07
jmarsdenThat's fine.22:07
jmarsdenSo the main issue is that something with hostname looking is broken, so the "could not reliably determine FQDN" thing happens.22:07
ababs213any suggestions on getting this resolved ? thanks22:08
jmarsdenOK... what does    hostname    say ?22:09
samuraipenguinababs213: to go back to the beginning, what happens when you browse to http://<your ip> ?22:10
jmarsdenDo you have a domain name (such as ababs.com) to use for this web server?22:10
ababs213no22:11
ababs213just wanted to get local working before i start on port forwarding22:11
ababs213via a router22:11
jmarsdenwhat does    hostname   output?  I'd suggest making it a fully qualified domain name, say   mypc.mydomain.local22:12
jmarsdenThen edit /etc/hosts to match, and restart apache222:12
ababs213just add in another local host line with the local ip address ?22:13
ababs213currently looks like this22:13
ababs213127.0.0.1localhost22:13
ababs213127.0.1.1abc-laptop22:13
ababs213127.0.1.1testhost22:13
jmarsdenAh.  You didn't set up networking at install time, or something.  Make one that says   192.168.1.88 testhost.mydomain.local22:14
jmarsden(if the hostname is testhost22:14
jmarsdenWell, actually, 192.168.1.88 testhost.mydomain.local testhost        would be better still.22:15
jmarsdenand get rid of anoth other lines containing testhost in that file.22:15
jmarsden*any other lines...22:15
jmarsdenDone?22:16
ababs213 Restarting web server apache2       ==   Warning: DocumentRoot [/home/var/www] does not exist /    httpd (no pid file) not running22:17
jmarsdenWell, we got rid of one warning :-)22:18
jmarsdenBTW did you run a command      hostname testhost.mydomain.local    to set the hostname?22:18
ababs213http://pastebin.com/d2a56261122:18
ababs213cool22:19
ababs213works but still not on that particular ip address22:20
jmarsdenThe leading *s on some of those lines ion /etc/hosts are weird...22:21
ababs213no they are the ones i *'d22:21
frishhey, can any1 help me  with virt-viewer on ubuntu 8.10 ? it complains about X error...22:22
ababs213jmarsden......should it work with the local ip as well ?22:22
ababs213as without this working im not sure if port forwarding will work22:22
ababs213from external to router to laptop22:22
jmarsdenYes, it should... what happens if you now do      w3m http://192.168.1.8822:23
ababs213Not Found The requested URL / was not found on this server.22:23
ababs213 Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.3 with Suhosin-Patch Server at 192.168.1.88 Port 8022:23
jmarsdenOK, and    w3m  http://127.0.1.1    shows what?22:23
ababs213It works!22:25
ababs213with 127 even with the * in front of the text ?22:25
jmarsdenHm.  Somehow we have a bad documentroot /home/var/www that is messing things up for just the "real" IP...22:25
samuraipenguinpurge/reinstall apache?22:26
jmarsdenNot yet :-)22:26
jmarsdenLet's try       find /etc/apache2 -type f | xargs grep /var/www22:26
ababs213/etc/apache2/sites-available/default:DocumentRoot /var/www/22:27
ababs213/etc/apache2/sites-available/default:<Directory /var/www/>22:27
ababs213/etc/apache2/httpd.conf:     DocumentRoot /home/var/www22:27
ababs213ps ive already reinstalled this one22:27
ababs213once22:27
jmarsdenababs213: So someone *did* edit /etc/apache2/httpd.conf !22:27
jmarsdenEdit the file /etc/apache2/httpd.conf  -- by default it should be empty.... so let's look at what is in there...22:28
ababs213only just now i did put the * in front of the 127.xxx ip's ? hmm could it have been changed due to the 127 error i got earlier on restarting apache ?22:28
jmarsdenNever mind your weird /etc/hosts file for right now.... what is in the httpd.conf ?22:29
jmarsden(And how did it get there, since you didn't edit it until now)?22:30
jmarsdenIf it is big just pastebin it...22:30
ababs213<VirtualHost *>       ServerName testhost       DocumentRoot /home/var/www  </Virtualhost>22:31
ababs213thats it22:31
jmarsdenOK, just delete that completely so the file is empty, and restart apache.22:33
jmarsdenI'd love to know who or what put that *in* there... but we'll probably never know!22:33
ababs213sudo /etc/init.d/apache2 stop22:36
ababs213it wont even remove the file ?  abc@abc-laptop:~$ sudo rm etc/apache2/httpd.conf22:36
ababs213rm: cannot remove `etc/apache2/httpd.conf': No such file or directory22:36
Deepssudo rm /etc/apache2/httpd.conf22:36
Deepsyou missed the leading /22:36
ababs213oh year thanks22:37
jmarsdenababs213: You don't want to do that.  Just edit it to be present but zero length....22:37
jmarsdenJust like it is when you first install apache2 :-)22:38
ababs213apache2: Syntax error on line 189 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/httpd.conf: No such file or directory22:38
jmarsdenababs213: Are you reading what I just wrote??22:38
jmarsdenNow try     touch /etc/apache2/httpd.conf22:38
ababs213yes after22:39
jmarsdenThen restart apache222:39
ababs213http://pastebin.com/d65879a0122:39
jmarsdenOdd, we already fixed that once.  Anyway, see if    w3m http://192.168.1.88 now works OK22:40
ababs213cool22:41
ababs213it works22:41
samuraipenguinat the bottom of apache2.conf add: ServerName testserver or similar.22:41
ababs213as does the 12722:41
ababs213as does http://testhost.mydomain.local.testhost/22:41
ababs213thanks you very much gentlemen22:42
ababs213ok im going to try the port forwarding now as well22:42
jmarsdenOK.  You perhaps want to edit /etc/hosts so it is more like http://pastebin.com/d14712e1e22:43
ababs213jmarsden i think that has done it also got rid of all errors on restart of apache as well22:47
jmarsdenGood :-)22:47
ababs213so it was in the main both the conf file and the httpd files22:47
ababs213thanks very much22:47
uvirtbotNew bug: #296327 in samba (main) "smb:/// No application is registered as handling this file" [Undecided,Confirmed] https://launchpad.net/bugs/29632722:47
jmarsdenYou're welcome.  Now back up everything in /etc :-)22:47
ababs213will do is best pratice to call the files .bak and keep them there or copy them to another directory ?22:49
jmarsdenababs213: You are configuring a server and do not know how to do backups?  This is bad...  I'd do    tar zcf ~/etc-backup-2008011010.tar.gz /etc22:50
ababs213just learning22:52
ababs213never programmed before22:52
jmarsdenababs213: This is not programming.  This is system administration.22:55
ababs213once the server is set up then i start the programming22:55
ababs213php and mysql22:55
ababs213thanks again for your help22:56
jmarsdenOK.22:56
keesmathiaz: can I nominate you to handle the merge of sysklogd and ntp?  I touched it last, but I was just mucking with hardening.23:20
owhkees: Is that in relation to the bug that has ntp starting and stopping? I'll have a look for the number.23:22
owhkees: Bug #11450523:24
uvirtbotLaunchpad bug 114505 in ntp "ntp brought up before network is ready; fails not resolve any ip or host names; ntp does not recover" [Medium,Fix released] https://launchpad.net/bugs/11450523:24
owhkees: If not, carry on :)23:24
keesowh: no, unrelated.  I had fixed a different ntp bug where it would just instantly deadlock as soon as an interface came up at all.  :P23:27
owhkees: Excellent, does it do that by stopping ntp and restarting it :)23:28
keesowh: well, it's a bit of a mess, since ntp is trigger to restart when an interface comes up.23:42
owhkees: And that was to deal with ntpdate not updating if ntp was running :(23:43
owhIt's baaaad all round.23:43
keesowh: yeah, and ntp before starting will call ntpdate.  in debian, they used the same lock file, so it'd just immediately deadlock.  :(23:44
owhkees: I submitted the patch to do the restart, but it was only ever a bandaid. I don't even have a handle yet on how it's supposed to work, let alone what to do to make it do that :)23:45
owhkees: It's like this quagmire of init scripts, time-outs, startups and restarts :(23:46
* kees nods23:47
owhkees: I'd love to get my hands dirty and track it all down but I'm not even sure where to start because it appears as if there are bugs overlaying bugs, so picking it up at one end is likely to not actually get you closer to a fix. Having random people add "fixes" of course doesn't help :(23:50
mathiazkees: IIRC someone else did the merge for sysklogd last time.23:51
mathiazkees: but I'll have a look at it.23:51
=== ninja is now known as Guest61895
keesmathiaz: cool, thanks23:54
ababs213need some assistance with hosting my webserver23:56
ababs213ive managed to get apache up and running locally with help from this channel23:56
ababs213now have got port forwarding on the router23:56
ababs213but no website23:56
owhababs213: What happens?23:57
ababs213trace route using network tools shows my ip address23:59
ababs213traceroute using external ip shows local ip address23:59

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