/srv/irclogs.ubuntu.com/2009/11/29/#ubuntu-server.txt

trimetaHmm...upon finishing the install and rebooting, I get the following:00:07
trimetaGRUB loading.00:07
trimetaerror: biosdisk read error00:07
trimetaAnd nothing more.00:07
trimetaI don't know if that VirtualBox not booting successfully off of its virtual SATA controller, or something to do with how I made a RAID1 /boot partition.00:08
trimeta*that's00:09
trimetaMaybe I didn't mark things as bootable with fdisk when I should have?00:10
trimetaWait...after waiting a bit further, it appears to continue booting fine.00:10
jetolehey guys, does anyone know how I can run a program on my linux nat box and see what bandwidth usage is per connection for all hosts on our network? something to help me isolate the source (and do a temp iptables block) when one user is slowing the network00:33
thenetduckhey how can I transfer a file from my desktop via ssh to my server in the command line?00:34
thenetduck5:33 PM00:34
thenetduckoops00:34
jetolethenetduck: scp file.txt server.domain:00:34
jetolealso look into sshfs and afuse00:34
thenetduckcool thanks jetole00:34
jetoleanything after the : is a path and name, your home directory on the server is the default00:35
jetolefor example scp file.txt server.domain:/home/jetole/Documents/October00:35
jetoleif that directory exists on the remote server it copies it there00:35
jetoleif the dir October doesn't exist then it copies file.txt to Documents with the new name October00:36
jetolethat works both ways, scp server.domain:myfile.txt file2.txt copies myfile.txt in your home dir on the server to your current server renaming it to file2.txt on your current server00:37
jetoleworks a lot like the cp command00:37
jmarsdenjetole: for your bandwidth monitoring needs, ntop could be worth a look.00:50
jetolewell he left but no, ntop isn't. ntop is a neat past tense statistics tool but not designed for real time monitoring01:01
jetoleI found jnettop which seems to work real well01:01
jetoleI used another app in the past and was hoping I can find it again but so far no01:02
jetoleah, found it, it was pktstat but I think I am gonna switch to jnettop01:07
maxagazhi01:26
maxagazsudo echo foo > bar doesn't work, what else should i use ?01:26
eqx311ec2-init and metadata .. is there some url reference to this subject ?01:35
t0rcwhat are some suggestions for remote server management? I've looked at Nagios, Zenoss, and Webmin. Any preference of the three? Zenoss looked the best. Anyone have experience with it on ubuntu?01:38
jetolejoin #bash01:44
Mickster04yo is it possible to use a wireless usb to get the connection for a server?02:07
Mickster04sorry02:07
Mickster04in order to connect the server to the internet/lan, can i stilck a usb pen in and get it to connect?02:08
mickster04is ther anyway to get wireless working in ubuntu server?04:04
mickster04is ther anyway to get wireless working in ubuntu server?04:13
siwonhello all04:13
siwongot a question about this04:14
mickster04really?04:15
siwonwas going to use freenas to share my media across a network but it doesn't give me what i need which is supporting multiple drives of different sizes with media cobtebt on them already04:16
siwonis the server addition good for this to share media exclusively and through a webgiu04:17
siwonwant to set it up with no monitor and forgert about it A04:18
mickster04im sorry to say theres no one her04:19
mickster04e04:19
siwonalso need to know if ubunto will support my promis tx 133 ide card??04:19
siwonah wel nothing new04:20
siwontheres never anyone in the freenas channel either and i just get the feeling they don't give a shit about anyone in there forums04:21
mickster04ya04:21
thenetduckhi, I created a key and we issued an ssl cert from godaddy. the problem is I forgot the password to the key I created. I was wondering if there is something I can do now?04:24
jmarsdenThere are people here.  If I knew whether Ubuntu supported a Promise TX133 I'd offer an opinion... but I don't :)04:24
thenetduckor do I have to regenerate my key?04:24
thenetduckalso, if I regenerated my key, will I have to be re-issued an ssl cert?04:25
ScottKthenetduck: You should probably ask Godaddy.04:25
jmarsdenthenetduck: I think you need to ask GoDaddy; they may do another cert for you for free, or they may want to charge you all over again...04:25
qman___thenetduck, in all likelihood, yes, and yes04:25
qman___though godaddy may be able to help you04:25
ScottKsiwon: There is a link in the topic on asking good questions.  My first advice is read it, follow it's advice, and then, if you need to, come back and ask again.04:26
qman___siwon, I don't know if it will support your exact card, but I use Promise TX4s with Ubuntu without issue04:27
qman___the best way to find out is to try it04:27
siwonYeah i'm just going to give it a shot cause I haven't tried the server edition and it did'nt work for me with the home version of jaunty04:37
siwonTY04:37
siwonbasicly I just want to pool my drives together but for some reason i can't find any good software that will do that without having some kind of raid configuration that will eliminate space on larger drives, i looked into drobo but i'm not paying money for something that slow04:39
qman___siwon, that's because there really isn't a way to do that04:40
qman___drobo just dynamically reconfigures RAID setups04:40
qman___that's why it's slow04:40
qman___a complex RAID setup is the only way to utilize multiple differently-sized disks with redundancy, without reducing your size to the smallest drive04:41
siwonAh maybe i'll go buy a have dozen 500 gig drives on sale and do a raid 5 array then04:42
siwonand slowly migrate my files to them, but then i'm back to buying another MB and ram again04:45
siwonK TY04:46
siwonnight04:46
billybigriggera dozen 500g drives?05:01
billybigrigger1TB+ are just getting cheaper05:01
FireCrotchUsing 1TB drives for a RAID 5 is ridiculously stupid.05:02
FireCrotchWhen one of the drives fails and has to be replaced, the array will have to be rebuilt.  During the rebuild, the chances are enormous that you'll encounter an unrecoverable read error on one of the other drives, making the entire rebuild fail and losing all the data05:04
maxagazwhat means UG flag in "route -n" ?05:30
thenetduckhi, I just installed an SSL certificate on my server and now my site doesn't load. This is my first ssl cert and I was wondering if anyone could help me trouble shoot it?05:46
thenetduckI don't know where to start05:46
thenetducklog files ore something?05:47
jmarsdenthenetduck: what exactly happens when you restart apache2 ?  What message(s) do you see ?05:55
jmarsdenmaxagaz: man route  will tell you what the flags mean.  U = up, G = gateway.05:58
jmarsdenthenetduck: Any luck restarting apache2 and telling me what happens when you do? :)06:03
thenetduckjmarsden: ;) haha ya just did it, here is the pastie06:03
thenetduckhttp://pastie.org/71889306:03
jmarsdenOK... not much there... does    apache2ctl -t   say much of interest?06:05
thenetduckjmarsden: sorry I got a million  people typing at me haha, im going to focus on our convo how06:09
jmarsdenI was thinking maybe you had a 300bps dialup modem connection to the Internet or something :)06:09
thenetduckjmarsden: no i'm just very rude to nice people that are willing to help me, I appoligize06:09
jmarsdenOk, so... what does   apachectl -t    say ?06:10
thenetduckdo I run apache2ctl - in the init.d ?06:10
jmarsdenJust at the shell prompt.06:10
thenetducksays the command not found06:10
thenetduckhere is a list of that directory06:11
jmarsdenHmmm.  It works here... let me check.06:11
thenetduckhttp://pastie.org/71890006:11
jmarsdenNo, that's not relevant...  Ah,  try   /usr/sbin/apache2ctl -t06:12
* jmarsden has a custom $PATH so i can get at things in /sbin and /usr/sbin automagically :)06:13
jmarsdenIt should do a syntax check on your apache2 config file(s)06:13
thenetduckerr.. that didn't work either06:14
thenetduckdoh06:14
thenetducknm06:14
thenetducki did bin not sbin06:14
thenetduckone sec06:14
jmarsdenthenetduck: You should be able to cut and paste from this IRC session into the ssh session you have open to your server... right?06:15
thenetduckcorrect06:15
jmarsdenOK... so how did cut and paste leave out the "s" from the command I suggested??06:15
thenetduckI didn't cut and paste it06:16
thenetduckIll start doing that06:16
thenetducksorry06:16
jmarsdenGood idea.  I usually put extra white space around commands I suggest to make it extra easy to cut and paste them :)06:16
jmarsdenIt just saves time.06:17
thenetduckooh cool thanks06:17
jmarsdenOK... so... what does    /usr/sbin/apache2ctl -t     really output? :)06:17
thenetduckapache2: Could not reliably determine the server's fully qualified domain name, using 174.143.158.207 for ServerName06:18
thenetduckSyntax OK06:18
jmarsdenOK, so that's not the problem.  Time to read the logs.  Please pastebin the output of     sudo tail -20 /var/log/apache2/error.log06:20
jmarsdenBy the way, you should fix your networking to avoid the "Could not reliably determine..." warning, but it's not critical for now.06:21
thenetduckhttp://pastie.org/private/fyyuseoo2qmhqo8zyzksja   that was a neat trick06:21
thenetduckok in my vhost or something?06:21
thenetduckI don't believe the gem errors are effecting it because it was working before the ssl cert setup06:22
jmarsdenProbably you need to check the line in /etc/hosts that starts with 174.143.158.20706:23
jmarsdenThe real (SSL) issue looks like you put files in the wrong places, or the files you supplied do not contain what you think they contain, so apache is all confused trying to read them.06:23
thenetduckdoh!06:23
thenetduckok, so I have 4 files currently....06:24
thenetduckgd_bundle.crt  jobcept.com.crt  www.jobcept.com.csr  www.jobcept.com.key06:25
thenetduckerr.. I most likely should have sent that in a private message06:25
jmarsdenNo, that's fine.  Just don't put the contents of the .key file somewhere public.06:26
thenetduckHow can I fix that?06:26
jmarsdenI'm just creating myself a set of similar files... wait a sec.06:27
thenetduckwow thanks so much jmarsden when i'm smart i'm going to help you someday lol06:28
jmarsdenOK... pastebin me the output of   file *jobcept*     (when you are in the directory where those files are)06:30
jmarsdenfile tries to tell me/us what kind of file each one is.06:30
thenetduckhttp://pastie.org/private/a664ny877l3xbxudefs0bw06:31
jmarsdenBTW, did you create these files yourself or did you pay some SSL cert vendor to create them for you?06:31
thenetducki created them myself06:32
thenetduckno wait06:32
suzy1what are u talkin about06:32
thenetduckI payed godaddy to create two of them06:32
thenetduckI created two myself then I supplyed godaddy with one and they gave me two more back haah06:33
jmarsdenOK.  Hmm, that's "interesting"... I get example.key:   PEM RSA private key   example.crt:   PEM certificate  example.csr:  PEM certificate request06:33
thenetduckI was following this tutorial http://serverfault.com/questions/60363/how-do-you-set-up-ssl-on-ubuntu-with-apache2-and-ruby-on-rails06:34
jmarsdenCan you pastebin jobcept.com.crt for me please?06:34
thenetducksure one sec06:35
jmarsdenThe tutorial looks reasonably sane to me at first glance.06:35
thenetduckjmarsden: how do we do a private chat?06:36
jmarsdenIf you do /msg jmarsden  that should work reasonably well06:36
jmarsdenDo you see my msg to you now?06:37
jmarsdenOK, that looks fine to me.  You can see all the info it contains by doing    openssl x509 -text <jobcept.com.crt      # by the way06:40
jmarsdenSo, what lines did you add to your apache config to use the SSL cert ?06:41
thenetduckok06:42
thenetduckum06:42
thenetduckI might have missed that part of the tutorial06:42
thenetduckone sec06:42
jmarsdenYou must have done something so apache knows to use it... :)06:42
thenetduckmy vHost setting take care of that correct?06:43
jmarsdenProbably.  A bunch of lines all starting with SSL is what I'm expecting...06:43
thenetduckone sec ill past you my /etc/apache2/sites-avalible/jobcept06:44
thenetduckhttp://pastie.org/private/zjhd3xxxg6eglbvope3a06:45
thenetduckis that what your looking for?06:46
jmarsdenYes... except that they look correct :)06:46
thenetduckhum....06:47
jmarsdenCan you pastebin me the output of     ls -l /etc/apache2/ssl/      please?06:48
thenetduckhttp://pastie.org/71892306:49
jmarsdenah.  Unless your apache2 is running as root (which would be very bad), there is no way for it to read the files...06:50
jmarsdenwhy did you set their permissions and ownership the way they are now?06:51
thenetduckjmarsden: the tutorial tells me to set the permissions to 40006:51
thenetduckhttp://serverfault.com/questions/60363/how-do-you-set-up-ssl-on-ubuntu-with-apache2-and-ruby-on-rails06:52
jmarsdenWhich is probably fine... but owners of root and git?06:52
thenetduckit says to do this sudo chmod 400 /etc/apache2/ssl/*06:52
thenetduckoh... I have to user accounts, I might have done one with one user and the other with the other06:53
thenetduckactually I don't really know how that ended up like that06:53
jmarsdenI think they should be owned by www-data but I'm not sure... checking...06:55
jmarsdenHmmm.  Let's try that.  So  do      sudo chmod www-data /etc/apache2/ssl/*06:58
jmarsdenand then restart apache2 with      sudo service apache2 start06:58
thenetduckit says: chmod: invalid mode: `www-data'06:59
thenetduckTry `chmod --help' for more information.06:59
thenetducki currently just have two users, darkwing and it06:59
jmarsdenMy mistake... make that sudo chown www-data /etc/apache2/ssl/*06:59
jmarsdenYou have a bunch of other "system" users, actually, and one of them is www-data07:00
thenetduckoooh07:00
jmarsdenTo see them all, try     cut -d: -f1 </etc/passwd07:01
jmarsdenJust don't ask me what they are all for :)07:01
thenetduckhaha, ok ill look that up07:01
jmarsdenOK, so... did the chown and then restart of apache help?07:02
thenetduckerr.. no, but I know Passenager needs me to do a touch on a file in my rails app so i'm doing a "cap deploy" to make sure it does that really quick07:03
thenetducksee if that makes it kick in07:03
thenetduckno that didnt work07:03
jmarsdenOK, let's look at the error log again:   sudo tail -20 /var/log/apache2/error.log07:04
thenetduckjmarsden: oh I did have to use this command becaues the one you used to restart didn't work: sudo /etc/init.d/apache2 restart07:05
jmarsdenOK, that's fine.07:05
thenetduckhttp://pastie.org/71893807:05
jmarsdenAh, my custom $PATH strikes again... sudo /usr/sbin/service apache2 start    would work for you...07:06
jmarsdenStill   Init: Private key not found    in there... let me think...07:07
maxagazjmarsden, ok thanks and sorry07:07
thenetduckwhat does that error message mean? that it can't read it? or that the server just can't find it?07:08
thenetduckwould it say that if it was the wrong key ?07:08
jmarsdenI think it means the key is bad/corrupted/not in the right format for a key...07:09
thenetduckhum, well I wonder if it had something to do with the removing of the password step in the tutorial07:09
thenetduckif by doing that it some how messed the key up07:09
jmarsdenCan you pastebin me the .key file (I'm not going to use it to pretend to be your web server) and put the URL in your private msg window?07:09
thenetduckhey, I would like my server to default to the https vs http   but right now when you type in mysite.com it goes to the http. Is there a way to default my server to https?08:04
jmarsdenthenetduck: You can make your index.html on the http:// side auto redirect to the https:// side.08:05
thenetduckoh that's a great idea. btw I was able to get my sites ssl cert re-issued and it works great now08:06
jmarsdenGood :)08:06
FireCrotchthenetduck:: A better way to do it would be to use Apache's RedirectPermanant directive08:11
thenetduckFireCrotch: can I do that in my vhost file?08:12
FireCrotchthenetduck: yes, you can.  RedirectPermanant / https://yoursite.com08:12
thenetduckFireCrotch: thanks!08:12
FireCrotchthenetduck: You're welcome :)  BTW you have to spell Permanent correctly, which I failed to do. My apologies08:14
thenetduckhaha it's ok, I can spell either.08:14
thenetduckcan't*08:14
maxagazwhat's wrong in my syntax ? => route add 10.203.1.0 netmask 255.255.255.0 gw 192.168.101.208:16
FireCrotchroute add -net 10.203.1.0... etc08:19
FireCrotchmaxagaz08:19
maxagazok thanks08:24
maxagazI got it08:24
thenetduckFireCrotch: thanks, that worked great, I have a question, did most of the guys here go to school to learn about this?08:26
thenetducknot that you would know haha08:26
FireCrotchthenetduck: Well, I'm sure some of them did.  I learned Linux on my own before going to school to get my degree in computer networking, and I had a couple of basic Linux classes08:28
jmarsdenthenetduck: I got a Computing and Information Systems degree... back in 1983.  Linux didn't exist then... :)08:28
thenetduckholy cow jmarsden I wasn't even born then haha08:28
thenetduckthats cool though08:29
FireCrotchjmarsden: I'm sure you learned all about Unix though, and a lot of that knowledge transfered over, I'm sure08:30
thenetduckjmarsden: was it all unix based?08:30
maxagazhow to delete this route with this mask 192.168.101.0   192.168.101.2   255.255.255.252 ? I have the same with another mask08:31
jmarsdenactually, we didn't officially have access to Unix machines where I was at school.  I did get to play on one PDP-11 some in some other department of the school, but that was "extra-curricular"08:31
jmarsdenthenetduck: All my Unix/Linux knowledge is self taught.  Having the degree as a theoretical background helps though.08:32
jmarsdenSo does working with Linux since 1994 :)08:32
maxagazor just set it down08:32
thenetduckya I would say. That's way cool though, your way good08:33
jmarsden:)08:34
jmarsdenmaxagaz: route del    and the exact same stuff you used to create it should work to delete it.08:35
jmarsdenmaxagaz: route del -net 192.168.101.0 mask 255.255.255.252 gw 192.168.101.2     # I hope :)08:37
maxagazjmarsden, i got it thanks08:43
jmarsdenYou're welcome.08:43
=== crohakon is now known as crohakon|afk
=== node is now known as thenetduck
=== johe__ is now known as johe
=== node is now known as thenetduck
mikehello14:14
=== mike is now known as Guest60099
Guest60099some help please about server kernel14:14
Guest60099i had a ubuntu 9.04 server and upgrade to 9.10 but i having 2.6.31-14-generic-pae as kernel14:15
Guest60099is this right?14:15
Guest60099hello,anyone?14:16
pmatulisGuest60099: how much ram do you have?14:21
Guest60099512... does it matter for server kernel?14:21
Guest60099Recommended Minimum Requirements for server is 128MB...14:23
Guest600991)is anybody here? 2)can anyone help me? thank you14:24
pmatulisGuest60099: the pae kernel is fine for you14:25
Guest60099on 8.10, 9.04 the kernels always had the "server" indication eg 2.6.31-14-server... so generic pae is normal for a server?14:27
PiciGuest60099: yes14:29
Guest60099ok...thank you14:30
Guest60099goodbye14:30
rykeranyone know how to install a package such as ddclient without having apt-get start the daemon automatically after install?15:23
rykerno one around, or just no one has any idea how to do this?15:28
pmatulisryker: i googled 'apt-get install prevent daemon starting' and found some hack15:33
pmatulisryker: i suppose you could also alter the source and build the package yourself15:33
rykerpmatulis: i didn't see that.  i googled the same search terms -prevent15:34
rykertoo lazy to build the package myself ;)15:35
rykeryeah, adding 'prevent' helps a lot15:35
* ryker fails at google15:35
=== dgr is now known as dgr_Away
=== dgr_Away is now known as dgr
=== stgraber_ is now known as stgraber
matrixHello20:00
matrixdoes ubuntu suppport hardware raid?20:00
matrixstill here guys20:01
jmarsdenmatrix: Yes.20:01
jmarsdenThat is, it supports some hardware RAID controllers...20:01
RayzoRI have some questions about Ubuntu if someone is willing to discuss with me over AIM.20:01
matrixi need some informations20:02
matrixdo you have link ?20:02
matrixjmarsden ?20:03
jmarsdenUbuntu  should support all the hardware raid controllers Debian does.. so look at http://wiki.debian.org/LinuxRaidForAdmins20:04
jmarsdenSome discussion of controllers is at http://www.clintoneast.com/articles/linux-sata-raid.php20:06
jmarsdenFakeRAID (and why it is bad) is discussed at https://help.ubuntu.com/community/FakeRaidHowto20:06
jmarsdenmatrix: What are you really asking here?20:07
jmarsdenRayzoR: Ask your questions about Ubuntu server here.  Ask about Ubuntu Desktop in #ubuntu.20:07
RayzoRWell I just want the difference really.20:09
RayzoRI'm still pretty new to Linux and I want to learn about the differences and which one is more user friendly.20:09
RayzoRLike if anyone has AIM it'll be better because I'm doin a research project and I'd like some expert opinions20:09
guntbertRayzoR: for such discussions #ubuntu-offtopic would be better suited20:12
RayzoRAlright.  Thank you.20:13
jmarsdenRayzoR: In general the way to find out how friendly a Linxu distro is (for you) is to run it.  Most can be run off a LiveCD without installing anything to your local hard disk, so this is simple and a good way to do this kind if "research".20:14
=== dazman is now known as Guest62154
=== erichammond1 is now known as erichammond
matrixguys20:48
matrixwhat kind of mail server should i use for ubuntu ?20:48
pmatulismatrix: postfix is very common with ubuntu20:49
matrixdo you know  a documention20:49
matrixfor postfix ubuntu ?20:49
pmatulismatrix: have you checked the ubuntu server guide?20:49
geniiThe server admin guide, probably, has info on it20:49
geniihttps://help.ubuntu.com/9.10/serverguide/C/index.html20:50
=== erichammond1 is now known as erichammond
dgrmatrix: Also check out the community documentation - https://help.ubuntu.com/community/Postfix20:52
lamontmatrix: other than the fact that we run postfix chrooted by default, the postfix docs are 99.99% spot-on20:52
lamontas in upstream postfix docs20:52
ScottKMuch of the Postfix related stuff in the community documentation is pretty outdated.20:53
lamontand then there are all the other docs people are pointing you at, which are much more how-to than the gory details-laden upstream docs20:53
lamontmatrix: and ScottK knows more about the state of ubuntu postfix docs than I do, by far20:53
dgrPerfect opporunity to login and update it ;-)20:53
MatBoyare there any opensource solution like landscape ?20:57
=== erichammond1 is now known as erichammond
pmatulisno21:13
uvirtbot`New bug: #400599 in vm-builder (universe) "Crash when building xen image" [Undecided,Invalid] https://launchpad.net/bugs/40059921:14
MatBoypmatulis: really ?21:22
ScottKMatBoy: If you're just going to doubt the answers you get, why ask?21:23
MatBoyScottK: because I can't believe no-one ever made such thing yet21:23
=== crohakon|afk is now known as crohakon
uvirtbot`New bug: #370950 in lm-sensors (main) "[Upgrade Request] lm-sensors 3.0.2 (jaunty) -> lm-sensors 3.1.1 (dup-of: 336418)" [Wishlist,Triaged] https://launchpad.net/bugs/37095023:42

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