libera/#devuan/ Tuesday, 2018-11-13

ibanjaI have a cron job in a file in /etc/cron.d ... I keep getting the following error in my system mailbox: /bin/sh: 1: Syntax error: end of file unexpected (expecting ")")00:27
ibanjaThe cron file is a one-liner:00:27
ibanja*/2 * * * * root /usr/local/bin/dpkglog.sh > "/var/log/fpa/dpkglog/$(date +%Y-%m-%d_T%H%M%S)-$HOSTNAME-dpkg.log"00:27
ibanjathe script runs fine on the command line... Just to make sure it's not the script, I changed it to a two line bash script that says hello...00:28
ibanja#!/bin/bash00:28
ibanjaecho hello00:28
ibanjaany ideas?00:29
rrqibanja: man 5 crontab : ... "Percent-signs (%) in the command,01:14
rrq       unless escaped with backslash"01:14
rrq...01:14
ibanjarrq: Thanks... that did it... I escaped the '%'01:20
ibanja*/2 * * * * root /usr/local/bin/dpkglog.sh > "/var/log/fpa/dpkglog/$(date +\%Y-\%m-\%d_T\%H\%M\%S)-$HOSTNAME-dpkg.log"01:21
ibanjanow working01:21
ibanjaalso I had to change $HOSTNAME to $(/bin/hostname)01:30
Tom-_yeah i'm not sure why you figured $HOSTNAME would be set01:57
Human_G33kHello, i need some advice, i need to repair an install. i have several segfault with php. I think i need to clean libs14:11
nemoHuman_G33k: I guess search for all your php libs and force-reinstall? but really something like a stacktrace could do wonders14:37
DevuanFanI love Devuan16:25
jyriHuman_G33k: it would help if you could tell which version of Devuan and PHP you have installed + the strace18:00
maxrazerI just tried out Devuan for the first time. The network connection to the internet did not work. That is not a problem I have with a fresh install with Debian. I'm not sure what to do either. I tried some basics with ip show.21:36
premobossmaxrazer, wireles or wired connection?21:40
maxrazerpremoboss, Wired.21:43
maxrazerpremoboss, Wired.22:01
furrymcgeewith "ip link" command you should see your network device22:01
maxrazerI saw my eth0 and other devices. I also tried the xfce connect to network button, but it just kept trying.22:02
furrymcgeeyou can try "sudo service networking restart" or configure as described in man interfaces22:13
maxrazerOk, networking is working. For some reason I just had to reboot and now I can connect to the internet after a fresh Devuan install on the second boot, but not the first.23:03
gnarfacemaxrazer: which ethernet driver, out of curiosity?23:28
maxrazerThis? Ethernet controller: Intel Corporation Ethernet Connection (2) I219-V23:31
maxrazerTo upgrade I comment out the jesse-security and jesse-updates sections and leave the first one and change it to ceres?23:33
gnarfacein theory23:34
maxrazerI'm going to reboot.23:35
maxrazerI just rebooted and it put me in the grub prompt.23:46
maxrazerI think the bootloader is broken or Devuan is messed up. I was able to get into windows by exiting grub somehow.23:47
gnarfacemaxrazer: in linux, can you check this command: lsmod |grep e1023:51
gnarfacei want to verify what module that ethernet driver is using23:51
gnarfaceyour bootloader could be broken too but that's a separate issue23:52
maxrazerI'll try the command if I can get back in. I think I won't be able to load Devuan. I did sudo reboot and now grub seems broken.23:53
gnarfacein theory that's fixable from a live image23:59
maxrazerI read some people recommend that. I'm not sure I want to try to fix it. It shouldn't have happened though. Unless I messed it up by only changing part of the sources.list to ceres and not commenting out the rest. I don't know what else would have messed it up. But that is a bad sign that could happen.23:59

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!