Overview
You may need to gather additional debugging logs for the support team to investigate an issue related to AppleShare. If you are experiencing issues with multiple workstations, you can run the server in global debug mode. Also, this mode can be used when you are experiencing issues with the AFP login, even if it is affecting only one user.
If you are experiencing issues with a single workstation, you can run the server in debug mode for a single user.
Warning
The global debug mode will cause KSD to run at 60-70% of its normal speed. Also, it may generate very large debug logs (many gigabytes) if it is running with many active users.
The global debug mode will cause KSD to run at 60-70% of its normal speed. Also, it may generate very large debug logs (many gigabytes) if it is running with many active users.
Process
- Stop the KSD in one of the following ways. Remember, it will disconnect all active users.
-
In Xinet Admin GUI, navigate to FILESHARE/ACLS > AppleShare Service > restart and click on the Shut Down AppleShare button.
- From the shell, run
/usr/etc/appletalk/ksd_restart
, you will be prompted with the following questions:-
Do you really want to halt the AppleShare daemon?
Typey
-
Do you want to give the users time to disconnect[y]?
Typey
-
How many minutes do you want to wait[2]?
Enter the desired amount of minutes you want to give the users to manually disconnect; the default is 2.
We will use the default for this example: press Enter -
Do you want to customize the logout message[n]?
Typen
- After the selected time (2 minutes in this example) have passed, the shell will show the message Killing the daemon… and will request for the final confirmation:
Do you want to re-start the AppleShare daemon[y]?
Typen
-
Do you really want to halt the AppleShare daemon?
Make sure to be in a CSH shell when you run this command, or the & will not work.
For example, if
/var/adm/appletalk/services
has the following listing for KSD:/usr/etc/appletalk/ksd
-f -v -t 'localpasswd' -longcomment -i -o 'Xinet-Test'
, then run the below command (the changes are highlighted in bold):/usr/etc/appletalk/ksd -d 0xFFFF -f -v -t 'localpasswd' -longcomment -i -o 'Xinet-Test' >& /var/tmp/ksd.debug.out &
Click to open image in a new tab.
ps -eaf | grep /ksd
to find the process id of the parent KSD process. Kill this process using the process id. Note that the process id is the same as reported on the second line of the picture in step 2.Click to open image in a new tab.
- In Xinet Admin GUI, navigate to FILESHARE/ACLS > AppleShare Service > restart, and click on the Start AppleShare button.
- From the shell, run
/usr/etc/appletalk/ksd_restart
, you will be prompted with the following question:
Do you want to re-start the AppleShare daemon[y]?
Typey
Click to open image in a new tab.
/var/tmp/ksd.debug.out
to NorthPlains Support for further investigation.
Comments
0 comments
Please sign in to leave a comment.