By the Court,
Coleman, J.:This is an appeal from a judgment for costs in favor of defendants, respondents herein, following an order sustaining a general demurrer to appellant’s complaint.
The complaint alleges that during the year 1910 the Ramsey Comstock Mining Company, a foreign corporation, was engaged in mining in Lyon County, and became indebted to numerous persons. That on November 11, 1910, one John Topogna commenced an action in the district court of Lyon County to foreclose a mechanic’s *18lien; that on the same day a similar suit was commenced by one M. G. Gardella, and that the two actions were consolidated; that on the 12th day of that month a summons was issued in said consolidated action and placed in the hands of the sheriff for service; that his return was as follows:
"I hereby certify that I received the within summons on the 12th day of November, A. D. 1910, at 4 o’clock p. m., and duly served the same by personally delivering a true copy thereof attached to a certified copy of the complaint to A. H. Mayne, manager of said Ramsey Comstock Mining Company, in Lyon County, on the 4th day of November, 1910, by delivering to him a true copy thereof, and by showing him this original. ”
It also appears from the complaint that notice was published, according to law, notifying all persons having liens upon the property against which said Topogna and Gardella liens were sought to be foreclosed to exhibit proof of same before the district court on December 17, 1910. The section of the statute requiring the notice is Rev. Laws, 2227, and reads:
" * * * And at the time of filing the complaint and issuing the summons the plaintiff shall cause a notice to be published at least once a week, for three successive weeks, in one newspaper published in the county, and if there is no newspaper published in the county, then in such mode as the court may determine, notifying all persons holding or claiming liens under the provisions of this act on said premises, to be and appear before said court on a day specified therein, and during a regular term of such court and to exhibit then and there the proof of their said liens. * * * ”
It also appears from the complaint that, notwithstanding the Topogna-Gardella suit, and the notice given in that case to lien claimants, on December 1,1910, one William Ross commenced a suit in the same court against the Ramsey Comstock Mining Company to foreclose certain labor liens, in which case service of summons was made upon the defendant company the same day, and that *19notice was published according to law (quoted supra), notifying all lien claimants to exhibit their claims in said suit on or before January 5, 1911, pursuant to which notice several claimants exhibited their claims. On January 20, 1914, the defendant having failed to appear in the consolidated suitof Topogna and Gardella, its default was entered, and on that day the court entered judgment in favor of the plaintiffs, and against the defendant, Ramsey Com-stock Mining Company. In the suit of Ross against the Ramsey Comstock Mining Company the default of the company was entered March 8, 1911, and on the same day judgment was entered by the court in favor of Ross and against the company.
It is further alleged that during the month of February, 1911, the sheriff of Lyon County sold the property in question under an order of sale in the case of Topogna et al. v. Ramsey Comstock Mining Company, and that the plaintiffs in the case were the purchasers, and that the. certificate of sale was assigned to the defendants, C. E. Mack and George Green, to whom it is alleged a sheriff’s deed issued conveying the property, and that the defendant, the Lahontan Mines Company, claimed to own the property in question, pursuant to a conveyance from Mack and Green. It is also alleged that by virtue of an order of sale made by the court in the case of Ross v. Ramsey Comstock Mining Company, the sheriff of Lyon County, on the 18th day of April, 1911, sold the property to William Ross, after having given due and legal notice of the sale, and on said last-named day issued to him a certificate of sale for said property; that on the 21st day of September, 1911, said C. E. Mack and George Green instituted an action in the district court of Lyon County against D. P. Randall, as sheriff of said county, to restrain him from issuing a sheriff’s deed to said William Ross to said property, pursuant to the certificate of sale last mentioned; and that thereafter judgment and decree was entered in favor of said Mack and Green, and against said Randall, as such sheriff, permanently enjoining him from issuing such deed. It is further alleged that appellant *20was, at the time of the commencement of this action, the owner of the certificate of sale which was issued to said Ross, and of all rights thereunder. No appeal was taken in any of the cases mentioned herein.
1. Respondents, in apt time, made a motion to dismiss this appeal on two grounds: (1) Because no statement on appeal was served, as provided by section 5381, Revised Laws, and (2) because the transcript of the record was not filed in this court within the time allowed. Section 5338, Revised Laws, provides:
"* * * A party may appeal upon the judgment roll alone, in which case only errors can be considered which appear upon the face of such judgment roll.”
Section 5273, Revised Laws, provides that the judgment roll shall consist of:
"1. * * * 2. * * * The pleadings, * * * and a copy of any order made on demurrer, * * * and a copy of the judgment. * * * ”
A judgment roll, properly certified to, has been filed in this court, together with a copy of the notice of appeal from the judgment. On the oral argument it was stated that appellant sought to appeal upon the judgment roll only, and since there is no contention that the purported judgment roll is defective, and since the statute expressly says that an appeal may be taken thereupon, it follows that the motion to dismiss the appeal must be denied.
Several grounds are urged why the judgment appealed from should be reversed, the ones most strongly urged being: (1) Because there was no court in session on the 17th day of December, 1910, the day fixed in the notice in the case of Topogna and Gardella v. Ramsey Comstock Mining Company for other lien claimants to exhibit the proof of their liens; (2) because, when the court convened on January 20, 1911, it refused to grant further time to William Ross in which to exhibit his lien; and (3) because the judgment in the case of Topogna and Gardella v. Ramsey Comstock Mining Company is void for the want of jurisdiction, for the reason that there was no proper service upon defendant, Ramsey Comstock Mining *21Company, and that it did not appear and submit itself to the jurisdiction of the court.
2. If we have correctly stated the points upon which appellant seeks to reverse the case, it will be seen that this suit is a collateral attack upon the judgment in the Topogna-Gardella case. We think it is an elementary rule that a collateral attack upon a judgment can be sustained only when a judgment is absolutely void for want of jurisdiction, and not when the court has erred in some ruling. (23 Cyc. 1055.)
The matters complained of under points 1 and 2, above stated, do not go to the jurisdiction of the court, and hence cannot be considered in this case.
3, 4. The third point is one which goes to the jurisdiction of the court to render the judgment in the case of Topogna and Gardella v. Ramsey Comstock Mining Company. In support of appellant’s contention it is urged that the return of the sheriff shows affirmatively that service was made upon one whom the law does not recognize as a person upon whom service can be made for a foreign corporation. The service was made upon " A. H. Mayne, Manager of said Ramsey Comstock Mining Company.” At the time of the service of the summons there were two acts which provided for the service of summons on a foreign corporation. One was "An act to require foreign corporations and associations to name and keep agents in this state upon whom all legal process may be served,” approved February 25,1889, being section 899, Cutting’s Compiled Laws, which reads:
"Every incorporated company or association created and existing under the laws of any other state, or territory, or foreign government, or the government of the United States, owning property or doing business in this state, shall appoint and keep in this state an agent upon whom all legal process may be served for such corporation or association. Such corporation shall file a certificate, properly authenticated by the proper officers of such company, with the secretary of state, specifying the full name and residence of such agent, which certificate *22shall be renewed by such company as often as a change may be made in such appointment, or vacancy shall occur in such agency.”
The other was section 29 of "An act to regulate proceedings in civil cases in the courts of justice of this state, and to repeal all other acts in relation thereto,” approved March 8, 1869, being section 3124, Cutting’s Compiled Laws, which reads:
"* * * Second — If the suit be against a foreign corporation or a nonresident * * * stock company or association, doing business within this state, to an agent, cashier, or secretary, president, or other head thereof. ”
We will concede, at the very outset, that if the provision which we first quoted had provided an exclusive method of making service of summons against a foreign corporation, the service of the summons would not have given the court jurisdiction. (Karns v. State Bank & T. Co., 31 Nev. 170, 101 Pac. 564.) But the method therein provided was not exclusive, for it is expressly provided in section 3 of said act that "This act shall be [considered] as giving an additional mode and manner of serving process and as not affecting the validity of any service of process hereafter made, which would be valid under any statute now in force.” (Comp. Laws, sec. 901.)
Since every presumption is indulged in favor of the validity of a judgment of a court of general jurisdiction, let us consider if the complaint in this case affirmatively shows that the court did not have jurisdiction in the case of Topogna and Gardella v. Ramsey Comstock Mining Company. The return of the sheriff shows that service was made by delivering a true copy of the summons and complaint to A. H. Mayne, manager of the Ramsey Comstock Mining Company. Since the statute said nothing about service being made on the "manager" of a corporation, the question is: Was the manager such an "agent” or "other head” of the company as contemplated by the statute? An "agent is one who has authority to act for another.” (1 Words and Phrases, 262.) Surely one who is *23entrusted with the duty of managing the business of a corporation is an agent of the very highest order. We are of the opinion that the service upon the manager of the Ramsey Comstock Mining Company was valid legal service, and such as gave the court jurisdiction over the defendant in the case.
5. It is also contended that the complaint which appellant filed in the district court was sufficient in an action to quiet title. We think not. An action to quiet title is based upon the presumption that the plaintiff has title. Appellant does not claim in his complaint to have any title whatever, but alleges that the sheriff, defendant Randall, refuses to convey title to him, and prays that a decree be entered directing said defendant to convey the property to him. But it is said that if he has no such title as will sustain an action to quiet title, he has a right to the property as a redemptioner. His right of redemption expired when he failed to redeem from the Topogna-Gardella judgment within the time allowed by the statute and before the issuance of the sheriff’s deed.
6. It is also contended that the judgment in the Ross case, being for labor (held under assignment by appellant), is a prior lien to the one in the Topogna-Gardella case, under the terms of section 2223, Revised Laws, which reads:
"In every case in which * * * liens are asserted against any property, the court, in the judgment, must declare the rank of each lien, or class of liens, which shall be in the following order, viz: First — Labor. Second— All persons other than original contractors and subcontractors. * * * ”
It is clear from this section that it is meant that in each particular case (suit) the court in the judgment (in that suit) must declare the rank of the lien. When Ross failed to exhibit his lien in the Topogna-Gardella case he waived his rights (sec. 2227, supra) so far as Topogna and Gardella and those who did exhibit their liens in that case are concerned. (Hunter v. Truckee Lodge, 14 Nev. 24.) See, also, Skyrme v. Occidental M. & M. Co., 8 Nev. 231; *24Mars v. McKay, 14 Cal. 128; Bloom on Mechanics’ Liens, sec. 627.)
For the reasons given, the judgment is affirmed.