/srv/irclogs.ubuntu.com/2014/06/08/#ubuntu-server.txt

=== _thumper_ is now known as thumper
dw1my provider let me start with 14.04 over a month ago :D00:50
Patrickdkubuntu doesn't support lts to lts upgrades till 14.04.1 is released00:52
Patrickdkyou can do it anytime you want though00:52
Nautilusanyone care to help with the basics of naming a machine properly? I have already put a name for the box in /etc/hostname, but think I need to do more (to make a fqdn). The VPS will host a few small sites of mine, not sure how to choose which domain name or where to put it01:56
Nautilushostname returns the name I put in there, but "hostname --fqdn" tells me "hostname: Name or service not known"01:57
pmatulisNautilus: it's taken from /etc/hosts01:59
pmatulisNautilus: (domain name that is)02:00
pmatulisNautilus: so put the FQDN in there02:00
Nautilusok, I made an entry there. I have localhost and whatever was below that I changed to boxname.domainname.com (also 127.0.0.1)02:01
Nautilusalready have it02:01
grywhat does "hostname --fqdn" say now?02:01
Nautilussame error, maybe I forgot to reboot?02:02
NautilusI put that in yesterday02:02
pmatulisNautilus: pastebin your /etc/hosts02:02
Nautilushttp://pastebin.com/DgP8uvaS    where naut is the contents of /etc/hostname02:04
Nautilusohhhhh geez 127.0.1.202:04
Nautiluserr, 127.0.1.102:04
NautilusI have to reboot after changing that, right?   it's now 127.0.0.102:05
gryDunno.02:07
Nautiluslooking at something else first then wil reboot02:07
Nautilusah, the original hosts file had "127.0.1.1    Ubuntu12" .... should I put that back in?02:08
Nautilusheres what I have now: http://pastebin.com/AgtfrD8302:11
pmatuliswhat you had before was better02:12
pmatulisbut you were missing something02:12
pmatulisthe format should be this:02:12
pmatulis127.0.1.1   hostname.example.com hostname02:12
pmatulisand you don't need to reboot02:12
Nautilusdo I leave the 127.0.1.1 Ubuntu12 line?02:13
pmatulisno02:13
Nautiluswill remove02:13
Nautilusis there any reason to choose one domain name over another? I have about 3 I'll be putting on here02:14
Nautilusope will do more email than the others02:14
Nautilusone*02:14
Nautilushostname --fqdn02:15
Nautilusnaut.reedonline.com02:15
pmatulisgood work02:16
Nautilustx to you guys :)02:16
Nautilusthis is it now: http://pastebin.com/iizvEEH502:17
Nautilusi have 2 users I've added as sudoers, I should then disable the root user?02:25
Nautilus(and what would be the best way to disable the root user?)02:27
pmatulisNautilus: did you enable the root user?  it's disabled by default on ubuntu02:29
Nautilusperhaps the VPS provider enabled it in the image? It was the only user I started with02:30
Nautilusso I gather I should disable it.  Like this?  sudo passwd -l root02:35
Nautilusoh, sshd_config has a setting for that ... looks like the best way02:40
pmatulisno02:40
pmatulisthat won't prevent someone becoming root if they have shell access02:41
pmatulisdisable the user and all disable root ssh login (another default)02:42
pmatulisdisable the user and disable root ssh login (another default)02:42
Nautilusi do the later with sshd_config, right?02:43
pmatulisyes, and restart sshd after making the change02:44
savidAnyone know how I can configure the "extra_modules" option in linux-crashdump? It seems on RHEL systems it's located at /etc/kudmp, but I'm not sure where ubuntu keeps it.02:45
Nautilusand the former is what I had above... sudo passwd -l root   ?02:45
pmatulisyeah02:45
Nautilusthanks02:45
pmatulissavid: try /etc/default/...02:45
savidpmatulis: I have /etc/default/kdump-tools, but I don't see any options for extra_modules there02:46
Nautilusif I do an "apt-get install" for something that's already installed, that's not a problem is it?02:56
cfhowlettNautilus nope.  it'll just return "already installed" or zero installed02:58
Nautilusthanks02:59
pmatulissavid: kdump stuff is quite distro specific.  there may not be the modules you're after02:59
pmatulisin ubuntu03:00
pmatulissavid: what release are you on and what functionality are you looking for?03:00
Nautilusturning on the ufw firewall, what should i allow? ssh and http for sure, what about https (for the future), and sftp (maybe ssh covers that?)03:00
Nautilus12.0403:00
Nautilusoops that was for savid03:00
savidpmatulis: I'm on 14.04. I need to configure kdump to load extra modules when it builds the initramfs.03:05
pr3d4t0rsheptard: Thinking about it.  Why wouldn't you?  Personal preference or there are known issues with the upgrade?03:07
sheptardpr3d4t0r: I updated to 14.04 and kinda wish I hadn't03:08
sheptardI had a fun few hours trying to get zfs working again03:08
sheptardbut I updated the day it came out03:08
sheptardbut if this server is in production, you may do well to wait until 14.04.1 is out03:08
pr3d4t0rsheptard: Coolio, thanks for the heads up.03:15
* pr3d4t0r shelves plans for a few weeks.03:15
NautilusI'm following along at http://www.thefanclub.co.za/how-to/how-secure-ubuntu-1204-lts-server-part-1-basics but at step 6 I don't have a /etc/bind/named.conf.options file ... what's that tell me?03:23
Nautilusah, looks like I dont have bind903:24
Nautilusoy, did I just do something to make some keys stop responding? mess up a keymap?03:26
Nautilusv, e and r do not respond03:27
Nautilusyea, I was trying to query the version. yikes, how to fix03:27
NautilusI can't even cut & paste "-m keymap", the e doesn't come out :(03:28
Nautilusi'm stuck on this, any suggestions?03:34
CCsCan you, please, repeat your question? (I just joined)03:35
Nautilussure. I was messing with bind commands and seem to have unbound the v. e and r keys.03:35
Nautilusso fairly fubar atm ;)03:35
CCsso when you press v, e or r keys, nothing happens?03:39
CCssed -n l03:39
CCspress v03:40
Nautilusyes03:40
CCspress Enter03:40
CCswhat do you see?03:40
CCs(You can exit with Ctrl-D)03:40
CyberspiritI see a house03:40
Cyberspirita tree03:40
NautilusI cant type sed03:40
CCsbecause of e :)03:40
CCsright03:40
Nautilushang on, someone said just to logout/login03:40
CCsThat's a solution. Or reboot. :)03:41
CCsOr mouse, if you have Xterm03:41
Nautiluslogout did it. I was worrie because v and e are in my login03:42
CCsCatch 22 :)03:42
Nautilusyep03:42
CCsThere's graphical tool too http://xahlee.info/linux/linux_keyboard_tools.html03:42
Nautilusno GUI on the server03:44
zetherooI have setup Samba4 as DC on 14.04 .. does anyone have experience in how to get LDAP Account Manager to work with Samba?07:33
=== GeekBlogTV is now known as James_sleeping
lordievaderGood morning.08:33
=== Lcawte|Away is now known as Lcawte
xperiahi all. when i try to install maas on my ubuntu server i get the information that syslog-ng will be deleted. Problem is however that Syslog-NG is needed on the system and from what i see there is also no Replacement Install maked after the removal of the Package. Actually Ubuntu let me the Choise either to install maas and loose all logging possibility or keep Syslog-NG and not able to...10:46
xperia...install MAAS. Is this Normal?10:46
histo!info maas11:03
ubottumaas (source: maas): MAAS server all-in-one metapackage. In component main, is optional. Version 1.5.1+bzr2269-0ubuntu0.1 (trusty), package size 2 kB, installed size 40 kB11:03
histoxperia: can you pastebin the output you are seeing when you try to install11:04
xperiahisto: yeah sure one moment.11:19
TJ-xperia: The reason is the dependency chain: maas > maas-cluster-controller > rsyslog11:20
xperiahisto: here is the paste => http://apaste.info/24I11:20
xperiaTJ-: Ahhh rsyslog Thanks for the Info. The Question is now then when i install MAAS how can i still logg as a example postfix becouse i allready installed one time Maas and there were no more Postfix Mail Logging availble.11:22
xperiaMaas for sure breaks in ubuntu the postfix mail logging at least on my side this is the case.11:23
TJ-I think it is because they both provide "system-log-daemon", and yet maas-cluster-controller doesn't... I wonder if that is an oversight? Worth making a bug report against it, replacing rsyslog with system-log-daemon11:24
xperiawell i just started looking into maas. I collected several Dell PowerEdge 1750 Servers and i am trying now to create a High Computing Cluster with ubuntu. Have to say that MAAS however from ubuntu is not really that good when it comes to High Computing Cluster as the People from MAAS expect to Install the Ubuntu Images on every Node aka every Node Sever however i dont have Harddisk there and...11:29
xperia...second i prefer to boot the Image into Ram and this Feature is not availble in MAAS ...11:29
TJ-I thought nodes were PXE booted?11:31
xperiaTJ-: yeah they are pxe booted but after they boot MAAS expect to Install the Full Ubuntu Image into the Nodes. That is not really good as i prefer to boot the Image on every Node into ram.11:32
xperiaI was able however to compile the simple Kestrel High Performance Computing Cluster Software on Ubuntu. http://kestrelcluster.github.io/11:36
xperiaThis is much more Impressive actually as nearly everything is done with the Shell. The Kestrel Package however is broken in Ubuntu Server. I had to spend a lot of Time till i got it compiled. https://launchpad.net/~kestrel/+archive/kestrel-3.011:36
histoAre beowulf clusters still used/11:40
Cyberspiritim gonna build one11:44
xperiahisto: good question. from what i learned is that beowolf is based on kestrel actually. I looked into beowolf also but from what i have read is that BeoWolf expect that on every node a Computer Operating System is installed into the Hard Disk. I spent lot of time to find a Package to Run and Manage Computing Node Cluster in Diskless Modus where the Operating System is loaded into the Ram...11:44
xperia...instead installed to Hard Disk but could not find anything like that except Kluster HPC.11:44
Cyberspiritjust made a Class A IP address space on my 2nd lan11:44
Cyberspiritbut im going to be using virtual machine containers11:44
=== Tung is now known as Cyberspirit
=== Trey is now known as Guest44256
=== Jeepbeats is now known as _Jeepbeat
=== _Jeepbeat is now known as Jeepbeats
xperiahi all. i have a strange problem with tftpd-hpa running on my ubuntu server. for some strange reason i am getting always the error message "RRQ from 192.168.1.122 filename splash.png, tftpd: read: Connection refused" can anybody tell me how to solve this Connection refused Problem? I searched the Internet for it but could not find any solution that works till yet!15:27
qmanxperia: that means either tftpd isn't running or your firewall is rejecting the traffic15:31
xperiaqman: thanks for the info. i just tryed with a another machine to download a test file and with that machine it worked now. strange15:34
apb1963If e2mkfs reports bad blocks, does it take them into account when it creates the file system?  I've got a whole bunch of these...  Warning: the backup superblock/group descriptors at block 1802240 contain bad blocks.15:48
=== Trey is now known as Guest12955
atpa8ahello16:02
atpa8awhen booting installation from the UEFI cdrom... how can i specify the expert mode?16:02
atpa8aadd expert to kernel paramteres?..16:02
DeltaHeavy Hey. My local machine is Windows but I have a VPS I'd like to mount over the network. What's the best option for this? I'm having issues specific to my text editor with SSHFS, and I'm thinking of either SAMBA or NFS. Any suggestions? My VPS is running Ubuntu 12.04.16:28
lordievaderDeltaHeavy: I'm using samba over ssh usually when I'm on windows and outside of my network.16:32
lordievaderI've set it up using this guide: http://www.nikhef.nl/~janjust/CifsOverSSH/Win7Loopback.html16:33
DeltaHeavylordievader: Thanks, I'll look at this. Things sent over SAMBA aren't secure on their own?16:33
lordievaderNo idea, personally I don't trust it enough. But I never looked into it ;)16:34
DeltaHeavyMan, that looks WAY more complicated than it needs to me :p I might have to do this on a few computers in a reasonable amount of time.16:35
ostehow do you revert a ppa?17:37
ostetrying to get rid of php 5.6 now17:37
lordievaderoste: That is what's ppa purge is for.17:38
ostei did this sudo ppa-purge ppa:ondrej/php5-5.617:41
ostebut php 5.6 beta 3 still shows as the version17:41
lordievaderDo you have multiple ppa's offering 5.6?17:42
ostei dont think so17:43
ostePPA to be removed: ondrej php5-5.617:44
osteWarning:  Could not find package list for PPA: ondrej php5-5.617:44
osteso that confirms that it is gone17:45
ostei restarted apache17:45
lordievaderoste: What does "apt-cache policy php5-common" return?17:56
ostehaha was just about to launch a new instance17:56
ostewould be nice to know how to remove those things17:56
ostehang on..17:56
ostehttp://pastebin.com/u2VbKxci17:57
lordievaderThere is no repo supplying 5.6 beta, did you manually install the package?18:00
osteno18:01
DeltaHeavy14.04 is using 5.5? Crap >:18:01
DeltaHeavyGuess I'll still be compiling php5-fpm18:01
osteyeah it is18:01
ostebut i used the ppa to get 5.618:01
DeltaHeavyWhy aren't they using 5.6?18:01
osteit is not released18:02
lordievader!info php5-common18:02
ubottuphp5-common (source: php5): Common files for packages built from the php5 source. In component main, is optional. Version 5.5.9+dfsg-1ubuntu4 (trusty), package size 429 kB, installed size 1103 kB18:02
DeltaHeavyNvm, I was mistaken18:02
DeltaHeavyI take it back18:02
ostewelp if anyone can recommend something to check to revert back to the default php lemme know18:04
DeltaHeavy!info php5-fpm18:04
ubottuphp5-fpm (source: php5): server-side, HTML-embedded scripting language (FPM-CGI binary). In component universe, is optional. Version 5.5.9+dfsg-1ubuntu4 (trusty), package size 2131 kB, installed size 8915 kB18:04
ostei am stuck on php 5.6 and found a bug in a package pretty quickly18:04
ostegotta go back18:04
lordievaderoste: Remove and install from the repo.18:04
osteshouldnt it do that?18:05
ostei have removed the ppa18:05
osteso sudo apt-get upgrade should now install php from the repo18:05
lordievaderNo, it won't. Your current version of php is newer.18:06
lordievaderapt-get upgrade doesn't downgrade packages.18:06
ostei see18:06
ostehow to remove the current version?18:07
ostesudo apt-get purge php*18:07
ostecould try that haha18:07
lordievaderapt-get remove php5-common&&apt-get autoclean&&apt-get install php5-common (and other things you might need)18:07
osteabout to hose the server :)18:09
ostedamn - seems reverting back is not so easy18:09
lordievaderYeah, downgrading packages can be a pita.18:10
qmanoste: alternative is manually downloading the debs and using dpkg -i18:14
qmannot sure if there is a way to do something similar with apt-get18:14
ostethanks but i did hose the server18:19
lordievaderoste: What did you remove? Libc?18:23
ostei am not really sure sorry18:23
ostekind of a noob - need to stay away from downgrading packages18:23
lordievaderTheoretically it should only remove php5-common and perhaps a few things that depend on <-18:24
=== blaguvest is now known as semtex-h
RoyKhm. how can I block access from an IP while allowing 80 in ufw?22:24
RoyKseems the ufw allow http takes presence over ufw deny x.x.x.x22:24
RoyKany way I can reorder those rules?22:25
Malinuxhei RoyK22:26
RoyKhi, Malinux, my dear ;)22:26
Malinux:)22:27
dustinspringmanIs it possible to use a ubuntu-server as a pptp ROUTER ? as in... I want to use a ubuntu-server as the pptpd host for multiple endpoints, but I need those endpoints to be able to talk to eachother via the ubuntu-server via routing... is this a possible configuration?22:56
dw1dustinspringman: https://help.ubuntu.com/community/PPTPServer23:13

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