Sponsored Content
Operating Systems Linux Red Hat Error connecting to repo server Post 302850619 by Scott on Thursday 5th of September 2013 07:32:53 AM
Old 09-05-2013
Assuming that the FTP server is also running Redhat...

Is the ftp daemon running on the server?

Another obstacled could be the firewall.

Nothing to do with connectivity, but for file visibility, if SELinux is enabled and in enforcing mode...
Code:
# sestatus
SELinux status:                 enabled
SELinuxfs mount:                /selinux
Current mode:                   enforcing
Mode from config file:          enforcing
Policy version:                 24
Policy from config file:        targeted

...you may need to "chcon" the repodata directory.

i.e.
Code:
# chcon -R --reference /var/ftp /var/ftp/repodata

Remembering to use semanage to make it permanent:
Code:
# semanage fcontext -a -u system_u -t public_content_t /var/ftp/repodata/*

HTH
This User Gave Thanks to Scott For This Post:
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Connecting to SUN server from PC

I have old SUN server on my desk. I know it worked before. I want to be able to connect to server from my PC. Just to establish a dump terminal. 1. I connected to power socket 2. I Have a cable that fits in (i believe is a com ports there are A B slots the same I plugged it in A). They are... (33 Replies)
Discussion started by: zam
33 Replies

2. UNIX for Dummies Questions & Answers

connecting my server to comcast

Hi, I just setup a server running centos 4 that I am going to use for a mail server. I setup NAT in my router to open up the smtp port and i assigned the server a static ip address using ifconfig. Now is there a step im missing because now i cant route out of the server or ping anything? Oh btw... (0 Replies)
Discussion started by: mcraul
0 Replies

3. Shell Programming and Scripting

Connecting other server using ssh!

Hi All, Here i am having a problem in my script....:) i have one script which will connect from my linux box to antoher linux box.. let say...currently i am in 55.23.621.123 and i want to connect to another box which is 55.23.621.118 as we know we can connect using ssh... (2 Replies)
Discussion started by: Shahul
2 Replies

4. Ubuntu

Connecting to a remote server

Hi, I have an interesting problem. I cannot connect to a personal server I set up. What's interesting is that I can connect to it from the LAN using its non-local IP address. However, I cannot seem to connect to it from anywhere else. Here's how my server is set up: My entire home has a... (8 Replies)
Discussion started by: Altay_H
8 Replies

5. Shell Programming and Scripting

Connecting to other server thru ftp

Hi, Can someone help me on how to ftp to UNIX server from an another UNIX Server. I tried the follwoing but it is not working. ftp -n 10.10.0.1 quote user usrname quote pass passwd ls Though ftp is starting it is not allowing me run command..... it is asking to Thanks in... (5 Replies)
Discussion started by: EmbedUX
5 Replies

6. UNIX and Linux Applications

Error while connecting to MySQl Server 5.1.34 on UNIX platform.

Hi, I have MySQL 5.1.34 installed on Solaris and Linux machine. MySQl installed Solaris Machine - A.A.A.A Remote Machine - B.B.B.B I have user in mysql.user as below: | user | password | host |... (2 Replies)
Discussion started by: amit_27
2 Replies

7. Shell Programming and Scripting

Connecting to Windows Server

Hi, One of the folders in UNIX is mapped with a drive on Windows.From this UNIX machine I want to connect to the Windows Server, perform some checks and view the results back on the UNIX machine. For e.g. if I touch a file under the shared folder on UNIX, I should be able to telnet to Windows... (2 Replies)
Discussion started by: swasid
2 Replies

8. Solaris

Ftp: SSL_connect error while connecting from source to destination server Solaris 10

Hi Everyone, I am using solaris 10.I am facing a different problem here with tlsftp.I have intalled all steps for tlsftp and able to connect to the destination server from the source server.It worked for some days.But recently when i am connectin it is giving below error.I am... (0 Replies)
Discussion started by: muraliinfy04
0 Replies

9. UNIX for Dummies Questions & Answers

Configuring EPEL repo and setting it as default repo.

I am using RHEL 6, but with no RHN subscription. I tried installing the EPEL repo, it is enabled under yum repolist but when I try a sample search such as yum search nginx , there's a string of errno 14 PYCURL error 6 . When I tried yum list installed, it didn't work because it defaults to the... (0 Replies)
Discussion started by: Hijanoqu
0 Replies

10. Shell Programming and Scripting

Error when connecting to remote server to find files with timestamp today's day

I am connecting to remote server and try to check if files with timestamp as Today's day are on the directory. Below is my code TARFILE=${NAME}.tar TARGZFILE=${NAME}.tar.gz ssh ${DESTSERVNAME} 'cd /export/home/iciprod/download/let/monthly; Today=`date +%Y%m%d`; if ;then echo "We... (1 Reply)
Discussion started by: digioleg54
1 Replies
GIT-REMOTE-EXT(1)						    Git Manual							 GIT-REMOTE-EXT(1)

NAME
git-remote-ext - Bridge smart transport to external command. SYNOPSIS
git remote add <nick> "ext::<command>[ <arguments>...]" DESCRIPTION
This remote helper uses the specified <command> to connect to a remote Git server. Data written to stdin of the specified <command> is assumed to be sent to a git:// server, git-upload-pack, git-receive-pack or git-upload-archive (depending on situation), and data read from stdout of <command> is assumed to be received from the same service. Command and arguments are separated by an unescaped space. The following sequences have a special meaning: '% ' Literal space in command or argument. %% Literal percent sign. %s Replaced with name (receive-pack, upload-pack, or upload-archive) of the service Git wants to invoke. %S Replaced with long name (git-receive-pack, git-upload-pack, or git-upload-archive) of the service Git wants to invoke. %G (must be the first characters in an argument) This argument will not be passed to <command>. Instead, it will cause the helper to start by sending git:// service requests to the remote side with the service field set to an appropriate value and the repository field set to rest of the argument. Default is not to send such a request. This is useful if remote side is git:// server accessed over some tunnel. %V (must be first characters in argument) This argument will not be passed to <command>. Instead it sets the vhost field in the git:// service request (to rest of the argument). Default is not to send vhost in such request (if sent). ENVIRONMENT VARIABLES
: GIT_TRANSLOOP_DEBUG If set, prints debugging information about various reads/writes. ENVIRONMENT VARIABLES PASSED TO COMMAND
: GIT_EXT_SERVICE Set to long name (git-upload-pack, etc...) of service helper needs to invoke. GIT_EXT_SERVICE_NOPREFIX Set to long name (upload-pack, etc...) of service helper needs to invoke. EXAMPLES
: This remote helper is transparently used by Git when you use commands such as "git fetch <URL>", "git clone <URL>", , "git push <URL>" or "git remote add <nick> <URL>", where <URL> begins with ext::. Examples: "ext::ssh -i /home/foo/.ssh/somekey user@host.example %S foo/repo" Like host.example:foo/repo, but use /home/foo/.ssh/somekey as keypair and user as user on remote side. This avoids needing to edit .ssh/config. "ext::socat -t3600 - ABSTRACT-CONNECT:/git-server %G/somerepo" Represents repository with path /somerepo accessible over git protocol at abstract namespace address /git-server. "ext::git-server-alias foo %G/repo" Represents a repository with path /repo accessed using the helper program "git-server-alias foo". The path to the repository and type of request are not passed on the command line but as part of the protocol stream, as usual with git:// protocol. "ext::git-server-alias foo %G/repo %Vfoo" Represents a repository with path /repo accessed using the helper program "git-server-alias foo". The hostname for the remote server passed in the protocol stream will be "foo" (this allows multiple virtual Git servers to share a link-level address). "ext::git-server-alias foo %G/repo% with% spaces %Vfoo" Represents a repository with path /repo with spaces accessed using the helper program "git-server-alias foo". The hostname for the remote server passed in the protocol stream will be "foo" (this allows multiple virtual Git servers to share a link-level address). "ext::git-ssl foo.example /bar" Represents a repository accessed using the helper program "git-ssl foo.example /bar". The type of request can be determined by the helper using environment variables (see above). SEE ALSO
gitremote-helpers(1) GIT
Part of the git(1) suite Git 2.17.1 10/05/2018 GIT-REMOTE-EXT(1)
All times are GMT -4. The time now is 01:52 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy