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

hallynkirkland: do you have that liveusb image for the uec demo posted somewhere?00:25
hallynah, i see it on the uds blueprint, thx00:27
=== unreal_ is now known as unreal
corpsehey, im trying to set up a file server using a guide. its telling me to run command echo server1.example.com > /etc/hostname /etc/init.d/hostname.sh start  even using sudo i get -bash /etc/hostname: permission denied00:59
Picicorpse: echo "server1.example.com" | sudo tee /etc/hostname01:02
corpsethanks man =]01:03
corpsenow when i run start hostname i get start: unable to connect to system bus: failed to connct to socket /var/run/dbus/system_bus_socket: no such file or directory01:05
corpsenever mind i think i got it. but when i run hostname i get fireserv   then when i run hostname -f i get fileserv.example.com. the guide says they should both return fileserv.example.com01:08
corpsei cannot seem to get my interfaces files setup right inorder to run the server01:46
corpseand i dont understand why, cuase its pretty stright forward01:47
kirklandhallyn: yeah, it *mostly* works01:48
kirklandhallyn: there's something non-deterministic about the behavior at this point01:48
kirklandhallyn: ie, boot it in a vm, if it doesn't "just work", kill the vm, and try again01:48
kirklandhallyn: right now, it takes 2-3 tries01:48
=== f1yback is now known as flyback
IzinucsIs there a way to boot to the server installer from usb on a headless machine and then ssh into it to do the install?  I already have the installer prepared on a usb stick..01:51
=== erichammond1 is now known as erichammond
=== RoyK906 is now known as RoyK
DrDamnitInstalling 10.04 LTS x64 server on HP ML150 G6 from USB drive created with PenDriveLinux Universal Installer. "Load installer components from CD" fails. How do I get past this?03:42
ScottKDrDamnit: Why didn't you use usb-creator to make the USB image?03:44
DrDamnitusb-creator crashes with a segmentation fault on 10.04 desktop.03:44
corpsehey, when i ifconfig it shows that my eth0 is up and runing but when i try to apt-get upgrade i get faliure resolving errors. is there any way to trouble shoot my network connection?03:46
corpseDrDamnit: i just did this last night formate the drive to FAT32 and use UNetbootin. that ended up working for me03:47
corpseDrDamnit: i was using a ISO d/led from ubuntu.com though not cd03:48
DrDamnitcorpse: I am using the ISO too. I'll try UBetbootin03:53
DrDamnitcorpse: 10.04_Live_x64?03:56
corpseDrDamnit: yes i used both desktop and server ed04:05
corpseare you formating the drive prior to runing UNetbootin?04:06
DrDamnitI used the HP format tool to format the drive to FAT32, and then put server x64 on it. Just booted, and it says "Your installation CDROM couldn't be mounted. This probably means tha thte CDROM was no in the drive. I fso you can inserti it and try again."04:07
DrDamnitI used Unetbootin to put server x64 on it.04:07
DrDamnitstill no joy.04:10
DrDamnitany thoughts? I am using a 4GB stick...04:10
corpsedumb question but did you set your bios to load the usb first?04:11
DrDamnitNot a dumb question. Perfectly valid. And... let me check. I assumed that since it was booting from the USB stick that it was, indeed, doing that. But not setting it might confuse it during the install. Let's try it out....04:11
corpsealso after making the disk i had to run this command      sudo syslinux -sf /dev/your_device   (your device being the drive name eg sda sdb sdb1 etc)04:12
corpseyeah you want to make sure that the first device it is booting from is the usb04:12
DrDamnitI am making this USB on Windows. That's all I have available at the moment.04:12
corpseah04:12
DrDamnitbut it should still work.04:12
corpseyeah04:12
DrDamnitIt is booting from the USB stick...04:13
corpseim not exaclty sure, im sure you can google it, but that command i just gave was to make the drive bootable04:13
corpseyou might need to do that but im not sure how to in windows04:14
DrDamnitIn BIOS: USB Device Boot Pririty = High.04:14
DrDamnitthere's a syslinux.exe that does it.04:14
DrDamnitsyslinux just makes it bootable.04:14
corpseah04:14
DrDamnitIt appears to be that anaconda is failing to detect the setup files on the USB drive, and / or is defaulting ot the cdrom.04:14
DrDamnitwhich it should be doing because we are no tinstalling from a cdrom.04:14
DrDamnit...methinks....04:14
corpsewhen booting and your at the bios splash screen try hitting f8 to see if you have a bootlist selector04:14
corpseyeah i had the same problem. i litterly spent 24 hours trying to get my usb to boot04:15
ntenishello quys04:16
ntenishas anyone installed remote desktop to a server installation ?04:16
corpseim about to try to once i get my networking working on my server =P04:16
DrDamnitntenis: remote desktop uses vnc or some other type of software that "broadcasts" the xserver. So, there's no point since X is not install on server.04:17
corpsethe network says its up but i cant connect to apt-get update04:17
ntenisi tried to installed gnome and vnc but when i do that then i am no longer able to ssh to the server04:17
DrDamnitcorpse: the repos have been having issues lately.04:17
ntenisdoes anyone know why?04:17
DrDamnittry to manually connect from another machine to see if they are up.04:18
corpseyeah i have it running on this machine right now04:18
corpseyeah i have it running on this machine right now;1 droped:0 overruns:0 frame:1  is there anyway to see that error?04:20
corpseoops04:20
corpsewhen i run ifconfig i get RX packets:863 errors:104:21
DrDamniton which machines?04:21
corpsemy server04:21
corpsei have a box right next to me that im trying to set up a fileserver04:21
corpseand its been fighting me every step of the way04:22
DrDamnitthe one with the network problem....04:22
corpseyes04:22
DrDamnithas it ever worked (i.e., on 9.10?)04:22
corpsenope this is my first attempt04:22
corpseusing 10.04 server04:23
ScottKDrDamnit: If you didn't get it working yet, I understand usb-creator-kde doesn't crash.04:23
DrDamnittry 9.10 first. It's quite nice. I am starting to have my doubts about 10.04. It's shiney and new, but seems to be buggy.04:23
DrDamnitScottK: Haven't gotten it to work yet. Tried the Universal USB installer from PenDriveLinux, and now working with Unetbootin. I'll try that next. apt-get install usb-creator-kde?04:24
DrDamnitScottK: the issue doesn't seem to be the bootable USB key thing... it appears anaconda is upset with me using a USB key rather than a CDROM. What do you think?04:24
ScottKYes.04:24
ScottKI've done installs from usb sticks before.  The error sounded like it was confused about the path to the device.  That's why I was thinking there may be some data point that usb-creator sets that other methods don't.04:25
ScottKAlthough, in fairness, my usb installs were desktops/netbooks, not servers.04:26
DrDamnitcorpse: I am booting with 10.04 Desktop into live mode to see if the live mode will work, and then see if I can see the CDROM and HDs, etc...04:26
DrDamnitYes. I have done USB on netbooks and desktops. This is the first server.04:26
DrDamnitI agree it is confused about the path.04:26
=== unreal_ is now known as unreal
DrDamnitI also have a smart array i400P RAID controller n this.04:26
DrDamnitso that may be making a difference.04:26
DrDamnitbooting into live mode doesn't see the raid controller.04:29
DrDamnitnope. nevermid. It shows up as cciss not hdx sdx or scsix.04:30
DrDamnitkernel supports the controller...04:30
DrDamnitso that's good.04:30
ScottKYou could just install using the desktop installer and remove the desktop when you're done.04:31
deslectorhi, is there any ubuntu-based asterisk distribution out there?04:31
DrDamnitcorpse: on your file server that cannot access the repos... how many NICs do you have?04:33
corpseDrDamnit: one04:33
DrDamnitdeslector: I am a dCAP. Not that I know of. Digium uses #PoundKey, which is based on rPath, which is based on Redhat.04:33
corpseDrDamnit: im just kinnda new to linux so im running out of commands to help troubleshoot04:34
DrDamnitare you wanting something like Trixbox?04:34
deslectordragondon, dCAP?04:34
deslectorDrDamnit,04:35
DrDamnitcorpse: no worries. That doesn't mean that you won't either 1) have the answer or 2) light a firecracker in my brain causing an 'ah-ha' moment ot fix it. :-)04:35
DrDamnitdCAP = Digium Certified Asterisk Professional.04:35
deslectorDrDamnit, oh, I see04:35
deslectorDrDamnit, yeah, something like trixbox would be nice, but based on ubuntu04:35
deslectorI like ubuntu much better04:35
DrDamnitNot that I know of. Trixbox should be named KludgeBox. It sucks.04:36
DrDamnitIt's easier to just build what you need and write scripts to assemble it.04:36
DrDamnithttp://www.idlebraintime.com/2009/06/how-to-install-asterisk-16-on-ubuntu-904-server/04:36
DrDamnitfrom my blog.04:36
DrDamnitafter that, grab freepbx.04:36
DrDamnitand you should be good to go.04:36
DrDamnitthat most of what trixbox offers anyway.04:36
DrDamnitwhat features do you specifically need?04:37
corpseDrDamnit: so far i have set my static ip adress and host info. i am able to run a network restart without error. but i still can not connect to anything04:37
ScottKI haven't tried it, but I know some effort went into the last cycle to get asterisk working well on Ubuntu.04:37
deslectorDrDamnit, well... not sure, only the basic stuff... basically, freepbx + fax04:38
deslectorconferencing would be nice too04:38
DrDamnitcorpse: I have had that issue before. It acts like there is an IP address conflict. Set the nic back to DHCP, and delete the static info that you put in there. Then get an address from your DHCP server, then reset the static ip address. Does the trick for me.04:39
DrDamnitScottK: Asterisk has always worked well on Ubuntu. At least since v7.04:39
DrDamnitdeslector: follow the guide i gave you. That will get asterisk working in Ubuntu.04:39
DrDamnitThen install FreePBX according to its docs.04:39
deslectorDrDamnit, is it apt-get upgrade safe?04:40
|corpse|sorry kicked the powercord out of the wall04:40
deslectorDrDamnit, the main thing I have againts CentOS-based stuff is that I'm never sure whether I can upgrade or not04:40
deslectors/againts/against/04:40
DrDamnitfax is still a bit nebulous, but you can buy the fax license from Digium, and it works REALLY well. It's relatively cheap. If you do the free one, you might be in for some headaches. The cheapest thing to do for fax; however, is to get an ATA and plug it into a real fax machine.04:40
|corpse|lol i guess im dumb. after the reboot on my server from that power fail i can now update the repos04:40
DrDamnitapt-get upgrade is safe. I do it all the time.04:41
DrDamnitcorpse: that's fantastic.04:41
DrDamnitthank your foot.04:41
deslectorDrDamnit, oh, ok! thank you very much... I'll give it a try04:41
|corpse|the guide im using donst state to reboot the pc, just to reset the network04:41
DrDamnitdeslector: if you ever blow asterisk up.....04:42
DrDamnitjust recompile and reinstall.04:42
DrDamnit./configure && make && make install && service asterisk restart04:42
DrDamnitfrom the source dir.04:42
|corpse|DrDamnit: do you know if its possible/ok to run a server as both a file server and a proxy for the rest of the network?04:42
DrDamnitcorpse: I don't see why not from a functional standpoint. From a security standpoint...probably not a great idea.04:46
|corpse|ok, trying to maximize security with anonnymity04:46
|corpse|and i really dont want somthing like tor running on my server04:47
DrDamnitcorpse: maximize security means you need to have a dedicated proxy.04:47
deslectorDrDamnit, just out of curiosity, any idea why most asterisk-distros prefer CentOS & Co.?04:47
DrDamnitCentOS is based on Redhat. Asterisk was originally developed on a Redhat based system.04:48
DrDamnitDigium has standardized on redhat based technologies.04:48
DrDamnitbut...what's interesting... is that most of the tech people who are there all prefer debian / ubuntu.04:48
DrDamnitI assume the reason is because CentOS is RHEL's free version.04:49
deslectorDrDamnit, yeah, I know about RH-CentOS04:49
DrDamnitcorpse: are you going to anonymize your IP using the proxy?04:50
deslectorDrDamnit, I just don't see any advantage to use RedHat either04:50
DrDamnitdeslector: it's really personal preference.04:50
deslectorDrDamnit, yep... you're right04:50
DrDamnitthere's no disadvantage either.04:50
deslectorit is still weird that all of them (at least the ones I've seen) run on RH-based stuff04:51
deslectorsomeone should start an Ubuntu-based one :-)04:51
DrDamnitsomeone should :-)04:52
deslectorubuntisk04:52
deslectorlol04:52
DrDamnitcorpse: have you considered: http://www.endian.com/en/community/04:53
|corpse|thanks ill check that out04:55
|corpse|do you know how to change a bootlist on a device from the server command prompt?04:55
|corpse|i can only boot to server with the usb stick in. it did not install the grub to the disk i installed ubuntu into.04:55
|corpse|i just did an fdisk -l and relized that the its not listed under device boot04:56
DrDamnitnot off the top of my head, but I am guessing you can google it pretty easy. You need to install grub.04:57
|corpse|yeah, iv been looking, thanks for the help. that endian looks really nice04:57
DrDamnitScottK: You da man! usb-creator-kde worked.05:15
ScottKDrDamnit: Thank rgreening_.  He's the primary developer of the KDE front end for usb-creator.05:15
ScottKGlad I could help.05:15
rgreening_:P05:16
DrDamnitdone and done.05:17
DrDamnitPM'd him.05:17
rgreening_ty DrDamnit05:18
rgreening_nice to see it useful05:18
|corpse|hey, is anyone good with samba? im triny to install a server and when i do sudo smbpassw -a sample_user i enter the new password twice then i get the return " failed to add entry for user sample_user05:44
DrDamnitcorpse: did you say that you were just gietting a blinking cursor?06:18
corpsenope06:18
corpsei almost have the server all set up but now i just cant get my computer to connect to it properly06:19
DrDamnityeah. I got 10.04 installed, and now after boot, the cursor just blinks.06:21
corpsemy server comes up in networks and i can open that and see the workgroup file but i get cannot retrive share list06:21
corpsehmm, i havnt run into that problem yet06:21
ScottKDrDamnit: Try a different VT.  IIRC there's a boot time VT switching bug.06:24
DrDamnitrolling back to 9.10.06:24
DrDamnitVT?06:24
DrDamnitScottK: What VT?06:25
* ScottK doesn't recall which. 06:25
ScottKThere aren't that many to check.06:25
DrDamnitScottK: What is VT?06:26
ScottKVirtual Terminal06:27
ScottKYou switch with alt (or ctrl alt, I'm really tired and don't recall) and F1 - F7.06:27
DrDamnitgotcha.06:27
DrDamnitI'll try06:27
DrDamnitctrl+alt says my ubuntu laptop....06:28
DrDamnitF1-F6 are terminals, F7 X.06:28
DrDamnitIt posts, and looks like it is at the grub loading stage, but I never see grub, and I never see a boot.06:29
DrDamnitVT's are all a cursor (if they are even loaded).06:30
DrDamnit10.04 appears too buggy for a production box.06:30
jbrouhardDrDamnit, I find 10.04 to be perfectly fine06:34
jbrouhardit could easily be a variety of problems in your case, unless you seriously investigate it instead of writing it off as "buggy"06:34
DrDamnitjbrouhard: Works well on three other boxes, but I have been banging against one issue after another with this particular box. Rolling back to 9.10 to see if it is the version or the hardware.06:34
* jbrouhard suspects hardware06:35
jbrouhardOr possibly the drive06:35
DrDamnitalready tested the drives. THey are brand new, and came back clean.06:35
DrDamnitshow up as cciss, and parition and format just fine. Live CD sees them and can work with them.06:35
jbrouhardhmm06:36
jbrouhardis there any thing different between the known-working boxes and the problem child ?06:36
DrDamnitCompletely different sets of hardware. The problem child is an HP ML150 G6, and the others are various ASUS and Intel boards. All 64bit.06:37
jbrouhardI'd search forums for these06:37
DrDamnitThe primary issue is usually the hardware controller, and I know that 9.10 works well with this hardware set because I have an ML370 with the same configs and it works like a charm in 9.10. Ergo, why I am testing with 9.10.06:37
DrDamnit*hard drive controller06:38
DrDamnitWhen I installed 9.10, it installed without a hitch, then made me a cup of coffee, and drew me a picture of a smiley face.06:38
DrDamnit...on the ML370 that has the same HD smart array controller.06:38
DrDamnitalso, the other boxes were all updated using do-release-upgrade not a fresh install.06:40
DrDamnitIn Anaconda on the software seelction screen, What does "Virtual Machine Host" install? VMWare?06:42
DrDamnitjbrouhard: 9.10 insalled like a charm.06:50
jbrouhardsounds like a driver issue.06:51
jbrouhardDoesn't make it buggy06:51
jbrouhardisn't the ML150 a bit old ?06:51
DrDamnitIt's a G6.06:52
DrDamnitbrand new version06:52
DrDamnitthanks for everyone's help. I am going to bed. :-)06:56
ruben23hi guys how do i install this atheros ethernet card on my ubuntu-server 8.04------> http://pastebin.com/6RwKtran07:18
ruben23any idea how to make it be detected07:18
ruben23and can be used07:18
ruben23hi guys..?07:31
deslectorhi, do you guys have any suggestion about good squid reports generator?07:42
Ian___There is one in smoothwall ... may B U could find out what that is07:45
deslectorIan___, is smoothwall based on ubuntu?07:47
Ian___not sure07:48
Ian___I should check .. have machine downstairs dedicated to just that07:48
Ian___Based on Redhat originally07:50
uvirtbotNew bug: #584168 in mysql-dfsg-5.1 (main) "package mysql-client-core-5.1 5.1.41-3ubuntu12.1 failed to install/upgrade: package mysql-client-core-5.1" [Undecided,New] https://launchpad.net/bugs/58416812:01
aliveriuswhat remote management tools are there for ubuntu server? how well do they integrate?12:15
Andrew-byAs I see there is no Server Guide for the 10.4 version yet, is it?14:46
=== Thell|Away is now known as Thell
guntbert!serverguide | andol15:22
ubottuandol: The Ubuntu server guide may be found at http://help.ubuntu.com/10.04/serverguide/C/15:22
guntbertsoory, wrong nick15:23
andolguntbert: no problem15:23
guntbertthat other guy was away so quick....15:24
dragondon@dselector Not sure what that meant but that would mean I'm not the DD you are looking for :)15:27
uvirtbotNew bug: #584229 in logwatch (main) "missing named filter/service patterns" [Undecided,New] https://launchpad.net/bugs/58422915:46
Malekoi have a question about manually compiling binaries in ubuntu server16:22
Malekowhen you compile stuff locally (with --prefix) does the resulted binaries usually contain hard coded path of their dir16:25
guntbertMaleko: that would completely depend on the author's choice16:25
guntbertMaleko: but I don't expect that often16:26
Malekowell i am curious if the app that i have locally compiled on my server would work another ubuntu server16:28
Malekoboth are running the same ubuntu version16:28
guntbertMaleko: I'd say "yes" generally, but why don't you just try?16:29
elnurhttp://pastebin.com/BWA3nv9J It works with this configuration and asks for auth. But if I uncomment LimitExcept, I get Forbidden by default. But it's supposed to allow me for GET PROPFIND OPTIONS REPORT16:37
elnurAny ideas why?16:38
elnurhttp://pastebin.com/BWA3nv9J It works with this configuration and asks for auth. But if I uncomment LimitExcept, I get Forbidden by default. But it's supposed to allow me for GET PROPFIND OPTIONS REPORT. Any ideas why?16:42
elnurhttp://pastebin.com/BWA3nv9J It works with this configuration and asks for auth. But if I uncomment LimitExcept, I get Forbidden by default. But it's supposed to allow me for GET PROPFIND OPTIONS REPORT. Any ideas why?16:51
elnurSolved my problem by removing 'AuthzSVNAccessFile /srv/authz' line from the config17:01
=== dendro-afk is now known as dendrobates
=== dendrobates is now known as dendro-afk
=== dendro-afk is now known as dendrobates
OddfellowsWhat is the command for enabling a module?19:45
Oddfellowsin apache19:45
ScottKAny clamav users here with 10.04 willing to help out with some testing?19:47
deslectorOddfellows, a2enmod19:49
RoyK^Oddfellows: don't remember - the manual way is to make a symlink to it in /etc/apache2/mods-enabled (from mods-available)19:54
RoyK^then restart or reload apache19:54
RoyK^Oddfellows: https://help.ubuntu.com/8.04/serverguide/C/index.html <-- read that friendly manual :þ19:56
Scunizito manually set a static IP address are there any additional files to edit other than /etc/network/interfaces and etc/resolv.conf?20:00
guntbertScunizi: if you change the network too you will have to adapt the routes  -- please see https://help.ubuntu.com/10.04/serverguide/C/network-configuration.html20:02
Scuniziguntbert: thanks for the link.. the addressing will be within the same subnet as the dhcp'd computers.. I just want to fix the ip address to a higher static IP like 192.168.0.222 or similar.. keeping dns etc the same as the rest of the network20:05
guntbertScunizi: then you should be fine - but I "always" check against the guide (doing it too seldom....)20:06
Scuniziguntbert: I know what you mean.. I had a 'hidden' server in the house with 8.04 for a while but havent used it in a while.. when I tried to fire it up to install 10.04 it was 2 hours of hardware diagnostics and swapping power supplies & ram around from other door stops that I have.. finally got one working and am in the middle of install now..20:08
dae_Hi, I'm working on setting up SMTP-AUTH with postfix, basically following https://help.ubuntu.com/10.04/serverguide/C/email-services.html. The server has two interfaces, one towards the outside and one towards my internal network. What I want to achieve is to disable the support to accept a plaintext password send on the external interface. I'm using Dovecot SASL with mechanisms plain and login that in turn uses PAM. Following the g20:08
dae_uide it seems I can login with a plaintext password now, but I only want to support that when using TLS.20:08
Scuniziguntbert: on a side note.. when I sudo tasksel and choose FTP server.. which server is installed? and how much additional configuration is needed to actually get it working?20:08
dae_So, I was thinking about using port 587 and require TLS on that port and only setup SMTP AUTH on port 587, and never allow relays on mail coming in on port 25. Will this work? Better solutions?20:09
guntbertScunizi: man tasksel tells you how to get most of that info20:10
Scuniziguntbert: thanks20:10
guntbertScunizi: have fun :-))20:10
Scuniziguntbert: thanks.. :020:11
Scunizi:)  Wish I could hit the shift key propertly.. fat fingers today20:11
guntbertScunizi: lucky if they are only today :-))20:12
dae_Sorry for the long questions, setting smtpd_tls_auth_only = yes is actually all is takes to accomplish what I wanted to achieve20:26
OddfellowsI have bind configured and installed, but if I dig my domain name it does not show my A record, what is wrong?20:35
Oddfellows(Is this just a slow moment, or just am I disconnected?)20:41
baccenfutterhi, what's my searchterm, if I want my local bind9 to resolve my dyndns internally and point the clients directly to the internal IP?20:43
Scuniziguntbert: when restarting the netowrk service the link you gave me before used init.d like the older systems.. on 9.10 to present isn't is sudo service networking restart?20:56
OddfellowsI have bind configured and installed, but if I dig my domain name it does not show my A record, what is wrong?20:56
guntbertScunizi: the traditional command will give you a hint "you can do it with  .... as well"20:57
Scuniziguntbert: ok.. I'm use to the old way but getting use to the new way... if you don't play you forget :/20:57
guntbertScunizi: I just tried: etc/init.d/networking does its job, then there is sudo service networking ..., and then there is sudo restart networking21:01
axisyshow do I auto update the non critical pkgs.. currently i get notified through screen/email/motd and then run aptitude manually21:04
yosi1234hi all21:04
yosi1234Question - If I need to install the driver for the LSI RAID Controller 9260-8i on Ubuntu , which driver would be compatible from tehir website21:05
yosi1234http://www.lsi.com/storage_home/products_home/internal_raid/megaraid_sas/6gb_s_value_line/sas9260-8i/21:05
guntbertaxisys: on a server thats a sensible thing I'd say21:05
yosi1234Adaptec and LSI don't seem to have Ubuntu drives, just every other Linux OS - whats with that?21:05
axisysguntbert: manual update ?21:06
guntbertaxisys: changing running applications is not that easy - so you choose the time when you want to do the upgrades21:07
axisysi like to do auto update non critical pkgs.. like for example bybou21:07
axisysi see some hints in here21:08
axisyshttps://help.ubuntu.com/community/AutoWeeklyUpdateHowTo21:08
Scuniziguntbert: FYI.... sudo service networking restart wasn't recognized... sudo /etc/init.d/networking restart worked with no prompt for an alternate command21:08
guntbertScunizi: I didn't ask what version you are running21:09
Scunizi10.0421:09
axisyswhat i want to do is find a way to give the autoupdate a list of pkgs then I like to autoupdate.. but not all21:10
guntbertScunizi: same here - but the "new" commands seem to have some issues21:10
Scuniziwhen initially logging in on the main box or via ssh.. server presents some system information.. how do I manually call that up when I want?21:10
guntbertaxisys: look at the aptitude part - you could even try to put aptitude safe-upgrade into a cron-job -- that never broke anything for me21:12
axisysguntbert: cool!21:12
axisysguntbert: thank you21:13
guntbertaxisys: no problem and Good luck :-)21:13
axisysguntbert: so it does not upgrade kernel right.. let me read the man21:13
axisysguntbert: so it does not upgrade kernel right?21:13
baccenfutterhi, what's my searchterm, if I want my local bind9 to resolve my dyndns to the internal IP of my www server instead of passing the request to the authority?21:14
guntbertaxisys: hmm - without command switches it asks me "do you want to do that" -- which is bad in a cron job -- please really read the man page - as my "server" is only a VM I just do it manually21:15
axisysmarkauto looks a good option21:16
axisysso i can just pick my pkgs that i want to install automatically21:16
axisysor upgrade21:16
yosi1234Question21:21
yosi1234If the Kernel 2.6.32 has native support for a device (MEgaRAID), you don't need another driver in the OS?21:21
ScottKThat should be correct.21:22
yosi1234i come form the windows worls21:22
yosi1234so just trying to learn21:22
maddhatI'm trying to create a user for backups (need to ssh to the system).  how can i create a user with read only access to ALL files on the filesystem?21:22
yosi1234u normally need a driver for everything21:22
ScottKyosi1234: It's no problem for asking.21:27
ScuniziI'm now having scp over ssh issues... mostlikely just me or something I haven't configured yet.. I can ssh into my server and ... scp my_machine@<IP Address>:/etc/samba/smb.conf server@<ip address>:/etc/samba/  ... is this the wrong syntax?21:31
maddhatScunizi: it looks right to me21:32
maddhatbut are you sure you have permissions to write in the destination location?21:32
Scunizimaddhat: can you use sudo in conjunction with the scp command?21:33
guntbertScunizi: asfaik scp works only when one side is local so scp /etc/samba/smb.conf user@server:/etc/samba/21:33
Scuniziah.. syntax.. I'll try again..21:33
guntbertScunizi: where user should be root in this case21:33
Scuniziguntbert: maddhat .. ok it worked.. sudo scp <user@IP Address:/etc/samba/smb.conf /etc/samba   ...21:34
Scunizimakes sense now... but going the other direction the system should ask for a password for the machine on the receiving end.. right?21:35
guntbertScunizi: no, always for the far end, as you are locally authenticated anyway21:37
Scuniziguntbert: I think that's what I mean.. If I'm on machine A that is ssh'd into machine B via terminal then in that terminal if I want to copy a file from B to A the previously mentioned syntax would be reversed and machine A would ask for a password (if copying to a "root" location).. Am I correct in that?21:39
Scunizils21:40
guntbertScunizi: sorry, thats getting a little complicated for the local time of day :-), disregard what happened before and where your body is. just look at "where do I initiate scp  - that is local" and "where is the other side - thats remote"21:41
Scunizi:) ok..21:42
Scuniziguntbert: I just tested scp /etc/testfile.txt <username>@192.168.x.x:/etc/ .. that would be copying from the remote machine to the machine I'm at... it prompts me for a password and then says Permission Denied.. what am I doing wrong?21:44
maddhatchange the destination folder to the home directory of the user you are logging in as. see if you get the same error21:46
guntbertScunizi: remember "local" is the machine where the scp executable is occupying the cpu, "remote" is elsewhere - you always need to give user and password for the remote side21:46
Scuniziguntbert: so local would be the machine that I'm ssh'd into because it thinks I'm there locally.... so when copying to the remote machine (the one I'm sitting at) scp gets a reqeust for a password from the remote machine.. no user name is mentioned most likely because I put that in the syntax.. ie. user@IP address:.. still says permission denied when I enter the password21:50
ruben23hi giys anyone setup a production web server using apache221:51
guntbertScunizi: try it local-local (at the machine where your body is): scp somefile localhost:~/someothername, should ask you for *your* password, than you can try the same approach from the other machine21:53
guntbertScunizi: but you can always initiate the transfer from the other machine too21:54
guntberts/too/as well/21:54
Scuniziguntbert: I get the systems to ask for a password but after it's entered it is denied.. the pass on both machines is the same.. will that make a difference?21:57
guntbertScunizi: no difference - try with ssh localhost  - does that work?21:58
Scuniziguntbert: I'll do that again.. didn't use localhost just a directory reference..21:59
ruben23i giys anyone setup a production web server using apache222:00
Scuniziguntbert: yes that worked.. using local host.. it asked to add the RSA key and then asked for the password22:00
guntbertScunizi: and now try scp (with localhost) again, maybe the missing key was the issue22:01
Scuniziguntbert: it did do it the first time with localhost after accepting the key.  and now functions the same without asking for acceptance of the key so it is stored.. however trying it from the machine that I'm sitting at in my terminal (not the ssh'd terminal).. and going to the remote machine, I'm prompted for the password, it's entered, then denied22:04
guntbertScunizi: and users on both machines are the same? and ssh in the same direction works?22:05
Scuniziguntbert: users are different..  in the ssh terminal I just did a test..  scp /etc/testfile.txt <user>@192.168.x.x:/home/mark/ and it worked machine to machine .. . then I tried ... scp /etc/testfile.txt <user>@192.168.x.x:/etc/  .. it asked for the password and then it denied the transfer.. ???22:08
Scunizithe only difference between the two is the location of where the file is going on the same machine.22:09
guntbertScunizi: you have to give the correct username for the target (where the scp executable is NOT occupying the cpu) and the appropriate password22:10
Scuniziguntbert: so if I'm copying to a root location the user would be "root"?22:10
guntbertScunizi: yes, I think I said that some time ago :-))  but maybe it was in another conversation22:11
Scuniziguntbert: tried that but it also didn't work :(22:12
Scuniziguntbert: I tried the user name (the only user on the system) and root .. both ask for a password and both are denied.22:12
guntbertScunizi: please pastebin two lines for me: the command you use to ssh from your body to the server, and the command you give to initiate scp in the same direction (and please don't obfuscate usernames and addresses if possible)22:14
Scuniziguntbert: http://ubuntu.pastebin.com/hczB6KsD22:18
guntbertScunizi: that was the scp part, now please with ssh (and once mark, once root)22:19
Scuniziguntbert: how do you mean with ssh? how I actually log into the server?22:20
guntbertScunizi: yes, as scp use the same protocol as ssh I expect to get some info from that22:21
guntbertScunizi: I expect something like ssh mark@192.168.0.50 ....., and then ssh root@192.168.0.50....22:22
Scuniziguntbert: http://ubuntu.pastebin.com/Tjr3q5V022:24
guntbertScunizi: thats the other direction - I need the same direction as with scp22:26
Scunizi.50 is the machine I'm sitting at.. can I ssh into this same machine?  .200 is the headless server22:27
guntbertScunizi: of course you could try - starting from the .20022:30
Scuniziguntbert: didn't know if that was going to work but it did.. http://ubuntu.pastebin.com/2Z85Jaxy22:33
Scuniziconfusing redundancy if I had to do that all the time :)22:33
ScuniziThat is.. I ssh'd into the 200 machine and once there ssh'd back to the machine that I was on.22:36
=== deslector is now known as deslector|afk
guntbertScunizi: no , on .200 you type ssh mark@192.168.0.50 ..... then exit and type ssh root@192.168.0.50 .... and exit22:36
Scuniziguntbert: ah.. the 200 is a headless server.. it would take me a few minutes to setup the monitor, keyboard and mouse.22:37
guntbertScunizi: nononono! just do it from your existing ssh session!!22:38
Scuniziguntbert: ok.. I'm on the .50 machine.. here's the paste of me sshing into myself... http://ubuntu.pastebin.com/D0ZzNYRz22:40
Scuniziguntbert: server=200 machine.. while ssh'd into the 200 I can ssh into mark@192.168.0.50 (where I'm sittting) but I can't ssh into root@192.168.0.50.    From a normal terminal on the 50 machine (where I'm sitting) I can ssh into server@192.168.0.200 but not root@192.168.0.200.. does that help?22:44
guntbertScunizi: thats not exactly what I wanted but it should do - you will have to enable root login via ssh - SECURITY RISK - edit (with root permissions) /etc/ssh/sshd_config: look for # Authentication: ..PermitRootLogin yes22:45
Zelesthaving root logins enabled is indeed _very_ bad.22:46
Scuniziguntbert: ok.. so as an admin of a headless server how does the admin take care of file transfers in the real world without PermitRootLogin=yes ??22:47
Scunizito a root location that is22:47
guntbertZelest: indeed22:47
ZelestUpload it as a user. :)22:47
Zelestthen login and use sudo/su to move it to wherever it's needed.22:47
ScuniziZelest: ah ok.. a dual step process22:48
ZelestWell22:48
ZelestWhat files does requre root access normally?22:48
guntbertScunizi: upload it as a user ^^ , then ssh into the machine and copy/move the files where they should go22:48
ZelestMost services Linux has to offer normally runs as non-root users and offer the services to user-account.22:48
cloakableWell, PermitRootLogin yes and PasswordAuthentication no22:49
cloakable:)22:49
=== deslector|afk is now known as deslector
guntbertcloakable: was going to be the next step ... but I'm calling it a day now22:50
guntbertScunizi: have fun22:50
Scuniziguntbert: ok.. but being a headless server I would ssh into it and copy files as a user to /home then move it with sudo to the right location.. thanks for the help guntbert.. it's appriciated22:50
guntbertScunizi: no problem -- g'night22:50
ScuniziZelest: If you're trying to copy a file from machine A to a root location on machine B I think you're saying that you can't do that unless you PermitRootLogin=yes.. do I have that right?22:51
ZelestScunizi, Logon to machine B, su up to root, then run scp to copy files from machine A. ;-)22:52
ScuniziZelest: ah the proverbial "assign root a password" thingy huh?  or is it sudo -i type thing22:53
ZelestScunizi, I still don't see what files we're talking about really.22:53
ZelestScunizi, I have assigned root a password on my machines as I'm not a fan of sudo. :-)22:53
ScuniziZelest: a smb.conf file on one machine that I want to move to anther22:53
Zelesto_O22:53
ScuniziZelest: or say.. an entire cms package that needs copying to /var/www ..22:54
ZelestYou dislike a "dual step process", yet takes time to discuss how to do this the fastest way possible.. when it's infact ONE file you want to move? o_O22:54
Zelestmkdir /var/www/foobar.tld && chown user /var/www/foobar.tld22:55
Zelest;)22:55
ScuniziZelest: wasn't looking for the fastest method.. just how to do it.. I wasn't being successful with scp22:55
ZelestAh22:56
ScuniziZelest: yes unless the cms package is already downloaded on desktop machine A and you need to move it to headless server B22:56
ZelestHow does that affect things? Simple create the root for the website and change the ownership of it before you upload it?22:56
ScuniziZelest: that would be almost the same as moving it to /home then cp to /var/www..22:57
ZelestYep.22:58
ScuniziCan you use sudo in a scp command?22:58
ZelestNope.22:58
Scuniziah well.. it's always a learning experience isn't it?22:58
ZelestPersonally I run FreeBSD (doesn't matter really) on my webserver and have configured each website to the owners home-dir.22:58
ZelestE.g, /home/zelest/foobar.com/22:59
ZelestThen map the website in Apache's configuration22:59
ScuniziZelest: is that because /home is a different partition/drive?  more room?22:59
ZelestThat too, but mostly to eliminate the issue you're describing about having to move stuff around after it's uploaded.23:00
ZelestI can simply manage web content with scp/winscp.23:00
ScuniziZelest: so does apache take care of the security access to your /home?23:00
ZelestI've chmodded each homedir so only the user and www group can access it.23:01
Scunizi744?23:01
ZelestThe www user has uid 80 in FreeBSD. :-P23:02
ScuniziI was thinking of the permissions.. not the uid..23:02
ZelestOh23:03
Zelest75023:03
Scuniziah23:03
Scuniziand do you make www-data a member of your group or do you chown the directories to www-data and become a member of that?23:04
ZelestNormally a friend or relative wonders if I can host a site for them.. then I reconfigure apache, create the dirs, chmod them, etc.. then give them the username/password.23:05
ZelestThen they can upload/edit/whatever their data themselfs.23:05
Scunizinice.. you must be using a bussiness class internet service with static ip's or possibly using something like dydns.com ?23:07
penguin42Scunizi: some ISPs provide fixed IPs for only a little extra23:08
Scunizipenguin42: unfortunately Cox Communications wants you to "upgrade" to business class (ie tiered bandwidth cost) before getting a static ip .. :(23:09
ScuniziI get much better bandwidth on their home service...23:09
MTecknologyhow secure is samba?23:16
ZelestScunizi, I use my home connection with dynamic IP. ;-)23:19
ScuniziZelest: I do to..23:19
ZelestI run a Ubuntu server for KVM, where I run several FreeBSD instances, each with a dynamic IP from my ISP (I get 10 IP's) .. :-)23:19
ZelestThe Ubuntu server also acts as a firewall as well as gateway for my personal LAN.23:20
MTecknologyZelest: I could get 10 ip's if i wanted - but instead i just stick wioth the extra $5/mo and get 523:20
ZelestAs for the dynamic part, the IP's only change if one of the machines is offline for more than 30 minutes or so.. and if that happens, I got bigger problems. :-)23:20
ScuniziI have yet to create a fstab line to mount a samba share successfully with mount.cifs .. any advice?23:21
ZelestMTecknology, I can't choose less IP addresses.. also, got 100Mbit/s uncapped as well. :-P23:21
MTecknologyZelest: nice, what's that cost?23:22
Zelest~$57/mo23:22
MTecknologywow23:22
MTecknologyZelest: how do you pull that off?23:23
ZelestI live in Sweden. :P23:23
MTecknologyI'm paying $40/mo for my personal connection for 15/123:23
MTecknologymy business connection is 10/1023:23
ZelestWhat country do you live in?23:23
MTecknologyus23:24
ZelestMind downloading something from my site in order to test what speed you get?23:24
MTecknologyok23:24
ZelestMy guess is that my ISP's international routing sucks. ;)23:24
MTecknologyprobably23:24
MTecknologyI'm streaming music now too - so I think that eats up 1mb23:25
JanCI pay 35 € / month for 20/1 now23:26
Zelesthttp://www.ifconfig.se/random.junk23:26
JanCwell 30 € for internet + 5 € for raw copper23:26
Zelest(dd if=/dev/urandom bs=1024 count=100000 of=./random.junk)23:26
MTecknologyZelest: i assume you're watching the speed?23:28
Zelestnow I am.. lol23:28
Zelest~35023:28
Zelestoh, nvm23:28
MTecknologyjnettop :)23:28
Zelestpeaked 1.2MB/s :o23:28
Zelestor someone else downloaded at the same time23:28
MTecknologyZelest: ya, about 350k23:28
MTecknologyZelest: started off ~20023:28
Zelestsomeone's downloading in 500-700Kb/s atm :P23:29
jpdsiperf is your friend.23:29
MTecknologyprobably closer to you23:29
ZelestAs stated above, I run FreeBSD.. so I use systat ;)23:29
Zelestsystat -ifstat 123:29
Zelest:D23:29
MTecknologyjpds: pretty23:29
* MTecknology goes off to take out trash and make eats23:30
ZelestMTecknology, well, works for being across the ocean and both of us using private connections :)23:30
JanCZelest: I get about 870 KB/s from you  ;)23:34
JanCwell more actually23:34
ZelestJanC, What country?23:35
JanCZelest: from Belgium23:38
ZelestAh, nice. :-)23:38
ZelestI remember when I was using another ISP, I had 10/10 but anyone outside Sweden could only push 150kb/s at most from me.23:38
MTecknologyZelest: ya23:39
ScuniziOk.. # /etc/init.d/samba restart & /etc/init.d/smb restart & sudo service samba restart & sudo service smb restart doesn't work to restart samba.. How is it done in the server?23:42
jpdsScunizi: Wasn't it smbd?23:43
Scunizijpds: on the desktop version of (k)ubuntu it's just samba... I'll try the smbd and see on the server23:43
Scunizijpds: that did it.. is that a change from 9.10 to 10.04?23:44
jpdsPossibly, with the Upstart changes.23:45
bondiblueos9is there a package I can install to take snapshots from my usb webcam?23:47
bondiblueos9from the command line23:47
failovermplayer23:52
failoverhttps://help.ubuntu.com/community/Webcam23:53
Scuniziwhat file do I look for my "network" name in?23:57
Scunizisorry "workgroup" name23:59

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