Linux - SoftwareThis 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.
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.
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
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.
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.
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
[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...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.