Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
03-26-2011, 08:49 AM
|
#1
|
LQ Newbie
Registered: Mar 2011
Posts: 2
Rep:
|
svn: is not a working copy
my project path is /var/www/my
my repository path is /home/svn/repos
now, i enter the " /var/www/my" directory, and modified some files, so, i want to update that modification to repository,
press the command as following,
that return a message
"svn update" --> "Skipped '.' "
"svn commit (or svn status)" --> "svn: '/var/www/my' is not a working copy
"
what happened to this ?
if i want to editing in any directory, or wherever, then submit to repository, how should i do ? setting config of where is it , or setting path for global variable ?
Last edited by coolesting; 03-26-2011 at 08:56 AM.
Reason: fix it for information exactly
|
|
|
03-26-2011, 08:53 AM
|
#2
|
LQ Guru
Registered: Apr 2005
Location: /dev/null
Posts: 5,818
|
Do you have a proper .svn directory within /var/www/my?
|
|
1 members found this post helpful.
|
03-26-2011, 08:55 AM
|
#3
|
Member
Registered: Jan 2007
Location: Canton, MI
Distribution: CentOS, SuSE, Red Hat, Debian, etc.
Posts: 703
Rep:
|
Do you have a directory /var/www/my/.svn? If not, it means that
the files were not checked out or that an important directory
has been deleted.
My suggestion would be to "mv /var/www/my /var/www/my.save" and
then check out (do not export) the project again to /var/www/my.
You should then be able to copy updated files from my.save to
my and check them into svn.
|
|
1 members found this post helpful.
|
03-26-2011, 09:35 AM
|
#4
|
LQ Newbie
Registered: Mar 2011
Posts: 2
Original Poster
Rep:
|
Thanks everybody, i make the big mistake,
i import the project form /var/www/my to repository, then checkout it to ~/svn/my here ,
i should checkout to /var/www/my .
|
|
|
03-26-2011, 09:40 AM
|
#5
|
Member
Registered: Jan 2007
Location: Canton, MI
Distribution: CentOS, SuSE, Red Hat, Debian, etc.
Posts: 703
Rep:
|
Cool. Thanks for the update.
|
|
|
01-02-2015, 07:15 AM
|
#6
|
LQ Newbie
Registered: Dec 2014
Posts: 24
Rep:
|
thanks friends..
During the installation of svn on my centos 6.6.i'm having problem that,
when i enter URL on the browser "http://10.0.0.251/svn"
it'll display
Forbidden
You don't have permission to access /svn/ on this server.
Apache/2.2.15 (CentOS) Server at 10.0.0.251 Port 80
but i gave full permission for tht folder..
please help me friends....
|
|
|
01-02-2015, 08:39 AM
|
#7
|
Member
Registered: Jan 2007
Location: Canton, MI
Distribution: CentOS, SuSE, Red Hat, Debian, etc.
Posts: 703
Rep:
|
I'll bet that it's a problem with SELinux. See if it is on by running
by typing "getenforce". If it is in enforcing mode, we can follow up.
My second choice is that it's an apache issue. Look for errors at the
bottom of /var/log/httpd/error_log concerning /svn.
|
|
1 members found this post helpful.
|
01-02-2015, 09:02 AM
|
#8
|
LQ Newbie
Registered: Dec 2014
Posts: 24
Rep:
|
thanks for replying sir..
i have checked selinux that is in enforcing...
In the /var/log/httpd/error_log file about the following line is placed in four places of this file...
i'm new for linux sir...help me..
these are the last some files.
#Fri Jan 02 15:16:37 2015] [notice] Apache/2.2.15 (Unix) DAV/2 mod_ssl/2.2.15 OpenSSL/1.0.1e-fips SVN/1.8.10 mod_perl/2.0.4 Perl/v5.10.1 configured -- resuming normal operations
But when i enter "10.0.0.251/svn/project_repo"
it'll display following without any authentication required....but i have created two htpasswd users ..
Code:
project_repo - Revision 0: /
Powered by Apache Subversion version 1.8.10 (r1615264).
...help me sir
Last edited by systems@pickzy.com; 01-02-2015 at 09:05 AM.
|
|
|
01-02-2015, 09:11 AM
|
#9
|
Member
Registered: Jan 2007
Location: Canton, MI
Distribution: CentOS, SuSE, Red Hat, Debian, etc.
Posts: 703
Rep:
|
The CentOS wiki has an article about setting up svn.
Please review this and see if it helps.
http://wiki.centos.org/HowTos/Subversion
|
|
|
01-02-2015, 09:38 AM
|
#10
|
LQ Newbie
Registered: Dec 2014
Posts: 24
Rep:
|
thanks for replying sir..
My problem is in 4th step of this document sir....
after 4th step when i enter the "10.0.0.251/svn/project_repo"
it'll show
Code:
project_repo - Revision 0: /
Powered by Apache Subversion version 1.8.10 (r1615264).
when i enter
"10.0.0.251/project_repo"
Code:
Forbidden
You don't have permission to access /project_repo/ on this server.
Apache/2.2.15 (CentOS) Server at 10.0.0.251 Port 80
but no one is displaying popup window for username and password.
my /etc/httpd/conf.d/subversion.conf/ file is
Code:
LoadModule dav_svn_module modules/mod_dav_svn.so
LoadModule authz_svn_module modules/mod_authz_svn.so
#
# Example configuration to enable HTTP access for a directory
# containing Subversion repositories, "/var/www/svn". Each repository
# must be both:
#
# a) readable and writable by the 'apache' user, and
#
# b) labelled with the 'httpd_sys_content_t' context if using
# SELinux
#
#
# To create a new repository "http://localhost/repos/stuff" using
# this configuration, run as root:
#
# # cd /var/www/svn
# # svnadmin create stuff
# # chown -R apache.apache stuff
# # chcon -R -t httpd_sys_content_t stuff
#
<Location /project_repo>
DAV svn
SVNParentPath /var/www/svn/project_repo
<LimitExcept GET PROPFIND OPTIONS REPORT>
AuthType Basic
AuthName "authorization Realm"
AuthUserFile /etc/svn-users
Require valid-user
</LimitExcept>
</Location>
CustomLog logs/svn_logfile "%t %u %{SVN-ACTION}e" env=SVN-ACTION
please sir help me
|
|
|
01-02-2015, 12:01 PM
|
#11
|
Member
Registered: Jan 2007
Location: Canton, MI
Distribution: CentOS, SuSE, Red Hat, Debian, etc.
Posts: 703
Rep:
|
Try running these commands, which will see if the problem is with SELinux.
Code:
yum -y install setroubleshoot-server
sealert -a /var/log/audit/audit.log
Last edited by carltm; 01-02-2015 at 12:02 PM.
|
|
|
01-03-2015, 03:16 AM
|
#12
|
LQ Newbie
Registered: Dec 2014
Posts: 24
Rep:
|
thanks for replying sir..
when i run yum -y install setroubleshoot-server
Code:
[root@svn ~]# yum -y install setroubleshoot-server
You have new mail in /var/spool/mail/root
[root@svn ~]# yum -y install setroubleshoot-server
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: centos.excellmedia.net
* extras: centos.excellmedia.net
* rpmforge: mirror.smartmedia.net.id
* updates: centos.excellmedia.net
* webtatic: uk.repo.webtatic.com
Package setroubleshoot-server-3.0.47-6.el6.x86_64 already installed and latest version
Nothing to do
for
" sealert -a /var/log/audit/audit.log"
Code:
type=AVC msg=audit(1417420746.816:236): avc: denied { write } for pid=8779 comm="sendmail" name="log" dev=devtmpfs ino=13145 scontext=unconfined_u:system_r:httpd_sys_script_t:s0 tcontext=system_u:object_r:devlog_t:s0 tclass=sock_file
**** Invalid AVC allowed in current policy ***
what is AVC and how to rectify that problem....
may i know "why selinux is needed for authentication purpose"
because i can't understand sir...
|
|
|
01-03-2015, 03:41 AM
|
#13
|
LQ Newbie
Registered: Dec 2014
Posts: 24
Rep:
|
v
what to do sir...I can't understand my problem sir?help me sir
Last edited by systems@pickzy.com; 01-03-2015 at 03:42 AM.
|
|
|
All times are GMT -5. The time now is 10:32 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|