Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
special characters in file/directorynames
18-12-2013, 05:57 (This post was last modified: 18-12-2013 06:38 by angelus1969.)
Post: #10
RE: special characters in file/directorynames
(17-12-2013 21:18)simoncn Wrote:  
(17-12-2013 19:07)simoncn Wrote:  I will investigate the problem that you reported with the minimserver/bin/setup script and I will post here when I have more information.

I am attaching a .tar.gz archive containing a slightly updated version of the minimserver/bin/setup script. Please extract the setup file from this archive and replace the version in /root/minimserver/minimserver-0.8.1/bin/setup with this version, then run the new script by typing /root/minimserver/bin/setup. If you still get a failure, please post the error message.

I did as you asked, but when I start the script from the ~/minimserver/bin directory it still states the same error. But that is to be expected, because the new script is in ~/minimserver/minimserver-0.8.1/bin directory....... Why are there 2 bin directories? I first thought one was links to the other, but that is not the case!
root@mminim:~/minimserver/minimserver-0.8.1/bin# ls -lha
total 36K
drwxr-xr-x 2 root root 4.0K Dec 17 23:53 .
drwxr-xr-x 5 root root 4.0K Dec 17 04:30 ..
-rwxr-xr-x 1 root root 7.8K Dec 17 23:50 setup
-rwxr-xr-x 1 root root 162 Dec 17 04:30 startc
-rwxr-xr-x 1 root root 192 Dec 17 04:30 startd
-rwxr-xr-x 1 root root 982 Dec 17 04:30 stopall
-rwxr-xr-x 1 root root 1.8K Dec 17 04:30 uninstall
-rwxr-xr-x 1 root root 2.6K Dec 17 04:30 update
root@mminim:~/minimserver/minimserver-0.8.1/bin# ls -lha ../../bin/
total 36K
drwxr-xr-x 2 root root 4.0K Dec 17 04:30 .
drwxr-xr-x 9 root root 4.0K Dec 17 04:30 ..
-rwxr-xr-x 1 root root 7.8K Dec 17 04:30 setup
-rwxr-xr-x 1 root root 162 Dec 17 04:30 startc
-rwxr-xr-x 1 root root 192 Dec 17 04:30 startd
-rwxr-xr-x 1 root root 982 Dec 17 04:30 stopall
-rwxr-xr-x 1 root root 1.8K Dec 17 04:30 uninstall
-rwxr-xr-x 1 root root 2.6K Dec 17 04:30 update
root@mminim:~/minimserver/minimserver-0.8.1/bin#

EDIT: I have a second VZ where I also installed the new version, so I could test a little more without breaking my main VZ. I executed the new setup from the ~/minimserver/minimserver-0.8.1/bin directory and this script works. It creates an executable script inside /etc/init.d and creates the runlevel info. After a restart however, minimserver is not started. When I try to start the server by hand with root@mminim:/etc# init.d/minimserver start
it states: /root/minimserver/minimserver-0.8.1/bin/startd: 4: cd: can't cd to /root/minimserver/minimserver-0.8.1/bin/../data
EDIT #2: found it, by running the setup script from ~/minimserver/minimserver-0.8.1/bin causes the init.d script to read: su "root" -c "/root/minimserver/minimserver-0.8.1/bin/startd" while it should be su "root" -c "/root/minimserver/bin/startd"

EDIT #3: And alas, it doesn't help with the original problem. Minimserver now starts okay after a reboot, but the locale is still US_ASCII when starting it this way...... Sad What I understand after some web-searching, is that this is a known problem and the script should explicit state the locale itself.... Not sure how (yet).....

EDIT#4: running the command update-locale LANG=<desired locale> creates a necessary file in /etc/default After a reboot minimserver starts with the correct locale.....


---
Regards, Angelo
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: special characters in file/directorynames - angelus1969 - 18-12-2013 05:57

Forum Jump:


User(s) browsing this thread: 1 Guest(s)