Search #Ubuntu channel logs

Note: Use Ctrl+F to search through these logs

Thursday, March 9, 2017

#ubuntu channel featuring liqoert, ducasse, aesthetik, ubottu, OnceMe, pavlos, and 17 others.

TROL 2017-03-09 07:52:41
THX | nacc | k1l_ | ubottu
nacc 2017-03-09 07:52:48
egyptian_: fix that, by thinking about what you are doing, and what /e/n/i when rendered looks like
brimestone 2017-03-09 07:53:13
just this "[Thu Mar 09 10:48:26.613618 2017] [authz_core:error] [pid 7770:tid 140407941867264] [client ::1:52854] AH01630: client denied by server configuration: /media/array/"
nacc 2017-03-09 07:53:14
brimestone: oh it could be -- can you umoun it first, and show the permissions on the mountpoint?
momken 2017-03-09 07:53:22
I found that the only available gui software for this purpose is "gpointing-device-settings" for gnome, but it seems that it's deleted from 16.04 repo. Why?
nacc 2017-03-09 07:53:25
*umount
brimestone 2017-03-09 07:53:25
standby
ducasse 2017-03-09 07:53:55
TROL: http://serverfault.com/questions/338394/how-to-run-php-with-simplehttpserver
brimestone 2017-03-09 07:54:56
"umount: /media/array: target is busy" im restarting this sucket
ducasse 2017-03-09 07:55:02
momken: you can use xset, don't know about gui alternatives
nacc 2017-03-09 07:55:11
brimestone: well, are you running it from within that directory or something?
Pici 2017-03-09 07:55:17
momken: It was deleted from debian, and thus from Ubuntu: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=809126
ubottu 2017-03-09 07:55:18
Debian bug 809126 in ftp.debian.org "RM: gpointing-device-settings -- RoQA; FTBFS, buggy, not maintained" [Normal,Open]
brimestone 2017-03-09 07:55:45
nope, i changed to user home dirctory and stop apache2 services and still getting that busy resource
scarybaby 2017-03-09 07:55:56
hello
brimestone 2017-03-09 07:56:10
when its up, ill check the fstab config aswell
scarybaby 2017-03-09 07:56:12
i have a weird issue. No matter which guide I use, I always get stuck installing PHP into apache
scarybaby 2017-03-09 07:56:18
i get the same error each time.
scarybaby 2017-03-09 07:56:24
Nothing loads, it's just a blank page
scarybaby 2017-03-09 07:56:35
i've done this with several guides, but it never works
scarybaby 2017-03-09 07:56:52
I've tried turning on errors, but that doesn't give anything either :(
k1l_ 2017-03-09 07:57:04
scarybaby: so you used the ubuntu packages?
nacc 2017-03-09 07:57:15
brimestone: ok
k1l_ 2017-03-09 07:57:17
!lamp | scarybaby
ubottu 2017-03-09 07:57:34
scarybaby: LAMP is an acronym for Linux-Apache-MySQL-PHP. However, the term is often used for setups using alternative but different software, such as Perl or Python instead of PHP, and Postgres instead of MySQL. For help with setting up LAMP on Ubuntu, see https://help.ubuntu.com/community/ApacheMySQLPHP - See also the Server CD installation process.
scarybaby 2017-03-09 07:58:02
i believe so. i only used guides intended for ubuntu server 16.04
nacc 2017-03-09 07:58:02
scarybaby: a blank page typically means apache's logs show you the error
k1l_ 2017-03-09 07:58:02
scarybaby: installed the php modules for apache? restartet apache afterwards?
scarybaby 2017-03-09 07:58:02
i'll take a look at the apache logs
scarybaby 2017-03-09 07:58:03
god i love this channel
momken 2017-03-09 07:58:29
Pici: So doesn't gpointing-device-settings work?
satmandu 2017-03-09 07:58:33
Is there a good way to make a systemd fire off a script, and then have a timeout where that script can't be invoked again for say 10 seconds?
satmandu 2017-03-09 07:59:07
(udev is firing off a systemd script several times in succession, but I only need it to happen once.)
brimestone 2017-03-09 07:59:49
here is the persmission on the mountpoint. "drwxrwxrwx 20 root root 4096 Mar 9 10:31 array"
satmandu 2017-03-09 07:59:57
Problem is that systemd queues firing off the script several times, so a lock file in the script isn't helping.
nacc 2017-03-09 08:00:02
brimestone: that's before it's mounted?
nacc 2017-03-09 08:00:50
brimestone: go ahead and mount it, and then as your user can you run `php /media/array/test.php` (presuming you have php-cli installed)
brimestone 2017-03-09 08:00:52
how its mounted "drwxrwxrwx 20 root root 4096 Mar 9 10:31 arra"
aesthetik 2017-03-09 08:01:14
Click on the link and get $110!
aesthetik 2017-03-09 08:01:14
https://richmondberks.com/?ref=rbd118972
aesthetik 2017-03-09 08:01:14
- Make 1,5% Daily profit !
aesthetik 2017-03-09 08:01:14
- Invite a friend and get 1$ as a gift !
aesthetik 2017-03-09 08:01:14
- Comissions of 10% !
arooni 2017-03-09 08:01:16
just curious; how can my current user be logged in twice? does it count per enviornment? for instance; lightdm and tty1 separately?
bekks 2017-03-09 08:01:27
brimestone: you need to mount it for answering that question.
brimestone 2017-03-09 08:01:28
nacc: that one works.
scarybaby 2017-03-09 08:01:29
I checked the error log, but it did not have any errors other than me restarting the apache server
ducasse 2017-03-09 08:01:36
!spam | aesthetik
ubottu 2017-03-09 08:01:36
aesthetik: Please don't spam
nacc 2017-03-09 08:01:44
arooni: sure, there are lots of ways
nacc 2017-03-09 08:01:54
arooni: you can run `login` manually too
brimestone 2017-03-09 08:02:01
its already mounted "/dev/sdb1 2.0T 2.8G 1.9T 1% /media/array"
ducasse 2017-03-09 08:02:29
satmandu: why does udev trigger it more than once?
nacc 2017-03-09 08:02:35
brimestone: but curl still fails? how areyou invoking curl?
bekks 2017-03-09 08:02:48
brimestone: which filesystem is it?
satmandu 2017-03-09 08:03:04
ducasse: I turn a TV on that's connected through HDMI, and udev goes crazy for a bit.
satmandu 2017-03-09 08:03:30
same message repeated over and over again.
brimestone 2017-03-09 08:04:03
still gives 403 Forbidden
brimestone 2017-03-09 08:04:03
bekks: ext4
nacc 2017-03-09 08:04:03
brimestone: and how are you invoking curl?
arooni 2017-03-09 08:04:03
nacc: what do y0ou mean login maually
nacc 2017-03-09 08:04:03
arooni: `login` is a program
bekks 2017-03-09 08:04:03
brimestone: 403 forbidden is a SERVER error. The webserver you are downloading FROM is telling you that you arent allowed to do so.
bekks 2017-03-09 08:04:07
brimestone: Its not a filesystem issue on your side.
ducasse 2017-03-09 08:04:25
satmandu: i'd look at that first, pretty sure i've read about fixing that before
brimestone 2017-03-09 08:05:11
im invoking curl from command line..
nacc 2017-03-09 08:05:12
bekks: yes, we were narrowing it down; it's the server on the system
brimestone 2017-03-09 08:05:14
as "administrator"
nacc 2017-03-09 08:05:19
brimestone: jsut pastebin the command!
nacc 2017-03-09 08:05:35
brimestone: i don't need the verbal description ;)
bekks 2017-03-09 08:05:38
nacc: And the DocumentRoot is on /media/array?
Guest9646 2017-03-09 08:05:39
i have to edit a package in a pre-build metapackage ?
nacc 2017-03-09 08:05:44
bekks: yeah
brimestone 2017-03-09 08:05:45
this is what comes out of php /media/array/test.php. http://pastebin.com/EuMV18SW
Guest9646 2017-03-09 08:05:45
is it possible
nacc 2017-03-09 08:06:02
brimestone: right, that's fine
nacc 2017-03-09 08:06:23
brimestone: just pastebin the curl command, please
nacc 2017-03-09 08:06:23
Guest9646: i don't even know what you mean? you don't edit packages
brimestone 2017-03-09 08:06:24
http://pastebin.com/VDNkSSEQ
bekks 2017-03-09 08:07:32
Whats the file permissions of the file to be downloaded by curl?
nacc 2017-03-09 08:07:42
brimestone: try it with the ip not localhost
nacc 2017-03-09 08:09:14
bekks: it's o+r?
brimestone 2017-03-09 08:09:39
what should i change the permission to bekks?
Aurorasaura 2017-03-09 08:09:50
Hi I have Ubuntu server no GUI and I am looking for a way to use my gigabit NIC. Is there a way to change the speed and duplex setting?
satmandu 2017-03-09 08:09:54
CEC would help... except that the CEC device is being controlled by kodi... so I can't just use it to see if the TV is on. :(
k1l_ 2017-03-09 08:09:54
the webserver needs to be allowed to enter the /-folder of the mountpoint
nacc 2017-03-09 08:10:11
k1l_: http://pastebin.com/g7Em0qyn
brimestone 2017-03-09 08:10:12
or should i just chang the owner of the documentroot (recursively)
nacc 2017-03-09 08:10:17
k1l_: was what they pasted before
satmandu 2017-03-09 08:10:23
So i'm really just looking for a good way to see if a script has been run in say the last 30 seconds, and then exit without doing stuff if it has.
nacc 2017-03-09 08:10:24
k1l_: it seems like it should be ok
satmandu 2017-03-09 08:10:33
a time dependent lockfile, in essence.
k1l_ 2017-03-09 08:10:35
was the webserver restarted?
nacc 2017-03-09 08:10:50
k1l_: i believe they restarted their whole machine now
Guest9646 2017-03-09 08:10:56
nacc; http://pastebin.com/Y49RiD1r; this is my .change file ; it install ssh-server and gedit editor ; i want to change such that it will install ssh-server and sublime ediot .
k1l_ 2017-03-09 08:11:12
does it need +x to run php files?
nacc 2017-03-09 08:11:34
k1l_: i don't believe so, because they are run through the php interpreter
nacc 2017-03-09 08:12:01
brimestone: just to be sure, you did have
nacc 2017-03-09 08:12:49
Guest9646: you change the source package and build a new version
alkisg 2017-03-09 08:17:42
satmandu: how about https://www.freedesktop.org/software/systemd/man/systemd-system.conf.html => DefaultStartLimitIntervalSec=, DefaultStartLimitBurst=¶Configure the default unit start rate limiting... maybe you can also ask in #systemd
liqoert 2017-03-09 08:18:06
how do I change my default movie player to mpv from videos instead ?
djdks 2017-03-09 08:21:42
Guest9646: metapackages are empty, there is just a control file there; change the dependencies as you see fit
brimestone 2017-03-09 08:21:57
i may have removed it when i remove/purge apache2
nacc 2017-03-09 08:22:05
brimestone: yes, that'd be true
nacc 2017-03-09 08:22:10
brimestone: you'll need to install it again
brimestone 2017-03-09 08:22:30
doing that now
nacc 2017-03-09 08:22:59
djdks: that is true, for the *source* package. Guest9646 would still need to build the metapackage
Guest9646 2017-03-09 08:23:01
djdks, http://pastebin.com/Aa2ZP9Me; what are the depends here ; this is the control file inside debian of that metapackage folder
nacc 2017-03-09 08:23:52
Guest9646: where did you get that source package from?
Guest9646 2017-03-09 08:25:27
nacc, https://github.com/fossasia/meilix
nacc 2017-03-09 08:26:03
Guest9646: so maybe ask them for support
nacc 2017-03-09 08:27:31
Guest9646: that's not ubuntu
Guest9646 2017-03-09 08:29:15
nacc, sure thanks for suppotr
Guest9646 2017-03-09 08:29:15
support
brimestone 2017-03-09 08:29:15
what would cause the symlink to work and not directly to the path of the mounted volume
brimestone 2017-03-09 08:29:15
im reinstall this shit.. its on a bad start already
scarybaby 2017-03-09 08:29:15
OK, i took the channel's advice and tried the install via the ubuntu official method listed in this guide: https://help.ubuntu.com/community/ApacheMySQLPHP
dn1987p 2017-03-09 08:29:15
open basedir maybe?
scarybaby 2017-03-09 08:29:15
i ran apt-get install lamp-server^
scarybaby 2017-03-09 08:29:15
but when i tried to test php, it still failed
scarybaby 2017-03-09 08:29:15
i checked the logs and saw this
scarybaby 2017-03-09 08:29:15
[Thu Mar 09 14:23:44.622077 2017] [mpm_prefork:notice] [pid 29366] AH00169: caught SIGTERM, shutting down [Thu Mar 09 14:23:45.665245 2017] [mpm_prefork:notice] [pid 29450] AH00163: Apache/2.4.18 (Ubuntu) configured -- resuming normal operations [Thu Mar 09 14:23:45.665312 2017] [core:notice] [pid 29450] AH00094: Command line: '/usr/sbin/apache2'
k1l_ 2017-03-09 08:31:26
liqoert: this channel doesnt allow colors or bold
Guest9646 2017-03-09 08:31:37
djdks, the depends of that file is like this Depends: ${shlibs:Depends}, ${misc:Depends} ; i am unable to understand that how to change this
k1l_ 2017-03-09 08:31:54
scarybaby: install libapache2-mod-php and then a2enmod php
k1l_ 2017-03-09 08:32:02
scarybaby: then restart apache
djdks 2017-03-09 08:32:17
Guest9646: you can remove those and put the names of your dependent packages
scarybaby 2017-03-09 08:32:29
k1l_ i believe so, i installed the full LAMP package
scarybaby 2017-03-09 08:32:36
but i'm going to run it real quick just incase
scarybaby 2017-03-09 08:33:45
when I ran install libapache2-mod-php, apt showed that the module was already installed
OnceMe 2017-03-09 08:33:53
This requires installing packages from unauthenticated sources
OnceMe 2017-03-09 08:33:56
how can I fix this?
scarybaby 2017-03-09 08:34:02
when i ran a2enmod php, i recieved an error saying the module was not found
OnceMe 2017-03-09 08:34:14
I have disabled some ppa's in the repo list, however there are google opera mysql repos which I like to keep
OnceMe 2017-03-09 08:34:17
so what is the workaround?
Guest9646 2017-03-09 08:34:20
djdks, ok but i dont want to remove any old package that it include and my aim is to replace a package contain in it ; for example, if it install gedit editor , i want to replace it with sublime .
k1l_ 2017-03-09 08:34:30
scarybaby: try a2enmod php7
scarybaby 2017-03-09 08:34:39
shows enabled
scarybaby 2017-03-09 08:34:46
(I had the same idea)
k1l_ 2017-03-09 08:34:51
scarybaby: restart apache
djdks 2017-03-09 08:35:09
Guest9646: add "Conflicts:" line with packages you want deleted
dn1987p 2017-03-09 08:35:22
what does "whereis php" say?
OnceMe 2017-03-09 08:35:24
what to do
scarybaby 2017-03-09 08:36:54
k1l_ restarted and it still failed
scarybaby 2017-03-09 08:37:10
my test.php page will not display
k1l_ 2017-03-09 08:37:10
scarybaby: whats the error you get?
scarybaby 2017-03-09 08:37:10
no error at all. blank page
Guest9646 2017-03-09 08:37:10
djdks, thnks a lot ; let me try
dn1987p 2017-03-09 08:37:10
scarybaby, what does the error.log say?
dn1987p 2017-03-09 08:37:33
scarybaby, maybe you can try to enable php error output in browser.
k1l_ 2017-03-09 08:37:33
scarybaby: libapache2-mod-php7.0 package was installed, right?
scarybaby 2017-03-09 08:37:58
i'll try enabling the error output. here's the log: http://paste.ubuntu.com/24147601/
scarybaby 2017-03-09 08:38:10
i definitely have libapache2-mod-php7.0 installed
scarybaby 2017-03-09 08:38:17
i installed lamp-server^
wook_ 2017-03-09 08:38:21
hi i'm having quite a problem with my ubuntu studio 14.04 installation, i keep getting things appearing on my desktop that makes it difficult to work, and it's only solved by switching to a different desktop and then switching back. usually it happens maybe once in a while, every few days but lately it's been happening constantly and pissing me off constantly. my laptop is a dell latitude e6410 and running 64 bit ubuntu studio 14.04 and it's happened 2x
wook_ 2017-03-09 08:38:21
just since trying to write this message. HELP!
k1l_ 2017-03-09 08:39:03
scarybaby: what are the file permissions of that php file?
scarybaby 2017-03-09 08:40:08
let me see
scarybaby 2017-03-09 08:40:37
-rw-r--r--
tomreyn 2017-03-09 08:41:58
wook_: what kind of things appear there randomly? maybe take a photo with your smartphone (if any) and upload it to some image hosting site.
wook_ 2017-03-09 08:42:18
next time it happens i'll take a screenshot
k1l_ 2017-03-09 08:42:19
scarybaby: and you are sure that php file should work?
scarybaby 2017-03-09 08:42:29
its the most basic php file
k1l_ 2017-03-09 08:42:33
scarybaby: i mean like not having php5 code in there
scarybaby 2017-03-09 08:42:39
tomreyn 2017-03-09 08:42:52
wook_: if those are random graphical artefacts, try this: bios update, switch to open source drivers (or to proprietary ones, depending on which ones you use now), use a non-realtime kernel, upgrade to 16.04
pavlos 2017-03-09 08:42:52
you need
scarybaby 2017-03-09 08:43:01
the only non standard thing here is that the webserver is a VM
pavlos 2017-03-09 08:43:03
in the begin
dn1987p 2017-03-09 08:43:04
scarybaby, :)
scarybaby 2017-03-09 08:43:13
uh oh
scarybaby 2017-03-09 08:43:14
lol
scarybaby 2017-03-09 08:43:18
did i make an obvious mistake
scarybaby 2017-03-09 08:43:20
?
dn1987p 2017-03-09 08:43:39
try what pavlos said, with
wook_ 2017-03-09 08:45:01
if i simply upgrade to 16.04 on my current install will everything stay the same, like saving all my open tabs on firefox and so on?