No export command in Nexus 1010
Hi all,
We want to do a backup of a virtual-service-blade in a Nexus 1010. The document we are following is:
http://www.cisco.com/en/US/docs/switches/datacenter/nexus1000/sw/4_2_1_s_p_1_3/software/configuration/guide/n1010_vsvcs_cfg_7backup.html
What we are supposed to do fron this document is to create a file named export-import, to shutdown the primary o secondary virtual service blades, and after it, to execute the command "export primary" o "export secondary", depending on which vsb we want to export.
========= DETAILED STEP IN THE DOCUMENT ================
n1010-1(config-vsb-config)# export secondary
Note: export started..
Note: please be patient..
Note: please be patient..
Note: please be patient..
Note: export completed...n1010-1(config-vsb-config)#
====================================================
The problem is that this "export" command is not available in our nexus 1010.
=========== NEXUS 1010 ===============================
N1010-MGMT(config-vsb-config)# export secondary
^
% Invalid command at '^' marker.
N1010-MGMT(config-vsb-config)#
N1010-MGMT(config-vsb-config)#
N1010-MGMT(config-vsb-config)# ?
description Virtual service blade description
disksize Configure disk size
enable Deploy/remove the virtual service blade
interface Configure virtual service blade interface vlan
no Negate a command or set its defaults
numcpu Configure numcpu
ramsize Configure ram size
shutdown Start/stop the virtual service blade
virtual-service-blade-type Select the virtual service blade type
end Go to exec mode
exit Exit from command interpreter
pop Pop mode from stack or restore from name
push Push current mode to stack or save it under name
where Shows the cli context you are in
=====================================================
The version of the nexus is the same than the document's one.
Document: 4.2(1)SP1(3) ==> Nexus 1010: version 4.2(1)SP1(2)
Software
loader: version unavailable [last: loader version not available]
kickstart: version 4.2(1)SP1(2)
system: version 4.2(1)SP1(2)
kickstart image file is: bootflash:/nexus-1010-kickstart-mz.4.2.1.SP1.2.bin
kickstart compile time: 1/27/2011 14:00:00 [01/28/2011 01:14:35]
system image file is: bootflash:/nexus-1010-mz.4.2.1.SP1.2.bin
system compile time: 1/27/2011 14:00:00 [01/28/2011 04:13:25]
Hardware
cisco Nexus 1010 Chassis ("Cisco Nexus1010 Chassis")
with 14665728 kB of memory.
Processor Board ID T023D700201
We don't know which can be the problem, wheter it can be a bug in the software, or we are doing something wrong.
Thank you
The export command was a new feature added in the 4.2(1)SP1(3) version of code. Your 1010 is one rev lower.
You'll need to upgrade the code on the 1010 to the latest code to get the export command.
The upgrade is pretty straight forward. Just download the code and follow the upgrade guide.
louis
Similar Messages
-
Nexus 1010 can not erase export-import folder
Hi Expert,
After we import the backup vsb. We try to erase the export-import folder. But system show "Device or resource busy". So we can not execute more export or import command. Please reference the below image and help us to fix this issue.
Ps. The Nexus 1010 version is "4.2.1.SP1.4"Hello Meng,
I was able to recreate this problem in the lab. It appears it only occurs when importing a secondary VSB. A 'system switchover' of the N1010s frees the NFS locks. Not an ideal workaround, but a workaround.
CSCtz44247 has been opened for this problem.
Matthew -
Nexus 1010 - Issue copying s/w onto device using SCP.
Hi
I'm trying to copy the new version of s/w ( nexus-1000v.4.2.1.SV1.4.iso) onto a Nexus 1010 switch using the command:
copy scp: bootflash:repository
The software starts to copy but unfortunately only gets to around 10% complete before failing. It's almost like it's getting stuck for some reason?
The file is quite large (163Mb), however, there is plenty of space on the disk (see below) so I cannot understand while this is happening.
switch# dir bootflash:repository
16384 Nov 05 17:48:52 2010 lost+found/
156403712 Nov 05 17:52:02 2010 nam-4-2-1.iso
133965824 Nov 05 17:53:02 2010 nexus-1000v.4.0.4.SV1.3b.iso
Usage for bootflash://sup-local
305950720 bytes used
3685429248 bytes free
3991379968 bytes total
Does anyone have any suggestions as to why this is happening? Below is the exact output from the box:
switch# copy scp: bootflash:repository
Enter source filename: nexus-1000v.4.2.1.SV1.4.iso
Enter vrf (If no input, current vrf 'default' is considered):
Enter hostname for the scp server: 10.214.30.56
Enter username: 00000001
[email protected]'s
password:
nexus-1000v.4.2.1.SV1.4.iso 9% 15MB 0.0KB/s - stalled -Read from remote host 10.214.30.56: Connection reset by peer
lost connectionHi guys,
Any ideas on this? -
Nexus 1010 Virtual Services Appliance and VN-Link Hardware
All,
We are deploying the Nexus 1010 Virtual Services Appliance for the purpose of using the Network Analysis Module (NAM). The 1010 hosts the VSM's necessary to deploy the 1000v switch in ESX. We would also like to use VN-Link in hardware whereby we "bypass" the virtual switch and use the 6120's for the switching. What I need to know is can the 1010 still analyze the network traffic using VN-Link hardware? VN-Link hardware doesn't appear to need a VSM so I am thinking the 1010 cannot monitor the traffic since there will be no 1000v to "attach" to. Can anyone shed some light on this?
Regards,
KenKen
The NAM module present in the 1010 is not exclusive for Nexus1000v traffic.
Its there as part of an appliance which happens to be the VSM (1000v) and is configured on its own.
If you look at the Nexus1000v, the VSM (which is the 1010 and holds the NAM in this case) is *not* part of the VM data path.
It is looked up for initial virtual port (veth) instantiation but after that traffic doesn't go through it.
So to send VM data traffic to the NAM module for analysis, some other mechanism (like ERSPAN) is used to route data traffic from VM's to it.
The Nexus 1000v support ERSPAN.
Same logic applies that you have a NAM module somewhere else - the 1000v can send traffic to it via ERSPAN.
Looking at VN-link in hardware - It does have a VSM which is the FI itself.
The veth in this case is on the FI.
If the FI did support ERSPAN (which it doesn't currently) you could use the same NAM module or any other NAM module to send traffic to it.
So its not a limitation of VN-link in hw switching methodology vs 1000v switching, but the fact that the FI doesn't support an "export" mechanism yet.
Hope it help
Thanks
--Manish -
Nexus 1010 - No MGMT0 Access?
Hi all, I hope someone here can help!
I am setting up a Cisco Nexus 1010 appliance, but cannot access it through the MGMT0 interface!
What I am trying to do is copy over the 1000V .iso file to install a vsm, but I can not even ping the mgmt0 interface.
I have booted from the 4.2(1)SP1(3) iso, ran through the initial setup where I set the uplink type, domain id, vlan id and mgmt0 ip details.
Current config and sh tech attached
Let me know what other information I should post!
Kind regards, Ash.Hi everyone,
I have a problem, similar to Ashley's in regards to reachability of N1010 in my lab...
I'm using network-uplink type 1 as it would be more than enough for my lab deployment. I have configured the CIMC and can reach/configure the device from there pretty easily. But, no matter how I try, I can't seem to get management access.
The N1010 is connected via it's Lom0 port to a Catalyst (at Fa0/10), which is configured as a trunk port. I'm using Vlan10 for all purposes...
The uplink switch has a configuration like this:
interface VLAN10
ip address 10.2.1.66 255.255.255.128
no ip directed-broadcast
no ip route-cache
interface FastEthernet0/10
description NEXUS_1010_TEST-LOM0
switchport trunk encapsulation dot1q
switchport trunk native vlan 10
switchport mode trunk
And the show running-config output from the Nexus1010 shows this:
!Command: show running-config
!Time: Tue Jun 5 21:21:59 2012
version 4.2(1)SP1(4)
no feature telnet
username admin password 5 $1$GW2TtGHE$oHUMu5em2..2XvSqJDlMb. role network-admin
banner motd #Nexus 1010#
ip domain-lookup
ip domain-lookup
switchname N1010-ANK
snmp-server user admin network-admin auth md5 0xbc6feda9b778b02e324d11adda844e5c
priv 0xbc6feda9b778b02e324d11adda844e5c localizedkey
vrf context management
ip route 0.0.0.0/0 10.2.1.126
vlan 1,10
port-channel load-balance ethernet source-mac
port-profile default max-ports 32
vdc N1010-ANK id 1
limit-resource vlan minimum 16 maximum 2049
limit-resource monitor-session minimum 0 maximum 2
limit-resource vrf minimum 16 maximum 8192
limit-resource port-channel minimum 0 maximum 768
limit-resource u4route-mem minimum 32 maximum 32
limit-resource u6route-mem minimum 16 maximum 16
limit-resource m4route-mem minimum 58 maximum 58
limit-resource m6route-mem minimum 8 maximum 8
network-uplink type 1
interface GigabitEthernet1
interface GigabitEthernet2
interface GigabitEthernet3
interface GigabitEthernet4
interface GigabitEthernet5
interface GigabitEthernet6
interface PortChannel1
interface mgmt0
ip address 10.2.1.40/25
interface control0
line console
boot kickstart bootflash:/nexus-1010-kickstart-mz.4.2.1.SP1.4.bin
boot system bootflash:/nexus-1010-mz.4.2.1.SP1.4.bin
boot kickstart bootflash:/nexus-1010-kickstart-mz.4.2.1.SP1.4.bin
boot system bootflash:/nexus-1010-mz.4.2.1.SP1.4.bin
svs-domain
domain id 200
control vlan 10
management vlan 10
svs mode L2
vnm-policy-agent
registration-ip 0.0.0.0
shared-secret **********
log-level info
In no way I can access the mgmt0 interface IP from the network, or vice-versa.
The weird part is, I can see the Nexus in CDP neighbours, and I also can see the mac address of the mgmt0 interface on the switch (along with a correct IP assignment in arp table).
DemoSW#sh cdp nei
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
S - Switch, H - Host, I - IGMP, r - Repeater
Device ID Local Intrfce Holdtme Capability Platform Port ID
N1010-ANK(1157310Fas 0/10 126 S I Nexus1010 control0
N1010-ANK(1157310Fas 0/10 126 S I Nexus1010 mgmt0
N1010-ANK(QCI1614Fas 0/10 126 H Nexus1010 eth0
DemoSW#
DemoSW#sh mac-address-table interface fa0/10
Non-static Address Table:
Destination Address Address Type VLAN Destination Port
0002.3d70.c800 Dynamic 10 FastEthernet0/10
0002.3d70.c801 Dynamic 10 FastEthernet0/10
0010.18cf.7886 Dynamic 10 FastEthernet0/10
36ce.bc88.c2d9 Dynamic 10 FastEthernet0/10
DemoSW#sh arp | incl 0002.3d70.c801
Internet 10.2.1.40 0 0002.3d70.c801 ARPA VLAN10
DemoSW#ping 10.2.1.40
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.2.1.40, timeout is 2 seconds:
Success rate is 0 percent (0/5)
DemoSW#
Any ideas??? -
VSM as VM in vSphere or inside Nexus 1010
Hello all,
I have a question regarding the difference from VSM built inside a Virtual Machine in VMware versus the one inside Nexus 1010 in terms of communication with vCenter.
According to this:
http://www.cisco.com/en/US/docs/switches/datacenter/nexus1000/sw/4_0/troubleshooting/configuration/guide/trouble_17system.html
;Each VSM uses a unique extension key to communicate with vCenter Server and perform operations on a DVS.
Extension Key
The VSM uses the extension key when communicating with the vCenter Server. Each VSM has its own unique extension key, such as Cisco_Nexus_1000V_32943215
Use the show vmware vc extension-key command to find the extension key of the VSM. It is also listed in the .xml file.
The extension key registered on the vCenter Server can be found through the MOB.
The same extension key cannot be used to create more than one DVS on the vCenter Server.
Is this true also for a VSM hosted inside Nexus 1010?
Thank you!Thanks for quick answer.
In this case I have some additional question. In case of a VSM in VM and the vCenter in the same switched area it was easy to maintain L2 connection.
In case of Nexus 1010 VSM I might have to deploy it in a different area, so the connection from the vCenter to Nexus 1010 VSM will be a L3 connection.
My point is, do I need to have mandatory L2 communication between VSM and vCenter or L3 will be also OK as long I have reachability. I read a dozen papers and I got a little bit confused. I remember that L3 would be just fine, but I want to confirm before starting to design.
Thanks! -
We are installing Nexus 1010 using the topology 3 connection and we will configure VSB DCNM.
1st Question
Topology 3, use the interfaces 1 and 2 for traffic management vlan and I want to know if I can connect these interfaces to my segment from out of band or needs to go connected on the segment from server.
2nd Question
we are going to configure DCNM on Nexus 1010 which must have comunication with the management interfaces from the other nexus switch through of the network out of band. Management interfaces of VSMS should be on the same network OOB? or must be on another network?
Thanks in advanceHi,
Yes, it is possible. When you login as admin and you want to get to another vdc, you just use this command:
switchto vdc
This will take to the that vdc. If you want to switch back to the admin vdc, you just type "switchback"
HTH -
Could not complete the export command because of an application error
Every once in awhile I get the error, "Could not complete the export command because of an application error" when using the Save for Web option. It's really confusing because the error is not consistent. I don't get it all the time. In fact, 99% of the time I can save with no problems. When I quit Photoshop and reopen my files they seem to save just fine. Does anyone know why this happens, and how to prevent it from happening in the future?
Here are my specs:
Macintosh: iMac
OS: 10.6.8
Photoshop: CS3 (v10.0.1)
Any help is greatly appreciated!No idea about the specific issue, but I like to pass on some general advice I have received myself here over time:
Boilerplate-text:
Are Photoshop and OS fully updated?
As with all unexplainable Photoshop-problems you might try trashing the prefs (after making sure all customized presets like Actions, Patterns, Brushes etc. have been saved and making a note of the Preferences you’ve changed) by pressing command-alt-shift on starting the program or starting from a new user-account.
System Maintenance (repairing permissions, purging PRAM, running cron-scripts, cleaning caches, etc.) might also be beneficial, Onyx has been recommended for such tasks.
http://www.apple.com/downloads/macosx/system_disk_utilities/onyx.html
Weeding out bad fonts never seems to be a bad idea, either. (Validate your fonts in Font Book and remove the bad ones.)
If 3rd party plug-ins are installed try disabling them to verify if one of those may be responsible for the problem. -
Could not complete the export command because the file could not be found
When I try to save for web, Photoshop pops up a dialog box that says "could not complete the export command because the file could not be found".
What is the solution for this?Please provide more information (Photoshop version, OS, target volume, …).
Does the file’s or one of the folders’ name contain problematic letters (slash etc.)?
Boilerplate-text:
Are Photoshop and OS fully updated and have you performed the usual trouble-shooting routines (trashing prefs by keeping command-alt-shift/ctrl-alt-shift pressed while starting Photoshop after making sure all customized presets like Actions, Patterns, Brushes etc. have been saved and making a note of the Preferences you’ve changed, 3rd party plug-ins deactivation, system maintenance, cleaning caches, font validation, etc.)? -
Post Author: markeyjd2
CA Forum: Exporting
Greetings forum members,
My question is, in its entirety: Can a single report (rpt file) create multiple PDF files using the export command, ideally one PDF file per DB record?
In my case; I have a Crystal Report that reads data from a DB table containing ~ 500 records. When I export the report to a PDF file, I get one PDF file, with ~ 500 pages.
What I would like to do is export the report to ~ 500 individual PDF files; One file per DB record. The file names would be based on the table's primary key.
Is this possible?Post Author: Micha
CA Forum: Exporting
Hi,
you need some lines of code, but its easy. Dependend on how to start the generation of your 500 PDFs, you can write an ASP page and start it via Web Browser, or a Windows Script and start it via scheduled job...
Here's an abstract of the ASP code I use:
First, you create a recordset (here: "rsc") which gives you the list of ID fields you want to export, then you create CrystalRuntime.Application object, then you loop through the recordset, open your report (here: "oRpt") and set login info. Then set the selectionformula, so that the report displays only the data of the current ID, e.g.:
oRpt.RecordSelectionFormula = "(" & oRpt.RecordSelectionFormula & ") AND {myTab.myVal}=" & rsc("myVal")
Then you export the report, move to the next record in recordset, and repeat the loop until recordset.EOF. Then you close recordset and connection.
Micha -
Nexus 1010 HA Active with warm standby
I have deployed two 1010 appliances, the upstream switches are two 6509 wihtout VSS.
I cannot get the HA up.
Output of show module is:
Mod Ports Module-Type Model Status
1 0 Nexus 1010 (Virtual Services App Nexus1010 active *
2 0 Virtual Supervisor Module powered-up
Mod Sw Hw
1 4.2(1)SP1(3) 0.0
Mod MAC-Address(es) Serial-Num
1 00-19-07-6c-5a-a8 to 00-19-07-6c-62-a8 NA
Mod Server-IP Server-UUID Server-Name
1 10.146.102.10 NA NA
Output of show system redundancy status is :
Redundancy role
administrative: primary
operational: primary
Redundancy mode
administrative: HA
operational: None
This supervisor (sup-1)
Redundancy state: Active
Supervisor state: Active
Internal state: Active with warm standby
Other supervisor (sup-2)
Redundancy state: Standby
Error in getting supervisor and internal state of other supervisor.
and the output of show system internal redundancy info is:
My CP:
slot: 0
domain: 25
role: primary
status: RDN_ST_AC
state: RDN_DRV_ST_AC_SB
intr: enabled
power_off_reqs: 0
reset_reqs: 9
Other CP:
slot: 1
status: RDN_ST_SB
active: true
ver_rcvd: true
degraded_mode: true
Redun Device 0:
name: ha0
pdev: f37e8640
alarm: true
mac: ff:ff:ff:ff:ff:ff
tx_set_ver_req_pkts: 319
tx_set_ver_rsp_pkts: 0
tx_heartbeat_req_pkts: 61193
tx_heartbeat_rsp_pkts: 0
rx_set_ver_req_pkts: 0
rx_set_ver_rsp_pkts: 0
rx_heartbeat_req_pkts: 0
rx_heartbeat_rsp_pkts: 0
rx_drops_wrong_domain: 0
rx_drops_wrong_slot: 0
rx_drops_short_pkt: 0
rx_drops_queue_full: 0
rx_drops_inactive_cp: 0
rx_drops_bad_src: 0
rx_drops_not_ready: 0
rx_drops_wrong_ver: 0
rx_unknown_pkts: 0
Redun Device 1:
name: ha1
pdev: f37e8240
alarm: false
mac: 00:02:3d:70:19:81
tx_set_ver_req_pkts: 314
tx_set_ver_rsp_pkts: 0
tx_heartbeat_req_pkts: 61193
tx_heartbeat_rsp_pkts: 0
rx_set_ver_req_pkts: 0
rx_set_ver_rsp_pkts: 5
rx_heartbeat_req_pkts: 0
rx_heartbeat_rsp_pkts: 61165
rx_drops_wrong_domain: 0
rx_drops_wrong_slot: 0
rx_drops_short_pkt: 0
rx_drops_queue_full: 0
rx_drops_inactive_cp: 0
rx_drops_bad_src: 0
rx_drops_not_ready: 0
rx_drops_wrong_ver: 0
rx_unknown_pkts: 0
Can anyone please help in resolving this issue.
Regards,
SabihHi Sabih,
For a Nexus 1010 pair to form HA redundancy, the communicate with each other via the Control VLAN. You would have specified this during your installation.
Can you verify that they are both utilizing the same Control VLAN.
n1010# show svs domain
Furthermore, ensure that this vlan is defined and forwarding, on the relevant ports, on the upstream 6509s.
Thanks,
Michael -
Hello
I have a problem with Nexus 1010 HA.
I have two Nexus 1010. One is configured as Primary and the other as Secondary.
I have a VSB (VSM type) created on both, enabled as Primary and Secondary respectively.
HA between VSMs works fine. But HA between Nexus is not working. Something is missed. Any ideas? Thank you!!!
Nexus 1010 - Primary
NX-1010-TB# sh system red status
Redundancy role
administrative: primary
operational: primary
Redundancy mode
administrative: HA
operational: None
This supervisor (sup-1)
Redundancy state: Active
Supervisor state: Active
Internal state: Active with no standby
NX-1010-TB# sh mo
Mod Ports Module-Type Model Status
1 0 Cisco Nexus1010 Chassis Nexus1010 active *
Mod Sw Hw
1 4.2(1)SP1(2) 0.0
Mod MAC-Address(es) Serial-Num
1 00-19-07-6c-5a-a8 to 00-19-07-6c-62-a8 NA
Mod Server-IP Server-UUID Server-Name
1 10.1.30.53 NA NA
Nexus 1010 - Secondary
switch# sh sys red st
Redundancy role
administrative: secondary
operational: secondary
Redundancy mode
administrative: HA
operational: None
This supervisor (sup-2)
Redundancy state: Active
Supervisor state: Active
Internal state: Active with no standby
Other supervisor (sup-1)
Redundancy state: Not present
switch# sh module
Mod Ports Module-Type Model Status
2 0 Cisco Nexus1010 Chassis Nexus1010 active *
Mod Sw Hw
2 4.2(1)SP1(2) 0.0
Mod MAC-Address(es) Serial-Num
2 00-19-07-6c-5a-a8 to 00-19-07-6c-62-a8 NA
Mod Server-IP Server-UUID Server-Name
2 0.0.0.0 NA NA
* this terminal sessionPrasad,
This means that there is some sort of a communication issue between the two Nexus 1010 switches in the control VLAN. You should probably check the upstream configuration on the ports that connect to the 1010 links carrying the control traffic and also the links involved in the control path.
Thanks,
Shankar -
Unable to run export command invalid username and password
i am trying to run export command to export the complete database but i am getting error of invalid user name and password
command
from root i am switching to
su- oracle
exp oracle/12345 file=03-2-2013BackupDB.dmp log=backuplog.log
ORA-01017: invalid username/password; logon denied
but when i use to login through putty it gives no error
oracle
12345
maybe i am doing something wrong sorry as i am newbie in oracle world
oracle 11gR2
Suselinux
Please help..................to make your database in archive log mode you need to give a downtime of your database for this you can do following steps.
if you are using spfile
1. shutdown the database.
2. startup in mount mode
3. use command 'alter database archivelog';
4. specify the archive log location using command
' alter system set log_archive_dest_1='LOCATION=location_path';'
5. specify archive log format as
'alter system set archive_log_format=your choice;'
6. enable the archive log dest using ' alter system set log_archive_dest_state_1=enable;' -
Export command throws error?
Hi All,
Greeting to all,
As i try to extract whole repository by export command,it throws error las below and doesn't export all xml files under repository.Although it exports many of files but not all.
So,can anyone give some suggestion why it comes and how to solve it?
java.lang.NullPointerException
java.lang.NullPointerException
at com.waveset.session.Exporter.exportObjects(Exporter.java:481)
at com.waveset.session.Exporter.exportObjects(Exporter.java:177)
at com.waveset.session.Exporter.exportObjects(Exporter.java:291)
at com.waveset.session.LocalSession.exportObjects(LocalSession.java:4567)
at com.waveset.session.WavesetConsole.cmdExport(WavesetConsole.java:1459)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.waveset.util.Console.callMethod(Console.java:555)
at com.waveset.util.Console.doCommand(Console.java:345)
at com.waveset.util.Console.interactiveConsole(Console.java:239)
at com.waveset.util.Console.run(Console.java:95)
at com.waveset.session.WavesetConsole.start(WavesetConsole.java:323)
at com.waveset.session.WavesetConsole.main(WavesetConsole.java:209)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.waveset.util.Command.runMain(Command.java:196)
at com.waveset.util.Command.launch(Command.java:175)
at com.waveset.util.Command.main(Command.java:303)
Thanks,
Nadeeb1. where is my tcsh history file?
You need to configure tcsh to save history. Something like this in .tcshrc or .login
set histdup=erase
set history=500
set savehist=500
The file .history will be created by the shell.
2. How to hinder the grayed out history in my tcsh window at start up?
I'm guessing that sourcing perlbrew's bashrc is screwing up tcsh when it attempts to read it. The path of least resistance would be to change your shell to bash so you can use perlbrew. If you want to keep tcsh as your interactive shell then source perlbrew's bashrc in the .bashrc in your home directory. Create a bash sub-shell by typing bash in your tcsh shell. -
Export: command not found
I have been trying to install something via MacPorts and was following a blog that described setting the PATH appropriately so that the port command would work, however when I updated .bash_profile as described in the blog and tried to source it, it gives me the error, "export: command not found."
currently echo $PATH returns: /Library/Frameworks/Python.framework/Versions/2.7/bin:/usr/bin:/bin:/usr/sbin:/ sbin:/usr/local/bin:/usr/X11/bin
Any thoughts on how to proceed?Please post the actual code.
Also are you sure you are using the 'bash' shell (or sh, ksh, zsh shells)? With all these shells 'export' is a built-in command and should never be "not found".
Could you be using the csh or tcsh shell? If you are using one of these shells, then setting environment variables is done using the 'setenv' command, which is also a csh/tcsh built-in.
Use the following command to see what your default shell is:
dscl . -read $HOME shell
If you have csh or tcsh as your shell, then use something like the following to set your PATH environment variable:
setenv PATH "$PATH:/the/stuff/you/are/adding"
Maybe you are looking for
-
Adobe Print Form Error - Invalid Response Code: (401) Unauthorized
Hi, I've just configured ADS on Netweaver 2004s. I've run through the config guide and everything works ok including the form generation test report FP_TEST_00 which outputs PDF without issue. I have two problems: -When I run a "test connection" on t
-
How to mute and lock screen rotation at the same time? Loved this feature in iOS 5.
How to mute and lock screen rotation at the same time? Loved this feature in iOS 5.
-
Itunes is asking repetitively to activate the apple id on the computer (2nd id) although computer is already activated for that id (Windows 8)
-
How to make the buggy DR8-A HD Burn work?
My HD Burn simply don't work. I have change to another new drive from the shop that I bought the DR8-A, but still the same!!! It is always the error - power calibration error when I am burning a 700MB with HD burn (tried SmartBuy, Sony and Imation,
-
How to use purchased music from itunes as ringtone
Trying to use music from my songs as ringtones, could do it on 4 don't know how to do it on 5s. Does anyone know? Please help..