You are not logged in.
Hello,
I have a new HDD. I have copied the system to the new disk.
Everything seems OK. Syslog does not start.
Starting Syslog-NG [BUSY] Error opening configuration file; filename='/etc/syslog-ng/syslog-ng.conf', error='Permission denied (13)'I have tried chmod 666,777 .
Reinstalling syslog-ng.
Formating and copying the system again
I`m confused.
Any idea what should be the problem.
Last edited by mezcal (2011-08-11 13:31:56)
Offline
Check the permissions on the directory it's in, also.
ls -ld /etc
ls -ld /etc/syslog-ng
ls -l /etc/syslog-ng/syslog-ng.confIt's worth checking the permissions on /tmp as well, since weird things happen if it's not right:
drwxrwxrwt 7 root root 200 Aug 10 17:08 /tmpOffline
thanks.
Permissions are same as on my working laptop.
[root@wsf ~]# ls -ld /etc
drwxr-xr-x 79 root root 4096 11. srp 06.42 /etc
[root@wsf ~]# ls -ld /etc/syslog-ng
drwxr-xr-x 3 root root 4096 10. srp 22.15 /etc/syslog-ng
[root@wsf ~]# ls -l /etc/syslog-ng/syslog-ng.conf
-rw-r--r-- 1 root root 3674 13. čec 05.01 /etc/syslog-ng/syslog-ng.conf
[root@wsf ~]# ls -ld /tmp
drwxrwxrwt 13 root root 4096 11. srp 06.52 /tmpOffline
Apache is not working too.
[Thu Aug 11 12:08:13 2011] [error] [client 127.0.0.1] (13)Permission denied: access to /info.php denied
[Thu Aug 11 12:08:13 2011] [error] [client 127.0.0.1] (13)Permission denied: access to /error/HTTP_FORBIDDEN.html.var deniedHas archlinux SELinux or something like this.?
Offline
I have created new partitions by fdisk and filesystem by mkfs.ext4. Then I copied the system. cp -a /mnt/old/* /mnt/new
It`s working now.
The only difference I had used GUI disk utility for formating and partitioning before.
Offline