Local servers cannot write to userpath:
- carlospsneto
- Posts: 68
- Joined: Thu Mar 14, 2013 1:38 pm
Local servers cannot write to userpath:
Hello,
Every time i open McIDAS-V in a linux environment (tried Debian and Ubuntu) i got the following error:
Local servers cannot write to userpath: /home/user/McIDAS-V
this makes impossible to create and use Datasets.
When i go to Tools>Manage ADDE Datasets, I see in the bottom "Local Servers have been stopped" When i try to start i get the same error.
How can i fix this?
Thank you
Every time i open McIDAS-V in a linux environment (tried Debian and Ubuntu) i got the following error:
Local servers cannot write to userpath: /home/user/McIDAS-V
this makes impossible to create and use Datasets.
When i go to Tools>Manage ADDE Datasets, I see in the bottom "Local Servers have been stopped" When i try to start i get the same error.
How can i fix this?
Thank you
Re: Local servers cannot write to userpath:
Hello -
Can you exit McIDAS-V and make sure that there are no mcservl processes running? Once you verify that no mcservl processes are running, can you try starting McIDAS-V again and see if you run into the same errors? mcservl is the server listening process that McIDAS-V uses for the local servers. mcservl processes should be running during your session, but once you exit they should kill themselves in about 10 seconds. I'm able to replicate your errors if I start and exit McIDAS-V too quickly before the mcservl processes have been killed.
If this doesn't help, can you please let me know what version and date of McIDAS-V you are running? You can find this in Help>About McIDAS-V.
Thanks -
Bob Carp
McIDAS Help Desk
Can you exit McIDAS-V and make sure that there are no mcservl processes running? Once you verify that no mcservl processes are running, can you try starting McIDAS-V again and see if you run into the same errors? mcservl is the server listening process that McIDAS-V uses for the local servers. mcservl processes should be running during your session, but once you exit they should kill themselves in about 10 seconds. I'm able to replicate your errors if I start and exit McIDAS-V too quickly before the mcservl processes have been killed.
If this doesn't help, can you please let me know what version and date of McIDAS-V you are running? You can find this in Help>About McIDAS-V.
Thanks -
Bob Carp
McIDAS Help Desk
- carlospsneto
- Posts: 68
- Joined: Thu Mar 14, 2013 1:38 pm
Re: Local servers cannot write to userpath:
Hi Bob,
Sorry for the noob question, but how can i check if there are mcservl process running?
Sorry for the noob question, but how can i check if there are mcservl process running?
Re: Local servers cannot write to userpath:
No problem. On a Linux machine, from a terminal, you should be able to run: ps -ef. This will list out all of the processes running on your machine.
On a Linux-64 bit machine, while I had McIDAS-V running, I ran ps -ef, and included in the output were these two lines about mcservl.
- Bob
On a Linux-64 bit machine, while I had McIDAS-V running, I ran ps -ef, and included in the output were these two lines about mcservl.
Code: Select all
rcarp 29635 29583 0 14:00 pts/5 00:00:00 /nas/home/rcarp/mcv_pappy/McIDAS-V-System/adde/bin/mcservl -v -p 8112 -i 29583
rcarp 29637 29635 0 14:00 pts/5 00:00:00 /nas/home/rcarp/mcv_pappy/McIDAS-V-System/adde/bin/mcservl -v -p 8112 -i 29583
- Bob
- carlospsneto
- Posts: 68
- Joined: Thu Mar 14, 2013 1:38 pm
Re: Local servers cannot write to userpath:
Thank you once again for your guidance.
I did what you told me and i don't see any mcservl process running, even when McIDAS-V is running.
Only thing related to McIDAS, that i see is:
I'm using McIDAs-V Version 1.5beta2 build date: 2014-09-30 09:30. I tried in Ubuntu and Debbian. I saw this error in others versions too.
I did what you told me and i don't see any mcservl process running, even when McIDAS-V is running.
Only thing related to McIDAS, that i see is:
Code: Select all
carlos 4091 1692 0 10:42 ? 00:00:00 /bin/sh /home/carlos/McIDAS-V-System/runMcV
carlos 4130 4091 99 10:42 ? 00:00:38 /home/carlos/McIDAS-V-System/jre/bin/java -XX:Max
I'm using McIDAs-V Version 1.5beta2 build date: 2014-09-30 09:30. I tried in Ubuntu and Debbian. I saw this error in others versions too.
Re: Local servers cannot write to userpath:
Hello -
My coworker pointed out that the question marks printed out in your process list indicates that they are zombied processes. Can you try killing them and then starting McIDAS-V and see if you still see the problem? To kill a zombied process, you will need to run: kill -9 processId#
... in your case, you can run the following to kill both of the processes at once:
kill -9 4091 4130
Thanks -
Bob
My coworker pointed out that the question marks printed out in your process list indicates that they are zombied processes. Can you try killing them and then starting McIDAS-V and see if you still see the problem? To kill a zombied process, you will need to run: kill -9 processId#
... in your case, you can run the following to kill both of the processes at once:
kill -9 4091 4130
Thanks -
Bob
- carlospsneto
- Posts: 68
- Joined: Thu Mar 14, 2013 1:38 pm
Re: Local servers cannot write to userpath:
Hi Bob,
i did what you told, but unfortunately I still got the same error when I start McIDAS-V.
i did what you told, but unfortunately I still got the same error when I start McIDAS-V.
Re: Local servers cannot write to userpath:
Hi Carlos -
We are now wondering if there are any permissions problems that are causing mcservl to not start. Can you please (in a terminal window), cd to your McIDAS-V directory and run: ls -la
Please send us this output. This will give us a listing of the different files and directories contained in your McIDAS-V directory, as well as your permissions on each.
Quick questions - When did you start seeing this problem? Have you been able to use local servers in the past on these machines?
Thanks -
Bob
We are now wondering if there are any permissions problems that are causing mcservl to not start. Can you please (in a terminal window), cd to your McIDAS-V directory and run: ls -la
Please send us this output. This will give us a listing of the different files and directories contained in your McIDAS-V directory, as well as your permissions on each.
Quick questions - When did you start seeing this problem? Have you been able to use local servers in the past on these machines?
Thanks -
Bob
- carlospsneto
- Posts: 68
- Joined: Thu Mar 14, 2013 1:38 pm
Re: Local servers cannot write to userpath:
Hi Bob,
No, i was never able to use local servers on a linux machine.
the output is:
No, i was never able to use local servers on a linux machine.
the output is:
Code: Select all
drwxrw-rw- 11 carlos carlos 4096 Out 2 13:08 .
drwxr-xr-x 23 carlos carlos 4096 Out 2 07:59 ..
drwxrwxr-x 2 carlos carlos 4096 Out 2 13:08 archived_logs
drwxrwxr-x 2 carlos carlos 4096 Set 30 09:40 bundles
drwxrwxr-x 2 carlos carlos 4096 Set 30 09:40 datacache
-rw-rw-r-- 1 carlos carlos 6220 Set 30 09:40 idv.rbi
drwxrwxr-x 4 carlos carlos 4096 Set 30 09:40 jython2.5.2
-rw-rw-r-- 1 carlos carlos 23060 Out 2 13:08 main.xml
-rw-rw-r-- 1 carlos carlos 23060 Out 2 13:08 main.xml.bak
-rw-rw-r-- 1 carlos carlos 1147 Out 2 13:08 mcidasv.log
-rw-rw-r-- 1 carlos carlos 0 Out 1 14:18 notice.txt
drwxrwxr-x 2 carlos carlos 4096 Set 30 09:40 plugins
drwxrwxr-x 2 carlos carlos 4096 Set 30 09:40 prototypes
drwxrwxr-x 2 carlos carlos 4096 Set 30 09:41 python
-rw-rw-r-- 1 carlos carlos 0 Out 2 13:08 RESOLV.SRV
-rw-r--r-- 1 carlos carlos 129 Set 30 09:40 runMcV.prefs
drwxrwxr-x 2 carlos carlos 4096 Set 30 09:40 savedbundles
drwxrwxr-x 4 carlos carlos 4096 Out 2 13:08 tmp
Re: Local servers cannot write to userpath:
Hi Carlos. Bob and I would like you to try the following:
cd /home/carlos/McIDAS-V-System
ls -la
send us that output
Next:
cd adde
cd bin
export LD_LIBRARY_PATH=.
./mcservl
You will probably have to hit ctrl-C to stop
send us that output.
Thanks
Rick
cd /home/carlos/McIDAS-V-System
ls -la
send us that output
Next:
cd adde
cd bin
export LD_LIBRARY_PATH=.
./mcservl
You will probably have to hit ctrl-C to stop
send us that output.
Thanks
Rick