General :: Cannot Open Network Interfaces - Permission Denied
Dec 11, 2010I can't open etc/network/interfaces file comes some permission denied. What can I do?
View 2 RepliesI can't open etc/network/interfaces file comes some permission denied. What can I do?
View 2 RepliesUnable to open pty: Permission denied while trying to login to vps node.
View 2 Replies View RelatedI am having problems gaining access to the BackupPC admin web page. The error:
Quote:
[Tue Feb 22 16:43:59 2011] [error] [client 192.168.0.2] (13)Permission denied: Could not open password file: /etc/BackupPC/htpasswd [Tue Feb 22 16:43:59 2011] [error] [client 82.30.227.113] access to /backuppc failed, reason: verification of user id 'myhtaccessuser' not configured
Why is this occuring, is there anyway of getting around this? I just cant remember originally on my old system how I set this up.
I can not write to any directories mounted.I have included the below info as my issue outgrew nmy original thread here:
debian:~# ls -l /mnt/net/flac/
total 0
drwxr-xr-x+ 16 999 root 0 2010-03-20 10:19 gd_1976_project_7
[code]....
I'm getting error from KVM when i try to create new machine. I have install group Virtualization. From gui virtual-manager (after being asked for root passwd) tried to create new machine. When pressed on 'Finish' got this 'Permission denied' error:
Code:
Unable to complete install '<class 'libvirt.libvirtError'> internal error Process exited while reading console log output: char device redirected to /dev/pts/3
qemu: could not open disk image /sonik_data/software_archive/CentOS-5.5-x86_64-netinstall.iso: Permission denied
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/create.py", line 1567, in do_install
dom = guest.start_install(False, meter = meter)
File "/usr/lib/python2.7/site-packages/virtinst/Guest.py", line 1023, in start_install
return self._do_install(consolecb, meter, removeOld, wait)
File "/usr/lib/python2.7/site-packages/virtinst/Guest.py", line 1088, in _do_install "install")
File "/usr/lib/python2.7/site-packages/virtinst/Guest.py", line 1059, in _create_guest
dom = self.conn.createLinux(start_xml, 0)
File "/usr/lib64/python2.7/site-packages/libvirt.py", line 1277, in createLinux
if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self)
libvirtError: internal error Process exited while reading console log output: char device redirected to /dev/pts/3
qemu: could not open disk image /sonik_data/software_archive/CentOS-5.5-x86_64-netinstall.iso: Permission denied
It's running as a root, what permissions we are talking about here? I'm running F14, kernel 2.6.35.10-72.fc14.x86_64, libvirtd 0.8.3
When, from the live cd I try to execute
Code:
e2fsck -y /dev/sda1
All i get is:[code].......
After install TexLive, sudo stop working. If I run sudo:
Quote:
sudo: can't open /etc/sudoers: Permission denied
sudo: no valid sudoers sources found, quitting
Edit: Hal and dbus is not working either, if i startx I don't have network manager or automatic mount of pen and disks.
I installed wvdial on my Satellite Toshiba laptop. All works well but I have to use the <wvdial> command as root. If I try to use it as a user i get an error message Cannot open /dev/ttyACM0: Permission denied So Im just wondering; is it ok to use wvdial as root?
View 2 Replies View RelatedI cannot get access to my external hard disk. It says as in the "SUBJECT" above. What should I do? I installed Debian XFCE testing.
View 5 Replies View RelatedHello,
this error spams about 100 times, then the scanner does indeed work. So I'm not completely broken, but the error messages are of concern, and it slows down the process of scanning for the time it takes to do the messages.
Error in console:
libusb couldn't open USB device /dev/bus/usb/001/001: Permission denied. libusb requires write access to USB device nodes.
my sript runs:
scanimage
--device $MODEL
--resolution=$RESOLUTION
-x 5104 -y 6840
my groups:
uid=1000(fogie) gid=100(users) groups=100(users),7(lp),11(floppy),12(mail),15(man),17(audio),18(video),19(cdrom),20(games),21(sloca te),83(plugdev),84(power),86(netdev),93(scanner)
Even a simple:
scanimage -Lv
in console gives this on a separate --current pc as well.
when I try to su, with the right password I know it is because I have reset it with a sudo, it says su: incorrect password. Looking at /var/log/messages I see su: Unable to open admin password file: Permission denied. This must mean that the file has incorrect permissions and or owner/group. I am wondering if anyone knew where the file was located and the correct permissions/owner/group.
View 3 Replies View RelatedI just isntalled LAMP using tasksel and have a problem. Whenever I try to access a page (aside from phpmyadmin, that works well), I get this error... Code: Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0 Fatal error: Unknown: Failed opening required '/var/www/index.php' (include_path='.:/usr/share/php:/usr/share/pear') in Unknown on line 0
I have restarted the computer, restarted apache, etc and still nothing. When I first installed, phpmyadmin was inaccessible, so I ran some command in terminal which apparently created a symlink between phpmyadmin in the user/share dir to the /var/www dir, and curious if this is the problem. I have no clue how to remove this symlink if this is the case, and have phpmyadmin working now due to install using sudo apt-get install phpmyadmin.
I was able to get the a2ensite command to enable a virtual site because it says "Site xxxxx.com already enabled" when I run the command. My problem now is that even though a site is enabled it says this: Code: /etc/init.d/apache2 restart * Restarting web server apache2
[Tue Apr 20 01:28:57 2010] [warn] NameVirtualHost *:80 has no VirtualHosts
[Tue Apr 20 01:28:57 2010] [warn] NameVirtualHost *:80 has no VirtualHosts
[Tue Apr 20 01:28:57 2010] [warn] NameVirtualHost *:80 has no VirtualHosts
[Tue Apr 20 01:28:57 2010] [warn] NameVirtualHost *:80 has no VirtualHosts
(13)Permission denied: make_sock: could not bind to address 0.0.0.0:80 no listening sockets available, shutting down Unable to open logs Should I do a chown or chmod to a file?
i have client and server PCs, both with openSuse 11.2.
on the server side, i have mounted HD partition to /vmshare dir. relevant line in /etc/fstab reads:
Code:
/dev/disk/by-id/ata-WDC_WD3200AAJS-07B4A0_WD-WCAT16493946-part2 /vmshare reiserfs user,acl 1 2
i want to export /vmshare dir via nfs. i have configured it through yast and resulting line in /etc/exports reads:
Code:
/vmshare *(rw,root_squash,sync,no_subtree_check,crossmnt)
the permissions for this directory is drwxrwxr-x root vmshare.
i can successfully mount the exported dir on client side, i can move between directories and list contents, but i can't write into it (not even as a root). on the server side, i can write to the directory only as root. the vmshare group is created on both machines with same gid as well as all users have same uids. firewalls are down.y.
Running newaliasespostalias: fatal: open database /etc/aliases.db: Permission deniedin my /etc I do not have a aliases.db only an aliases.I cp aliases aliases.db but when I try and install post fix again it gives me the same error and aliases.db goes away.
View 9 Replies View RelatedAs root I get the following result: ngssuse:~ # traceroute -nI 10.200.123.45
Note: the -i and -I options were exchangedfor compability with LBL traceroute Use -I for ICMP, and -i <ifname> to specify the interface name unable to create ICMP send socket: Permission denied. Is this a bug?
I did some reading on Openvpn and am following some instructions I found @ Install & Configure OpenVPN SSL VPN in SUSE & openSUSE Linux | SUSE & openSUSE
I keep getting the same error message when I run the . ./vars command
"NOTE: If you run ./clean-all, I will be doing a rm -rf on /etc/openvpn/easy-rsa/2.0/keys"
But when I run ../vars I get
"Bash: ../vars: Permission denied"
I have an Acer EasyStore NAS which I can access fine in Nautilus, but a server which I have been trying to mount via command line refuses to even let me view the contents of the folder. The mount command appears to work, a password is requested when connecting to the shared folder.
sudo mount -t cifs --verbose -o user=jason //nas/media /mnt/nas
mount.cifs kernel mount options: unc=//nasmedia,ver=1,rw,user=jason,ip=192.168.0.250,pas s=********
But I cannot even view the folder contents, as even a simple ls returns:
ls: cannot open directory /mnt/nas: Permission Denied
Even on my laptop which is able to access all the shared folders under Nautilus I am unable to mount shares from the command line.
I have a problem setting up a TUN interface for OpenVPN. Running OpenVPN gives me this error: "Note: Cannot open TUN/TAP dev /dev/net/tun: Permission denied (errno=13)"
Which i tracked down to: "WARNING: Couldn't open directory /lib/modules/2.6.18-164.15.1.el5.028stab068.9: No such file or directory" (if i run /sbin/modproble tun). Does anyone know how to fix this?
create a VM here with virsh. I've managed to create the XML file and got it to work properly, however running it is the problem. These are the errors I get error: Failed to start domain Cent-OS, internal error process exited while connecting to monitor: open /dev/kvm: No such file or directory ,Could not initialize KVM, will disable KVM support qemu: could not open disk image /media/55D123D9E79ABF54/VM/Cent-OS-5.5.img: Permission denied
I've tried setting SElinux to permissive mode.
Fedora 14 X64
hypervisor qemu
XML:
[code]...
I have tried several things to attempt to fix my sudoers file however it is still coming up with errors. The error says
[code]...
the sudoers configuration file is set to the default as I have ran a dpkg on it, have also uninstalled and reinstalled it, and went over the configuration file ensuring it looked like the defaults I had seen online.
I installed dhcpd using:
Code:
Now when I try to run it, I get this weird error:
Code:
The error was:
I changed permissions to 777:
Code:
To no avail!
It's got something to do with AppArmor.
I don't think it is installed on this system:
Code:
I tried posting this before and I'm not sure what happened but I don't think it worked, so if it did please forgive the double post.am very very new to centOS and linux in general. I just want to setup a test web server that more closely mirrors our actual web server that is hosted by rackspace. I've installed centOS and tried to setup Apache, PHP and MySQL from a guide on the web using Yum. When I go to localhost in the web browser I'm able to see the default apache page. However when I create a php page it's just blank.When I look at the apache error logs I get this: PHP Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0
I've been searching alot on the internet and I know the issue is permission related, but I don't know how to fix it. I've seen some forum posts that say you need to use the chmod 775 command on the /var/www/html folder.Currently when I do ls -l /var/www/html it returns
-rw------- 1 root root 19 May 5 13:16 index.php
-rw------- 1 root root 19 May 5 13:15 index.php~
I'm sure that this isn't correct but like I said I don't know much about how to set permissions or who the owner needs to be. I've done alot of searching and seen similar posts, but no one seems to explain it clearly.
On a fresh installed Lucide machine, I cannot open external hyper links (url) from within evince. I get the following error message:
Unable to open external link
Failed to execute child process "nautilus" (Permission denied)
The root user of Linux doesn't have permission to read/write a regular file, unless all users have permission to read/write this file, like below:
drwxrwsrwx ....... file_name
However the owner of the file can still read/write this file.
AND:
0) not the problem of execution, just read/write
1) not the problem of device because regular user can read/write it.
2) the result of command id:
uid=0(root) gid=0(root) groups=0(root)
so I don't think it's the problem of group.
I'm hoping someone can help me out with this issue I'm having using acl(s). I have a user I want to grant access to logs I have stored on my server. I am doing this by setting up an acl to that directory where the logs are stored. My settings seem to look fine, however I cannot read or even reach the directory with the said user; we'll call him "userP".
Here is my code:
To ensure userP has access to the parent directory (jboss) code...
Not sure what I'm doing wrong here: there are no errors in the logs; just "Permission denied" however I try to get to the directory.
Does anyone know what I'm doing wrong?
On the current machine:> su - username (it works)> ssh username@localhost (doesn't work)
What could be the problem?
Since lucid was installed, I can no longer access my floppy drive. I try creating an image on it and this happens:
$ dd if=a.img of=/dev/fd0
$ dd: opening `/dev/fd0': Permission denied
How do I get permission to do this? I'm the only user and am an administrator.
I am installing Oracle 11g on Oracle Enterprise Linux 5.0 32 bit (virtual machine)i did all the mandatory steps, i am trying to run the installer but i am facing the below:bash: ./runInstaller: /bin/sh: bad interpreter: Permission deniedknowing that the run isntaller is found in an iso file, in which i linked the VMwarre CD/DVD drive to it
View 4 Replies View Relatedi am trying to make my SSH-server more secure on my unbuntu server. And i want to do a little modifiing to the /etc/ssh/sshd_config folder. When i try to accsess it is says permission denied if i do sudo /etc/ssh/sshd_config it says command not found.
View 3 Replies View Related