ibanja | I 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 |
---|---|---|
ibanja | The 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 |
ibanja | the 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/bash | 00:28 |
ibanja | echo hello | 00:28 |
ibanja | any ideas? | 00:29 |
rrq | ibanja: man 5 crontab : ... "Percent-signs (%) in the command, | 01:14 |
rrq | unless escaped with backslash" | 01:14 |
rrq | ... | 01:14 |
ibanja | rrq: 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 |
ibanja | now working | 01:21 |
ibanja | also I had to change $HOSTNAME to $(/bin/hostname) | 01:30 |
Tom-_ | yeah i'm not sure why you figured $HOSTNAME would be set | 01:57 |
Human_G33k | Hello, i need some advice, i need to repair an install. i have several segfault with php. I think i need to clean libs | 14:11 |
nemo | Human_G33k: I guess search for all your php libs and force-reinstall? but really something like a stacktrace could do wonders | 14:37 |
DevuanFan | I love Devuan | 16:25 |
jyri | Human_G33k: it would help if you could tell which version of Devuan and PHP you have installed + the strace | 18:00 |
maxrazer | I 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 |
premoboss | maxrazer, wireles or wired connection? | 21:40 |
maxrazer | premoboss, Wired. | 21:43 |
maxrazer | premoboss, Wired. | 22:01 |
furrymcgee | with "ip link" command you should see your network device | 22:01 |
maxrazer | I saw my eth0 and other devices. I also tried the xfce connect to network button, but it just kept trying. | 22:02 |
furrymcgee | you can try "sudo service networking restart" or configure as described in man interfaces | 22:13 |
maxrazer | Ok, 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 |
gnarface | maxrazer: which ethernet driver, out of curiosity? | 23:28 |
maxrazer | This? Ethernet controller: Intel Corporation Ethernet Connection (2) I219-V | 23:31 |
maxrazer | To upgrade I comment out the jesse-security and jesse-updates sections and leave the first one and change it to ceres? | 23:33 |
gnarface | in theory | 23:34 |
maxrazer | I'm going to reboot. | 23:35 |
maxrazer | I just rebooted and it put me in the grub prompt. | 23:46 |
maxrazer | I think the bootloader is broken or Devuan is messed up. I was able to get into windows by exiting grub somehow. | 23:47 |
gnarface | maxrazer: in linux, can you check this command: lsmod |grep e10 | 23:51 |
gnarface | i want to verify what module that ethernet driver is using | 23:51 |
gnarface | your bootloader could be broken too but that's a separate issue | 23:52 |
maxrazer | I'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 |
gnarface | in theory that's fixable from a live image | 23:59 |
maxrazer | I 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/!