9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
My below command fails with the error as shown:
$ sudo git clone git://github.com/ansible/ansible.git
Cloning into 'ansible'...
fatal: unable to connect to github.com:
github.com: errno=Connection refused
github.com: errno=Connection refused
The ping from my server to github.com is... (2 Replies)
Discussion started by: mohtashims
2. Shell Programming and Scripting
There is a website providing traffic camera images that gets updated every few minutes.
My aim is to download the images over time to get a view of traffic conditions through the day.
Image link, as taken from site source: http://www.checkpoint.sg/sg/2701
I tried... (2 Replies)
Discussion started by: Leion
Earlier my lpstat syntax is working on o/s, I have installed cups "cups-1.6.1" after that I'm not able to open the printer option in GUI and cannot do the query "lpstat -a"
Below is the error i'm getting..Request you to advice me the best to me.
lpstat: Bad Request
... (3 Replies)
Discussion started by: Mohammed Faiz
4. Shell Programming and Scripting
When using a browser and calling this url .. the data returns the proper range of information
ichart dot finance dot yahoo dot com/table.csv?s=YAHOO&a=3&b=14&c=2012&d=03&e=20&f=2012&g=d&ignore.csv
(geeze wont let me post url's sorry )
However in my script the formatting is messing up on... (4 Replies)
Discussion started by: harte
I'm trying to connect from an HP-UX with SSH2 client(ssh2 3.1.2 on hppa1.1-hp-hpux11.00) to an SSH2 server on a VxWorks system. The SSH connection is failing with the below connection logs:
> /usr/local/bin/ssh2 -v -l testuser 10.10.10.10
debug: Ssh2/ssh2.c:1391: Using file... (4 Replies)
Discussion started by: ysafi
6. Shell Programming and Scripting
I am currently trying to access an http site using the wget utility from a solaris box. I am going through proxies to do this and we have two types of proxies.
For the first one, which is a netcache proxy, I am able to use the wget command to export the proxy information
export... (2 Replies)
Discussion started by: memonks
7. UNIX for Dummies Questions & Answers
Im trying to make an http get request to a web service from a linux machine like below and i get ERROR 500
$ --19:06:32-- http://10.1.21.236:8585/pns.asmx/Sen...erName=serverA
Connecting to 10.1.21.236:8585...... (1 Reply)
Discussion started by: elthox
8. UNIX for Advanced & Expert Users
For a few weeks now, on several of our machines, i've been seeing this in /var/log/messages and dmesg:
Nov 14 16:37:48 stg2 kernel: svc: bad direction 256, dropping request
Nov 14 16:37:48 stg2 kernel: svc: short len 4, dropping request
Nov 14 16:38:02 stg2 kernel: svc: bad direction 256,... (2 Replies)
Discussion started by: fishsponge
9. Shell Programming and Scripting
it's possible connect to as-400 system to extract file from server and calculate the data (parse the file)????
if possible , how make the operation ???
how shell language /type i use ???
tanks (0 Replies)
Discussion started by: ZINGARO
badsect(8) System Manager's Manual badsect(8)
badsect - Creates files to contain bad sectors
/usr/sbin/badsect bbdir sector...
The badsect command makes a file to contain a bad sector. Normally, bad sectors are made inaccessible by the standard formatter, which
provides a forwarding table for bad sectors to the driver. If a driver supports the bad blocking standard, it is preferable to use that
method to isolate bad blocks because the bad block forwarding makes the disk appear perfect, and such disks can then be copied with dd(1).
The technique used by badsect is also less general than bad block forwarding, as badsect cannot make amends for bad blocks in the i-list of
file systems or in swap areas.
On some disks, adding a sector that is suddenly bad to the bad sector table currently requires the running of the standard formatter.
Thus, to deal with a newly bad block or on disks where the drivers do not support the bad-blocking standard, badsect can be used to good
Use the badsect command on a quiet file system in the following way: Mount the file system and change to its root directory. Make a direc-
tory BAD there. Run badsect, giving as argument the BAD directory followed by all the bad sectors you wish to add. (The sector numbers
must be relative to the beginning of the file system, as reported in console error messages.) Change back to the root directory, unmount
the file system, and run fsck(8) on the file system. The bad sectors should show up in two files or in the bad sector files and the free
list. Have fsck remove files containing the offending bad sectors, but do not have it remove the BAD/nnnnn files. This operation will
leave the bad sectors in only the BAD files.
The badsect command works by giving the specified sector numbers in a mknod(2) system call, creating an illegal file whose first block
address is the block containing bad sector and whose name is the bad sector number. When fsck discovers the file, it will ask "HOLD BAD
BLOCK?" An affirmative response will cause fsck to convert the inode to a regular file containing the bad block.
If more than one of the sectors comprised by a file system fragment are bad, you should specify only one to badsect, as the blocks in the
bad sector files cover all the sectors in a file system fragment.
The badsect command refuses to attach a block that resides in a critical area or is out of range of the file system. A warning is issued
if the block is already in use.