Hi David,

Is this what you meant by $HOME in the Apache context?

foresightyj@foresightyj-VirtualBox:/etc/apache2$ ps -ef | grep apache
root      1347     1  0 08:37 ?        00:00:00 /usr/sbin/apache2 -k start
foresig+  1350  1347  0 08:37 ?        00:00:05 /usr/sbin/apache2 -k start
foresig+  1351  1347  0 08:37 ?        00:00:05 /usr/sbin/apache2 -k start
foresig+  2156  1855  0 08:55 pts/1    00:00:00 grep --color=auto apache
foresightyj@foresightyj-VirtualBox:/etc/apache2$ sudo strings -a /proc/1347/
environ
APACHE_RUN_DIR=/var/run/apache2
APACHE_PID_FILE=/var/run/apache2/apache2.pid
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
APACHE_LOCK_DIR=/var/lock/apache2
LANG=C
APACHE_RUN_USER=foresightyj
APACHE_RUN_GROUP=foresightyj
APACHE_LOG_DIR=/var/log/apache2
PWD=/
foresightyj@foresightyj-VirtualBox:/etc/apache2$ sudo strings -a /proc/1350/
environ
APACHE_RUN_DIR=/var/run/apache2
APACHE_PID_FILE=/var/run/apache2/apache2.pid
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
APACHE_LOCK_DIR=/var/lock/apache2
LANG=C
APACHE_RUN_USER=foresightyj
APACHE_RUN_GROUP=foresightyj
APACHE_LOG_DIR=/var/log/apache2
PWD=/



I did see that in */etc/apache2/envvars*, there was this in the beginning 
of the file:

# this won't be correct after changing uid
unset HOME

I am not sure of the intend of this command. Here are some more info you 
might need for diagnosis:

foresightyj@foresightyj-VirtualBox:/proc$ cat /etc/passwd
root:x:0:0:root:/root:/bin/bash
daemon:x:1:1:daemon:/usr/sbin:/usr/sbin/nologin
bin:x:2:2:bin:/bin:/usr/sbin/nologin
sys:x:3:3:sys:/dev:/usr/sbin/nologin
sync:x:4:65534:sync:/bin:/bin/sync
games:x:5:60:games:/usr/games:/usr/sbin/nologin
man:x:6:12:man:/var/cache/man:/usr/sbin/nologin
lp:x:7:7:lp:/var/spool/lpd:/usr/sbin/nologin
mail:x:8:8:mail:/var/mail:/usr/sbin/nologin
news:x:9:9:news:/var/spool/news:/usr/sbin/nologin
uucp:x:10:10:uucp:/var/spool/uucp:/usr/sbin/nologin
proxy:x:13:13:proxy:/bin:/usr/sbin/nologin
www-data:x:33:33:www-data:/var/www:/usr/sbin/nologin
backup:x:34:34:backup:/var/backups:/usr/sbin/nologin
list:x:38:38:Mailing List Manager:/var/list:/usr/sbin/nologin
irc:x:39:39:ircd:/var/run/ircd:/usr/sbin/nologin
gnats:x:41:41:Gnats Bug-Reporting System (admin):/var/lib/gnats:/usr/sbin/
nologin
nobody:x:65534:65534:nobody:/nonexistent:/usr/sbin/nologin
syslog:x:100:103::/home/syslog:/bin/false
messagebus:x:101:105::/var/run/dbus:/bin/false
uuidd:x:102:107::/run/uuidd:/bin/false
dnsmasq:x:103:65534:dnsmasq,,,:/var/lib/misc:/bin/false
ntp:x:104:111::/home/ntp:/bin/false
whoopsie:x:105:115::/nonexistent:/bin/false
lightdm:x:106:116:Light Display Manager:/var/lib/lightdm:/bin/false
foresightyj:x:1000:1000:foresightyj,,,:/home/foresightyj:/bin/bash
memcache:x:107:120:Memcached,,,:/nonexistent:/bin/false
mysql:x:108:121:MySQL Server,,,:/nonexistent:/bin/false
sshd:x:109:65534::/var/run/sshd:/usr/sbin/nologin



Best regards,
Yuan Jian


On Sunday, December 14, 2014 7:00:18 AM UTC+8, David Trowbridge wrote:
>
> What is $HOME in the Apache context?
>
> -David
>
> On Fri, Dec 12, 2014 at 7:10 PM Jian Yuan <imyua...@gmail.com 
> <javascript:>> wrote:
>
>> Hi David,
>>
>> Thanks. Following your suggestion I tried the following steps:
>>
>> I changed Apache's user and group as follows:
>>
>> foresightyj@foresightyj-VirtualBox:~$ cat /etc/apache2/envvars | grep 
>> foresightyj
>> export APACHE_RUN_USER=foresightyj
>> export APACHE_RUN_GROUP=foresightyj
>>
>> Then I rebooted the server and check:
>>
>> foresightyj@foresightyj-VirtualBox:~$ ps -ef | grep apache
>> root      1217     1  0 10:44 ?        00:00:00 /usr/sbin/apache2 -k 
>> start
>> foresig+  1220  1217  0 10:44 ?        00:00:05 /usr/sbin/apache2 -k 
>> start
>> foresig+  1221  1217  0 10:44 ?        00:00:06 /usr/sbin/apache2 -k 
>> start
>> foresig+  2143  1454  0 11:00 pts/7    00:00:00 grep --color=auto apache
>> foresightyj@foresightyj-VirtualBox:~$ svn ls https://
>> 192.168.0.110/svn/FHT360
>> .reviewboardrc
>> Enterprise SNS Project/
>> FHT360/
>>
>> Since Apache is run under my user id and I can manually access SVN, that 
>> should work right? But it still doesn't.
>>
>> Yuan Jian
>>
>> On Saturday, December 13, 2014 7:41:21 AM UTC+8, David Trowbridge wrote:
>>
>>> When you run 'sudo svn list ...' it saves the certificate to root's home 
>>> directory. You'll need to do this as whichever user your web server runs as.
>>>
>>> -David
>>>
>>
>>> On Thu, Dec 11, 2014 at 10:46 PM, Jian Yuan <imyua...@gmail.com> wrote:
>>>
>>>> Hi David,
>>>>
>>>> I am experiencing a similar problem where the error message is:
>>>>
>>>> Unable to connect to a repository at URL 'https://192.168.0.110/svn/
>>>> FHT360' Server SSL certificate verification failed: certificate issued 
>>>> for a different hostname, issuer is not trusted
>>>>
>>>> I already tried logging to the server computer and type:
>>>>
>>>>     sudo svn list https://192.168.0.110/svn/FHT360
>>>>
>>>> and then type p to permanently accept this certificate anyway and it 
>>>> is able to list all folders in the repo.
>>>>
>>>> But when I go back to Review Board, the problem is still there.  You 
>>>> mentioned in your reply that "copy the relevant file from 
>>>> ~/.subversion into the web server user home directory". In my case, I 
>>>> installed Reviewboard using the same user I did the sudo svn list 
>>>> https://192.168.0.110/svn/FHT360. So I guess I don't have to do 
>>>> anything. I even tried to reboot my computer but it didn't help.
>>>>
>>>> Can you give me some hints? Thanks a lot.
>>>>
>>>> Yuan Jian
>>>>
>>>>
>>>>
>>>>
>>>> On Thursday, October 23, 2014 6:14:04 AM UTC+8, David Trowbridge wrote:
>>>>>
>>>>> If you run the following command as your web server user, it should 
>>>>> offer to save the certificate permanently:
>>>>>
>>>>> svn list https://your.repository.url
>>>>>
>>>>> You could also do this as a normal user and then copy the relevant 
>>>>> file from ~/.subversion into the web server user home directory.
>>>>>
>>>>> -David
>>>>>
>>>>>
>>>>> On Wed, Oct 15, 2014 at 5:37 AM, <testin...@gmail.com> wrote:
>>>>>
>>>>>> Hi David,
>>>>>>
>>>>>> Can you please point me to some links where I can get some help in 
>>>>>> resolving this issue. I am really pitching my company to buy cloud from 
>>>>>> review board, but this can only be done once i am able to give a live 
>>>>>> demo 
>>>>>> on our own code working with review board.
>>>>>>
>>>>>> Thanks
>>>>>>
>>>>>> On Wednesday, October 8, 2014 9:45:23 PM UTC+5:30, David Trowbridge 
>>>>>> wrote:
>>>>>>>
>>>>>>> It looks like you have an invalid SSL certificate on your SVN 
>>>>>>> server. I believe that you can add something to the ~/.subversion 
>>>>>>> directory 
>>>>>>> on your review board host (within the home directory of the httpd user) 
>>>>>>> to 
>>>>>>> trust this certificate, but I'm not sure what that is. Perhaps check 
>>>>>>> the 
>>>>>>> contents of a normal user's .subversion directory who is able to use 
>>>>>>> this 
>>>>>>> repository.
>>>>>>>
>>>>>>> -David
>>>>>>>
>>>>>>>
>>>>>>> On Tue, Oct 7, 2014 at 11:08 PM, <testin...@gmail.com> wrote:
>>>>>>>
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> Any update?
>>>>>>>>
>>>>>>>>
>>>>>>>> On Tuesday, October 7, 2014 11:38:37 AM UTC+5:30, 
>>>>>>>> testin...@gmail.com wrote:
>>>>>>>>>
>>>>>>>>> Hi David,
>>>>>>>>>
>>>>>>>>> I am still stuck at above mentioned problem. Please provide me 
>>>>>>>>> with a resolution 
>>>>>>>>>
>>>>>>>>> Thanks
>>>>>>>>>
>>>>>>>>> On Wednesday, October 1, 2014 12:36:42 PM UTC+5:30, 
>>>>>>>>> testin...@gmail.com wrote:
>>>>>>>>>>
>>>>>>>>>> Hi David,
>>>>>>>>>>
>>>>>>>>>> I have removed subvertpy and installed pysvn. Now on adding URL 
>>>>>>>>>> to "add repository" page i am getting below mentioned error:
>>>>>>>>>>
>>>>>>>>>>  Unable to connect to a repository at URL '<Loacl machine SVN 
>>>>>>>>>> server URL>' Server SSL certificate verification failed: issuer is 
>>>>>>>>>> not 
>>>>>>>>>> trusted
>>>>>>>>>>
>>>>>>>>>> Please tell what next can I do.
>>>>>>>>>>
>>>>>>>>>> Thanks
>>>>>>>>>>
>>>>>>>>>> On Wednesday, October 1, 2014 12:09:24 PM UTC+5:30, 
>>>>>>>>>> testin...@gmail.com wrote:
>>>>>>>>>>>
>>>>>>>>>>> Sure, 
>>>>>>>>>>> I will revert back after removing subvertpy and installing pysvn 
>>>>>>>>>>>
>>>>>>>>>>> On Wednesday, October 1, 2014 11:55:09 AM UTC+5:30, David 
>>>>>>>>>>> Trowbridge wrote:
>>>>>>>>>>>>
>>>>>>>>>>>> Hi,
>>>>>>>>>>>>
>>>>>>>>>>>> We've seen some people having trouble with subvertpy. Can you 
>>>>>>>>>>>> try with pysvn?
>>>>>>>>>>>>
>>>>>>>>>>>> -David
>>>>>>>>>>>>
>>>>>>>>>>>> On Tue, Sep 30, 2014 at 11:01 PM, <testin...@gmail.com> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> Hi David,
>>>>>>>>>>>>>
>>>>>>>>>>>>> I am using reviewboard 2.0.8 . It is deployed on Ubuntu 
>>>>>>>>>>>>> 14.04.1 LTS ... I am using subvertpy. 
>>>>>>>>>>>>> I am working as per installation documentation provided on 
>>>>>>>>>>>>> https://www.reviewboard.org/docs/manual/2.0/admin/installati
>>>>>>>>>>>>> on/linux
>>>>>>>>>>>>>
>>>>>>>>>>>>> Please help me resolve this issue.
>>>>>>>>>>>>> Thanks
>>>>>>>>>>>>> On Wednesday, October 1, 2014 1:14:21 AM UTC+5:30, David 
>>>>>>>>>>>>> Trowbridge wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> What version of Review Board? What OS have you deployed 
>>>>>>>>>>>>>> Review Board on? Are you using the pysvn or subvertpy backend?
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> -David
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On Tue, Sep 30, 2014 at 2:27 AM, <testin...@gmail.com> wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Hi All,
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> I have a SVN server deployed on Windows 7. I am adding the 
>>>>>>>>>>>>>>> url of the repository to "Add repository" page with username 
>>>>>>>>>>>>>>> and password. 
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> I am getting below mentioned error:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Unable to connect to a repository at URL '<URL of 
>>>>>>>>>>>>>>> Repository>'", 230001
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Please look into the issue.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> -- 
>>>>>>>>>>>>>>> Get the Review Board Power Pack at 
>>>>>>>>>>>>>>> http://www.reviewboard.org/powerpack/
>>>>>>>>>>>>>>> ---
>>>>>>>>>>>>>>> Sign up for Review Board hosting at RBCommons: 
>>>>>>>>>>>>>>> https://rbcommons.com/
>>>>>>>>>>>>>>> ---
>>>>>>>>>>>>>>> Happy user? Let us know at http://www.reviewboard.org/users/
>>>>>>>>>>>>>>> --- 
>>>>>>>>>>>>>>> You received this message because you are subscribed to the 
>>>>>>>>>>>>>>> Google Groups "reviewboard" group.
>>>>>>>>>>>>>>> To unsubscribe from this group and stop receiving emails 
>>>>>>>>>>>>>>> from it, send an email to reviewboard...@googlegroups.com.
>>>>>>>>>>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>  -- 
>>>>>>>>>>>>> Get the Review Board Power Pack at http://www.reviewboard.org/
>>>>>>>>>>>>> powerpack/
>>>>>>>>>>>>> ---
>>>>>>>>>>>>> Sign up for Review Board hosting at RBCommons: 
>>>>>>>>>>>>> https://rbcommons.com/
>>>>>>>>>>>>> ---
>>>>>>>>>>>>> Happy user? Let us know at http://www.reviewboard.org/users/
>>>>>>>>>>>>> --- 
>>>>>>>>>>>>> You received this message because you are subscribed to the 
>>>>>>>>>>>>> Google Groups "reviewboard" group.
>>>>>>>>>>>>> To unsubscribe from this group and stop receiving emails from 
>>>>>>>>>>>>> it, send an email to reviewboard...@googlegroups.com.
>>>>>>>>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>  -- 
>>>>>>>> Get the Review Board Power Pack at http://www.reviewboard.org/pow
>>>>>>>> erpack/
>>>>>>>> ---
>>>>>>>> Sign up for Review Board hosting at RBCommons: 
>>>>>>>> https://rbcommons.com/
>>>>>>>> ---
>>>>>>>> Happy user? Let us know at http://www.reviewboard.org/users/
>>>>>>>> --- 
>>>>>>>> You received this message because you are subscribed to the Google 
>>>>>>>> Groups "reviewboard" group.
>>>>>>>> To unsubscribe from this group and stop receiving emails from it, 
>>>>>>>> send an email to reviewboard...@googlegroups.com.
>>>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>>>
>>>>>>>
>>>>>>>  -- 
>>>>>> Get the Review Board Power Pack at http://www.reviewboard.org/pow
>>>>>> erpack/
>>>>>> ---
>>>>>> Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
>>>>>> ---
>>>>>> Happy user? Let us know at http://www.reviewboard.org/users/
>>>>>> --- 
>>>>>> You received this message because you are subscribed to the Google 
>>>>>> Groups "reviewboard" group.
>>>>>> To unsubscribe from this group and stop receiving emails from it, 
>>>>>> send an email to reviewboard...@googlegroups.com.
>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>
>>>>>
>>>>>  -- 
>>>> Get the Review Board Power Pack at http://www.reviewboard.org/
>>>> powerpack/
>>>> ---
>>>> Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
>>>> ---
>>>> Happy user? Let us know at http://www.reviewboard.org/users/
>>>> --- 
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "reviewboard" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>> an email to reviewboard...@googlegroups.com.
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>  -- 
>> Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
>> ---
>> Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
>> ---
>> Happy user? Let us know at http://www.reviewboard.org/users/
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "reviewboard" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to reviewboard...@googlegroups.com <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/
---
Sign up for Review Board hosting at RBCommons: https://rbcommons.com/
---
Happy user? Let us know at http://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to