/srv/irclogs.ubuntu.com/2012/10/16/#ubuntu-server.txt

=== matsubara is now known as matsubara-afk
uvirtbotNew bug: #1065775 in maas "dbus and avahi-daemon not started after package install" [Undecided,New] https://launchpad.net/bugs/106577500:16
=== n0ts_off is now known as n0ts
hggdhDaviey: is it already available?00:40
hggdhDaviey: MAAS works :-)01:11
=== n0ts is now known as n0ts_off
^robertji've got mail that I want to deliver through our external email host and it wants me to authenticate before I relay, is ssmtp the best way to do this?01:20
=== chincloud is now known as Guest22935
decbotgood evening. Would anybody here know the primary differences or  a resource describing the differences between ubuntu & ubuntu server?02:59
decbotbesides the obvious gnome/kde/xfce not installed by default.03:00
qman__decbot, that's pretty much it03:32
qman__no GUI, couple of differences in the kernel, default package set03:32
patdk-lapqman, no differences in the kernel anymore03:33
patdk-lapatleast I don't believe there are in quantal03:34
patdk-lapit was almost gone in precise03:34
qman__I thought it used a different scheduler, and had a couple other tweaks03:35
qman__not much difference at all though03:35
patdk-lapwell, in precise, 64bit both use the same03:35
patdk-lapbut 32bit was pae difference only I think03:35
patdk-lapya, used to be that way03:35
patdk-lapdefenetly was that way back in lucid :)03:36
=== n0ts_off is now known as n0ts
patdk-lapya, in precise we have, generic, generic-pae, and virtual03:38
patdk-lapquantal, I believe only generic03:38
decbotgood to know. I'm running a lamp/dovecot/postfix/samba box at home on a low-power Via chip (yeah, not intel nor amd)03:38
patdk-lapdon't have access to my quantal test machiens at the moment to double check03:38
=== n0ts is now known as n0ts_off
=== n0ts_off is now known as n0ts
=== chincloud is now known as Guest33937
=== dendro-afk is now known as dendrobates
=== tdmackey_ is now known as tdmackey
=== smb` is now known as smb
=== n0ts is now known as n0ts_off
=== zz_KristianDK is now known as KristianDK
Danawarhey ubuntu server i have added screen -S plotcreative -p 0 -X stuff "pex reload"$'\n' to my root cron tab and it does not seem to be running it, when i run it in a terminal it works would there be any reason for this?08:27
_rubenUsually related to missing environment variables in cron's environment08:32
Danawar_ruben: could you expand what environment variables would i need to set up i have added the code to a .sh file and tryed to run that with cron and it still does not work would ther be an error with my crontab file08:34
_rubenDanawar: nope .. wouldn't know .. nor would i know the requirements for those commands to work properly08:37
Danawar* * * * * root mysql -u### -p### phpbb < /home/danawar/scripts/forumup$08:43
Danawar* * * * * root /home/danawar/scripts/pexupdate.sh08:43
Danawarthis is what my crontab looks like08:44
Danawarwould there be any issues there that would stop the second command from running?08:44
Danawar* * * * * root mysql -u## -p## phpbb < /home/danawar/scripts/forumupdater.sql08:44
DanawarSorry for the cutoff on the first one08:44
=== n0ts_off is now known as n0ts
=== n0ts is now known as n0ts_off
=== n0ts_off is now known as n0ts
=== n0ts is now known as n0ts_off
=== hjb_ is now known as hjb
darthanubisanyone using xencenter to manager there xcp install in ubuntu server?09:45
darthanubiswondering if therre are any issues with pulling up a console09:46
acidflashauto eth011:18
acidflashiface eth0 inet static11:18
acidflashwhat are my other options, instead of auto ?11:18
TJ-see "man interfaces"11:25
acidflashyeah, thanks,11:27
acidflashi saw it11:27
=== n0ts_off is now known as n0ts
=== hjb_ is now known as hjb
=== cpg is now known as cpg|away
=== doko__ is now known as doko
TheLordOfTimeif anyone sees SpamapS, let him know i'm pinging him.13:15
feisarHi, I'm setting up a webserver (apache) and sql server (mariadb). I need to install the php5-mysql stuff on the webserver but it wants to bring in MySQL too which I don't want because that's going to run on the other server. How do I stop php5-mysl from pulling in mysql?13:16
feisar*php5-mysql sorry13:17
TheLordOfTimefeisar, you can't install php5-mysql without installing MySQL dependencies13:17
TheLordOfTimesince php5-mysql is built around mysql and has dependencies with mysql in order to run13:18
feisarok so how is it recommended to have the database on another server - just let the dependencies be brought in and ignore them?13:18
TheLordOfTimefeisar, php5-mysql will pull the information to interface with MySQL13:19
TheLordOfTimei'm not certain it pulls in mysql-server13:19
TheLordOfTimeit shouldnt13:19
TheLordOfTime*dissects php5*13:19
feisaroh right, maybe I miss-understood.... i think it pulls in mysql-common13:19
xnoxfeisar: php5-mysql depends on a client only.13:19
xnoxfeisar: and for faking packages you can use equivs but that's for stuff that would e.g. depend on mysql-server13:20
TheLordOfTimeit pulls in the mysql client data feisar13:21
TheLordOfTimenot mysql-server13:21
TheLordOfTimemysql-common is data shared with both last i checked13:21
feisarah i see, thanks a lot : )13:22
feisar(and thanks xnox)13:22
* TheLordOfTime returns to stabbing nginx's source code13:23
=== matsubara-afk is now known as matsubara
zasternWhen  I login to my ubuntu servers I see something like "21 packages can be updated." Is there a way to actually list these packages, besides using apt-get upgrade and being prompted to actually udpate them14:27
zasterni Just want a non-interactive list14:27
zasternah, apt-show-versions -u14:29
hallynahs3: hey, what do you think, my tickler file says it's time to promote netcf to unstable? :)14:32
=== dendrobates is now known as dendro-afk
ahs3hallyn: heh.  i haven't looked -- any bugs reported?  if not, then it prolly is time14:46
cornfeedhello hello. I am having an issue that I would consider deserving of "triage" I am running an ubuntu 12.04 server amd64 on a Lenovo tower server (http://www.newegg.com/Product/Product.aspx?Item=N82E16859106114) between 24hrs and 96hrs, it will hard freeze all that can be done is a hard reset... I have a catch all log going to /var/log/messages, but nothing useful in there and nothing useful in dmesg is there anyway I can get some kind of lo14:47
cornfeedg? I even left top open for days waiting for it to freeze but there was nothing useful on the screen14:47
hallynahs3: nope, don't see any new bugs14:47
ahs3hallyn: kewl.  it's on my todo list, then.  thx for reminding me :).14:48
hallynahs3: thanks!  ttyl14:51
=== n0ts is now known as n0ts_off
cr3hi folks, when I run something like "stop network-manager" as a normal user, I get: stop: Rejected send message, 1 matched rules; type="method_call", sender=":1.69" (uid=1000 pid=5818 comm="stop network-manager ") interface="com.ubuntu.Upstart0_6.Job" member="Stop" error name="(unset)" requested_reply="0" destination="com.ubuntu.Upstart" (uid=0 pid=1 comm="/sbin/init")15:21
cr3what the heck does that mean? I've rarely seen such an opaque error message :(15:21
cr3brendand: http://toroid.org/ams/etc/upstart-error-message15:25
brendand:)15:26
cr3brendand: I would still like to know what part of that error message is intended to mean the command should've been run as root and what part might be intended for something else15:27
brendandcr3 - me too15:28
=== KristianDK is now known as zz_KristianDK
cr3brendand: http://upstart.ubuntu.com/cookbook/#strange-error-when-running-start-stop-restart-or-initctl-emit15:31
cr3brendand: "The reason for the very cryptic error is that the job control commands (start, stop and restart) and initctl communicate with Upstart over D-Bus."15:32
brendandcr3 - oh, of course15:32
balboahhow do I do this without the user interface thing? e.g. from a script: dpkg-reconfigure tzdata. Or where is that configuration file?15:35
cr3brendand: so, how about we special case upstart errors: when the output string contains "Rejected send message", then change the error to something appropriate about invalid permission, otherwise use the original error which is sometimes valuable15:35
cr3brendand: for example, if I run "stop network-managerr", notice the extra "r", I get: stop: Unknown job: network-managerr15:35
balboahfound it15:35
brendandcr3 - ok15:39
=== adam_g_ is now known as adam_g
jcastro_arosales: https://blueprints.launchpad.net/ubuntu/+spec/cloudserver-r-framework-charms and https://blueprints.launchpad.net/ubuntu/+spec/servercloud-r-juju-appserver-support15:59
jcastro_seem to be about the same thing15:59
jcastro_should I just nack mine?15:59
* arosales looks15:59
arosalesjcastro_: ya looks similar. Since Bruno has some info already in it, lets just add to his.16:01
jcastro_okey16:01
arosalesgood catch16:01
jcastro_mhall found it16:01
jcastro_nice, superciding in lp oopes it16:02
arosalesfyi: OpenStack keynote starting shortly at http://www.openstack.org/home/Video/16:03
amenthes1is there anyone in here who might give me a hand with tw_cli (3ware Raid management utility)?16:08
amenthes1i'd like to remove a drive from a unit. I wish to use that drive for a new, different unit.16:08
genii-aroundamenthes1: I'm not familiar with that software but there seems to be a fairly comprehensive manual for it here: http://www.cyberciti.biz/files/tw_cli.8.html16:29
amenthes1genii-around: thx!16:41
amenthes1i found my problem: the hard drives were grabbed into degraded arrays by the "autorebuild" flag16:42
amenthes1i disabled it16:42
amenthes1now i can do tw_cli /c0/pXX remove16:42
amenthes1and a rescan16:42
=== glebihan_ is now known as glebihan
=== matsubara is now known as matsubara-lunch
ninjixanyone have a moment to help with a NFS problem that "should" be easy?17:34
patdk-wk!ask17:35
ubottuPlease don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) See also !patience17:35
ninjixI'm trying to get my www-data user to access a "git" group on an NFS share17:35
ninjixcan't understand why the www-data gets an access denied on the NFS mount but not on local directories with that are chmod 750 with group = git17:37
patdk-wknfs2/3 or nfs4?17:37
ninjix12.04 defaults to nfs4?17:37
ninjixbut I don't have security turned on17:37
patdk-wkdepends on how you setup the server17:37
patdk-wkthe client does17:37
ninjixwith client I'm doing mount nfs-server:/exported-share /mnt/foo17:38
ninjixthe idmapd looks good17:38
ninjixI've even made sure that the "git" group gid is the same on the server and client17:39
ninjixdid simple usermod -a -G git www-data17:39
ninjixmade a test dir in /tmp and set its group to git and chmod 75017:40
ninjixand that works when I sudo su - www-data17:41
ninjixI'm running glusterfs client on the same client machine and not encountering this strange permission problem17:42
ninjixso, it gets stranger18:05
ninjixI can access the mode 750 directories with the owning user account from the client18:05
ninjixbut not members of the group18:06
sarnoldninjix: does the 'id' program show that those _processes_ are members of the group? Keep in mind, _processes_ have a user, a group, and supplemental groups.18:10
ninjixsam_one: yes, id show the same18:11
=== matsubara-lunch is now known as matsubara
harovalihi, I'm managing a Lucid Ubuntu Server, and I needed the newer kernels because of the bug that made sync() stall everything. I did apt-cache search -n linux image backport  , and the newest kernel available seems to be 3.0.0 (linux-image-server-lts-backport-oneiric). I installed it, but problems persist, and I'd like to install a 3.2.x kernel. Is there a backported kernel 3.2.x to Lucid?18:12
ninjixsam_one:  uid=33(www-data) gid=33(www-data) groups=33(www-data),121(git)18:13
ninjixI get that on both client and server18:13
sam_oneninjix, I think you mean sarnold :)18:14
sarnoldninjix: btw, rn != m :)18:14
ninjixsorry18:14
sam_onenp18:14
sarnoldninjix: so, you say, "client and server" -- which server? nfs will do group membership tests, http will not..18:15
ninjixsarnold: understood, the goal here is to provide a read-only NFS export from our git repository server to a web app running on a different machine18:17
ninjixthe web application is running under the www-data account18:17
sarnoldninjix: okay, cool; so you've got same group (and group numbers!) on both machines, and the web app is part of the git group, and the data is group-owned by the git group?18:18
ninjixsarnold: correct18:19
sylwedyddI just installed -server 12LTS on an Atom525-based box.  When logged in @ console, every 10-15 seconds, I get 40-50 of these: " [drm:atom_get_src_int] *ERROR* ATOM: fb read beyond scratch ...".  Digging around (e.g. https://www.linuxquestions.org/questions/linux-server-73/memory-leaks-in-centos-6-2-a-947037-print/) suggest this is a 'harmless' video/frame-buffer error.  I'd like to make it stop/go away -- console is basically unusable in this18:19
sylwedyddstate :-/  Not sure why fb is involved -- as my graphics card is an onboard radeon.18:19
sylwedyddAny suggestions how to go about curing this?18:19
sarnoldsylwedydd: dmesg -n 1 may paper over the problem well enough for you to ignore18:19
ninjixsarnold: here's a look at the permissions drwxr-x---  2 git  git  4096 Oct  4 14:23 team-project/18:20
sylwedyddsarnold: hi.  how's that?  these messages spew to the screen no matter what I'm doing18:20
sarnoldsylwedydd: dmesg -n changes the "log level" of the console. dmesg -n1 asks for only emergency messages to be sent...18:21
sylwedyddsarnold: But I'm not using dmesg ...18:21
sarnoldninjix: and those permissions are consistent through the entire tree?18:21
ninjixas a supplementary "git" group member I expect the www-data account to be able to access the directory18:21
sarnoldsylwedydd: perhaps you should take fifteen seconds to read the dmesg manpage. :)18:21
ninjixsarnold: tree on which end? the sharing NFS server or the app server?18:22
sarnoldninjix: you've confirmed that the web application actually _runs_ with that group? that's not just a testing shell?18:22
sarnoldninjix: either end18:22
ninjixwe'll I've been testing with a sudo su - www-data18:23
genii-aroundsarnold: It may be something in their glusterfs setup which is interfering with access18:23
sylwedyddsarnold: smiley face doesn't make a smartass smaller18:23
sarnoldninjix: yeah, the web server may not actually _start_ with that group...18:23
ninjixsarnold: fair, but shouldn't a shell spawned with 'sudo su - www-data' get that group?18:24
ninjixeven using newgrp to spawn another shell doesn't work18:24
ninjixwhat's more I tried creating a directory in the /tmp with the same user:group and permissions18:25
ninjixthe www-data account can access those18:25
ninjixusing the same test18:25
ninjixgenii-around: you suspect glusterfs is interfering?18:26
sarnoldninjix: well, the group ownership will be set via the upstart script, which will probably use start-stop-daemon, which may or may not bother with supplementary groups. (It's been a while since I looked.)18:26
sarnoldninjix: hrm, so, even your testing shells fail? :/18:26
ninjixsarnold: yes, haven't even tried tweaking the Apache init yet18:27
sarnoldninjix: makes sense. :)18:27
sarnoldninjix: I know nothing of glusterfs; even my nfs experience is a bit weak, but I very much recall being bitten by mis-matched gid numbers there, so that one sticks... :)18:28
=== Juze_ is now known as Juze
ninjixsarnold: yeah, run into the uid/gid problem a number of times before but this one has me scratching my head18:29
sarnoldninjix: me too.18:29
sarnoldninjix: strace it? tcpdump?18:29
sarnoldtools of last resort...18:29
ninjix:)18:29
genii-aroundninjix: Have you tried mounting with async ?18:30
ninjixyeah... or just go sticky bit on the git repo.... :(18:30
ninjixgenii-around: yes, I've tried async and sync18:30
ninjixmount -o nfsvers=3 has the same problem18:31
genii-aroundHm18:31
ninjix[solved] it was the RPCMOUNTDOPTS=--manage-gids property in the /etc/default/nfs-kernel-server18:40
sarnoldninjix: woot!18:40
ninjixif that is enabled you loose supplementary groups but get to exceed the 16 group limit18:40
sarnoldo_O18:41
sarnoldwhy would you ... 16 ... but no supplemental.. ?18:41
* sarnold brain hurt18:41
ninjixdon't know... and definitely do not feel like looking into the NFS src for that answer :)18:42
sarnoldninjix: thanks for reporting back. :)18:42
ninjixsarnold: thanks for helping me. I wasn't using the term "supplementary" in my Google searches until you brought it up18:43
sarnoldninjix: I'm glad you got there, because I was definitely out of ideas.18:44
tobinI'm trying to craft a new precise ami (ebs backed) from: http://uec-images.ubuntu.com/query/precise/server/released.current.txt. I'm using the amd64 EBS ami/ami listed in current, however i continually hit grubdom. Any ideas?19:11
tobinI've also tried amazon pv-grub aki listed on their site but still no love. Same thing, stopped at the grub prompt19:12
=== Ursinha_ is now known as Ursinha
jabba_hello, I am trying to configure a ipsec-l2tpd (openswan-xl2tpd) service on my home-server, to connect a smartphone for example. the vpn-server is 192.168.0.5 on the lan, the ppp0 device gets 192.168.0.240 and the connecting device gets 192.168.0.241. the problem is, that the connecting device only reaches 192.168.0.5 once connected to the server.  any suggestions what _could_ be the failure?19:26
jabba_do i possible miss some routes? (though all nodes are on the same network...)19:28
jabba_during login of a client (iphone or android phone) i get an entry like this in my auth.log: "init: Failed to spawn network-interface (ppp0) pre-start process..."  - is this critical?19:29
=== cpg|away is now known as cpg
=== cpg is now known as cpg|away
=== resno_ is now known as resno
=== Ursinha is now known as Ursinha-afk
=== cpg|away is now known as cpg
=== hazmat is now known as kapilt
=== matsubara is now known as matsubara-dinner
=== kapilt is now known as hazmat
=== charlieS` is now known as charlieS
firchi people23:01
fircneed some help. Trying to install ubuntu with megaraid. The install cd/usb is unable to detect my hard disks23:02
fircHow do I proceed? I tried with the 11.10 alternate cd as well. It gets to the screen with partitioning info ( with an empty list )23:02
fircI tried the desktop version also, it did not detect my hard disks. I did a fdisk -l and it did not show up.23:03
genii-aroundfirc: Have you tried: sudo modprobe megaraid23:03
fircfor the desktop cd?23:03
genii-aroundfirc: For any of them. You can get to a busybox in server install too in tty2 and tty323:04
fircAh I see23:05
fircI'll try that23:05
fircThe problem with server install is, when I select install ubuntu, my screen blanks out and it seems stuck ( the same with 12.04 alternate cd ).23:05
fircthe desktop cds boot up fine, but don't detect my hdd. I'll try modprobing23:06
genii-aroundfirc: If it installs that way, you will also want to put megaraid in /etc/initramfs-tools/modules  and rebuild it23:06
fircIt should detect the drives23:07
firccurrently, even fdisk can't list the drives23:07
genii-aroundYeah, so I'd do the modprobe then check dmesg output23:08
fircgenii-around: i tried that. Still doesn't work. Dmesg does mention about LSI SAS megaraid drivers23:17
fircBut when I start the install step, it cannot detect the drives ( less that 4.4 gigs available )23:18
genii-aroundfirc: There are more than a few megaraid drivers. You may need the SAS one23:18
fircAlthough, fdisk -l shows up sda1 as fat3223:18
fircI see, how do I get that?23:18
genii-aroundJust use megaraid_sas in the modprobe command instead . May want to do first though: sudo modprobe -r megaraid23:19
genii-around( to unload the previous one )23:19
fircHow do I know if it worked? The disks should show up with fdisk ?23:22
fircI do not think it worked though, since I don't see my disks.23:22
genii-aroundfirc: Yes, ideally fdisk would see your array now at this point23:23
=== n0ts_off is now known as n0ts
firchmm. Is it because of the missing drivers?23:24
genii-aroundfirc: Can you pastebin: lspci -nn23:24
=== n0ts is now known as n0ts_off
fircgenii-around: http://pastebin.com/uFVJW2A823:28
genii-aroundfirc: megaraid_sas  seems to be the correct driver for device:vendor of 04:00.0 RAID bus controller [0104]: LSI Logic / Symbios Logic MegaRAID SAS 2108 [Liberator] [1000:0079] (rev 05)23:31
firchmm. So modprove megaraid_sas should work?23:32
fircmodprobe*23:32
patdk-laphmm, modprove checks it's right? :)23:32
sarnoldhehe23:32
firccan I see why it failed? The logs?23:32
sarnoldI'd like that... :)23:32
genii-aroundfirc: Is your system on this page? http://www.ubuntu.com/certification/catalog/component/pci:1000:0079-RAID/23:39
fircgenii-around: http://www.ubuntu.com/certification/hardware/201205-10989/23:49
fircSo it should be supported?23:50
genii-aroundYup23:50
genii-aroundfirc: The main issue seems to be then the video problem.23:51
fircOh you mean to say, that in the server version it must be detecting the disks fine?23:52
genii-aroundfirc: eg: If you are somehow able to get past that with the server install, then the raid controller should work out-of-the-box23:52
fircHmmm23:52
genii-aroundfirc: Have you tried manually appending for instance the kernel option of vga23:53
fircyeah I tried that. I also removed the quiet option23:54
genii-aroundSeems to have some oddball video card, "ASPEED Technology Inc"23:57
fircyeah23:59

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