CentOS 5 :: NFS "Connection Refused" And "Permission Denied"
Jun 30, 2011
I'm trying to connect to my NFS server(192.168.2.183, running on Centos 5) and get these errors
On client (OSX 10.6):
$ sudo mount -t nfs 192.168.2.183:/testmount /Users/Shared
Cannot MNT RPC: RPC: Remote system error - Connection refused
Cannot MNT RPC: RPC: Remote system error - Connection refused
[code]...
both of the server and client are on the same network (192.168.2.0)
View 1 Replies
ADVERTISEMENT
Jan 2, 2009
I'm trying to run a backup using CPIO to an LTO2 tape in an HP Ultrium 460 drive using the following:find / -path /proc -prune -o -print | cpio -o -H crc --block-size=128 > /dev/st0Each time I get the error:-bash: /dev/st0: Permission deniedThis is regardless of whether I sudo the two sides of the command or not. I have used dd if=/dev/st0 of=/tmp/test.file ibs=128k count=1 to verify the blocksize (and since I was a little confused about block-size in cpio I also tried --block-size=256)
View 5 Replies
View Related
Feb 3, 2010
I'm trying to setup a network boot server and I'm having an issue with tftp. In the /etc/xinetd.d/tftp file, I added the "-v" (verbose) option to the server arg line so that i could figure out what was happening. When i looked at the /var/log/messages log file, it let me know that permission was denied to /tftpboot/nbi_img.
So, in short, my problem is that tftp isn't working because it doesn't have permission to /tftpboot/nbi_img. I can't figure out why. I stumbled upon a site where the user figured out a temporary fix to this issue and what he did was disabled the xinetd service and typed the following command:/usr/sbin/in.tftpd -l -v -v -s /tftpboot/nbi_imgWhen I do this as well, it works! but only until I restart and then I have to do that again. Is there a way to be able to fix that for good?
View 3 Replies
View Related
Apr 21, 2011
i have a big question about nfsv4, 2 mahine , 1 client 1 serverclient mount -t nfs4 nfs:/ /mnt/nfscd /mnt/nfs/1touch: cannot touch `123': Permission deniedmount -lnfs:/ on /mnt/nfs type nfs4rw,addr=192.168.1.5)this is my configclient & servervi /etc/hosts192.168.1.5 nfs nfs.test.com192.168.1.6 node1 node1.test.com
View 6 Replies
View Related
Jun 2, 2009
I followed instructions from here: [url]
Everything seems to be ok but if I try to login it says following:
I have tried with numerous clients and accounts but still nothing, I cant get past the login. What may be wrong?
Here is the log from account creation, could the last line be causing the problems?
I had some hassle with the last two iptables lines but once I took away RH-Firewall-1 from those lines iptables gave no error anymore.
I changed this: -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 21 -j ACCEPT
To this: -A INPUT -m state --state NEW -m tcp -p tcp --dport 21 -j ACCEPT
View 4 Replies
View Related
Aug 7, 2011
I have my DNS configure in 2 zones. 1 internal, and the other external. DNS is chrooted under /var/named/chroot amd has been operating without any problems for well over 2 years now. I have recently run cross the problem shown in the subject line. When I try to freeze the internal dehnert.com zone with the following command...rndc freeze dehnert.com IN internal
I get the error...
I have been running the command as root, and with iptables turned off, so there is no firewall to restricting access. (the system sits behind a firewall) I have been searching the forums all over, but I havent run across what might be causing me to have root denied access. If anyone has seen any problem like this, please point me in the right direction so I can iron this out.
My named.conf is as follows...
View 1 Replies
View Related
Jun 7, 2011
Since last Friday I get the following error when trying to upgrade packages with yum: [URL]: [Errno 4] IOError: <urlopen error (111, 'Connection refused')> Trying other mirror." The content of dag.repo:
[Code]..
View 2 Replies
View Related
Jun 13, 2009
I am trying to wade through the semanage jungle to get permissions for a tftp client. I followed the HowTos [URL] but I get the following at the client:
tftp> status
Connected to 192.168.1.101.
Mode: netascii Verbose: off Tracing: off
Rexmt-interval: 5 seconds, Max-timeout: 25 seconds
tftp> get hello.o4
tftp: hello.o4: Permission denied
I finally figured out that the firewall directives shown at the end of the HowTo refer to semanage although the options are stated incorrectly according to the man page for semanage. I did insure that the file hello.o4 in /tftpboot has read permission for everybody.
View 1 Replies
View Related
Aug 6, 2009
I'm using crontab for user ABC in a month and have no problem.. But today i want to add new schedule user ABC with crontab.. i found this error
/tmp/crontab.XXXXDYxb6a: Permission denied
so i check with crontab -l command, it can show my schedule.. If I use root, crontab -e and crontab -l work properly..
Note: ls -al /tmp
drwxr-xrwx 8 root root 4096 Aug 6 09:30 .
drwxr-xr-x 24 root root 4096 Jul 19 17:10 ..
drwxrwxrwt 2 root root 4096 Jul 19 17:20 .font-unix
View 1 Replies
View Related
Aug 11, 2009
I want to install Codendi softwr to my Centos 5.3.But can not execute the installation script gives an error permission denied./etc/fstab file does not contain a path that holds my CDROM drive.
View 2 Replies
View Related
Jun 10, 2010
I have 3rd party software that I need to install. It is called VNMRJ. It is packed as one .tar. I extracted the .tar to the desktop (under root) and want to start the installation. However, during the installation process, all .tar files included the the package (sub directories) can't be extracted by the installation routine. For every .tar I get the error
tar: /root/Desktop/vnmrj21b_inova_01106/code/common/com.tar: Cannot open: Permission denied
Installation of VNMR failed
tar: Error is not recoverable: exiting now
DONE: 112 KB
View 5 Replies
View Related
Sep 12, 2010
I have become convinced that rsync for CentOS 5 is broken. I'm trying to set up automatic backups between 2 servers in 2 different countries using rsync under CentOS 5.I can get manual backups to work between the 2 servers by doing two things I shouldn't need to do, but automatic backups fail and I see no solution.Here are the problems I am encountering: According to the instructions I've read everywhere, I am to set up two configuration files:
/etc/rsyncd.conf
/etc/rsyncd.secrets
When I run rsync from root, it apparently just totally ignores these two files. No custom greeting, no log, no password used.
Even when I specify --password-file=/etc/rsyncd.secrets in the command line, it still ignores it. I am prompted and I must enter the password manually. Let me back up a moment. After first installing rsync, when I ran any command to access the root server, I get this error:
ssh: connect to host 111.222.33.44 port 22: Connection refused
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: unexplained error (code 255) at io.c(463) [sender=2.6.8]
I read everywhere that rsync uses port 873, not port 22 which is used for SSH. Why is rsync on CentOS trying to use port 22?I have SSH switched from port 22 to another port (let's call it 5432 here) and block port 22.So, I have added this to the command line:
--rsh='ssh -p5432'
Then I get a connection ...
... but it prompts me for my password. It doesn't matter that I have my username and password, same one, in /etc/rsyncd.secrets on both servers. It still asks.And it rejects my password!The only way I can get it to connect is by creating an SSH user on the remote server for this.Even then, rsync STILL prompts me for a password, even though:
1. the username and password are specified in the /etc/rsyncd.secrets files on both servers
2. I've added the command line parameter --password-file=/etc/rsyncd.secrets Therefore, it is totally impossible to use an any cron job or other automatic synchronization, under CentOS 5.
rsync -av --password-file=/etc/rsyncd.secrets --rsh='ssh -p5432' sourcefiles* rsyncusername@111.222.33.44:httpdocs/rsync
rsync -av --password-file=/etc/rsyncd.secrets --rsh='ssh -p5432' sourcefiles* 111.222.33.44:httpdocs/rsync
rsync -av --verbose --progress --stats --password-file=/etc/rsyncd.secrets --rsh='ssh -p5432' sourcefiles* rsyncusername@111.222.33.44:httpdocs/rsync
Yes, I have made sure that I have the latest rsync. I have run yum update for everything.Yes, I have double checked, triple checked, and quadruple checked my config files.
View 2 Replies
View Related
May 21, 2009
I have a cgi script that tries to get the IP address of a domain. the Domain is defined in Bind, yet it can not resolve it. I put the domain in the host file and it then gives a Error: unable to create socket - Permission denied
I figure I have to do some code changes to the script but here I would like an explaination as to the error I am getting.
View 1 Replies
View Related
Nov 5, 2009
I have tried to mount Sda on my laptop HP dv6 and I have got this problem [root@cpe-74-71-125-175 ~]# /dev/sda1 /mymount/win ntfs-3g rw,umask=0000,defaults 0 0 bash: /dev/sda1: Permission denied
View 3 Replies
View Related
Feb 25, 2011
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 Related
Feb 5, 2009
telnet localhost the output is...
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
telnet: Unable to connect to remote host: Connection refused
I don't understand what is the problem. Its not configured properly how do i configure it?
View 7 Replies
View Related
Feb 11, 2009
I'm trying to connect with my server via telnet, but when i sent the command (telnet xxx.xxx.xxx.xxx Port) doesn't works and shows then follow error: Unable to connect to remote host: Connection refused, It happens with any port. Is strange but my telnet services works (telnet xxx.xxx.xxx.xxx), In addition, i tried with firewall enabled and disabled and the problem still happens. My centOS run on virtualbox.
View 3 Replies
View Related
Apr 6, 2010
For some reason my mail server (Postfix) seems to have stopped delivering mail.
The error in the mail logs is "status=deferred (delivery temporarily suspended: connect to 127.0.0.1[127.0.0.1]: Connection refused) against all mails.
I have researched to try and find an answer, most information on this problem seems to point to a malfunction in the Anti Virus and Spam Filtering solution.
I have checked that Amavisd and Clamd are both operating and have restarted Postfix but all to no avail, squirrelmail is not working either.. ie not even producing a login page.
I have not changed anything in the config and am just wondering if anyone has experienced similar and could point me in the right direction of a solution.
View 5 Replies
View Related
May 5, 2010
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.
View 2 Replies
View Related
Aug 1, 2011
I have configured openssh 5.8p2 with centos 5.6. My sftp is working fine with chroot environment but i am having problem with SCP. I am dealing with muliti Redhat servers. When i try to transfer data from other linux server through scp it gives connection refused. For e.g ssh 5.8 is configured on new server and i want to transfer files from old server which is using openssh 4.3 version.i created same username and password on new server as on old server.My sftp users on new server has no shell access but only sftp access. When i try to scp from old server to new server it gives error connection refused. Is the below configuration only for sftp and can't scp? According to google the configurations i found are for scp and sftp. Do i need to generate ssh keys by giving users on new server shell access, once created then stop shell access again, as i dont want to give shell access permanent for security reasons? but i want to use ssh keys for more security as well.
Port 22
PermitRootLogin no
1.override default of no subsystems[code].....
View 5 Replies
View Related
Jul 4, 2010
I tried to finally set-up surround sound on my Ubuntu 10.04 machine and i was successful in doing so after a while of changing settings and tinkering. After doing so though, i was later in the day not able to get into the Pulseaudio Volume Control, therefore, everything is stuck where it is and i can't change anything. When i try to open Pulseaudio Volume Control i get the error message, Connection failed, Connection refused. My programs still play sound and i can control the sound of the programs through the programs, but i cant control the sound of the sorround sound now and my main sound bar only affects my stereo speakers, not the surround ones.
I believe this may have happened after the random disk check on restart, but i can't 100% confirm that and i'm not even sure if they are related. I still have sound, but i have no way to control the volume of my entire system at once. I did some looking around online and saw that others are having or had the same issue, and it was through different versions of Linux also. somehow reset everything so i can access PAVC and start over . I also tried steps listed in another thread here on the same topic, but they weren't working and it also seemed to be for older Ubuntu versions.
[Code]....
View 9 Replies
View Related
Apr 3, 2011
I'm trying to create a PAN (Personal Area Network) using a laptop (Siragon ML-1040) and my desktop computer, but I get the Connection Refused (111) error.
Blueman doesn't detect any network service between the two computers unless I start PAND on one of them and then it detects the NAP service. That, only after I enable the NAP/Workgroup services on the Services submenu in Blueman. However, it doesn't work neither with the NM plugins or without them (dhclient and that other one I can't remember the name of).
Any clues over here? I'm using pand 4.91 and blueman.
View 3 Replies
View Related
Apr 28, 2010
vsftpd not working on my CentOS system. I tried logging in using FileZilla but the error message was: Connection attempt failed with "ECONNREFUSED - Connection refused by server".
View 7 Replies
View Related
Jan 29, 2010
On our app server the logs from the Sybase Mobilink service get logged to /var/log because of that I did a chmod a+rx /var/log and all is well until.... the next day QA logs in goes to check the logs and gets:
Quote:
qa@dwdb [~]$ ls /var/log
ls: /var/log: Permission denied
qa@dwdb [~]$
View 18 Replies
View Related
Mar 1, 2011
I have a user (let's call him John) who is not able to list contents of several 777 directories even though it appears he has permission to.
Case in point, as root:
Code:
Code:
If I use ls -a or strictly ls as john, I can list the contents of the nss directory:
Code:
That says to me that I have an issue listing permissions. Fine, I don't really need john to be able to list permissions. I want him to have rwx access to /media/nss/ENG which as you can see from my listing as root shouldn't be a problem since the perms on that dir are 777.
I am able to CD into the ENG directory or any other directory or subdirectory in /media/nss that has equivalent 777 perms, but once in the directories I can't list the contents:
Code:
I can get anywhere and do anything I want under the media/nss folder as john, except listing files. I even tried using an ACL i.e.
Code:
Why this isn't working?
View 8 Replies
View Related
Apr 12, 2011
I am trying to give an SSH user on my server permission to compile C exploit with gcc, and I have had no luck. Every time i try to run gcc i get: "sh: /usr/bin/gcc: Permission denied. Has anyone else had this problem with this ?
View 2 Replies
View Related
Jul 17, 2009
I compiled a hello-world code under /media/ext3-datadisk/summary/prog
where ext3-datadisk is on an external drive.
But I cannot run it.
Quote:
I am not bashing CentOS 5.2, but I don't have such problem with ubuntu 8.04.
View 5 Replies
View Related
Mar 2, 2011
I am in the process of setting up a new server (Debian - Lenny - now updated to Squeeze) and every things were going fine. But unfortunately from today , whenever a user login to ftp, it says
550 permission denied and not able upload / edit or remove any files ( i am able to see all files and folders)
Yesterday it was working fine..
I tried using bot Pure Ftp and Proftp and the issue is common
What I am trying to do is
add a unix user exalmple through adduser command with default directory for the user as /var/www/example.com (shell enabled)
owner of example.com is example
and using the above user name and password to ftp files to the folder
View 1 Replies
View Related
Dec 11, 2015
I have setup my debian 8 web server.
For some reason I am having some issues with permissions of some images. They don't render because they are not set to 644. Now for some reason when I uploaded these files onto my shared hosting with cPanel the files work fine and permissions are fine. I can see there is a permission issue for the files locally on my Mac (OS X - El Capitan).
When I changes these locally on Mac the permissions go all weird and are prefixed with Custom, rather than mac-user-name: Read & Write, staff: Read, everyone: no access. then changes to custom: read & write etc. So then i tried changing permissions on web server see below and I get permission denied and after all the files are gone, i can't delete the images folder through SFTP or SSH. I changed back the image to 755 and tried deleting and still nothing. Not sure what the problem is. Before I chmod I checked that the images are set to the correct user and group as per the rest of the site.
So I try:
Code: Select alluser_name@debian:/var/www/html/_files$ chmod -R 644 images
and I get this return:
Code: Select allchmod: cannot access ‘images/box-icon.svg’: Permission denied
chmod: cannot access ‘images/ie-icon.svg’: Permission denied
chmod: cannot access ‘images/google-plus-icon.svg’: Permission denied
chmod: cannot access ‘images/mobile-ready-icon.svg’: Permission denied
chmod: cannot access ‘images/404.jpg’: Permission denied
[Code] ....
View 3 Replies
View Related
Mar 23, 2011
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.
View 2 Replies
View Related