Pseudo TTY's -- are they missing?

I use a script to tunnel ppp through ssh because I have a system I maintain that is only accessible via ssh. 
This script was working fine until a recent update -- which one I can't tell you.
I think it might be related to pseudo tty's, which no longer exist in my /dev directory.  I have no /dev/ttyp.. entries -- what creates them?  Should I manually create them, and if I do need to do it manually, what are the parameters I need for mkdev?
Here are the errors:
./ppptochaempip1.pl
running on ttyp0; ssh=4519, pppd=4526
Pseudo-terminal will not be allocated because stdin is not a terminal.
[email protected]'s password:
/usr/bin/pppd: command line: no device specified and stdin is not a tty
[root@lapzilla ~]# starting pppd
/usr/sbin/pppd: unrecognized option '/dev/ttyp0'
If you look at the code, I do use the -t option in ssh to force the tty but that doesn't seem to work because I don't think the devices exist?  Maybe I'm wrong -- not sure.
Here is a snippet of the perl script if it will help:
foreach $maj ("p".."s") { # adjust this to the ptys you have
    foreach $min ("0".."9", "a".."f") {
       &tryopen("$maj$min");
die "Couldn't alloc ptyn";
sub tryopen
    local($d)=@_;
    if (open(PTY, "+>/dev/pty$d")) {
        $pid=fork;
        defined($pid) || die "can't fork";
        if ($pid) { #parent
            open(STDIN, "<PTY>&PTY") || die "reopen stout";
            close PTY;
            print STDERR "running on tty$d; ssh=$$, pppd=$pidn";
            exec $ssh, "-x", "-t", "-l$sshuser", "$sshhost", "/usr/bin/pppd passive debug";
            die "exec $ssh: $!";
        } else { #child
            close PTY;
            sleep 5;
            print "starting pppdn";
            exec "$pppd /dev/tty$d defaultroute local debug $localip:$remoteip";
            die "exec $pppd: $!";

hmm.. not sure, I didn't write the script, I grabbed it from somewhere on the net --  I could look into finding another one I guess.
My forum search before I posted indicated I needed the entry in fstab -- so I thought I found my problem only to find I did have the entry:
none                   /dev/pts      devpts    defaults            0      0
none                   /dev/shm      tmpfs     defaults            0      0
/dev/cd/cdrom-hdc      /mnt/cd   iso9660   ro,user,noauto,unhide   0      0
Norm[/search]

Similar Messages

  • Fiori Launchpad - Are Catalogs Missing

    Hi,
      We are doing an install of FIORI, having upgraded our system to EHP 7 - and
    SAP_UI 740 0007 SAPK-74007INSAPUI User Interface Technology 7.40.
    We use a single server for the moment for the gateway and erp system.
    I can access the Fiori apps using the old launchpage screen - no problem, having assigned the relevant Catalog Pages to the relevant roles.
    I can access the new Fiori Launchpad and Launchpad Designer also no problem.
    However, and maybe my understanding is incorrect here - i was thinking i should see a number of standard catalogs for the standard fiori apps that i could manipulate and assign to groups etc as required.  Or this this incorrect?  I see nothing new in LPD_CUST - i would have thought there should be new entries here for the various apps to link to ?
    Or is it a case these all need to be created from scratch?  I have gone through the help documentation a number of times and cannot make out how to generate these even if i need to - exactly what the links between LPD_CUST and a new app within the catalog are.  I do have access within the designer to the tile templates but the help is not clear on how to link these to the standard fiori apps.
    Am i missing something in the set up?  is there further documentation available on the links required.
    Thanks
    Sinead
    Tags edited by: Michael Appleby

    Hi Michael,
      I don't know - In the help it references the following say, for Approve Requisitions:
    Front-End Components
    UI5 Application                                MM_PR_APV
    Business Role          SAP_MM_BCR_Buyer_X1
    Business Catalog       SAP_MM_BC_Buyer_X1
    Business Catalog Group
    SAP_MM_BCG_Buyer_X1
    LPD_CUST Role                         UIX01MM
    LPD_CUST Instance     TRANSACTIONAL
    But I see no reference to the above elements in my system.  I am just wondering are they missing, should they be there?  How do i get them there if they are missing and if not, how do i go about creating the require link for new tiles.
    Cheers
    Sinead

  • HT204406 I used Match, and now there are artists missing when I search by artist, yet they are in my library when I search by song. If they are in many song list,  why aren't they in my artist list? Also I can't sort my songs by artist on iPhone,  so thes

    I used Match, and now there are artists missing when I search by artist, yet they are in my library when I search by song. If they are in many song list,  why aren't they in my artist list? Also I can't sort my songs list by artist on iPhone,  so their music is basically lost in space....help

    It's not clear from your post, but you do realise
    that if you import a cd as a compilation, it will not
    appear under artists? This is done to save the iPod
    being cluttered up with single artists entries who
    might have only one song listed.
    I wasn't aware of that. It's true that I haven't been using the "compilation" tag for a long time. I've only started using it with iTunes 7 as otherwise with Coverflow I would have one album cover for each artist in a compilation. Before that my compilations weren't tagged as such as that is quite probably why each artist from compilations showed up when browsing by artists.
    Message was edited by: Didou

  • Missing episodes of paid TV series. Where are they? How to get them back?

    I downloaded a paid TV series back in 2011 and all of a sudden they are missing. They are not located in the Library. Where are they and how can I get them back?

    Hello arthur1979,
    Thanks for using Apple Support Communities.
    Please follow the steps in the article below to download your previous purchases.
    Download past purchases
    http://support.apple.com/kb/HT2519
    Take care,
    Alex H.

  • I paid for songs that are missing from my list where are they?

    i paid for songs that are missing from my list where are they?

    Correct.
    Audiobooks have never been available for redownlaod and have never been listed among the content that can be redownloaded.
    As always, it is your responsibility to back up your content.

  • The App store, FaceTime, iTunes, Safari and Camera are all missing from my iPad.  Restrictions are not enabled and when they are those applications are grayed out.  I have tried everything but restoring my iPad to its orginal condition. What do I do?

    The App store, FaceTime, iTunes, Safari and Camera are all missing from my iPad.  Restrictions are not enabled and when they are those applications are grayed out.  I have tried everything but restoring my iPad to its orginal condition. What do I do?

    todaywillbegreat wrote:
    '''  I have tried everything but restoring my iPad to its orginal condition. What do I do?
    The Basic Troubleshooting Steps are:
    Restart... Reset... Restore from Backup...  Restore as New...
    Restart / Reset
    http://support.apple.com/kb/ht1430
    Backing up, Updating and Restoring
    http://support.apple.com/kb/HT1414
    If you try all these steps and you still have issues...
    Then a Visit to an Apple Store or AASP (Authorized Apple Service Provider) is the Next Step...
    Be sure to make an appointment first...

  • I missing photos after syncing with the new iTunes, are they in the cloud and can I get them back?

    When I synced My Iphone4 with the new Itunes it erased all my photos.  Are they in the cloud and if so, how do I recovery them?

    Anything Downloaded with a Particular Apple ID is tied to that Apple ID and Cannot be Merged or Transferred to a Different Apple ID
    Apple ID FAQs  >  http://support.apple.com/kb/HT5622
    You cannot Delete from your Purchase history... But... you can Hide...
    iTunes Store  >   http://support.apple.com/kb/HT4919
    Note:
    iCloud only Stores a Link to your Apps...

  • Unable to open pseudo-tty with 2.6 kernel

    I put the 2.6 kernel in on a few boxes for fun.  One box at home, with Arch, has no problem, nor does a Slackware install on the same machine have a problem.
    However, on a box at work, I cannot open xterms at all--if, for example, I do a start x with twm it won't open period. As root, I can open fluxbox and open an rxvt terminal.
    As a user, I can open fluxbox but cannot open an rxvt terminal. Upon leaving X I see the message failed to open pseudo-tty.  (The terminal will flash on the screen and disappear in X).
    I figured I'd left something out in my .config file, or that something was wrong with permissions.  However, checking it against the home boxs' .config and permissions indicates that this isn't the case.  I haven't tested another flavor of Linux on this box, to see if the issue is Arch specific or not.  I suspect it is not
    The box in question is a Dell Dimension, a few years old, which, AFAIK has a standard Intel chipset.  I'm guessing it's sometihng to do with the hardware, but not sure what the next step should be.  Googling hasn't brought me any joy, the people with the same error messages are in different situations, (also from older kernels.)
    Using the 2.4 kernel I don't have this problem.  Does anyone have any idea what I'm overlooking here?  It doesn't seem to be the obvious in filesystems or ptys in my .config--the only differences in configuration were adding a chipset for the ASUS board on the box at home and and different NICS.  Support for the Intel chipset is compiled in (directly, not as module). 
    Thanks for any help.
    Scott

    This is embarrassing, but amusing enough to post, I thnk.
    I went to add that information to a page I have up. I saw the info was already there.  Apparently I researched this a little more thoroughly last time, and not only found the answer but had put it on my page. 
    Sigh.  They say short term memory is the first thing to go--I forget the second, I just heard it recently. 
    Scott

  • Lost email plus some folders after recovery. Where are they?

    I had to do a system software recovery. The screen said it would not erase data files. However; afterwards, some of my data folders are now missing. As well as ALL my email.
    I suspect that the files and folders are still on my computer because my drive has about the same amount of free space available. The question is; where would those files be? Are they hidden under my old user name? I used the default user name each time which is HP_Administrator. Would that mean that the old user account got deleted with the new?
    system:
    HP Pavilion Media Center TV m7334n Desktop PC
    Windows xp
    *recovery files are kept on drive D:
    ****updated question ****
    Can windows xp user accounts get corrupted? If so, is the data for those accounts also corrupted? And could it possible be retrieved? And how?

    Thanks. I searched drive C:, the only *.dbx files it found are the new ones just created.
    Again, some of my data folders (some, not all) was deleted. But my free disk space is about the same. Leading me to believe my data is not gone, just hidden somewhere on drive C:, but where?

  • I saturated all the available iPad (3rd. generation) screen space (home screens or desktop space) with apps, and the apps that got bumped out of the last screen, mysteriously disappeared? Where are those missing quick lauch app icons?

    Running my 3rd generation iPad on iOS 7.0.4, I saturated all the available iPad screen space (which would be the 15 home screens or desktop worth of space) with apps, and the apps that got bumped out of the last screen space mysteriously disappeared. Where are those missing quick lauch app icons now? The apps are still installed and can be searched/accessed through the finder, but they no longer have a user friendly access. How can I solve this problem?

    Christopher Doryan wrote:
    Hi Hexonxonx, thanks for trying to help, but next time please read the entire discussion, in oder to better comprehend what is being asked. The reason being is that your answer added nothing to what had already been mentioned.
    Like I said, I was aware it was possible to access the apps through the finder, but the question revolved around how to recover the quick launch app icons for certain vanished apps.
    Wow, kind of a snotty response to someone who was taking their own time to offer help.  Whether you thought it was helpful or not, didn't deserve such an unkind retort.  Maybe when you realize we all just users here trying to help others like you, who have issues and we don't get anything in return for the countless hours some people here spend offering that assistance, you'll maybe be a little less quick to be critical.
    Just sayin.......
    Oh and Meg offered the right answer.  Put your Apps in Folders, which will create extra space for the apps which have disappeared.

  • C'mon Apple - Where are my missing clips?

    Someone at APPLE/FCPX Developer (s) must know the answer to this question that I posted earlier, surely????
    I imported some files into my existing event folder. These files were labelled as "untitled" as I used FCP7 and an HD deck, that I had to hire for a weekend ( cost me more than I expected it too) to import into my external hard drive. I did this because I was using FCPX, but die to severe dropping of frames, I went back to the old reliable FCP7.
    Anyhow, I decided to learn FCPX (work requirements) and imported these files into the events folder. Now, the original files are no longer on my external hard drive, neither are they in the projects or events folders and I have tried every search possible.
    I am running FCP7 and when I start FCP7, lo an behold, I get the offline clips missing red line thorugh it - so I know I didn't imagine this.....
    In the middle of a project and a over due website - would hate to have to rehire the hd deck and re-import the footage all over again.
    Anyone....????please.....

    "You imported files from an HD Deck to an external hard disc using FCP7"
    Yes. I however imported it twice, once with FCPX and then had to switch to FCP7 as FCPX was dropping a lot of frames. I am running a MacBook Pro 8gb Ram, 2.53 GHz Intel Core 2 Duo with 3 external hard drives.
    "You then imported those files from the external disc to an FCPX event (stored where?)"
    In the same hard drive i.e external hard drive, in the capture scratch folder, that FCP7 created.
    "....Did they ever come in to the events folder or did you get an error message? What happened?"
    Yes, I imported them into the events folder, using the import function.  I was given a folder saying original media. Had no error messages.  Went away for a couple of hours, leaving the Mac on ( but closed) and came back and can't find the original folder, the files on the external hard drive, with the capture scratch folder have gone. The files in the event folder are nowhere to be seen. I've exhausted my searches with spotlight, finder and combing through every file on the hard drive. Was up till 4 am this morning trying to figure it out.
    And sadly NO, I did not back it up with Time Machine.
    I am just wondering whether the answer may lie in the file names. When I logged and captured the files, as there were a lot of tapes, I let them default to the 'untitled' names. FCPX tends to group the files as keywords and gave each of my other files (imported with FCPX) wit their own default names. ( I did not change the defualt settings when importing)
    But in any case, I cannot understand why FCPX would take all the 'untitled' files from the external folder and destroy them?
    Also when I use the Advanced list in FCPX, there are a lot of 'null' files with no data on them.
    Hope this explains this in a little further detail. Thanks for the reply though.....

  • Where Are My Missing Master Images?

    I keep my Aperture Library as a "managed" library rather than "referenced, so every master image is kept inside the Aperture Library icon.
    Today I decided to look inside my Aperture Library (by selecting Show Package Contents), and I can only find master images from the past five years. The "Master" folder contains folders for projects I've titled 2012, 2011, and back to 2008. None of the earlier images that I keep in Aperture, 2007 through 2003, appear in the "Master" folder in the Aperture Library, and there are no folders for 2007 and earlier.
    That is, if I look in Aperture Library -> Master -> I see folders for 2012, 2011, 2010, 2009 and 2008. But that's it!
    There are also no folders inside Preview for those earlier years, or inside Thumbnails.
    And yet...
    And yet when I'm in the Aperture application, I can Export any of the images, all the way back to 2003. So the master images are obviously available to Aperture somewhere. They exist. And I checked -- those earlier missing images not Referenced, they're Managed, just like the whole library.
    So where are they??
    I dug through other folders inside the Aperture Library package but didn't find a thing.
    Help!

    But I'm digging around inside the package and still puzzled -- images inside the folder Aperture Library.aplibrary -> Masters -> 2009 -> 06 -> 14 -> 20090614-214439/ were indeed shot on June 14, 2009. So it appears that those various level folder names reflect image creation date, not the import date.
    Joe,
    these various level folder names reflect what Aperture thinks are the import dates.
    The "Import Session" is one of the Aperture specific Metadata tags. You can display it in the Info/Metadata pane of the Inspector Panel, if you add it to one of the presets, and then you'll know, where to search, if you absolutely must to sleep well .
    You can also use this tag to search or to define a smart album. For example, the image below has been captured in 2003, but was imported in 2010, and will be found in a 2010 folder.
    Regards
    Léonie

  • Cannot implicitly convert type 'System.Data.SqlClient.SqlDataReader' to 'Microsoft.ReportingServices.DataProcessing.IDataReader'. An explicit conversion exists (are you missing a cast?)

    Cannot implicitly convert type 'System.Data.SqlClient.SqlDataReader' to 'Microsoft.ReportingServices.DataProcessing.IDataReader'. An explicit conversion exists (are you missing a cast?)
    I am getting the above error in c#. Please help me. Thanks in advance
    public IDataReader ExecuteReader(CommandBehavior behavior)
    string query = "select * from Sales.Store";
    SqlConnection readerconn = new SqlConnection("Data Source=localhost;Initial Catalog=AdventureWorks2000;Integrated Security=SSPI");
    SqlCommand readercmd = new SqlCommand(query);
    try
    readerconn.Open();
    readercmd = readerconn.CreateCommand();
    readercmd.CommandText = query;
    readercmd.CommandType = System.Data.CommandType.Text;
    SqlDataReader TestReader = readercmd.ExecuteReader();
    return TestReader; //Getting error at this line
    readerconn.Close();
    catch (Exception e)
    throw new Exception(e.Message);

    Hi,
    Please firstly take a look at the documentation:
    IDbCommand.ExecuteReader
    Method
    Users do not create an   instance of a
    DataReader   class directly. Instead, they obtain the
    DataReader   through the
    ExecuteReader   method of the Command   object. Therefore, you should mark
    DataReader   constructors as internal.
    You need to use this method to get the IDataReader object, all the IDbCommand and IDataReader are in the Microsoft.ReportingServices.DataProcessing namespace. There's another IDataReader object which is in System.Data namespace, but they're actually two different
    objects, that's why you got the exception.
    For how to properly implement this Microsoft.ReportingServices.DataProcessing.IDataReader, please check this documentation:
    Implementing a DataReader Class for a Data Processing Extension
    It also provides code samples there.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Does anyone know why the delete and hide options are still missing in the crop tool option bar, despite having changed the background layer to a regular layer?  Thanks!

    Does anyone know why the delete and hide options are still missing in the crop tool option bar, despite having changed the background layer to a regular layer?  Thanks!

    "flying blind."
    "You totally lost me there, and I have no clue as to what your last question means."
    "I think I now know what you mean."
    Evidently language is of difficulty for you. 
    Perhaps the Oxford dictionary can provide you with your much needed “sensible, meaningful” content.
    According to the Oxford dictionary, a dialogue is to "Take part in a conversation or discussion to resolve a problem."  It also states that a dialogue is "A discussion between two or more people or groups, especially one directed toward exploration of a particular subject or resolution of a problem.”
    That IS the inherent nature of posts. A conversation is reciprocation.  Questions, followed by more questions.
    It is not difficult to understand.
    "how to ask your questions correctly for quicker and better answers" is best actualized by simply asking.
    Is it a Mac; is it not, etc.
    That IS sufficient.  That IS "quicker and better answers[ing]."  That IS what a dialogue IS.   And that IS actually what is "sensible," "meaningful," and "detailed." 
    The Oxford dictionary can best delineate and elucidate your lack of comprehension in what ACTUALLY “meaning” is.
    As well as what is "sensible" AND "detailed." 
    By the way, am I being repetitive.
    Still confused.  Let the experts that do not require much explanation respond with "quicker and better answers" for both "sensible, complete" responses." They are not "lost," "blind," or provide "incomplete" drivel.

  • The type or namespace name 'IBM' could not be found (are you missing a using directive or an assembly reference?)

    please help on below error 
    Compilation Error
    Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
    Compiler Error Message: CS0246: The type or namespace name 'IBM' could not be found (are you missing a using directive or an assembly reference?)
    Source Error:
    Line 27: using System.Web.Services;
    Line 28: using System.Net;
    Line 29: using IBM.WMQ;
    Line 30: using System.DirectoryServices.AccountManagement;
    Source File: c:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\NBO\LogComplaint.aspx.cs   
    Line: 29

    Hello,
    >>using IBM.WMQ
    It seems you are using third party dll namespace reference in your project but that dll is not being added in project. Please get the IBM.WMQ dll and add it first in your current visual studio project by right click on project-->add reference.
    You can place this dll in GAC or can directly add to project as suggested by jaydeep.
    Hope it could help
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

Maybe you are looking for