/srv/irclogs.ubuntu.com/2007/06/15/#ubuntu-server.txt

=== lionel [n=lionel@ip-211.net-81-220-127.rev.numericable.fr] has joined #ubuntu-server
=== leonel [n=leonel@189.155.108.78] has joined #ubuntu-server
=== fernando_ [n=fernando@189.0.236.137] has joined #ubuntu-server
=== Syncmaster_0_2 [n=Syncmast@dslb-084-059-122-232.pools.arcor-ip.net] has joined #ubuntu-server
=== stratus [n=stratus@86.157.4.170] has joined #ubuntu-server
fooAnyone have a lot of experience with amanda and bacula? Looking for someone to interview for an article. Thanks01:22
=== gloin [i=me@unaffiliated/gloin] has left #ubuntu-server []
Burgundavia?02:00
Burgundaviaugh, wrong windeow02:00
=== nictuku [n=yves@200-140-10-67.bsace706.dsl.brasiltelecom.net.br] has joined #ubuntu-server
=== m3thos [n=miguel@89.155.11.31] has joined #ubuntu-server
=== linuxgeekery [n=ubuntu@ppp-69-148-16-136.dsl.austtx.swbell.net] has joined #ubuntu-server
=== linuxgeekery [n=ubuntu@ppp-69-148-16-136.dsl.austtx.swbell.net] has left #ubuntu-server []
=== Enron [n=enron@216.70.173.176] has joined #ubuntu-server
=== maeth [n=maeth@pc-116-15-104-200.cm.vtr.net] has joined #ubuntu-server
=== reya276 [n=reya276@h-67-100-141-158.miatflad.covad.net] has joined #ubuntu-server
maethhi, i got ubuntu server on my server machine, and now i want to install the graphic interface... how can i do that?02:53
leonelsudo apt-get ubuntu-desktop02:53
reya276can anyone help me with a server issue02:53
leonelor kubuntu-desktop02:53
leonelmaeth: 02:53
leonelreya276: and the issue is ?02:53
malakhiAsk your question reya276.02:53
reya276I just finish installing the gnome,gdm but it wont start02:54
reya276I get an error stating "Failed to start X Server(your graphical interface). It is likely that it is not set up correctly02:55
reya276how can I fix this issue02:55
malakhiDid you configure X?02:55
reya276no how do you do that, one thing you should know, I'm not a linux guy, hence why I'm trying to install the gui02:55
leonelreya276: sudo dpkg-reconfigure xserver-xorg02:55
malakhireya276: just answer the questions it asks you after entering that command.02:57
malakhireya276: Incidentally, you might have been better served to install the desktop version, then turn it into a server by installing whichever daemons you want.02:58
reya276yeah I figured that but since I already installed it I might as well learn all this03:02
reya276how can I start it03:02
malakhireya276: sure thing :)03:02
malakhisudo /etc/init.d/gdm start03:02
reya276will it start automaticlly every time I reboot it or do I have to use this command line03:03
malakhiShould start every time from now on.03:04
reya276hum.. weird is not starting03:04
malakhiDoes it give an error?03:04
reya276how can I reboot the server03:04
reya276nope no error just stays at $03:04
malakhisudo shutdown -r now03:04
maethhow can i connect my X server to a remote PC via ssh??03:04
malakhimaeth: there are a lot of howtos out there. Found this one after a little googling: http://www.cag.lcs.mit.edu/~wentzlaf/faq/ssh_X.html03:07
reya276I got the same error03:08
reya276failed to start X server] 03:09
malakhireya276: type tail /var/log/Xorg.0.log | grep EE03:12
malakhireya276: Let me know what it says03:12
reya276ok03:16
reya276oh man the server rebooted and now the screen says out of range03:20
malakhiPress <Ctrl>+<Alt>+<F1>03:21
malakhiYou should be back at the console login screen03:21
reya276ok that did it03:21
malakhiSounds like you misconfigured X. Gave it some numbers it didn't like, or something.03:22
reya276ok how can I fix this03:22
malakhiWas there any output from the command I gave you?03:22
reya276no it went back to ~$03:23
reya276tail /var/log/Xorg.0.log | grep EE03:23
reya276gave nothing in return03:23
malakhiok. Try cat /var/log/Xorg.0.log | grep EE03:23
=== malakhi should have said that to begin with.
reya276oh it says "(EE) xf86OpenSerial: Cannot Open device /dev/input/wacom03:25
malakhiThat's not important03:25
malakhiAnything else?03:25
reya276that is all that it said03:26
malakhihmm03:26
=== kylem [n=kyle@amnesiac.heapspace.net] has joined #ubuntu-server
malakhiWhen you did the dpkg-reconfigure, were there any answers you gave that you weren't sure about?03:27
reya276yes03:27
malakhiAny way you can find out the answers for sure?03:27
reya276well the first question about the graphics device, right there is an "I do not know" so I chose vesa03:28
malakhiah03:28
reya276it's an intel board03:28
reya276with an onboard graphics card03:28
malakhiIt's probably i810 then.03:29
malakhiYou wouldn't be horribly opposed to installing -desktop, would you?03:29
malakhiI'm just about to the limit of my X troubleshooting knowledge.03:30
reya276well is not my choice, my boss wants to be able to use it03:31
malakhiAh. You might try asking in #ubuntu. They're the desktop experts.03:31
reya276so he won't be able to use command line, yeah I tried there and they sent me here03:31
malakhiOne thing to remember about the #ubuntu channel. If you don't ask a direct question about your problem, they'll just ignore you. Volume is to high.03:32
malakhi(I was lurking and saw your question.)03:33
malakhiJust try again, but don't ask to ask a question. Just ask it.03:33
malakhiheh. If that made any sense XO03:33
reya276yeah, first I'm going to re-install the server to start clean, then I will install gdm and gnome03:37
malakhiWhen you do that, instead of installing them piecemeal, do sudo apt-get install ubuntu-desktop03:38
malakhiThat will pull in everything on the default ubuntu desktop, and may do a better job of detecting your hardware.03:38
reya276ok that was my next choice03:39
reya276because I've noticed the whole gnome thing is very complicated if not done correctly03:39
malakhiYes. ubuntu-desktop is a meta-package that depends on xorg, gnome, gdm, etc. It *should* be just like a fresh install of ubuntu.03:40
reya276ok so ubuntu-desktop is the same thing but auto detects everything03:43
malakhiI won't promise it will be perfect, but it may do better.03:44
malakhiInstalling from the -desktop or -alternate CD would be the preferred method. They do a very good job at detection.03:45
reya276ok so the command is sudo ap-get install ubuntu-desktop03:49
malakhiYes.03:49
malakhisudo apt-get install ubuntu-desktop03:49
reya276hey when this thing is loading I get a Revalidation error, what does that mean03:50
malakhi"Revalidation error"?03:50
malakhiafter typing the command? or when booting the system?03:50
reya276when booting the system03:51
malakhiNot sure.03:52
malakhiDoes it hang there? Or continue to boot?03:52
reya276no it boots normally03:52
reya276ok after the desktop install then how do I run it03:53
malakhiSame thing as before: sudo /etc/init.d/gdm restart03:53
reya276the desktop is installing off the cdrom03:53
reya276ok and that will make it start everytime it boots03:54
malakhiYes, it should.03:55
reya276hey do you know the command to start the apache server03:55
malakhiActually, installing ubuntu-desktop will make it start when the computer starts. That command just makes it start now, instead of waiting to reboot.03:56
malakhiHave you installed the package for apache?03:56
malakhiIf so, it, too, will start automatically by default.03:56
reya276well when I was installing the server it gave me an option to install both DNS and LAMP03:57
reya276so I installed both03:57
reya276ok what I meant was Is there an interface for apache like IIS has03:57
malakhiNo.03:58
malakhiApache is controlled through text config files. There is no GUI03:59
reya276see My boss is a microsoft fan so I'm trying to convert him to using Ubuntu as a server, the guy wants to buy Exchange and I'm like Hell no.03:59
reya276wow that's not good03:59
malakhiI sympathize, but I'm afraid it's going to be an uphill battle.03:59
reya276is there a web interface atleast to setup websites03:59
malakhiGUI server administration is a Linux weakness (although some would say it's a strength)04:00
malakhiThere are various programs that make a passing attempt at GUI administration. CentOS and openSUSe both have much better tools in that regard than Ubuntu.04:01
malakhiIf you are looking for a true, drop-in replacement for Windows Server, I would say that SUSE comes closest. I would try that before giving up totally.04:02
reya276well in terms of security is a strength, but if it lacks the user friendly stuff, so it's great but if the average joe can't use it then it's not worth it04:04
malakhiTo be honest, IMHO, the average joe shouldn't be running a server. It's a HUGE security risk. Windows just hides the risks behind a pretty interface. They're still there, just not as obvious to the admin.04:05
=== nictuku [n=yves@200-140-10-67.bsace706.dsl.brasiltelecom.net.br] has joined #ubuntu-server
reya276I can do it because I don't mind getting my hands dirty but there are lot's of people that just hate going through the trouble, the issue with the Linux community is that for some reason they don't want to go that route, maybe is the geek in them04:06
reya276no offense04:07
malakhilol. Partially, yes. Linux is for people who don't mind getting their hands dirty. That said, there's a reason why "Systems Administrator" is a job description.04:07
malakhinone taken. I'm a big geek. It's why I like linux.04:07
reya276yes I totally agree but they could make it easier04:08
malakhiThere's nothing trivial about setting up a good server. Especially an email server that will be exposed to the outside.04:08
malakhiIt sort of depends. To me, and lots of other people, tweaking config files is much easier than clicking my way through dozens of menus and windows.04:09
=== Pumpernickel [n=pumperni@CPE0016b6c9fba4-CM0012c9a9a6dc.cpe.net.cable.rogers.com] has joined #ubuntu-server
reya276yeah, I'm going to have my hands full with that because I've never done it on Linux04:09
malakhiI haven't done a windows server in so long, my eyes sort of glaze over whenever I open the control panel in Windows. It takes me a while to remember where everything is.04:10
malakhiBut, I'm afraid I must be going. I need to get a couple hours of sleep before work.04:11
malakhiGood luck getting things set up, and convincing your boss.04:11
reya276well good night, thanks for the help04:11
malakhiLike I said, if you run into problems getting X up again, try asking in #ubuntu. The fact that your using -server is irrelevant for that bit.04:12
reya276thanks I will need it so far I'm loosing on the Desktop end, let's see how the server goes04:12
malakhi'night, and again, good luck.04:12
reya276I'm the only one using Ubuntu on my desktop, I will head over there if need to, thanks again04:12
m3thoshaving worked has a sysadm, in a team with unix and windows sysadm04:32
m3thosI've seen what they do to ppl knowledge and capabilities04:33
m3thosall the unix sysadmins HAD TO be more knowledgeable04:33
m3thoswindows guys couldn't trouble shoot problems..04:34
m3thosa lot of problems04:34
m3thosbecause everything was hidden from them..04:34
m3thoscouldn't troubleshoot _some_ problems.. that were easily picked up by unix guys firing up a ethereal, or booting a linux cd to stress test and benchmark hw performance issues...04:36
m3thosand now.. at work.. same shit goes.. 04:37
m3thosunix ppl are more proeficient and all round knowledgeable... they are more expensive to hire also...04:37
PumpernickelNo, I'd say proficient and knowledgeable people are more proficient and knowledgeable - which leads, indirectly, to knowing Unix.04:45
m3thosexactly...therefore.. unix admins have to pass that "test"04:52
m3thosnot the same for windows admins04:52
=== reya276 [n=reya276@h-67-100-141-158.miatflad.covad.net] has joined #ubuntu-server
=== reya276 [n=reya276@h-67-100-141-158.miatflad.covad.net] has left #ubuntu-server ["Konversation]
PumpernickelNot really.  It just means there's a greater probability of finding an intelligent Unix admin.04:56
m3thosI guess you're right.. and was just oversimplificating04:57
m3thos:D04:57
m3thoshow to I list the running services in ubuntu ? (somthing like: rc-status from gentoo, or service --list-all from fedora)05:13
=== PanzerMKZ [i=Panzer@dialup-4.88.73.107.Dial1.Atlanta1.Level3.net] has joined #ubuntu-server
=== Burgundavia [n=corey@ubuntu/member/burgundavia] has joined #ubuntu-server
=== h4wk0 [n=h4wk@89.241.234.185] has joined #ubuntu-server
=== stephanbuys [n=stephanb@gw.impilinux.co.za] has joined #ubuntu-server
=== YourMomsHero [n=cirish@ip24-251-191-203.ph.ph.cox.net] has joined #ubuntu-server
=== ra1nb0w [n=ra1nb0w@host215-236-dynamic.8-87-r.retail.telecomitalia.it] has joined #ubuntu-server
=== qiyong [n=qiyong@60.23.248.83] has joined #ubuntu-server
qiyonghi all, where to store the route info?11:07
=== stratus [i=stratus@conference/debconf/x-d341b5942c33e13e] has joined #ubuntu-server
=== qiyong [n=qiyong@60.23.248.83] has left #ubuntu-server ["leaving"]
=== [miles] [n=miles@bcn1.entorno.es] has joined #ubuntu-server
=== ra1nb0w [n=ra1nb0w@host34-174-dynamic.60-82-r.retail.telecomitalia.it] has joined #ubuntu-server
=== Elwell [n=andrew@87.127.71.46] has joined #ubuntu-server
=== stratus [i=stratus@conference/debconf/x-b26c8f4a647c80c9] has joined #ubuntu-server
=== rainbow` [n=ra1nb0w@host18-235-dynamic.9-87-r.retail.telecomitalia.it] has joined #ubuntu-server
=== ogra [n=ogra@ubuntu/member/ogra] has joined #ubuntu-server
ogracan anybody tell me why we default to a 2h keepalive value for tcp connections ? 01:02
ograi know its the default but i really think its nonsense to have dead server processes hanging around for 2h01:03
ogras/default/upstream default/01:03
shawarmaogra: What would you suggest instead?01:05
ogra10 mins or so ? 01:05
shawarmaogra: Many protocols can be quiet for way more than 10 minutes..01:05
ogrado you know why its so high ?01:05
shawarmaogra: They'd be killed.01:05
ograbut 2h seems a bit overkill01:05
shawarmaI think it's inherited from ye ol'e BSD TCP code, actually.01:06
shawarmaIt's tradition. :)01:06
shawarmaWhat sort of connections are you specifically having problems with?01:06
ograthe new tsp implementation uses nbd started via inetd instead of nfs ... having these processes hog the ram seems silly ... but i dont want to poke in /etc/sysctl.conf or so to change it only for ltsp if we could probably just have a better default01:07
shawarmaI rather find that if someone feels the timeout is too long, it's actually more of an application problem. 01:08
shawarmaSome sort of keepalive/ping thing could be added that would detect a dead endpoint.01:08
ograwell, indeed i could add pinger code to the nbd server side ... but why make it complicated if tcpd can care :)01:08
shawarma...which would cause the connection to die much, much sooner.01:08
shawarmaogra: Heh. :)01:09
ograsnap01:09
shawarmasnap?01:11
ograwe said the same :)01:11
shawarmaOh!01:11
ograi'll look into adding some pinger code then ...01:12
shawarmaogra: http://nbd.svn.sourceforge.net/viewvc/nbd/trunk/nbd/README?revision=187&view=markup 01:13
shawarmaogra: What does the timeout do?01:13
ograkill the session after the specified time if there was no traffic01:14
ograwhich is quite evil if you use nbdroot :)01:14
shawarmaEek.01:14
shawarmaBut that's what you're essentially asking, isn't it?01:14
ograit doesnt do what you think it does :)01:14
ograno01:14
ograi want the connection to persist if tehre is no traffic ... i want it to die if there is no endpoint01:15
ograthats different01:15
shawarmaIndeed.01:15
ograyou dont read all the time form your fs :)01:15
shawarmaWell, if you set the tcp keepalive down to 10 minutes, you'd kill the connection, too?01:16
fabbioneogra: changing tcp defaults == really really really bad01:16
shawarmafabbione: Agreed.01:16
fabbioneyou are going to hit all kind of different problems for other applications01:17
shawarmaMany, many things may depend on it.01:17
ografabbione, well what i want to know is why are they so high, i'm already living with the fact that i'll need a pinger01:17
fabbioneogra: i am pretty sure there is an entire set of RFC's to explain that01:17
fabbionedid you google for it?01:17
ograok01:17
ograno, not yet01:17
ogra2h seems just a bit long ...01:18
ograbut if there are valid reasons i wont argue :)01:18
shawarmaAdding some sort of no-op keepalive thing to the nbd protocol will be the right choice, I'm sure.01:18
ograright01:18
fabbionei can find thread about this going back to 2001 at least01:19
shawarmaogra: Thankfully, upstream seems to be very much alive. I thought nbd was dormant.01:19
ElwellQ - whats involved in altering the xen-meta package to work with amd64?01:19
ogranah, wouter's been busy on it its well maintained ... else we wouldnt have done the switch with ltsp01:19
ograwe use nbd swap since two releases by default and never had probs with it 01:20
shawarmaogra: Sure, but I didn't know you did that either. :)01:20
ograits part of the ltsp speedup work we're doing upstream atm01:21
shawarmaogra: Putting swap on the network speeds things up?01:21
ogranbd serving a squashfs image merged in a union/tmpfs root for the client is about 20-30% faster than nfsroot01:22
ogra(talking about bootspeed)01:22
ograno, putting swap on the network lets your firefox not die if you run out f ram :)01:22
shawarmaogra: Interesting.01:22
ograit gets extremly slow if it starts swapping, but you can still close your apps and save your files, its only a safety net ...01:23
fabbioneinteresting01:23
ograbut ....01:23
fabbioneso according to RFC901 the main reason to have long timeouts is to allow ftp to work on slow link01:23
ogra(nbdswap uses swapfiles on the server)01:23
fabbione+s01:23
fabbione+ all the other RFC's 01:24
ograif you put the swapfiles in a tmpfs it gets very useable01:24
ograbah, ftp01:24
fabbionewell one of the reasons01:24
ograyeah01:24
ograi understand ...01:24
fabbioneall protocols that use more than one port for communications are affected by the same issue01:24
fabbioneftp uses port 21 for cmd transfer01:24
fabbioneand port 20 for data01:25
fabbioneon slow link you get to use only port 20 for hours01:25
ograi'll add my pinger then or live with the 2h presistence 01:25
fabbione21 would time out01:25
fabbioneand the session dies01:25
ograright01:25
fabbionethat would disrupt data stream on 20 due to the missing com01:25
ograthat makes a lot of sense01:25
fabbioneand similar protocols would have the same issue clearly01:25
ograi didnt even think about control connections being run parallel01:26
ograright01:26
shawarmaAh, yes, that's a really good point.01:27
shawarmaWhen you first said ftp and slow links I thought about a link where there was up to two hours between each package.. Oh, the horror!01:28
ograwell ... think dialup :)01:29
=== shawarma is trying to forget all about dialup
fabbioneyou guys need some more real life01:31
shawarmafabbione: Yeah? When was the last time you were doing a file transfer where there were hours between each package?01:31
fabbioneshawarma: hmmm last Xmas01:32
fabbionein italy i still have ISDN01:32
fabbioneshawarma: we are way lucky here in dk01:32
shawarmafabbione: Where were you? In the australian bush with a internet connection over rusty barb wire?01:32
fabbioneitaly01:32
fabbionerome01:32
fabbioneostia01:32
fabbionedo you want the exact address?01:32
=== shawarma boggles
=== stratus [i=stratus@conference/debconf/x-b542f6f67b4ebc21] has joined #ubuntu-server
shawarmaSo that's a couple of kbit/hour?01:33
fabbioneshawarma: yeah almost01:34
=== shawarma starts to cry
=== TeTeT [n=spindler@modemcable178.77-70-69.static.videotron.ca] has joined #ubuntu-server
=== EtienneG [n=etienne@ubuntu/member/EtienneG] has joined #ubuntu-server
ograshawarma, edubuntu has users where they have sneaker networks (usbsicks being carried around) to transport their mail01:53
ograthey hardly even get power at places01:54
ograan 28k dialup is luxury in such areas01:55
shawarmaogra: Right, but that's an entirely different story altogether. At least I hope it is... You don't implement IP-over-Adidas, do you?01:55
ograheh, working on that :)01:55
fabbioneshawarma: i wouldn't kid too much about IP-over-Adidas because in JP they proved it to be faster than any available connection at the experiment time (that was no longer than one year ago)01:57
fabbioneit was also on /.01:57
ograheh01:57
fabbionethe concept is very simple01:58
fabbionegiven a distance between a and b... calculate how much time it takes to transfer let say 10TB01:58
fabbioneon one 10Mb adsl01:58
shawarmaRight. You shouldn't underestimate the bandwidth of a truck full of backup tapes driving down the freeway.01:59
fabbionehow much it takes to drive from a to b with a 10TB disk (or set of disks)01:59
fabbioneexactly01:59
fabbione+ data transfer from pc -> disks -> pc01:59
ograit correlates with the amount of data :)01:59
fabbioneogra: yes..02:00
fabbioneso IP-over-Adidas > Ethernet sometimes02:00
shawarmaBut ssh over ip over adidas..02:00
ograi doubt you can be faster than a 10k file on a fast DSL line, not even with adidas :)02:00
fabbioneshawarma: we didn't mention latency.. only speed02:00
ograshawarma, you need proxies for that :)02:00
fabbioneogra: clearly.. it still depends from the distance you need to cover02:01
ografor the key exchange ...02:01
ograright02:01
fabbioneanyway02:01
fabbioneit's possible to express this with some math formulas and calculate some interesting operational areas for IPoAdidas02:02
fabbionealso take into account the costs for IPoAdidas compared to wait for the data etc. .etc.02:02
shawarmaIt needs to take convenience into account as well. a.k.a. the lazy-factor.02:03
fabbioneshawarma: for me manager is more convenient to get 10TB of data in let say one hour transport rather than having an employee waiting 2 days for the data transfer to finish02:03
fabbioneas employee i would say to screw my manager because i have a good excuse to do nothing for 2 days :)02:04
fabbionebut try to imagine tons of "(i)Pizza Express" driving around dk and knocking on your door: "Here is your pizza... with salami, cheese and 1TB of pr0n"02:05
shawarma\o/02:06
fabbioneCash or Dankort?02:06
fabbione:)02:06
=== coNP [n=conp@unaffiliated/conp] has joined #ubuntu-server
ograshawarma, fabbione, did you know that one ? http://www.wizzydigital.org/how.html02:18
ograIPoverMoped :)02:18
ograhttp://www.wizzydigital.org/how_dont_have_a_phone.html <- even better :)02:21
=== PanzerMKZ [i=Panzer@07-035.136.popsite.net] has joined #ubuntu-server
=== infinity [n=adconrad@cerberus.0c3.net] has joined #ubuntu-server
=== tru_`z24 [n=truz_`24@74-129-166-232.dhcp.insightbb.com] has joined #ubuntu-server
=== julius_ [n=julius@60-241-89-235.static.tpgi.com.au] has joined #ubuntu-server
julius_How can i go about sleeping my servers raid array? or should i leave the disks running constantly to further lifespan02:53
julius_and are there any nifty http based server control panels? like to just monitor temps/hdd errors e.t.c.02:53
=== citybird [n=jones@fsz02.farner.ch] has joined #ubuntu-server
=== stratus [i=stratus@conference/debconf/x-bcf7a48db26acb94] has joined #ubuntu-server
CrummyGummyHi all,03:26
=== dendrobates [n=rclark@adsl-065-005-186-012.sip.asm.bellsouth.net] has left #ubuntu-server []
CrummyGummyNow that I've upgraded to feisty all by hdd in the raid now use dm-*. Where can I find the mapping for this to standard sd* names?03:30
=== dendrobates [n=rclark@adsl-065-005-186-012.sip.asm.bellsouth.net] has joined #ubuntu-server
mralphabetls -al /dev/disk/by-uuid/03:34
=== dendrobate1 [n=rclark@adsl-065-005-186-012.sip.asm.bellsouth.net] has joined #ubuntu-server
=== kupesoft [n=dave@red-gw.cs.toronto.edu] has joined #ubuntu-server
=== h4wk0 [n=h4wk@82-33-82-71.cable.ubr03.trow.blueyonder.co.uk] has joined #ubuntu-server
=== Panzer_ [n=Porsche9@209.177.211.250] has joined #ubuntu-server
=== dendrobate1 [n=rclark@adsl-065-005-186-012.sip.asm.bellsouth.net] has left #ubuntu-server []
=== dendrobates [n=rclark@adsl-065-005-186-012.sip.asm.bellsouth.net] has joined #ubuntu-server
=== fernando [n=fernando@unaffiliated/musb] has joined #ubuntu-server
=== citybird [n=jones@fsz02.farner.ch] has left #ubuntu-server []
=== mathiaz [n=mathiaz@206-248-181-179.dsl.teksavvy.com] has joined #ubuntu-server
=== CrummyGummy [n=CrummyGu@dsl-242-21-182.telkomadsl.co.za] has joined #ubuntu-server
CrummyGummymralphabet, Thanks.04:15
mralphabetnp04:22
=== leonel [n=leonel@189.155.126.35] has joined #ubuntu-server
=== ra1nb0w`` [n=ra1nb0w@host167-232-dynamic.15-87-r.retail.telecomitalia.it] has joined #ubuntu-server
=== YourMomsHero [n=cirish@74.202.196.195] has joined #ubuntu-server
=== m3thos [n=miguel@89.155.11.31] has joined #ubuntu-server
=== m3thos [n=miguel@89.155.11.31] has joined #ubuntu-server
=== stratus [i=stratus@conference/debconf/x-bc21d7762c863732] has joined #ubuntu-server
=== kyrel [n=kyrel@d83-179-216-51.cust.tele2.fr] has joined #ubuntu-server
kyrelbonjour !06:56
kyrelHello ?06:57
=== kyrel [n=kyrel@d83-179-216-51.cust.tele2.fr] has joined #ubuntu-server
kyrelis there someone ?06:59
leonelwhat's uo07:00
leonelup07:00
kyrelgot a little problem under feisty whith mdadm07:01
kyrelIs there a bug about software raid 1 ?07:02
leonelcheck in launchpad  07:18
mralphabetkyrel: perhaps if you mention what your problem is people could be more helpful ;)07:19
=== sahafeez [n=sahafeez@67.109.14.227.ptr.us.xo.net] has joined #ubuntu-server
=== ivoks [n=ivoks@37-112.dsl.iskon.hr] has joined #ubuntu-server
=== redline6561_ [n=redline@adsl-074-232-249-027.sip.asm.bellsouth.net] has joined #ubuntu-server
redline6561_i've been having trouble getting startup scripts to work on feisty...for example to start tomcat or resin or jetty (all servlet containers). setting variables and putting the scripts in /etc/init.d and running update-rc.d just doesn't seem to work. anyone have any advice? or want more details (i.e. install process)?07:52
ivoksreally?07:54
redline6561_yeah07:54
ivoksupdate-rc.d service_name defaults07:54
redline6561_yep. hasn't been working. i don't know what to think. i can't find evidence of the script running in boot logs. i've disabled splash. i just don't know.07:54
ivokshehe07:55
redline6561_i'm pretty confused cause obviously it's supposed to just work (tm). i'm not blaming anybody because i could definitely be doing it wrong.07:55
ivoksthat depends on your script07:55
redline6561_checked in the upstart room cause i thought it might be related to that but apparently it isn't.07:55
ivoksno07:55
redline6561_right. i figure it is my script. i mean i guess it has tob e.07:55
ivoksyou created /etc/init.d/service_name07:55
redline6561_*to be. makes me wish i knew more about bash scripting. yeah07:55
ivoksthat script must have start, stop and restart functions07:55
redline6561_would you like to see it?07:56
ivoksput it somewhere on pastebin07:56
redline6561_ok. hang on a few.07:56
redline6561_http://pastebin.com/92973807:58
redline6561_there you go07:58
redline6561_i know it works on fedora 7 with chkconfig...so.07:58
redline6561_if that helps at all.07:58
ivoksdid you try /etc/init.d/jetty start?07:58
redline6561_yeah. i've actually tried that and it works correctly as i recall. which would make me think it's not the script.07:59
ivoksso, do you have /etc/rc2.d/S20jetty?08:00
ivoksor /etc/rc2.d/S*jetty08:00
redline6561_two things: 1) the actual system is at work. to some extent i'm here looking for ideas. my boss is already interested in moving on to other projects so there's not really any pressure but i want to make it work. 2)no. i don't think i ever checked to see if things actually symlinked correctly and i never did try it manually...08:01
ivoksif you run update-rc.d it will create symlinks and print them on console08:02
redline6561_right. and i ran it not with defaults but with runlevel settings for 91 3 4 5 .08:02
ivoksalso, 3 4 5?08:02
ivoksubuntu's default is 208:02
ivoks:)08:02
redline6561_yes. should i have just done 2?08:02
redline6561_really?08:02
ivoksyes08:02
redline6561_and the network is up by then?08:03
ivoksyes08:03
redline6561_splendid08:03
ivoksubuntu and debian don't do distinction like redhat08:03
redline6561_well thank you very much ivoks.08:03
ivoksall runlevels are exactly the same08:03
redline6561_what do you mean?08:04
ivoksuser does customization, if he wants08:04
redline6561_right.08:04
redline6561_so ante, if you don't mind my asking. how long have you been doing this?08:04
ivoksin redhat, one runlevel is multiuser, other is network, third is X, etc...08:04
ivoksdoing what?08:04
redline6561_working with linux08:04
ivokssince '97.08:04
redline6561_that's awesome. how'd you start out?08:04
ivokslong story and this channel is not right place to talk about it :)08:05
redline6561_lol08:05
redline6561_alright. well, thanks very much all the same.08:05
redline6561_it was a pleasure meeting you. i'm off to get this thing up and running.08:05
ivoksnp, you are free to come here if you have problems08:05
redline6561_thanks again08:05
ivoksnp08:05
=== TheCougar [n=email@74-36-222-224.br1.ctn.pa.frontiernet.net] has joined #ubuntu-server
TheCougarare there any exchange like programs with ubuntu server?08:27
leoneldon't know  what exchange  does 08:43
=== mdz [n=mdz@207.47.10.130.static.nextweb.net] has joined #ubuntu-server
TheCougarits a mail and content server "Microsoft Exchange Server is a messaging and collaborative software product developed by Microsoft."09:04
mathiazTheCougar: well it depends what functionality you're looking09:17
mathiazTheCougar: for. mail server ? imap/pop access ? webmail ? calendar ?09:18
=== necrite_ [n=necrite@r190-64-205-246.dialup.adsl.anteldata.net.uy] has joined #ubuntu-server
necrite_hi ppl09:23
mathiaznecrite_: hi09:24
necrite_need one shell script guy :D .. i dont understend what happends09:25
necrite_+ [ db == i ]  [: 1: ==: unexpected operator09:26
necrite_WTF :D09:26
mathiaznecrite_: do you want to test if db equals i ?09:28
necrite_yes :D 09:29
necrite_look the source09:29
necrite_if [ "db" == "i" ] ; then09:29
necrite_echo "kk";09:29
necrite_fi09:29
mathiaznecrite_: if db and i are variable, you forgot the $ sign09:30
mathiaznecrite_: [ "${db}" == "${i}" ] 09:30
necrite_they was variables .. but i see this error and change for "strings"09:30
necrite_and i still geting the error09:31
mathiaznecrite_: http://www.tldp.org/LDP/abs/html/comparison-ops.html09:31
mathiaznecrite_: is a good ressource for bash scripting09:31
mathiaznecrite_: the link above is for tests in bash09:31
mathiaznecrite_: db and i are strings or integers ?09:32
necrite_strings09:32
necrite_but i need it in sh not bash09:32
mathiaznecrite_: well... I don't know much about sh. I do my stuff in bash.09:33
TheCougarmathiaz: sorry for the late reply. I'm looking for something that is a pop access server with webmail09:34
mathiazTheCougar: also smtp server i guess ?09:35
necrite_got it09:36
necrite_it was only one = :P09:36
TheCougarmathiaz: ah yes that as well09:37
mathiazTheCougar: for the smtp server, postfix is the default in ubuntu09:38
mathiazTheCougar: exim is also in main09:38
TheCougaris there one app for all of it?09:38
mathiazTheCougar: you mean something that works out of the box ?09:39
mathiazTheCougar: you just want to install one packge and it works ?09:39
TheCougarwell i mean one app to do pop3/smtp, webmail09:39
mathiazTheCougar: one app, no.09:40
mathiazTheCougar: smtp, pop3 and webmail are three differents things09:41
mathiazTheCougar: that's why they have differents programs09:41
mathiazTheCougar: well. Actually, you can have a look at https://help.ubuntu.com/community/Servers09:42
mathiazTheCougar: there is a section on "Mail, Groupware, and Chat Servers"09:42
mathiazTheCougar: you may be able to find something interesting there (mentions hula, kolab)09:43
TheCougarok. thank you09:43
=== mdz [n=mdz@207.47.10.130.static.nextweb.net] has joined #ubuntu-server
=== Level15 [n=ejortega@unification.phys.uregina.ca] has joined #ubuntu-server
Level15hey10:59
Level15what's the recommended firewall solution for ubuntu server?10:59
mathiazLevel15: the basic firewall is iptables.11:08
mathiazLevel15: You can have a look at https://help.ubuntu.com/community/IptablesHowTo11:08
Level15well, i'm not that good with iptables... i was kind of hoping there were some wrapper scripts or something...11:08
nrpilLevel15: have a look at gshield11:09
nrpilhttp://muse.linuxmafia.org/gshield/11:09
Level15ok, will look for that11:09
mathiazLevel15: there a couple of frontend to iptables11:09
mathiazLevel15: The document mentioned above has a section at the end Easy configuration via GUI11:09
=== olem [n=olem@haven.senso-rezo.org] has joined #ubuntu-server
Level15ok thanks11:10
=== Level15 [n=ejortega@unification.phys.uregina.ca] has left #ubuntu-server []
=== h4wk0 [n=h4wk@89.241.234.185] has joined #ubuntu-server
=== nkassi [n=nkassi@mullion.maint.fsu.edu] has joined #ubuntu-server

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