/srv/irclogs.ubuntu.com/2009/05/22/#ubuntu-server.txt

billybigriggerhow can i backup my mysql db's without a root mysql user?00:05
giovanibillybigrigger: backing up your mysql db doesn't require a root user00:26
Lord_DeviWhat might cause apache2 to not be able to "reliably determine the server's FQDN"? My FQDN is resolving/working fine. hostname -f shows the correct resolving ubuntu01.example.lan..00:36
Lord_DeviI don't understand why apache couldn't find it if hostname -f can. I would prefer to avoid adding the ServerName directive to my apache2.conf..00:36
giovaniunless the .len tld is resolvable ... that's not a FQDN00:39
giovanihowever, you might want to set servername in the apache config00:40
giovanis/len/lan/00:40
Lord_Devithe .lan is resolvable though. I use it for everything..00:40
giovaniok, so set servername00:40
Lord_DeviThere is a working bind9 server up, configured to serve example.lan/192.168.156.0/2400:41
Lord_DeviYeah that worked fine, but I shouldn't have to..00:41
giovaniI don't know why you think you shouldn't have to00:41
Lord_DeviWell it's a symtom of something else being broken I think. I've never had to do that before with 8.0400:42
giovaniit's possible that apache is sanity checking the hostname against internet tlds to determine if it's a FQDN00:42
Lord_Devihrmm.. maybe. That's still new behaviour00:42
Lord_DeviOh well I guess I can just deal with having ANOTHER file I have to edit to set up servers..00:43
giovaninew doesn't necessarily mean a bug00:43
Lord_DeviJust already have like 30+ configs I need to localize for these installs, Iike to keep that down as much as I can00:43
Lord_DeviOh well thanks for the input giovani, it's appreciated.00:43
Lord_DeviDo you know if there would be any problems with setting ServerName to localhost?00:44
Lord_Devi..rather than the FQDN00:44
giovanilocalhost should be fine00:45
Lord_DeviWell one way to find out.. Thanx00:45
Lord_DeviAh very nice, seems to work like a charm.00:53
bin10101hey guys01:07
bin10101I am running ubuntu server in a Virtualbox VM for development....I created a small VM with LAMP01:08
bin10101i have two ethernet connections for ubuntu server 9.04 in a VirtualBox VM.  Even if I set both connections to NAT, one is defined as eth0 and the other as vibr0.  I can't seem to get vibr0 to work in any configuration.  Is this a limitation of ubuntu server?  It seems to give eth0 to the main ethernet and vibr to all others.01:09
bin10101I expected to see eth0 and eth101:09
bin10101I also tried to setup the vibr0 in the /etc/network/interfaces as auto vibr0 iface vibr0 inet dhcp and that failed to work as well....anyone else see this behavior?01:11
bin10101is there a way to make vibr0 become eth1?01:12
bin10101sorry...been typing it wrong in chat....make that virbr001:16
bin10101i checked it was right in the /etc/network/interfaces01:18
bin10101looks like if eth0 is turned off that virbr0 will not work :(01:19
giovanivirbr is probably "VIRtual BRidge"01:26
bin10101i am trying a reinstall with the emulated nics being different01:27
bin10101see if I can get it to see both eth0 and eth101:31
bin10101that is so bizarre01:38
giovanithis sounds like a virtualbox problem01:39
giovanitry asking them01:39
bin10101why would does the install ask for the main nic01:39
giovanihuh?01:39
giovaniit wants to know which nic to use ... obviously01:39
giovanifor internet access01:39
bin10101it could set them both at inet dhcp and you would still get to the same internet01:40
giovanibut there's no advantage to that01:40
bin10101well I guess one of them would fail01:40
giovanithat complicates things for no gain during an install01:40
bin10101but both Nics have different MAC addresses....wonder why its deciding to have one eth0 and the virtual bridge?01:41
bin10101http://www.riccardoriva.com/archives/693 I see here that you can have multiple nics...wonder why this isn't working01:41
giovaniof course you can have multiple nics01:42
bin10101does ubuntu-server uses just the MAC address to determine uniqueness in the nic, right?01:44
giovaniuh01:44
giovaniI don't know what you mean by "determine the uniqueness of the nic"01:44
giovaninics are hardware devices, the computer doesn't need to use a MAC to know that there's two01:44
bin10101well the actuall machine I am using only has one nic01:44
bin10101okay01:44
giovaniI've recommended that you talk to the virtualbox folks a number of times01:45
bin10101both are emulated nics01:45
giovaniwhy don't you do that?01:45
bin10101k.01:45
billybigriggeris anyone aware of a way to get my phpmyadmin/mysql back to stock?02:00
billybigriggerie, clear all db's, users, and start fresh?02:00
billybigriggeri've tried apt-get purge mysql-server and phpmyadmin02:01
billybigriggerthen apt-get install mysql-server and phpmyadmin, but my db's are all still there with the same users02:01
ajmitchbillybigrigger: there's a debconf setting for mysql-server-5.0 that controls whether databases are wiped on a purge02:06
ajmitchthe easy way to change that may be to dpkg-reconfigure mysql-server-5.0, and see if it asks that question about it02:07
billybigriggerjust asked me for a password with dpkg-reconfigure02:09
billybigriggerok new question02:18
billybigriggerall my mysql locale settings are ending with _ci02:18
billybigriggerand its displaying some wierd stuff for characters02:18
billybigriggererr for collation02:19
billybigriggerwhat should i be using?02:19
stickystyleci means 'case insensitive'02:21
stickystyleThe weird stuff may be a an issue of some UTF-8 chars in a latin1 encoded field.02:22
stickystylevery common.02:23
billybigriggerso _ci is fine to use02:24
stickystyleyes02:24
billybigriggerroger, thanks02:24
stickystylenp02:24
billybigriggeralso...02:26
billybigriggerim trying to install roundcube...its a webmail frontend...anywho....02:27
billybigriggerits root dir is /var/www/webmail, and it needs to be able to write to /var/www/webmail/temp and /logs02:28
billybigriggerwhat would be the best way about giving the correct perms...chown'ing it to the webserver or chmod'ing it so that anyone can write to it?02:29
stickystylechown or chgrp to the www-data user or group02:29
billybigriggerthanks again :P02:30
billybigriggeranyone here use roundcube?02:34
twb!anyone02:35
ubottuA large amount of the first questions asked in this channel start with "Does anyone/anybody..."  Why not ask your next question (the real one) and find out?02:35
twbOh, sorry.02:35
ZnuffHi there.02:36
ZnuffI'm not really sure how SELinux works, but isn't this SELinux related? [2603183.964203] audit(1242955897.392:147): type=1503 operation="inode_permission" requested_mask="rw::" denied_mask="rw::" name="/home/mysql/ibdata1" pid=20006 profile="/usr/sbin/mysqld" namespace="default"02:36
twbZnuff: selinux is off by default on Ubuntu.02:38
Znuffthat's what I knew02:39
Znuffand I'm pretty sure I haven't enabled it :-/02:39
Znufftwb, why would I be getting audit messages in my dmesg if I don't have selinux enabled?02:40
twbPresumably, they are from some other subsystem.02:45
twbFor example, apparmour seems to be installed by default...02:45
Znuffyup, so it was02:45
Znuff^^02:45
uvirtbotZnuff: Error: "^" is not a valid command.02:46
Znuffow02:46
Znuff^version02:46
uvirtbotZnuff: The current (running) version of this Supybot is 0.83.3.  The newest version available online is 0.83.4.02:46
cefyup.. apparmor generates audit entries in your logs02:46
Znuffholy s*02:46
Znuffupdate to supybot o.O02:46
Znuffthanks twb & cef02:49
billybigriggerwho's familiar with apache's virtual hosts?03:06
billybigriggerim trying to setup a subdomain for /var/www/webmail03:06
billybigriggeri want to set it up as webmail.mydomain.com03:07
billybigriggernot www.mydomain.com/webmail03:07
billybigriggernow the apache doc's aren't clear as where to put this virtual host file or what to name it03:07
billybigriggeranyone?03:07
cefbillybigrigger: 'man a2ensite'03:30
cefbillybigrigger: gives you the help for the wrappers used by apache2ctl that help manage sites. very useful.03:32
billybigriggercef04:08
billybigriggera2ensite webmail.mydomain.com04:08
billybigrigger?04:08
billybigriggerhehe not much of a man page04:09
billybigriggerdoes that create the file in sites-available?04:09
billybigriggeror do i have to create the file?04:09
billybigriggerie i have nothing in sites-available, a2ensite webmail.mydomain.com will create the file, and input the correct vhost data, and then sym link it to sites-enabled?04:10
billybigriggeror is all a2ensite do is sym link an already created file?04:10
cefno, you need to create the file in sites-available04:20
cefusing a2ensite will then enable that site04:20
cef(sorry, stepped away from the keyboard.. work does that to you)04:20
billybigriggerahh04:20
billybigriggerhehe04:21
billybigriggerhmm04:21
cefI tend to copy the default file and then edit that04:21
billybigriggeri see lots of examples in apaache docs that explain multiple domains for 1 ip, or 1 domain for multiple IP's04:21
billybigriggeri just want to add a bloody subdomain04:21
cefas everything is pretty much there and you can tweak it however you like. esp if 90% of the time they're the same details04:21
billybigriggerok, ill edit the default then04:21
cefno, copy the default04:21
billybigriggeryeah, my bad04:22
billybigriggerthats what i meant :P04:22
cefthen edit it with your settings, then run 'a2en filename'04:22
billybigriggerok, 1 more question that apache docs aren't too clear on...does the name of the file have to be subdomain.domain.com or can it be ilovecheese04:22
billybigrigger?04:22
=== ssd7_ is now known as ssd7
cefthough making the filename something that'll identify what it is in it is useful. doesn't have to be the domain name04:23
cefyes, it can be 'ilovecheese' or even 'ihavenopants' if you like04:23
cefand yeah, 'a2ensite fillename' even. oops04:23
billybigriggerok04:24
billybigriggerso using the domain or subdomain is usefull for identifcation only04:24
billybigriggerthanks04:24
cefsame deal for modules too, but they're usually auto-created by packages, and you can a2enmod and a2dismod them by name.04:24
cefno probs04:24
billybigriggerok04:25
cefwhatever is in the '-available' of each (sites and mods) are available to be used, but only what is symlinked in the '-enabled' are in use.04:25
billybigriggerright04:27
billybigriggerok now this submdomain could be as simple as adding ServerName subdomain.domain.com and DocumentRoot /var/www/webmail inside of <VirtualHost></VirtualHost> tags correct?04:28
billybigriggeror it can be as elaborate as the default04:29
billybigrigger?04:29
billybigriggerdammit, after a2ensite, it still doesn't work04:31
billybigriggeror can i do this right in my httpd.conf?04:34
cefdid you reload apache?04:37
billybigriggeryes04:38
billybigriggerthe a2ensite doesnt work04:38
cefhrm weird. pastebin the contents of the file04:38
billybigriggerand adding a vhost in apache2/httpd.conf after a restart doesn't work either04:38
billybigriggerwhich file?04:38
cefthe site file04:38
billybigriggerhttp://guide.opendns.com/?url=webmail.thefrozencanuck.ca04:38
billybigriggererr04:39
billybigriggerhttp://pastebin.com/f6846476a04:39
cef<VirtualHost *:80> should be <VirtualHost webmail.thefrozencanuck.ca:80>04:40
billybigriggeroh04:40
billybigriggercan i remove directory / and directory /var/www and create one for /var/www/webmail since thats the docroot?04:41
cefyup04:41
billybigriggerwill keeping them hurt anything?04:42
billybigriggeror is this config only for webmail.04:42
billybigriggerlike the default config in sites-enabled still overrides this config correct as 000-default is loaded first?04:42
billybigriggerand do i have to do anything with my domain provider? ie godaddy where i purchased the domain...do i have to link this subdomain somewhere or is it all done through apache?04:43
billybigriggerhere's the updated file04:45
billybigriggerhttp://pastebin.com/f546dd67d04:45
billybigriggerdo i have to run a2ensite again?04:45
billybigriggerit should already be enabled, just an apache2 force-reload eh?04:45
cefjust reload04:47
cefor restart04:47
billybigriggerare vhosts handled all by apache? theres nothing i have to do in godaddy's domain manager correct?04:48
cefafaik correct04:48
billybigriggerhmmm04:48
billybigriggerwell still not working04:48
cefyou should just need to point the subdomain at that machine though04:49
cefeg: give it a CNAME or A record)04:49
billybigriggerwtf04:49
billybigriggermail.tfc.ca04:49
billybigriggerworks04:49
billybigriggerbut webmail does04:49
billybigriggeri have a CNAME for mail that points to @04:49
cefdo you have a cname for webmail?04:50
billybigriggerno04:50
billybigriggerwhy do mail.tfc.ca take me to /var/www/webmail though?04:50
cefwell, how can the dns name resolve? you need a CNAME (or A) record04:50
cefpossibly a config issue04:51
billybigriggeri changed mail to webmail04:51
billybigriggeri had a cname for mail, not webmail04:51
billybigriggerbut mail pointed to /var/www/webmail, does this make sense to you?04:51
billybigriggerhttp://mail.thefrozencanuck.ca/04:52
billybigriggerhaha, wierd04:52
cefit means you have a config that has changed the docroot to that...04:52
billybigrigger???04:52
billybigriggerwhere04:52
billybigriggerall configs i have setup where for webmail to /var/www/webmail04:52
billybigriggers/where/were04:53
cefyeah, your www. points to webmail now too04:53
billybigriggerhmmm04:53
cefput defaults and webmail sites files on pastebin04:53
billybigriggerhttp://pastebin.com/f1c46a366 <---default04:54
billybigriggerhttp://pastebin.com/f6672cc99 <---webmail04:54
billybigriggermaybe i should have left the directory / and /var/www in my webmail config and just added a directory for /var/www/webmail04:55
billybigrigger???04:55
billybigriggerim lost haha04:55
cefno it looks like it might be because you don't give the default a 'servername', or because webmail.tfc.ca isn't in the /etc/hosts file and it thinks it's the default.04:59
cefI've seen someone have this issue before but I don't know what fixed it (work intervened)04:59
billybigriggerok05:00
billybigriggeri will give default the servername of www.tfc.ca or just tfc.ca?05:00
billybigriggeri don't think i have either webmail. or tfc.ca in /etc/hosts05:00
billybigriggerhttp://pastebin.com/f2f8a415505:01
billybigriggerok05:04
billybigriggeradding servername to default got my index.html page back05:04
billybigriggernow webmail.thefrozencanuck.ca doesn't work05:04
tonyyarussoIs Jamie or Kees around?  I'm wondering if there's any response yet to the SSH vulnerability discussed on http://news.zdnet.co.uk/security/0,1000000189,39653852,00.htm ?05:05
twbtonyyarusso: the SHA-1 vulnerability?05:05
twbtonyyarusso: try #ubuntu-hardened?05:06
tonyyarussotwb: I think this is a separate thing actually.05:06
twbThat seems to be the security team's channel.05:06
tonyyarussofair enough05:06
billybigriggercef::: added webmail.thefrozencanuck.ca   /var/www/webmail to /etc/hosts05:13
billybigriggercorrect?05:13
billybigriggerbah05:14
billybigriggerstupid ass subdomains...who thought this would be so bloody hard05:14
tonyyarussobillybigrigger: um, no...05:15
tonyyarussobillybigrigger: subdomains go in your apache config, not /etc/hosts.  /etc/hosts does name resolution for machines.05:15
billybigrigger<cef> no it looks like it might be because you don't give the default a 'servername', or because webmail.tfc.ca isn't in the /etc/hosts file and it thinks it's the default.05:16
billybigriggeri don't know, im reaching right now...so im trying any and all suggestions05:16
billybigriggeri can't get this to work for the life of me05:16
billybigriggeris there anything im missing besides my .../sites-available/webmail.tfc.ca05:17
billybigrigger?05:17
billybigriggerdo i need to call that config in httpd.conf somewhere?05:17
billybigriggerlike a subdomain should be simple, i want webmail.tfc.ca to point to /var/www/webmail05:17
billybigriggercreate the config in .../sites-available then a2ensite webmail.tfc.ca and then reload apache...correct?05:18
tonyyarussobillybigrigger: okay, sites-available should have stuff about the subdomain, and /etc/hosts should have IP addresses - could you pastebin your configs?05:20
billybigrigger<billybigrigger> http://pastebin.com/f1c46a366 <---default05:22
billybigrigger<billybigrigger> http://pastebin.com/f6672cc99 <---webmail05:22
billybigriggerthats my /sites-available dir05:22
billybigriggeraparrently it doesn't resolve...and the httpd guys are telling me to make it resolve hehe05:25
KurtKrautWhat were the boot scripts afected by the change from bash to dash that happened in Ubuntu some time ago? Only those located in /etc/init.d ?05:26
twbKurtKraut: why do you ask?05:26
tonyyarussobillybigrigger: Is 68.146.139.247 the correct IP address for webmail.thefrozencanuck.ca ?05:28
billybigriggeryes05:28
billybigriggerdo i need a CNAME or an A record for webmail? maybe thats my problem05:28
KurtKrauttwb: I'm willing to request the same migration from dash to bash to other distros and I've realised that most scripts placed on /etc/init.d call /bin/bash directly instead of /bin/sh.05:29
billybigriggerohhh05:29
tonyyarussobillybigrigger: I'm reasonably certain you want an A record for this.05:29
billybigriggerim about to get a boot from #httpd...hehe chalk that up as #2 for the day :P05:29
billybigriggerok05:29
billybigriggeri think thats my problem...05:29
billybigriggeri have a CNAME for webmail to my ip05:29
billybigriggerie....webmail @05:30
KurtKrauttwb: In other to understand better the impact on making such change, I'd like to know if there other scripts related to boot that are not located in /etc/init.d that would impact on boot performance by this sort of change05:30
tonyyarussobillybigrigger: The usual wisdom is "If you don't know why you need a CNAME, you don't want a CNAME."05:30
twbKurtKraut: well, I believe Debian recently (as in, the last twelve months) fixed that issue.05:30
billybigriggertonyyarusso::: cause i have cnames that where set when i got the domain for www and ftp....so i assumed a cname for webmail would work for webmail.mydomain.com05:30
billybigrigger:P05:30
twbKurtKraut: stuff like RHEL is simply fucked; they have a LOT more bashisms in their code.05:30
twbKurtKraut: and they have no convention of actually, you know, making packages that adhere to a comprehensive integration policy.05:31
KurtKrauttwb: I see. Bu do you know what scripts are run at boot besides those located in /etc/init.d?05:31
twbKurtKraut: that depends on many things.  But I suspect you want the system to do more than just boot.05:32
billybigriggertonyyarusso::: why did you ask about my ip address?05:32
billybigriggertonyyarusso::: and also should the host be webmail.tfc.ca or just webmail?05:32
tonyyarussobillybigrigger: Because you mentioned that it wasn't resolving.05:32
billybigriggertonyyarusso::: ahh05:32
tonyyarussobillybigrigger: the full thing.05:33
billybigriggertonyyarusso::: k, well i added it05:33
* billybigrigger waits05:33
billybigriggersoab05:33
billybigriggerwebmail.thefrozencanuck.ca now points to thefrozencanuck.ca05:33
billybigriggerit points to /var/www05:33
KurtKrauttwb: what I'm trying to test/measure is the impact of the migration from bash to dash on boot. And what I want to know at the moment is how many *boot* scripts declare they need precisely bash instead of /bin/sh05:33
billybigriggernot /var/www/webmail05:33
twbKurtKraut: OK, what you want to do is get the checkbashisms(1) script and run it over, basically, all of /etc/.05:34
KurtKrauttwb: that sounds great. Thanks05:35
twbKurtKraut: from the list it emits, it should be obvious which files AREN'T used during boot.05:35
twbKurtKraut: note that checkbashisms will not report on e.g. /etc/sysconfig/networking, because those files don't have shebangs -- but I bet they are sourced by a sh script.05:35
twbThe other obvious thing to do, is just make sh -> dash, and see what breaks when you reboot.05:36
KurtKrauttwb: this would be the step 2 of my experiment, seing what breaks05:36
KurtKrauttwb: but the first data I want to collect is how many scripts right at the begining say they need bash to run instead of /bin/sh, that would in theory and in a ideal world, mean that they don't have bashisms05:37
billybigriggeri want to strangle all the smartasses in #httpd05:38
twbKurtKraut: oh, then try something like grep -rn /etc '^#!.*bash' | grep :1:05:38
twbOops, swap the pattern and /etc around, etc.05:39
KurtKrauttwb: what a curious result. In Ubuntu, only 9 files found. In Mandriva, 290.05:41
twbKurtKraut: culturally, Debian packages are encouraged to avoid bash and bashisms.05:42
twbI don't think policy actually REQUIRES them to avoid bash shebangs...05:42
KurtKrauttwb: those data were really helpful. Thanks a lot for your help and commands.05:46
twbKurtKraut: no worries.05:47
ScottKIn Ubuntu the default /bin/sh is dash, so we've been trying to get rid of bashisms for some time.05:48
a_okwhat script or process is supposed to make /var/run/apache2?05:51
ScottKa_ok: Generally the init script should handle that.05:56
ScottKI'm not sure specifically about apache205:56
=== ssd7_ is now known as ssd7
unewbiei installed squid and i want to authenticate with ncsa, my users still can connect to internet and never authenticate with ncsa. what could be wrong? i use 8.04.206:47
unewbiei followed some tutorials to edit my squid.conf and it's still no result06:48
unewbie!squid06:51
ubottusquid is a caching proxy for the Web.  See: https://help.ubuntu.com/community/SquidGuard  See: http://www.squid-cache.org06:51
unewbie!ncsa06:51
ubottuSorry, I don't know anything about ncsa06:51
unewbieanyone?07:02
jmarsden_NCSA?  The people that brought us the Mosaic browser in 1993?  http://www.ncsa.uiuc.edu/Projects/mosaic.html ?07:05
=== jmarsden_ is now known as jmarsden
* jmarsden would suggest not using a discontinued and very very old browser...? Or is the NCSA you refer to something else?07:07
cefI think he means an auth mechanism07:07
cefwhat's the MS one?07:08
cefntlm?07:08
jmarsdencef: Yes, but that means he got only one out of 4 letters correct in the acronym, which is pretty poor spelling?07:09
cefjmarsden: I've seen worse.. ;)07:09
jmarsdenMaybe something like http://www.opensourcehowto.org/how-to/squid/squid-with-ntlm-authentication.html would help, then?07:11
cefwow, NSCA also made a httpd server. never knew that07:12
jmarsdenYes, wasn't that the one the pile of patches turned into "a patchy" server, which became Apache?07:13
cefprobably07:14
jmarsdenI ran that, back in about 1994 or so, on NetBSD :)07:15
cefahh back then, I was still running a BBS.. those were the days07:15
unewbieit's solved07:20
jmarsdenunewbie: Are you really using NCSA ?  The web server or the Mosaic browser?07:21
unewbiei put the http_access allow ncsa_users exactly below the acl ncsa_users proxy_auth REQUIRED07:22
unewbiei used ncsa module at /usr/lib/squid/ncsa_auth07:22
cefhrm! there ya go (??)07:22
unewbiethanks guys07:23
unewbie:)07:23
cefoh bah..it's just a module that reads any ncsa compliant passwd file (eg: htpasswd)07:27
jmarsdenYes... squid "NCSA" auth is what most of us would call "Basic Auth"07:28
cefyup07:28
unewbiei'm thinking using ldap authentication08:09
unewbieany advice?08:09
jmarsdenunewbie: If you have to authenticate using LDAP before you can think, you are in deep trouble :)08:29
jmarsdenI need to go to sleep... but if you already have an LDAP server set up and working, it probably makes sense to use it for Squid auth too.  If not... it's a fair amount of work to set one up.08:31
uvirtbotNew bug: #379320 in mysql-dfsg-5.1 (universe) "mysql-server-5.1 not installed" [Undecided,New] https://launchpad.net/bugs/37932008:32
unewbiejmarsden: thanks for the advice09:15
unewbielooks like i need someone to teach me to install and configure openldap :D09:16
uvirtbotNew bug: #379329 in openssh (main) "Security flaw in openSSH prior to 5.2" [Undecided,New] https://launchpad.net/bugs/37932909:55
=== yann2_ is now known as Yann2
=== Thirsteh is now known as thirsteh
heath|workHello. I keep reading articles at HowToForge.com and most of them say to disabled app armor to run thing in a chroot jail, but is this really necessary?13:13
infekteddeathanyone familiar with ispconfig13:41
infekteddeath313:41
infekteddeathi need help with setting up ispconfig3 and godaddy13:43
infekteddeatham i talking to ghosts13:43
infekteddeathhell?13:43
infekteddeathhello?13:44
ScottKinfekteddeath: Ubuntu doesn't (last i looked) ship an ispconfig package, so this may not be the best place to ask.13:45
timedout_does this channel deal with just the software side of servers?13:50
ewookit deals with the content of the inhabitants brains more or less13:50
ewookand I doubt that's limited to software only.13:51
ewook:)13:51
timedout_alright13:53
timedout_well i'm looking at picking up a multiprocessor server, supposedly rated at 550mhz13:54
timedout_would that be the same effectively as having a single 2.2ghz processor?13:55
timedout_and would ubuntu run on such a server?13:55
ScottKHow much RAM?13:56
timedout_3.5GB13:56
ScottKIt's not the same as a single 2.2ghz processor.  In some ways it will be better, in some ways worse.13:57
ScottKDo you know if the BIOS is from before 2000 or after?13:58
ScottKtimedout_: If it's before 2000 (and thus won't use acpi), Hardy is the last release it will run on.  If it's new enough to use ACPI, then it should run on any Ubuntu release.14:00
ewooktimedout_: i'd say that there isn't that much value in a old PIII with that low frequency.14:01
ewookand ScottK is right.14:01
timedout_thanks14:01
timedout_ewook: it's bascially just for learning purposes14:01
ScottKIt's fine for that.14:01
ewooktimedout_: for learning it's neat :)14:01
ScottKI have an old dual PIII 450 machine that I use for backups (new hard drives).14:02
uvirtbotNew bug: #379412 in openvpn (universe) "openvpn server startup script broken" [Undecided,New] https://launchpad.net/bugs/37941214:03
timedout_anyone know of some resources for finding used network components? servers, routers, switches, etc14:04
timedout_other than craigslist14:04
ScottKEbay?14:04
=== asac_ is now known as asac
jetolehas anyone install cacti on 9.0414:39
jetole?14:39
jetoleI seem to have an issue where it is not showing graphs on the main page but if I click on the missing graph like object it shows graphs14:39
jetoleah screw it. I am re installing from source14:45
=== Nicke_ is now known as Nicke
RoAkSoAxivoks, heya master... have some good new for you :)15:06
ivoksRoAkSoAx: do you?15:07
ivoksRoAkSoAx: i can't merge anything now... i'm at the airport15:07
RoAkSoAxivoks, not merge related... last night I've talked with horms, the heartbeat Debian mantainer (i think hi's also upstream??)... and well he said something that will make our lives easier15:09
ivokswhat?15:10
ivokshorms was at last uds, iirc15:10
RoAkSoAxivoks, they are waiting for final test on heartbeat / pacemaker / openais to get them in Debian archives.15:10
ivoksoh, nice...15:10
RoAkSoAxivoks, and they are going to create a debian-ha group to maintain heartbeat / pacemaker / openais ... and I also said we had the same project, and that now we can work close together15:11
ivoksgreat15:12
ivoksi was expecting something like that15:12
RoAkSoAxivoks, yep, I'll email you my conversation15:12
ivoksgreat15:13
\shivoks: on your way to pretty barcelona? :)15:13
jpdsToday? I hope not.15:13
ivoks\sh: yep15:14
RoAkSoAxivoks, done :)15:14
ivoks\sh: i'm in bonn15:14
\shivoks: WHAT? just drive 300km down to KA and visit me ;)15:14
ivoks:D15:14
ivoks\sh: if only you said that 3 hours ago :)15:14
\shivoks: and it's cologne/bonn airport ;) it's more cologne then bonn ;)15:15
ivoks\sh: i doubt i'll make it to you and back in 60 minutes, without a car15:15
ivoks\sh: i know it as Koeln :)15:15
\shivoks: yeah...well hopefully next year I'm able to attend another UDS myself..15:15
RoAkSoAxivoks, and here are the packages that might go to Debian archives: http://packages.vergenet.net/experimental/15:16
\shivoks: drink some "kölsch" beer ;) (1. reissdorf 2. Früh 3. Sion) ;)15:16
RoAkSoAxthose are apt-gettable so we can test them15:16
ivoksRoAkSoAx: great job!15:17
ivoks\sh: on my way back, maybe :)15:17
\sh.oO(dojotoolkit package looks like it's ready for upload...just a few lintian messages to fix)15:17
RoAkSoAxivoks, so anyways... as you said, our cluster stack should be around as heartbeat / pacemaker /openais as long as Debian supports it15:19
\shguys...any status on mysql-cluster for karmic?15:20
ivokswhat's wrong with it?15:20
ivokstime to go...15:21
ivokstake care guys15:21
RoAkSoAxivoks, have a good flight15:22
ivoksthanks15:22
\shivoks: give a hug to ogra from me, pls :)15:22
ivokshehe15:23
aljosaanybody using rabbitmq on ubuntu intrepid? is there an apt repository?15:26
teddy__I need to do RAID 1 with 9.04..Do I need the Ubuntu-server standard or the alternate?15:26
teddy__To answer my own question, either Server Edition or alternate will do RAID 1. User Server Edition...15:41
heath|workHello. I keep reading articles at HowToForge.com and most of them say to disabled app armor to run thing in a chroot jail, but is this really necessary?15:48
hkaishello15:59
hkaisis there a hook, there I can hook in on every user logoff (forced by timeout, or manually by userrequest)?15:59
radovanhkais: http://thedaneshproject.com/posts/how-to-set-default-session-timeout-in-linux/16:05
radovanhkais: worth trying16:05
jpdsheath|work: Pardon?16:08
zanberdoI have mysql 5.0.51a installed on ubuntu server 8.04. when I attempt to stop mysql using /etc/init.d/mysql stop I get the message * Stopping MySQL database server mysqld [fail]. I'm trying to track down why it's failing and how to fix it16:55
zanberdonote: I have asked at #mysql and they recommend that I ask here.16:55
zanberdoalso note: /var/log/mysql/mysql.err and mysql.log are both 0 byte files16:55
zanberdoalso note: syslog makes no mention of mysql16:55
zanberdocorrection: /var/log/mysql.err and /var/log/mysql.log are 0 bytes. there are no files in /var/log/mysql/16:56
w3wsrmnzanberdo: on ubuntu, mysql logs to /var/log/syslog by default17:01
zanberdoright, so I've read. sadly, I'm getting no data in syslog17:02
zanberdorelating to mysql17:02
zanberdoit's clearly running17:02
geniizanberdo: This sometimes happens if for instance the pid file is bypassed. If you manually ran the mysqld directly for instance instead of using the init.d method. In this type of case you have to manually kill the process and start it properly from the init script.17:10
zanberdogenii, thanks for the suggestion. No, I did not start it manually, though I suppose I will kill the pid's and see if I can start it again.17:11
jeiworthhi all, having a little problem with cups on my server, i activated remote administration throuh cupsctl --remote-admin but when i try to login, all i get is a measly 403 forbidden :( any ideas where i can fix it, or what i have to put into the cupsd.conf file to make it work? this is before even the login page is shown17:19
jeiworthmaybe it has to do with the installed apache server?17:19
jeiworthor that i am in a different subnet....hmmm17:21
radovanjeiworth: have you tried to restart the service?17:23
radovancups have apache style configuration file, so maybe you should check there17:23
=== yml_ is now known as yml
jmedinait is documented in ubuntu server guide17:27
jeiworthradovan: hmm coming to think of it, i didnt restart it after the cupsctl command, i thought cupsctl would take care of that for me, let me check17:27
jmedinathe thing about cups17:27
jeiworthwell, appears to be the subnet, if i access from a virtual machine in the same subnet i can configure it17:32
dayoi'm looking for a tool that let's me send a popup msg to all systems on my lan, e.g. "Rebooting proxy in 5 minutes. Please stand by."  any ideas?17:40
jmedinadayo: what kind of systems?17:41
dayojmedina: ubuntu desktops and laptops. 8.0417:42
jmedinadayo: so you want to send this messages when you reboot your proxy (squid)?17:48
jmedinaif so, you can redirect your users to a mainteinance web page17:48
* jmedina loves virtualization (cero downtime)17:49
dayojmedina: that was just an example. sometimes i need to let all my users know things like "The ISP is here. Expect about 20mins downtime, while we install the new router"  stuff like that17:49
jmedinammm then I dont know17:50
jmedinawe use internal IM with jabber, I can send broadcast messages17:51
jmedinaor you can try something like this:17:51
jmedinaautologin with ssh and something like: "logger -t adminmessage -p local7.emerg "The ISP is here....!!!:"17:52
jmedinaby default most syslog daemons logs emerg messages to everything17:53
jmedinafor example, KDE launches a little window with the message, not sure about gnome17:53
jmedinathen you can use something like parallel ssh connections and automatic login using rsa keys17:54
radovandayo: http://www.manpagez.com/man/1/xmessage/17:57
alienseer23when I install postgress with apt, there is not /etc/postgres/* directory, and nothing works...I am stuck here, asking for direction, why would this happen, how to fix it?17:57
alienseer23could postgres have used another directory for the config files for some reason?18:02
chemfun'lo all.  if you could bear with me...I haven't used IRC for about a half decade18:16
chemfunI was sent here by #ubuntu18:17
chemfunI'm the tech guy at a school.  Really new to linux.  I purchased 4 Asus eee PC 4G.  Hated the native OS so I installed Ubuntu and followed the instructions to get the Kernel that works best with the eee pc's.  I'd love to be able to use our server (2003) to allow the students to login with their windows username.  I discovered the activedirectoryhowto on the wiki.  Unfortunately it states...18:17
chemfun...that I need ubuntu server to connect to AD.  Is there a way that I can connect to AD with Ubuntu Desktop, or is there an easy way to configure the server to have a x windows environment?18:17
chemfunI've currently got server installed on my test eee box, but before I blow away another, I'd like to ask those that know more than I.18:17
chemfunI was told that desktop and server are the same, but server has some extra packages installed18:17
radovanAD is ldap18:18
chemfunCould anyone point me towards a wiki that would explain what to install to get a GUI environment to talk to my server2003 box?18:18
radovanlogin go throug PAM, so you need to update your pam config18:18
chemfunor....is it possible to have an eee pc talk with the server via wifi at boot so that they can login with their AD username and pwd?18:19
radovanhttp://ldots.org/ldap/18:19
radovansection 2 is interesting one18:19
chemfunlooking at it18:20
radovanafaik there is no exact howto do it. maybe google will help you, but AD is ldap.18:21
chemfunwithout creating users on each eeepc will they be able to log in?18:21
chemfunor would it be easier to create users on a box and image the other comptuers?18:21
radovanyes, they will be able to log in18:22
chemfunsweet18:22
chemfunsecond question, if you've got time18:22
radovanyes?18:23
chemfunonce logged in, would I be able to connect them to their windows home folder on the server, or would I need a separate NFS share that would be publicly accessed?  Did that make sense?18:23
radovanyou san use existing samba share, but i'm not sure single sign on will work, so they may need to authenticate to samba share18:24
radovanor you can use nfs on windows, but generally that's not a good idea18:24
radovanimplementation really sux :)18:25
chemfunwhy?18:25
chemfun:)18:25
radovanwindows implementation of course18:25
chemfunright18:25
radovani've tryed it and had performance issues18:25
chemfunMaybe I'm working at it backwards...I've already created a share for them on the windows box18:26
chemfunI don't know a lot about samba18:26
chemfunor linux for that matter18:26
chemfunWe've got a linux firewall with dansguardian, but I only know enough to be dangerous18:26
chemfunI'll keep digging.  Thanks for the pointers18:27
radovanno prob :)18:27
yeasondoes anybody know if there is a good irc-services package for ngircd? I'm not having luck finding one18:32
uvirtbotNew bug: #379488 in mysql-dfsg-5.0 (main) "package mysql-server-5.0 None [modified: /var/lib/dpkg/info/mysql-server-5.0.list] failed to install/upgrade: el subproceso pre-installation script devolvi? el c?digo de salida de error 1" [Undecided,New] https://launchpad.net/bugs/37948818:36
j0nrHi all, question: I have just set up apache/mysql/php to enable a simple webserver. /var/www/ is the web root. So if I put index.html in there it gets displayed to the web. But sometimes you want things higher up than that, i.e. on other hosted sites, the web root is not accessible by the public and youu have a public_html folder where the public acessible info goes...how do I make a folder within /var/www/ be the default 'public_html'?18:42
j0nris it something like editing /etc/apache/sites-available/default and adjusting the root directory?18:43
maxbErm18:45
maxbThat's a slightly weird thing to do18:45
maxbPut the things which are not part of the website somewhere other than /var/www18:46
stickystyle1j0nr:  If your looking for per-user public_html folders (which is the only place I know of that dir name being used) you need to look into mod_userdir for apache18:47
j0nrok, but somethings are part of the website... maybe I am just confused (n00b)... I am trying to install gallery software... the frontend of it is in a sub-directory of the webroot as it is viewable by the public, but the data for it, i.e. the raw images, are stored outside the document root...think I am answering my own question a bit...18:48
j0nri can just tell it where they are in relation to  '/'18:48
j0nrthis is just because its my own server rather than a hosted one18:48
j0nrok no worries... :)18:48
stickystyle1for gallery, the standard place to store the data (i.e. photos) files is /var/lib/gallery2/g2data/  and that is something that you set in the config.php18:50
=== stickystyle1 is now known as stickystyle
stickystyleFWIW, gallery is already in the repos so you don't have to manage all this yourself.18:51
stickystyleunder 'gallery2'18:51
bin1010howdy all18:51
bin1010I got the two nic thing to work18:52
bin1010thanks for the help18:52
bin1010how do I tell ubuntu server to do certain requests on one nic and all the others on another?18:53
bin1010can someone just point me in right direction?  Not sure what to search for as far as effective keywords...keep getting #$@#Q!!#.  Thanks18:53
jmedinabin1010: what do you exactly want to do?18:55
bin1010I am using one nic mainly for incoming requests on local network and the other nic for internet.  Sometimes when the server makes a request like for aptitude update, it has to wait for some timeout before it gets the information it seeks.  I want to go ahead and tell server for most requests uses nic 2 and only use nic 1 for these specific things.18:57
bin1010did that make sense?18:57
stickystylebin1010:  which nic is your default gateway?18:59
bin1010good question...hold on18:59
stickystyleand it sounds more like a DNS resolution issue.18:59
bin1010well one nic can see a local network just fine....but it can't get to the internet at all.  The other is hooked directly to our internet infrastructure19:00
jmedinaor probably both interfaces connected to same switch and same broadcast domain19:00
stickystylebin1010:  does this computer serve as a gateway/firewall for computers on the the LAN side?19:03
bin1010ip addresses are 192.168.56.101...thats the local network guy....and the other is 10.0.2.15 which has the ability to get to internet.19:04
bin1010no...no gateway/firewall19:04
bin1010i am using it as local web development environment...so I only allow connections to it via the local network NIC19:05
bin1010connections to the machine work greate19:05
stickystylebut apt-get updates take a while to get going?19:06
bin1010yes. it hangs for a time, then goes...kindof like a timeout19:08
bin1010remember when firefox had a similar problem...it would hang on a socket drop19:09
stickystyleThe DNS server(s) set in /etc/resolv.conf, are they on the internet or local?19:09
bin1010the one it is pointed to is the one that can get to the internet....I just use the boxes ip address to check the webpage...sorry19:10
stickystyleBTW, there is no 'timeout' type thing with having more than one NIC.  You have a set of routes that the computer tries, and then the default gateway.19:10
bin1010okay....cool  That's much better ;)19:10
stickystyleTo expand upon that, if your DNS server is not on those predefined set of routes (which it sounds like it is not) then the computer will always use the default gateway interface.19:11
bin1010that makes sense19:12
stickystyleI'm leaning towards a DNS issue if you haven't noticed ;)19:12
bin1010is see that19:12
bin1010LOL19:12
bin1010yes...the local network NIC will not be able to get to the DNS server in resolv.conf19:13
bin1010so that is the problem...but there is no way for me to get that NIC to that DNS server or even the gateway...they are really setup for the internet nic19:16
bin1010sorry the DNS and Gateway are setup for the "internet"nic...19:16
stickystylethat sounds like a valid setup from what you have described so far.19:17
bin1010but wont both nics try to use those settings?19:18
bin1010sorry for my ignorance...I am more of a developer than a linux admin.  I can get around most things, but I still get lost/confused on occasion. :)19:20
stickystyleYes, the OS will handle which NIC to use for a particular request.19:20
stickystyleNo worries.19:20
bin1010sweet...thanks19:20
stickystylehow many DNS servers do you have in resov.conf ?19:22
bin1010just one19:22
stickystyleJust for fun... change it to '4.4.4.2' (that is verizion's DNS server), we won't leave it on that but just for testing lets see what happens.19:24
stickystyleWhoops.  I meant to type 4.2.2.219:25
stickystyleHe'll be back :)19:26
tadeu_guys, i just create a .iso with remastersys, when i boot it the boot process stop in "configuring network interfaces", any idea ?19:41
tadeu_"ctrl+c" does not work.. the boot just keeps stuck19:42
slestaki have just picked up likewise open for my workstation.  I have a primo setup I dont want to lose.  I figured our winbind usermap, so when I log in as AD username, it appropriately comes in as the local user, but I think that is a bandaid.20:28
ivokssommer: here? :)20:29
slestakis it safe to cp -R ~ to the ad users homedir, chown it all, and expect gnome settings and seuch to be safe?  Think gconf will have a conniption?20:29
RoAkSoAxivoks, heya master... any news on the HA track for the UDS?20:32
ivoksRoAkSoAx: i haven't checked20:33
RoAkSoAxyou already in barcelona?20:33
ivoksyes20:33
RoAkSoAxawesome20:33
RoAkSoAxI wish I can attend to an UDS someday :(20:33
RoAkSoAxhahaha20:33
ivokswork hard and you might :D20:34
RoAkSoAxindeed20:35
RoAkSoAxI think they have not scheduled the HA talk just yet20:35
hkaisradovan: thx! I will give it a try21:03
WebcamWonderQuestion: I tried shutdown -F, touch /forcefsck on separate occasions. Neither triggered a fsck on the reboot, any ideas how to do so?21:05
Artemishello21:17
Artemishello21:18
Artemisexit21:18
Mendrinoshi, I have installed through aptitude mysql-server-5.1.1321:19
Mendrinosbut I cannot find php5-mysql for the version of 5.1.1321:20
Mendrinosas a result21:20
Mendrinosto have a php mysql client 5.0.x and not in the same version of the db server21:20
Mendrinosdoes anyone know how to upgrade php mysql client to 5.1.13?21:21
phaze74Hi. I have my own private repository and I'm trying to permanently remove a package. I'm running "reprepro -b . remove jaunty packageName" and it looks like it succeeds. But when I do an apt-get update and an apt-cache search on one of my servers I can still see the package. Is there something I'm missing?23:21
phaze74Anyone?23:23
=== yml_ is now known as yml

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