ufw not allowing port access iptables show ok
location: ubuntuforums.com - date: December 31, 2009
I have not been able to access my ssh for the last couple of days. I use a non-standard port. I checked iptables using iptables -L, which shows
Code:
ACCEPT tcp -- anywhere anywhere tcp dpt:*port*
ACCEPT udp -- anywhere anywhere udp dpt:*port*
When I disable ufw, port access is no problem. [The *port* is my attempt at masking the real port number.] What am I missing?
SSH error: Bad packet length
location:
ubuntuforums.com - date:
February 15, 2012
ssh
[email protected]
Bad packet length 1885434739.
Disconnecting: Packet corrupt
Server is up and running, web sites working ok, i can even chroot it using resque system.
All users got same error.
SSH error: Bad packet length
location:
ubuntuforums.com - date:
February 15, 2012
ssh
[email protected]
Bad packet length 1885434739.
Disconnecting: Packet corrupt
Server is up and running, web sites working ok, i can even chroot it using resque system.
All users got same error.
init.d script error bad interpreter
location: linuxquestions.com - date: July 14, 2004
Hello,
problems with init.d script
OS Redhat v 9.0
custom install - server
Background:
created script below to stop/start/restart chroot environment
located in /etc/rc.d/init.d/ called vsftpd
While logged in as root:
run /etc/rc.d/init.d/vsftpd start
recieve error:
Bad interpreter : File or directory not found
Run bash --debug /etc/rc.d/init.d/vsftpd start
Error: file or directory not found
. /etc/rc.d/init.d/functions
run service vsftpd start
error:
env: /etc/init.d/vsftpd : no such file or directory
I am not sure why the Redhat init.d is not recognizing the script
ran chkconfig --add vsdtpd
no errors.
Add the command I want to run in /etc/rc.d/rc.local
reboot the command runs fine
run . /rc.local start or /rc.local stop while in /etc/rc.d/ directroy command runs.
I believe it is with the file vsftpd in /etc/rc.d/init.d/
What can I do? What have I forgotten to edit?
Has anyone seen this error?
#!/bin/bash
#
# vsftpd
GNU ccRTP installation error(bad interpreter ??)
location: linuxquestions.com - date: August 19, 2009
Hi All,
I am using OpenSuSE 11.0. Today I downloaded GNU ccRTP software and tried to install it. I went inside the directory and typed ./configure to start the installation process as told in the "readme" and "install" file. Bur I got the following error :
bash: ./configure: /bin/sh^M: bad interpreter: No such file or directory
Then I looked again in the "install" file and it was written that for older machines use " sh ./configure". Although my computer is new, I decided to use it and got the following error:
sh ./configure
: command not found1: (lol funny ! see the "1" at the end of "found")
./configure: line 19: Syntax error near unexpected token `elif'
./configure: line 19: `elif test -n "${BASH_VERSION+set}" && (set -o posix) >/de'/null 2>&1; then
Please tell me how can I install it
Error:bad ELF interpreter : No such file or directory
location: linuxquestions.com - date: March 20, 2007
I am trying to install a graphics driver when i get the following error:
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 1.0-9755................................................................................................ ........................................./nvidia-installer: /lib64/ld-linux-x86-64.so.2: bad ELF interpreter : No such file or directory
Hard disk failing? write error: Bad file descriptor
location: linuxquestions.com - date: November 10, 2005
Hi,
I have a Linux Redhat 9 mail server. I am starting to see the following
error sometimes in the maillog:
SYSERR(root): putbody: write error: Bad file descriptor: 1 Time(s)
Does this indicate a failing file system?
I have checked lost+found on the both the system's partitions and
they are empty.
Can someone explain what this error might mean and what, if anything I
should do about it?
System Info:
Redhat 9 on Dell PE2450 with RAID5 array.
Thanks,
Geoff
Fedora 17 nfsinit mount error: : Bad file descriptor
location: linuxquestions.com - date: September 17, 2012
Recently upgraded to Fedora 17 and attempted to run a build over NFS. Set up exports and made sure that the firewall was set correctly but seem to get an nfs error as can be seen below..
----
RAMDISK: squashfs filesystem found at block 0
RAMDISK: Loading 48903KiB [1 disk] into ram disk... done.
VFS: Mounted root (squashfs filesystem) readonly on device 1:0.
Looking up port of RPC 100003/2 on 10.1.1.20
Looking up port of RPC 100005/1 on 10.1.1.20
VFS: Mounted root (nfs filesystem) on device 0:11.
Trying to move old root to /initrd ... okay
Freeing unused kernel memory: 160k freed
mount: 10.1.1.20:/home/user/Public/target failed, reason given by server: Permission denied
nfsinit mount error: : Bad file descriptor
Kernel panic - not syncing: Attempted to kill init!
Core of 0 bytes written
Rebooting in 3 seconds..! 00000000
----
Please help! ?
why the ioctl return an error bad address when i try to ctrol an pci device?
location: linuxquestions.com - date: May 10, 2012
hello,i recently debug an pci device,but when i try to use to syscall to read the config register i got an error bad address from the ioctl.
the code is below:
fd: fd=open("/dev/Plx/Plx9054",O_RDWR|O_NONBLOCK);
this code works well.
unsigned long args=1;
ioctl: i=ioctl(fd,PLX_IOCTL_CHIP_TYPE_GET,args);
the cmd PLX_IOCTL_CHIP_TYPE_GET is used to get the chip type of the pci device.It's defined in the PlxIoctl.h.(I used the PLX SDK to compile my pci driver)The args I don't know how to use it.so here i give it an one.But the syscall ioctl return an error bad address.what's wrong?
i trace the function ioctl defined in the pci drive.here is the code:
PLX_RET_IOCTL
Dispatch_IoControl(
#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,36))
struct inode *inode,
#endif
struct file *filp,
unsigned int cmd,
unsigned long args
)
{ int status;
VOID *pOwner;
PLX_PARAM
Syntax error: Bad fd number when mounting
location: ubuntuforums.com - date: February 28, 2009
I'm working on a robot development kit for the RoboSapien RS Media. Someone I know wrote a script for it that dumps the firmware and then you can browse it on any linux system by copying the files and mounting them.
Here's the mount.sh we are using:
Code:
#!/bin/sh
mkdir root >& /dev/null
mkdir root/mnt >& /dev/null
mkdir root/mnt/sd >& /dev/null
mkdir root/mnt/default >& /dev/null
mkdir root/lnk >& /dev/null
mkdir root/pw >& /dev/null
mount -o loop nand1 root -t cramfs
mount -o loop nand2 root/mnt/default -t cramfs
mount -o loop nand3 root/mnt/sd -t vfat
mount -o loop nand4 root/lnk -t ext2
mount -o loop nand5 root/pw -t ext2
This causes the following error:
Syntax error: Bad fd number
So I have been having users to this:
Code:
rm /bin/sh
ls -s /bin/bash /bin/sh
./mount.sh
One user did this and it worked and he was able to browse the system. But when he went to close the virtual machine it hung up on
please wait...
Page: 1 2 3 4 5 6 7 8 9 10