How can I arbitrarily change the title of a Terminal window in Mac OS X? I have seen this question and this magicwrap thing, but think it's just a simple Mac OS X command.
I've been using Coda recently. It's a great program, but overkill for just a multi session Mac terminal app. Know of a better alternative, especially with a command snippet library function?
Hi,
I am running ubuntu 9.10. At the sudden the CPU goes crazy and when I do top, it is used by a command called 'dd' and it is run by USER 'root'. It keeps going to for 15 minutes.
Can you please tell what is it doing? and if I can kill it by reboot my machine?
Thank you.
Iam using wkhtmltopdf 0.10.0 rc2 on a : Linux 3.2.0-24-generic #38-Ubuntu x86_64 GNU/Linux
I can't create pdf's with margin-top or margin-bottom (no errors)
I'm using the command bellow: wkhtmotopdf -T 50 -B 50 http://google.com ./test.pdf wkhtmotopdf --margin-top 50 --margin-bottom 50 page.html ./test.pdf
When i try this: wkhtmotopdf -L 50 -R 50 -T 50 -B 50 page.html ./test.pdf Margin left and right works perfect (still no margin-top/margin-bottom)
it dosn't matter wich URL or page i convert
Hi
I want to install java on my fedora 8 server
but come to the step 9 that is mention in http://fedorasolved.org/browser-solutions/java-i386
but at the step 10 when i enter the command ln -s /opt/jre1.6.0_18/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/mozilla/plugins/libjavaplugin_oji.so
it gives following error
ln -s /opt/jre1.6.0_18/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/mozilla/plugins/libjavaplugin_oji.so
ln: creating symbolic link `/usr/lib/mozilla/plugins/libjavaplugin_oji.so': No such file or directory
can you help me please?
I've come quite close to getting Amazon Linux to boot inside VirtualBox, thanks to this answer and these websites. A quick overview of the steps I've taken:
Launch EC2 instance with Amazon Linux 2011.09 64-bit AMI
dd the contents of the EBS volume over ssh to a local image file.
Mount the image file as a loopback device and then to a local mount point.
Create a new empty disk image file, partition with an offset for a bootloader, and create an ext4 filesystem.
Mount the new image's partition and copy everything from the EC2 image.
Install grub (using Ubuntu's grub-legacy-ec2 package, not grub2).
Convert the image file to vmdk using qemu-img.
Create a new VirtualBox VM with the vmdk.
Now the VM boots, grub loads, and the kernel is found. But it fails when it tries to mount the root device:
dracut Warning: No root device "block:/dev/xvda1" found
dracut Warning: Boot has failed. To debug this issue add "rdshell" to the kernel command line.
dracut Warning: Signal caught!
dracut Warning: Boot has failed. To debug this issue add "rdshell" to the kernel command line.
Kernel panic - not syncing: Attempted to kill init!
Pid: 1, comm: init Not tainted 2.6.35.14-107.1.39.amzn1.x86_64 #1
I have tried changing /boot/grub/menu.lst to find the root device by label and UUID, but nothing works. I'm guessing the xen kernel is not compatible with VirtualBox.
The reasoning behind all this effort is to make a Vagrant box that is as close to possible as the production enviroment, so deploys can be tested locally. I know it's cheap to do test runs on EC2, but poor connectivity often ruins the experience. Plus it would be really nice to have a virtual machine with the production environment so that co-workers don't have to install everything under the sun just to get up and running with app development.
If I were to try running a different kernel, what kernel could I get to be as close as possible to Amazon Linux 2011.09?
mysqld_multi stop 1 followed by (repeatedly, a few moments later)
mysqld_multi report 1 returns:
Reporting MySQL servers
MySQL server from group: mysqld1 is running
The instances work fine and when I reboot, I have to start the instances to get them to come back up (a separate issue I need to resolve), but the stop command doesn't seem to do anything.
It truly doesn't stop the instance because in the instance log file I see this:
120619 11:12:39 mysqld_safe A mysqld process already exists after trying to run start after.
This Mac Pro has dual SuperDrives both upper/lower drivebays, which could be independently ejected via the menubar under 10.5. After upgrading to 10.6, the upper drive no longer responds to the menu command. The eject button has to be hand-pressed with a paperclip to open (but a loaded disc can still be ejected via dragging to the trash).
Sounds like a simple setting somewhere, except I can't find it to re-enable the second drive.
I have done the following in an attempt to host a Rails 3.2.3 application using Apache 2.2.21 and Passenger 3.0.13:
Installed gem Passenger
rvmsudo passenger-install-apache2-module
Added website info in /etc/apache2/extra/httpd-vhosts.conf
Added line to /etc/hosts (not sure if this was needed or not; not mentioned in Passenger documentation
Uncommented out the line in /etc/apache2/httpd.conf to Include /etc/apache2/extra/httpd-vhosts.conf
Restarted Apache
When I try to pull up my website the following displays:
Index of /
Name Last modified Size Description
Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/0.9.8r DAV/2 PHP/5.3.10 with Suhosin-Patch Phusion_Passenger/3.0.13 Server at lightbesandbox2.com Port 443
Here is /etc/hosts entry for the website:
127.0.0.1 www.lightbesandbox2.com
Here is my /etc/apache2/extra/httpd-vhosts.conf entry for the website:
NameVirtualHost *:80
<VirtualHost *:80>
ServerName www.lightbesandbox2.com
ServerAlias lightbesandbox2.com
PassengerAppRoot /Users/server1/Sites/iktusnetlive_RoR/
DocumentRoot /Users/server1/Sites/iktusnetlive_RoR/public
<Directory /Users/server1/Sites/iktusnetlive_RoR/public>
AllowOverride all
Options -MultiViews
</Directory>
</VirtualHost>
When I do rvmsudo passenger-status I get the following output:
----------- General information -----------
max = 6
count = 1
active = 0
inactive = 1
Waiting on global queue: 0
----------- Application groups -----------
/Users/server1/Sites/iktusnetlive_RoR/:
App root: /Users/server1/Sites/iktusnetlive_RoR/
* PID: 8140 Sessions: 0 Processed: 2 Uptime: 20m 51s
None of my assets are in the public folder in my Rails app. I have written an application using the template presented in Michael Hartl's Ruby on Rails Tutorial. The home page is in /app/views/static_pages/home.html.erb. I decided to copy an index.html file in the public folder to see if it would display. It displayed as I had hoped..
Is there a way to get Passenger to find my assets without me having to rewrite my application?
Any help would be appreciated.
Update 6/23/2012 10:00 am CDT GMT-6
I corrected the problems with my file and have successfully executed the rake assets:precompile command. I still get the index page as before. I have made no other changes. I did a passenger-status command and it is still loaded. Restarting Apache did nothing.
I try gnome-shell in ubuntu by used gnome-shell --replace command
It work well but I think font size in the shell panel is too big.
Is possible to custom font size in gnome-shell panel?
Thank you.
I can't seem to remove a particular song from one of my playlists, but keep it in my collection. Pressing "delete" or "command+delete" doesn't seem to do anything. Option+delete asks me if I want to remove it from my music library, which is not what I want.
help!
This q is similar to: http://serverfault.com/questions/39070/how-to-move-exchange-2003-mailbox-or-store-from-2003-to-2007-on-separate-networks
Basically I am trying to move our exchange mailboxes over to a test domain that is hosting EBS2008 with Exchange 2007. We plan to move as soon as we can when we have our exchange data over.
I have tried moving a db with mailboxes over but cannot get it to mount in the new Exchange in any way possible, including mounting it onto a recovery store. From my understanding the ONLY prerequisite for moving Exchange DBs across is that it must have the same Organizational name (unlike previous versions of Exchange). If anyone has any insight as to why I cannot mount and simply reattach the mailboxes, please give me an idea as to what could be wrong. It should be as simple as this. Note that the DBs I have are in a clean state.
I cannot use ExMerge because I am not running any mailboxes on 2003.
I have also tried using a 32bit Vista machine with the Export-Mailbox cmdlet to extract mailboxes but anything I do to it results in Permission errors. I have tried to troubleshoot these with no success. I am running in full admin with proper exchange roles and yet it still gives me access denied errors:
Export-Mailbox : MapiExceptionNetworkError: Unable to make admin interface conn
ection to server. (hr=0x80040115, ec=-2147221227)
Also some errors show in the management console:
get-MailboxDatabase
Completed
Warning:
ERROR: Could not connect to the Microsoft Exchange Information Store service on server TATOOINE.baytech.local. One of the following problems may be occurring: 1- The Microsoft Exchange Information Store service is not running. 2- There is no network connectivity to server TATOOINE.baytech.local. 3- You do not have sufficient permissions to perform this command. The following permissions are required to perform this command: Exchange View-Only Administrator and local administrators group for the target server. 4- Credentials have been cached for an unpriviledged user. Try removing the entry for this server from Stored User Names and Passwords.
Why I have to use a 32bit machine to export a simple .pst file is beyond me...
So yeah I am now out of ideas and any help would be great!
Thanks in advance.
Hello everyone
I'm looking for a tool for linux which can segment a video file into multiple small .ts files. I know one for Mac OS X called media file segmenter which is a simple command line tool. I really appreciate if anyone can point me to an equivalent linux tool.
I don't know if these types of non-programming questions are allowed on this site. my apologies for that.
Any idea why this error happen when accessing nginx?
uwsgi is running with the command:
/usr/sbin/uwsgi --socket /home/user/run/project.sock --chmod-socket --pidfile /home/user/project/uwsgi.pid --module project.wsgi_app --pythonpath /home/user/ -p 4
/home/user/project/wsgi_app.py:
import sys
import os
sys.path.append(os.path.abspath(os.path.dirname(file)))
sys.path.append('/home/user/project')
os.environ['DJANGO_SETTINGS_MODULE'] = 'project.settings'
import django.core.handlers.wsgi
application = django.core.handlers.wsgi.WSGIHandler()
Any help is appreciated.
Hi all,
I am experimenting with FreeBSD and have used Gentoo in the past. In Gentoo, we have make.conf where we can specify global use flags, and /etc/portage/package.use for package-specific use flags.
I found a reference indicating that if you want to customize ports in FreeBSD, you have to pass them on the command-line meaning you will lose those customizations if you forget or simply by doing updates.
Any ideas?
Walter
I am following the basic "Getting Started" guide: http://docs.vagrantup.com/v2/getting-started/index.html
I ran vagrant init <etc> followed by vagrant up, but it fails with "NS_ERROR_CALL_FAILED" error.
Then by enabling debug logging with VAGRANT_LOG=debug vagrant up, I get the following error output:
ERROR vagrant: /Applications/Vagrant/embedded/gems/gems/vagrant-1.2.2/plugins/providers/virtualbox/driver/base.rb:316:in `execute'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.2.2/plugins/providers/virtualbox/driver/version_4_2.rb:165:in `import'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.2.2/plugins/providers/virtualbox/action/import.rb:15:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.2.2/lib/vagrant/action/warden.rb:34:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.2.2/lib/vagrant/action/builtin/handle_box_url.rb:72:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.2.2/lib/vagrant/action/warden.rb:34:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.2.2/plugins/providers/virtualbox/action/check_accessible.rb:18:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.2.2/lib/vagrant/action/warden.rb:34:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.2.2/lib/vagrant/action/runner.rb:61:in `block in run'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.2.2/lib/vagrant/util/busy.rb:19:in `busy'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.2.2/lib/vagrant/action/runner.rb:61:in `run'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.2.2/lib/vagrant/action/builtin/call.rb:51:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.2.2/lib/vagrant/action/warden.rb:34:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.2.2/lib/vagrant/action/builtin/config_validate.rb:25:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.2.2/lib/vagrant/action/warden.rb:34:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.2.2/plugins/providers/virtualbox/action/check_virtualbox.rb:17:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.2.2/lib/vagrant/action/warden.rb:34:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.2.2/lib/vagrant/action/builder.rb:116:in `call'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.2.2/lib/vagrant/action/runner.rb:61:in `block in run'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.2.2/lib/vagrant/util/busy.rb:19:in `busy'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.2.2/lib/vagrant/action/runner.rb:61:in `run'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.2.2/lib/vagrant/machine.rb:147:in `action'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.2.2/lib/vagrant/batch_action.rb:63:in `block (2 levels) in run'
INFO interface: error: There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.
Command: ["import", "/Users/me/.vagrant.d/boxes/precise32/virtualbox/box.ovf"]
Stderr: 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Interpreting /Users/me/.vagrant.d/boxes/precise32/virtualbox/box.ovf...
OK.
0%...
Progress object failure: NS_ERROR_CALL_FAILED
My system setup info:
Vagrant 1.2.2
VirtualBox 4.2.14 (Also tried 4.2.10, same error)
Mac OSX 10.8.3
Hi All,
I've configured ADSL and added a new public LAN ips for the router. How can I reconnect DSL connection and apply the new configuration without executing the command reload
this is the commands I am using for DSL configuration
config terminal
interface dialer 0
ppp chap hostname User
ppp chap password 0 Pass
exit
exit
wr mem
and this is the commands I am using for adding IP addresses:
configure t
interface vlan 1
ip address xx.xx.xx.xx 255.255.255.252 Secondary
exit
wr mem
thank you
How do I find out which architecture my Sun 280R is based on (eg . 501-6485 or 501-6690 etc)
The command arch returns "sun4". Im running Solaris 10
Thanks
Hello,
I have a web server with multiple users in it. one of these users uses mambo, and the cpu usage of this user is more than 90% which leads to a very slow performance of the machine,
I have installed cpulimit version 1.1. but there is no particular command that limits the cpu per user. I need to limit this user for at least 50% . please help me ASAP.
Thank you.
I am using a MacBook Pro running Mac OS X 10.5. I am new to this development environment, and previously worked on Windows.
I am wondering whether on Mac there is similar tools like Putty or XTerm used on Linux/Windows (SSH client with more handy features than command line)?
Thanks in advance.
Suppose i send a mail using the following the following command:
mailx [email protected]
then does mailx first try to find out the SMTP server of my ISP for relaying the mail or does it connect directly. Does it depend on whether my PC has a public IP address or it is behind a NAT.
How do I check the settings of mailx on my PC?
How can I verify this using tcpdump?
This was totally an isolated incident, but I performed this command:
ping 192.168.1.134
and got this result [image]:
Pinging 192.168.1.134 with 32 bytes of data:
Reply from 192.168.1.133: Destination host unreachable.
Reply from 192.168.1.134: bytes=32 time=75ms TTL=128
Reply from 192.168.1.134: bytes=32 time=83ms TTL=128
Reply from 192.168.1.134: bytes=32 time=96ms TTL=128
note the .133 in the first 'unreachable' reply. I guess I don't understand how this is possible - even given a totally crazy coincidence.
Hi all,
Is there a good way to get gVim working as an IDE replacement? I'm moreso looking for suggestions for Intellisense-type plugins...code completion...maybe easy directory browsing (other than the standard 'edit.' command).
I'm building embedded applications in C...so I have no need to incorporate any debugging elements, and for the build process I can just have a console window open to call my batch file whenever it is required (or if I could call it through some hotkey combination in gVIM...that would be awesome as well).
Hi,
I have done something quite silly and not sure how to fix it.
I modified some of the gnome keyboard short cuts and was trying to disable the "Run Application" command. In the process I assigned it to the delete key and every time I hit delete the "Run Application" window comes up.
It would not normally be a problem but the "Keyboard Shortcuts" no long has the short cut in the window so I can't disable it.
Any help advice would be appreciated.
Cheers
Ben