Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
1 vote
1 answer
2k views

Mysql logrotation doesn't work

I'm having trouble making Mysql log rotation working. I don't know why this is so complicated , even though I followed documentation and internet advice, still cannot make it work. I have enabled all ...
AlexP's user avatar
  • 133
1 vote
1 answer
2k views

Ubuntu Laravel storage/logs/cron.log permission denied

I have Ubuntu 18.04, Laravel and PHP7.4. When I do for example command ls I have the list of folders and: user1@bpl:/var/www/html/storage$ ls app framework logs You have new mail in /var/mail/user1 ...
Robert's user avatar
  • 125
0 votes
0 answers
2k views

Multiple Processes getting stopped with error "Resource temporarily unavailable" and "can't fork" resulting in crash

We are running a script on Dell Edge gateway 3002 to send data to cloud, but after running for 4-5 days the gateway becomes unresponsive(hanged state) and can't be pinged. The gateway has Ubuntu 18....
Prototype's user avatar
  • 139
1 vote
0 answers
2k views

18.04 - Cronjob Not Working on Reboot

I have recently added the following commands to the crontab : @reboot macchanger -r eth0 @reboot macchanger -r wlan0 This worked perfectly and I used it this way for a couple weeks, then I added a ...
Robert Baker's user avatar
4 votes
6 answers
6k views

who is trying to brute-force my password?

I was looking into my log files on my server and I found the following lines in: /var/log/.auth.log.1: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruse r= rhost=...
yukashima huksay's user avatar
2 votes
2 answers
472 views

Get a list of all scripts and their paths which are run as cron job

I am looking for some scripts or a terminal command to list all the active scripts (preferably with their paths), which run on a periodic basis by cron, cron.daily and/or anacron. I am not looking for ...
ankit7540's user avatar
  • 4,195
10 votes
5 answers
46k views

How to add the logs to a crontab with time stamp

In crontab, I scheduled a daily backup script. Now when the cron executes the script the status are logged to a log file as shown below. 0 0 * * * /home/backup.sh > /home/groupz/db-backup/fbackup....
user3004356's user avatar