/srv/irclogs.ubuntu.com/2014/01/28/#ubuntu-server.txt

rostamHI how could I preseed two nic interface one configured with dhcp (i.e. eth0) and one with static ip address (i.e. eth1)? thx00:27
JayFWhat package creates the "netdev" group in ubuntu server?00:47
sarnoldJayF: looks like it might be avahi: http://codesearch.debian.net/search?q=netdev00:54
JayFUgh. I do not want to install avahi, or network manager, on a cloud server image00:54
JayFbut I'm getting knocked by this bug https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/105403500:55
sarnoldJayF: ooh, ifupdown also appears to: http://codesearch.debian.net/search?prev=0.206.264&q=netdev&skip=34500:55
JayFI guess I could just manually create the group in the kick.00:55
JayFhmm00:55
JayFifupdown is installed00:55
JayFbut no such group00:55
JayFlet me try a reinstall.00:56
JayFyeah ifupdown does not create a netdev group on saucy00:56
JayFalthough TIL about codesearch.debian.net00:56
JayFthat's pretty sweet00:57
sarnoldit's wonderful :)00:57
JayFhah! Powered by Rackspace.00:57
JayFHow did I not know aobut this00:58
=== freeflying_away is now known as freeflying
=== Guest72010 is now known as balloons
Wilkim_Hello02:30
Wilkim_I have a unused laptop with ubuntu-server on it02:30
MavKensame here02:31
Wilkim_When I close the laptop it goes to sleep and turns off in some capcity, and turns on instantly when i reopen it02:31
MavKeni run my company's crm off of a laptop server02:31
Wilkim_any idea how to prevent it from going to sleep when it closes as i store it under my entertainment center02:31
Wilkim_nice lol!02:32
Wilkim_I plan on using it for a developmentp-server02:32
=== peter is now known as Guest80780
MavKengoodluck with that, I have to keep screen up and turn off all the power related settings so it doesnt go to sleep02:33
Wilkim_so you have the same issue?02:34
MavKenyep02:34
MavKenim going to pick up one of those small dell desktop boxes on craigslist for 100 and install ubuntu server02:35
Wilkim_http://askubuntu.com/questions/360615/ubuntu-server-13-10-now-goes-to-sleep-when-closing-laptop-lid02:35
Wilkim_that fixes it :)02:35
MavKenno way...wow02:36
Wilkim_lol, if it wasnt for the internet i would have given up on linux :P02:36
MavKenalso, you may want to check out digitalocean.com - I am in the process of moving a lot of my sites over to there02:36
MavKenits a pretty sweet setup02:36
MavKenhaha02:37
MavKenyeah02:37
MavKenthey have ubuntu images02:39
Wilkim_that sounds nice ty, but im looking for just make use of my 4 unused laptops lol02:40
Wilkim_dual cores to quad cores02:40
Wilkim_decent hardware not being utilizedd02:40
Wilkim_ones now a development server02:41
Wilkim_3 laptops *02:41
Wilkim_n im giving one to my brother n father lol02:41
MavKennice02:41
Wilkim_btw I dont know what you do MavKen but I work for an advertisment company, if you would like to advertise at all let me know02:42
Wilkim_I dont deal with selling the services at all, but if I could help out a fellow friend then why not recommend it to them? :)02:42
Wilkim_http://www.yashi.com02:42
MavKeni provide consulting services to small businesses, but have a hobby business for web design/hosting02:43
Wilkim_Well if you would like to advertise let me know :) or goto that site, then the contact page and send a message02:44
MavKenok02:45
Wilkim_we also provide advertisments to people at well if your looking to host ads too02:45
rostamHi is it possible to disable network manager? thx04:50
hitsujiTMOrostam: uninstall it04:53
rostamhitsujiTMO, would that have any side effect, I guess I want to know is it good to have or not to have network manager? thx04:54
hitsujiTMOrostam: nothing relies on network manager and its safe to remove. just means you need to have an alternative way of configuring your network interfaces04:55
MavKenany recommendations on building a login system?04:56
hitsujiTMOMavKen: what exactly do you mean?04:57
MavKenim creating a lightweight crm from scratch, needing a login system...ive hacked together login systems in the past but wanting to find a different way04:58
MavKenim using php/mysql04:58
MavKeni wish the major frameworks had something built in... i just dont like spending time on the login side of things04:59
hitsujiTMOMavKen: such a question would be more appropriate for #php then04:59
MavKenok04:59
hitsujiTMOMavKen: one thing tho, use bcrypt/blowfish04:59
MavKenok thanks, will check it out05:00
crassanyone know how/where/when local-premount initrd script get run from init?06:03
Slinghaving some weird issues with my apache httpd package all of a sudden, nothing out of the ordinary is appearing in logs but this is what happens: http://apaste.info/knE608:43
Slingah forgot to include in the paste that before the start command there are no apache processes running08:44
Slingthis is ubuntu 13.10 with Apache/2.4.608:45
Slingalso, when I create a config file in /etc/apache2/sites-available/ it should be enable-able by a2ensite right?08:51
Slingor hmm does it need the .conf extension..08:51
Slingso it does, anyway previous issue not yet fixed, any input would be appreciated08:54
=== schmidtm_ is now known as schmidtm
hitsujiTMOSling: looks like apache2 is being called started impropperly at another point09:27
hitsujiTMOSling: that or its majorly misconfigured.09:27
hitsujiTMOSling: have you looked at the error logs?09:28
SlinghitsujiTMO: yup as stated there is nothing out of the ordinary in the apache errorlog09:28
Slingalso it actually is started and working fine, but not controllable by service apache2 <action> properly09:29
hitsujiTMOSling: if you disable all the sites in /etc/apache2/sites-enabled/ does it still occor?09:29
Slingthe httpd starts09:29
Slingits just the interaction between the upstart script and the actual httpd that is borked it seems09:30
hitsujiTMOSling: apache2 is configured by sysv not upstart atm09:30
Slingokay that then :)09:30
hitsujiTMOhave you tried disabling all sites, killing all apache processes and then starting again to see if you get the same hehaviour?09:31
SlinghitsujiTMO: yup, same behaviour09:34
hitsujiTMOSling: has someone modified the apache sysv init script at some point?09:35
Slingvery unlikely, not me at least09:35
hitsujiTMOSling: if they haven't then the culprit would be the apache config. But don't think that can spawn new processes.09:36
Slingif the apache config would be broken, it wouldn't start09:36
hitsujiTMOSling: not broken, just misconfigured09:38
hitsujiTMOyou can have a misconfigured config that still works but doesn't do what its supposed to do09:39
Slingthe httpd does what its supposed to do though..09:39
Slingit works perfectly fine09:39
Slingbut for some reason, the processes that are launched, are not matching some pid file09:40
Sling/etc/apache2/envvars:export APACHE_PID_FILE=/var/run/apache2/apache2$SUFFIX.pid09:41
Slingthat file doesn't exist, but /var/run/apache2.pid does09:42
hitsujiTMO$SUFFIX is a var. if its empty then the APACHE_PID_FILE produced is /var/run/apache2.pid09:43
Slingwhy not /var/run/apache2/apache2.pid ?09:43
hitsujiTMOahh i see what you mean. you'd have to route thru the init script to see whats going on09:43
hitsujiTMOgoes back to the question on if the init script has been modified or not09:44
Slingthis fixes it; ln -s /var/run/apache2.pid /var/run/apache2/apache2.pid09:44
Slingbut yeah, not proper solution09:44
Slingim guessing that some other package has fiddled with the init script09:45
hitsujiTMOthat should not happen. are you using a ppa?09:45
Slingnope09:46
Slingalthough, there is a dl.google.com_linux_mod-spdy_deb_dists_stable_ in /var/lib/apt/lists/09:47
Slinghmm09:47
hitsujiTMOSling: check the init script. maybe the server has been compromised09:48
SlinghitsujiTMO: last modified date was >6 months ago, and dpkg -S shows that only the apache2 package is doing something with that file09:54
Slinganyway, ill investigate further, some time :)09:54
hitsujiTMOtis a wee bit odd of an error09:55
hallynsmb: are you looking at bugs 1180281 and 915954 ?10:10
smbhallyn, Hm, since the bot is on holiday, give me a sec to look what they are10:15
smbhallyn, Ok, replied there but I would think those should be good in Trusty after libvirt 1.2.1 at least10:29
hallynsmb: i haven't actually look in detail;  was just wondering if you wer ehandling them.10:30
hallynsmb: yo're saying there are patches attached to the bug reports and those should go into our package?10:31
hallynsmb: if so, I'm currently getting ready to push libvirt to trusty with a new aarch64 patch pushed anyway...10:31
rostamHI how could I configure static IP address with nmcli ? thx10:35
smbhallyn, Now I am not sure you commented before I talked to you. Current code for libvirt1.2.1 should be working10:55
hallynsmb: i commented?11:04
hallynoh, here you mean :)  thought you meant in the bug11:04
hallynsmb: yeah that was before we talked11:04
hallynthx11:04
smbhallyn, Yeah, sorry for the confusion. :)11:04
hallynadam_g: hi, for bug 1244694, could you test one more time, and report whether the new package works for you (no regressions)11:13
hallynadam_g: it woudl be great if you could still reproduce it with the old version, but at least if the new package doesn't regress that's a good data point11:14
shwaiilHi11:52
shwaiilwondering when is the next LTS version coming up ?11:52
cfhowlett!lts|shwaiil,11:53
ubottushwaiil,: LTS means Long Term Support. LTS versions of Ubuntu will be supported for 3 years on the desktop, and 5 years on the server; with the exception of 12.04 (Precise Pangolin), which will be supported for 5 years on the desktop. The current LTS version of Ubuntu is !Precise (Precise Pangolin 12.04)11:53
cfhowlett!trusty11:53
ubottuUbuntu 14.04 (Trusty Tahr) will be the 20th release of Ubuntu.  See the announcement at http://www.markshuttleworth.com/archives/1295 for more info. support in #ubuntu+111:53
shwaiilcfhowlett: thanks for looking. looks like a long read11:53
shwaiiljust wondering if I should stick with 12.04 for a new server I'm assembling here11:54
shwaiilwhen I did research someone mentioned to maybe just wait for 14.04, so I wasn't sure if is around or not: )11:54
cfhowlettshwaiil, new LTS in 3 months - direct uprgrade from current lts to 14.0411:54
shwaiilcfhowlett: 3 months, cool :)11:54
shwaiilThank you11:54
cfhowlettshwaiil, no problem11:54
DenBeirenHey all,.. i'm having some issues with cron not running as it should,.. anyone here to help out?12:03
ltlbeaverDenBeiren, what problem does your cron have?12:24
DenBeireni addes a line to shutdown at a certain time12:26
DenBeirenit doesn't shutdown at the asked time :-)12:26
DenBeireni used shutdown -h now12:26
DenBeirensudo shutdown -h now12:27
DenBeirentried as user, tried as root12:27
ikoniaerrr how are you doing that as cron12:28
ikoniasudo requires user access unless you've changes the sudo rules12:28
ikoniaand the root account should be locked12:28
DenBeireni made a cron using crontab -e as my default user, and added the line shutdown -h now12:29
DenBeirensince that didn't work, i tried using sudo12:29
ikoniaok - so thats not going to work12:29
ikoniasudo isn't going to work as it needs user input12:30
DenBeirensince that didn't work i tried the same two things logged in as root12:30
ikoniaso again the root account should be locked so you shouldn't be logging as root12:30
ikoniaand I suggest you show the EXACT cron line you are using12:30
DenBeirenuhu12:30
DenBeirenwhat would be the way to go then? :-)12:30
ikoniayou could look at a specific sudo no password line for you12:31
ikoniabut lets see the exact line you're using12:31
DenBeirenafter searching on google i added this line now12:31
DenBeiren00 07 * * * /sbin/shutdown -p now12:32
ikonia-p is an invalid flag12:32
DenBeirenok12:32
ikoniait appears you are just copying things blind rather than actually thinking about things/checking them12:33
ikoniaI suggest you stop that12:33
ikoniaactually research the things you need, eg: man shutdown12:33
DenBeireni try to do so, but even the manpages are not always that easy for novice users i'm afraid12:34
ikoniaok - but looking if -p is a flag should be basic for if you want to use -p12:34
ikoniait varies from distro/provider12:34
ikoniaalso try the command manually to get better output, once you know it works you can look at setting it up in cron12:34
DenBeirenshutdown -h works normally as default user12:35
ikonia"default user" ?12:35
DenBeireni looked at this: http://www.ipaste.eu/view.php?id=118612:35
DenBeirenwell,.. denbeiren is the normal user i always use12:35
DenBeirenso default user = denbeiren12:35
ikoniaok, so that shouldn't work12:36
ikoniaunless you use sudo or have setuid set12:36
DenBeirenit asks for a sudo password when i enter that command12:36
ikoniaright, so cron can't do that as it's not interactive12:38
ikoniaapply some thought12:38
DenBeirenfigure out how to make user a sudouser?12:38
ikoniano, your user is already a sudo user12:39
DenBeirenthen i'm afraid i don't know12:40
ikoniaok, so first of all test the sudo command you want to use, make sure it works12:40
ikoniathen understand the limitations, eg: sudo12:40
ikoniathen update your sudo rules to make the command "shutdown" not require a sudo password12:41
zuljamespage:  the dependencies got promoted im just un depwaiting things today12:42
DenBeirenthe commands that i would like to run all work12:44
ikoniaDenBeiren: ok, so go to the next step12:44
DenBeirenso i need to be checking out changing sudo rules probably?12:44
mardraumhow about edit root's crontab? :p12:45
DenBeirenmardraum: seems like that would be a big nono :-)12:47
ikoniadepends how you look at it12:47
mardraumthere is nothing wrong with using root12:50
mardraumfor administration and elevated privs12:51
makarahi. How do I restart sshd on 13.04?13:02
makararemotely13:02
makara`sudo restart sshd` gives `restart: Unknown job: sshd`13:02
mardraumservice ssh restart, or old way /etc/init.d/ssh restart13:03
mardraummakara if you are used to BSDs, note that ubuntu tends to drop the "d"13:04
DenBeirenikonia: thanks for the help so far,.. have to go to work, i will look into it13:04
mardraumeg services like "ssh" "ntp" etc13:04
mardraumthough I note that the BSDs don't have a "restart" command I am aware with, so perhaps some other linux distro instead.13:05
makaramardraum, thx13:10
ttxzul, jamespage: was the 12.04 kernel namespace bug brought to your attention ? The one that blocks neutron gating ?13:53
ttxhttps://bugs.launchpad.net/neutron/+bug/127338613:53
ttxprobably the same as https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1252508/13:53
jamespagettx, yes it has - mark pinged me last night about it13:54
ttxok, cool13:54
jamespagesarnold, smb: could bug 1273386 have a bit of kernel team attention please13:55
jamespagehttps://bugs.launchpad.net/neutron/+bug/127338613:55
smbjamespage, we will have a look14:21
jamespagesmb, ta14:26
jamespagesmb, also pinged arges14:26
smbjamespage, So he told me (sitting two seats down the table)14:27
jamespagesmb, \o/14:27
=== freeflying is now known as freeflying_away
=== railsraider_ is now known as railsraider
jamespagesmb, any chance you could join openstack-dev?15:05
jamespagesmb,  probably a regression - "so far we've isolated that happens with 3.2.0-58 and did not happen with 3.2.0-57"15:07
smbjamespage, I can join. That info is good to have15:16
jamespagesmb, thanks - it was really just to open up the channel between the neutron dev looking at this and your team15:16
shwaiilQ: I was questioning about user management for my samba file shares, if I can inherit the system users and groups, etc. Someone mentioned that I should use an intermediate access protocol like LDAP. I never did something like that, is that too complicated ? Thanks15:44
atpa8ahello15:58
huttanshwaiil: that is correct. If you setup a ldap server and add the samba schema, you can manage it centrally15:59
shwaiilhuttan: Thanks so much for looking! I've got no experience with it but I'm ok about reading and trying. I just wonder if it's too complicated to setup ?16:00
huttanshwaiil: it depends on your experience with servers I guess. I personally found it pretty easy the first time i tried16:00
olsoneaHi #ubuntu-server! I've got a noobish question that I've tried to resolve on my own. I am working with a Wordpress site installed at /var/www. My user is in the www-data group, and everything under /var/www is owned by www-data:www-data. The problem is to modify anything, create a new dir, etc, I still have to sudo foocmd. What am  I missing?16:00
huttanshwaiil: and now Ubuntu also provides you with some great documentation16:00
huttanshwaiil: https://help.ubuntu.com/12.04/serverguide/samba-ldap.html16:01
shwaiilhuttan: thanks, I'll try it then. have you ever found problems with mac osx clients ?16:01
shwaiilmost people here use mac books :T a bit worried16:01
huttanshwaiil: https://help.ubuntu.com/12.04/serverguide/openldap-server.html16:01
atpa8ashould update-grub work for efi boot?..16:01
atpa8acause mine doesn't16:01
huttanshwaiil: it works great with them too16:02
atpa8aexpert mode installation16:02
shwaiilhuttan: ok cool :)16:02
huttanshwaiil: if u want to centralize all, might also wanna look into kerberos16:02
huttanshwaiil: just a tip16:02
shwaiilhuttan: so, for example, let's say I've got a developer group and I invite a developer here, I connect to LDAP and I can create a new user and he's going to have his own home directory and all that stuff ?!16:02
shwaiilkerberos... oh ok16:03
huttanshwaiil: yepp, as long as the server he logs on is configured to pull login info from ldap16:03
huttanshwaiil: u can also manage sudo rights etc. from ldap16:03
shwaiilhuttan: not sure if I'm understanding everything.16:04
shwaiilso my project under /var/www/myProject owned by group "developers" at 192.168.0.7716:04
shwaiilthe developers would authenticate to a LDAP server and16:04
shwaiilehh...16:04
huttanshwaiil: sure, u can setup apache to auth through ldap16:05
shwaiilhum, so what's kerberos ?16:05
huttanshwaiil: centralized passwords16:05
huttanshwaiil: in a secure way16:05
shwaiilbut I can just work with LDAP without kerberos right ?16:05
huttanshwaiil: yeah16:06
shwaiilotherwise it's too much stuff for me to handle, to start with16:06
huttanshwaiil: its not requirement16:06
shwaiilhuttan: just one thing, I usually provide a user and password to access a file share16:06
shwaiilwith LDAP, it's exactly the same ?16:06
huttanshwaiil: yepp16:07
olsoneahuttan: did shwaiil ask the same question I did before I entered?16:07
huttanolsonea: sorry i did not see your question16:08
olsoneaabout users with group permissions on /var/www?16:08
olsoneaHi #ubuntu! I've got a noobish question that I've tried to resolve on my own. I am working with a Wordpress site installed at /var/www. My user is in the www-data group, and everything under /var/www is owned by www-data:www-data. The problem is to modify anything, create a new dir, etc, I still have to sudo foocmd. What am  I missing?16:08
olsoneas/#ubuntu/#ubuntu-server/g16:08
huttanolsonea: i assume ur trying to create it as the www-data user and not ur regular home user?16:09
olsoneaah, let's call my home user olsonea. that's who i am authenticates as, yes.16:10
huttanolsonea: ok then16:11
huttanolsonea: So heres your problem, its owned by www-data so that has to be the one making dirs16:11
huttanolsonea: however, u can add urself to the group and give group write permission on /var/www16:12
huttanolsonea: then u could also make it w/o sudo16:12
olsoneaok, so when i issue the groups command, i am in the www-data group16:12
=== paralle21_ is now known as parallel21
olsoneaoh16:12
olsoneabut it looks like the group only has read perms16:13
olsoneaso i probably need to chmod 755 /var/www?16:13
olsoneaerr, less open, 751?16:13
huttanolsonea: no16:14
huttanolsonea: just do chmod g+w /var/www16:14
huttanolsonea: im not gonna specify recursive, if u need that do it16:15
olsoneagotcha16:15
olsoneahuttan: superb, thanks for educating me16:15
huttanolsonea: sure, no problem16:16
=== mjohnson15_2 is now known as mjohnson15
shwaiilhuttan: you still around ? I'm wondering, if LDAP have a GUI or a Web interface to allow any one to easily manage the user control access, etc ?16:44
shwaiilI'm trying to avoid creating any dependences16:44
shwaiilI don't want to be asked to manage new users or current users all the time by the command line16:44
shwaiilso just wondering if openLDAP provides that16:45
shwaiilI'm also doing research, maybe I'll find something about it meanwhile16:45
pmatulisshwaiil: openldap does not provide that, no16:46
shwaiilpmatulis: thanks for looking16:46
shwaiilif I'd like to have something like that, is it possible ?16:46
pmatulisshwaiil: i didn't look, i just know16:46
pmatulisshwaiil: it depends what kind of users you're talking about16:47
shwaiilpmatulis: sorry, what I mean with looking, is thanks for answering or thanks for taking your time to answer me, sorry not my native language16:47
pmatulisshwaiil: simple users or administrators16:47
shwaiilpmatulis: let's say any user with admin control be able to manage users16:47
pmatulishttp://directory.apache.org/studio/16:48
shwaiilpmatulis: oh thanks16:48
shwaiilI'll have a look16:48
pmatulisbut beware of relying too much on the gui.  i recommend learning the basics.  'cause you often need that to be able to debug/troubleshoot anything16:49
shwaiilpmatulis: sure. it's just to ensure that my managers and stuff have a way to manage simpler stuff16:50
pmatulisyep16:50
shwaiilwithout having to rely on me all the time, I'm just a developer anyway16:50
shwaiillet's say if I'm on vacations and stuff. We are a very small creative studio / agency16:50
shwaiilI do a bit of everything but.16:50
pmatulisfor the basics, see the ubuntu server guide --> authentication --> openldap16:50
tgm4883What causes the screen to blank in ubuntu server?16:51
shwaiiltgm4883: are you running it under a VM ?16:51
tgm4883shwaiil, no, on an imac16:51
shwaiiltgm4883: happened to me when running on a VM, running in a mini mac16:52
shwaiilbut I can still ssh to it etc16:52
shwaiilpmatulis: thanks16:52
tgm4883shwaiil, and you have to restart it afterwards?16:52
conroeAny suggestions package-wise at installing minimal lighdtm/xorg on -server?16:54
conroeI dont need accounts* and some of the other bloat ;)16:55
pmatulisconroe: openbox/lxde/lightdm17:01
conroeapt-get install ubuntu-desktop --no-install-recommend should do it17:25
conroefigures ;)17:25
atpa8aany clues why upgrade-grub/efi doesn't work? Getting 'Couldn't find physical volume `(null)'. Some modules may be missing from core image..'18:38
_atpa8a_...18:41
TJ-atpa8a: Have you got a degraded array?18:43
atpa8aTJ-: yup!18:43
atpa8aa fix?18:43
atpa8ais there?18:44
atpa8atesting efi, /boot on usb flash and / and friends on raid/lvm18:44
TJ-atpa8a: See http://savannah.gnu.org/bugs/?3952718:44
TJ-atpa8a: Do you still get "Installation finished. No error reported. " after "update-grub"18:45
atpa8ai think so18:45
_atpa8a_let me switch to this web interface so i can test18:46
TJ-Well, if so, there's no problem. Grub is warning about the missing device18:46
_atpa8a_hmm18:47
_atpa8a_retesting18:47
_atpa8a_actually want to add "bootdegraded=true" to grub18:47
TJ-Yes, although often it doesn't stop initrd scripts from stopping!18:48
InfoIRCNETInfo about IRC http://p.pw/DLV19:08
_atpa8a_TJ-: thanks man! it worked19:27
_atpa8a_cool19:40
_atpa8a_now to trow openstack on it... :)19:40
melterif i run "apt-get install apache2-mpm-prefork", why does "apachectl -V" show the MPM as "event" and not "prefork"?20:47
sarnoldmelter: is the event mpm still installed?20:48
sarnoldI would expect it to be preferred if it is installed20:48
meltersarnold: it was never installed20:48
sarnoldmelter: hrm. odd.20:48
meltersarnold: i just did a fresh install to verify. apt-get update; apt-get dist-upgrade; reboot; apt-get install apache2-mpm-prefork20:49
=== huats_ is now known as huats
NewInformatorInfo about IRC at http://p.pw/DLV21:11
geniiSpam.21:13
hadifarn_I want to change my Virtual Hosts directives in order to stop listening for 127.0.0.121:48
hadifarn_none of the tutorials I read tells me where the hell is that file21:48
hadifarn_sites-enabled and stuff21:48
tewardhadifarn_: you haven't said which webserver you're using21:51
tewardsince there's many in the repos21:51
hadifarn_teward: sorry. apache2 on ubuntu21:51
hadifarn_I changed <VirtualHost *:80> to <VirtualHost 172.20.30.40:80>21:53
hadifarn_that should do it. right?21:53
tewardhadifarn_: i'm going to wait for an apache person to answer, i.e. someone who uses apache (I use nginx)21:54
tewardbut yes, now that you said it's apache someone can actually help :)21:54
hadifarn_ok. cheers teward21:54
Picihadifarn_: If you haven't made any other configuration changes to apache's config, that should be it.  Make sure to restart apache afterwards.21:55
hadifarn_cool Pici. now my status mod should work21:56
hadifarn_yep. it works fine. thanks21:56
rostamHi here is my /etc/network/interfaces http://paste.ubuntu.com/6834522/    I like eth0 to be default gateway but it does not, how can I change that.21:59
=== gary_poster is now known as gary_poster|away
byprdctUnder what circumstance would the me using the arrow keys cause the terminal to populate stuff like ^[[A instead of showing my most recent commands?23:13
sarnoldbyprdct: incorrect TERM environment variable, incorrect or missing terminfo for your terminal, maybe incorrect stty settings, maybe incorrect settings in your shell..23:15
byprdcthmm number of things sarnold23:15
byprdctnot happy23:16
sarnoldnormally when I see that sort of behavior, running 'stty -sane' or 'reset' is enough to fix it, but if it is busted on login, it can be miserable to debug these things..23:16
byprdctthanks sarnold23:16
byprdctsweet23:16
byprdctgoing to try that now23:16
byprdctI23:16
byprdctI'm hoping it's not this time23:16
byprdctsarnold are you saying run sudo stty -sane23:17
byprdctor sudo reset23:17
sarnoldbyprdct: no 'sudo' necessary23:18
byprdctok23:18
byprdctsarnold I get usage: stty [-a|-e|-g] [-f file] [options]23:18
sarnoldbyprdct: sorry, 'stty sane'.23:18
byprdctnevermind Im a moron23:18
sarnoldwonder how long I've been handing out wrong advice..23:18
byprdctlol23:19
sarnoldit's obviously been ages since I've had similar problems, longer than I thought.23:19
byprdctnope still doing it23:19
byprdctthats a good thing23:19
byprdctit doesn't do it when Im logged in as root23:20
sarnoldbyprdct: are you using 'sh' or 'bash' for your shell? I just confirmed that 'sh' still gives the ^[[A^[[A^[[A^[[B^[[B results23:21
byprdctI'm not sure how can I tell23:21
byprdctI sshd in23:21
sarnoldbyprdct: ps auxw | grep $$   ought to do it23:22
byprdctrep: to: No such file or directory23:23
byprdctall three are no such files or directory23:23
pmatulishow do i apply password strength checking on newly-created users?  that is, on the adduser/useradd commands23:26
sarnoldpmatulis: check out libpam-pwquality23:27
pmatulissarnold: thanks, will look23:27
pmatulissarnold: this seems the same as libpam-cracklib23:29
pmatulissarnold: so applied in common-password , which is for changing of passwords, not creating the initial one23:30
sarnoldpmatulis: ah yes, I knew there was another one I couldn't recall.. sigh :)23:30
pmatulisis it possible to enforce 'user must change password after first login'?  then i could use the above modules23:31
sarnoldpmatulis: does /etc/pam.d/newusers work for this case?23:31
pmatulisright now it points to common-password23:31
pmatulisldd tells me /usr/sbin/useradd is not pam-aware23:33
=== freeflying_away is now known as freeflying
=== david is now known as Guest98397
Guest98397hi running software raid 1. I added the new devices and mdadm did a recovery. So I now have 4 identical drives. I set the boot flag on the new drives on the first partition. Do I have to copy the mbr to the new disks? Is there anything else I need to do to boot the new drives?23:46
Guest98397I think I'll try dpkg-reconfigure grub-pc, that will probably make it boot.23:46
sarnoldpmatulis: sorry, back; shadow(5) describes a password expiry that can be used for that, but it's been long enough since I've tried it I'm not sure how it works :)23:49
pmatulissarnold: i found the chage command, it might do the same.  'chage -d 0 username'23:50
sarnoldpmatulis: nice23:51
Guest98397I used grow to remove the old hard drives23:58

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