/srv/irclogs.ubuntu.com/2009/02/02/#ubuntu-server.txt

shally87hi00:05
shally87if i already installed LAMP server and PHPMyAdmin00:05
shally87do i need to install DNS and samba?00:05
Deepsonly if you want to run a dns server and samba server00:07
shally87owh00:08
shally87then can i run LAMP + DNS + Samba  together?00:08
Deepssure00:08
shally87About the DNS server how do i point the server to my domain name?00:09
shally87My ISP give me a dynamic ip address..00:10
shally87and i afraid i dont have any static Ip address00:10
techsupportcan someone tell me what lenny is ?02:01
geniitechsupport: It's an older version of Debian02:02
techsupportgenii, can you help me out please, i posted something on a forum and i dont know what this guy means he replied to me02:02
geniitechsupport: Apologies, Lenny is the forthcoming Debian version. Current is Etch02:03
genii(Was thinking of Sid, a former version)02:03
techsupportgenii, i'm gonna change my nick now ok ?02:04
=== techsupport is now known as orudie
orudiesorry for the nick change02:04
geniinp02:04
orudiegenii,  look please , i started this forum http://forums.steampowered.com/forums/showthread.php?t=79445502:04
orudiegenii, he says the game server doesnt start because of some lib602:06
orudiegenii, anything ?02:09
geniiorudie: Yes, I read it. No immediate ideas, except perhaps specify libc version to install.02:19
orudiegenii, is there a way to update libc to the latest version ?02:19
orudiegenii, without specifying the version number02:20
geniiorudie: What ubuntu are you currently running?02:20
orudieserver 8.1002:20
genii!info libc6 jaunty02:21
ubottulibc6 (source: glibc): GNU C Library: Shared libraries. In component main, is required. Version 2.9-0ubuntu9 (jaunty), package size 4216 kB, installed size 10520 kB02:21
genii!info libc6 intrepid02:21
ubottulibc6 (source: glibc): GNU C Library: Shared libraries. In component main, is required. Version 2.8~20080505-0ubuntu8 (intrepid), package size 4262 kB, installed size 10552 kB02:21
orudieyes i have libc6          2.8~20080505-0 GNU C Library: Shared libraries02:22
orudiecan i update it ?02:22
orudieto v 2.9 ?02:22
geniiorudie: They are saying you need 2.7.18 ... 8.10 has 2.8 and 9.04 has 2.9   ... These are LATER versions than 2.7.1802:22
geniiorudie: If you add the src repos only of jaunty, you can apt-get source <package> and build. I'm not sure if libc however can be "built" as such02:24
KterinKhow can i see if i have dhcp server installed?03:35
KterinKfigured it out, 'sudo /etc/init.d/dhcp3-server status'03:37
jmarsdenThat tells you if it is running.... to check it is installed at all, something like   dpkg -l dhcp3-server   should work.03:39
orudiewhich command do i use in server's console to stop the server03:42
green7halt or shutdown?03:44
orudiei noticed i can only start tf2 server only after i reboot linux03:44
orudiethis is messed up03:44
green7Tha's weird. no error messages?03:44
orudiegreen7, i am having seriouse problems man03:45
orudiegreen7, http://forums.steampowered.com/forums/showthread.php?t=79445503:45
green7Gimme a sec - reading it...03:47
orudiegreen7, also thanx, also Could not establish connection to Steam servers.03:47
green7hmmm, no idea. did you report it to steam tech support?03:51
orudieno, how can i do that ?03:52
orudiegreen7, ok lets say i get the server started, but why do i keep getting could not establish connection to steam servers ?03:53
green7support.steampowered.com, I guess.03:53
=== KterinK is now known as dou213
green7Do you have firewall turned on? Can you ping or traceroute to their servers? (you can run tcpdump to check where it's trying to get to)03:54
orudiegreen7, which command should i run ?03:55
orudielike sometimes it establishes connection and sometimes it doesnt03:55
orudielike i have to try 5 times, and from the 5th time it would establish connection03:55
orudiebut now i can only start the server after i rebooth the computer03:55
green7chkconfig --list | grep firewall , I think03:55
orudieso i cant get it to establish connection03:55
green7maybe it's cycling through a list of servers, and only some of the servers are up.03:56
green7you can check that with tcpdump & see if it's trying to get to a different ip/hostname when it works and when it fails03:58
green7and if that's the problem you can put some bogus entries in /etc/hosts to point the non-working hostnames to working ones.03:59
green7I've gotta get out of here - good luck!04:00
orudiegreen7, thanx i think i got this04:00
Ultraputzhow do you turn on zeroconf advertising for ssh on a fresh install of u server?04:56
Ultraputzinstalling firefly seemed to switch it on. thanks anyway !05:07
iverson0881is ufw suitable to be used in a production server environment?05:14
ScottKiverson0881: If its feature set is sufficient for what you need, certainly.05:25
iverson0881ScottK: but it's nothing as full blown as maybe using just straight iptables or bastille is that correct?05:26
ScottKIt's a front end for iptables.05:26
ScottKSo if you can do what you need with it, then fine.05:26
ScottKIf you need stuff it can't help you with, then not.  It's really just a question of your requirements versus its capabilities.05:27
iverson0881oh okay, i see. what would you recommend?05:48
ScottKIf ufw does what you need, use it.06:00
ScottKI use my own iptables scripts, so I'm probably not the best source of a recommendation for someting easier.06:00
rdw200169are there any applications on the terminal that run as daemons and can run a set of commands when network connectivity goes down?06:07
hadsSomething like monit may do what you want.06:09
rdw200169ah, thanks, forgot about monit.06:27
iverson0881there's also god06:29
iverson0881which is based on ruby06:29
iverson0881http://god.rubyforge.org/06:30
suigenerishello06:38
suigenerisScottK, are you there?06:38
ScottKI am, but I'm just about to go to sleep.06:38
ScottKsuigeneris: ^^06:38
suigeneriswhen will you come back?06:39
suigenerisin 8 hrs?06:39
ScottKUnfortunately less.06:39
ScottKIs there a quick question06:39
ScottKProbably ~7 or so.06:39
suigenerisyou said you'd help me with my smtpd.key problem06:39
ScottKAh.06:40
ScottKI remember you.06:40
suigeneristhanks :)06:40
ScottKYes, after I sleep, I need to be at my desktop, not my laptop.06:40
suigenerisi'll wait06:41
=== rdw200169_ is now known as rdw200169
=== spc_ is now known as spc
mathiazkees: https://bugs.launchpad.net/ubuntu/+source/mysql-dfsg-5.0/+bug/32375509:31
uvirtbot`Launchpad bug 323755 in mysql-dfsg-5.0 "non-trivial building mysql source package, build test keeps failing, (open)ssl related" [Undecided,Confirmed]09:31
mathiazkees: ^^ this is the mysql failure09:31
frippzI've got a bridge set up for KVM that is using one of three NICs. is it possible to add the other two by specifying them with bridge_ports? if so, how would that work?09:51
=== k00n is now known as Koon
simplexiofrippz: dont know about KVM, but make a bridge from all NICs is easy10:17
simplexiofrippz: bridge addbr br0 && bridge addif br0 eth0 etc.. then tell kvm use br0, or if kvm uses some virtual interface you probably can add it too to bridge10:19
=== dendrobates- is now known as dendrobates
simplexioif i install bind9 for my self, can i use any domain name on it? like example.com or myhome.poop .. i just want to get "own" dns server for home lan, so that i can use kerberos, ldpa etc.. for filesharing on lan10:21
simplexioand i dont want that my bind9 server causes some dns names to point wrong place10:22
hadsYes10:23
hadsMight want to look at dnsmasq also10:23
frippzsimplexio: yeah, KVM is using br0 I think. what I'm wondering now is how the bridge will be working. will it be utilizing 3 NICs and effectively offer 3 Gbit/s speed?10:24
frippzsince each NIC is a 1Gbit10:25
simplexiofrippz: hmm.. im not sure (i use 100Mb + 1Gb bridge) where this 100Mb is on "internet" side and 1G is on my home lan10:27
sorenfrippz: No, it won't.10:27
simplexiobut i get 1Gb speed to server from home desktop and 100Mbit from that10:27
frippzsoren: I figured... seems to easy and too good to be true :)10:28
simplexiofrippz: i think you need first make bond all those NIC to one virtual nic and then bridge it to KVM side10:29
sorenfrippz: If you want to to dhat, you need to set up bonding and add your bonded interface to the bridge instead of your hysical nic's.10:29
sorenIt's totally doable, just not how you explained it.10:29
frippzyeah, I'll have to look up bonding again. haven't played with that in ages :)10:30
sorenWell, if you want to bond interfaces, which is clearly what you want... you kinda need to use bonding :)10:30
* soren is about to lose nework access for a little bit10:31
GargoyleAny mod_rewrite gurus online? I want to make a rule that redirects to my blog, but does not append to the query string.10:32
soren"Does not append to the query string"?Why would it do that?10:34
GargoyleSo far I have this... http://pastebin.com/d78ecbd0510:34
GargoyleIf you goto http://ga.rgoyle.com/an/ I want it to be as if you have gone to /blog, but it must be passing something extra through to wordpress cos I get page not found :(10:35
sorenGargoyle: Look in your logs?10:37
Gargoylesoren: Not much about rewrite rules seems to get logged.10:42
hadsThere's an option to log it10:42
sorenGargoyle: No, but you can see where it's redirecting to.10:43
GargoyleUh oh... I might be reading these docs for a while.... `Despite the tons of examples and docs, mod_rewrite is voodoo. Damned cool voodoo, but still voodoo.''10:44
hadsNah10:45
GargoyleCool! Redirect loop!10:49
Gargoyle:D10:49
frippzsoren: what about distributing the load manually over several NICs? I'm thinking that about setting up several br-interfaces and letting some VMs use br0 and some other user br1 and br2. would that work?10:53
sorenManually?10:54
frippzsoren: yeah, well. by manually I mean that I choose wich VM uses wich bridge10:58
frippzmaybe I'm just making this more difficult for myself than it should be :D10:58
fw1I am setting up ldap replication following the  8.10 instructions,  the problem is that once i get to the end and the two servers are in sync the, i restart, create an object on the primary server,  the second server then blasts its db away11:09
uvirtbot`New bug: #324249 in bind9 (main) "[CVE-2009-0265] BIND 9 not properly checking the return value from OpenSSL EVP_VerifyFinal()" [Undecided,New] https://launchpad.net/bugs/32424911:11
=== jkerihuel_ is now known as jkerihuel
shally87hi..13:31
shally87what is the command to install mail server using sudo apt-get13:31
shally87anyone13:31
pmatulisshally87: just use the 'tasksel' command to get the menu13:34
andolmathiaz: Thanks for pointing out the expired ssl-cert in the mysql testing suite. You just saved me from doing a hole bunch of completely unrelated tests :-)13:36
mathiazandol: :)13:36
mathiazandol: upstream has commited patches to their 5.1 and 6.0 trees.13:37
shally87ok13:37
shally87thanks pmatulis13:37
mathiazandol: but the Debian maintainer reported that the patch would not apply on the 5.0 tree13:37
andolmathiaz: Should I look into building our own patch, using the new cert in the 5.1+ patch? Or do you have another solution in mind?13:39
shally87i want to esit my dns using this13:40
shally87sudo vi /etc/bind/named.conf.local13:40
andolmathiaz: Alternatevly is it just best to wait and see what Debian does?13:40
mathiazandol: that's what I would do - take the new certs from 5.1+ and put them in 5.013:40
shally87but i having problem on writing the code..13:40
shally87anyone experience to use it?13:40
shally87hope someone could help..i brb a while13:40
shally87thanks..13:41
shally87hi..back..13:52
shally87i got this function sudo vi /etc/bind/named.conf.local13:52
shally87from http://ubuntuforums.org/showthread.php?t=23609313:52
shally87and i need to add few more function below it.13:52
shally87but as i write the command sudo vi /etc/bind/named.conf.local and i entered a space to write something,13:53
shally87i having difficulties to write the command needed.13:53
shally87anyone know how can i write something over there?13:53
shally87if i press arrow, it came like "B"13:53
shally87and i dont know how to save it13:54
suigenerispress Ins13:54
shally87owh13:54
shally87then how to save it?13:54
suigeneristo save, presss Esc and then w13:54
shally87ok..thanks..13:55
suigenerisnp13:55
shally87i got this problem again13:59
shally87# This is the zone definition for reverse DNS. replace 0.168.192 with your network address in reverse notation - e.g my network address is 192.168.0 zone "0.168.192.in-addr.arpa" {      type master;      file "/etc/bind/zones/rev.0.168.192.in-addr.arpa"; };13:59
shally87how to get the network address?13:59
shally87is it the dynamic address?13:59
shally87given by isp or the address of the router13:59
dnperforsshally87: it would be easier for you to use nano instead of vi it will behave like you would expect it to :)14:00
shally87nano?14:00
shally87how to use it?14:00
shally87i'm really new in command14:01
dnperforsShally87: I guess that that address is for your internal network14:01
dnperforsnano is a text editor14:01
shally87owh...my bad of not knowing it14:02
dnperforstype sudo nano /etc/bind/named.conf.local instead of the one with vi ;)14:02
shally87internal..then as i'm using switch then the ip should be 192.1681.214:02
shally87ok14:02
shally87thanks14:02
shally87the ip should be 192.168.1.2 is it?14:02
dnperforswhen your ip is 192.168.1.2, than the network address is 192.168.114:03
shally87owh..that is the ip for switch..then i guess i just make a trial and error..14:04
shally87owh..one thing..as i'm comfortable with windows.. how to get the ip or network address of my pc?14:04
shally87 linux quite new to me14:05
* [gnubie] waves14:05
dnperforsin Linux? type ifconfig :)14:05
shally87ok14:05
shally87thanks14:05
[gnubie]pardon me, i will be asking for an OT.. i just need your advice..14:05
[gnubie]if you are going to choose between PaaS/cloud hosting, VPS or Managed Server, which one will you choose? which is more cheaper?14:06
[gnubie]this is to host your website and you want full control on your web app with more features but pay less..14:08
shally87vps14:08
shally87there is this another one thing..14:13
shally87forwarders {       # Replace the address below with the address of your provider's DNS server       123.123.123.123; };14:13
shally87does it means the ISP address?14:13
Deeps[gnubie]: depends on how much traffic you intend to use14:14
dnperforsshally87: that means the dns you get from your ISP or any other DNS server address you want to use14:14
Deeps[gnubie]: you need to work out how much disk space you need, how much traffic you intend to push, and then do your own costing analysis based on your own expected usage patterns14:15
shally87hmm14:15
shally87if i dont have one?14:15
Deeps[gnubie]: and thus, you can compare services like amazon's s3 with vps, managed + dedicated server providers14:15
shally87is it possible just point it to my pc?14:15
[gnubie]Deeps: honestly, i don't know what to expect for the traffic.. for the disk space, i don't think it is an issue because let's assume that the web app is like a blog14:16
Deeps[gnubie]: if you dont know how much traffic you're gonna get, how is anyone else going to know? lol14:17
shally87[gnubie]: do you just started a blog? or your blog had been known well?14:17
shally87[gnubie]: when i use blog i just go for shared hosting with cpanel14:17
dnperforsshally87: you can also leave that one out... basicly it is just saying: forward the request to these servers when I don't know the answer14:17
shally87you gotta search hosting company14:17
shally87dnperfors: thanks..i think i gonna use openDNS..does it ok?14:18
[gnubie]Deeps: i really don't know how to compute the traffic.. what i have here at home and even in the office are unlimited but with a maximum bandwidth for upload/download14:18
[gnubie]shally87: the blog is an example but yes, about to start14:19
shally87[gnubie]:  i use lunarpages hosting for around 6 website..and it does well, no bandwith and storage limit.. anyway hostgator is the best if you want to get a cheap hosting just for your site..then you no need to sweat handle the server..for long term if your website gotta do very well, then go for vps or dedicated server..14:20
dnperforsshally87: yes that will work, I do the same, I use my own server as a cache and to register local addresses and use OpenDNS as backup14:21
shally87ok14:21
shally87thanks dnperfors..i going to ask a lot..:-D14:21
[gnubie]shally87: i just checked serverbeach's basic offer at https://shop.serverbeach.com/product_details.php?id=2551 and it looks cheap.. what do you think?14:22
shally87wait a sec14:24
[gnubie]ok14:24
shally87you going for a dedicated server?14:25
Deeps[gnubie]: webstats14:25
Deeps[gnubie]: your webserver should be logging, use something like webalizer, will let you know how much traffic your site's using14:25
shally87this could be ok for me..but i don't know what pro will say..14:26
shally87if you were going to have a traffic like johnchow.com or download.com, it is best to get a dedicated server14:27
shally87that price is reasonable if the site is going to be very popular soon..14:27
shally87if just for a start go for shared or vps..14:28
shally87with the price i saw, it could be a dedicated server..14:28
shally87Student like me wont go for that..just setting up my own small server at home :sweat14:28
shally87dnperfors: can i put 3 backup ip? 1 to my isp then 2 to open dns14:30
shally87brb14:32
dnperforsshally87: I am looking in my configs, and I see that I am not using the forwarder at all :)14:32
[gnubie]Deeps: yes, using webalizer.. the problem is, i still don't have a website to do a webstats..14:32
shally87ok thanks dnperfors14:33
dnperforsshally87: yes that is possible14:33
shally87i think i just use the one from my isp..just to give a try..14:33
[gnubie]shally87: so you're saying that the link that i gave you, it was already expensive?14:34
[gnubie]i checked AWS and i honestly don't understand its computation14:34
Deeps$99 a month for a dedicated server like that isn't bad, but it's overkill for what you need14:35
Deepsby the sounds of things, you're starting a new site, it wont have much traffic, something like S3 may be what you need14:35
shally87[gnubie]: if you just started to host a site, it is better to go for a shared then upgrade to vps then upgrade to dedicated..this will save you a lot of money which you can use for advertising14:37
mathiazandol: FYI this is the upstream commit that updates the certificates for the 5.0 branch: http://lists.mysql.com/commits/6429614:38
shally87[gnubie]:  if you go for vps it could at least support you with more than 1000users daily...and you only pay around usd24 to 40 monthly...14:39
shally87[gnubie]: making a site so popular takes time..unless your web app is something so unique that you could get it popular in short time..14:40
suigenerisScottK, are you up yet?14:40
heath|workanyone know of a mod_xsendfile package for apache2 ?14:40
shally87then when you paying a server you gonna thing how long until your site get big and how much storage you could use one time..14:41
shally87that could be essential thing that you need to save money..14:41
shally87brb14:41
andolmathiaz: Nice. I'll take a closer look at it when I get home from work tonight.14:44
shally87i afraid the one 99 is 99 monthly..14:44
suigenerisanyone watching postfix users mailing list?14:46
heath|workWhen I am reading the apache docs, it is asking me to type httpd -l , but httpd does not exist...14:49
lamontsuigeneris: any particular message, or just generally?14:49
suigenerislamont, I have a problem with smtpd.key, I asked about it on postfix users14:50
heath|worknevermind14:53
suigenerisheath|work, could be apache2ctl14:55
suigenerisinstead of httpd14:56
heath|worksuigeneris, it is thanks... do you know how I am supposed to install apxs for apache?14:56
suigenerishttp://www.linuxforums.org/forum/servers/61842-how-install-apxs-apache.html14:57
shally87there is another this thing14:58
shally87// Replace the following line as necessary: // ns1 = DNS Server name // mta = mail server name // example.com = domain name example.com.      IN      NS              ns1.example.com. example.com.      IN      MX     10       mta.example.com.14:58
suigenerisheath|work, what distro?14:58
shally87is it the DNS server name is anything i like?14:59
suigenerislamont, can you help me with that?14:59
heath|worksuigeneris, 8.0415:00
suigenerisubuntu, right15:00
shally87owh..stop with that15:01
heath|workyes, ubuntu 8.04,15:01
heath|workwith what?15:02
shally87mm, could i use the domain if i set it as a dns server domain?15:02
dnperforsshally87: sort of, yes...15:02
shally87with what i ask earlier15:02
shally87ok..15:02
shally87thanks again15:02
heath|worksuigeneris, I just read that the tool is included in apache2-threaded-dev15:03
heath|workI guess I will give that a whirl15:04
shally87i got this problem..how do i know this?15:12
shally87Replace the IP address with the right IP addresses. www              IN      A       192.168.0.2 mta              IN      A       192.168.0.3 ns1              IN      A       192.168.0.115:12
shally87www              IN      A       192.168.0.215:12
shally87mta              IN      A       192.168.0.315:13
shally87ns1              IN      A       192.168.0.115:13
shally87how do i get this in my pc/15:13
=== ogra_ is now known as ogra
dnperforsshally87: you need to specify all the hosts you want to specify, for example: router IN A 192.168.1.115:26
dnperforsbasicly you should know the ip address and assign a host name to it...15:26
dnperforsthis only works when those machines have a static ip15:26
shally87ok..tq15:38
shally87does anyone got the original file for /etc/bind/named.conf .. could you copy and paste in the pastebin?15:40
=== dendrobates- is now known as dendrobates
shally87i got this porblem15:54
shally87do my dns server need to be different than my LAMP server?15:55
[gnubie]shally87: thanks.. sorry for my late reply..15:56
* [gnubie] waves.. gtg now.. thanks..15:56
shally87ok//bye15:56
=== shally87 is now known as shally87[sleepin
=== shally87[sleepin is now known as shally87-AFK
BBHossdoes anyone know if iptables will forward out on the same interface that it recieved a packet?16:05
sorenBBHoss: Iptables doesn't do routing.16:16
BBHossi know16:16
BBHossbut will it forward it out16:16
sorenYou are asking a question about routing.16:17
BBHossif i have the router on 192.168.0.1 and i have a forward rule to go to 192.168.0.169, and both are on eth0, will it send the packet to 192.168.0.169, assuming the routes are setup correctly16:17
soreniptables doesn't decide on the interface through which a package gets routed.16:17
sorenYour eth0 has both addresses?16:17
BBHosswhat i'm trying to do is test my rules to make sure it forwards it to the right place16:18
BBHoss.1 and .169 are on the same network16:18
BBHossbut eventually they won't be16:19
sorenYou will have to elaborate on that. :)16:19
sorenHow are you doing your subnetting?16:19
BBHoss\/2416:19
sorenThen they are going to be on the same network.16:19
BBHossright, i know that16:19
BBHosseventually packets will come in on a separate interface16:19
BBHosswhich is not on the same network (physically) or subnet-wise16:20
BBHossi have -A PREROUTING -i eth0 -p tcp -m tcp --dport 9090 -j DNAT --to-destination 192.168.0.169:9090 inside the nat, and -A ufw-before-forward -p tcp --dport 9090 -j ACCEPT  in the before-filter chain16:21
BBHosshowever if i run an nc listener on .169:9090, and then try to nc 192.168.0.1:9090, it won't connect16:22
BBHossbut its not blocking it, the logs would show it, because it was before i added a rule to the before-forward chain16:23
sorenWhich machine has the rules?16:23
BBHoss.116:23
BBHossthats the router/nat device16:23
BBHossi have forwarding enabled in sysctl as well16:24
sorenAnd from whence are you conducting your tests?16:24
BBHoss.16916:24
sorenYeah, that's not going to work.16:24
BBHossok would it work from another ip?16:24
BBHosson the same network?16:25
sorenYour problem is this:16:25
soren.169 is accessing .1, but the responses are coming from .169..16:25
BBHossahh i see16:25
soren...so it doesn't know that it's related to the same connection.16:25
sorenIf you were outside the NAT, and you had a different rule that did the translation, that would be fine.16:26
soren"the translation" == the NATing.16:26
BBHossok so i have to be outside the nat to test it16:26
sorenAssuming your NATing is set up correctly, yes.16:26
BBHosshttp://pasternak.superalloy.nl/pastes/1357 is how i am doing NAT16:27
sorenBBHoss: Does that work?16:28
soren"-o eth1" looks odd (from the very little I know about your network setup)16:28
BBHossdon't know, haven't tried it yet with eth116:28
BBHosseth1 will be the wan interface though16:28
sorenOh, blah, you're right.16:28
sorenMy bad.16:28
BBHosssee i was trying to prevent me being required to setup a full-fledged test lab, but i guess i have to :)16:30
BBHosswell thanks for your help, bbl16:30
=== rdw200169_ is now known as rdw200169
sorenBBHoss: Cheers.16:35
quizme_hello, my mysql didn't start18:22
quizme_where are the logs for mysql ?18:22
quizme_they are empty in /var/log/mysql.*18:22
zoopsterquizme_: /var/log/mysql - however you may want to look at /var/log/messages or /var/log/syslog for more details...18:23
quizme_zoopster: i didn't find anything revealing there.  What's the command to start up mysql?18:25
quizme_zoopster: i did /etc/init.d/mysql start18:26
quizme_but that didn't seem to work18:26
zoopsterquizme_: that is the correct one...grep the syslog for mysql messages..if it doesn't start there will be a message in there18:27
quizme_zoopster: okay i'll look again at the syslogs18:29
quizme_zoopster: found some!  Feb  2 18:32:11 domU-12-31-39-00-52-27 postfix/trivial-rewrite[25587]: fatal: mysql:/etc/postfix/mysql_domains.cf(0,lock|fold_fix): table lookup problem18:33
redLAWhello to all18:34
zoopsterquizme_: but that is a postfix issue...seems it cannot find the table it needs18:34
redLAWI'm doing 8.04 LTS setup and i wanted to ask is there any good howto for making gateway with 2 nic18:35
quizme_zoopster: hmm.... weird18:35
quizme_zoopster: so how can i create the table, if i can't start mysql ?18:36
quizme_zoopster: maybe i should stop the postfix service?18:36
zoopsterquizme_: first things first...try to start mysql again and either have another window watching syslog (tailf /var/log/syslog) or tail it after you have attempted a start18:37
zoopsterit logs starts and stops18:37
quizme_zoopster: i know what you mean18:37
quizme_zoopster: i'll try that18:37
quizme_zoopster: http://pastie.org/37753318:40
quizme_how do i make a socket exist? /var/run/mysqld/mysqld.sock18:43
zoopsterquizme_: look above that line... it doesn't like skip-federated18:46
quizme_zoopster: why is it doing that ?18:46
zoopsternot sure...I am using 8.10 with 5.0.67-0ubuntu6 and that line is in my "my.cnf"18:47
zoopsterbut I don't see that problem18:47
quizme_zoopster: btw, i'm not sure if i did this right:  apt-get install libmysqlclient15-dev  ?18:47
quizme_i was messing with that18:48
quizme_then i did a  "gem install mysql"18:48
quizme_does that have anything to do with it ?18:48
zoopsterquizme_: possibly, but that client lib *SHOULD* work...18:49
zoopsterdo a dpkg -l |grep myql and see what is installed18:49
zoopsteris this 8.10 or 8.04?18:49
jrwrenquizme_: /var/run/mysqld/mysqld.sock is created by the mysql server when you start it.18:50
quizme_8.0418:50
=== dazman__ is now known as dazman
jrwrenquizme_: does your /etc/mysql/my.cnf have socket          = /var/run/mysqld/mysqld.sock in the [mysqld_safe] section?18:50
quizme_zoopster:  dpkg -l |grep myql   comes up empty handed18:51
zoopsterquizme_: as in NOTHING?...you have to have something in there18:51
zoopsterjrwren: the problem is that mysql_safe is choking on --skip-federated18:51
quizme_zoopster: oh i mispelled it18:51
maxbPerhaps "mysql" not "myql" ?18:51
quizme_jrwren: not sure hold on plz18:52
zoopsteryea...I mispelled it...sorry18:52
quizme_making pastie18:52
quizme_i love pasties18:53
quizme_http://pastie.org/37755118:53
quizme_zoopster: http://pastie.org/37755118:54
jrwrenquizme_: can you pastebin your /etc/mysql/my.cnf ?18:55
quizme_jrwren: yes it does.  i just check it.  i'll paste it18:55
zoopsterjrwren: here is his pastebin from start up http://pastie.org/37753318:56
quizme_jrwren: http://pastie.org/37755518:57
jrwrenyeah, its almost like the /etc/mysql/my.cnf has --skip-federated instead of just skip-federated in it.18:57
jrwrenbut it doesn't.18:57
quizme_is it serious ?18:58
quizme_i feel like you guys are doctors trying to diagnose me with some fatal disease.18:58
jrwrenzoopster might know a lot more than me.18:59
jrwrenquizme_: its very strange.18:59
zoopsterheh18:59
jrwreni have the same package versions installed.18:59
zoopsterquizme_: verify you are starting mysql with /etc/init.d/mysql start18:59
jrwrenquizme_: what is the results of an md5sum on /usr/sbin/mysqld ?  does it look like this? http://pastie.org/37755719:00
quizme_oh crap19:00
quizme_i think i may have mixed up computers19:00
quizme_local vs remote19:00
quizme_.....19:00
quizme_lets' start with dpkg19:01
jrwrenrofl19:01
quizme_http://pastie.org/377561  #  dpkg19:02
zoopsterok...so that tells us something19:03
zoopsterand your my.cnf for that box?19:03
quizme_i'm back19:04
quizme_let me get that19:04
zoopsterquizme_: skip-federated was added in .6719:04
quizme_http://pastie.org/377564  # my.cnf19:05
jrwrenit looks like you are in the middle of upgrading that thing.19:05
quizme_btw19:05
quizme_oh19:06
jrwrenmysql-server pkg is 5.0.67, but mysql-server-5.0 is version 5.0.51a19:06
quizme_so19:06
quizme_what should i do ?19:06
jrwrenI'd run apt-get update && apt-get upgrade19:06
quizme_sometimes i type in random apt-get commands19:06
quizme_from the internet19:07
quizme_lol19:07
quizme_ok, i just did that apt-get update && apt-get upgrade19:07
quizme_but it's hanging here: 99% [Connecting to us.archive.ubuntu.com (91.189.88.31)]19:08
quizme_are u guys there ?19:10
jrwrenready and waiting to try to help.19:10
quizme_it's upgrading still19:10
quizme_lots of stuff is going on19:11
quizme_am i upgrading to 8.10 now ?19:11
jrwrenno19:11
jrwrenunless you previously told it to do so.19:11
quizme_i don't think i did19:11
quizme_it's updating massive stuff19:12
quizme_i thought myssytem was uptodate already19:12
quizme_i'm starting to like vi19:14
quizme_why do u guys sit here an help people?19:15
jrwrenquizme_: because we love linux and ubuntu.19:18
zoopsterit's a great reason to procrastinate real work19:20
zoopster:-D19:20
quizme_i see19:20
quizme_are u guys sysadmins?19:22
quizme_or programmers?19:22
quizme_or both?19:22
quizme_i love watching linux update itself19:24
quizme_it's like watching ocean waves19:24
quizme_u know humans are becoming part of an organism19:26
zoopsterI pretend to administer systems in my spare time19:27
zoopsterI manage a bunch of software vendors19:27
quizme_ok it's done updating finaally19:28
quizme_shoudl i do mysqld start?19:28
quizme_or /etc/init.d/mysql start19:29
quizme_or ps -a | grep mysqld ?19:29
quizme_hey it worked!19:30
quizme_thanks!19:30
quizme_oh man i'm happy19:30
quizme_thanks19:30
quizme_now i can go to sleep19:30
quizme_zoopster: i owe you a beer19:30
quizme_jrwren: i owe you a beer too19:31
quizme_have a good night!19:31
jrwreni'll take you up on that.19:31
quizme_i'm in Manila19:31
quizme_philippines19:31
quizme_swing by :)19:31
jrwrenwhen i visit there.19:31
quizme_dbitsolutions@gmail.com19:31
quizme_see ya19:31
quizme_good night19:31
zoopsterquizme_: cool...will do that some time..glad that work19:31
zoopstersee ya19:31
redLAWI watched your work here... it is fantastic!19:32
zoopsterredLAW: saw your q - did you search your favorite search engine - there are many how-tos on that subject19:35
redLAWi found sth19:36
redLAWbasicaly19:36
redLAWi want to host19:36
redLAWmy website at home and yet have gateway for home19:36
redLAWis it possbile with custom dns at dyndns service19:36
zoopsterredLAW: I do that with ubuntu server myself19:36
zoopsterredLAW: yes it is...I happen to have a static ip that I use19:37
redLAWi have dynamnic IP only19:37
redLAWavalible19:37
zoopsterredLAW: you may violate your TOS, but it can and is being done regularly19:37
redLAWhow do u mean TOS19:38
jrwrenredLAW: many US isps once prohibited inet sharing like that, but most allow it now.19:39
redLAWI;m in Europe19:39
jrwrenredLAW: you say "gateway", but what you really want is internet connection sharing, like NAT?19:39
redLAWyes19:40
jrwrenthe iptables oneliner will work.19:40
jrwrenredLAW: I don't know the "ubuntu-way" for that.19:40
redLAWcan you recommend me something19:41
redLAWto start19:41
jrwrenmodprobe iptable_nat ; iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE ;echo 1 > /proc/sys/net/ipv4/ip_forward19:42
jrwrenchange ppp0 to the network interface that is your outside (internet?) interface.19:42
redLAWok19:42
redLAWok19:42
jrwrenyou will need to do that every time you reboot, so maybe place it all in /etc/rc.local.19:42
zoopsterhttps://help.ubuntu.com/community/DynamicDNS has some info...19:43
jrwrensee also : https://help.ubuntu.com/community/IptablesHowTo19:43
redLAWok19:43
redLAWi will do best19:43
redLAWi found19:43
redLAWclarkconnect19:43
redLAWbut somehow19:44
redLAWthat project is closed19:44
redLAWi want freedom19:44
zoopsterredLAW: you can do it all yourself if you have the patience and time...it's fun to learn19:47
redLAWyes i have patience19:47
zoopsterprojects like clarkconnect and amahi just package it up for you19:47
redLAWyes19:47
redLAWi want to learn19:47
zoopsterall of the basic parts are there in ubuntu19:47
redLAWhow that parts work19:48
redLAWtogether19:48
zoopsterhelp.ubuntu.com is a great place to start19:48
redLAWok19:48
zoopsterthere are many books on the matter...but plenty of howto's...do some searching and you'll find lots of info19:48
zoopsterif you get stumped...ask here...there is always someone around that can help19:48
redLAW:)19:49
=== jjesse_ is now known as jjesse
ScottKsuigeneris: I am around now (day went differently than I thought).20:10
KartagisScottK, I am home now and I am Kartagis20:16
Kartagisso, shall we start? first off, what kind of information do you want from me?20:17
Kartagisyour day wasn't bad I hope20:19
ScottKKartagis: Not bad, just different.20:23
ScottKPaste me the command you were using to make your certs.20:24
piquadratHi! I put this command in root's crontab: "47 2 * * * /usr/sbin/ftplicity backup". But ftplicity is never invoked. When I start ftplicity manually, everything works. What am I doing wrong?20:25
Kartagisjust a sec, trying to find that page20:26
Kartagishttps://help.ubuntu.com/8.04/serverguide/C/postfix.html20:27
Kartagisthis was the page ScottK20:27
ScottKKartagis: That's way different than I do it.  Let me try and write something up tonight.20:30
ScottKsommer: Did you validiate the TLS key creation in ^^^20:30
Kartagisthank you ScottK20:30
sommerScottK: It's always worked for me in the past20:32
sommerScottK: thanks for the ping the other day, unfortunetly I haven't had time to work on that yet20:32
sommershould have time this week though20:32
axisysanyone here successfully installed ubuntu on t1000?20:37
Jeeves_Yes20:38
axisysi tried hardy sparc64 and intrepid sparc boot image .. both failed at disk detection20:38
Jeeves_axisys: It's easy20:38
Jeeves_It was with hardy, though20:38
axisysJeeves_: let me share my issue ..20:38
axisysi just posted it on mailing list with subject 'ubuntu install failed to install on t1000'20:39
axisysJeeves_: mine is failing like this http://pastebin.com/d6c31c0bd20:40
axisysJeeves_: i am using this https://help.ubuntu.com/community/Installation/Sparc20:40
Kartagist1000, is that a more evil model than t888?20:40
axisysbasically network-boot-arguments is where I am declaring the image path and all and then just boot net...20:41
Jeeves_axisys: Maybe intrepid is broken on sparc?20:41
axisysJeeves_: i tried with hardy sparc64 too20:41
ivoksaxisys: i did on TI UltraSparc IIIi20:41
axisysivoks: t1000 is of that category ?20:41
ivoksaxisys: i don't know :/20:41
axisysivoks: i can check real quick20:42
ivoksthis was sun fire v24020:42
ivoksi think this was an old machine20:42
ivoksit surely doesn't have 8 cores :D20:43
ivoksit's from pre-core era :D20:43
ivoksmaybe 2 :)20:43
axisysJeeves_: it is failing like this http://pastebin.com/d6692949a for hardy sparc64 boot img here http://ports.ubuntu.com/dists/hardy-updates/main/installer-sparc/current/images/sparc64/netboot/2.6/20:44
Jeeves_axisys: i've got no clue than20:45
Jeeves_hardy worked fine for me'20:45
axisysivoks: UltraSPARC-T1 is t100020:45
ivoksaxisys: i used http://cdimages.ubuntu.com/ports/releases/8.04.1/release/ubuntu-8.04.1-server-sparc.iso20:45
axisysivoks: t1000 does not have a cdrom20:46
ivoksoh20:46
ivoksstupid manufacturers :)20:46
ivoksok, let's see what can we do20:46
axisyswould be nice if i could point to the iso contents like solaris20:46
axisysivoks: :-)20:47
axisysin solaris i mount the iso and run setup_install_server followed by add_install_client and then on the client boot net - install.. and thats it20:47
axisysthat is how i installed solaris on this t100020:48
ivokson linux you have dhcp and tcpd20:49
axisysivoks: u mean tftp ? so setup a dhcp and then point to iso ?20:50
ivoksok20:50
ivoksi found an old conversation20:50
axisysivoks: i think u sent a link to me before..20:50
ivoksdid you power down your machine after running solaris?20:51
axisysivoks: yeah ..heh20:51
axisysivoks: yes.20:51
ivokslet's do that again :)20:51
axisysivoks: i can't find the conversation :-(20:51
axisysivoks: i just remember u were trying to help20:51
ivokspower of t100020:51
ivokspower it on20:51
axisysivoks: ok20:52
ivoksenter open firmware and run check boot?20:52
axisyspoweroff20:52
axisysAre you sure you want to power off the system [y/n]?  y20:52
axisysfrom SC>20:52
ivokssetenv auto-boot false20:52
axisysSC Alert: SC Request to Power Off Host20:52
axisysivoks: ok.. as soon as I bring it back on20:52
KartagisScottK, I am here20:53
ivoksaxisys: http://irclogs.ubuntu.com/2006/05/27/%23ubuntu-ports.txt look for TPC and follow the conversation20:55
ivoksaxisys: you might ask this on #ubuntu-ports too20:58
axisysivoks: this converstaion seems like how to build an image21:00
ivoksaxisys: but it starts with your problem21:01
KartagisScottK, are you there?21:01
axisysivoks: yes..21:01
ivoksaxisys: have you tried with 6.06?21:03
axisysivoks: not yet..21:04
ivoksi have 8.04 on TI UltraSparc II and TI UltraSparc IIIi21:05
ivoksyes, the first one is almost a decade old :)21:06
ivoksstill, great as slave DNS :)21:06
ScottKKartagis: I'm here now.21:23
=== jmarsden_ is now known as jmarsden|work
ivokshalf an hour later 'Kartagis: ScottK where are you?'21:25
ScottKI guess he went to bed.21:25
Bangers1I'm doing "sar -A 3 3 | tr -s ' ' ',' > /tmp/tmp.csv" -- BUT it's NOT putting it all on one line.  How can I do that?23:44
Bangers1A multi generic line CSV isnt very helpful :)23:44

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