/srv/irclogs.ubuntu.com/2007/10/25/#ubuntu-server.txt

PyroSamaWhy doesnt apache restore the default config files and modules in /etc/apache2 when you remove the dir and lamp then reinstall it all?00:35
nxvlmathiaz: hi, i'm working on LP bug #13083600:35
ubotuLaunchpad bug 130836 in apache2 "Specify OpenDocument icon(s) in Apache2 configuration" [Wishlist,Triaged] https://launchpad.net/bugs/13083600:35
nxvlmathiaz: should i work with apache2_2.2.6-200:35
nxvlmathiaz: or 2.2.4-3build100:35
mathiaznxvl: apache2_2.2.6-200:36
mathiaznxvl: this will be for hardy00:36
nxvlmathiaz: ok, downloading00:36
nxvlmathiaz: is it uploaded on the server or still waiting for sync/merge00:37
nxvli can't dget it from LP00:38
PyroSamaAny one have any idea how I can get the contents of a default /etc/apache2 folder00:38
mathiaznxvl: http://packages.ubuntu.com/hardy/web/apache2 says it's already in the archive00:39
sorenPyroSama: You need to purge the package and reinstall it.00:39
mathiaznxvl: http://archive.ubuntu.com/ubuntu/pool/main/a/apache2/apache2_2.2.6-2.dsc00:39
PyroSamaI did.00:39
PyroSamaI get partial content.00:39
PyroSamaIt gives me a blank httpd.conf no modules and no apache2.conf00:39
PyroSamaBut restores every thing else that I can tell.00:40
sorenWhat exactly did you do, and what exact files are you missing?00:40
mathiazPyroSama: did you purge apache2-common ?00:40
PyroSamaapache2.2-common yes00:40
sorenPyroSama: What exactly did you do?00:41
PyroSamaapt-get remove apache2 apache2-mpm-prefork apache2-utils apache2.2-common libapache2-mod-php5 libapr1 libaprutil1 libdbd-mysql-perl libdbi-perl libmysqlclient15off libnet-daemon-perl libplrpc-perl libpq5 mysql-client-5.0 mysql-common mysql-server mysql-server-5.0 php5-common php5-mysql00:41
sorenWhere's --purge?00:41
PyroSamaThen removed apache2 dir00:42
PyroSama-- purge?00:42
sorenYes. You claimed you purged it.00:42
PyroSamaI guess I missunderstood.00:42
PyroSamaI'm still new to linux.00:42
sorenwithout --purge, you're only removing.00:42
PyroSamaAh.00:43
PyroSamaThis is new to me.00:43
nxvl--purge is a really nice option, it has help me with so MANY error i have made00:43
mathiazPyroSama: removing doesn't delete configuration files (/etc/apache2), purge will do it.00:43
* nxvl loves --purge00:43
sorenYou see, when you remove a configuration file, that removal is remembered (since that counts as configuration, too).00:43
PyroSamaWhere are my mysql databases stored?00:43
soren... so when you upgrade, the file will not be reinstalled. This is by design.00:43
PyroSamaAh so --purge is designed to clean the slate.00:44
soren...so to get the file back, you need to purge the package (forcing dpkg to forget all about the package's configuration files) and reinstall it.00:44
PyroSamaWhere with out it it's designed to upgrade / remove / install the binaries and not the related configuration files00:44
nxvlmathiaz: i should rename it (al least on changlog) to apache2_2.2.6-2ubuntu1, didn't i?00:45
soren       purge  The package is selected to be purged (i.e. we want to remove everything, even configuration files).00:45
PyroSamaOk so before I do that I need to find mysql databases00:45
sorenPyroSama: /var/lib/mysql00:45
mathiaznxvl: yes.00:45
nxvlPyroSama: why don't you just purge apache2?00:45
nxvlPyroSama: and let mysql alone00:45
nxvls/let/leve/00:46
nxvls/leve/leave/00:46
mathiaznxvl: if you're changing something to the debian package, you need add ubuntu* to the revision number.00:46
nxvl:P00:46
nxvlmathiaz: yes, i has read that before, just ensuring :D00:46
mikefooMailScanner question, I have spamassassin, setup without mailscanner, if I setup mailscanner, and I tell it to use spamassassin, are messages being run thru spamassassin twice?00:46
PyroSamanxvl I am having other issues with my server setup aswell so if I can wipe the entire thing I might aswell.00:47
JaacHi chaps, anyone got experience with "tasksel" ?00:47
JaacThe DNS server install hangs at bind9-doc, using Gutsy 7.1000:47
PyroSamaThanks for the help. I'm going to see if I can take it from here.00:48
JaacIs there a log i can read, to see where the error is?00:49
nxvlmathiaz: i only need to edit debian/apache2.conf, didn't i?00:49
mathiaznxvl: Probably. I don't know exactly what you have to do to fix the bug.00:50
nxvlmathiaz: heh, i'm trying to change the default apache2.conf00:50
nxvlmathiaz: so the cuestion is, the default one is debian/apache2.conf?00:51
mathiaznxvl: yes.00:51
mathiaznxvl: debian/apache2.conf will be copied to /etc/apache2/ during the postinstallation phase00:51
mathiaznxvl: you can check that by looking at debian/apache2-common.postinst00:52
PyroSamaAnd behold magicly mod_rewrite works...00:52
PyroSamaThanks every one I'm now a happy man :D00:52
nxvlmathiaz: i was looking for the postinst, thnx00:53
nxvlmathiaz: i send the debdiff, can you check it please01:01
mathiaznxvl: could you add the LP bug number you've fixed ?01:05
mathiaznxvl: LP: #130836 in the changelog01:05
mathiaznxvl: I also think that the icons should be packaged.01:06
nxvlmathiaz: fixing, i always forget01:06
* ajmitch wonders what useful servery things he can do for hardy01:08
* mathiaz thinks that fedora directory server may need some packaging love01:09
ajmitchpeople still want that?01:09
mathiazI don't know actually - it was a just an idea.01:10
nxvlmathiaz: the icons aren't packaged?01:10
mathiaznxvl: I don't think so.01:10
ajmitchwhich icons are they?01:11
mathiazajmitch: http://www.catnip.co.uk/opendocument/icons/#apache01:11
ajmitchah, extra mimetypes01:11
mathiazajmitch: yes - bug 13083601:12
ubotuLaunchpad bug 130836 in apache2 "Specify OpenDocument icon(s) in Apache2 configuration" [Wishlist,Triaged] https://launchpad.net/bugs/13083601:12
nxvlmathiaz: they should be on docs/icons?01:14
mathiaznxvl: hum... well. That were upstream puts the icons.01:18
mathiaznxvl: however, you'll probably have to add them using patches in debian/.01:18
nxvlmathiaz: but the patch must add them to /docs/icons01:20
mathiaznxvl: yes01:21
nxvlmathiaz: but sould i use a patch or a line on postinst?01:23
mathiaznxvl: I wouln't use a patch actually.01:23
mathiaznxvl: the postinst won't work either.01:24
mathiaznxvl: try to modify the rules file to install the icons during the package build01:24
mathiaznxvl: and add a subdirectory icons/ in debian/ where you'd put the extra icons files.01:24
nxvlmathiaz: under "install: build" ??01:26
ajmitchthey'd probably need to be uuencoded01:27
ajmitchdue to the limitations of the packaging format, where they have to be representable in a diff01:27
mathiaznxvl: yes.01:28
mathiazajmitch: yes - I thought about that too.01:28
mathiazajmitch: but I've never patched a package to add binray files.01:28
ajmitchit's common enough01:29
ajmitchjust look for any package that build-depends on sharutils01:29
mathiazajmitch: do you know of a package that does such a thing ?01:29
nxvlmathiaz: anywhere in there of before/after something?01:30
ScottKajmitch: You could stand behind soren and kick him until ebox is packaged.01:30
ajmitchmathiaz: about 50 or more01:30
mikefooMailScanner question, I have spamassassin, setup without mailscanner, if I setup mailscanner, and I tell it to use spamassassin, are messages being run thru spamassassin twice?01:31
ajmitchsuch as squid01:31
ajmitchI think01:31
* ajmitch looks for others that b-d on sharutils01:31
nxvlajmitch: so, you are saying i need to use sharutils instead of editing debian/rules?01:32
ScottKmikefoo: Didn't see you here too.  Just don't use mailscanner with Postfix.01:32
mathiaznxvl: probably after dh_install01:32
ajmitchnxvl: I'm saying that sharutils contains uuencode/uudecode, which you use from debian/rules to mangle the icons01:32
mathiaznxvl: that's when stuff gets copied from debian/ to the build directory.01:32
nxvlajmitch: oh! ok01:33
ajmitchaha, openssh does use it01:34
ajmitch        uudecode -o debian/ssh-askpass-gnome/usr/share/pixmaps/ssh-askpass-gnome.png debian/ssh-askpass-gnome.png.uue01:34
ajmitchin the install: rule01:34
mathiazajmitch: yop. I've seen that.01:35
mathiazajmitch: so now the question is how to create the .uue file ?01:36
mathiazI guess with uuencode on the original .png file01:36
ajmitchyes01:37
nxvlok01:40
nxvli put the changes on rules01:41
nxvlnow, what was that uuencode stuff?01:41
mathiaznxvl: you cannot include a binary file into a debian diff.01:42
mathiaznxvl: so you need to uuencode it, and uudecode it when building the package.01:42
mathiaznxvl: have a look at the openssh package. It adds an icon for openssh-askpass-gnome.01:43
ScottKlamont: Would it be wrong to make postfix conflict with mailscanner?01:47
Jaacping 192.168.1.101:48
Jaacoops01:48
Burgundavia64 bytes from 192.168.1.1: icmp_seq=2 ttl=64 time=7.000ms01:49
kgoetz)01:49
kgoetz:)01:49
nxvlheh01:51
nxvlmathiaz: client or server?01:53
nxvlsame thing, downloading01:55
nxvlok02:00
nxvlbut, how do i enconde the png files?02:00
nxvlby hand?02:00
ajmitchyep02:01
ajmitchit's an ugly hack, really02:02
nxvlajmitch: i have more the one png file02:02
nxvli need to add a decode instruction for each one?02:02
nxvls/i/do i/02:02
mathiaznxvl: yes.02:03
mathiaznxvl: you may use a loop though.02:03
nxvlmathiaz: bash loop?02:03
mathiaznxvl: you'll also have to check the license of the icons you're adding.02:03
mathiaznxvl: yes. In the rules, so that you don't need to add the same line for each icon file.02:04
nxvlmathiaz: http://creativecommons.org/licenses/by-sa/2.5/02:05
nxvlmathiaz: whis one, that means i need to add it to COPYRIGHT, didn't it?02:05
nxvls/whis/this02:05
mathiaznxvl: you're correct.02:06
nxvlok02:06
nxvldo i need to enconde on base64 or default one?02:08
lamontScottK: does mailscanner provide: mail-transport-agent02:08
lamont?02:08
* lamont needs to run off for an hour or so. bbl02:08
mathiaznxvl: good question. Try the default encoding.02:12
mathiaznxvl: I guess that the source package won't build if it's not what should be done.02:12
ajmitchdoesn't matter what is used, as long as diff likes it02:15
ScottKlamont: No, but it engenders some pretty strong reactions on postfix-users because it uses internal interfaces to interact with postfix (manipulates mail queues directly) and so is inherently unrelaible.02:16
ScottKunreliable even.02:17
nxvlmathiaz: done, patch send02:31
penguimnight all02:31
nxvlmathiaz: forget it, i haven't add the license02:32
mathiaznxvl: the changelog doesn't have the correct LP syntax.02:35
mathiaznxvl: the bug number should be preceeded with LP:02:35
mathiaznxvl: ie: (Closes: LP: #130836)02:36
nxvlmathiaz: ok, i will change that02:37
nxvlmathiaz: i'm looking at the page where i downloaded the icons, and it says nothing about license02:38
nxvlmathiaz: it mencion license about OTHER icons02:38
nxvlmathiaz: not those i download02:38
mathiaznxvl: there isn't any LICENSE file in the tar archive ?02:39
nxvlnop02:40
ajmitchthat makes it annoying02:41
mathiazhum... according to this web page: http://opendocumentfellowship.com/icon/examples02:42
mathiaza set of icons has been donated to the ASF02:42
mathiaz"This icon set has been donated to the Apache Foundation under the terms of their CLA."02:42
nxvlmathiaz: but not THESE set of icons02:43
mathiaznxvl: what about these icons: http://opendocumentfellowship.com/icon/examples ?02:44
mathiaznxvl: I think it's the same author.02:44
mathiaznxvl: it seems that all the icons are provided under the following license:02:45
mathiazLicense02:45
mathiazPermission to use and/or modify these images is granted for the identification and promotion of the OpenDocument Format (ISO 26300 and any later version published by OASIS or ISO) provided you acknowledge me, Pete Harlow, if someone asks02:45
mathiazThese icons are trademarks of Pete Harlow.02:45
nxvlmathiaz: ok, let use those02:45
nxvlmathiaz: nop, those are the ones i downloaded02:46
mathiaznxvl: you may want to confirm with the author that everything is ok.02:46
nxvlmathiaz: right click -> properties02:46
nxvllicense says it is02:47
mathiaznxvl: The author is subscribed to the bug so he should receive the notification.02:47
mathiaznxvl: It may also be worth making sure that this set of icons is the one that has been donated to the ASF.02:48
nxvlmathiaz: the icons from the web you just send are the ones in the first one02:51
nxvlmathiaz: so i think is that license02:52
nxvlsending new debdiff02:53
mathiaznxvl: that's what I tought.02:53
mathiazDid you test the build ?02:53
nxvli did "dpkg-buildpackage -S -rfakeroot" if that's what your asking02:55
mathiaznxvl: hum... Could you also test the binary build ?02:55
nxvlok02:56
mathiaznxvl: -S will only build a source.02:56
mathiaznxvl: a binary build will also make sure that the changes to the rules files works correctly.02:56
mathiaznxvl: check that the added icons are shipped in the package.02:56
nxvlmmm i didn't have hardy pbuilder enviroment02:57
nxvli will check02:57
nxvlmathiaz: can i build it on gutsy?02:58
mathiaznxvl: that should be ok for now.02:59
mathiaznxvl: unless you wanna setup a pbuilder for hardy (you'll have to do it as some point ;) ).02:59
nxvli will do it now anyway02:59
nxvlis the debbootstrat already with hardy scripts?03:00
mathiaznxvl: I did it today - I've just rebuilt hardy debootstrap for gutsy03:00
mathiaznxvl: yes. but the one in hardy.03:00
nxvllast time i downloaded it doesn't work03:00
mathiaznxvl: I haven't seen anything in gutsy-backports.03:00
nxvl:D03:00
nxvlmmm03:00
nxvli think i forget the dependency for uue03:00
nxvl:(03:00
mathiaznxvl: if you don't wanna go through rebuild hardy debootstrap for gutsy, you can just symlink the hardy script to gutsy03:01
mathiaznxvl: $ ls -l /usr/lib/debootstrap/scripts/03:01
mathiaznxvl: lrwxrwxrwx 1 root root    5 2007-10-24 15:54 hardy -> gutsy03:01
nxvldoes it will work fine forever?03:02
mathiaznxvl: but I think there has been other bug fixes in debootstrap - you should check the changelog.03:02
mathiaznxvl: IWFM now.03:02
mathiaznxvl: but we discover new bugs now that hardy is opened.03:03
mathiaznxvl: we might discover03:03
mathiaznxvl: I just needed to setup my pbuilders for hardy.03:03
nxvli need to go out for now, i will continue with this later03:09
nxvlmathiaz: thnx for the help03:10
mathiaznxvl: you're welcome :)03:10
geniisoren: Hello, you here?03:22
mathiazgenii: I don't think so.03:24
geniiPerhaps someone may know... I hear he is working on ebox. Is anyone working on or know about the debian and debian-edu status of cipux?03:24
kgoetzno, what is it?03:25
ScottKgenii: He's on European time, so he's almost certainly sleeping right now.03:26
geniianother we gui admin tool, wthey are adopting it as the webmin replacement03:27
genii*web, *they03:27
kgoetzoh03:27
* kgoetz stops being interested03:27
geniiScottK: OK, thanks once more03:27
geniiScottK: Is ebox on launchpad?03:28
ScottKNOt yet.03:28
geniiOK03:28
ScottKHe might be interested in assistance/testing though.03:29
geniiCool. i have a couple of home servers on static IP03:29
geniifalcon etc is installed03:30
geniiLOL Damn whois on soren doesn't give me a clue what timezone03:31
geniiFor logging purposes: http://wiki.debian.org/DebianEdu/CipUX03:35
ScottKgenii: He lives in .dk03:36
geniiAh so about GMT +1 or +203:37
geniiThanks03:37
geniiScottK: You're a fount of information :)03:37
lamontScottK: evil.03:50
lamontthere's a part of me that would support conflicting with it03:51
stiv2khi how come when trying to stream a movie over samba it keeps breaking up04:13
mathiazstiv2k: which version of samba are you using %04:22
mathiazstiv2k: ?04:22
fujinAnyone running some sort of centralised authentication04:27
geniiDoes radius count?04:28
fujinI mean for PAM04:30
fujinI'm running LDAP with slapd, but I'm not entirely happy with it.04:30
fujinespecially the client-side caching04:30
stiv2kmathiaz: just upgraded to gutsy04:33
stiv2kumm04:33
kgoetzfujin: hi04:33
stiv2kmathiaz: 3.0.26a-1ubuntu204:34
fujinHello.04:34
kgoetzfujin: i'm using ldap ,but only internal to one machines services04:34
fujinI see.04:34
fujinI'm thinking of rolling it to 50~ boxes, and this is the decision making time04:34
fujinwether to statically push out an /etc/passwd / /etc/shadow blabla.04:34
fujinor to use ldap.04:34
mathiazstiv2k: on both the client and the server ?04:34
stiv2kclient?04:35
stiv2kno the client is windows XP04:35
kgoetzfujin: not tried that myself. do you have time to try ldap and not use it if it breaks?04:35
kgoetzfor 50 systems its worth putting in the effort to try and centralise that stuff imo04:36
sommerfujin: I concur with kgoetz... you can also authenticate webapps and other services to ldap.04:36
* kgoetz is in the process of tryinng that :)04:37
stiv2kmathiaz: ?04:41
mathiazstiv2k: I don't really know. There was a bug about streaming from a samba server, but it was to a linux client.04:43
fujinkgoetz: well, my /etc/passwd would be centralised04:49
fujinbut storage of the passwords would not be obviously04:49
fujinunless I replaced the passwd file everytime (I use puppet for centralised management04:49
stiv2khmm04:51
kgoetzfujin: thats a type of centralisation i guess04:52
* kgoetz has used cfengine fro a similr task in the pst04:52
fujinAye.04:52
fujinI'll stick to LDAP. Just need to make sure it's going to work. I've got Puppet pushing out all the necessary stuff but am hitting issues changing from sudo to sudo-ldap04:52
fujinalthough I think I've got aroudn that by rolling my own sudo package and telling puppet to update the boxes to the latest version of sudo04:52
fujin(without the broken stuff)04:52
kgoetzi've seen lots of stuff about ldap in LP, but i didnt look closely because it doesnt affect me :)04:54
fujinThe only major problem I can foresee is that even with nscd/nss_updatedb, the passwords are never cached04:55
fujinwhich I guess is good04:55
fujinbut of course reduces functionality without connectivity04:55
fujinand I haven't got around to making a master-2slave LDAP cluster yet.04:55
kgoetzdepends if you plan for clients to go awol i suppose04:56
kgoetzbrb04:56
osmosisIs there a way to list the files that would be installed before installing a package ?05:24
kgoetzif you have apt-files you might, or look at packages.ubuntu.com, i think it has package lists05:25
geniiosmosis: maybe sudo apt-get install --simulate <package>05:40
Burgundaviasoren: nice try on the debian mail07:25
Burgundavialook there is a topic ... hey shiny other thing ..,.07:25
sorenBurgundavia: *G* Yeah, it's amazing how little interest they seem to have in something that's really a change to Debian Policy.08:08
Burgundaviasoren: the other one that baffled me was the "we should use .desktop because the world has already gone there"08:09
Burgundaviathere is a reason Ubuntu exists08:10
Burgundaviathis is it08:10
soren.desktop? Er... I think I missed that one?08:12
kgoetzmmm. shiny thing08:13
Burgundaviasoren: .desktop files are how apps show up in the menu08:15
Burgundaviathey are a freedesktop.org spec and used in KDE, GNOME, Xfce and some other wms08:16
sorenSure, sure.08:19
sorenI meant that I missed the comment about using .desktop "because the world has aready gone there"?08:19
Burgundaviasorry, tired08:24
Burgundaviathat was not what I was thinking i was writing and yet it made sense08:25
BurgundaviaI am good08:25
Burgundaviaanyway, I was saying that debian basically rejected .desktop files because about 1% of the wms used by debian users don't support it and likely because of a strong case of NIH08:25
sorenNational Institute of Health?08:26
* soren is also tired :)08:27
kgoetzthey didnt rejet them, theh just want to make sure.menu files stay around08:27
Burgundavianot invented here08:28
sorenOh :)08:28
Burgundaviakgoetz: that is crazy08:28
Burgundaviathey should have made .desktops standard and one generate the other08:28
kgoetzme shrug. i'm tired. i'm goign home ;). later all08:30
sorenBurgundavia: I think I'll draft an actual patch to Debian Policy and send it. That might get things started.08:34
Burgundaviasoren: for the .desktop or your issue08:34
Burgundavia?08:34
sorenMy issue.08:35
nxvli'm having problems with apache08:57
nxvlpatching LP bug08:57
nxvl#13083608:57
nxvldoes any one can help me?08:57
=== varek_ is now known as varek
=== Drazha[away] is now known as Drazha
=== Drazha is now known as Drazha[away]
=== Drazha[away] is now known as Drazha
=== crummygummy_ is now known as CrummyGummy
ScottKre: "<lamont> there's a part of me that would support conflicting with it" - The question is, is that part of you the Postfix maintainer?12:49
=== BettiePage is now known as atouk
halcyonCorsairhello14:06
halcyonCorsairanyone know anything about configuring mrtg or cacti?14:06
_rubenused mrtg ages ago, currently using cacti, but #cacti might be a better place14:07
lamontScottK: it's a rather abrasive move... I'd want to discuss it with the debian maintainer of mailscanner (or whatever package it was...)14:13
lamontwhat we need is Discourages: and Strongly-Discourages: :-)14:14
ScottKlamont: I agree.  It shouldn't be done unilaterally, but I do it's not unreasonable to have the packaging system avoid insanity.14:14
halcyonCorsairwell does anyone here know about installing cacti then?14:15
* ScottK is pondering adding a mailscanner factoid like the webmin one to do the strongly discouraging bit here anyway.14:15
lamontScottK: after reading the description, it looks like postfix isn't on it's supported list, which makes me feel less bad about conflicting... :-)14:15
lamontanyway, I'll ponder it14:16
ScottKOK.14:16
sorenhalcyonCorsair: I know about mrtg.14:19
halcyonCorsairhow hard is it to get going on ubuntu server 7.04?14:20
sorenhalcyonCorsair: ...but rumour has it that cricket is teh stuff these days.14:21
sorenhalcyonCorsair: Not very.14:21
halcyonCorsaircricket?14:21
sorenhalcyonCorsair: Take a look at the cfgmaker man page, and you should be very close to have a working configuration.14:21
lamontsoren: it'll be quite sometime before the crusty cricket release.14:21
halcyonCorsairsoren: how hard is not very?14:22
sorenhalcyonCorsair: How long is a piece of string?14:22
sorenhalcyonCorsair: It's kind of hard to say, isn't it? I find it rather easy. Untrained hamsters might find it slightly more difficult.14:23
sorenYou might find yourself in between those two somewhere.14:23
sorenAre you good with snmp?14:23
sorenIf so you might find it really easy.14:24
halcyonCorsairi've heard of it.... <--- nice cagey answer14:24
sorenOk, if you can give me a unit of measure, I'll attempt to tell you exactly how difficult it is.14:24
lamonthalcyonCorsair: it stands for "Security Not My Problem."14:24
mralphabetlamont: lies! ;)14:26
lamontmralphabet: read the spec14:26
mralphabetheh14:26
lamontand name me _one_ other widely deployed protocol that still has no means of authentication other than clear text passwords.14:27
lamontoh wait.  those aren't passwords.  those are "community strings"14:27
mralphabethey, community strings are secure . . .14:27
mralphabetas long as you don't write them down14:28
lamontor use them on a sniffable network14:28
halcyonCorsairsoren: so, a guide or something of some sort?14:28
mralphabetthat too14:28
sorenWell, at least it's not like there's some standard strings that everyone uses.14:28
=== infinity3 is now known as infinity
sorenOh, wait..14:28
mralphabetheh14:28
Kamping_Kaiserlol14:29
lamontand no vendor would ever hardcode a write-capable community14:29
sorenhalcyonCorsair: Seriously.. Take a look at cfgmaker (included in mrtg).14:30
sorenhalcyonCorsair: It's quite easy, if you already have snmp up and running.14:31
sorenI got to go. I have to pack for Boston.14:31
* halcyonCorsair wonders what he needs to get snmp up and running14:32
* lamont packs for boston on saturday14:33
Kamping_Kaiserhow long until ... oh. saturday14:38
sommerhalcyonCorsair: first step is to install the snmp package.14:38
halcyonCorsairdone14:39
sommerhalcyonCorsair: then on to installing mrtg.14:40
halcyonCorsairlook, the whole apt-get install bit isn't the issue, its the config14:40
sommerhalcyonCorsair: what is your plan for mrtg?  bandwidth monitoring? service monitoring?14:42
MikeDXis there a list of things somewhere that 606 installs by default - and if not, is iptables installed by default in 606 LTS?14:44
halcyonCorsairsommer: bandwidth monitoring14:45
Kamping_KaiserMikeDX, iptables is part of the kernel14:45
Kamping_Kaiser(read : yes)14:45
MikeDX:|14:45
sommerhalcyonCorsair: sweet, than like soren mentioned cfgmaker is your friend14:45
sommerhalcyonCorsair: to use it do cfgmaker communitystring@device > device.cfg14:46
MikeDXok, next question, where is the file for me to edit to allow samba shares across my vpn?14:46
Kamping_Kaiser*shrug* samba==not my problem :)14:46
MikeDXok then, where is the config file for me to edit to allow the ports that I want opened up14:47
sommerhalcyonCorsair: here's a guide that may help: http://www.cyberciti.biz/nixcraft/linux/docs/uniqlinuxfeatures/mrtg/14:47
halcyonCorsairthanks14:47
halcyonCorsairsommer: communitystring?14:48
sommerit's what snmp uses as a password to gather info from devices.14:48
sommerhalcyonCorsair: most devices set it to the work "public" by default, which is why snmp is considered not very secure... and stuff14:49
sommers/work/word/14:49
MikeDXhow can i change the order in which services in init.d start up?15:08
MikeDXI guess I change SNN to SAA in /etc/rc2.d15:15
* MikeDX tries it15:15
halcyonCorsairanyone know how to get snmp going?15:30
sommerhalcyonCorsair: do you have a specific question?15:30
sommerif you've installed the snmp package you're ready to use it.15:31
halcyonCorsairsommer: i'm trying to get cacti working, and its saying "snmp: not in use"15:31
sommerhalcyonCorsair: have you configured the device you're trying to monitor for snmp?15:32
halcyonCorsairsommer: what do i have to do for that?15:33
sommerhalcyonCorsair: depends on the device... what is the device?15:33
sommercisco switch, printer, server?15:33
halcyonCorsairas in my nics?15:33
sommerhalcyonCorsair: are you trying to monitor bandwidth on a server?15:34
halcyonCorsairyes15:36
halcyonCorsairalso could my firewall be causing issues?15:37
sommerhalcyonCorsair: are you trying to monitor a server on the same lan? if so you should be good to go, or are you talking about the server's firwall?15:39
avatar_sommer: /etc/default/snmpd15:39
avatar_halcyonCorsair: /etc/default/snmpd15:39
avatar_halcyonCorsair: by default snmpd is only listening on 127.0.0.115:40
halcyonCorsairno, i have an ubuntu gateway/firewall/whatever that i want to run cacti on15:40
sommeravatar_: good call, you should check that file halcyonCorsair.15:41
halcyonCorsairok, what am i checking for?15:41
sommerhalcyonCorsair: the ip address snmpd is listening on.15:43
sommercheck the SNMPDOPTS line15:44
halcyonCorsairSNMPDOPTS='-Lsd -Lf /dev/null -u snmp -I -smux -p /var/run/snmpd.pid 127.0.0.1'15:44
sommeryou'll want to change 127.0.0.1 to your ip address15:45
halcyonCorsairwhy?15:48
sommerso you can connect to it using SNMP15:48
halcyonCorsairaha...15:49
halcyonCorsairturns out.... that /etc/init.d/snmp restart, doesn't actually restart snmp15:49
sommerhalcyonCorsair: did you do /etc/init.d/snmpd ?15:51
halcyonCorsairyes15:53
halcyonCorsairthat was a type15:53
halcyonCorsair*typo15:53
halcyonCorsairstop stops, start starts, and i don't know what the hell restart does15:54
Fenix|workI have a question with ubuntu-server VMWare and framebuffer15:54
Fenix|workhow can I get out of 80x25 mode using vga= on the kernel line, but also be able to see the console in my VM...15:54
Fenix|workright now when I change menu.lst and add vga=791, I get Starting up... some crap on the console, but then can't see anything I'm typing15:55
sommerFenix|work: you could try 1024x768 vga=77316:01
Fenix|workI didn't try 773 yet ...16:01
Fenix|workI was wondering if it was related to the fact that vmware-tools didn't start16:02
Fenix|workI manually started it fine, so I suppose it's in the wrong RC level16:02
=== dantalizing is now known as dantalizing_away
mralphabetFenix|work: there is a bug with gutsy and framebuffer I think16:03
mralphabetI saw a bug report about it the other day16:04
Fenix|workoh poo16:04
Fenix|workI also see vmware-tools starts in rc5.d16:04
halcyonCorsairtim eto sleep16:04
Fenix|workoh, starts in rc2 as well16:05
MikeDXFenix are you anything to do with the fenix language?16:05
Fenix|worknope...16:06
Fenix|workoh and 773 gives me a nice black screen16:06
Fenix|worknot even any graphical goop16:06
mralphabetBug #12991016:07
ubotuLaunchpad bug 129910 in linux-source-2.6.22 "tty[1-6] are active but display nothing in Gutsy" [Undecided,New] https://launchpad.net/bugs/12991016:07
Fenix|workmralphabet, thanks16:11
Fenix|workwill fix initramfs16:11
Fenix|workwow, all framebuffers are in the blacklist16:13
MikeDXi think every version of ubuntu blacklists all the framebuffers#16:15
MikeDXls16:20
=== varek_ is now known as varek
=== Drazha is now known as Drazha[away]
Fenix|workquick question17:54
Fenix|workhow do I update ubuntu-server from the cl?17:54
Fenix|workok, I see... apt-get update then apt-get upgrade17:56
mralphabetapt-get update && apt-get upgrade17:56
mralphabetthe 'upgrade' only happens if 'update' completed with no errors17:56
Fenix|workI have to apologize... I come from an 'emerge' environment17:56
Fenix|work:)17:57
mralphabetack! emerge! heathen!17:57
mralphabetoh nos!17:57
* Fenix|work born again17:57
mralphabetheh17:57
Fenix|workotherwise I wouldn't be here :)17:57
* mralphabet shrugs17:57
Fenix|workI use both ... but I'm tired to compiling17:57
mralphabetmost are glad to help17:57
Fenix|worktired *of* compiling17:57
Fenix|workhow does one enable mouse in console here?17:58
Fenix|workapt-get install gpm should suffice no?17:58
Fenix|workhope vmware will let me out of console mode with gpm installed17:59
mralphabetI believe17:59
Fenix|workwithout having to ctrl-alt17:59
mralphabetworkstation? or server17:59
Fenix|workworkstation17:59
mralphabetI user server and just use the web interface18:00
Fenix|workI'm setting up a basic ubuntu GG server to ace clone18:00
mralphabetto access the desktop I use vnc or remote desktop18:00
linuxpoetwhat is the name of the postgresql package that is complied --with-debug?19:26
JaacI have a problem upgrading postfix, and need to know what packages are installed, is there a way i can see what packages are installed through apt-get? Or maybe another cmd?23:19
lamontJaac: dpkg -l23:20
JaacCheers lamont23:22
JaacAnother problem :o Ive shutdown postfix through init.d, same for saslauthd, but still cant write to /etc/postfix/sasl/smtpd.conf while using sudo.23:42
JaacIs there a way i can see what program is using it at the moment?23:43
sorenJaac: Can't write to it? What's the error ?23:49
* soren wonders why he's still awake23:49
* ajmitch wonders the same23:50
ajmitchsurely you'll be flying soon?23:50
Burgundaviaugh, I leave at 6am tomorrow23:50
Burgundaviameans I have to leave me house at 3am23:50
ajmitchyou're going to UDS again?23:50
sorenajmitch: Approximately 9 hours from now.23:51
Jaacsoren: -bash: /etc/postfix/sasl/smtpd.conf: Permission denied23:51
sorenajmitch: The airport is a 6 minutes drive from here, and the first leg is domestic, so I don't have to leave the house for another 8½ hours.23:51
sorenJaac: When doing what?23:51
Jaacsoren:  sudo echo 'pwcheck_method: saslauthd' >> /etc/postfix/sasl/smtpd.conf23:52
sorenJaac: Let me guess: sudo blahblahbabl > /etc/postfix/sasl/smtpd.conf ?23:52
Jaacyup23:52
sorenJaac: Right. sudo makes echo run with root privs, but the redirection is done by your shell, which is still run by you.23:52
sorenI.e. no pony for you.23:52
mikefooAnyone use squirrelmail?  foes some reason my filter for X-Spam-Status: Yes, just doesn't work.. everything goes to either my SPAM folder, or my inbox.. its wierd.23:52
sorensudo sh -c "echo 'pwcheck_method: saslauthd' >> /etc/postfix/sasl/smtpd.conf"23:53
sorenJaac: ^^ will make you happy.23:53
JaacCroocked soren, thanks heaps23:53
sorennp23:53
JaacYou got me there, totally lost ;)23:53
ajmitchor it's often just quicker to use an editor :)23:54
sorenajmitch: You're always so fancy. :p23:54
ajmitchwell if you want complex, you can go for ed23:54
* soren misses ed23:55
sorenIt's so much more fun and adventurous.23:55
sorenAw, craptastic.23:57
sorenMy scanner is returning all black pages.23:58
sorenIt worked fine two months ago... Either gutsy broke it, or the scanner finally gave up.23:59

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