/srv/irclogs.ubuntu.com/2010/05/28/#ubuntu-server.txt

=== zah3r is now known as ZAHER
elb0wIm having issues installing mysql ndb cluster on lucid00:24
elb0wanyone have similiar issues? I have seen bug reports00:24
SpamapSelb0w: what issues are you having?00:38
elb0winstalling 5.100:38
elb0wIt was complaining00:38
elb0wIm taking over from someone else though00:38
elb0will let you know when I hit it, thanks00:38
guhcamposelb0w, are you still there?01:30
guhcamposI'm having trouble with mysql (the normal server) too, only thing I've found was: http://goo.gl/wiEA01:31
elb0wdid it work for u?01:33
guhcamposhaven't tried01:40
guhcamposI can't mess up with the scripts01:41
guhcamposagains't company policies01:41
elb0wi just got it to run somehow01:41
zulmathiaz: now i am01:56
Rolexdewww.motherless.com02:42
=== rgreening_ is now known as rgreening
uvirtbotNew bug: #586647 in bind9 (main) "package libisc60 1:9.7.0.dfsg.P1-1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 2" [Undecided,New] https://launchpad.net/bugs/58664703:21
elb0wAny clue as to why I get SIOCADDRT: No such process when trying to set a static route?03:28
|corpse|im trying to install ubuntu server, right now when i load i get a trace all then it drops me to a shell. Is there anything i can do to get the install running from this shell?  the shell says (initramfs)03:38
elb0wget out while u can03:39
elb0wjust installed ubuntu server over debian03:39
elb0whave had more issues getting things running03:39
elb0wthat i have ever wanted03:39
elb0wtook 2hrs to get mysql ndb to work properly03:39
|corpse|i have been working on this for over a week now03:39
|corpse|the people in here are so sick of me that they dont even talk to me anymore =P03:39
|corpse|do you like debian? im just trying to set up a file server and mabey a webhost/mail host but im pretty new to linux so i was trying to stick with what i know03:42
ScottKThe Ubuntu Server installer uses the same installer as Debian.03:48
twbWell, *almost* the same ;-)04:09
ScottKIt's the same code base.  There are differences.04:59
benkanthello chaps. how do I install a specific version of PHP5? specifically I want 5.2 and not 5.3 ... would it still be in the repos?05:37
twbbenkant: in general, you can't.05:38
twbThe Right Thing is to hit your webdevs with a LART until they learn to write forward-compatible code05:39
benkantforward compatible? that's a bit rich!05:40
ScottKbenkant: On Ubuntu, run either Hardy, Jaunty, or Karmic.  With Lucid it'll be 5.3.05:42
twbWell, the normal implication of a new version x.y+1.0 is that it's backwards-compatible but not forwards-compatible, and thus systems targeted at x.y.z will Just Work with x.y+1.005:42
twbMaybe the PHP maintainers don't follow that scheme, or they just aren't very good at it.05:43
benkantshut up05:43
ajmitchthat was an interesting reaction05:46
ajmitchmost of the problems with php 5.3 lately are due to it spitting warnings on using deprecated functions05:46
ajmitchsomething fairly easily fixed in the appropriate php.ini05:47
ScottKI'm glad I didn't make the comment that I was thinking about supporting one version of php being insane enough.05:48
ajmitchsome people are still trying to transition from php 4, I think05:52
twbWhat happened here was that the PHP dev said "I don't know if this will work on PHP5" and management decided it would be cheaper to have me try to get PHP4 running on Etch than to get the app running on PHP505:55
twb...or was it mysql?  Yeah, I think mysql, not php.05:56
ajmitchchanging the object model from php 4 to 5 did make a few basement coders confused05:58
ajmitchPHP isn't really a language you look to for a good example of sanity, though05:59
twbajmitch: heh, "basement coders"06:00
twbThe idiom I usually use is "crack monkeys"06:01
* ScottK uses php developer06:10
SirMooQuick question. Does the server have a graphical gui or?06:18
twbWell, they're not the only ones06:18
twb"You can write Fortran in any language"06:18
twbSirMoo: it does not.  You can install one; this is discouraged.06:19
ScottKCertainly.  It's also possible to write readable Perl, but certain languages tend to encourage certain things.06:19
twbHeh.  Canonical sure is a Python shop ;-P06:21
twbI want to like lua, but these days it's hard for me to get enthusiastic about new languages06:26
=== Quack is now known as SirMoo
ajmitchScottK: I was referring to a certain type of PHP developer, the ones that proliferate those mountains of bad cargo cult code out there07:06
ajmitchsince there are certainly a number of php developers who can avoid the common php pitfalls07:06
ScottKRight, I'm not saying PHP can't be well done.07:15
ttxSpamapS: around?07:50
SpamapSttx: I am. goodmorning07:51
ttxSpamapS: I didn't see the meeting minutes yet07:52
ttxSpamapS: was wondering if you wree blocked on anything07:52
ttx(or if I missed them somehow)07:52
SpamapSttx: I sent them to ubuntu-devel and ubuntu-server .. thought maybe the list was set not to send people their own posts. Hmm.07:52
* ttx checks07:53
SpamapSttx: and I've been waiting for Mathias to enable my access on the blog.07:53
SpamapSttx: I see them in my sent items..07:53
ttxSpamapS: can't see it https://lists.ubuntu.com/archives/ubuntu-server/2010-May/thread.html07:54
ttxSpamapS: I had a few emails eaten by the list as well07:54
SpamapSweird.. ok I'll re-send07:55
ttxSpamapS: one time I had to have mathiaz send the notes for me, becaus ethey would constantly (and silently) reject my post07:55
ttxI've thinking about some agressive spam countermeasure07:56
ttxs/I've/I was/07:56
ttxSpamapS: if it's not there by your morning, go through mathiaz to get them sent :)07:57
ttxSpamapS: for ubuntu-devel, it should go through moderation. But ubuntu-server is not moderated07:58
SpamapSttx: I needed to re-register my subscription on ubuntu-server with my canonical email anyway07:59
SpamapSttx: I put out a flurry of MIR's today.. I presume with MIR's, the earlier in the cycle, the better, correct?08:04
ttxSpamapS: it's the same team of people that process them, and they tend to arrive late in the cycle. So yes, submitting them early is a good way to spread their load08:05
SpamapSttx: should be there now08:17
ttxSpamapS: ubuntu-server is in, yes08:18
ttxthanks !08:18
SpamapSttx: thanks for the heads up.. I wonder where they went?!08:18
ttxi've been asking myself the question when mine backholed :)08:19
SpamapSIS prank?08:19
xoenJust written an article where I explain how to create a vhost in Ubuntu GNU/Linux, maybe can help someone ( http://www.xoen.org/2010/05/create-vhost-in-ubuntu )08:34
leniosxoen, looks good08:37
xoenlenios: thank you :) :) (I hope all is correct too!)08:37
_tydeas_hi ppl i am trying to setup my apache and added <IfModule mod_userdir.c>UserDir public_html </IfModule> to /etc/apache2/apache2.conf but does not work. Any ideas?09:20
_tydeas_mod of public_html 77109:21
_tydeas_sorry 75509:21
=== \z is now known as ersoy
=== ersoy is now known as hersoy
_tydeas_anyone?09:30
RoyK_tydeas_: have you enabled the userdir module?09:33
_tydeas_how do this?09:34
_tydeas_in the <IfModule> UserDir enabled ... ?09:34
_tydeas_this is the only code i added <IfModule mod_userdir.c>UserDir public_html </IfModule>09:34
RoyKhttps://help.ubuntu.com/8.04/serverguide/C/index.html09:35
RoyKdo it the ubuntu way09:36
_tydeas_RoyK i see i just checked the mod_available dir :)09:37
RoyK:)09:38
RoyKjust symlink the mods-available/something to mods-enabled09:38
_tydeas_how i do that?09:44
_tydeas_ln -s target link_name ?09:45
RoyK_tydeas_: read the docs :รพ10:04
_tydeas_i cd mods-enabbled; ln -s ../mods-available/userdir.* and worked ;p10:07
Bjelleklangdoes anyone know if there are plans to upgrade php on Karmic to 5.2.11 anytime soon?10:09
henkjanjust bitten by an annoying bug :(10:24
henkjanhttps://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/51225310:24
uvirtbotLaunchpad bug 512253 in ifupdown "Mistake in /etc/network/interfaces keeps the system from booting" [Undecided,Confirmed]10:24
\shsounds more like upstart10:35
sorenhenkjan: In Lucid?10:36
\shifupdown does the right thing and tells you that you did a mistake in /e/n/i but upstart doesn't like it10:36
\sh_tydeas_, the right thing to do to enable an apache2 module is /usr/sbin/a2enmod <module name>10:39
henkjansoren: yep, lucid10:40
henkjantime for a walk downstairs and init=/bin/sh10:41
\shhenkjan, thank god there are RIBs ;)10:42
henkjanRIB = Remote ? ?10:42
\shhenkjan, remote insight boards10:42
henkjanah, ilom/alom/drac/whatever10:43
henkjanthese servers do have ilom, but the switch they are connected to has no more free ports :(10:44
\shhenkjan, buy more switches ;)10:45
\shbrb10:45
henkjan\sh: these new servers replace a few older servers. After migration i'll have free switchports enough10:46
jo_hello...10:54
jo_hi ...11:06
jo_anybody here?11:07
Aisonhttp://files.newsnetz.ch/bildlegende/20708/368983_pic_970x641.jpg11:47
=== rgreening_ is now known as rgreening
sommermorning13:48
bogeyd6hi13:54
ttxsmoser: ping me when around13:57
tucemiuxwhere do I find the md5 sum for lucid??13:57
ttxtucemiux: the md5sum of what ?13:57
Jeeves_tucemiux: relases.ubuntu.com/releases/lucid/MD5SUMS ?13:58
tucemiuxJeeves_, thanks!13:59
Jeeves_yw14:00
tucemiuxanyone knows if the server comes preinstalled with all the server stuff like apache, ssh, etc. and I will have to uninstall or do I have to install the packages and dont worry about having to uninstall stuff I wont be using?14:00
penguin42tucemiux: I'm pretty sure it's just a fairly basic initial install - I think it has openssh on, but very little else14:01
* penguin42 boots his server vm14:02
penguin42tucemiux: Yeh, very little installed14:04
tucemiuxok im going to fix a PII and install it there14:04
killownwhat the fuck happen with ubuntu? every day i need reboot system for system go back to work, it happen with ubuntu server lucid and ubuntu desktop lucid too14:23
killowni am pissed of this crap14:23
killownlast day i will use it, i am tired man....14:24
killowndoes it be like windows? need reboot every day14:24
killownfunny14:24
killowninternet connection stop to work every day, i can ping google but not retry connection14:25
killowne.g. wget google.com can't get url14:26
killownits timeout14:26
killownbut ping works14:26
killownthere is no firewall in it14:26
killownits happen in two different machines14:27
killownso i think its a big problem with ubuntu14:27
Jeeves_killown: Chill out dude. :)14:28
Jeeves_What's your problem?14:28
killownwhen i use windows 7 i don't need reboot the system every day to internet go back to work14:28
killownoooh man i am pissed of with ubuntu14:28
killownright now my server stoped network connections14:29
killownubuntu server lucid14:29
killowni can ping google but not get url with wget google.com14:29
Jeeves_ok. You can ping google.com from your server?14:29
killownyes, i do14:30
Jeeves_so 'ping www.google.com' works?14:30
killownworks fine14:30
Jeeves_ok, and 'telnet www.google.com 80' ?14:30
killownbut i am closed ssh connection14:30
killownand now i can't connect to the server again14:30
killownJeeves_, wait a moment14:32
killownJeeves_, look that Trying 72.14.253.104...14:32
killownits resolving dns14:32
killownbut telnet: Unable to connect to remote host: Connection timed out14:33
Jeeves_ok, so dns works14:33
Jeeves_can you do a traceroute?14:33
killownyes, looks fine14:33
killownlet me try14:33
ttxsmoser: around ?14:33
killowntraceroute to google.com (72.14.253.104), 30 hops max, 60 byte packets14:34
killownJeeves_, http://pastebin.com/Qby9A0rc take a look14:35
killownits not getting any route14:35
killownany problem with kernel + netfilter i think14:35
killownJeeves_, i am using the basic ubuntu installation14:36
killownthere is no firewall set up14:37
killownits a fresh install14:37
killownwih system updated14:37
killownwith*14:37
killownsorry man but i can't use a system who i need reboot every day to the internet go back to work.... i reinstall ubuntu a lot times to get ride of this issues but i have no clue what happen14:39
PwrOk, I'm just gonna copy-past this here again :)14:40
PwrHi there! I'm using ubuntu for a while now, and I've decided to use ubuntu on my home server. What it will do is run Sabnzbd, a torrent client and serve files (password protected shares) to windows and ubuntu computers. After installin the server all I get is a commandline... And I'm lost. "apt-get update" gets errors (as in, internet not working). So where do I begin? Is there a manual for beginners?14:40
Jeeves_killown: Hmm.14:40
Jeeves_So ping works, but traceroute doesn't14:41
Jeeves_what does 'ip get 72.14.253.104' say?14:41
killownJeeves_, does it be a masquerade or nat problem?14:41
dhrubaI have configured a NFS Server on Ubuntu 10.04 Server and some windows XP machines used as client through SFU. Most of them are working just fine. But a few are loosing the user maps. These machines are on Wireless network. Any idea how to solve this?14:41
killown ip get 72.14.253.10414:41
killownObject "get" is unknown, try "ip help".14:41
Jeeves_dhruba: Ditch the windows client14:41
Jeeves_+s14:41
Jeeves_killown: Hmm14:42
Jeeves_ip ro get, sorry14:42
killownCommand "72.14.253.104" is unknown, try "ip route help".14:42
killownroot@ubuntu:~#14:42
dhrubaCould not understand. Please elaborate.14:42
Jeeves_gree14:43
Pici!who14:43
ubottuAs you can see, this is a large channel. If you're speaking to someone in particular, please put their nickname in what you say (use !tab), or else messages get lost and it becomes confusing :)14:43
Jeeves_grrr14:43
Jeeves_dhruba: I expect your Windows XP with crappy clients on wireless to be the issue14:43
PwrPwr: i ment ubuntu-server in my story above14:44
Jeeves_killown: ip ro get 72.14.253.104 doesn't work?14:44
Jeeves_It does on my machine14:44
dhrubaWhile pinging, I am finding 3-5 ms from the wireless clients. Whereas, from the wired clients, it is <1 ms. Could this the reason?14:44
killownroot@ubuntu:~# : ip ro get 72.14.253.10414:44
killownroot@ubuntu:~#14:44
Pici!serverguide | Pwr Is this what you're looking for ?14:44
ubottuPwr Is this what you're looking for ?: The Ubuntu server guide may be found at http://help.ubuntu.com/10.04/serverguide/C/14:44
killownJeeves_, i think not14:44
killownJeeves_, ping working http://pastebin.com/3JcxfyWT14:45
Pwrpici: yes and no, for some reason I cannot connect to the internet, I had to disconnect from the internet during installation because it gave errors (could not retrieve packages etc.)14:45
Jeeves_killown: And 'ip ro list'14:46
PiciPwr: Wired or Wireless?14:46
PwrPici: so a simple command to get internet-acces (dhcp would be fine for now) would get me further then I am right now. But I can't seem to find the command14:46
PwrPici: wired14:46
Pwreth114:46
PwrI'm sorry for my noobishness :)14:46
killownJeeves_, http://pastebin.com/fndQz65p14:47
PiciPwr: sudo ifup eth114:47
Jeeves_killown: Hmm, you've got two default routes..14:47
dhrubaquit14:47
Jeeves_To the same destination, but still14:47
killowni will delete it , wait a moment14:48
Jeeves_killown: Are you using dhcp?14:48
killownnot14:48
killownstatic ip14:48
PwrPici: "ignoring unknown interface eth1=eth1" error14:48
PiciPwr: Are you sure that your ethernet device is eth1? What does ifconfig say?14:48
killownrouter is serving dhcp to range 192.168.1.100/192.168.1.20014:48
bogeyd6most ethernet devices are eth014:49
PwrPici: "ifconfig -a | greph eth" tells me there is an eth0 and an eth1 interface14:50
Pwrthere is a cable in the eth1 interface14:50
bogeyd6change it to the other port14:50
bogeyd6and try again14:50
bogeyd6ubuntu usually mixes and matches my ethernet ports on my HP servers where the single NIC has two ports14:50
bogeyd6sometimes top is 0, sometimes 114:50
Pwr"sudo ifup eth0" gives me the same error now14:51
Pwrbut instead of eth1 it says eth014:51
bogeyd6cisco router with spanning tree?14:51
killownJeeves_, http://pastebin.com/qs1j8Faw its from ubuntu desktop lucid, and everyday i need reboot the system, so i think the problem is not the route14:51
Pwrbogeyd6: netgear wnr854t, simple home router14:51
PwrI might be better of installing ubuntu normal and fiddle with that I suppose, the server edition seemed more appropriate for my goal but might just be a tad too complicated for me :)14:52
killowni have no reasons to need change routes and ip issues in ubuntu desktop, i don't know how internet stopping to work14:52
killownon windows 7 system it can work for a lot days without need reboot the system, why i need reboot it when i am using ubuntu?14:53
killowni will show you my /network/interfaces14:53
killowni will reboot the router right now, if it won't work... so i will install another system14:54
killownhttp://pastebin.com/bntjCezf14:55
smoserttx, here14:58
ttxsmoser: got 5 min for Mumble ?14:58
smosersure14:58
smoserfinding headset14:58
ttxsmoser: join me on 1:114:59
ttxwell, I made you join me :P14:59
Jeeves_killown: Do you have it statically configured on windows too?15:02
killownJeeves_ yes15:02
killownJeeves_, ubuntu 10.04 fresh install updated , i am just installed squid and no more apps no more changes, i will show to the iptables-save out15:04
Jeeves_Too weird15:06
killownJeeves_, apt-get install emacs working15:07
killowni think it is a problem with port 8015:07
killownits happen in ubuntu desktop lucid too15:08
killownhttp://pastebin.com/QkZvLwx615:08
killownJeeves_, this crap thing is happen a lot weeks, i think its the last day to get any fix to this problem15:11
Jeeves_killown: If you've got NAT configured, it's not a default install, is it15:12
Jeeves_?15:12
killownJeeves_, i never touch in firewall15:12
killownits a default from ubuntu15:12
Jeeves_Hm, yes. I see.15:14
Jeeves_I've got no clue... Sorry.15:14
killownJeeves_, after upgrade to lucid i started with this problems15:14
killownok no problem15:14
killowni will install another distro15:14
killowngive up of ubuntu15:15
killownthanks for you help15:15
Jeeves_yw15:15
EtienneGhggdh, quick q. for you: when you test UEC, what do you use for the public IP range?  do you use an unused range of IP in the same subnet as the public interface of the CC, or a different subnet entirely?15:25
hggdhEtienneG: a different subnet15:32
hggdh(with a different base address)15:32
hggdhEtienneG: but --AFAIK -- you could use the same base address, and separate subnets15:33
uvirtbotNew bug: #586840 in php5 (main) "PHP is disabled by default for publishing from user's public_html folder using userdir module" [Undecided,New] https://launchpad.net/bugs/58684015:36
EtienneGhggdh, IIRC, there used to be a bug where you could not use a range of spare IP in the same subnet as the CC public interface (routing would be messed up on the CC), but everyone I have been talking to lately claim it is not a problem.  Testing it now, we will see very shortly.15:40
EtienneGhggdh, if my suspicion is correct, that would be a major issue.15:40
hggdhEtienneG: yes, I would consider this a Bad Thing(TM)...15:41
hggdhEtienneG: we also noticed another thingie, dealing with SCs: by default you could not have more than 32 volumes per SC15:42
EtienneGhggdh, that is mighty broken15:43
hggdhEtienneG: kirkland is patching it to the maximum allowed by one SC: 256 volumes, 256 snapshots15:43
hggdhEtienneG: do you have enough space to create 512 volumes and snapshots?15:43
EtienneGhggdh, I am so glad we someone QA these things, means I will not get to have to chase these problems myself when installing!15:43
EtienneGhggdh, define "space"?15:44
EtienneGhggdh, on my new cloud? no, unfortunately15:44
hggdhdisk space in the SC -- you need at least 1G per {snapshot,volume}15:44
EtienneGhggdh, but do not worry, next week I will be working on hardware that have disk in the TB range15:44
hggdhEtienneG: yeah, neither do I...15:44
hggdhcool!15:45
hggdhEtienneG: when you get to have the space, ping me (if the fix has not yet being made available). It is an easy change in upstart to test it15:46
hggdhor even manually, on Lucid15:46
EtienneGhggdh, no prob ... in fact, *you* can ping me at your leisure early next week on the subject.  I will have access starting Tuesday15:47
hggdhEtienneG: thank you, will do15:47
hggdh:-)15:47
=== destro is now known as dendrobates
tucemiuxanyone knows the system requirements for ESXi?16:40
zultucemiux: have you checked vmware's webpage?16:42
tucemiuxzul,  im looking but they dont have a minimum system requirements section per se, what they have is a hardware compatability section, I dont want to know if my system is compatible or not, i want to know if I have enough juice to begin with16:43
ubuntu-usrhi16:52
ubuntu-usrwhere i can find apache logs?16:53
Piciubuntu-usr: /var/log/apache2/16:53
cybrocopHi all. I am on Ubuntu 10.04. I just enabled my motherboard's SATA RAID functionality. How can I tell Ubuntu to see the raid volume now?16:53
elb0wAny clue as to why I get SIOCADDRT: No such process when trying to set a static route?17:05
ubuntu-usrdo you know any good, open source groupware?17:10
Guest_52_is it good to run the vbox on ubuntu server for enterprise level? the one that is in the repository of ubuntu17:14
guntbertGuest_52_: if you don't need usb and vrdp - yes17:17
Guest_52_vrdp like the rdp in windows?17:18
guntbertGuest_52_: its a rdp server to reach the VM17:19
Guest_52_so rdp server isnt working in the free version and the usb? thats all?17:19
=== bc is now known as bo
=== bo is now known as bc
=== bc is now known as oevna
=== oevna is now known as bc
guntbertGuest_52_: as far as I know thats the big difference, but you can see for yourself on http://www.virtualbox.org/wiki/Editions17:21
Guest_52_not so big difference ( i think ) if using for a headless and handless server17:23
elb0wso no one has an answer as to why I get SIOCADDRT: No such process when trying to set a static route?17:23
elb0wIt was working fine17:24
elb0wthen all of a sudden17:24
elb0wissue17:24
penguin42what exactly is the route you are trying to add?17:26
elb0wsec17:32
elb0wroute add -net 198.140.50.0 netmask 255.255.255.192 gw 10.147.201.17417:33
penguin42can you ping the gw ?17:34
elb0wgood question17:34
elb0wif it wasnt production17:34
elb0wid swap the cables now17:34
elb0wbut whats odd17:34
elb0wis earlier that night17:34
elb0wsorry enter is a bad habbit of mine17:35
elb0wEarlier that night I was using the exact same command to set the static route and it was working no problem17:35
penguin42also try specifying the interface17:35
elb0wI did try that as well17:35
guntbertelb0w: is your interface up ?17:35
elb0wI had originally added it to the /etc/network/interfaces17:35
elb0wYes I can bring it up no issues17:36
elb0wOriginally I had a up statement in the interfaces file that would look something like17:36
elb0wup route add -net 198.140.50.0/255.255.255.192 gw 10.147.201.174 eth317:36
elb0wbut that was not working, so I went to the manual line entry which it then worked17:36
elb0wSince I have commented ou the up / down statements I added to eth3 and it worked once then following had issues a few hours later17:37
elb0wI have checked the /etc/network/interfaces file and i cannot pick out any errors17:37
penguin42generally the things to check are that there is a route to the gateway17:38
elb0wOk, could I show you my interfaces config and you tell me if it all looks ok?17:38
elb0whttp://pastebin.ca/187341517:40
bogeyd6.keepersoflists.org no longer exists, for shame17:42
penguin42elb0w: Your net mask in the config is different17:44
elb0warent they for two different ips?17:45
elb0w255.192 is for 198.14.50.0 and 255.240 is for 10.147.201.16117:46
elb0wor am I wrong17:46
elb0wim not a networking guy17:46
penguin42elb0w: The netmask you have for the 192.168.42.91 is 255.255.255.017:46
penguin42oh hang on, that was a different one again17:47
elb0weth317:47
elb0wis what i want17:47
elb0weth0 is internet17:47
penguin42so you have two gateways there - what do you want to go to the 10.147.201.174 one?17:49
elb0wim not sure now you are confusing me17:50
elb0wthe route add statement I had isnt valid?17:51
elb0wroute add -net 198.140.50.0/255.255.255.192 gw 10.147.201.174 eth317:51
elb0w?17:51
elb0wwont it use eth3 by default because it has the gateway?17:51
penguin42hang on a sec, while I reread it17:53
elb0wsure thanks17:54
penguin42so you shouldn't need the eth3 at the end of that because it should know that's where that gw goes17:56
elb0wyeah17:57
penguin42assuming that is that eth3 is happy17:57
elb0wthe proble was I was getting that error17:57
elb0weth3 goes up without complaining17:57
elb0whow could I tell if it has an error17:57
penguin42can you ping the gateway?17:58
elb0wcant check now but they may have icmp off17:58
elb0wwell let me check on production box17:59
* penguin42 is still a little curious about the gateway line in the interfaces file17:59
elb0wwhat about it?17:59
penguin42well, what does it mean18:00
elb0wits the gateway for that nic no?18:00
penguin42the gw on net0 is adding a default gw for all traffic isn't it? What do you want to get routed to that gw ?18:01
lunaphyte_exit18:01
elb0wto which gateway?18:01
elb0weth0?18:01
uvirtbotNew bug: #586898 in php5 (main) "php5 cli segmentation fault when executing script" [Undecided,New] https://launchpad.net/bugs/58689818:01
penguin42elb0w: Well the gw in the eth0 section is a default route for all traffic that isn't on the local eth0 segment; but what is the gw on eth3 ?18:02
killownJeeves_, hey18:04
elb0wthe gateway?18:09
elb0wwhat do you mean by that18:09
elb0wgateway is the router no?18:11
penguin42elb0w: And what traffic does the router on eth3 route?18:13
elb0wfor one of our datafeeds18:13
elb0wlive market data18:14
osmosisstrange,  [Fri May 28 10:14:24 2010] [error] Exception KeyError: KeyError(139782945621824,) in <module 'threading' from '/usr/lib/python2.6/threading.pyc'> ignored18:14
penguin42no, I mean from the point of the host from the entry in interfaces what should the system route down there18:15
elb0wthats the address of our nic on their network18:16
elb0wI think18:16
penguin42no it's not18:16
elb0wgod I should of payed more attention in my cisco classes lol18:16
elb0wOk we have a router from another company18:16
elb0wOne of the nics on this box (eth3) goes to this router18:17
penguin42elb0w: OK, there are 2 different cases for gateways, the default route and ones that route a specific route18:17
elb0wwe have a process that takes data and sends requests through eth3 -> router -> them and <-<-<-18:17
penguin42elb0w: The gw line in an interfaces stanza adds a default route for all traffic18:17
penguin42(not otherwise rotued)18:17
elb0wbut then if i dont put gateway there I have to specify eth318:18
elb0wright?18:18
elb0wwhen I add the route18:18
penguin42so for your internet one it makes sense - it says everything that didn't have anywhere else you knew where to send it go this way18:18
elb0wah gotcha18:18
elb0wthat is why default route was swapping to eth3 when I had it enabled?18:18
penguin42elb0w: Right, but the gw in a route command is different if you specify a net or host to route to18:19
elb0wyes but if I do not specify eth3 how would it know which nic to go through?18:19
penguin42the fact that you might have a router on there doesn't mean you want it to route all traffic does it? If not then remove the gw line from the eth3 stanza in the interfaces file18:19
elb0wcorrect18:19
penguin42elb0w: You do need the gw in the route, but not in the interfaces file for eth3 the way I'm reading your setup18:19
elb0wyes you are very correct18:20
elb0wI guess my question is how am I defining the nic to use by doing add route18:20
=== ri is now known as Guest52063
elb0wso is this saying I add eth3 at the end?18:20
elb0wroute add -net 198.140.50.0/255.255.255.192 gw 10.147.201.174 eth318:20
penguin42you shouldn't need to18:21
=== Guest52063 is now known as cyclist
elb0wso I should not be specifying the gateway for eth3 anywhere then?18:21
elb0waside from the route statement18:21
=== cyclist is now known as redsherpa
penguin42that's my reading of it yes18:22
elb0wok18:22
redsherpahttp://pastie.org/98210318:22
elb0wthanks for all your help penguin42, I feel like I understand alot of things better now18:22
elb0wyeah I was havin mysql problems last night18:23
SpamapSredsherpa: I believe there's a fix set to be released for that.18:24
redsherpaSpamapS:  Okay, thank you.  I contributed to the bug, and was hoping it would be fixed soon.  Sometimes patience is just the only option.18:25
killownwhat advantages do i have to use apparmor?18:30
jpdsadvantages?18:31
penguin42killown: It means even if there is a bug in the application you can restrict what can be accessed18:33
killownpenguin42, the apparmor is affecting my internet connection18:33
killownafter hours my internet stop to work18:34
killownafter stop it my internet go back18:34
penguin42killown: For example it's used on evince so that if you open a pdf with it then it stops a nasty pdf accessing files it shouldn't18:34
killownor after reboot the system18:34
penguin42killown: It shouldn't do much with internet - what makes you say it's related to apparmor ?18:34
killownpenguin42 because every day my internet stop to work18:35
killowni did try everything to fix it18:35
penguin42and what makes you say it's apparmor and not something else?18:35
killownJeeves_, tried to help me but he can't18:35
killownso i was giving up it18:35
killownbut after stop apparmor18:35
killowni could get internet go back to work18:35
penguin42what type of internet connection do you have? Are there any log errors when internet connection is lost?18:36
killownpenguin42, the problem is, suddenly internet stop but i can ping google and do another things related to outgoing connections18:36
killownno log erros18:36
killownerrors18:36
penguin42killown: so if you can ping things what  doesn't work?18:37
killownpenguin42 wget google.com18:37
killowncant work18:37
killownw3g google.com18:37
killowncant work18:37
penguin42any errors?18:37
killownpenguin42, no errors18:39
killowni forgot to check apparmor logs18:39
penguin42it's unlikely to be apparmor then - what made you think it was apparmor?18:39
killownpenguin42, because it go back to work after stop apparmor18:39
penguin42have you added any apparmor config?18:40
killownpenguin42 no18:40
killownits a fresh ubuntu install18:40
killownwith apparmor default settings18:41
penguin42that's pretty odd - apparmor normally says in the log if there is anything it blocks, so I doubt it's actually apparmor that's the problem18:41
killownpenguin42 what would be?18:41
penguin42how are you connected to the internet?18:42
killownpenguin42 modem >> router >> machine18:42
penguin42ethernet between router and machine?18:42
killowndon't care if i try reboot modem or router, it won't work18:42
killownyes18:43
penguin42so when it fails check /etc/resolv.conf and do an ifconfig -a and /sbin/route -n   and see if it changes from when it's working18:43
killownpenguin42 http://pastebin.com/1zgwDcsi18:44
killownand http://pastebin.com/AK3Tu6rb18:44
killownnow i rebooted and working fine18:44
killowni don't know when it will stop to work again18:45
penguin42the 1st one doesn't seem to show an ifconfig or /etc/resolv.conf18:46
killownpenguin42, http://pastebin.com/AK3Tu6rb  do not?18:47
penguin42no18:47
killowni saw resolv.conf there18:47
killownhow you can't ?18:47
penguin42yeh 2nd has resolv.conf, no ifconfig18:47
killownifconfig is the same set in network/interfaces >> http://pastebin.com/1zgwDcsi18:48
* penguin42 goes back a step - is it downloading from br.archive.ubuntu.com in the 1st one?18:48
killownpenguin42, note: to get this informations i was connected via ssh to the machine18:49
penguin42it's odd that only google and the like don't work when the rest of your connectivity seems to work18:50
penguin42yet your DNS resolution looks fine18:53
penguin42killown: There is an apparmor profile for tcpdump, so if that was wrong, yes it could break that18:55
cn1109I'm currently using apache2 and when I try a2ensite I get the following error: No site found matching /etc/apache2/site-available/www.mysite.com and also the same thing for sites-enabled. Any solution?18:56
remix_tjcn1109: do you have a file called www.mysite.com in that dir?19:04
mtsmithHey everyone -- I've been reading up on installing Tomcat using apt-get but I've been reading about problems arising from using the packages as opposed to a clean build. Can anyone show me "the right way"? ;-) Thanks19:07
tucemiuxanyone knows what the minimum requirements are?19:08
cn1109remix_tj: yes. I used pico www.mysite.com on /sites-available/19:09
cn1109remix_tj: Is that how you create the sites?19:10
tucemiuxi mean, anyone knows what the minimum **memory** requirements are?19:10
remix_tjyeah cn1109 i create the file in /etc/apache2/sites-available/, then enable it19:11
remix_tjcn1109: is the file with correct content?19:11
tucemiuxubuntu server  will work with 128MB of ram, nice !!!19:12
cn1109remix_tj: RIght now i just copied the default file and renamed it to www.mysite.com19:12
remix_tjcn1109: a2ensite gives the same error now?19:13
cn1109remix_tj: It starts such as: <VirtualHost:*80> and so on with the directories ,etc..19:13
remix_tjkk19:13
cn1109remix_tj: It does19:14
cn1109remix_tj: It does give me the same problem19:14
mtsmithtucemiux: we run a few slices on slicehost using Ubuntu karmic on 128mb. runs a okay... can't do crazy stuff, but normal stuff. just fine.19:14
StrangeCharmi'm trying to install wordpress on a fresh install of 10.04. i installed lamp with tasksel, but when i try to access wordpress's .php files from a browser, it gives me downloads of text php files, rather than rendering pages. what's going on?19:16
remix_tjcn1109: are you launching a2ensite with sudo?19:16
cn1109remix_tj: no. i'm running it as root.19:16
tucemiuxStrangeCharm, sounds like the php is not being executed, maybe it's a permissions issue?  I'm still new at this19:17
StrangeCharmtucemiux, i don't think that it's permissions19:17
remix_tjcn1109: sure? this should be a problem related to permissions issues19:18
remix_tjStrangeCharm: a2enmod php5 ?19:18
cn1109remix_tj: Just tried it with sudo. Same problem19:18
tucemiuxi'm thinking about installing my web server and ssh server on the same machine, any thoughts on this?  I wont be doing anything resource hungry, just for personal stuff19:18
StrangeCharmremix_tj, it's already enabled19:19
remix_tjStrangeCharm: uhm... sure?19:20
remix_tjcn1109: cd /etc/apache2/sites-available19:20
remix_tjsudo a2ensite records19:20
remix_tjrecords is the filename19:20
remix_tjit gives me no problem19:20
cn1109remix_tj: I restarted my server. Now it works. I was actually using the old way and not just going into the dir and using a2ensite19:21
remix_tjbut afaik this should work also without cd19:23
ruben23hi guys can anyone help with visudo..? i got syntax error when i add up entries on it19:30
SpamapSruben23: maybe pastebin the offending lines? http://paste.ubuntu.com19:32
ruben23http://pastebin.com/W7e9pmp0 <-----------this will say syntax error when i save it form visudo19:38
tucemiuxhow should I manage upgrades?  should I use Landscape,  install automatically, or "no automatic updates"??19:38
penguin42tucemiux: It depends a bit on your circumstances19:39
penguin42tucemiux: If you manage your machines and watch security issues then you can do noauto and do it yourself - but just make sure you do19:39
penguin42tucemiux: Install automatically should work - but of course occasionally an update might break something when you aren't watching it19:39
ruben23SpamapS: ..?19:40
tucemiuxpenguin42, so if i pick no automatic updates I can still do the updates manually?19:40
penguin42yes19:40
tucemiuxcan I choose landscape later on?19:40
penguin42not sure, I don't know how the landscape stuff works19:40
tucemiuxpenguin42, how do I update manually?  use sudo apt-get update? O_o19:42
penguin42tucemiux: Yeh followed by sudo apt-get upgrade19:43
SpamapSruben23: ruben All = All you're not specifying what you're allowing ruben to do on all servers.. needs to be ALL=(ALL) ALL19:43
tucemiuxpenguin42, thanks!  its installing19:44
zulmathiaz: ping do you need to join ubuntu-server to triage ubuntu-server bugs?19:45
tucemiuxwhat is the tomcat java server useful for?19:46
ruben23 SpamapS: yes thats my syntax, but i get error.19:47
SpamapSzul: I'm a member of ubuntu-server team already btw. ;)19:47
ruben23when i save it it gets error and when i go bac it will became All=All19:47
zulSpamapS: oh you might want talk to mathiaz about that then19:48
RoyKjust copy the root line and change it to ruben19:48
SpamapSzul: is there something that can be turned on that automatically reports bugs when there is a segfault? that guy seems to have a *lot* of segfault bugs.19:49
SpamapSmaybe he has a bad RAM stick19:49
SpamapSand no error checking19:49
mathiazzul: what do you mean by triaging bugs?19:49
mathiazzul: the ability to set importance and statuses?19:49
ruben23SpamapS: see this ------>http://pastebin.com/zSvQz7BM19:50
zulmathiaz: yeah19:50
mathiazzul: you need to be part of the bug-control team IIRC19:50
zulk19:50
zulmathiaz: clint doesnt have access so he can do his triaging today19:51
mathiazSpamapS: read up on https://wiki.ubuntu.com/BugSquad19:52
mathiazSpamapS: basically you need to be aware of the basic rules about triagging in Ubuntu19:52
SpamapSmathiaz: I joined bugsquad too.. but not bug control I think19:52
hggdhzul: are you not a member of -control?19:52
mathiazSpamapS: you can then apply to become a member of the bug-control team19:52
SuperLagmathiaz: but this is SpamapS. I thought he knew *everything* there was to know about anything important?? :D19:53
mathiazSpamapS: in order to join you need to show a basic understanding of the bug triaging process19:53
* SuperLag hides19:53
mathiazSpamapS: the bar is quite low - it should take you a couple of hours and a couple of bugs19:53
* SpamapS appreciates SuperLag's support19:54
mathiazSpamapS: the wiki page outline what needs to be done19:54
SpamapSmathiaz: I'll get started then. :)19:54
ruben23SpamapS: got it..?19:54
SpamapSruben23: yes but I can't tell which line is 4219:55
zulhggdh: yeah i am but we are talking about SpamapS here ;)19:55
hggdhheh. My bad19:56
ruben23SpamapS: line 42 is ruben.19:57
amstanhey guys, i'm having issues with the 64bit installer19:59
SpamapSruben23: I'm stumped.. it looks fine19:59
amstani get to installing base system, near the end19:59
amstanand i get: base-installer: error: exiting on error base-installer/kernel/failed-install19:59
zuloh that sucks gary coleman is dead20:16
SpamapSfirst britney murphy, now this.. somebody hide Scott Baio20:18
zulSpamapS: this would help to make things go faster https://wiki.ubuntu.com/Bugs/Responses20:43
SpamapSzul: excellent smithers...20:45
=== cs278^kinslayer is now known as cs278
elb0wshould I worry about this? postconf: fatal: open /etc/postfix/main.cf: No such file or directory21:28
EtienneGhggdh, just FYI, my earlier suspicion where incorrect21:37
EtienneGa free range in the current subnet works just fine for public IP21:37
EtienneGit was a pre-karmic bug, somehow I remained under the impression it would not work21:37
EtienneGI am verymuch relieved21:37
jackinloadupLooking for a search tool to place on a fileserver with about 21TB of data. I have looked briefly looked into Gnome Tracker and Beagle, but im not sure if there are other options. Suggestions? Preferably I would like to be able to search on another computer but I will take what I can get.21:38
=== schmidtm_ is now known as schmidtm
elb0wroot@mdguru2:/home/gtsafas/GIT/RSIGrid2/SecurityMaster# route add -net 198.140.50.0 netmask 255.255.255.192 gw 10.47.201.17421:46
elb0wSIOCADDRT: No such process21:46
elb0wany ideas?21:46
RoyKelb0w: is 10.47.201 available?21:49
RoyKif that network isn't available, the gateway isn't either21:50
RoyKpastebin netstat -rn and ifconfig21:50
hggdhEtienneG: heh. So am I :-)21:52
elb0wHow can I clear all static routes ive added21:54
elb0wDestination     Gateway         Genmask         Flags Metric Ref    Use Iface21:55
elb0w10.47.201.174   *               255.255.255.255 UH    0      0        0 eth321:55
elb0whow can I remove that21:55
=== pgraner is now known as pgraner-afk
penguin42hmm I wonder why this vm has 102 udevd's running22:05
Method_man_i have a problem22:19
Method_man_any one is here22:19
penguin42state the nature of your ubuntu-server problem22:21
bogeyd6!anyone | Method_man_22:22
ubottuMethod_man_: A 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?22:22
Method_man_?22:23
Method_man_i wants to know the command for opening my ssh acount through. terminal22:24
penguin42opening?22:24
Method_man_sory open22:24
webPragmatisthey guys have any of you attempted to use csync to sync cron.*22:24
guntbertMethod_man_: ssh account@host.name22:24
webPragmatistand did something like prefixing the scripts with global. maybe?22:24
webPragmatistor suffix22:24
Method_man_oki wait dir let me try22:25
webPragmatisthrm22:27
webPragmatistis it possible with csync2 to delete a file if it exists on a slave22:27
Method_man_humm taking time22:27
Method_man_do i have to specify the ports?22:27
bogeyd6try this Method_man_ , ssh username@ipaddress22:27
Method_man_ip adress?22:28
=== erichammond1 is now known as erichammond
tucemiuxI can log in locally to my ssh server but I keep getting permission denied from outside on the net ???22:33
penguin42when you say 'permission denied' at what point exactly do you see that - and is that the actual error?22:36
=== Method_man_ is now known as bihari
tucemiuxpenguin42, it looks like it's a DNS issue, Im using password login, I type in my password on my laptop using a tethered connection and cant log in, I login from my desktop to the ssh server located locally, type my passwrod in, and im in22:38
penguin42are you sure you are actually getting to the machine you expect?22:38
bihariany indian here22:39
tucemiuxpenguin42, yes, im getting to the machine, im seeing my banner, I dont think it's a DNS issue :-(22:40
tucemiuxpenguin42,  you know what /etc/resolv.conf is for??22:41
penguin42tucemiux: It tells your machine how to do DNS lookup22:41
webPragmatistwoh22:41
tucemiuxpenguin42,  can that be any DNS server? it's currently pointed to 167.206.251.30, dont know why22:43
penguin42tucemiux: Yes it can, it's normally assigned by DHCP from your router unless you've set it up by hand22:43
tucemiuxpenguin42, it looks like that IP is owned by Cablevision so it's legit, im going to change the resolv.conf see if it helps any22:44
tucemiuxpenguin42, still no dice!  I have a spanking brand new install, is it a firewall rule that's blocking me from the outside?22:46
penguin42tucemiux: how exactly are you connecting to your machine?22:46
tucemiuxpenguin42,  ssh -p 1111 username@myhostname.here   , I see my banner, then it prompts me for the password, I type in my password and wont let me in while connected from the net22:47
penguin42well it won't be firewall if it's let you connect that far22:48
tucemiuxPermission denied, please try again.22:50
guntberttucemiux: the username is not root?22:50
tucemiuxguntbert, nope22:50
guntberttucemiux: was just a thought ..22:51
penguin42tucemiux: That really is a case of it thinking the password is wrong or the username is wrong22:52
penguin42although you could check /var/log/auth.log for more info probably22:53
tucemiuxpenguin42, can i be logged in twice? One locally, another from the outside?22:56
penguin42tucemiux: Yes, that's fine22:56
tucemiuxpenguin42,  Bind to port 1111 on :: failed: Address already in use22:58
tucemiuxpenguin42, it looks like it's pointing to the ssh server im going to demote :-(22:59
tucemiuxsorry, silly me23:01
tucemiuxok i took down old ssh server down, configured router and rebooted, going to reboot new ssh server as soon as my router is up23:02
bihari?23:04
biharii have a remote shell23:04
bihariyou know how to make a shell on ubuntu23:04
tucemiuxyes i do23:05
tucemiuxpenguin42, thanks i figured it out23:05
norrechow to you add drivers to the install cd?23:05
=== unreal_ is now known as unreal
penguin42hmm23:26
norrecI'm trying to install onto a drive that is attached to a promise tx4 sata controller, however I can't see the drive, the card says its supported by linux and I found that ubuntu has an open source driver for it, but it seems that its not on the install cd, how do you add drivers to the install cd so I can use the drives attached to the add-on card23:33
penguin42hmm I'm surprised that doesn't work out of the box23:35
Psi-JackHas Ubuntu server's virtualization cluster stack gotten easier to use yet?23:49
Psi-JackSince 10.04, since I haven't tried it out yet.23:50
penguin42I've got a bunch of VMs using KVM running, I'm using virt-manager to set them up23:51
MTecknologyPsi-Jack: not sure - but 9.10 is when I started using it heavily and it seemed incredibly easy - 10.04 has a new script for generating vm's - it's ugly to start because of the options but once you build out a generic command for what you want to use it's pretty darned awesome23:51
MTecknologythere's a definite learning curve to it - but i don't really know how you could make it any easier (aside from a "~bug")23:52
Psi-JackWell, hmmm.23:53
Psi-JackWhat I plan on doing is this.. I have very basic simple needs.23:53
Psi-JackI want to run two virtual machine servers that does firewall/routing at the host OS level, and run two servers in each. Windows 2008R2 Server, and Debian. These will be Windows and Linux based webservers primarily.23:54
MTecknologydon't pass routing off to a vm..23:54
Psi-JackI just got done trying out Citrix XenServer, but it failed miserably at the virtual network stack.23:54
Psi-JackMTecknology: I'm not. that's why I'd have it done at the host level. Not a guest.23:54
MTecknologymissed that23:55
MTecknologysounds pretty simple23:55
Psi-JackWith XenServer, I had to make a router VM, and it failed to even do simple NAT-based LVS directing to servers on the same physical host.23:55
penguin42Psi-Jack: Doing the host OS firewalling means you're going to have to do some manual work, setting the rest up should be relatively easy23:55
Psi-Jackpenguin42: Yeah. :)23:55
MTecknologywhy not do routing on a different system?23:56
MTecknologytake a cheap desktop and put pfsense on it23:56
Psi-JackBleh. I don't like pfsense.23:56
penguin42MTecknology: Why does he want separate hardware for it - he doesn't need to23:56
Psi-JackAnd the idea is to keep power consumption down.23:56
Psi-JackI went from having 14 servers, to 6.23:56
penguin42Psi-Jack: Have you tried virt-manager?23:57
MTecknologypenguin42: i suppose - i just like being able to leave it up to different systems so anything behind can be very easily changed -23:58
Psi-JackI had in the past, yes. It was okay, and relatively simple. But keeping in mind I'm running Windows as workstations and laptops, not Linux, I want it to be relatively easy to manage in the long run, and using X on Windows isn't very pleasant. ;)23:58
penguin42Psi-Jack: Ah OK, I'm not sure what's available for remote config from windows, if you just want consoles then you can use vnc to get consoles23:59
MTecknologyvirsh for cli23:59
=== tschundeee_ is now known as tschundeee
MTecknologyvirsh is as easy (in my head easier) than virt-manager23:59

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