CentOS 5 :: Allowing TFTP File Creation?

Aug 4, 2010

Is there a trick to allowing a TFTP connection to create a file? I can successfully tftfp (from a cisco router) if I touch the file first, but otherwise, (/tftpboot has been chmoded to 777) I get [TFTP: error code 2 received - 20334]

View 7 Replies


ADVERTISEMENT

Server :: In.tftp Pxelinux.0_ Fails With TFTP Open Timeout

Mar 15, 2010

When I try to pxe boot a Sun X4100 (which actually has a RHEL OS on it right now) I get the message TFTP open timeout. All traffic is allowed for port 69 udp in both directions. I do get a dhcp address. I see that both on the server and the client it gets an IP. After that I get this message in the logs:

[Code]....

View 1 Replies View Related

CentOS 5 Server :: Tftp Permission Denied?

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

CentOS 5 :: Lower Security On Tftp So That Remote Host Can Do Gets

Jun 10, 2009

I was able to install and start tftp.I can tftp localhost and get a file, even from a non-administrator login.I can connect from a remote host, but the *get* times out.I suspect there is a security issue. Can you tell me how to lower the security on tftp so that a remote host can do gets?

View 4 Replies View Related

CentOS 5 :: Tftp-server Package Not Available In I386 Repo?

Sep 21, 2011

So I'm playing around w/ some Cisco equipment and needed a quick tftp server. Go to command line and type yum install tftp-server. I get No Package available! I can clearly see it here on the i386 repo. Any ideas?? In the meantime, I'm just going to upgrade this lil 600m laptop to CentOS 6 to quickly solve the problem but I thought it was curious.

View 4 Replies View Related

General :: Transfer A File Using Tftp Between Two PC's?

Apr 20, 2011

I am trying to transfer a file using tftp between two PC's. I have installed tftp-server, tftp, xinetd on both PC's. I am unable to transfer the file between the two systems. although the self transfer is working on both the system. I am getting the error "Transfer timed out"

cat /etc/xinetd.d/tftp
# default: off
# description: The tftp server serves files using the trivial file transfer

[code]....

View 3 Replies View Related

CentOS 5 :: Security On Tftp Server (vsftpd) - Permission Denied

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

CentOS 5 :: Install Over Tftp/http Fails Due To Invalid Path?

May 2, 2011

I have a problem installing CentOS 5.5 over lan. I set up a dhcp3 server and it works, client got an ip. I set up a tftpd-hpa server and it works, client can boot the install image of CentOS 5.5 I set up an apache server and it seems to be impossible... In the installation marathon I clicked through the menu to the choice of the web server where my installation files are available. I enter the ip 192.168.138.1 and the path CentOS-5.5 and CentOS tells me "Unable to retrieve http://192.168.138.1//CentOS-5.5/images/stage2.img" . Thats right because the two slashes are not right. Where the hell come the two slashes from???

I edited my httpd.conf like this:

<Directory /tftpboot/CentOS-5.5>
Options Indexes
AllowOverride None
</Directory>

[Code]....

View 4 Replies View Related

General :: Permission Denied While Trying To Put File Using TFTP

Jan 6, 2011

I am trying to put a file from one linux machine to my other linux machine. There is absolutely no problem in downloading the file i.e. performing the "get" operation but when I try to upload or "put file" from my host1 to host2 it throws error "Error 0 Permission denied". I am able to put files from host2 to host1 without any problem but not from host1 to host. Infact if I try to tftp even localhost on host2 it throws the same error. Here is my

/etc/xinetd.d/tftp file for host2
service tftp {
socket_type = dgram
protocol = udp
wait = yes
user = root
server = /usr/sbin/in.tftpd
server_args = -c -s /tftpboot
#disable = yes
disable = no
per_source = 11
cps = 100 2
flags = IPv4
}
And permissions on /tftpboot are 777
[root@LinuxServer /]# ls -ld /tftpboot/
drwxrwxrwx 2 root root 4096 Jan 6 05:21 /tftpboot/
[root@LinuxServer /]# ls -l /tftpboot/
total 16
-rwxrwxrwx 1 root root 11 Jan 6 06:16 new_test
-rwxrwxrwx 1 root root 12 Jan 5 06:02 test2

And the command which I am using is :
[root@LinuxServer /]# tftp localhost -c put new_test
Error code 0: Permission denied
And ya here is /etc/sysconfig/selinux file is as under :
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - SELinux is fully disabled.
SELINUX=permissive
# SELINUXTYPE= type of policy in use. Possible values are:
# targeted - Only targeted network daemons are protected.
# strict - Full SELinux protection.
SELINUXTYPE=targeted

View 3 Replies View Related

Ubuntu Servers :: File Creation Error On Apache2 .cgi File?

Jan 14, 2011

I am using python as a cgi for a simple game that i'm planning to run on a website. It requires the user to enter his name and age. This is saved in a file newly created in his/her name. However, I'm getting this error The above is a description of an error in a Python program, formatted

63 for a Web browser because the 'cgitb' module was enabled. In case you
64 are not reading this in a Web browser, here is the original traceback:
65
66 Traceback (most recent call last):
67 File "/var/www/webprog.cgi", line 51, in <module>
68 main()
69 File "/var/www/webprog.cgi", line 44, in main

[Code]...

View 4 Replies View Related

CentOS 5 :: Allowing Apache To Write To Folder?

Jul 29, 2009

I'm a PHP developer and an app I'm working on right now generates files for users to download. The problem I'm seeing is in order to write to a folder I have to chmod it 777, obviously a bad idea.

I'm thinking the best idea is to change the folder user / group to that of apache, however after over an hour of Googleing I can not find out what user / group apache belongs to.

Thoughts? Is this the best way to go or should I do something else?

View 3 Replies View Related

CentOS 5 :: Samba PDC Not Allowing Computer To Be Added

Jul 29, 2010

Samba 3.5 Centos 5.5

I am trying to attempt to set up a samba ldap PDC server.

When I try and connect a computer to the network I get error 'Username could not be found'

I have included smbldap.conf ##smbldap.conf
slapd.conf ##slapd.conf
the smb.conf ##smb.conf
the results of slapcat ##slapcat
the eriror log for log.roor ##log.root

The error I marked as interesting ##interesting , shows that it can't create the user or maybe something else. But up until that time there didn't seem to be a problem.

##smbldap.conf
SID="S-1-5-21-2244683438-1300233924-2635510394"
sambaDomain="internaltest"
slaveLDAP="127.0.0.1"
slavePort="389"

[Code]......

View 2 Replies View Related

Ubuntu :: Desktop Icons Creation And Panel Content Creation After Login Getting Slower

Nov 17, 2010

I've been running 10.04 since September on my new MSi i3 notebook and about two weeks ago I noticed that when I login after system boot, propagation of icons on my desktop and the content of my Panel have become slower and slower.If I logout and login again the propagations are not slow.

View 1 Replies View Related

Fedora Servers :: TFTP Case Insensitive To File Name Requested

Jun 19, 2010

I am downloading some files via tftp from the server (call it my server) and I need the server to be case insensitive to the file names requested. That is If I request "SoMe.TTL" and the actual file name is "some.ttl" it should send "some.ttl" back! Right now it is case sensitive and is a pain in the but because some windows clients upload files to that directory and the names can have any case. Furthermore, the file request mechanism must allow the user to input the required file name, hence the user can write using any case. Can the tftp-server solve cases by it's own? How about dnsmasq's internal tftp server? Ok, maybe I wasn't explicit above:
I need to make the fedora tftpd-server Case Insensitive!

View 2 Replies View Related

CentOS 5 Server :: Samba Not Allowing Logging From Remote Machine?

Jan 26, 2011

I have installed CentOS 5.5 along with the Samba package. I have it configured (i believe), but when I try to access a share, it is not accepting my UN/PW. I have copied the smb.conf file from a working computer over to this one, but it is still not accepting my login. Anyone know of any other files I should check?

I have moved a working smb.conf file to this new box, and both computers have the same UN/PW's

View 4 Replies View Related

General :: CentOS ISO Creation From OS Files?

May 9, 2011

I have CentOS 5.5 Operating System files copied from the DVD, it's not a ISO image. My Centos dvd is not working so, I would like to make bootable image and burn it on a DVD from the files and install CentOS on other machine. I have tried creating ISO image using mkisofs command but, it is not booting.

View 6 Replies View Related

General :: Samba Server Creation On CentOS 5.5

Jan 17, 2011

How to configure Samaba Server on CentOS 5.5 and how to synchronize with my Windows Server-2003.

View 2 Replies View Related

Server :: Creation Of Clustered Storage On CentOS 5.5?

Sep 25, 2010

What I am trying to to is set up a cluster as follows:

- There are four nodes
- Nodes three and four have large amounts of storage that will be used for storing user data.
- Nodes one and two will be running a couple of network services.

I'd like have nodes one and two to have a clustered filesystem just between them to store data for the services run only by them.is it possible to share one filesystem between two nodes and another filesystem between two other nodes? The cluster seems to try to make the storage changes across all nodes. They will not be able to spend the extra money to get the same storage in all four nodes. Here is what I have done. I am using CentOS 5.5. After installing CentOS, I did this:

On all nodes:

Code:

[root@node1 ~]# yum groupinstall "Clustering"
[root@node1 ~]# yum groupinstall "Cluster Storage"
[root@node1 ~]# chkconfig ricci on

[code].....

...which I think makes sense because the cluster was supposed to create the PV and the volume group, but did not. I don't even think it tries. The first time it tries to do anything to another node is when I create a logical volume.

View 1 Replies View Related

CentOS 5 :: When To Skip Swap Partition Creation

May 10, 2009

Are there any general recommendations on skipping creation of swap partition on servers? If I am sure that server will be ok with it's RAM is there any benefit in skipping swap partition creation or making it the least size possible other than saving disk space?

View 3 Replies View Related

Fedora :: Allow All Users On Creation Of A File?

Jul 15, 2009

I want to automatically allow all users read execute or write permissions on everything created by a specific user, is this possible? For example user Wendy creates an office doc, saves it on a shared folder. Then another user (usually windows log into this folder and wants to edit this file and cannot. I know I can edit the permissions on this particular doc to allow all users, but I want this to happen by default so I don.t have to keep changing permission on each doc....

View 5 Replies View Related

SUSE :: File Creation For Web Application?

Dec 2, 2010

Am using apache and php to build a web application and am trying to create the file outside my working directory but its not creating Anybody knows what is the solution for this

View 4 Replies View Related

General :: File-permissions On Read-only Media: Allowing For Access Without Chmod?

Mar 14, 2010

I've hit a wall here; I'm attempting to find some way by which to view files and cd into directories on a device mounted read-only. So I need the permissions to read, write, execute (and the same with directories), but chmodding is out of the question because I don't want to alter the drive one iota.

I guess what I could do--what I was thinking of initially--was to dupe the whole drive and then mess with permissions. This wouldn't affect the original (actually I'm working on a duplicate of the original, but I'm treating it as if it were the original) but I was hoping for something that would maintain data integrity. This is a forensic application and not altering the data is very important.

View 2 Replies View Related

Red Hat :: Folder & File Sharing - Vender Is Not Allowing Me To Install Any Hardware Other Than IBM Parts

Nov 24, 2010

1. I use RHEL5 (SERVER X) in which samba is running. This is an IBM hardware on which the vender is not allowing me to install any hardware other than IBM parts.

2. I have another P4 system on which Fedora Core 11 (SERVER Y) is running. I had connected 300GB SCSI HDD and created necessary partitions.

Now I want to mount few of the volumes of SERVER Y on SERVER X and allow users (samba clients) to access the volumes as folders as any other volumes in SERVER X through samba. I mounted one volume of SERVER Y in SERVER X using NFS mounting and shared through samba. The problem, I am facing, is it is very slow.

View 1 Replies View Related

Fedora :: CIFS Bad Performance On File Creation?

Sep 28, 2010

I am experiencing poor performance when using cifs share.Such poor performance occur only in the creation of files on the share but not in the rewrite.This is what i do:

Code:
#mount -t cifs -o guest,user=<user> //153.9.200.2/winshare /mnt/winshare/
# time dd if=/dev/zero of=/mnt/winshare/b.avi bs=1024 count=10000

[code]....

View 6 Replies View Related

General :: Create File With 751 Permissions At Creation

Apr 5, 2011

I keep creating practice perl scripts in a linux directory using vi <filename> and need to chmod 751 <filename> before I can run it as I wish to. I'm sure there is a simple way to default my permissions or config them at creation, but I'm not familiar with it ayuda me por favor.

View 2 Replies View Related

Ubuntu Servers :: Permissions Upon File Creation?

Feb 8, 2011

Is ACL the best way to ensure the permissions of newly created files? Basically I have a directory: /data/department

I've done chmod g+s on it so the group is correct on new files but I want new files to also have 775 permissions so the rest of the group can access these files fully. Currently they are created with the default 755 (which I want still every where out side of /data/department ).

View 9 Replies View Related

General :: Extract The File Creation Time?

Nov 23, 2010

I want to extract the file creation time. How to get it. I am using fedora core 4

View 3 Replies View Related

General :: Add Some Starting Information In A File While Creation?

Apr 7, 2010

I want to add some starting information in a file while creation. like if I type vi test.sh

then
#!/bin/bash
will be added automatically.

Somebosy suggest me how to do this ??

View 22 Replies View Related

General :: Assigning New Creation File Time On Tar Extraction?

Nov 19, 2010

How I can tell tar to assign a new creation date to extracted files? Let's say I have an archive filled with old files of varying ages. Upon extraction I want all files to have the same time stamp (that of the time of the extraction).

View 1 Replies View Related

Ubuntu Installation :: Why The File System Creation Fails

Aug 8, 2010

I'm trying to install Ubuntu alongside windows 7 on my machine, and currently I am having difficulty doing so.Upon initial boot of the LiveCD,it says the installer has encountered an unrecognized error and just goes straight to desktop environment. From there, I can restart the installer just fine but here is where the trouble starts.

Currently, I have a 2TB RAID 0 array utilizing 4 500GB Seagate barracuda SATA II drives. The controller is an nForce 780a NVRaid. I currently have two NTFS partitions for windows. One 150GB primary partition for C:, and another 781GB D: for the storage of games, music and movies.When I try to manually setup the partitions in the Ubuntu installer, I do it like this.

- 200MB ext2 primary partition for /boot
- 150GB xfs logical partition for /
- approx 750GB xfs logical partition for /home (You've probably figured out I'm following the same C: and D: scheme as in windows)
- 8192 MB partition for swap

I then proceed with the install. I see the progress bar complete for the boot partition, but then at about 7% for / it stops and gives a message saying partition creation has failed. I even tried using different filesystems like ReiserFS and Ext4. Same thing every time. I am running a 64bit quadcore system BTW if that is of any importance.

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved