[00:02] is it possible to create a php registration form that would work with openldap? === hitsujiTMO_ is now known as hitsujiTMO [00:17] MavKen: looks like there's some kind of openldap integration with php... [00:17] http://php.net/manual/en/function.ldap-connect.php [00:19] ive seen that... i see that it is possible for a login system to connect to ldap... i am just not finding a way to create a registration form. this is for a niche social media site.... im wondering if it would be best just to use php/mysql login system [00:21] MavKen: how about this? http://www.php.net/manual/en/function.ldap-add.php [00:22] MavKen: traditional databases might be easier, but beware of the risk of copy-and-pasting together something horrible. A lot of php-mysql applications are security disasters and the 'easier to read' ones are quite often the worst examples to learn from. [00:24] thanks, i will need to read that a few times. i was thinking about purchasing http://codecanyon.net/item/php-login-user-management/49008?WT.ac=category_item&WT.seg_1=category_item&WT.z_author=jigowatt [00:25] i have never used openldap, so i would need to get it installed [00:25] before i start learning either way, just want to know which method would be best to use === freeflying_away is now known as freeflying === freeflying is now known as freeflying_away === peter is now known as Guest65247 === freeflying_away is now known as freeflying [03:23] according to dwww man page - http://manpages.ubuntu.com/manpages/hardy/man8/dwww.8.html - there is supposed to be a 'apache2.conf' file in '/etc/dwww' and symbolically linked from /etc/apache*/conf.d/dwww but there is neither a file or a symbolically linked file in /etc/dwww NOR /etc/apache2/conf.d - HELP? [03:37] ... forgot to mention that '/var/lib/dwww' appears empty. === freeflying is now known as freeflying_away === freeflying_away is now known as freeflying [06:44] Hello. I've been using openvswitch and virsh/virt-manager on 13.04. Now that openvswitch-brcompat is dumped, i am forced to configure the network by hand using "virsh edit" or something along this path.. is there a way to get brcompat back to life on 13.10 ? [06:45] or is there a better way of doing this that I'm not aware of? [06:49] hi [06:49] viper2k, hi [06:50] AtuM: don't you want to just define a network using the openvswitch bridge? [06:52] sgran, I have done so... I wish i could define it within the libvirt, so I can use virt-manager to create virtual machines and have it recognize that I use ovs bridge.. [06:52] no, that's what I mean [06:52] http://libvirt.org/formatnetwork.html [06:54] sgran, I'm afraid libvirt only uses brctl to manage the bridge.. as I use ovs, it cannot connect the virtual machine to that kind of bridge. it knows nothing about ovs switch [06:55] with openvswitch-brcompat, there was a compatibility layer so that libvirt could configure ovs bridge using brctl command.. now this is gone [06:56] even with virtualporttype = openvswitch? [06:56] sgran, this is the only sollution type I know of.. but I have to configure each virtual machine by hand: http://www.siliconloons.com/?p=277 [06:58] I would expect I can define ovs as the default bridge to be used in libvirt.. perhaps I don't know how to do it [06:59] https://www.redhat.com/archives/libvirt-users/2013-April/msg00057.html [07:00] it seems others are having trouble, but that might get you closer [07:00] it seems you can define a network of type openvswitch, at least [07:02] sgran, I will look into it. I should have no problems since i only use real bridge.. hopefully it works and I can then post the config on my blog [07:03] http://www.siliconloons.com/?p=305 [07:04] that looks like it should do it [07:06] sgran, I've seen this already.. but it includes vlan config.. I will try to filter that out [07:06] just don't use at a guess [07:08] and I don't need the portgroup either.. [07:11] sgran, thanks for helping me set this up.. it works perfectly [07:11] no need for brcompat anymore.. great stuff [07:11] great === Guest57978 is now known as bitnumus [07:33] hi [07:34] I installed samba4 on ubuntu-server 10.13, removed bind but it looks like not working [07:34] when i install samba i get a lot of [07:34] Error loading module '/usr/lib/i386-linux-gnu/samba//vfs/acl_xattr.so' [07:38] there is no 10.13 [07:38] ups, sorry, 13.10 i meant :) [07:45] when i try to start samba4 with [07:45] service samba4 start [07:45] i get a [07:45] samba4 stop/waiting === freeflying is now known as freeflying_away [09:02] buscon, from what I remember, one needs to configure samba4 first.. it won't just run.. but I've done this on fedora a year ago from source.. look at the manual from samba's web page.. their step-by-step how-to's are great === freeflying_away is now known as freeflying [09:09] AtuM: ok, now I got it running, but i cannot log in with a user [09:09] i've used a lot samba in the past, samba4 looks like wierdier [09:11] buscon, samba4 is a more complex solution.. it actually builds its own AD, it creates its own DNS zone and so on.. it's pretty straight forward to set up and later administer with windows's administrative tools.. it's a lot harder job doing so in command line [09:11] anyway, i created a user (samba) and i cannot log in [09:11] ah, that's why [09:12] as I've said.. it's a different approach.. it uses domain logons and sets up its own AD [09:13] with samba3 you either set up domain or not.. with samba4 AD is set up by default.. the only other option is to join it to an existing domain [09:13] more on that in #samba [09:14] ok, i'll try to look for samba4 tutorial for users [09:19] https://wiki.samba.org/index.php/Adding_users_with_samba_tool [09:19] thx :) [09:22] honestly, I see this for the first time.. I have only tested the thing some time ago.. i have no practical use for it yet.. it's very unlikely that it will ever catch up with win2012 === psivaa is now known as psivaa-afk === freeflying is now known as freeflying_away === freeflying_away is now known as freeflying === gartral|away is now known as gartral === freeflying is now known as freeflying_away [11:39] stgraber: ping, issue with lxc when trying to create a trusty container on a trusty host, didrocks reverted lxc to 1.0.0~alpha1-0ubuntu11 but the issue remains [12:17] Hi i have 160GB LVM partition on ubuntu 12.04, i need to add another 100GB , How can i increase diskspace without lossing data ? [12:18] lvresize === psivaa-afk is now known as psivaa [13:36] vila: can you share some more details? [13:39] stgraber: on a trusty host, with lxc-1.0.0~alpha1-0ubuntu11 (see didrocks for another failure that caused the downgrade from 1.0.0~alpha2-0ubuntu3), otto creates its usual setup and then do an lxc-start (to boot from an iso), lxc-start returns 255 almost immediately [13:40] stgraber: it's on qa-intel-4000 if you want a closer look [13:40] errr, did these lists of names really go there ? [13:41] * vila sacrifices a goat just in case [13:44] stgraber: did you get my answer (wondering after that weird behavior...) [13:48] how would one go about creating a restricted user for vulnerability scan purposes that only meets the following minimum requirements: able to execute uname and dpkg read /etc/debian_version (but nothing more)? [13:49] anyone here use dhelp and or dwww? (online, browser-based help systems for viewing man pages) - according to dwww man page - http://manpages.ubuntu.com/manpages/hardy/man8/dwww.8.html - there is supposed to be a 'apache2.conf' file in '/etc/dwww' and symbolically linked from /etc/apache*/conf.d/dwww but there is neither a file or a symbolically linked file in /etc/dwww NOR /etc/apache2/conf.d and /var/lib/dwww appears empty. suggest [13:49] ions? [13:50] vila: yep, will look in a bit [13:51] stgraber: ack, waiting for your ping somewhere. #distro ? === freeflying_away is now known as freeflying === Ursinha is now known as Ursinha-afk === Ursinha-afk is now known as Ursinha === freeflying is now known as freeflying_away [14:51] anyone here use dhelp and or dwww? (online, browser-based help systems for viewing man pages) - according to dwww man page - http://manpages.ubuntu.com/manpages/hardy/man8/dwww.8.html - there is supposed to be a 'apache2.conf' file in '/etc/dwww' and symbolically linked from /etc/apache*/conf.d/dwww but there is neither a file or a symbolically linked file in /etc/dwww NOR /etc/apache2/conf.d and /v [14:51] ar/lib/dwww appears empty. HELP? [14:59] ok, so i am thinking about spinning up an ubuntu server, and it says 13.10 is supported for 9 months, what happens after that 9 months [15:00] thegoat: After End of Life, the distribution is no longer available for download, it's repositories are frozen and archived, and no support is given. [15:03] genii: do they eventually roll those features, pkg version, etc into an LTS? [15:04] thegoat: LTS versions are every two years and supported for 5. So 10.04, 12.04 are LTS and so will be 14.04 ( in 6 months). The changes made on the interim releases ( the ones between LTS) are usually incorporated into the next LTS [15:05] i see...i will probably go with LTS then. just wanted to see what the real benefits of the non LTS where. long term support is more important to me [15:06] thegoat: With server versions, most upgrade from LTS directly to next LTS [15:09] genii: cool, thanks for the input [15:11] thegoat: You're welcome! [15:15] gdos: Conceivably the application is in some half-state where it was installed then deinstalled, and /var/lib/status says "Status: deinstall ok config-files" meaning if it gets reinstalled that it's config files are already there and not to install them. This usually happens when you uninstall a package then manually remove it's config files, but it can also happen in other ways. The best method to rectify is to uninstall it, then edit the status [15:15] file with admin rights and remove the entire stanza pertaining to it. Then reinstall it. [15:58] genii anything that pertains to dwww / dhelp ? [15:58] genii: is there a way to use locate to purge any files associated with dhelp and or dwww ? [16:00] genii: where would the status file be located? [16:02] gdos: The status file has "stanzas" , which is basically a paragraph with information about a package that is on the system, or has been on the system. It's located in /var/lib/dpkg/ directory and called status. You need to remove the entire stanza ( or section, paragraph, etc) pertaining to the status of dwww package. [16:02] genii: ok looking now. [16:04] genii: in /var/lib/dpkg i have status and status-old & statoverride and statoverride-old [16:07] genii: there is no paragraph or stanza pertaining to dwww or dhelp [16:07] gdos: Then odds are it's not installed. [16:07] gdos: What says result of: apt-cache policy dwww [16:08] when i ran 'sudo apt-get purge dwww' i get the following message: W: Duplicate sources.list entry http://us.archive.ubuntu.com/ubuntu/ saucy/main amd64 Packages (/var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_saucy_main_binary-amd64_Packages) [16:08] gdos: That means you have the same line twice in your sources.list file [16:09] Work requires me, back in 12-15 minutes [16:09] the results of 'apt-cache policy dwww' are dwww: Installed: (none) Candidate: 1.12.0 Version table: 1.12.0 0 500 http://us.archive.ubuntu.com/ubuntu/ saucy/universe amd64 Packages [16:15] gdos: So there is no entry in the status file because you have not installed it yet :) [16:15] genii: sorry, thats after purge. [16:16] gdos: What says result of: grep -n dwww /var/lib/dpkg/status [16:20] 32415:Suggests: dhelp | dwww | doc-central | yelp | khelpcenter4, rarian-compat 32421: other packages such as dwww, dhelp, doc-central, and rarian-compat 42165:Replaces: dwww (<= 1.6.10) 50907:Suggests: dwww, menu, deborphan, apt-xapian-index, tasksel, software-properties-gtk 50921: * Browse all available documentation related to a package (dwww is required) [16:21] genii: i am thinking there might be a bug in dwww version 1.12.0 (i previously had 1.11.8 installed) [16:22] gdos: From here seems like some deeper issue you're having in dpkg not updating files. [16:22] gdos: You should probably find and remove the duplicate sources.list file, and do a sudo apt-get update [16:24] gdos: Can you pastebin the contents of your /etc/apt/sources.list please [16:27] genii: http://pastebin.ubuntu.com/6289888/ [16:28] gdos: Remove line 44 [16:30] done. [16:31] genii: file (sources.list) is closed but i when i run 'sudo apt-get update' i get this error: E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable) E: Unable to lock directory /var/lib/apt/lists/ [16:32] gdos: I would now: sudo rm /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_saucy_main_binary-amd64_Packages && sudo apt-get update [16:32] gdos: Perhaps give it a minute first, then try again. [16:33] *BRB* gonna reboot. [16:34] It makes it somewhat more difficult to assist when users decide to improvise instructions .... [16:40] genii: ok rebooted and 'sudo apt-get update' worked fine. now running 'sudo rm /var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_saucy_main_binary-amd64_Packages && sudo apt-get update' [16:42] gdos: Should be able after that to install dwww and have the conf files where they're supposed to be. [16:42] genii: will try it now. [16:46] genii: dwww is indexing now. [16:46] Good. [16:49] [16:50] hi! [16:50] i have problem with ubuntu server [16:51] i want to install asterisk for my server ubuntu 12.04 [16:51] please help me with this [16:53] genii: i'm still getting the following errors when browsing dwww: The requested URL /cgi-bin/dwww/usr/share/doc/ was not found on this server. The requested URL /cgi-bin/info2www was not found on this server. (etc) [16:55] gdos: About dwww I don't know anything specifically since I've never used it. You'd have to find someone to help you more specifically with it's config. [16:56] !info asteirsk [16:56] Package asteirsk does not exist in saucy [16:56] !info asterisk [16:56] asterisk (source: asterisk): Open Source Private Branch Exchange (PBX). In component universe, is optional. Version 1:1.8.13.1~dfsg-3ubuntu3 (saucy), package size 1137 kB, installed size 3881 kB [16:56] !info dwww [16:56] dwww (source: dwww): Read all on-line documentation with a WWW browser. In component universe, is optional. Version 1.12.0 (saucy), package size 111 kB, installed size 460 kB [16:56] !info asterisk precise [16:56] asterisk (source: asterisk): Open Source Private Branch Exchange (PBX). In component universe, is optional. Version 1:1.8.10.1~dfsg-1ubuntu1 (precise), package size 1075 kB, installed size 3688 kB [16:56] genii: fine! do you speak spanish o only english=? [16:57] Angelita: English, some German and French [16:57] No Spanish [16:58] genii: is it possible to install an older version of dwww (or anyother package)? [16:58] genii: Deutsch [16:58] jejej no! [16:58] english [16:58] i have 1 server dell but i want install asterisk [16:58] the server is ubuntu 12.04 64 bits [16:59] yesterday I can install asterisk but failed the test [16:59] so I to need reinstall all the server dell [17:00] now I want to install asterisk but of form correct and good [17:04] gdos: syntax is: sudo apt-get install packagename=versionnumber [17:04] Angelita: Unfortunately I do not have enough time right now to assist properly with your issue, apologies. [17:04] so 'sudo apt-get install dwww=1.11.8' ? [17:05] gdos: Yep. [17:06] Angelita: You can try to seek support also in the channel #asterisk [17:09] ok thanks [17:17] genii: says not available. how do i report a bug? after reading man page for dwww there supposedly is supposed to be a file ' /etc/dwww/apache.conf' but its not there. [17:18] gdos: ubuntu-bug dwww [17:19] genii: what said "not available" [17:19] apt? [17:19] erm [17:19] thegoat: a previous version of dwww [17:19] gdos: ^ [17:20] genii: but what triggered that warning, apt-get? [17:20] ? [17:20] or was it some other error? (i came in late) [17:20] thegoat: mishighlight i think [17:20] thegoat: tab fail, apologies [17:20] you and i both have names that start with "the" so tabcomplete broke [17:21] TheLordOfTime: dwww package for them does not have conf files. apt-get reports no earlier version when specified with apt-get install dwww=1.11.8 ( the prior one). So the bug is not apt-get but with dwww for missing conf files [17:21] genii: indeed, they need to file the bug against dwww. But it may already hage a bug on it, lemme scan the bugs... [17:22] genii: is he using Saucy or one of the other releases [17:22] because bugs can be filtered accordingly :P [17:22] !info dwww [17:22] dwww (source: dwww): Read all on-line documentation with a WWW browser. In component universe, is optional. Version 1.12.0 (saucy), package size 111 kB, installed size 460 kB [17:22] there's the source name... [17:22] * TheLordOfTime digs around on Launchpad [17:23] yep there's no bugs about it, he should file one, although it'd probably end up upstreamed to Debian too... [17:48] oh hey TheLordOfTime [17:49] just got done filing a bug report. [17:49] looks like its affecting dhelp and doc-central as well (both which are similar to dwww) [17:50] TheLordOfTime: yes, I am using saucy. [17:51] genii:bug report filed against dwww. but am now wondering if its an apache2 issue? i can't even get doc-central or dhelp to work (which are similar to dwww) [17:53] dhelp views the index.html file directly in '/usr/share/doc/HTML' but won't call it / load it though i can view that file manually if i type 'file:///usr/share/doc/HTML/index.html' [17:54] this is the URL that dhelp loads: http://localhost/doc/HTML/index.html [19:22] Ng: ugh, terminator is doing this dimming/brightening thing in 13.10 ... make it stop. [19:24] SpamapS: a) not the maintainer anymore, b) in inactive terms? there should be a preference for that [19:24] ah probably something I didn't use before that changed defaults [19:25] "Unfocused terminal font brightness" [19:25] global setting [19:25] * SpamapS obliterates the new default of 0.8 [19:26] SpamapS: possibly. There's also a hilarious bug where the slider used to set a value between 0.0 and 1.0 used to be able to return a value outside that range if you dragged the mouse pointer further (wtf gtk), but the latest version should fix that and clamp pre-existing values, instead of wrapping them and producing super weird results ;/ [19:27] GTK: making WTF since 1998 [19:28] hehe [19:32] Hi, I ran and I wonder what port 53, and 953 might be used for... http://pastebin.com/Py1mZpa6 [19:36] Dry_Lips: most likely bind (named), but if you elevate netstat with sudo, the -p option you're using should resolve pid+name, which will give you a solid answer [19:43] shauno: Ok, thanks, I ran sudo, but I simply get "named" as the name of the service... Bind isn't installed, but could it be that it keeps listening on port 53 even if I removed it? http://pastebin.com/ZfbdUdgg [19:45] I checked, and there is a bind directory under /etc [19:46] what do you get if you cat /proc/348/cmdline ? (348 being the pid that shows up in your paste as 348/named) [19:48] eg, mine comes back with /usr/sbin/named-ubind which is a pretty conclusive hint. but you may have another nameserver, I'm not sure which others use the rdnc control port (953) [19:50] Yeah, I also get /usr/sbin/named-ubind ... [19:52] that's almost certainly what's running then. how did you remove it? [19:52] probably apt-get remove [19:52] or purge [19:53] it was mostly the package name I was wondering; whether you got something that's related to bind, but didn't remove bind itself [19:54] when I run , I get "Package `bind' is not installed and no info is available." [19:54] how about bind9 ? [19:55] ouch, [19:55] I thought I had removed it, bind9 is here [19:55] :-/ [19:56] But anyways, thanks shauno, I guess that solves it... lol [19:57] Yep, only port 80 and my ssh open now [19:57] dpkg -S is handy one to keep up your sleeve too; dpkg -S /usr/sbin/named will tell you which package it came from, rather than guessing the name [19:59] yeah, that's what I should have done... :D But basically the problem was that that I forgot that it was called bind9, lol [20:07] anyone else have tons of recurrant instances of mounting /dev/shm ? I find that this line is added to /etc/fstab no matter how many times I remove it: tmpfs /dev/shm tmpfs defaults,ro,noexec,nosuid 0 0 [20:07] afaict you can mount /dev/shm as tmpfs over and over and over and over, and this is happening on all of my 12.04 LTS boxen [20:09] er, it actually shows up as mounted at /run/shm, which /dev/shm is simply a symlink to [20:40] stgraber: aaah. i see. i wasn't crazy. package updates are slow on btrfs bc of fsync - my host is 3.2, 3.5 supposedlys speeds it up. [20:40] darn [20:46] hi world,have anyone saved this page: books4electricians.blogspot.com? [20:48] rampageRipper: What does that have to do with Ubuntu? [20:48] * hallyn gets to know eatmydata [20:48] rampageRipper: Please stop pasting your site in our channels for no reason. [20:48] just asking [20:49] it's not my site === rampageRipper is now known as DeepBlue === sieb is now known as _Sieb === _Sieb is now known as Sieb === Sieb is now known as _Sieb === freeflying_away is now known as freeflying === freeflying is now known as freeflying_away [23:16] what options are available if i want to monitor network traffic? (KB usage.) my network consists of linux/windows PCs and android devices. [23:17] and 2 routers [23:19] ntop [23:22] thanx [23:26] tinman: 'ifconfig' shows rx and tx bytes on different interfaces, if you can run 'ifconfig' on your routers, that might give you easier access to the data you want.