What is the difference between an Accelerator and a SmartMachine?
SmartMachine and Accelerator are both names used to describe the same thing – a zone running on Joyent SmartOS. Accelerator was the name used prior to May 2010.
What is the name of my SmartMachine?
Your SmartMachine name is the default name associated with your SmartMachine when delivered. It looks like: z12345AA, z12345AB, or fjsliyaa, fjsliyab. To find the name of your SmartMachine use this command:
How can I find the IPs for my SmartMachine?
The public and private IP of your SmartMachine is in the welcome e-mail. You can also find your public or private IP by using this command:
The Internet Assigned Numbers Authority (IANA) has reserved the following three blocks of the IP address space for private networks:
For more information on private IPs, see this. |
Where can I get a SmartMachine image to use on my local computer?
Currently we do not have a publicly available SmarthMachine image. However, setting up a SmartMachine is relatively simple. We run Solaris Express Community Release and Pkgsrc.
- You can get the Solaris Express Community Release image here.
- For information on updating pkgsrc, see this.
How do I reset my SmartMachine to a clean image?
If you ordered your SmartMachine through the my.joyentcloud.com customer portal, delete the SmartMachine from your account and replace it with a newly provisioned SmartMachine.
If you ordered your SmartMachine through a different channel, submit a ticket that you would like to wipe your SmartMachine clean and start fresh.
| Ensure you back everything up prior to the request. |
What is wrong with Webmin?
If Webmin is failing to load, you have one of two problems: The process is hung or you are hitting your memory limit.
First, verify that you have not exceeded your memory limit.
- Log in to your SmartMachine.
- Run this command:
- Look at the RSS column in the summary.
If this value is close to the size of the available memory in your SmartMachine, you will need to shut down services to free-up memory.
If this is not the problem, restart the Webmin process with these commands:
Why are paths failing to resolve using /usr/bin/env?
The reality is /usr/bin/env is just fine. The problem is that env was not originally intended as a cure-all for automatically resolving binary paths. It will fail if it cannot find, for example, ruby in its path. Also, the default system PATH does not include paths for the pkgsrc layer installed by Joyent (/opt/local). Your best option is to set those values in an interactive login profile (for example, the root .profile).
To see the path that is set for your processes, use the pargs command. For example, to see the path set for the munin-node process, run this:
| Chances are you will see it run with a limited PATH. |
This normally is not a problem in your login shells because login shells pull the full env from /root/.profile. However, this is a problem with utilities that run with a limited environment by default, such as SMF or Cron.
So, you want to do one of the following:
- Always use full paths for the shebangs you include in scripts. This can get tedious, especially with third-party scripts.
- Modify the system profile to include full PATH.

You should avoid doing this if possible. - Change your SMF profile to set the right PATH.
The third option is the best option. Joyent recommends that you always set PATH in SMF profiles.
Here is an example of mongrel setting the path:
What is preventing Cron from running a script?
One of two things can cause this:
Path issue: Cron runs under a different environment. A best practice is to always use full paths to any program that gets called in a script. For example if you are backing up MySQL with mysqldump, you need to call that program with:
Permissions issue: Ensure that the script is executable and the Cron credentials you are using have the correct permissions. This includes:
- execute all programs in the script
- write to the directory (if backing up)
- access the database (if accessing a database)
How do I prevent log rotation from occurring during Apache maintenance?
Log file rotation occurs at 0030 GMT. If you notice Apache going into maintenance during that time, you may need to adjust when your server rotates log files.
- Log into Virtualmin.
- In the left pane, follow one of two paths:
- For older versions of Virtualmin: System Settings > Module Config > Log File Rotation
- For newer versions of Virtualmin: System Settings > Server Templates > Default Settings > Log File Rotation
- Change the Directives field to # postrotate and click Save.
- At the top of the left pane, click Webmin.
- Go to: System > Log File Rotation > Edit Global Options
- Change the Truncate log file in place option to Yes and click Save.
| Joyent provides Virtualmin as a third-party administrative portal to help you manage your SmartMachine. However, Joyent is not responsible for supporting it because Virtualmin is open source. As such, Joyent will make the best effort to solve your problems. However, you may need to turn to the Virtualmin Support community for further support. |
How do I fix existing domains?
Check /opt/local/etc/logrotate.conf and if any config blocks resemble the following:
Remove the contents of the curly brackets. For example:
Why does Apache restart at 0310?
Verify your settings are correct.
- Open /etc/logadm.conf
- Look for this:
- Change it to this:
How do I add more SmartMachines to an existing account?
You can add more SmartMachines through your my.joyentcloud.com. These machines are created without respect to any existing infrastructure you may have. If you have special requirements to ensure that your SmartMachine are set up to work well with your existing infrastructure you can contact Joyent Support at support@joyent.com with your request.
The inetd service is in maintenance mode. How do I fix it?
You can use svcs -vx to check the status of inetd. The svcs -vx command displays the status of services that may require maintenance or provide a status description for the specified service or services. If inetd is in maintenance, you will see messages similar to the following in the log file:
Follow these steps to take the service out of maintenance and enable it:
| Add it to the section that contains other property value entries for inetd. |