I have been trying to give it a thought, but I am tired now. I need some1 to design a proper looking frontpage for my website which has a lot of space and holds absolutely nothing. Bah !!
Rain ideas, good Lord.
Oh yeah, I plan to post my Bahamas pics there. :D
Thursday, July 22, 2010
SVN problems over the web
The other day I was configuring my SVN over Apache for my Lab server. I had almost set it up and it was almost looking perfect when it failed to commit. So everytime i tried to commit it would give me this strange looking error.
svn: Commit failed (details follow):
svn: Server sent unexpected return value (500 Internal Server Error) in response to MKACTIVITY request for '/repos/testrep/!svn/act/b5cf039a-95ed-11df-a9f1-a38cb1af4ec0'
I am running SLES 11 and my web server runs on a virtual host and this was my subversion.conf file [relevant section] located at /etc/apache2/conf.d/subversion.conf :
DAV svn
SVNParentPath /srv/svn/repos/
SVNListParentPath On
AuthType Basic
AuthName "Commiting to repository requires a password"
AuthUserFile /srv/svn/user_access/svn_passwdfile
Require valid-user
So after a lot of trial and error and in an attempt not to make a fool of myself before the professor, I tried changing the line in my subversion.conf to this:
The old error was gone, but a new error showed up
So my final modified line ended up looking like this.
And then it worked like cream.
How I came up with the idea? It was after I read stuff from here
svn: Commit failed (details follow):
svn: Server sent unexpected return value (500 Internal Server Error) in response to MKACTIVITY request for '/repos/testrep/!svn/act/b5cf039a-95ed-11df-a9f1-a38cb1af4ec0'
I am running SLES 11 and my web server runs on a virtual host and this was my subversion.conf file [relevant section] located at /etc/apache2/conf.d/subversion.conf :
DAV svn
SVNParentPath /srv/svn/repos/
SVNListParentPath On
AuthType Basic
AuthName "Commiting to repository requires a password"
AuthUserFile /srv/svn/user_access/svn_passwdfile
Require valid-user
So after a lot of trial and error and in an attempt not to make a fool of myself before the professor, I tried changing the line in my subversion.conf to this:
The old error was gone, but a new error showed up
So my final modified line ended up looking like this.
And then it worked like cream.
How I came up with the idea? It was after I read stuff from here
Friday, January 16, 2009
Man !!
It was a bright sunny day. I was drowsing, on my chair, with my head swaying from left to right like a pendulum with a frequency much slower than of a grandpa clock pendulum.
Suddenly I dreamt of coding. Wham !! I woke up, got my coffee and sat to work.
Damn. I was supposed to write some network shit. I realized I had swallowed the taste of network system calls. So I issued a man command:
Wabbit@ubuntu:~$ man accept
No manual entry for accept
What the fuck man ?
If you face such a problem, download and put the manpages-dev package
root@ubuntu:~# aptitude install manpages-dev
And it was done !!
Ahem!! So I coded.
Suddenly I dreamt of coding. Wham !! I woke up, got my coffee and sat to work.
Damn. I was supposed to write some network shit. I realized I had swallowed the taste of network system calls. So I issued a man command:
Wabbit@ubuntu:~$ man accept
No manual entry for accept
What the fuck man ?
If you face such a problem, download and put the manpages-dev package
root@ubuntu:~# aptitude install manpages-dev
And it was done !!
Ahem!! So I coded.
Tuesday, September 9, 2008
gdm was not starting on bootup
I had a sudden problem, I dunno how I came to it, but my gdm never started up when my laptop was booting.So the login process was not only long but damn boring as well, which included, inputting your password thrice :)
So I decided to change it. What I did was opened the dir /etc/rc5.d and edited the shell script named S30gdm and changed the value of
HEED_DEFAULT_DISPLAY_MANAGER=false (from true)
Then it worked for me ;)
So I decided to change it. What I did was opened the dir /etc/rc5.d and edited the shell script named S30gdm and changed the value of
HEED_DEFAULT_DISPLAY_MANAGER=false (from true)
Then it worked for me ;)
gdm was not starting on bootup
I had a sudden problem, I dunno how I came to it, but my gdm never started up when my laptop was booting.So the login process was not only long but damn boring as well, which included, inputting your password thrice :)
So I decided to change it. What I did was opened the dir /etc/rc5.d and edited the shell script named S30gdm and changed the value of
HEED_DEFAULT_DISPLAY_MANAGER=false (from true)
Then it worked for me ;)
So I decided to change it. What I did was opened the dir /etc/rc5.d and edited the shell script named S30gdm and changed the value of
HEED_DEFAULT_DISPLAY_MANAGER=false (from true)
Then it worked for me ;)
Sunday, August 31, 2008
Problem with Flash Player in Firefox 3.0, Ubuntu 8.04
Well there was a small problem with my Firefox, I had installed some flash player, which asked me to click the flash video in the page to enable it. I had installed libflashplayer.so as well, but it was always running the other library for flash-shockwave, i.e. libswfdecmozilla.so . Well I got it working.
Steps I followed are quite simple. I ran about:plugins on the firefox address bar, looked for the names of the .so player for playing flash and shockwave. I found the files in my system and removed all of them except , libflashplayer.so
Usually you can find the .so files in /usr/lib
Not it rocks
- Wabbit
Steps I followed are quite simple. I ran about:plugins on the firefox address bar, looked for the names of the .so player for playing flash and shockwave. I found the files in my system and removed all of them except , libflashplayer.so
Usually you can find the .so files in /usr/lib
Not it rocks
- Wabbit
Tuesday, June 24, 2008
Syntax highlighting on VIM
Hi,
Well wont you love to have the syntax/color highlighted in VI editor. Be it a C program or HTML, vim is a classy editor and of course we would love to have syntax highlighted on it.
Aint it ??
How to go ahead and achieve it.
The easiest way - in vim press :
the type 'syntax on'
To do it everytime the editor comes up automatically.
Search for a file called vimrc.
Generally it would be somewhere like /etc/vim/vimrc
Open the file and uncomment the line
"syntax on
to
syntax on [remove whatever is before that]
Play around, make changes, then next time vim is started, syntax is highlighted.
Follow: http://www.ph.unimelb.edu.au/~ssk/vim/syntax.html for actual documentation.
Chao.
Well wont you love to have the syntax/color highlighted in VI editor. Be it a C program or HTML, vim is a classy editor and of course we would love to have syntax highlighted on it.
Aint it ??
How to go ahead and achieve it.
The easiest way - in vim press :
the type 'syntax on'
To do it everytime the editor comes up automatically.
Search for a file called vimrc.
Generally it would be somewhere like /etc/vim/vimrc
Open the file and uncomment the line
"syntax on
to
syntax on [remove whatever is before that]
Play around, make changes, then next time vim is started, syntax is highlighted.
Follow: http://www.ph.unimelb.edu.au/~ssk/vim/syntax.html for actual documentation.
Chao.
Subscribe to:
Posts (Atom)