/srv/irclogs.ubuntu.com/2012/12/15/#ubuntu-server.txt

=== Bloodylizard is now known as Bloodylizard[A]
* Bloodylizard[A] is now away - Reason : food time00:41
=== Psi-Jack_ is now known as Psi-Jack
TuxLofwhen I hold C it just goes straight to my bootloader00:55
=== cpg|away is now known as cpg
=== YayWubs_ is now known as YayWubs
=== ikonia is now known as Guest53657
=== AntORG_ is now known as AntORG
recon_laphi, stuck trying to get static dns working on a ubuntu-server KVM. bit clueless. anyone able to help?02:02
=== pug is now known as Guest70658
=== tedski- is now known as tedski
SyriaHello there ,, Please tell me how can I make this command run automatically on server start .. /usr/bin/VBoxManage startvm "Docs" --type headless07:29
brianwanyone here mind helping me a bit w/ ldap (using starttls) and samba?07:33
SpamapSSyria: the simplest way is to add that command to /etc/rc.local07:34
SyriaSpamapS:  This is the content of the file, http://paste.kde.org/625688,, please tell me how should I add the command please?07:36
SpamapSSyria: it would need to be before the 'exit 0'07:38
SpamapSSyria: also if that particular command does not return, you'll need to use something to make it return... an upstart job would do that.07:39
SyriaSpamapS: Thank you.07:39
voxadamWhat container system is officially supported by Ubuntu?10:17
=== Guest53657 is now known as Ikonia
=== Ikonia is now known as ikonia
=== yofel_ is now known as yofel
=== cpg is now known as cpg|away
mauritslamers_hey all, I have a problem installing gitlab… I have two users, git (grp git) and gitlab (grp gitlab git). I have a directory with perms 770 git:git and my gitlab user is not allowed to enter15:08
mauritslamers_it works when I make git the primary group of the gitlab user, but that is not what I need15:09
mauritslamers_id gives: uid=1002(gitlab) gid=1002(gitlab) groups=1002(gitlab),116(git)15:09
Linux101148Does anyone know if the /dev/ directory deletes or overwrites folders or files on reboot?15:18
mauritslamers_Linux101148: not necessarily overwrite, but things may be mounted on top of it15:19
Linux101148mauritslamers: Okay so this is what happen I had created a directory inside the /dev/ directory and on reboot it no longer exist15:20
RoyKLinux101148: /dev entries are handled by udev15:20
Linux101148Is is possible to get that directory I created back through udev?15:21
RoyKdid you create a directory under /dev?15:23
Linux101148RoyK: Yeah I did unfortuately15:23
RoyKwell, /dev is normally devtmpfs15:24
RoyKmeaning it won't survive a reboot15:24
Linux101148RoyK: Yeah that seems to be the case...Is it all possible to get it back?15:24
RoyKnope15:27
RoyKit was in RAM15:27
RoyKwhy did you put anything there? or what did you put there?15:27
Linux101148Thats Great :(15:28
RoyKbut why did you put data under /dev /15:28
RoyK?15:28
Linux101148RoyK: It seem to have the most usable space15:29
RoyKwell, now you've learned :)15:29
Linux101148Yeah exactly right so what really happen to it was it overwritten or removed entirely?15:30
RoyKLinux101148: I'd say, use a data partition for your data, and use the root (/) for system things15:30
RoyKLinux101148: it's a ram drive - meaning it's held in memory15:30
RoyKnot on disk15:30
recon_lapI got a micro VPS, only 3gb hdd. I just made one partition, starting to think that was a mistake.15:31
Linux101148So on reboot the memory is reset?15:31
RoyKrecon_lap: for such setups, I think it's wise to keep a single partition15:31
RoyKLinux101148: yes15:32
Linux101148 There isn't a log of this memory?15:32
RoyKno15:32
recon_lapwell, my biggest problem is that it's a static DNS setup and i cant get DNS working :(15:32
RoyKwell, that's not because it's a single partition ;)15:32
RoyKprobably something wrong in the dns setup, or in the zone file15:33
mauritslamers_hey all, I have a problem installing gitlab… I have two users, git (grp git) and gitlab (grp gitlab git). I have a directory with perms 770 git:git and my gitlab user is not allowed to enter this directory, anyone an idea?15:33
mauritslamers_only when the gitlab users has git as primary group it is allowed access....15:35
mauritslamers_directory above is also fine (755)15:35
RoyKmauritslamers_: dunno - perhaps try #git15:35
mauritslamers_RoyK: it doesn't have to do with git :)15:35
mauritslamers_it is a disk permissions issue15:36
RoyKmauritslamers_: which ubuntu version?15:36
mauritslamers_12.0415:36
mauritslamers_wherever I create a directory with user1:user1 and user2 is member of the user1 group, it is not allowed access when the permissions are 77015:37
mauritslamers_s/it/user215:37
mauritslamers_there is no acl, if selinux was on, I turned it off etc etc15:38
escottmauritslamers_, verify the output of "groups" and ls -l the folder in question and all folders below it down to root15:38
mauritslamers_escott: did so15:38
RoyKmauritslamers_: su - gitlab ; groups15:39
mauritslamers_uid=1002(gitlab) gid=1002(gitlab) groups=1002(gitlab),116(git)15:39
mauritslamers_(output of id)15:39
mauritslamers_gitlab@DevMT2:/home$ groups15:39
mauritslamers_gitlab git15:39
RoyKmauritslamers_: are you sure the user has access to the parent directory?15:40
mauritslamers_yes15:40
mauritslamers_and it is granted access when the world executable bit is set, or the git group is being set to be the primary group of the gitlab user15:40
RoyKwell, I just did a quick test - useradd -m gittest ; groupadd git ; added gittest to group git, created a dir with ownership root:git and mode 770 - works for me...15:40
mauritslamers_RoyK: that is not the situation15:41
mauritslamers_when a user is created, you also get the personal group15:41
RoyKmauritslamers_: oh - what did I misunderstand?15:41
RoyKwell, of course15:41
mauritslamers_created two users: git  (having personal group git) and gitlab (having personal group gitlab)15:42
mauritslamers_I added the git group to the gitlab groups15:42
mauritslamers_and don't get access15:42
mauritslamers_if it helps: this is how the users are created: https://github.com/gitlabhq/gitlabhq/blob/stable/doc/install/installation.md15:42
mauritslamers_https://github.com/gitlabhq/gitlabhq/blob/stable/doc/install/installation.md#3-users15:43
RoyKjust tried to create git1 and git2, put git1 into git2's group, su - git1, cd ~git2, touch asdf15:43
RoyKworks for me - with 770 mode15:43
patdk-lapyou can't add a group to a group15:44
* RoyK didn't15:45
patdk-lapnow the issue you might have is, group permissions aren't updated unless you logout and back in15:45
mauritslamers_patdk-lap: I know15:45
mauritslamers_killed all the processes of the user, then su - user15:45
mauritslamers_still not getting in15:45
mauritslamers_RoyK: how is the perm settings groupwise? git1:git1?15:46
RoyKin the last test, yes, that was it15:46
mauritslamers_weird… it just doesn't work here15:46
escottmauritslamers_, please just paste the output of ls -l15:47
mauritslamers_escott: drwxrwx--- 28 git  git  4096 Dec 15 14:25 repositories15:47
mauritslamers_drwxrwxr-x 15 git  git  4096 Dec 15 11:39 .15:47
mauritslamers_drwxr-xr-x  7 root root 4096 Dec 13 18:53 ..15:47
mauritslamers_. => /home/git15:48
mauritslamers_.. => /home15:48
escottmauritslamers_, and "touch test" outputs what15:48
mauritslamers_touch test in where exactly?15:48
mauritslamers_in /home/git?15:48
escottmauritslamers_, sure15:49
mauritslamers_permission denied15:49
mauritslamers_could it have to do with git having an id of 116 and gitlab of > 1000?15:49
mauritslamers_*uid15:50
RoyKno15:50
recon_lapmauritslamers_: what are the permissions on the directory /home/git  instead of the files15:50
mauritslamers_recon_lap: drwxrwxr-x 15 git     git     4096 Dec 15 11:39 git15:50
recon_lapthe member of the group git? and the output of whoami15:53
recon_lapmembers*15:53
escottmauritslamers_, did you logout after running the usermod?15:54
mauritslamers_escott: as user gitlab yes15:54
mauritslamers_not as user root15:54
escottmauritslamers_, you shouldnt be logging in as root. but thats another issue.15:55
mauritslamers_escott: I know :)15:55
mauritslamers_gitlab@DevMT2:~$ groups15:55
mauritslamers_gitlab git15:55
escottmauritslamers_, "id" shows "git (116)15:55
mauritslamers_gitlab@DevMT2:~$ whoami15:56
mauritslamers_gitlab15:56
mauritslamers_escott: indeed: uid=1002(gitlab) gid=1002(gitlab) groups=1002(gitlab),116(git)15:56
mauritslamers_root@DevMT2:/home# grep ^git /etc/group15:58
mauritslamers_git:x:116:git,gitlab15:58
mauritslamers_gitlab:x:1002:15:58
escottmauritslamers_, the only things i can think to check are things like "lsattr" or verifying that the mountpoint is not read-only or some such16:00
u01010how can I write persian in consoe mode16:00
mauritslamers_escott: root@DevMT2:/home# lsattr16:01
mauritslamers_lsattr: Inappropriate ioctl for device While reading flags on ./gitlab16:01
mauritslamers_lsattr: Inappropriate ioctl for device While reading flags on ./maurits16:01
mauritslamers_lsattr: Inappropriate ioctl for device While reading flags on ./openqrm16:01
mauritslamers_lsattr: Inappropriate ioctl for device While reading flags on ./bomt16:01
mauritslamers_lsattr: Inappropriate ioctl for device While reading flags on ./git16:01
mauritslamers_(sorry for the list)16:01
escottmauritslamers_, what filesystem is this?16:01
mauritslamers_escott: afaik ext4, but done by someone else as part of an Ubuntu Cloudcontroller16:02
mauritslamers_so it is the main disk of a virtual host, but without physical devices16:02
mauritslamers_had a lot of issues getting around kernel installations16:02
mauritslamers_so I am actually guessing this is a NFS mount16:03
escottmauritslamers_, could be something with that16:04
mauritslamers_escott: true indeed16:04
akerok_Does anyone have experience running ubuntu server using virtualbox?16:52
jesusemelendezmI do16:54
jesusemelendezmAkerok16:54
jesusemelendezmI do run ubuntu server... why?16:54
akerok_I need some help.  I want to run an IRC server off of it.  I'm not sure how to set that up.16:56
k1ngakerok_, www.inspircd.org16:58
k1ngyou asking in wrong place16:58
akerok_I do apologize.  I was sent here form another channel.16:59
recon_lapakerok_: have you even look for an tutorials ? like http://www.the-tech-tutorial.com/?p=70917:00
akerok_No.  I was hoping the community would be willing to help.  It's faster that way.17:03
recon_lapakerok_: great attitude dude17:05
akerok_What do you mean?17:06
recon_lapakerok_: sure it's quicker to get someone else to do it for you, easier too. good luck with that.17:09
akerok_I asked because I want to learn, not have someone do it for me.  I'm surprised that I'm being put down when I ask to be trained in somehting.17:21
recon_lapakerok_: you seem like a nice person, why not have a go at one of those links and if you get stuck then come back and ask about what you don't understand.17:31
akerok_I thank you.  I will.  I do apologize for the way I seem right now.  I'm really frustrated right now about some other things.17:34
trapnihey. I'd like to upgrade my OpenStack cloud from Essex to Folsom on 12.04 LTS, and found http://blog.canonical.com/2012/09/14/now-you-can-have-your-openstack-cake-and-eat-it/ that tells me the repositorie URLs, however, I am missing its public GPG key17:35
trapnianyone knows how to find out so I can add it? Because `apt-get update` refuses these repos to look at17:36
recon_lapakerok_: did not mean to discourage you. but people are more likely to help those who help themselves first. good luck getting the irc server installed.17:38
trapnirecon_lap ?17:38
trapniah, sorry ;)17:38
akerok_I understand.  I had an IRC server running on a Windows computer a few weeks ago, but I really wanted to run it on a server.  I will look at the links, and ask questions if I get stuck.17:41
julian_cakerok_: The Ubuntu Server Guide has a section about installing an IRC server. It is basic, but it a good place to start.17:48
akerok_Thank you.17:49
julian_cHowever... there are multiple IRC daemons out there in wide use.17:50
nibblerany clue why i cant install the package - the dependency is met.... http://nopaste.info/bf9c13f3ce.html19:51
ikonianibbler: they are not met19:51
ikoniathat's why it's saying "dependency not met"19:51
nibblerikonia: i might be blind, but i says ": Depends: roundcube-core (>= 0.5.1)"  and also "0.7.1-2" is in State: installed (roundcube-core)19:54
ikoniayes, look at the version difference19:55
ikonianibbler: it looks like you are installing a package from an older release.19:55
nibblerlast time i checked 0.7.1- was >= 0.5.119:55
ikoniaor you've pulled in roundcube-core from a much later release.19:55
nibblerwell, i'm using my hosters ubuntu 12.4 repository. but the numbers look fine to me anyway :/19:55
ikonianibbler: what version of ubuntu are you currently running19:56
nibblerikonia: server 12.4 lts19:56
ikonia!info roundcube-core precise19:56
ubotturoundcube-core (source: roundcube): skinnable AJAX based webmail solution for IMAP servers. In component universe, is extra. Version 0.7.1-2 (precise), package size 960 kB, installed size 4229 kB19:56
ikonia!info oundcube-plugins-extra precise19:57
ubottuPackage oundcube-plugins-extra does not exist in precise19:57
ikoniaops19:57
ikonia!info roundcube-plugins-extra precise19:57
ubotturoundcube-plugins-extra (source: roundcube-plugins-extra): skinnable AJAX based webmail solution - extra plugins. In component universe, is extra. Version 0.6-20111030 (precise), package size 283 kB, installed size 1325 kB19:57
nibblerState: not installed19:57
nibblerVersion: 0.6-2011103019:57
nibbler...thats the one i have19:57
ikoniaso the versions match up spot on19:58
ikoniawhy is the depend so low ? 0.5.1 is a mile away from 0.719:58
ikonianibbler: looks like it's roundcube that's the issue here19:59
nibblerdon't knew the roundcube-plugin-extras progress etc, but somehow it does not add up here. apt is telling me it cant do it, but also tells me the deps are satisfied...19:59
ikoniayou've got roundcube 0.1~rc2-2 installed19:59
nibblerE: Unable to correct problems, you have held broken packages.  <-- that does not point anywhere?20:00
ikoniaBreaks: roundcube (< 0.1~rc2-2), roundcube (< 0.1~rc2-2)20:00
nibblerikonia: roundcube and roundcube-core report 0.7.1-220:00
ikoniathat output doesn't think so20:01
ikoniaI'd guess that is the real question20:01
nibbler!info roundcube-plugins20:06
ubotturoundcube-plugins (source: roundcube): skinnable AJAX based webmail solution for IMAP servers - plugins. In component universe, is extra. Version 0.7.2-4 (quantal), package size 292 kB, installed size 1517 kB20:06
nibblerthis one was installed without probelm20:07
ikoniathat's 12.1020:07
ikonianot 12.0420:07
ikoniaI hope you've not got that on your 12.04 box20:08
nibblerah ok, well 12.04 version of this20:08
nibbler;-) hope so too20:08
ikonianibbler: out of interest, can you do a dpkg -l | grep roundcube20:08
ikoniaanything look odd there20:08
nibblerhttp://nopaste.info/8c9ff1560f.html20:09
nibblerwould not say so20:09
SpaceBasswhat happened to add-apt-repository ?20:09
ikonianibbler: so why does it think it's breaking something20:09
patdk-lapdunno, SpaceBass works good for me20:09
nibblerikonia: even looks like a apt bug to me - but what about the held packages?20:10
=== cpg|away is now known as cpg
ikonianibbler: any PPA's or 3rd party repos enabled ?20:10
nibblerit says i'd have two of thos20:10
nibblerno ppas20:10
ikonia3rd party ?20:10
nibblernada20:10
SpaceBasspatdk-lap,  odd, fresh install and I get command not found, even after installing python-software-properties20:10
nibblerall fresh installed20:10
patdk-lapwhat version? I stick to lts20:10
SpaceBass12.1020:11
ikonianibbler: most odd20:11
ikonianibbler: I've not got space to do a test VM at the moment20:12
nibblerjust booting a 12.4 livecd might help, i'll download one...20:13
nibblerill look into this, thanks for your help anyway ikonia20:15
=== Psi-Jack_ is now known as Psi-Jack
nibblerikonia: i just booted 12.04 desktop live-cd, added the other ubuntu repositorys (deb http://de.archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse) and get same broken behaviour20:49
nibblerso i'd say its either apt or some repository broken :/20:49
ikonianibbler: I wonder if it's just that packages meta data is screwed21:15
nibblerikonia: i'd be suprised if the displayed version would differ from the version in the metadata. but i'm already surprised23:08
ikoniaagreed23:08

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